/**
 * Website Phase 19 — Assessment, Measurement Science & bright form controls.
 * Contracts: CEG-ASSESSMENT-MEASUREMENT-SCIENCE@1.0.0,
 * CEG-BRIGHT-FORM-CONTROLS@1.0.0.
 */
:root{
 --ce19-control-bg:#ffffff;
 --ce19-control-fg:#0b1426;
 --ce19-control-muted:#52657b;
 --ce19-control-border:#8fa3b8;
 --ce19-panel-bg:#f6f8fb;
 --ce19-panel-border:#d6e0ea;
 --ce19-ink:#0b1426;
 --ce19-muted:#52657b;
}

/* Global form-control contract: writable/selectable fields are bright with dark text. */
:where(body) :where(
 input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),
 select,
 textarea
){
 background:var(--ce19-control-bg)!important;
 color:var(--ce19-control-fg)!important;
 -webkit-text-fill-color:var(--ce19-control-fg)!important;
 caret-color:var(--ce19-control-fg)!important;
 border-color:var(--ce19-control-border)!important;
 color-scheme:light!important;
}
:where(body) select option,
:where(body) select optgroup{
 background:#fff!important;
 color:#0b1426!important;
 -webkit-text-fill-color:#0b1426!important;
}
:where(body) :where(input,textarea)::placeholder{
 color:#586a7f!important;
 -webkit-text-fill-color:#586a7f!important;
 opacity:1!important;
}
:where(body) :where(
 input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),
 select,textarea
):disabled{
 background:#eef2f6!important;
 color:#435266!important;
 -webkit-text-fill-color:#435266!important;
 opacity:1;
}
:where(body) input:-webkit-autofill,
:where(body) input:-webkit-autofill:hover,
:where(body) input:-webkit-autofill:focus,
:where(body) textarea:-webkit-autofill,
:where(body) select:-webkit-autofill{
 -webkit-box-shadow:0 0 0 1000px #fff inset!important;
 -webkit-text-fill-color:#0b1426!important;
 caret-color:#0b1426!important;
}

/* Outcome diagnostic result hierarchy and immediate-surface agreement. */
.ce19-diagnostic-result-section{background:#eef3f8;color:var(--ce19-ink)}
.ce19-diagnostic-result{
 max-width:1120px;margin-inline:auto;padding:clamp(1.25rem,3vw,2.3rem);
 background:#fff!important;color:var(--ce19-ink)!important;
 border:1px solid var(--ce19-panel-border);border-radius:24px;
 box-shadow:0 20px 60px rgba(11,20,38,.08);
}
.ce19-diagnostic-result :where(h2,h3,strong){color:var(--ce19-ink)!important}
.ce19-diagnostic-result :where(p,li,small){color:var(--ce19-muted)}
.ce19-result-header{max-width:850px}
.ce19-result-header h2{margin:.25rem 0 .65rem;font-size:clamp(1.65rem,3.4vw,2.45rem);line-height:1.08;letter-spacing:-.025em}
.ce19-result-summary{font-size:clamp(1rem,1.4vw,1.12rem);line-height:1.7}
.ce19-result-selections{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.1rem 0 0}
.ce19-selection-chip{display:grid;gap:.15rem;min-width:150px;padding:.7rem .85rem;border:1px solid #d8e2ed;border-radius:14px;background:#f8fafc;color:var(--ce19-ink)}
.ce19-selection-chip small{font-size:.73rem;line-height:1.2;text-transform:uppercase;letter-spacing:.07em;color:#607086!important}
.ce19-selection-chip strong{font-size:.94rem;line-height:1.3}
.ce19-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.35rem 0}
.ce19-result-panel{padding:1.15rem;border:1px solid var(--ce19-panel-border);border-radius:18px;background:var(--ce19-panel-bg)!important;color:var(--ce19-ink)!important}
.ce19-result-panel h3{margin:.25rem 0 .45rem;font-size:clamp(1.12rem,1.8vw,1.35rem);line-height:1.25}
.ce19-result-panel p:last-child{margin-bottom:0;line-height:1.65}
.ce19-result-kicker{margin:0;font-size:.76rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#42566e!important}
.ce19-result-block{margin-top:1.35rem}
.ce19-result-block>h3{font-size:1.12rem;margin-bottom:.75rem}
.ce19-diagnostic-result .ce15-result-steps{display:grid;gap:.65rem;margin:0;padding-left:1.3rem}
.ce19-diagnostic-result .ce15-result-steps li{padding-left:.25rem;line-height:1.55}
.ce19-diagnostic-result .ce15-result-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.ce19-diagnostic-result .ce15-result-link{display:grid;gap:.35rem;min-height:132px;padding:1rem;border:1px solid #d7e1eb;border-radius:16px;background:#fff!important;color:#0b1426!important;text-decoration:none}
.ce19-diagnostic-result .ce15-result-link:hover,.ce19-diagnostic-result .ce15-result-link:focus-visible{border-color:#56749a;box-shadow:0 10px 28px rgba(11,20,38,.08)}
.ce19-diagnostic-result .ce15-result-link span,.ce19-diagnostic-result .ce15-result-link small{color:#52657b!important}
.ce19-diagnostic-result .ce15-result-link em{margin-top:auto;color:#173f72!important;font-style:normal;font-weight:800}
.ce19-evidence-note{margin:1.35rem 0;padding:1rem 1.1rem;border-left:4px solid #345f88;background:#f3f7fb!important;color:#0b1426!important}
.ce19-evidence-note p:last-child{margin:.35rem 0 0;color:#344a61!important}
.ce19-diagnostic-result .ce15-boundary{margin:1.2rem 0;padding-top:1rem;border-top:1px solid #dbe4ed;font-size:.91rem;color:#53667b!important}

/* Phase 19 public assessment explanation. */
.ce19-assessment-foundations,.ce19-assessment-lifecycle,.ce19-assessment-boundaries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.ce19-assessment-card{padding:1.2rem;border:1px solid #d7e1eb;border-radius:18px;background:#fff;color:#0b1426}
.ce19-assessment-card h3{margin:.2rem 0 .45rem;color:#0b1426;font-size:1.08rem}
.ce19-assessment-card p,.ce19-assessment-card li{color:#52657b;line-height:1.62}
.ce19-assessment-card .ce-eyebrow{color:#42566e}
.ce19-assessment-limit{padding:1.15rem;border-radius:18px;background:#f3f6fa;color:#0b1426;border:1px solid #d5e0eb}
.ce19-assessment-limit strong{color:#0b1426}
.ce19-assessment-result-card{background:#fff;color:#0b1426;border:1px solid #d5e0eb;border-radius:18px;padding:1.15rem}
.ce19-assessment-result-card :where(h2,h3,strong){color:#0b1426}
.ce19-assessment-result-card :where(p,li){color:#52657b}

@media(max-width:780px){
 .ce19-result-grid,.ce19-diagnostic-result .ce15-result-links,.ce19-assessment-foundations,.ce19-assessment-lifecycle,.ce19-assessment-boundaries{grid-template-columns:1fr}
 .ce19-diagnostic-result{border-radius:18px}
}
@media(prefers-reduced-motion:reduce){.ce19-diagnostic-result *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(forced-colors:active){
 .ce19-diagnostic-result,.ce19-result-panel,.ce19-selection-chip,.ce19-diagnostic-result .ce15-result-link,.ce19-assessment-card,.ce19-assessment-limit{border:1px solid CanvasText;background:Canvas!important;color:CanvasText!important}
 :where(body) :where(input,select,textarea){background:Field!important;color:FieldText!important;border-color:FieldText!important}
}
