
body{margin:0;font-family:'Public Sans',system-ui,sans-serif;color:#14213D}
a{color:#1F3A6E}a:hover{color:#C2410C}
*{box-sizing:border-box}
.app{display:flex;width:1280px;height:900px;background:#F4F6FA;overflow:hidden}
.side{width:232px;flex:none;background:#14213D;padding:24px 14px;display:flex;flex-direction:column;gap:4px}
.brand{font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:22px;color:#fff;margin:0 10px 2px}
.brandsub{font-size:12px;color:#B8C4DB;margin:0 10px 22px}
.nav{display:flex;gap:10px;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;color:#DCE3F0;text-decoration:none;font-size:14px;font-weight:500}
.nav:hover{background:#1E2F52;color:#fff}
.nav .n{width:22px;font-size:12px;font-weight:700;color:#A9B8D4}
.nav.on{background:#2A3E66;color:#fff}.nav.on .n{color:#FFB38A}
.nav.sub{padding-left:36px;font-size:13px}
.nav-top,.nav-children,.nav-group-list{list-style:none;margin:0;padding:0}
#org,#account-identity{display:contents}
@media(max-width:650px){.nav-top,.nav-group-list{display:flex;gap:5px}.nav-group{flex:none}.nav-group>.u13{margin-top:0}.nav-children{margin-left:8px}}
.org{margin-top:auto;padding:12px;border-top:1px solid #2F4370;color:#DCE3F0;font-size:13px;line-height:1.4}
.org b{display:block;color:#fff;font-size:14px}
.org a{color:#FFB38A;font-weight:600}.org a:hover{color:#fff}
.main{flex:1;min-width:0;padding:24px 34px;display:flex;flex-direction:column;gap:14px}
.card{background:#fff;border:1px solid #DCE2EE;border-radius:12px;padding:16px 18px}
h1{font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:26px;line-height:1.2;margin:6px 0 4px}
h2{font-size:15px;margin:0 0 8px;font-weight:700}
p{margin:0}
.muted{color:#4B5565;font-size:13px;line-height:1.45}
.tag{display:inline-block;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:#E6ECF8;color:#1F3A6E;white-space:nowrap}
.tag.o{background:#FFE9DC;color:#9A3412}
/* State shown by form, not a sentence: the Sample pill marks a made-up item, the Closed chip carries a notice's own closing date. */
.wcw-pill-sample{background:#FFF1DF;color:#9A3412}
.wcw-chip-closed{background:#EEF1F6;color:#475569;font-weight:700}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:8px;background:#C2410C;color:#fff;font-weight:600;font-size:14px;text-decoration:none}
.btn:hover{background:#9A3412;color:#fff}
.btn.ghost{background:#fff;color:#1F3A6E;border:1.5px solid #1F3A6E}
.btn.ghost:hover{background:#E6ECF8;color:#14213D}
.draftaccount [hidden]{display:none}
.row{display:flex;gap:14px}
.sample{font-size:12px;color:#4B5565;border:1px dashed #98A2B3;border-radius:6px;padding:4px 8px;white-space:nowrap}
.step{display:flex;align-items:center;gap:12px;min-height:34px;border-bottom:1px solid #EEF1F6;font-size:13px}
.step span.r{margin-left:auto;font-size:12px;color:#4B5565}
.big{font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:28px;color:#14213D;line-height:1.1}
.bar{height:10px;border-radius:99px;background:#DCE2EE}
.bar i{display:block;height:10px;border-radius:99px;background:#1F3A6E}
.pl{margin-bottom:10px;font-size:13px}
.pl div.h{display:flex;justify-content:space-between;gap:10px;margin-bottom:4px}
:root{color-scheme:light}body{font-size:13px;line-height:1.45}.app{width:100%;min-height:900px;height:auto;overflow:visible}.side{min-height:900px;position:sticky;top:0;height:100vh}.main{min-height:900px;gap:14px}.brand{text-decoration:none}.brandsub{line-height:1.2}.nav{flex-shrink:0}.main>*{min-width:0}h3{font-size:14px;margin:0 0 5px}p+p{margin-top:8px}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;background:white;border:1px solid #DCE2EE;border-radius:8px;padding:8px 12px}button:hover{background:#E6ECF8}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #C2410C;outline-offset:3px}button.btn{border:0}.tag.g{background:#DCF3E5;color:#166534}.tag.gray{background:#EEF1F6;color:#475569}.titlebar{position:relative;padding-right:80px}.titlebar .sample{position:absolute;right:0;top:0}.columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px;flex:1;align-items:stretch}.columns.fit{grid-template-columns:minmax(0,.84fr) minmax(0,1fr)}.columns.certs{grid-template-columns:minmax(0,.72fr) minmax(0,1fr)}.stack{display:flex;flex-direction:column;gap:14px;min-width:0}.grow{flex:1}.card{min-width:0}.featured{border:2px solid #C2410C}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.searchbox{display:flex;align-items:center;border:2px solid #1F3A6E;border-radius:12px;padding:9px 16px;gap:12px;min-height:52px;background:white}.searchbox input{border:0;outline-offset:6px;width:100%;min-width:0;background:transparent;font-size:14px}.searchbox label{font-size:22px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.metrics>div{background:#F4F6FA;border-radius:10px;padding:12px}.metrics strong{display:block;font-family:Georgia,serif;font-size:23px;line-height:1.2}.contacts{font-size:12px}.contacts .item{display:flex;justify-content:space-between;gap:12px}.contacts .item span{text-align:right}.item{padding:10px 0;border-bottom:1px solid #EEF1F6}.item:last-child{border-bottom:0}.card .muted{margin-top:4px}.map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:12px 0}.tile{min-height:56px;border:0;border-radius:8px;padding:6px 2px;background:#EEF1F6;color:#4B5565;text-align:center;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center}.tile b{font-size:12px}.tile.low{background:#CAD8F3;color:#14213D}.tile.high{background:#1F3A6E;color:white}.tile.unknown{background:repeating-linear-gradient(135deg,#F4F6FA,#F4F6FA 6px,#E6ECF8 6px,#E6ECF8 7px)}.legend{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#4B5565}.legend i{display:inline-block;width:13px;height:13px;border:1px solid #98A2B3;border-radius:3px;vertical-align:middle;margin-right:4px}.legend .low{background:#CAD8F3}.legend .high{background:#1F3A6E}.legend .none{background:#EEF1F6}.pills{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.pill{border:1px solid #98A2B3;border-radius:24px;padding:8px 14px;background:white}.pill.on{background:#1F3A6E;color:white;border-color:#1F3A6E}.subtle{background:#F4F6FA;border-radius:9px;padding:10px 12px}.greenbox{background:#EAF6EE;border-radius:10px;padding:12px}.dark{background:#14213D;color:white;border-color:#14213D}.dark .muted,.side [data-preview-cue]{color:#DCE3F0}.bar{height:8px;background:#E6ECF8;margin:3px 0 8px}.bar i{height:8px}.bar.green i{background:#166534}.metrichead{display:flex;justify-content:space-between;gap:8px}.checkrow{display:flex;align-items:center;gap:10px;border-bottom:1px solid #EEF1F6;padding:8px 0;min-height:38px}.checkrow input{accent-color:#166534;width:18px;height:18px}.checkrow small{margin-left:auto}.step-active{background:#FFF5EF;border-radius:8px;padding-left:8px;padding-right:8px}.panelrow{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;border-bottom:1px solid #EEF1F6;padding:12px 0}.panelrow b{font-size:12px;color:#1F3A6E}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#4B5565;font-size:11px;border-bottom:1px solid #DCE2EE}th,td{padding:10px 5px;vertical-align:top}td{border-bottom:1px solid #EEF1F6}td:first-child,th:first-child{padding-left:0}td:last-child{padding-right:0}tr:last-child td{border-bottom:0}.sectionrow td{color:#1F3A6E;font-weight:700;letter-spacing:.04em;padding:8px 0 2px}.programs td{padding-top:13px;padding-bottom:13px}.programs th:nth-child(1){width:24%}.programs th:nth-child(2){width:29%}.timeline{display:grid;grid-template-columns:.8fr 1.3fr 1.6fr;gap:4px;margin:10px 0}.timeline>div{padding:12px;border-radius:6px;background:#E6ECF8;font-size:12px}.timeline>div:nth-child(2){background:#CAD8F3}.timeline>div:last-child{background:#1F3A6E;color:white}.workspace{display:grid;grid-template-columns:minmax(190px,.95fr) minmax(300px,1.75fr) minmax(210px,1fr);gap:14px;flex:1}.sectionpick{display:block;text-align:left;width:100%;border-color:transparent;margin-bottom:2px}.sectionpick.on{border-color:#C2410C;background:#FFF5EF}.sectionpick .tag{float:right;white-space:normal}.editor{display:flex;flex-direction:column}.editor textarea{border:0;resize:vertical;flex:1;min-height:290px;font-size:15px;line-height:1.7;width:100%;padding:12px 0}.editorfoot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #EEF1F6;padding-top:12px;gap:10px}.toolbar{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}.toolbar button{font-size:12px;padding:8px 10px}.clauses{display:grid;grid-template-columns:1fr 1fr;gap:10px}.clause{border-radius:12px;padding:13px;background:#F4F6FA}.clause.meaning{background:#EAF6EE}.clause b{display:block;font-size:11px;color:#1F3A6E;margin-bottom:5px}.drop{border:2px dashed #98A2B3;border-radius:10px;padding:17px;text-align:center;margin-top:15px;display:block;width:100%;background:white}.term{border:0;padding:0;background:transparent;font-weight:inherit;text-align:left;text-decoration:underline dotted #98A2B3;text-underline-offset:4px;position:relative}.term:hover{background:transparent}.term:hover:after,.term:focus-visible:after{content:attr(data-tip);position:absolute;left:0;bottom:calc(100% + 8px);width:240px;max-width:65vw;padding:10px;background:#14213D;color:white;z-index:30;border-radius:8px;font-size:12px;font-weight:400;box-shadow:0 3px 12px #0003}.org button{color:#FFB38A;background:transparent;border:0;padding:4px 0;text-decoration:underline}.org small{display:block;color:#B8C4DB}.prototype-footer{padding:12px 24px;background:#E6ECF8;color:#475569;font-size:12px}.prototype-footer a{margin-right:12px}.lab-banner{background:#FFF1DF;border-bottom:1px solid #C2410C;padding:8px 24px}.lab-banner a{float:right}.source-note{font-size:11px;color:#475569;margin-top:8px}.source-note a{margin-right:5px}.empty{padding:14px;color:#4B5565;background:#F4F6FA;border-radius:9px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}dialog{border:1px solid #DCE2EE;border-radius:14px;max-width:min(600px,90vw);max-height:85vh;overflow:auto;padding:24px;box-shadow:0 10px 60px #14213D40}dialog::backdrop{background:#14213D66}dialog h2{font-size:20px}dialog p{margin:12px 0}dialog select,dialog input,dialog textarea{width:100%;padding:10px;border:1px solid #98A2B3;border-radius:7px;margin:6px 0}dialog .close{float:right}.status{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);max-width:80vw;background:#14213D;color:white;padding:9px 16px;border-radius:8px;z-index:100;pointer-events:none}.status:empty{display:none}.wordgap{color:#9A3412}.links a{display:inline-block;margin:4px 8px 4px 0}a{overflow-wrap:anywhere}.rankdots{color:#1F3A6E;font-weight:bold;white-space:nowrap}.routecard{display:block;text-decoration:none;color:inherit}.routecard h3{margin-top:5px}.fit-number{font-size:28px;font-weight:700}.reuse-line{margin:10px 0}.app[data-screen=agencies] .columns{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.app[data-screen=agencies] .main{gap:14px}.app[data-screen=agencies] .map{margin:12px 0}.app[data-screen=agencies] .grow{min-height:290px}.app[data-screen=path] .columns{min-height:510px}.app[data-screen=certs] .titlebar{padding-right:115px}.programs .tag{white-space:normal}
@media(min-width:1400px){.main{max-width:1300px}.app{justify-content:flex-start}}
@media(max-width:1050px){.side{width:200px;padding:20px 10px}.main{padding:24px}.workspace{grid-template-columns:1fr 1.8fr}.workspace>.stack{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}.columns,.columns.fit,.columns.certs,.app[data-screen=agencies] .columns{grid-template-columns:1fr}.titlebar{padding-right:0}.titlebar .sample{position:static;display:inline-block;margin-top:6px}.org{font-size:12px}.three{gap:8px}.app[data-screen=path] .columns{min-height:0}}
@media(max-width:650px){.app{display:block;min-height:100vh}.side{width:100%;height:auto;min-height:0;position:static;padding:14px}.brand{font-size:24px}.brandsub{margin-bottom:8px}.side #nav{display:flex;overflow:auto;gap:5px}.nav{white-space:nowrap;min-height:38px;padding:0 10px;font-size:12px}.nav.sub{padding-left:10px}.nav .n{display:none}.toolslabel{display:none}.org{margin-top:10px;padding:8px 10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.org b{font-size:12px}.org p{flex:1 1 100%;min-width:0}.side>*{min-width:0;max-width:100%}.checkrow{flex-wrap:wrap;align-items:flex-start}.checkrow small{white-space:normal;margin-left:0;flex-basis:100%}.main{padding:20px 16px;min-height:0}.columns,.three,.workspace{display:flex;flex-direction:column}.workspace>.stack{display:flex}.titlebar h1{font-size:25px}.main>.three{display:grid;grid-template-columns:1fr}.metrics{gap:5px}.metrics>div{padding:10px}.contacts .item{display:block}.contacts .item span{display:block;text-align:left;margin-top:5px}.app[data-screen=agencies] .grow{min-height:0}.clauses{grid-template-columns:1fr 1fr}.panelrow{grid-template-columns:90px 1fr}.card{padding:15px}.tag{white-space:normal}.btn{padding:0 12px;font-size:13px}.prototype-footer{padding:12px 16px}.map .tile{min-height:52px}table{font-size:11px}.lab-banner a{float:none;margin-left:10px}.term:after{display:none}}

.u0{margin-top:12px}
.u1{float:right;font-size:12px;font-weight:400}
.u2{margin-top:15px}
.u3{margin-top:10px}
.u4{margin-top:7px}
.u5{margin-top:16px}
.u6{float:right}
.u7{grid-template-columns:1fr 1fr}
.u8{margin-top:14px}
.u9{margin-top:18px}
.u10{width:100%;min-height:90px}
.u11{width:100%;min-height:112px;border:0;background:#F4F6FA;padding:12px}
.u12{margin-top:8px}
.u13{margin:14px 10px 4px;color:#A9B8D4;font-size:11px}
.w-0{width:0%}
.w-1{width:1%}
.w-2{width:2%}
.w-3{width:3%}
.w-4{width:4%}
.w-5{width:5%}
.w-6{width:6%}
.w-7{width:7%}
.w-8{width:8%}
.w-9{width:9%}
.w-10{width:10%}
.w-11{width:11%}
.w-12{width:12%}
.w-13{width:13%}
.w-14{width:14%}
.w-15{width:15%}
.w-16{width:16%}
.w-17{width:17%}
.w-18{width:18%}
.w-19{width:19%}
.w-20{width:20%}
.w-21{width:21%}
.w-22{width:22%}
.w-23{width:23%}
.w-24{width:24%}
.w-25{width:25%}
.w-26{width:26%}
.w-27{width:27%}
.w-28{width:28%}
.w-29{width:29%}
.w-30{width:30%}
.w-31{width:31%}
.w-32{width:32%}
.w-33{width:33%}
.w-34{width:34%}
.w-35{width:35%}
.w-36{width:36%}
.w-37{width:37%}
.w-38{width:38%}
.w-39{width:39%}
.w-40{width:40%}
.w-41{width:41%}
.w-42{width:42%}
.w-43{width:43%}
.w-44{width:44%}
.w-45{width:45%}
.w-46{width:46%}
.w-47{width:47%}
.w-48{width:48%}
.w-49{width:49%}
.w-50{width:50%}
.w-51{width:51%}
.w-52{width:52%}
.w-53{width:53%}
.w-54{width:54%}
.w-55{width:55%}
.w-56{width:56%}
.w-57{width:57%}
.w-58{width:58%}
.w-59{width:59%}
.w-60{width:60%}
.w-61{width:61%}
.w-62{width:62%}
.w-63{width:63%}
.w-64{width:64%}
.w-65{width:65%}
.w-66{width:66%}
.w-67{width:67%}
.w-68{width:68%}
.w-69{width:69%}
.w-70{width:70%}
.w-71{width:71%}
.w-72{width:72%}
.w-73{width:73%}
.w-74{width:74%}
.w-75{width:75%}
.w-76{width:76%}
.w-77{width:77%}
.w-78{width:78%}
.w-79{width:79%}
.w-80{width:80%}
.w-81{width:81%}
.w-82{width:82%}
.w-83{width:83%}
.w-84{width:84%}
.w-85{width:85%}
.w-86{width:86%}
.w-87{width:87%}
.w-88{width:88%}
.w-89{width:89%}
.w-90{width:90%}
.w-91{width:91%}
.w-92{width:92%}
.w-93{width:93%}
.w-94{width:94%}
.w-95{width:95%}
.w-96{width:96%}
.w-97{width:97%}
.w-98{width:98%}
.w-99{width:99%}
.w-100{width:100%}
textarea{max-width:100%} .org{flex-shrink:0} #nav{display:contents}@media(max-width:650px){#nav{display:flex!important;overflow:auto;max-width:100%}}

.draftaccount{border-top:1px solid #EEF1F6;margin-top:12px;padding-top:12px}.draftstatus{font-size:12px;color:#1F3A6E;font-weight:600;min-height:17px}.conflictpanel{background:#FFF5EF;border:1px solid #C2410C;border-radius:10px;padding:12px;margin-top:10px}.conflictpanel b{font-size:13px}.servercopy{white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #DCE2EE;border-radius:8px;padding:10px;font-size:12px;max-height:160px;overflow:auto;margin:8px 0}.draftdiag{margin-top:12px;border:1px dashed #98A2B3;border-radius:10px;padding:8px 12px;font-size:12px;background:#F4F6FA}.draftdiag summary{cursor:pointer;color:#4B5565;font-weight:600}.draftdiag .row{flex-wrap:wrap;gap:12px;align-items:center;margin:8px 0}.draftdiag label{display:flex;gap:6px;align-items:center}.draftdiag select{padding:6px;border:1px solid #98A2B3;border-radius:7px}.draftdebug{white-space:pre-wrap;word-break:break-word;max-height:140px;overflow:auto;background:#14213D;color:#DCE3F0;border-radius:8px;padding:8px;font-size:11px;margin-top:8px}
.persist-note{background:#FFF5EF;border:1px solid #F0C7A8;border-radius:8px;padding:8px 10px;font-size:12px;color:#9A3412;margin:8px 0}.checkrow.review-needed small{color:#9A3412;font-weight:600}.cap-pills{margin:8px 0 4px}.cap-pills .tag{font-size:11px}.member-list .member-row{padding:10px 0}.button.linklike,button.linklike{border:0;background:transparent;padding:0;color:#1F3A6E;text-decoration:underline;font-weight:600}
.main:focus{outline:none}.reuse-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.reuse-line .metrichead>b:last-child{flex-shrink:0}.app[data-screen=path] .columns{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)}.app[data-screen=alerts] .columns,.app[data-screen=tracker] .columns{align-items:start}.app[data-screen=certs] .main{position:relative}.app[data-screen=certs] .titlebar{padding-right:185px}.app[data-screen=certs] div[data-component=supplier]{position:absolute;right:34px;top:56px;width:190px;justify-content:flex-end}.app[data-screen=certs] div[data-component=supplier] .muted{display:none}.app[data-screen=certs] .programs td{padding-top:10px;padding-bottom:10px}.app[data-screen=certs] .programs .sectionrow td{padding-top:8px;padding-bottom:2px}.app[data-screen=forecast] [data-component=signals] .card{padding:12px 16px}.app[data-screen=forecast] [data-component=signals] .card button{padding:3px 0;background:none;border:0;text-decoration:underline;font-size:12px}.app[data-screen=plain] [data-component=term] .panelrow{display:block;padding:8px 0}.app[data-screen=plain] [data-component=term] .panelrow b{display:block;margin-bottom:4px}.app[data-screen=plain] [data-component=map] .tile{min-height:40px}
@media(min-width:1051px){.workspace{height:756px;max-height:calc(100vh - 145px);flex:none}.workspace>[data-component=sections]{overflow-y:auto}.workspace .editor textarea{min-height:80px}.workspace>.stack{overflow-y:auto}.app[data-screen=path] .columns{min-height:510px;flex:1}.app[data-screen=path] .reuse-line{margin:8px 0}}
@media(max-width:1050px){.app[data-screen=certs] .titlebar{padding-right:0}.app[data-screen=certs] div[data-component=supplier]{position:static;width:auto;justify-content:flex-start}.app[data-screen=path] .columns{grid-template-columns:1fr}}
.programfacts .formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 16px;margin:10px 0}.programfacts label{display:block;font-size:13px;margin-top:4px}.programfacts input,.programfacts select{display:block;width:100%;height:auto;padding:6px;border:1px solid #98A2B3;border-radius:7px;font-size:14px}.program{padding:12px 0;border-bottom:1px solid #EEF1F6;overflow-wrap:anywhere}.program h3{margin:0 0 4px}.program q{quotes:'“' '”'}
.statementform label{display:block;font-size:13px;margin-top:8px}.statementform input,.statementform textarea{display:block;width:100%;height:auto;padding:6px;border:1px solid #98A2B3;border-radius:7px;font-size:14px}.statementform textarea{min-height:80px}.statementtext{width:100%;min-height:240px;font:14px/1.5 system-ui,sans-serif}.statementcontracts li{margin:6px 0}
.path{padding:12px 0;border-bottom:1px solid #EEF1F6;overflow-wrap:anywhere}.path h3{margin:0 0 4px}.path q{quotes:'“' '”'}.path h4{margin:0 0 4px;font-size:15px}.path ul{padding-left:18px}.path .actions{margin-top:8px}[data-paths-group]>h3{margin:14px 0 2px;font-size:16px}[data-paths-group]:first-of-type>h3{margin-top:6px}
/* View switch: one control for Published records, Sample scenario and Readiness, on every screen of both versions. */
.view-switch{display:flex;flex-direction:column;gap:1px;margin:8px 10px 4px;padding:3px;border:1px solid #3B4F7A;border-radius:10px;background:#0E1830}
.view-option{display:flex;align-items:center;min-height:30px;padding:2px 10px;border-radius:7px;color:#DCE3F0;text-decoration:none;font-size:13px;font-weight:600}
.view-option:hover{background:#1F3A6E}
.view-option.on{background:#fff;color:#14213D;box-shadow:inset 0 0 0 2px #C2410C}
.view-option.on:before{content:"●";font-size:9px;margin-right:6px;color:#C2410C}
.view-short{display:none}
.view-note{font-size:12px;line-height:1.3;color:#DCE3F0;margin:2px 10px 10px}
.view-note+.brandsub{margin-bottom:12px}
@media(min-width:651px){.side{overflow-y:auto}}
@media(max-width:650px){.view-switch{flex-direction:row;margin:8px 0 4px}.view-option{flex:1 1 0;min-width:0;justify-content:center;text-align:center;padding:2px 4px;min-height:40px;line-height:1.2;overflow-wrap:anywhere}.view-note{margin:2px 0 10px}}
@media(max-width:520px){.view-full{display:none}.view-short{display:inline}}
/* Readiness view (/procurement/?readiness=1): a highlighter behind each recorded part and a text chip naming its status. */
.rdo-legend{position:sticky;top:0;z-index:40;background:#fff;border-bottom:2px solid #14213D;padding:8px 16px;font-size:12px;box-shadow:0 2px 8px #14213D26}
.rdo-legend p{margin:4px 0 0}
.rdo-legend-row{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.rdo-key{display:flex;flex-wrap:wrap;gap:6px}
.rdo-actions{margin-left:auto;display:flex;gap:10px;align-items:center}
.rdo-build{color:#475569}
.rdo-tiers{margin-top:4px}.rdo-tiers summary{cursor:pointer;font-weight:700}.rdo-tiers ul{margin:4px 0 0;padding-left:18px}
.rdo-panel .rd-limitation{color:#1F2937}
.rdo-hl{box-shadow:inset 0 0 0 9999px var(--rdo-tint),0 0 0 3px var(--rdo-line)!important;border-radius:8px}
.rdo-hl.rdo-green{--rdo-tint:#16A34A33;--rdo-line:#15803D}
.rdo-hl.rdo-lightgreen{--rdo-tint:#BEF2646B;--rdo-line:#4D7C0F}
.rdo-hl.rdo-yellow{--rdo-tint:#FACC1547;--rdo-line:#A16207}
.rdo-hl.rdo-red{--rdo-tint:#DC262629;--rdo-line:#B91C1C}
.rdo-chip-inline{display:block;margin:0 0 6px}
.rdo-chip,.rdo-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700;line-height:1.5;border:1px solid transparent}
button.rdo-chip{cursor:pointer;min-height:28px}
.rdo-green.rdo-chip,.rdo-green.rdo-badge{background:#166534;color:#fff}
.rdo-lightgreen.rdo-chip,.rdo-lightgreen.rdo-badge{background:#D9F99D;color:#1A2E05;border-color:#4D7C0F}
.rdo-yellow.rdo-chip,.rdo-yellow.rdo-badge{background:#FDE047;color:#1F2937;border-color:#A16207}
.rdo-red.rdo-chip,.rdo-red.rdo-badge{background:#B91C1C;color:#fff}
.rdo-chip:focus-visible{outline:3px solid #C2410C;outline-offset:2px}
.rdo-shape{display:inline-block;width:9px;height:9px;background:currentColor}
.rdo-green .rdo-shape{border-radius:50%}
.rdo-lightgreen .rdo-shape{border-radius:50%;background:transparent;border:2px solid currentColor;box-sizing:border-box}
.rdo-red .rdo-shape{border-radius:0;transform:rotate(45deg)}
.rdo-mark{display:inline-block;width:10px;height:10px;margin-left:auto;border:1px solid #fff}
.rdo-mark.rdo-green{background:#22C55E;border-radius:50%}
.rdo-mark.rdo-lightgreen{background:#D9F99D;border:2px solid #4D7C0F;border-radius:50%;box-sizing:border-box}
.rdo-mark.rdo-yellow{background:#FACC15;border-radius:2px}
.rdo-mark.rdo-red{background:#EF4444;transform:rotate(45deg)}
.rdo-panel{position:fixed;right:16px;bottom:16px;z-index:60;width:min(520px,calc(100vw - 32px));max-height:min(70vh,640px);overflow:auto;background:#fff;border:2px solid #14213D;border-radius:12px;padding:14px 16px;box-shadow:0 10px 40px #14213D55}
.rdo-panel-head{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}
.rdo-panel h2{font-size:16px;margin:0}
.rdo-panel-screen{font-size:12px;color:#475569;margin:6px 0}
.rdo-panel .rd-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rdo-panel .rd-compare>div{background:#F4F6FA;border-radius:8px;padding:8px 10px;min-width:0}
.rdo-panel .rd-meta,.rdo-panel .rd-evidence li{font-size:12px;color:#475569}
.rdo-panel .rd-evidence{padding-left:16px}
@media(max-width:650px){.rdo-legend{position:static}.rdo-actions{margin-left:0}.rdo-panel{left:8px;right:8px;bottom:8px;width:auto;max-height:75vh}.rdo-panel .rd-compare{grid-template-columns:1fr}}
/* Learning-page links: the standing entry in the sidebar, and each screen's "Learn" links under its heading. */
.learn-entry{display:flex;align-items:center;min-height:44px;margin:10px 0 0;padding:0 12px;border:1px solid #3B4F7A;border-radius:8px;color:#FFB38A;font-size:14px;font-weight:600;text-decoration:none}
.learn-entry:hover{background:#1E2F52;color:#fff}
.learn-links{display:flex;flex-wrap:wrap;gap:2px 18px;margin-top:6px;font-size:13px}
.learn-links a{display:inline-flex;align-items:center;min-height:28px;color:#1F3A6E;font-weight:600}
.contacts [data-component=agency-officers]{display:block}
@media(max-width:650px){.learn-entry{min-height:40px;margin:8px 0 0;font-size:13px}}
.savingstate{margin:8px 0}.savemark{display:inline-block;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;color:#1F3A6E;background:#fff;border:1px solid transparent}.savemark.tabonly{border:1px dotted #475569;color:#475569}.savemark.couldnot{border:1px dashed #9A3412;color:#9A3412}.savingstate ul{margin:6px 0 0 18px;padding:0}.savechoose{border:1px solid #C2410C;border-radius:10px;padding:12px;margin:10px 0;background:#FFF5EF}.savechoose .item p{margin:4px 0}
/* Keyed picker (shared/combobox.mjs): type to filter a closed list, choose with arrows and Enter. */
.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}
.combo{position:relative;display:grid;gap:6px;min-width:0}
.combo>label{font-weight:600;font-size:14px}
.combo input[role=combobox]{border:2px solid #1F3A6E;border-radius:12px;padding:12px 16px;min-height:52px;font-size:15px;background:white;width:100%;box-sizing:border-box}
.combo input[role=combobox]:focus{outline:3px solid #C2410C;outline-offset:2px}
.combo-hint{margin:0;font-size:13px}
.combo-list{position:absolute;z-index:30;top:100%;left:0;right:0;margin:4px 0 0;padding:4px;list-style:none;background:white;border:1px solid #1F3A6E;border-radius:10px;box-shadow:0 8px 24px rgba(15,23,42,.18);max-height:min(360px,60vh);overflow-y:auto}
.combo-field{position:relative}
.combo-list li{padding:9px 12px;border-radius:8px;cursor:pointer;display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline;line-height:1.3}
.combo-list li[aria-selected=true]{background:#1F3A6E;color:white}
.combo-list li[aria-selected=true] .combo-option-hint{color:#DCE4F2}
.combo-list li[data-group]::before{content:attr(data-group);display:block;flex-basis:100%;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#64748B;margin:4px 0 2px}
.combo-list li[aria-selected=true][data-group]::before{color:#DCE4F2}
.combo-label{font-weight:600}
.combo-option-hint{font-size:13px;color:#475569}
.combo-more{cursor:default;color:#475569;font-size:13px}
.combo-empty{margin:0;font-size:13px;color:#475569}
.chosen-places{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.chosen-places .pill{display:inline-flex;align-items:center;gap:6px}
.agency-filter{display:flex;flex-wrap:wrap;align-items:end;gap:8px 12px}
.agency-filter .combo{flex:1 1 260px}
#cs-account-status,[data-statement-save]{pointer-events:none}
/* Records requests, published signed-out version: one column, three numbered steps. */
.foilpub{display:flex;flex-direction:column;gap:14px;max-width:820px}.foilpub h2{margin-top:14px}.foilpub .card>h2:first-child{margin-top:0}.foil-src>summary,.foil-after>summary{cursor:pointer;color:#1F3A6E;font-weight:600;padding:8px 0}.foil-src>summary{font-size:12px;font-weight:500}
/* Tracker, published version: one column; a list, not a table; a dashed box means that part is not there. */
.trk{display:flex;flex-direction:column;gap:14px;max-width:820px}.trk-row{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:space-between;align-items:center;margin-bottom:4px}.trk-what{flex:1 1 260px;display:flex;flex-direction:column}.trk-do{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.trk-lack{display:block;border:1px dashed #98A2B3;border-radius:8px;padding:10px 12px;font-size:13px;color:#475569;margin:0}.trk details.card>summary{cursor:pointer}.trk details.card>summary h2{display:inline}
.ws-lack{display:block;border:1px dashed #98A2B3;border-radius:8px;padding:10px 12px;font-size:13px;color:#475569;margin:0}.ws-side{gap:10px}
@media(max-width:650px){.ws-sections{max-height:260px;overflow-y:auto;border:1px solid #EEF1F6;border-radius:8px}}
/* Set-asides: one column; questions first, programs in three groups, sources one click away. */
.sa{display:flex;flex-direction:column;gap:14px;max-width:820px}.sa h3{margin:14px 0 6px}.sa h4{margin:10px 0 4px;font-size:13px}
.sa-counts{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px;padding:0}.sa-counts li{flex:1 1 150px;border:1px solid #D5DBE7;border-radius:10px;padding:8px 12px}.sa-counts b{display:block;font-size:24px;line-height:1.1}.sa-counts li[data-count=open]{border-color:#8CCBA4;background:#F1FAF4}.sa-counts:focus{outline:2px solid #1F3A6E;outline-offset:3px}
.sa-q{border:1px solid #D5DBE7;border-radius:10px;padding:10px 12px;margin:8px 0}.sa-q-text{font-weight:600;font-size:15px;margin:0 0 8px}.sa-q-why{margin:8px 0 0;font-size:12px}.sa-answers{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.sa-answers .btn{min-width:72px;min-height:40px}.sa-answers input{height:40px;width:170px;max-width:100%;padding:6px 8px;border:1px solid #98A2B3;border-radius:7px;font-size:15px}
.sa-more>summary,.sa-src>summary{cursor:pointer;color:#1F3A6E;font-weight:600;padding:6px 0}.sa-src>summary{font-size:12px;font-weight:500}
.sa-stated ul{list-style:none;margin:0 0 8px;padding:0}.sa-stated li{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid #EEF1F6}
.sa-row{padding:0;border-bottom:1px solid #EEF1F6}.sa-row>summary{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;padding:10px 0;cursor:pointer}.sa-name{font-weight:600;flex:1 1 220px}.sa-line{flex:2 1 300px;color:#475569}.sa-body{padding:0 0 12px 16px}.sa-body ul{padding-left:18px}.sa-body li{margin:4px 0}
.sa-once{margin:10px 0 0;padding-left:18px}
details.card>summary{cursor:pointer}details.card>summary h2{display:inline;margin-right:8px}
.sa-yours p{margin:8px 0}.sa-cert{width:100%;border-collapse:collapse;margin:8px 0}.sa-cert th,.sa-cert td{text-align:left;vertical-align:top;padding:8px 10px 8px 0;border-bottom:1px solid #EEF1F6;font-weight:500}.sa-cert thead th{font-size:12px;color:#475569;font-weight:600}.sa-cert td[data-cell=does_not_count]{color:#667085}.sa-cert q,.sa-body q{quotes:'“' '”'}
@media(max-width:650px){.sa-cert thead{display:none}.sa-cert tr{display:block;padding:8px 0;border-bottom:1px solid #EEF1F6}.sa-cert th,.sa-cert td{display:block;border:0;padding:2px 0}.sa-cert td::before{content:attr(data-label) ': ';color:#475569;font-size:12px}.sa-body{padding-left:0}}
/* Plain language, published version: one column; a dashed box means that part is not there. */
.plainpub{display:flex;flex-direction:column;gap:14px;max-width:820px}.plain-lack{display:block;border:1px dashed #98A2B3;border-radius:8px;padding:10px 12px;font-size:13px;color:#475569;margin:0}.plain-fields>summary{cursor:pointer;color:#1F3A6E;font-size:12px;padding:6px 0}.plain-fields code{font-size:12px}.plainpub details.card>summary{cursor:pointer}.plainpub details.card>summary h2{display:inline}
/* Requirements: government badge. City = filled, square corners; State = outlined pill; Federal = double border, square. The word is always printed. */
.req-gov{display:inline-flex;align-items:center;gap:.35em;font-weight:700;font-size:12px;padding:1px 8px 1px 6px;line-height:1.5;white-space:nowrap;border:2px solid #1F3A6E;vertical-align:middle}
.req-gov .req-ic{width:1em;height:1em}
.req-gov-city{background:#1F3A6E;color:#fff;border-radius:3px}
.req-gov-state{background:transparent;color:#1F3A6E;border-radius:999px}
.req-gov-federal{background:transparent;color:#1F3A6E;border-style:double;border-width:4px;border-radius:0;padding:0 7px 0 5px}
.req-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.req-quote{margin:6px 0 4px;padding:4px 10px;border-left:3px solid #C9D3E8;color:#27324D}
.req-source summary{cursor:pointer;color:#1F3A6E;font-weight:600;min-height:28px}
.req-variants{margin:4px 0 4px 18px}
.req-form .actions{flex-wrap:wrap;gap:6px}
.workspace.wsflow{height:auto;max-height:none;min-height:756px}
/* Document vault, published version: one column; one line per document; a dashed box means that part is not there. */
.vaultpub{display:flex;flex-direction:column;gap:14px;max-width:820px}.vault-group{margin:16px 0 4px}.vault-row{display:grid;grid-template-columns:1fr auto;gap:2px 14px;align-items:center;padding:9px 0;border-bottom:1px solid #EEF1F6}.vault-what{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.vault-do{display:flex;gap:10px;align-items:center;white-space:nowrap}.vault-row>details{grid-column:1/-1}.vault-row>details>summary,.vault-how>summary{cursor:pointer;color:#1F3A6E;font-size:12px;padding:4px 0}.vault-lack{display:block;border:1px dashed #98A2B3;border-radius:8px;padding:10px 12px;font-size:13px;color:#475569;margin:0}.vaultpub details.card>summary{cursor:pointer}.vaultpub details.card>summary h2{display:inline}
/* Alerts, published version: a dashed box means that part is not there. */
.alert-lack{display:block;border:1px dashed #98A2B3;border-radius:8px;padding:10px 12px;font-size:13px;color:#475569;margin:0}
/* Your network, published version: one column; a dashed box or pill means that part is not there. */
.netpub{display:flex;flex-direction:column;gap:14px;max-width:820px}.net-h{margin:10px 0 0}.net-lack{display:block;border:1px dashed #98A2B3;border-radius:8px;padding:10px 12px;font-size:13px;color:#475569;margin:0}.pill.pill-lack{border:1px dashed #98A2B3;background:transparent;color:#475569}.netpub details.card>summary{cursor:pointer}.netpub details.card>summary h2{display:inline}
/* Shared Fit preferences panel: presets and one native range per criterion. */
.fit-presets{margin:10px 0}.fit-pref-score{font-size:16px;font-weight:700;color:#14213D}.fit-prefs{list-style:none;padding:0;margin:10px 0 0}.fit-pref-row{display:grid;grid-template-columns:minmax(0,9em) minmax(0,1fr) 3em;gap:4px 10px;align-items:center;padding:8px 0;border-bottom:1px solid #EEF1F6}.fit-pref-row:last-child{border-bottom:0}.fit-pref-row input[type=range]{width:100%;min-width:0;min-height:24px;accent-color:#1F3A6E}.fit-pref-row output{font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.fit-pref-row .muted{grid-column:1/-1;margin-top:0;font-size:12px}.fit-pref-row.inactive label,.fit-pref-row.inactive output{color:#667085}
@media(max-width:480px){.fit-pref-row{grid-template-columns:minmax(0,1fr) 3em}.fit-pref-row input[type=range]{grid-column:1/-1;grid-row:2}}
/* Forecast, published version: signals grouped by kind; shared metadata is said once, and community-board evidence expands into cards. */
.fc-group{margin:0 0 10px}.fc-group h3{margin:12px 0 2px}.fc-row{display:grid;grid-template-columns:1fr auto;gap:2px 14px;align-items:baseline;padding:8px 0;border-bottom:1px solid #EEF1F6}.fc-what{display:flex;flex-direction:column}.fc-do{display:flex;gap:12px;align-items:baseline;white-space:nowrap}.fc-row>p,.fc-row>div[data-board-request]{grid-column:1/-1;margin:2px 0}.fc-how>summary{cursor:pointer;color:#1F3A6E;font-size:12px;padding:4px 0}
@media(max-width:650px){.fc-row{grid-template-columns:1fr}.fc-do{white-space:normal}}
/* Community-board evidence uses the same card treatment in the signal list and district dialog. */
.fc-row:has(> .board-request),
.item[data-board-row] {
  background: #fff;
  border: 1px solid #DCE2EE;
  border-radius: 12px;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}
.fc-row:has(> .board-request) {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  margin-block: 8px;
}
.fc-row:has(> .board-request) .fc-do { flex-wrap: wrap; white-space: normal; }
.fc-row:has(> .board-request) .fc-what > b,
.item[data-board-row] > b {
  color: #14213D;
  font-size: 16px;
  line-height: 1.35;
}
.board-request > .muted { margin: 6px 0; line-height: 1.5; }
.board-request-more > summary {
  min-height: 44px;
  padding: 11px 0;
  border-top: 1px solid #DCE2EE;
  color: #1F3A6E;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.board-request [data-record-role] {
  margin: 8px 0 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #F4F6FA;
  color: #14213D;
  font-size: 14px;
  line-height: 1.55;
}
.board-request [data-record-role] > b { display: block; margin-bottom: 3px; }
.board-request [data-record-source] { margin: 10px 0 0; font-size: 13px; line-height: 1.5; }
/* Agencies: a dashed mark means a record kind is not there; the list folds after six rows. */
.ag-lack{display:inline-block;border:1px dashed #98A2B3;border-radius:999px;padding:1px 9px;font-size:12px;color:#475569}.ag-lackbox{display:block;border-radius:8px;padding:10px 12px;font-size:13px}details[data-component=agency-list-more]>summary{cursor:pointer;color:#1F3A6E;font-weight:600;padding:8px 0}
.tile.picked{outline:2px solid #1F3A6E;outline-offset:1px}[data-component=agency-sites-boroughs]{margin:8px 0}[data-component=agency-sites-detail] ul{margin:6px 0 6px 18px;padding:0}[data-component=agency-sites-detail] li{margin:2px 0}
/* Workspace inline posting reader: extracted facts and lazy section text beside the draft. */
.ws-posting{display:flex;flex-direction:column;gap:10px;padding:12px;overflow-wrap:anywhere}
.ws-posting-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 10px}
.ws-posting-head>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ws-note{font-size:12px;color:#475569;line-height:1.4}
.ws-pdf-link{font-size:12px;font-weight:600;white-space:nowrap}
.ws-facts{background:#fff;border:1px solid #DCE2EE;border-radius:8px;padding:10px}
.ws-facts-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;margin-bottom:8px;font-size:12.5px}
.ws-facts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.ws-facts-na{margin-top:8px;border-top:1px solid #EEF1F6;padding-top:6px}
.ws-facts-na>summary{cursor:pointer;font-size:12px;font-weight:600;color:#475569;padding:4px 0}
.ws-facts-na .ws-facts-grid{margin-top:8px}
.ws-fact{background:#F8FAFC;border:1px solid #DCE2EE;border-radius:8px;padding:8px 10px;font-size:12px;min-width:0}
.ws-fact .ws-pdf-link{white-space:normal}
.ws-fact-top{display:flex;justify-content:space-between;align-items:flex-start;gap:6px;margin-bottom:4px}
.ws-fact-val{margin:2px 0 4px;font-weight:600;color:#14213D}
.ws-quote{margin:5px 0;padding:4px 8px;border-left:3px solid #1F3A6E;background:#fff;font-size:11.5px;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.ws-fact-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}
.ws-chip{font-size:11.5px;padding:4px 8px;border-radius:6px;border:1px solid #CBD5E1;background:#fff;color:#1F3A6E;font-weight:600;line-height:1.25}
.ws-chip:hover{background:#E6ECF8}
.ws-chip-hi{background:#FFE9DC;border-color:#FDBA74;color:#9A3412}
.ws-chip-on{background:#14213D;border-color:#14213D;color:#fff}
.ws-quote-inspect{margin:5px 0}
.ws-quote-inspect .ws-quote{white-space:pre-wrap}
.ws-quote-inspect>summary{display:inline-block;cursor:pointer}
.ws-quote-inspect[open]>summary .ws-aff-glyph{display:inline-block;transform:rotate(180deg)}
.ws-box{display:inline-block;padding:0 6px;font-size:11px;line-height:1.5;vertical-align:baseline;cursor:default}
.ws-box[data-ws-box=marked]{background:#14213D;border-color:#14213D;color:#fff}
[data-affordance-role=handoff]{border-bottom:1px dotted currentColor}
summary[data-affordance-role=inspect]{list-style:none}
summary[data-affordance-role=inspect]::-webkit-details-marker{display:none}
[data-affordance-role=inspect]:focus-visible,[data-affordance-role=handoff]:focus-visible{outline:2px solid #1F3A6E;outline-offset:2px}
.ws-reader{background:#fff;border:1px solid #DCE2EE;border-radius:8px;overflow:hidden}
.ws-reader-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 10px;background:#F4F6FA;border-bottom:1px solid #DCE2EE}
.ws-search{flex:1 1 180px;min-width:0;padding:6px 9px;border:1px solid #CBD5E1;border-radius:7px;background:#fff;font-size:12.5px}
.ws-jumps{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:7px 10px;background:#FAFBFE;border-bottom:1px solid #DCE2EE}
.ws-jump-select{max-width:100%;padding:4px 8px;border:1px solid #CBD5E1;border-radius:6px;background:#fff;font-size:12px}
.ws-pages{max-height:360px;overflow-y:auto;padding:10px}
.ws-page{border:1px solid #E2E8F0;border-radius:8px;overflow:hidden;min-width:0}
.ws-page+.ws-page{margin-top:10px}
.ws-page-hdr{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:5px 10px;background:#F8FAFC;border-bottom:1px solid #E2E8F0;font-size:11.5px;color:#475569}
.ws-page-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ws-page-caveat{background:#FFFBEB;border-bottom:1px solid #FDE68A;padding:6px 10px;font-size:12px;color:#92400E}
.ws-page-body{padding:10px 12px;white-space:pre-wrap;font-size:12.5px;line-height:1.55;color:#1E293B;overflow-wrap:anywhere}
.ws-page-body.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;line-height:1.42}
.ws-page-body mark{background:#FEF08A;color:#14213D;padding:0 2px;border-radius:2px}
.ws-pager{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;background:#F4F6FA;border-top:1px solid #DCE2EE}
.ws-pg-btn{min-height:34px;padding:0 10px;font-size:12px}
.ws-reader-status{padding:10px;font-size:12.5px;color:#475569}
@media(max-width:650px){.ws-facts-grid{grid-template-columns:1fr}.ws-pages{max-height:280px}}

.demo-watch { display: grid; gap: 10px; }
.demo-watch label { display: grid; gap: 4px; font-weight: 600; }
.demo-watch select { min-width: 0; width: 100%; padding: 8px; border: 1px solid #98A2B3; border-radius: 7px; background: #fff; color: inherit; font: inherit; }

.svc-map { display: block; width: 100%; max-width: 640px; height: auto; background: #f4f7fb; border: 1px solid #d5deea; border-radius: 8px; }
.svc-map path { stroke: #fff; stroke-width: 0.8; }
.svc-map path[data-named="false"] { fill: #d9e2f0; }
.svc-map path[data-named="true"] { fill: #1f4e79; }

/* Leave room for the title focus indicator after moving to a tour stop. */
#main h1[tabindex="-1"]{scroll-margin-block:12px}

/* Housing Demo Discover: matching notices and the category finder share the first view, including at phone width. */
.discover-first{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,0.9fr);gap:14px;align-items:start}
.discover-first>*{min-width:0}
.discover-first .row{flex-wrap:wrap}
.discover-first .searchbox .btn,.discover-first article,.discover-first h2,.discover-first h3{overflow-wrap:anywhere}
@media(max-width:650px){
  .app:has(.discover-first) .main{padding-top:12px}
  .app:has(.discover-first) .titlebar{padding-right:0}
  .app:has(.discover-first) .titlebar>p.muted:empty{display:none}
  .app:has(.discover-first) .learn-links{flex-wrap:nowrap;overflow-x:auto;max-width:100%;min-width:0;margin-top:2px}
  .app:has(.discover-first) .learn-links a{white-space:nowrap;flex:none}
  .discover-first{grid-template-columns:minmax(0,1.15fr) minmax(0,0.85fr);gap:8px}
  .discover-first>.card{padding:8px}
  .discover-first h2{font-size:13px;margin-bottom:2px}
  .discover-first h3,.discover-first h4{font-size:13px;line-height:1.15}
  .discover-first .subtle{padding:6px 8px}
  .discover-first .btn{min-height:32px;padding:2px 6px;font-size:12px;line-height:1.2}
  .discover-first .searchbox{display:contents}
  .discover-first .searchbox label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .discover-first .searchbox input{flex:1 1 auto;width:auto;border:2px solid #1F3A6E;border-radius:8px;padding:6px 8px;min-height:32px;background:#fff}
  .discover-first .searchbox .btn{order:6;white-space:normal;text-align:center}
  .discover-first .stack{gap:6px}
  .discover-first p+p{margin-top:4px}
  .discover-first .codeguide{display:flex;flex-direction:column;gap:4px}
  .discover-first .codeguide>p:first-child{order:5}
  .discover-first #guide-results{display:flex;flex-direction:column;gap:4px}
  .discover-first #guide-results:has(>[data-guide-match])>[data-guide-category]:first-of-type{
    order:-1;display:flex;flex-direction:column;gap:2px;
    >p:first-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
    .actions{order:1;margin-top:0}
    >p:not(:first-child),>details{order:2}
  }
}

/* Demo hierarchy: Guided and Preview as siblings, the active branch expanded beneath its own link. */
.demo-nav{min-width:0}
.demo-nav .u13{margin-top:10px}
.demo-branches,.demo-steps,.demo-nav .nav-top,.demo-nav .nav-children{list-style:none;margin:0;padding:0}
.demo-branch{font-weight:600}
.demo-rail .nav{padding-left:28px}
.demo-rail .nav.sub{padding-left:36px}
.demo-nav .demo-steps .nav.sub{padding-left:28px}
.demo-nav .nav-group>.u13{margin-left:28px}
[data-preview-cue]{margin:2px 10px 6px 28px;font-size:12px;line-height:1.3}
[data-preview-cue] b{display:block;color:#fff;font-size:12px}
@media(max-width:650px){
  /* Guided and Preview side by side, then the open branch's own screens as a compact rail. */
  .demo-nav{flex:1 0 100%;max-width:100%}
  .demo-nav .u13{margin:0 0 2px;line-height:1.2}
  .side:has([data-demo-nav]){gap:2px}
  .side #nav:has([data-demo-nav]){overflow:visible}
  .side:has([data-preview-cue]){padding-block:8px}
  .demo-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .demo-item{display:contents}
  .demo-branch{justify-content:center;text-align:center;white-space:normal}
  .demo-nav [data-preview-cue]{grid-column:1 / -1;order:3;margin:0;font-size:11px;line-height:1.25}
  .demo-nav [data-preview-cue] b{display:inline}
  .demo-nav .demo-rail{grid-column:1 / -1;order:4;min-width:0;max-width:100%;margin:0}
  .demo-nav .demo-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}
  .demo-nav .demo-steps .nav.sub,.demo-nav .demo-steps .nav{justify-content:center;padding:4px 2px;min-height:38px;white-space:normal;text-align:center;overflow-wrap:normal}
  .demo-nav div.demo-rail .nav-top>li,.demo-nav div.demo-rail .nav-group-list>li{display:flex;gap:5px;align-items:center}
  .demo-nav div.demo-rail .nav-children{margin-left:0}
  .demo-nav div.demo-rail{display:flex;gap:5px;overflow-x:auto;padding:6px}
  .demo-nav .demo-rail .nav,.demo-nav .demo-rail .nav.sub{padding:0 10px}
  .demo-nav .nav-group>.u13{margin:0;white-space:nowrap}
  .demo-nav div.demo-rail .nav-group{display:flex;align-items:center;gap:5px}
  .demo-nav div.demo-rail{scrollbar-width:thin;align-items:center}
  .side:has([data-demo-nav]) .brandsub{display:none}
  .side:has([data-demo-nav]) .org{padding-block:8px}
  .demo-nav .demo-branch{min-height:36px}
  .demo-nav div.demo-rail .nav{min-height:32px}
  .demo-branches{row-gap:3px}
  .side:has([data-demo-nav]) .org{margin-top:6px}
}
