/* Presentation layer: structure and evidence semantics remain in the qualified model. */
body{font-size:15px;line-height:1.5}
button,input,select,textarea{font:inherit}
.ui-icon{flex:0 0 20px;vertical-align:middle}
.nav-link{justify-content:flex-start;gap:.7rem;min-height:44px;padding:.6rem .65rem;font-size:.85rem;border-radius:4px;font-weight:400}
.nav-link .ui-icon{color:#9fc4d2}
.nav-link[aria-current=page]{background:#123a50;font-weight:600}
.nav-link[aria-current=page] .ui-icon{color:#65c7cc}
.nav-link:hover{background:#174259}
.brand-block{gap:.8rem;padding-bottom:1rem}
.brand-block strong{font-weight:600;font-size:.94rem}
.sidebar nav{gap:.15rem;margin-top:.8rem}
.sidebar-foot{font-size:.74rem}
.sidebar-close{display:none}
.topbar{min-height:68px;padding-top:.65rem;padding-bottom:.65rem}
.page-head{margin-bottom:1.1rem;gap:1rem}
.page-head h1{font-size:clamp(1.5rem,2.6vw,2.1rem);font-weight:700;line-height:1.2;letter-spacing:-.022em}
.page-head p{font-size:.94rem;line-height:1.55}
.page-head .eyebrow,.eyebrow{font-size:.7rem;letter-spacing:.075em;font-weight:600}
h2,.section h2,.section-head h2{font-size:1.06rem;font-weight:600}
.card h3,h3{font-weight:600}
.text-link,summary{font-weight:600}
.card h3 .text-link,.compact-row h3 .text-link,.theme-card h2 .text-link{text-decoration:none}
.card h3 .text-link:hover,.compact-row h3 .text-link:hover,.theme-card h2 .text-link:hover{text-decoration:underline}
.section{margin-top:1.5rem}.section .section{margin-top:0}
.section-head{margin-bottom:.65rem}
.card{padding:1rem}.card p{font-size:.86rem;line-height:1.55}
.card .kicker{font-weight:600;font-size:.69rem}
.record-fields{gap:.4rem;margin:.8rem 0}
.record-fields>div{padding-top:.5rem;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr)}
.record-fields dt{font-size:.77rem;font-weight:600}
.record-fields dd{font-size:.86rem;line-height:1.55}
.field-limitation,.field-evidence-gaps,.field-information-gap,.field-constraints-unknowns{background:#f4f7f9;padding:.55rem!important;border-left:3px solid #b8c9d2;border-top:0!important}
.compact-row{padding:.75rem 0}.compact-row p{margin:.25rem 0}
.evidence-list,.domain-list{gap:.6rem}
.evidence-card{border-radius:0;border-width:0 0 1px;padding:.85rem .5rem}
.evidence-card:first-of-type{border-top-width:1px}
.review-strip{gap:.7rem 1.5rem;padding:.8rem 0;margin-top:.75rem;font-size:.82rem}
.review-strip strong{font-size:1.15rem}
.change-list li{margin:.4rem 0}
.review-jumps{display:flex;flex-wrap:wrap;gap:.4rem 1rem;padding:.1rem 0 .5rem;border-bottom:1px solid var(--line)}
.review-jumps a{display:inline-flex;align-items:center;min-height:44px;font-size:.8rem;text-decoration:none;font-weight:600}
.review-jumps a:hover{text-decoration:underline}
.callout{border-radius:4px;padding:.85rem 1rem;font-size:.9rem}
.status{border-radius:4px;padding:.18rem .45rem;font-weight:600;font-size:.73rem;line-height:1.5}
.status.open,.status.active,.status.awaiting-evidence,.status.awaiting-review,.status.not-yet-due,.status.external-dependency,.status.outstanding{background:#edf1f4;color:#425563}
.status.in-progress{background:#eaf2f8;color:#235a84}
.status.attention,.status.overdue{background:#fff4d6;color:#795000}
.button{gap:.4rem;min-height:44px;font-weight:600;border-radius:5px;padding:.45rem .75rem}
.button.small{min-height:44px}
.button.secondary:hover,.button.ghost:hover{background:#edf5f7;border-color:#658b9d}
.button .ui-icon{width:18px;height:18px;flex-basis:18px}
input,select,textarea{border-radius:5px;min-height:44px}
.icon-button{width:44px;height:44px;border-radius:5px;cursor:pointer}
.filter-tools{display:flex;justify-content:space-between;gap:.5rem;margin:.75rem 0 .5rem}
.filter-toggle{border:0!important;background:transparent!important;padding-left:0;color:var(--navy)}
#filterCount{font-weight:400;color:var(--muted);font-size:.8rem;margin-left:.2rem}
.filter-bar{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(3,minmax(130px,1fr));gap:.5rem;padding:.6rem;margin-bottom:.5rem}
.filter-bar input,.filter-bar select{width:100%;min-width:0;font-size:.8rem}
.filter-bar.collapsed{display:none}
#partnerCount{font-size:.83rem;color:var(--muted);margin:.75rem 0}
.partner-grid{grid-template-columns:1fr;gap:0;background:white;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.partner-card{display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1.4fr) minmax(150px,.8fr);gap:1.1rem;border:0;border-bottom:1px solid var(--line);border-radius:0;align-items:start}
.partner-card:last-child{border-bottom:0}.partner-card p:first-child{margin-top:0}
.partner-position{padding-left:1rem;border-left:1px solid var(--line)}
.partner-position strong{font-size:1.1rem;color:var(--navy)}
.story-path{margin:0 0 1.2rem;padding:.65rem .85rem;background:#edf3f6;border-radius:4px;border:1px solid #dce6eb}
.story-path .eyebrow{color:#526671;font-size:.65rem;margin:0 0 .2rem}
.story-path details{margin:0}
.story-path summary{font-size:.7rem;color:#526671;padding:0;min-height:32px;font-weight:600}
.story-path details[open] summary{margin-bottom:0}
.story-path ol{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0;gap:.1rem .7rem;align-items:center}
.story-path li{display:flex;align-items:center;font-size:.76rem}
.story-path li:not(:last-child):after{content:'›';color:#647b88;margin-left:.7rem}
.story-path a{display:inline-flex;align-items:center;min-height:32px;font-weight:400;text-decoration:none}
.story-path a:hover{text-decoration:underline}
.future-label{display:inline-flex;gap:.5rem;align-items:center;font-size:.78rem;color:var(--muted)}
.update-demo{border-top:3px solid #8aaebc;margin-top:2rem}
.update-intro{display:flex;align-items:flex-start;gap:1rem;justify-content:space-between}
.update-intro>div{max-width:700px}.update-intro>.status{flex:none}
.update-notice{display:flex;gap:.65rem;padding:.8rem;background:#f0f6f8;border-left:3px solid #7399a9;color:#284d5e!important}
.update-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.85rem}
.update-actions .button{margin:0}
.recording-panel{border:1px solid var(--line);padding:1rem;border-radius:4px;background:#fafcfd}
.recording-panel h3{display:flex;gap:.5rem;align-items:center}
.elapsed output{font-variant-numeric:tabular-nums;font-size:1.2rem;color:var(--navy);margin-left:.5rem}
.draft-heading{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin-top:1rem}
.update-form{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}
.update-form label{display:grid;gap:.3rem;font-size:.8rem;font-weight:600}
.update-form label:first-child{grid-column:1/-1}
.update-form textarea{resize:vertical;padding:.6rem;border:1px solid #aebfc9;min-width:0;width:100%;color:var(--ink);background:#fff;font-weight:400}
.review-check{display:flex;align-items:center;gap:.65rem;padding:.65rem 0;font-size:.88rem;min-height:44px}
.review-check input{width:20px;min-height:20px;flex:none;accent-color:var(--blue)}
.update-message:empty{display:none}.update-message{color:var(--blue)!important}
.nav-open{overflow:hidden}
.page-shell :focus-visible,.guide :focus-visible,.skip-link:focus-visible{outline:3px solid #005a74;outline-offset:3px}
.sidebar :focus-visible{outline:3px solid #f4bf4f;outline-offset:3px}
@media(max-width:1100px){.filter-bar{grid-template-columns:1fr 1fr}.partner-card{grid-template-columns:1fr 1.3fr}.partner-position{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;border-left:0;border-top:1px solid var(--line);padding:.6rem 0 0}.partner-position p{margin:0}.update-intro{display:block}.update-intro>.status{margin-bottom:.5rem}}
@media(min-width:821px){.filter-toggle:focus-visible{outline:3px solid #f4bf4f}}
@media(max-width:820px){
 .sidebar-close{display:inline-flex;justify-self:end;background:transparent;color:white;border:1px solid #527186;min-height:44px}
 .sidebar-close:hover{background:#174259}
 .sidebar{z-index:60}.menu-backdrop{z-index:59}
 .filter-toggle{pointer-events:auto;border:1px solid #9db2c0!important;background:#fff!important;padding:.45rem .75rem;cursor:pointer}
 .filter-bar{display:none}.filter-bar.expanded{display:grid}
 .top-actions .button,.top-actions select{min-height:44px}
 .story-path a{min-height:44px}
 .story-path{padding:.6rem .75rem}
 .two-col,.theme-grid{gap:.85rem}
}
@media(max-width:520px){
 .page-head h1{font-size:1.55rem}.page-head p{font-size:.88rem}
 .story-path summary{min-height:44px;display:flex;align-items:center;gap:.4rem;font-size:.76rem}
 .story-path summary:before{content:'+';font-size:1rem}.story-path details[open] summary:before{content:'−'}
 .top-actions{grid-template-columns:minmax(0,1fr) auto}.top-actions label{display:none}
 .top-actions select{max-width:100%;font-size:16px;padding-left:.45rem;padding-right:.2rem}
 .top-actions .button{font-size:.74rem}
 .role-note{padding:.45rem .85rem}
 .partner-card{grid-template-columns:1fr;gap:.65rem}
 .partner-position{display:block}.partner-position p{margin:.25rem 0}
 .filter-bar.expanded{grid-template-columns:1fr}
 .filter-bar input,.filter-bar select,.update-form input,.update-form textarea{font-size:16px}
 .filter-tools{gap:.25rem}.filter-tools .button{font-size:.78rem;padding:.4rem .5rem}
 .filter-tools .ui-icon{display:none}
 .record-fields>div{grid-template-columns:1fr;gap:.25rem}
 .update-form{grid-template-columns:1fr}.update-form label:first-child{grid-column:auto}
 .update-actions .button{flex:1 1 auto}.update-demo{padding:.85rem}
 .review-strip{gap:.5rem;padding:.8rem 0}
 .section{margin-top:1.25rem}.story-path ol{gap:0 .5rem}.story-path li:not(:last-child):after{margin-left:.5rem}
}
