/* Scorecard page styles, built on site.css */
.sc-narrow { max-width: 860px; }
.sc-hero h1 { max-width: 20ch; }
.sc-explain { display: grid; gap: 18px; margin-top: 30px; padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sc-explain h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.sc-explain ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.sc-explain li { margin-bottom: 6px; }
.sc-disclaimer { margin: 0; padding: 14px 16px; font-size: 0.9rem; color: var(--ink-soft); background: var(--paper-warm); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; }
.sc-context { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 600px) { .sc-context { grid-template-columns: 1fr; } }
.sc-context select { width: 100%; padding: 12px 14px; font: inherit; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; }
.sc-scale-note { font-size: 0.88rem; color: var(--muted); margin: 0 0 18px; }

.sc-pillar { margin: 0 0 22px; padding: 26px 28px 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sc-pillar legend { display: contents; }
.sc-tag { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.sc-pname { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin: 4px 0 8px; }
.sc-q { padding: 18px 0; border-top: 1px solid var(--line); }
.sc-q.sc-missing .sc-stmt { color: #9b2c2c; }
.sc-q.sc-missing .sc-scale button { border-color: #c98a8a; }
.sc-stmt { margin: 0 0 12px; font-weight: 500; color: var(--ink); }
.sc-qn { color: var(--gold-deep); font-weight: 600; margin-right: 4px; }
.sc-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.sc-scale button {
  min-height: 46px; font: inherit; font-weight: 600; color: var(--navy);
  background: var(--paper-warm); border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.sc-scale button:hover { border-color: var(--navy); }
.sc-scale button.sel { background: var(--navy); color: #fff; border-color: var(--navy); }
.sc-legend { display: flex; justify-content: space-between; max-width: 420px; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }

.sc-progress { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; font-size: 0.88rem; color: var(--muted); }
.sc-progress-bar { flex: 1; height: 6px; background: rgba(20,43,67,0.1); border-radius: 6px; overflow: hidden; }
.sc-progress-bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width 200ms ease; }
.sc-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 40px; }
.sc-nudge { margin: 0; font-weight: 600; color: #9b2c2c; }

.sc-hidden { display: none; }
#preview, #fullReport { outline: none; scroll-margin-top: 96px; }
.sc-result-head { padding: 32px; margin-bottom: 20px; background: var(--navy); color: #e6ebf0; border-radius: var(--radius-lg); }
.sc-result-head .eyebrow { color: var(--gold); }
.sc-band { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; }
.sc-score { font-family: var(--serif); font-size: 3.6rem; color: var(--gold); line-height: 1.1; margin: 6px 0 12px; }
.sc-score small { font-size: 1.2rem; color: #aab6c2; margin-left: 4px; }
.sc-gauge { height: 8px; background: rgba(255,255,255,0.14); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.sc-gauge span { display: block; height: 100%; width: 0; background: var(--gold); transition: width 900ms ease; }
.sc-result-head p { margin: 0; color: #d4dce4; }

.sc-panel { padding: 26px 28px; margin-bottom: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sc-panel h2 { font-size: 1.5rem; }
.sc-panel ul { padding-left: 1.1em; color: var(--ink-soft); }
.sc-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (max-width: 640px) { .sc-metrics { grid-template-columns: 1fr; } }
.sc-metric { padding: 16px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 12px; }
.sc-metric span { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sc-metric strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); line-height: 1.25; }

.sc-capture { padding: 28px; margin-bottom: 30px; background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius-lg); }
.sc-capture h2 { font-size: 1.5rem; }
.sc-capture input[type="text"], .sc-capture input[type="email"], .sc-capture select { background: var(--paper-warm); }
.sc-capture input[aria-invalid="true"] { border-color: #9b2c2c; }
.sc-status { min-height: 1.2em; margin: 12px 0 0; font-weight: 600; color: var(--navy); }
.sc-thanks h2 { margin-bottom: 8px; }

.sc-bar-row { margin: 12px 0; }
.sc-bar-label { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 5px; }
.sc-bar { height: 10px; background: rgba(20,43,67,0.08); border-radius: 6px; overflow: hidden; }
.sc-bar span { display: block; height: 100%; background: var(--navy-soft); }
.sc-bar.weak span { background: var(--gold); }
.sc-rec { padding: 14px 0; border-top: 1px solid var(--line); }
.sc-rec:first-child { border-top: 0; padding-top: 0; }
.sc-rec b { color: var(--navy); }
.sc-rec p { margin: 6px 0 0; color: var(--ink-soft); }
.sc-panel .sc-disclaimer { margin-top: 16px; }
.sc-report-actions { margin: 10px 0 20px; }

@media print {
  .page-hero, .sc-context, #quiz, .sc-progress, .sc-submit, .sc-capture, .sc-report-actions, .sc-scale-note { display: none !important; }
  .sc-result-head { background: #fff; color: #000; border: 1px solid #ccc; }
  .sc-band, .sc-score { color: #142b43; }
}
