:root{--navy:#101f32;--navy2:#192c42;--gold:#d6bc83;--ink:#132438;--muted:#596573;--paper:#f7f8f9;--line:#dce0e4;--white:#fff}
*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,sans-serif;background:var(--paper);color:var(--ink)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.17;letter-spacing:-.025em}h1{font-size:clamp(2rem,5vw,4.25rem);max-width:16ch;margin-bottom:1rem}h2{font-size:clamp(1.35rem,3vw,2rem)}h3{font-size:1.13rem}p{max-width:76ch}a{color:#274a69}button,input,select,textarea{font:inherit}button,.button{border:1px solid transparent;border-radius:4px;background:var(--navy2);color:white;padding:.65rem .95rem;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;text-align:center}button:hover,.button:hover{filter:brightness(1.16)}button:disabled{opacity:.55;cursor:wait}.outline{border-color:#bcc8d1;background:white;color:var(--navy2)}.gold{background:var(--gold);color:var(--navy)}.skip{position:absolute;left:.6rem;top:-4rem}.skip:focus{top:.4rem;z-index:10}
.header{background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:1.1rem clamp(1rem,5vw,5rem);gap:.8rem;flex-wrap:wrap}.header img{width:clamp(160px,23vw,245px);display:block}.header nav,.toolbar,.tabs{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}.header nav a{padding:.6rem 0}.mode,#notice{padding:.6rem clamp(1rem,5vw,5rem);background:#f0e6d0;font-size:.9rem}#notice.error{background:#fae5df;color:#692f23}
.hero{background:var(--navy);color:white;padding:clamp(2rem,6vw,6rem) clamp(1rem,6vw,6rem);display:grid;grid-template-columns:1.5fr 1fr;gap:clamp(1rem,5vw,4rem);align-items:center}.hero p{color:#dde4ec}.hero .eyebrow{color:var(--gold)}.hero-aside{padding:1.5rem;border:1px solid #486078;background:var(--navy2)}.hero-aside p:last-child{margin:0}.eyebrow{font-size:.78rem;letter-spacing:.14em;font-weight:760;text-transform:uppercase;color:#5a6173;margin-bottom:1rem}.container{max-width:1220px;margin:0 auto;padding:clamp(1rem,4vw,3rem)}.panel{padding:clamp(1rem,3vw,2rem);background:white;border:1px solid var(--line);margin-bottom:1rem;border-radius:6px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1rem}.grid .panel{margin:0}.stack{display:grid;gap:1rem}.muted,.help{color:var(--muted)}.help{font-size:.91rem}.label{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.value{font-size:2rem;font-weight:720}.notice{padding:.8rem 1rem;background:#f4eddf;border-left:4px solid #ab8545}.tag{display:inline-block;background:#edf1f5;color:#293d56;padding:.2rem .55rem;border-radius:3px;font-size:.85rem}.loading{padding:3rem}
label.field{display:grid;gap:.35rem;margin-bottom:.9rem;font-weight:600}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #b8c5cf;border-radius:4px;padding:.62rem;background:#fff;color:var(--ink);font-weight:400;min-width:0}textarea{min-height:4.6rem;resize:vertical}label.check{display:flex;gap:.55rem;align-items:start;padding:.35rem 0}input[type=checkbox]{margin-top:.35rem;accent-color:#294b68}fieldset{border:1px solid var(--line);margin:0 0 1rem;padding:1rem}legend{font-weight:700}summary{cursor:pointer;font-weight:650}details{padding:.55rem 0}hr{border:0;border-top:1px solid var(--line)}.list{display:grid;gap:.5rem}.row{display:flex;justify-content:space-between;gap:.75rem;align-items:center;padding:.6rem 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.tab-active{background:#e0e7ee;color:var(--navy);font-weight:700}.titleline{display:flex;gap:1rem;justify-content:space-between;align-items:start;flex-wrap:wrap}.tabs{margin:1rem 0}.picker{max-height:27rem;overflow:auto;border:1px solid var(--line);padding:.7rem 1rem}.preview{width:100%;height:35rem;border:1px solid var(--line)}.narrow{max-width:650px}.document-links{margin-bottom:1rem}.danger{background:#754139}.wizard-step{display:inline-block;color:#6d603d;font-weight:650;margin-bottom:.4rem}footer{background:var(--navy);color:#f5f5f5;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.5rem clamp(1rem,5vw,5rem);margin-top:2rem}footer strong{letter-spacing:.12em}[hidden]{display:none!important}:focus-visible{outline:3px solid #946528;outline-offset:3px}
@media(max-width:700px){.hero{grid-template-columns:1fr}.header nav{font-size:.86rem}.row{align-items:start;flex-wrap:wrap}}

.term-info{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:0 .16em;padding:0;width:1.15em;height:1.15em;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:700 .76em/1 system-ui,sans-serif;cursor:pointer}
.glossary-dialog{width:min(32rem,calc(100vw - 2rem));border:1px solid var(--line);border-radius:8px;padding:1.5rem;color:var(--ink);background:white;box-shadow:0 1rem 3rem #1115}
.glossary-dialog::backdrop{background:#101f3288}
.glossary-dialog form{display:flex;justify-content:flex-end;margin-bottom:1rem}

.invite-module{margin:.75rem 0;padding:.65rem .9rem;border:1px solid var(--line)}
.invite-module summary{font-weight:700;cursor:pointer}
.invite-module .check{align-items:start;margin:.6rem 0}

fieldset,.invite-module,.question-text{min-width:0}
label.field{grid-template-columns:minmax(0,1fr)}
.question-text{overflow-wrap:anywhere;word-break:normal;hyphens:none}
.question-row>.question-text{flex:1 1 18rem}
.question-row>button,.invite-module input[type=checkbox]{flex:none}

.question-heading{position:sticky;top:0;z-index:2;background:white;padding:.6rem 0;border-bottom:1px solid var(--line)}
.question-heading h2{margin-bottom:.45rem}
.question-heading p{margin-bottom:.35rem}

.question-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr); gap: 1rem; align-items: start; }
.question-explanation { overflow-wrap: anywhere; }
#invite-form blockquote { white-space: pre-line; }
@media (max-width: 900px) {
  .question-layout { display: flex; flex-direction: column; }
  .question-explanation { order: -1; width: 100%; }
}

.module-group{margin:2rem 0}.module-group>h3{margin-bottom:1rem}.module-group .panel{min-width:0}.module-group h4{overflow-wrap:anywhere;hyphens:auto;font-size:1.12rem;margin:0 0 .8rem;color:var(--navy)}

.hero h1 .hero-action-line{display:block;color:var(--gold);font-size:.65em;font-weight:600;line-height:1.25;margin-top:.4em}

/* Scope: a quiet overview with optional explanations. */
.scope-form{max-width:1050px;margin:auto}.scope-intro{padding:.5rem 0 1.2rem}.scope-intro .eyebrow{margin-bottom:.6rem}.scope-intro p{color:var(--muted)}
.scope-step{background:white;border:1px solid var(--line);border-radius:8px;padding:0;margin-bottom:1rem}.scope-step>summary{padding:1.2rem 1.4rem;font-size:1.1rem;list-style:none;display:flex;align-items:center;gap:1rem}.scope-step>summary::after{content:'+';margin-left:auto;color:var(--muted)}.scope-step[open]>summary::after{content:'−'}.scope-number{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#f3eddf;color:#735d2d;flex:none}.scope-step-body{padding:.5rem 1.4rem 1.4rem}.scope-step fieldset{border:0;padding:0;margin:1rem 0 1.7rem}.scope-step legend{margin-bottom:.8rem}.scope-step .question-help-context h3{margin-top:1.4rem}.scope-extra{border-top:1px solid var(--line);padding:1rem 0}.scope-extra>summary{font-size:.94rem}.scope-extra[open]>summary{margin-bottom:1rem}.scope-question-row,.scope-form .question-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(10rem,1fr);gap:1.5rem;padding:.75rem 0;border-bottom:1px solid #eef0f2;align-items:start}.scope-help{padding-top:1.65rem;min-width:0}.scope-help details{padding:0}.scope-help summary{color:#4e6277;font-size:.92rem;font-weight:500}.scope-help-body{border-left:2px solid var(--gold);padding:.8rem 1rem;margin-top:.7rem;font-size:.9rem;color:var(--muted);background:#faf9f5}.scope-help-body p:last-child{margin-bottom:0}.scope-save{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0}.scope-save span{color:var(--muted);font-size:.9rem}.scope-form details.panel{padding:1rem;margin:1rem 0;background:#fafbfc}.scope-form details.panel[open]>summary{margin-bottom:1rem}
@media(max-width:700px){.scope-question-row,.scope-form .question-layout{grid-template-columns:1fr;gap:0}.scope-help{padding:0 0 .8rem}.scope-save{align-items:stretch;flex-direction:column}.scope-step>summary{padding:1rem}.scope-step-body{padding:.5rem 1rem 1rem}}

/* Shared portal styling, based on the approved scope design. */
#screen{max-width:1050px;margin:0 auto}#screen>.panel,#question-detail .panel{border-radius:8px;border-color:var(--line);box-shadow:none}#screen h2{font-size:1.6rem}#screen h3{line-height:1.4}#screen fieldset{border:0;border-top:1px solid #e9edf0;padding:1.1rem 0 .3rem;margin:1rem 0}#screen legend{padding-right:.7rem;font-size:1rem;color:var(--navy2)}#screen details>summary{line-height:1.5}#screen details[open]>summary{margin-bottom:.8rem}#screen form:not(.scope-form) label.field{margin-bottom:1.15rem}#screen .question-heading{position:static;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:1rem}#screen .question-heading h2{font-size:1.45rem;max-width:58ch;line-height:1.4}#screen .question-heading .inline-help{font-size:.9rem;color:var(--muted);border:0}#screen .question-explanation{padding:1rem 1.2rem;background:#fafbfc}#screen .question-help-disclosure>summary{font-size:1rem;color:#405872}#screen .question-help-body{padding-top:.5rem;font-size:.94rem;line-height:1.65}#screen .question-help-body h4{margin-bottom:.4rem}#screen .question-help-body p{margin-bottom:1rem}#screen .question-layout{gap:1.5rem}.tabs{padding:.75rem 0;border-bottom:1px solid var(--line);gap:.4rem}.tabs button{font-size:.93rem;border-radius:6px}.tabs button:not(.tab-active){background:transparent;color:var(--muted);border:1px solid transparent}.tabs .tab-active{background:white;border:1px solid var(--line);color:var(--navy)}#screen .notice{border-radius:5px;font-size:.94rem}#screen .row{padding:1rem 0}.question-help-body details{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}
@media(max-width:900px){#screen .question-explanation{order:0}#screen .question-layout{gap:.7rem}}
.answer-evidence-block{border:1px solid var(--line);border-radius:6px;padding:.85rem 1rem;margin:1rem 0 1.2rem;background:#fafbfc}.answer-evidence-block[open]>summary{margin-bottom:1.2rem}.status-help{margin-top:1.5rem}.status-help>summary{font-weight:600}.scope-question-row>section>h3{font-size:1rem;margin-bottom:.8rem}.scope-question-row:has(>section>h3)>section>label.field>.question-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
