/* Shared site chrome for web.prevention.school (from prevention.school site_2) */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #617080;
  --line: #d9e0d8;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: #111827;
  --text: #e5edf4;
  --muted: #9aa9b8;
  --line: #263247;
  --accent: #2dd4bf;
  --accent-strong: #5eead4;
}
html.irpp-with-site-shell {
  height: 100%;
}
html.irpp-with-site-shell body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
html.irpp-with-site-shell a {
  color: var(--accent);
  text-decoration: none;
}
html.irpp-with-site-shell a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}
.irpp-site-shell-header .wrap,
.irpp-site-shell-footer .wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.irpp-site-shell-header {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.irpp-site-shell-header .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.irpp-site-shell-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.irpp-site-shell-header .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.irpp-site-shell-header .nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 14px;
}
.irpp-site-shell-header .nav a {
  color: var(--muted);
  font-weight: 650;
}
.irpp-site-shell-header .nav a:hover {
  color: var(--accent);
  text-decoration: none;
}
.irpp-site-shell-header .nav a.is-active {
  color: var(--accent);
  font-weight: 800;
}
.irpp-site-shell-header .theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
html.irpp-with-site-shell #irpp-landing {
  display: none !important;
}
html.irpp-with-site-shell #irpp-app-root {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  max-height: none;
}
.irpp-site-shell-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 0 28px;
  font-size: 14px;
}
.irpp-site-shell-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.irpp-site-shell-footer .footer-about strong {
  color: var(--text);
}
.irpp-site-shell-footer .footer-about p {
  margin: 8px 0 0;
  color: var(--muted);
}
.irpp-site-shell-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .irpp-site-shell-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .irpp-site-shell-footer .footer-links {
    justify-content: flex-start;
  }
}
