/* Result toolbar, benchmarks, resume, evidence, print */

.result-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 12px;
}

.privacy-note {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 20px;
}

.privacy-note a { color: var(--fg-2); }

.bench-note, .delta-note, .conf-nudge {
  font-size: 14px;
  color: var(--fg-2);
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 12px 0;
}

.resume-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(220,220,242,0.08);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.evidence-toggle {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.evidence-panel {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--fg-2);
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--rodan-lavender-300);
}

.confidence-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
  font-size: 14px;
}

.confidence-row input[type="range"] { flex: 1; }

.hub-progress { padding: 28px 0; }
.hp-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 24px; }
.hp-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-3);
  transition: border-color var(--dur-base), background var(--dur-base), color var(--dur-base);
}
.hp-chip.done {
  border-color: rgba(220, 220, 242, 0.4);
  color: var(--fg-1);
  background: rgba(220, 220, 242, 0.06);
}
.hp-next {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 32px rgba(0, 0, 52, 0.12);
}
.hp-next h3 { margin: 0 0 8px; }

.hub-router-band {
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.hub-router {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
  column-gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.hub-router > .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 12px;
}

.hub-router > h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}

.hr-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 2;
  grid-row: 1;
  gap: 8px;
  margin: 0;
}

.hr-opt {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-1);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.hr-opt:hover { border-color: var(--line-strong); }
.hr-opt[aria-checked="true"] {
  border-color: var(--rodan-lavender);
  background: var(--rodan-lavender);
  color: var(--rodan-navy);
  box-shadow: 0 0 0 2px rgba(220, 220, 242, 0.16);
}

.hr-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 24px rgba(0, 0, 52, 0.12);
}

.hr-result:empty {
  display: none;
  border: 0;
  background: none;
  box-shadow: none;
}

.hr-result p {
  margin: 0;
}

@media (max-width: 720px) {
  .hub-router {
    grid-template-columns: minmax(0, 1fr);
  }

  .hub-router > .eyebrow,
  .hub-router > h2,
  .hr-options,
  .hr-result {
    grid-column: 1;
    grid-row: auto;
  }

  .hub-router > h2 {
    margin-bottom: 20px;
  }
}

@media (max-width: 560px) {
  .hr-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .hr-result {
    grid-template-columns: minmax(0, 1fr);
  }
}

.compare-form {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  background: rgba(255, 255, 255, 0.03);
}

.compare-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--fg-2);
}

.compare-form textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  border-radius: var(--radius-2);
  border: 1px solid var(--line);
  background: var(--surface-quiet);
  color: var(--fg-1);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.compare-form textarea:focus {
  outline: none;
  border-color: rgba(220, 220, 242, 0.45);
  box-shadow: 0 0 0 3px rgba(220, 220, 242, 0.12);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
  border-radius: var(--radius-2);
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

.compare-table th {
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.compare-table tbody tr:hover {
  background: rgba(220, 220, 242, 0.04);
}

body.embed-mode .nav,
body.embed-mode .stack-nav,
body.embed-mode #rodan-site-footer {
  display: none !important;
}

body.embed-mode main { padding-top: 24px; }
body.embed-mode .wrap { max-width: 720px; }

.content-page { padding: 64px 0 80px; max-width: 720px; text-align: left; }
.content-page h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.1; margin-bottom: 20px; }
.content-page .lede { font-size: 18px; line-height: 28px; color: var(--fg-2); margin-bottom: 32px; }
.content-page h2 { font-size: 22px; margin: 32px 0 12px; text-align: left; }
.content-page p, .content-page li { color: var(--fg-2); margin-bottom: 12px; text-align: left; }
.content-page ul {
  list-style: disc;
  list-style-position: outside;
  padding-left: 1.25em;
  margin: 0 0 20px;
  max-width: 60ch;
  text-align: left;
}
.content-page li { margin-bottom: 10px; padding-left: 0.25em; }
.content-page a { color: var(--fg-1); }
.content-page .sector-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: flex-start;
}
/* Sector body sits inside hub-close (centered CTA section) - keep body left-aligned */
.hub-close .content-page,
.hub-close .content-page h2,
.hub-close .content-page p,
.hub-close .content-page ul,
.hub-close .content-page li {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  max-width: 60ch;
}
.hub-close .content-page h2 { max-width: none; }
.glossary-links { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.glossary-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: var(--fg-1);
}
.glossary-links a:hover { border-color: var(--line-strong); }
.compare-error { color: #f87171; font-size: 14px; margin-top: 12px; }
.sector-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media print {
  .nav, .stack-nav, #rodan-site-footer, .no-print, .restart, .actions .act-card:not(.print-keep) {
    display: none !important;
  }
  body { background: #fff; color: #111; }
  .screen.results { padding: 0; }
  .score-card, .read, .bars, .next-step { break-inside: avoid; }
  .print-header { display: block !important; margin-bottom: 24px; }
}

.print-header { display: none; }
.print-header h1 { font-size: 22px; margin: 0 0 8px; }
.print-header p { font-size: 13px; color: #444; }


.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Consent banner styles live in a11y.css (compact bottom-right chip). */


.sector-body {
  padding: 24px 0 80px;
}
