/* Inter (SIL OFL) — hostováno lokálně, bez požadavků na Google */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --navy: #1E3A5F;
  --navy-light: #2A4F7A;
  --sage: #7FA88B;
  --sage-light: #a3c4ad;
  --cream: #F5EFE6;
  --warm: #E8A87C;
  --warm-light: #f0c4a4;
  --ink: #22303f;
  --muted: #6b7a88;
  --bg: #fafaf8;
  --card: #ffffff;
  --line: #e2dccf;
  --red: #c0392b;
  --red-light: #fdf0ee;
  --green: #27ae60;
  --green-light: #edf9f0;
  --gold: #d4a03c;
  --gold-light: #fdf6e8;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(30,58,95,0.07);
  --shadow-lg: 0 8px 32px rgba(30,58,95,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

/* CRISIS BAR */
.crisis-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--red); color: #fff;
  text-align: center; padding: 10px 16px;
  font-size: 0.82rem; font-weight: 700;
}
.crisis-bar a { color: #fff; text-decoration: underline; }

/* NAV */
nav {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 100;
  padding: 0 40px; height: 64px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 34px; height: 34px; background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.nav-links { display: flex; gap: 28px; font-size: 0.85rem; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--warm); color: #fff; font-weight: 700;
  padding: 9px 20px; border-radius: 50px; font-size: 0.82rem;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #d4944e; transform: translateY(-1px); color: #fff; }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: transparent; border: 1px solid var(--line); border-radius: 8px;
}
.hamburger span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 104px; left: 0; right: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line); z-index: 99;
  flex-direction: column; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--ink); text-decoration: none; padding: 16px 24px;
  border-bottom: 1px solid var(--line); font-size: 0.92rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px; transition: background 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--cream); }

/* HERO */
.hero {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 160px 24px 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,58,95,0.06); color: var(--navy);
  font-size: 0.82rem; font-weight: 600;
  padding: 8px 20px; border-radius: 50px; margin-bottom: 28px;
  border: 1px solid rgba(30,58,95,0.1);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  line-height: 1.15; margin-bottom: 20px; max-width: 720px; color: var(--navy);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--warm), var(--sage));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: var(--muted); max-width: 560px; line-height: 1.7;
  margin-bottom: 36px; font-size: 1.05rem;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 16px 34px; border-radius: 50px; border: none;
  cursor: pointer; font-size: 0.95rem; transition: background 0.2s, transform 0.2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; border: 2px solid var(--navy); color: var(--navy);
  font-weight: 600; padding: 14px 34px; border-radius: 50px;
  cursor: pointer; font-size: 0.95rem; transition: all 0.2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* SECTIONS */
section { padding: 80px 24px; max-width: 960px; margin: 0 auto; }
.section-label {
  text-align: center; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2.5px; color: var(--sage); text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  text-align: center; font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800; margin-bottom: 12px; color: var(--navy);
}
.section-sub {
  text-align: center; color: var(--muted); margin-bottom: 48px;
  line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* QUIZ */
.quiz-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 44px 40px;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.quiz-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--sage), var(--warm));
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-q { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.quiz-hint { color: var(--muted); font-size: 0.87rem; margin-bottom: 28px; }

.role-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 28px;
}
.role-btn {
  background: var(--bg); border: 2px solid var(--line);
  border-radius: 12px; padding: 20px 18px; cursor: pointer;
  text-align: left; color: var(--ink); transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.role-btn:hover { border-color: var(--sage); background: #f0f5f1; }
.role-btn.selected { border-color: var(--navy); background: rgba(30,58,95,0.04); }
.role-icon { font-size: 1.5rem; margin-bottom: 8px; }
.role-title { font-weight: 700; font-size: 0.88rem; }

.symptom-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.symptom-item {
  background: var(--bg); border: 2px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
  display: flex; gap: 14px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.symptom-item:hover { border-color: var(--sage-light); }
.symptom-item.checked { border-color: var(--navy); background: rgba(30,58,95,0.03); }
.symptom-checkbox {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; transition: all 0.2s; margin-top: 1px;
}
.symptom-item.checked .symptom-checkbox {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.symptom-text { font-size: 0.88rem; line-height: 1.6; color: var(--ink); }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.btn-back {
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 0.9rem; font-family: inherit; font-weight: 500;
}
.btn-back:hover { color: var(--navy); }
.btn-next2 {
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 13px 28px; border-radius: 50px; border: none;
  cursor: pointer; font-size: 0.9rem; font-family: inherit;
  transition: background 0.2s, transform 0.2s;
}
.btn-next2:hover { background: var(--navy-light); transform: translateY(-1px); }

#quizResult { display: none; text-align: center; padding-top: 8px; }
.risk-badge {
  display: inline-block; padding: 12px 28px; border-radius: 50px;
  font-weight: 800; margin-bottom: 18px; font-size: 0.95rem;
}
.risk-low { background: var(--green-light); color: var(--green); }
.risk-mid { background: var(--gold-light); color: var(--gold); }
.risk-high { background: var(--red-light); color: var(--red); }
.result-text {
  color: var(--muted); max-width: 520px; margin: 0 auto 10px;
  line-height: 1.7; font-size: 0.92rem;
}
.result-next-steps {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 24px; margin: 20px auto 28px;
  max-width: 520px; text-align: left;
}
.result-next-steps h4 {
  font-size: 0.85rem; font-weight: 700; color: var(--navy);
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.result-next-steps ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.result-next-steps li {
  font-size: 0.85rem; color: var(--ink); display: flex; gap: 10px; line-height: 1.6;
}
.result-next-steps li::before {
  content: '→'; color: var(--sage); font-weight: 700; flex-shrink: 0;
}
.result-next-steps a { color: var(--navy); font-weight: 600; text-decoration: none; }
.result-next-steps a:hover { text-decoration: underline; }
.btn-restart {
  background: transparent; border: 2px solid var(--line); color: var(--ink);
  padding: 12px 28px; border-radius: 50px; cursor: pointer;
  font-size: 0.88rem; font-family: inherit; font-weight: 600;
  transition: all 0.2s;
}
.btn-restart:hover { border-color: var(--navy); background: rgba(30,58,95,0.03); }
.disclaimer {
  font-size: 0.78rem; color: var(--muted); margin-top: 20px;
  line-height: 1.6; max-width: 520px; margin-left: auto; margin-right: auto;
  padding: 14px 18px; background: var(--bg); border-radius: 10px;
  border: 1px solid var(--line);
}

/* CRISIS */
.crisis-wrap {
  padding: 0 24px 80px; max-width: 960px; margin: 0 auto;
}
.crisis-section {
  background: var(--red-light); border-radius: var(--radius);
  padding: 48px 36px; border: 1px solid rgba(192,57,43,0.15);
}
.crisis-section .section-label { color: var(--red); }
.crisis-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin-bottom: 32px;
}
.crisis-card {
  background: var(--card); border: 1px solid rgba(192,57,43,0.12);
  border-radius: 12px; padding: 20px 18px; box-shadow: var(--shadow);
}
.crisis-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.crisis-card-icon { font-size: 1.3rem; }
.crisis-card-name { font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.crisis-card-num { color: var(--red); font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.crisis-card-hours { font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; }
.crisis-card-links { display: flex; gap: 8px; flex-wrap: wrap; }
.crisis-link {
  font-size: 0.72rem; background: var(--red-light); color: var(--red);
  padding: 5px 12px; border-radius: 20px; text-decoration: none;
  border: 1px solid rgba(192,57,43,0.15); font-weight: 600;
  transition: background 0.2s;
}
.crisis-link:hover { background: rgba(192,57,43,0.1); }
.btn-crisis {
  display: block; margin: 0 auto; background: var(--red); color: #fff;
  font-weight: 700; padding: 14px 34px; border-radius: 50px;
  border: none; cursor: pointer; font-size: 0.9rem; font-family: inherit;
  transition: background 0.2s, transform 0.2s;
}
.btn-crisis:hover { background: #a93226; transform: translateY(-1px); }

/* KB */
.kb-search { position: relative; margin-bottom: 22px; }
.kb-search input {
  width: 100%; background: var(--card); border: 2px solid var(--line);
  border-radius: 50px; padding: 16px 24px 16px 50px;
  color: var(--ink); outline: none; font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s; box-shadow: var(--shadow);
}
.kb-search input::placeholder { color: var(--muted); }
.kb-search input:focus { border-color: var(--navy); }
.kb-search .ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.kb-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.kb-filter {
  background: var(--card); border: 2px solid var(--line); color: var(--muted);
  padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.kb-filter.active { border-color: var(--navy); color: var(--navy); background: rgba(30,58,95,0.04); }
.kb-filter:hover { border-color: var(--sage); }
.kb-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.kb-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; display: flex; flex-direction: column;
  gap: 6px; transition: border-color 0.2s, box-shadow 0.2s; box-shadow: var(--shadow);
}
.kb-card:hover { border-color: var(--sage); box-shadow: var(--shadow-lg); }
.kb-card a.kb-card-link {
  text-decoration: none; color: inherit; display: flex;
  flex-direction: column; gap: 6px; flex: 1;
}
.kb-source { font-size: 0.7rem; color: var(--sage); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.kb-title { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.kb-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.kb-tag {
  display: inline-block; margin-top: 8px; font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; align-self: flex-start;
}
.tag-clanek { background: rgba(30,58,95,0.08); color: var(--navy); }
.tag-judikatura { background: var(--gold-light); color: var(--gold); }
.tag-mediace { background: var(--green-light); color: var(--green); }
.tag-odbornici { background: rgba(232,168,124,0.15); color: var(--warm); }
.kb-card mark { background: rgba(212,160,60,0.25); color: var(--gold); border-radius: 3px; }

/* LEAFLETS */
.leaflets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.leaflet-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; display: flex; flex-direction: column;
  gap: 8px; box-shadow: var(--shadow); transition: border-color 0.2s;
}
.leaflet-card:hover { border-color: var(--warm); }
.leaflet-icon { font-size: 2rem; margin-bottom: 4px; }
.leaflet-source { font-size: 0.7rem; color: var(--warm); font-weight: 700; text-transform: uppercase; }
.leaflet-title { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.leaflet-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; flex: 1; }
.leaflet-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 0.78rem; font-weight: 700; color: var(--warm);
  text-decoration: none; background: rgba(232,168,124,0.1);
  border: 1px solid rgba(232,168,124,0.2); padding: 7px 16px;
  border-radius: 20px; align-self: flex-start; transition: background 0.2s;
}
.leaflet-link:hover { background: rgba(232,168,124,0.18); }

/* PARTNERS */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.partner-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.partner-card:hover { border-color: var(--sage); }
.partner-name { font-weight: 700; font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; }
.partner-area { font-size: 0.78rem; color: var(--sage); font-weight: 600; margin-bottom: 8px; }
.partner-collab { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.partner-link {
  display: inline-block; margin-top: 12px; font-size: 0.78rem;
  color: var(--navy); text-decoration: none; font-weight: 600;
}
.partner-link:hover { text-decoration: underline; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius); padding: 48px 36px; text-align: center;
  margin: 0 auto; max-width: 960px; color: #fff;
}
.cta-banner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: 0.8; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: var(--warm); }
.cta-banner .btn-primary:hover { background: #d4944e; }

/* FOOTER */
footer {
  border-top: 1px solid var(--line); padding: 40px 24px;
  text-align: center; color: var(--muted); font-size: 0.82rem;
  background: var(--cream);
}
footer a { color: var(--navy); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
.footer-logo { font-weight: 800; color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

/* MODAL */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 300;
  align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card); border-radius: var(--radius);
  padding: 36px; max-width: 540px; width: 100%;
  border: 1px solid rgba(192,57,43,0.2); position: relative;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; color: var(--muted);
  font-size: 1.3rem; cursor: pointer;
}
.modal-box h3 { color: var(--red); margin-bottom: 20px; font-size: 1.05rem; }
.contact-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 4px; color: var(--ink); }
.contact-num { color: var(--red); font-weight: 800; font-size: 1rem; }
.contact-hours { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.contact-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.contact-link {
  font-size: 0.72rem; background: var(--red-light); color: var(--red);
  padding: 4px 12px; border-radius: 20px; text-decoration: none;
  border: 1px solid rgba(192,57,43,0.15); font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 140px 20px 60px; }
  .quiz-card { padding: 28px 20px; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .crisis-section { padding: 32px 20px; }
  .crisis-grid { grid-template-columns: 1fr; }
  .kb-results { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .leaflets-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
  .cta-banner { margin: 0 20px; padding: 36px 24px; }
}
@media (max-width: 400px) {
  .role-grid { grid-template-columns: 1fr; }
}

.crisis-verified { font-size: 0.8rem; color: var(--muted); margin: 18px 0 0; }

/* quiz2: dotazník s kontextem a profily */
.quiz-notice { background: var(--gold-light); color: var(--ink); border-radius: 12px; padding: 14px 16px; font-size: 0.85rem; line-height: 1.6; margin-bottom: 24px; text-align: left; }
.quiz-notice strong { display: block; margin-bottom: 4px; color: var(--navy); }
.quiz-notice-end { margin: 28px 0 0; }
.quiz-err { color: var(--red); font-size: 0.88rem; min-height: 1.2em; margin: 4px 0 8px; }
.opt-group { border: 0; padding: 0; margin: 0 0 22px; }
.opt-group legend { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 10px; padding: 0; }
.opt { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid var(--border, #d9dee5); border-radius: 10px; margin-bottom: 8px; cursor: pointer; font-size: 0.9rem; }
.opt:hover { border-color: var(--sage-light); }
.opt input { accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) { border-color: var(--navy); background: rgba(30,58,95,0.04); }
.qz-group { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 22px 0 10px; text-align: left; }
.qz-safety-q { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--border, #d9dee5); }
.risk-neutral { background: rgba(30,58,95,0.07); color: var(--navy); }
.qz-scores { color: var(--muted); font-size: 0.82rem; margin: 6px 0 16px; }
.qz-caution { background: var(--gold-light); border-radius: 12px; padding: 12px 16px; font-size: 0.88rem; line-height: 1.6; text-align: left; margin-bottom: 16px; }
.qz-safety-box { background: var(--red-light); color: var(--red); border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; font-weight: 600; line-height: 1.6; text-align: left; margin-bottom: 16px; }
#quizResult .result-text, #quizResult .result-next-steps { text-align: left; }
#quizResult .result-text p, #quizResult .qz-sec p { margin: 0 0 10px; line-height: 1.7; }
.qz-rolenote { font-size: 0.85rem; color: var(--muted); border-left: 3px solid var(--sage-light); padding-left: 12px; margin-bottom: 14px; }
.qz-sec h4 { margin: 14px 0 4px; color: var(--navy); }
.qz-safety-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
#nextSteps ul + h4 { margin-top: 20px; }

/* fix-modal */
.modal-close { position: sticky; top: -26px; float: right; margin: -22px -62px 0 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 8px rgba(0,0,0,0.18); z-index: 5; line-height: 1; padding: 0; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--ink); }
