:root{--petrol:#024158;--petrol-deep:#012c3d;--gold:#c09354;--aqua:#3aafa9;--mist:#ededed;--ink:#17313b;--paper:#fbfcfa;--danger:#a94141;--shadow:0 24px 70px #02415824}*{box-sizing:border-box}html{background:var(--paper)}body{color:var(--ink);background:radial-gradient(circle at 100% 0,#3aafa926,#0000 30rem),linear-gradient(135deg,#f9fbf8,#eef3f1);min-height:100vh;margin:0;font-family:Georgia,Times New Roman,serif}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--petrol-deep)}.eyebrow,.section-kicker,.question-code{color:var(--gold);letter-spacing:.13em;text-transform:uppercase;font-family:Trebuchet MS,sans-serif;font-size:.7rem;font-weight:800}.lede,.muted{color:#607075}.muted{font-size:.85em}.landing-shell,.auth-shell{place-items:center;min-height:100vh;padding:1.25rem;display:grid}.landing-card,.auth-card{box-shadow:var(--shadow);background:#ffffffe0;border:1px solid #0241581f;border-radius:1.5rem;max-width:42rem;padding:clamp(2rem,8vw,5rem)}.landing-card h1{letter-spacing:-.06em;font-size:clamp(2.6rem,7vw,5rem);line-height:.92}.landing-card .lede{max-width:34rem;font-size:1.2rem;line-height:1.55}.primary-link,.primary-button,.secondary-button{border:0;border-radius:.8rem;justify-content:center;padding:.85rem 1rem;text-decoration:none;transition:transform .15s,box-shadow .15s;display:inline-flex}.primary-link,.primary-button{color:#fff;background:var(--petrol);box-shadow:0 8px 18px #02415838}.primary-link:hover,.primary-button:hover{transform:translateY(-1px);box-shadow:0 12px 24px #02415840}.secondary-button{color:var(--petrol);background:#fff;border:1px solid #02415833}.text-button{color:var(--petrol);background:0 0;border:0;text-decoration:underline}.danger-button{color:#7a2929;background:#fff4f2;border:1px solid #a44343;border-radius:.7rem;padding:.68rem .8rem;font-family:Trebuchet MS,sans-serif;font-weight:700}.danger-button:hover{background:#ffe8e4}.stack-form{gap:1rem;margin-top:1.75rem;display:grid}.stack-form label{color:var(--petrol-deep);gap:.42rem;font-family:Trebuchet MS,sans-serif;font-size:.9rem;font-weight:700;display:grid}.stack-form input,textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #bdc9c8;border-radius:.7rem;padding:.75rem .8rem}.stack-form input:focus,textarea:focus{border-color:var(--aqua);outline:0;box-shadow:0 0 0 3px #3aafa929}.diagnostic-shell{max-width:48rem;min-height:100vh;margin:0 auto;padding:1.1rem}.diagnostic-header{padding:1.7rem 0 1.2rem}.diagnostic-header h1{letter-spacing:-.05em;margin-bottom:.4rem;font-size:clamp(2.15rem,7vw,3.6rem)}.diagnostic-header>p:not(.eyebrow){color:#5d6c70;line-height:1.5}.progress-line{background:#d7e0df;border-radius:99px;height:.3rem;margin-top:1.5rem;overflow:hidden}.progress-line span{background:linear-gradient(90deg, var(--aqua), var(--gold));height:100%;transition:width .25s;display:block}.question-card,.completion-card,.admin-card,.diagnostic-list{background:#ffffffeb;border:1px solid #0241581f;border-radius:1.1rem;box-shadow:0 10px 38px #02415814}.question-card{padding:clamp(1.1rem,5vw,2.1rem)}.section-title{border-bottom:1px solid #dfe7e4;margin-bottom:1.5rem;padding-bottom:1rem}.section-title span{color:var(--aqua);text-transform:uppercase;font-family:Trebuchet MS,sans-serif;font-size:.76rem;font-weight:800}.section-title h2{letter-spacing:-.04em;margin:.35rem 0 0;font-size:clamp(1.55rem,5vw,2.2rem)}.question-block{border-bottom:1px solid #e1e8e6;padding:1.4rem 0}.question-block:last-child{border-bottom:0;padding-bottom:0}.question-block:focus{outline-offset:.3rem;border-radius:.7rem;outline:3px solid #3aafa95c}.question-block h3{margin-bottom:1rem;font-size:1.12rem;line-height:1.34}.question-code{margin-bottom:.45rem}.option-grid{gap:.55rem;display:grid}.option-button{color:var(--ink);text-align:left;background:#fff;border:1px solid #cdd9d7;border-radius:.72rem;align-items:center;gap:.7rem;padding:.8rem;font-family:Trebuchet MS,sans-serif;display:flex}.option-button:hover{border-color:var(--aqua)}.option-button.selected{border-color:var(--petrol);background:#e9f3f1}.option-mark{color:var(--petrol);border:1px solid #9eb0ad;border-radius:.3rem;flex:0 0 1.25rem;place-items:center;height:1.25rem;font-weight:900;display:grid}.selected .option-mark{color:#fff;border-color:var(--petrol);background:var(--petrol)}.evidence-control{color:#657579;gap:.5rem;margin-top:1rem;font-family:Trebuchet MS,sans-serif;font-size:.78rem;display:grid}.evidence-control input{max-width:100%}.wizard-actions{justify-content:space-between;gap:.75rem;margin:1.2rem 0 .7rem;display:flex}.wizard-actions>*{min-width:8rem}.save-status{color:#66777a;text-align:center;font-family:Trebuchet MS,sans-serif;font-size:.78rem}.notice{border-radius:.7rem;padding:.75rem;font-family:Trebuchet MS,sans-serif}.error{color:#7c2727;background:#fff0ee;border:1px solid #f0c5bf}.loading{color:var(--petrol);text-align:center;padding:3rem 0}.completion-card{text-align:center;margin-top:15vh;padding:2.3rem}.review-card{background:#fffaf3;border:1px solid #c0935473;border-radius:1.1rem;margin-top:1rem;padding:1.35rem}.review-card h2{margin-bottom:.4rem}.review-card>p:not(.eyebrow){color:#5d6e70;line-height:1.45}.review-list{gap:.7rem;margin:1rem 0;display:grid}.review-list div{border-bottom:1px solid #eadfcf;padding-bottom:.7rem}.review-list dt{color:var(--gold);font-family:Trebuchet MS,sans-serif;font-size:.74rem;font-weight:800}.review-list dd{margin:.18rem 0 0}.review-pending{background:#fff4f2;border:1px solid #a9414157;border-radius:.8rem;margin:1rem 0;padding:1rem}.review-pending h3{margin-bottom:.35rem;font-size:1rem}.review-pending p{color:#6f4a45;font-family:Trebuchet MS,sans-serif;font-size:.88rem}.review-pending-actions{flex-wrap:wrap;gap:.6rem;margin-top:.85rem;display:flex}.review-pending-actions .secondary-button{min-width:auto}.admin-shell{max-width:76rem;min-height:100vh;margin:0 auto;padding:clamp(1rem,4vw,3rem)}.admin-header{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:2rem;display:flex}.admin-header h1{letter-spacing:-.05em;margin:0;font-size:clamp(2rem,4vw,3.25rem)}.admin-grid{grid-template-columns:minmax(0,1.4fr) minmax(14rem,.6fr);gap:1rem;display:grid}.admin-card{padding:1.4rem}.admin-card h2{margin-bottom:.4rem;font-size:1.55rem}.create-card{border-top:4px solid var(--gold)}.compact{margin-top:1rem}.one-time-link{word-break:break-all;background:#edf8f6;border:1px solid #3aafa973;border-radius:.7rem;gap:.45rem;padding:.8rem;display:grid}.one-time-link a{color:var(--petrol);font-family:Trebuchet MS,sans-serif;font-size:.8rem}.one-time-link small{color:#597075}.diagnostic-list{margin-top:1rem;overflow:hidden}.list-heading{border-bottom:1px solid #dde7e5;padding:1.4rem}.list-heading h2{margin-bottom:.3rem}.list-heading p{color:#637477;margin-bottom:0}.empty-state{color:#637477;padding:1.5rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:42rem;font-family:Trebuchet MS,sans-serif}th,td{text-align:left;border-bottom:1px solid #e2ebe8;padding:.85rem 1rem}th{color:#617276;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem}.status{border-radius:99px;padding:.35rem .55rem;font-size:.76rem;font-weight:700;display:inline-block}.status-draft{color:#70531d;background:#fbf3e6}.status-in_progress{color:#075c59;background:#ddf2ef}.status-submitted{color:#1d5c35;background:#e6f4ea}.status-expired,.status-revoked{color:#833535;background:#f9e9e7}.back-link{color:var(--petrol);margin-bottom:1.2rem;font-family:Trebuchet MS,sans-serif;font-size:.86rem;display:inline-block}.detail-grid{grid-template-columns:minmax(0,1fr) minmax(16rem,.42fr);align-items:start;gap:1rem;display:grid}.detail-side{gap:1rem;display:grid}.answer-section{border-bottom:1px solid #dde7e5;padding:1.35rem}.answer-section:last-child{border-bottom:0}.answer-section>h2{font-size:1.45rem}.answer-row{border-top:1px solid #e5ecea;padding:.8rem 0}.answer-row h3{margin-bottom:.32rem;font-size:.96rem}.answer-row p:last-child{color:#596d72;margin-bottom:0;line-height:1.45}.evidence-list,.notes-list{gap:.75rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}.evidence-list li{border-bottom:1px solid #e4ece9;gap:.2rem;padding-bottom:.7rem;display:grid}.evidence-list a{color:var(--petrol);word-break:break-word;font-family:Trebuchet MS,sans-serif;font-size:.9rem}.evidence-list small{color:#637477}.notes-list article{border-top:1px solid #e4ece9;padding-top:.8rem}.notes-list strong{color:var(--petrol);font-family:Trebuchet MS,sans-serif;font-size:.8rem}.notes-list p{color:#52666b;white-space:pre-wrap;margin:.35rem 0 0;font-size:.93rem;line-height:1.45}@media (max-width:720px){.admin-grid,.detail-grid{grid-template-columns:1fr}.admin-header{flex-direction:column;align-items:start}.auth-card{width:100%}}
