/* Required because explicit display:flex/grid rules otherwise override the browser hidden attribute. */
[hidden] { display: none !important; }
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#133047;background:#f4f7f9}*{box-sizing:border-box}body{margin:0}button,select,input,textarea{font:inherit}button{cursor:pointer;border:1px solid #ccd9e2;background:white;border-radius:9px;padding:10px 14px;color:#102f45}button:hover{background:#eaf4f5}button:focus-visible,select:focus-visible{outline:3px solid #0fa69a}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#0b807a;border-color:#0b807a;color:white}.primary:hover{background:#08716b}.top{height:64px;background:#072b4d;color:white;display:flex;align-items:center;padding:0 26px;gap:25px}.brand{font-size:23px;letter-spacing:1px}.brand span{font-size:11px;color:#76cac0;margin-left:5px}.tag{font-size:11px;letter-spacing:1px;color:#b3d3df}.top #logout{margin-left:auto;color:#072b4d}.auth{max-width:470px;margin:8vh auto;padding:30px}.auth h1{font-size:28px}.auth select{width:100%;margin:10px 0 20px}.auth button{width:100%}.sub,.hint{color:#617789;font-size:13px;line-height:1.55}.shell{display:grid;grid-template-columns:248px 1fr;min-height:calc(100vh - 64px)}.side{background:white;border-right:1px solid #dfe7ec;padding:26px 17px;display:flex;flex-direction:column;gap:5px}.side h2{font-size:12px;letter-spacing:1.5px;color:#688093;text-transform:uppercase;margin:3px 10px 17px}.side .nav{text-align:left;border:0;background:transparent;border-radius:9px;font-weight:600}.side .nav.active{background:#e3f5f2;color:#05776d}.side hr{width:100%;border:0;border-top:1px solid #e1e8ed;margin:20px 0}.side select{width:100%}.side-foot{margin-top:auto;font-size:11px;color:#8b9ea9;line-height:1.6;padding:10px}main{padding:30px min(5vw,65px);max-width:1250px;width:100%;margin:auto}.head{display:flex;justify-content:space-between;align-items:start;gap:18px}.head h1{margin:7px 0 25px;font-size:27px}.head small{color:#6b8795;text-transform:uppercase;letter-spacing:1px}.head #identity{font-size:12px;color:#637c8a}.notice{background:#fff7df;border:1px solid #e9ce7d;border-radius:9px;padding:12px 16px;font-size:13px;margin:0 0 24px;color:#5f4d21}.card{background:white;border:1px solid #dfe8ee;border-radius:13px;box-shadow:0 2px 9px #082e4a09}.pad{padding:22px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:15px}.tile{padding:20px}.tile h3{margin:8px 0;font-size:17px}.tile p{font-size:13px;color:#667e8a;line-height:1.55}.tile footer{margin-top:14px}.pill{display:inline-flex;padding:4px 9px;border-radius:20px;background:#edf2f4;color:#4d6878;font-size:11px;font-weight:700}.pill.live{background:#e1f3ee;color:#126f62}.pill.warn{background:#fdf0d7;color:#8c5a10}.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}.panel{margin-top:17px}.question{border-top:1px solid #e2eaf0;padding:15px 0}.question label{font-size:14px;font-weight:600;display:block;margin-bottom:10px}.question select{max-width:240px;width:100%}.empty{background:white;border:1px dashed #b9cbd4;border-radius:12px;padding:30px;text-align:center}.actionrow{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.muted{color:#617b89}.mono{font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere}#message{color:#106d62;min-height:24px;font-size:13px}.item{padding:14px 0;border-bottom:1px solid #e5edf2}.item:last-child{border-bottom:0}.item small{color:#667d8a}.flex{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flex-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.block{margin-top:15px}textarea{width:100%;min-height:70px;border-radius:8px;border:1px solid #c2d0d9;padding:10px}.small{font-size:12px}select{border-radius:8px;border:1px solid #c3d3dc;padding:10px;background:white;color:#153a4f}@media(max-width:780px){.shell{grid-template-columns:1fr}.side{border-right:0;border-bottom:1px solid #dfe7ec;display:block;padding:10px}.side h2,.side-foot,.side hr{display:none}.side .nav{display:inline-block;padding:8px 10px;font-size:12px}.side select{max-width:200px}.top{padding:0 12px}.tag{font-size:9px}main{padding:23px 15px}.head h1{font-size:23px}}

/* v0.40.2 guided workflow design */
:root{--caos-navy:#072b4d;--caos-teal:#087e77;--caos-border:#dce6ec;--caos-ink:#183950}
body{background:#f4f7fa;color:var(--caos-ink)}
.card{border-color:var(--caos-border);border-radius:15px;box-shadow:0 5px 24px rgba(9,43,69,.035)}
main{max-width:1440px;padding-top:34px;padding-bottom:64px}
.head h1{letter-spacing:-.025em;font-size:29px}
.side{box-shadow:4px 0 18px rgba(7,43,77,.02)}
.side .nav{padding:13px 12px}
.side .nav.active{background:#e5f4f0;color:#076f69}
.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:800;color:#5b8092;margin-bottom:8px}
.workflow-intro{padding:29px 31px;background:linear-gradient(110deg,#fff,#f0f9f8)}
.workflow-intro h2,.workflow-header h2{font-size:23px;letter-spacing:-.025em;margin:3px 0 8px}
.workflow-intro>p,.overview-item p,.lead{color:#627d8d;font-size:14px;line-height:1.7;max-width:790px}
.journey-rail{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 8px}
.journey-rail span{background:#fff;border:1px solid #d9e8e8;border-radius:9px;padding:11px 14px;font-size:12px;font-weight:650}
.journey-rail b{color:#0b8a81;margin-right:8px}
.section-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}
.section-heading h2,.section-heading h3{margin:1px 0 7px}
.section-heading p{margin:0 0 8px}
.workflow-header{background:#fff;border:1px solid var(--caos-border);padding:25px 27px 18px;border-radius:16px;margin-bottom:15px}
.flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:22px}
.flow-step{display:flex;align-items:center;gap:9px;text-align:left;border:none;background:#f2f6f7;color:#6c8593;border-radius:9px;padding:12px 10px;min-height:50px;font-size:12px;font-weight:650}
.flow-step:hover{background:#eaf6f4}
.flow-step.current{background:#e5f6f2;color:#08756e;outline:1px solid #b4e3db}
.flow-step.visited{color:#256d72}
.step-number{display:flex;align-items:center;justify-content:center;border-radius:50%;height:26px;width:26px;flex:0 0 26px;background:white;border:1px solid #d1dfe5;font-size:11px}
.flow-step.current .step-number{background:#087e77;color:white;border-color:#087e77}
.summary-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.metric{background:#fff;border:1px solid var(--caos-border);border-radius:12px;padding:17px 18px;display:flex;flex-direction:column;gap:5px}
.metric strong{font-size:25px;letter-spacing:-.05em}
.metric span{font-size:12px;color:#6a8290}
.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}
.overview-item{display:flex;gap:13px}.overview-item b{font-size:14px}.overview-item p{margin:6px 0}
.overview-icon{flex:0 0 35px;width:35px;height:35px;border:1px solid #bfe0dc;background:#eaf7f4;color:#0d8478;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}
.guidance{background:#f1f8f8;border:1px solid #d3ebe7;border-left:3px solid #0a8a81;padding:14px 18px;border-radius:9px;margin:22px 0}
.guidance p{font-size:13px;line-height:1.6;color:#587380;margin:5px 0 0}
.question-progress{background:#f4f8f9;border:1px solid #e0eaed;border-radius:11px;padding:15px 17px;margin:19px 0}
.question-progress .flex-between{font-size:13px}.progress-track{height:8px;background:#dce9ed;border-radius:9px;margin:12px 0 8px;overflow:hidden}
.progress-fill{background:#0b958b;height:100%;transition:width .22s ease;border-radius:9px}
.question-progress p{margin:8px 0 0}
.guided-question{border:0;border-top:1px solid #e2ebf0;margin:0;padding:20px 0 18px;min-width:0}
.guided-question legend{font-size:14px;font-weight:700;padding:0 0 2px;margin-bottom:11px}
.question-count{display:inline-block;font-size:11px;color:#72909b;font-weight:800;margin-right:11px}
.answer-options{display:flex;gap:9px;flex-wrap:wrap}.choice{position:relative;min-width:106px;cursor:pointer}
.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice span{display:block;text-align:center;padding:10px 17px;background:#fff;border:1px solid #cbdce4;border-radius:9px;color:#315568;font-size:13px;font-weight:650}
.choice.selected span{background:#e5f5f1;border-color:#0b8c83;color:#08796f;box-shadow:inset 0 0 0 1px #0b8c83}
.choice input:focus-visible+span{outline:3px solid #0fa69a;outline-offset:2px}.choice input:disabled+span{opacity:.65;cursor:not-allowed}
.answer-hint{color:#78909b;font-size:12px;margin:9px 0 0}
.task-row,.evidence-row,.snapshot-row,.assessment-list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #e3edf0}
.task-row>div,.evidence-row>div:first-child,.snapshot-row>div{flex:1}.task-row b,.evidence-row b{font-size:13px}
.task-row p,.evidence-row p,.snapshot-row p{margin:5px 0 0;line-height:1.55}
.task-index{width:30px;height:30px;border-radius:50%;background:#f5f7f9;border:1px solid #e0e8ec;display:flex;align-items:center;justify-content:center;font-size:12px;color:#708a99;flex-shrink:0}
.evidence-form{background:#f7fafb;border:1px solid #e2ebef;padding:18px;border-radius:12px;display:grid;gap:10px;margin:22px 0}
.evidence-form label{font-size:13px}.evidence-form select{width:100%;max-width:550px}
.evidence-form textarea{min-height:95px}.evidence-form button{justify-self:start}
.section-offset{margin-top:24px}.review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.snapshot-panel{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #e1eaf0;padding-top:19px;margin-top:23px}
.snapshot-panel h3{margin:0 0 6px}.snapshot-panel p{font-size:13px;line-height:1.6;margin:0;max-width:570px}
.snapshot-row code{font-size:11px}
.flow-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0}
.empty-inline{padding:18px 0;color:#678190;font-size:13px}
@media(max-width:1020px){.flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}}
@media(max-width:600px){.workflow-header,.workflow-intro{padding:20px}.flow-step{min-height:43px;padding:9px}.step-title{font-size:11px}.summary-metrics{gap:8px}.metric{padding:12px}.metric strong{font-size:21px}.answer-options{gap:7px}.choice{flex:1;min-width:73px}.choice span{padding:10px 8px}.snapshot-panel,.snapshot-row,.evidence-row{align-items:flex-start;flex-direction:column}.workflow-intro h2,.workflow-header h2{font-size:20px}}

/* v0.40.3: compact professional rhythm with IMS foundation */
.top{height:54px;padding:0 20px}.brand{font-size:18px}.shell{min-height:calc(100vh - 54px);grid-template-columns:216px 1fr}
.side{padding:16px 10px}.side .nav{padding:9px 10px;font-size:13px}.side h2{margin-bottom:9px}
main{padding:20px 30px 40px;max-width:1320px}.head h1{font-size:23px;margin:4px 0 14px}
.notice{padding:9px 12px;margin-bottom:14px;font-size:12px}.card{border-radius:10px}.pad{padding:18px}
.workflow-intro{padding:19px 21px}.workflow-intro h2,.workflow-header h2{font-size:19px}
.workflow-header{padding:17px 19px 12px;margin-bottom:10px}.flow-steps{margin-top:12px}.flow-step{min-height:34px;padding:7px 9px;font-size:11px}.step-number{height:20px;width:20px;flex-basis:20px}
.summary-metrics{margin-bottom:10px;gap:7px}.metric{padding:10px 12px;gap:1px}.metric strong{font-size:18px}.metric span{font-size:11px}
.guided-question{padding:13px 0 10px}.overview-grid{gap:12px;margin:13px 0}.overview-item p{font-size:12px;line-height:1.45}.choice span{padding:7px 12px}.choice{min-width:88px}
.eyebrow{font-size:9px}.evidence-form{padding:12px;gap:7px;margin:14px 0}.evidence-form textarea{min-height:65px}.section-offset{margin-top:15px}.snapshot-panel{margin-top:15px;padding-top:13px}
.ims-inline{background:#f8fafb;border:1px solid #dfe9ee;border-radius:9px;padding:13px;margin:16px 0}.ims-inline h3{font-size:15px;margin:0 0 3px}.ims-inline p{margin:0}
.policy-coverage-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e5edf1}.policy-coverage-row>div:first-child{display:flex;flex-direction:column;gap:3px}.policy-coverage-row b{font-size:13px}.policy-coverage-row button{font-size:12px;padding:6px 10px;flex-shrink:0}
.ims-editor label{display:block;font-size:12px;font-weight:700;margin:14px 0 5px}.ims-editor input{width:100%;padding:9px;border:1px solid #c6d6de;border-radius:7px}.ims-editor textarea{height:390px;line-height:1.55;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.ims-create{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.ims-create label{font-size:12px;font-weight:650}.ims-create select{min-width:220px;max-width:100%}
@media(max-width:780px){.shell{grid-template-columns:1fr}.side{padding:9px}.top{height:auto;min-height:54px}.policy-coverage-row{align-items:start}.ims-create{align-items:stretch}}

/* CAOS v0.40.4 premium product system — original visual language informed by GRC usability patterns. */
:root{--caos-navy:#112b43;--caos-teal:#127b72;--caos-border:#e3e9ed;--caos-ink:#1e3446;--caos-subtle:#f6f8fa}
body{background:#f7f8fa;color:#233b4e;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px;line-height:1.48}
.top{background:#102c47;height:55px;padding:0 24px;box-shadow:none}
.brand{font-size:17px;letter-spacing:-.015em}.brand span{font-size:10px;letter-spacing:.14em}
.tag{font-size:9px;letter-spacing:.15em;color:#b4c6d3}
.shell{grid-template-columns:218px minmax(0,1fr);min-height:calc(100vh - 55px)}
.side{background:#fff;padding:18px 12px;border-right:1px solid #e6ebef;box-shadow:none}
.side h2{color:#95a3ae;font-weight:750;font-size:10px;letter-spacing:.14em;margin:4px 11px 12px}
.side .nav{border-radius:7px;padding:9px 12px;font-size:12px;line-height:1.25;color:#40576a;margin-bottom:3px;font-weight:570;transition:background .12s}
.side .nav.active{background:#eaf5f2;color:#116f67;font-weight:750}
.side .nav:hover:not(.active){background:#f4f7f9}
.side select{width:100%;font-size:12px;min-width:0}
.side-foot{color:#91a3af;font-size:11px;line-height:1.5}
main{max-width:1440px;padding:26px 36px 60px}
.head{margin-bottom:5px}.head h1{font-size:23px;letter-spacing:-.04em;color:#153249;margin:3px 0 12px}
#identity{font-size:11px;color:#738799}
.notice{background:#fff9e9;border:1px solid #f2e6c6;color:#786541;border-radius:7px;padding:8px 12px;font-size:11px;margin-bottom:16px}
.card{background:#fff;border:1px solid #e4eaee;border-radius:10px;box-shadow:0 2px 8px rgba(16,43,69,.025)}
.card h2,.card h3{letter-spacing:-.025em;color:#19364c}
button{font-size:12px;border-radius:7px;padding:8px 12px;font-weight:650}
button.primary{background:#117a72;border-color:#117a72;color:#fff;box-shadow:none}
button.primary:hover{background:#0c6d65}
.pill{font-size:10px;letter-spacing:.01em;border-radius:7px;font-weight:700}
.premium-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #e4e9ef;background:#fff;border-radius:11px;padding:25px 28px;margin:0 0 20px}
.premium-welcome h2{font-size:24px;color:#193950;letter-spacing:-.045em;margin:3px 0 6px}
.premium-welcome p{font-size:13px;color:#748695;max-width:530px;margin:0}
.premium-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:18px}
.premium-heading h2{font-size:22px;color:#17374e;margin:3px 0 6px;letter-spacing:-.035em}
.premium-heading p{font-size:12px;color:#6f8695;max-width:700px;line-height:1.5;margin:0}
.quick-stat{display:flex;flex-direction:column;min-width:100px;align-items:flex-end}
.quick-stat strong{font-size:26px;line-height:1.2;color:#12394a}.quick-stat span{font-size:11px;color:#8293a0}
.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.toolbar input,.toolbar select,.builder-form input,.builder-form textarea{border:1px solid #d9e3e9;background:#fff;color:#26465a;border-radius:7px;font-size:12px;padding:9px 11px;outline-color:#11867d}
.toolbar input{min-width:240px;flex:1}.toolbar select{min-width:190px}
.premium-table{overflow:auto}.premium-table table{width:100%;border-collapse:collapse;table-layout:fixed}
.premium-table th{background:#fbfcfd;color:#7a8e9d;font-size:10px;letter-spacing:.06em;text-align:left;padding:13px 17px;font-weight:750;text-transform:uppercase;border-bottom:1px solid #e6ecef}
.premium-table td{padding:11px 17px;border-bottom:1px solid #eef2f4;font-size:12px;color:#526b79;vertical-align:middle}
.premium-table tr:last-child td{border-bottom:0}.premium-table td:first-child{width:40%}.premium-table td strong{display:block;color:#233d50;font-size:12px;font-weight:680}
.premium-table td small{display:block;color:#8a9ba6;font-size:10px;margin-top:2px}
.premium-table th:first-child{width:40%}.premium-table th:last-child{width:115px}.premium-table td:last-child{text-align:right}
.tiny-button{font-size:11px;padding:6px 9px;border-color:#e1e8ed;background:#fff}
.premium-doc .policy-source{white-space:pre-wrap;overflow-wrap:anywhere;background:#fbfcfd;color:#28475c;border:1px solid #e9eff2;padding:20px;font-family:inherit;font-size:12px;line-height:1.75;border-radius:8px;margin-top:18px}
.subnav{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.progress-overview{background:white;border:1px solid #e3e9ee;border-radius:10px;padding:17px 20px;margin-bottom:16px}
.progress-overview>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px}
.progress-overview strong{font-size:20px;color:#153649;letter-spacing:-.035em}.progress-overview strong small{font-weight:500;color:#7b90a0;font-size:12px}
.progress-meter{height:6px;background:#e8eff1;margin:14px 0 9px;border-radius:8px;overflow:hidden}
.progress-meter span{display:block;height:100%;background:#138c7d;border-radius:8px}
.progress-data{display:flex;gap:20px;color:#7c909d;font-size:11px}
.builder-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:14px;align-items:start}
.builder-columns .card h3{font-size:17px;margin:2px 0 7px}.builder-columns .card p{margin:5px 0 12px}
.builder-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:18px 0}
.builder-form label{font-size:11px;font-weight:700;color:#4d6675;display:flex;flex-direction:column;gap:6px}
.builder-form label:nth-child(3),.builder-form label:last-child{grid-column:1/-1}
.builder-form textarea{min-height:64px}
.builder-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.builder-summary>div{border:1px solid #edf0f3;border-radius:8px;background:#fbfcfd;padding:13px;display:flex;flex-direction:column}
.builder-summary strong{font-size:20px;color:#233f53}.builder-summary span{font-size:10px;color:#8998a2}
.builder-columns .card>button{margin:3px 6px 5px 0}
.soft-rule{border-top:1px solid #e8edf1;margin:19px 0}
.history-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #ecf0f2;font-weight:650;font-size:12px}
.history-row span small{display:block;font-size:10px;font-weight:400;color:#8b9da8}
.workflow-header{box-shadow:none}.summary-metrics{gap:8px}.metric{box-shadow:none}
[hidden]{display:none!important}
@media(max-width:1050px){.builder-columns{grid-template-columns:1fr}.premium-heading{flex-wrap:wrap}}
@media(max-width:780px){.shell{grid-template-columns:1fr}.side{padding:8px 10px;border-right:0;border-bottom:1px solid #e5ebef}.side h2,.side-foot,.side hr{display:none}.side .nav{display:inline-flex;margin-right:4px}.side select{max-width:185px}.top{height:auto;min-height:54px}.premium-welcome{padding:17px;flex-direction:column;align-items:start}main{padding:18px 14px 40px}.builder-form{grid-template-columns:1fr}.builder-form label{grid-column:1/-1}.premium-table th:nth-child(2),.premium-table td:nth-child(2){display:none}}

/* v0.40.5 compact, structured service selector */
.builder-form .services-field{grid-column:1/-1;min-width:0;display:block}
.services-field>label{font-size:11px;font-weight:750;display:block;margin-bottom:6px;color:#4d6675}
.services-field select{width:100%;border:1px solid #d9e3e9;padding:9px 11px;border-radius:7px;background:#fff;color:#254557;font:inherit}
.service-picker-heading{font-size:12px;font-weight:750;margin:14px 0 8px;color:#234252}
.service-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.service-choice{display:flex!important;align-items:center;flex-direction:row!important;gap:8px!important;padding:9px 10px;border:1px solid #e1e8ec;border-radius:7px;background:#fbfcfd;font-weight:550!important;font-size:11px!important;cursor:pointer}
.service-choice input{accent-color:#117a72;flex-shrink:0}
.service-help,.service-rule,.service-legacy{font-size:11px!important;color:#627c8a;line-height:1.5;margin:9px 0 4px!important}
.service-rule{color:#82919b}.service-legacy{padding:8px;background:#fff7e4;border-radius:6px}
@media(max-width:650px){.service-options{grid-template-columns:1fr}}

/* Premium compact agency foundation */
.setup-layout{display:grid;grid-template-columns:minmax(205px,260px) minmax(0,1fr);gap:16px;align-items:start}
.stage-link{display:flex;gap:12px;align-items:center;width:100%;padding:9px 10px;margin:2px 0;text-align:left;border:0;background:transparent;border-radius:7px;font-size:12px;color:var(--ink,#253349)}
.stage-link span{font-size:10px;opacity:.6;font-variant-numeric:tabular-nums}
.stage-link.selected{background:#e9f4f2;color:#08645f;font-weight:650}
.setup-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.org-table{border-collapse:collapse;width:100%;font-size:12px}.org-table th,.org-table td{padding:11px 9px;border-bottom:1px solid #e4e9ec;text-align:left;vertical-align:top}.org-table th{color:#64758a;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.org-table td small{display:block;color:#7c8998;margin-top:4px}.checkbox-inline{display:flex!important;gap:9px;align-items:flex-start}.checkbox-inline input{width:auto!important;margin:3px 0 0}
@media(max-width:760px){.setup-layout{grid-template-columns:1fr}.setup-layout>.card:first-child{max-height:190px;overflow:auto}}

/* v0.40 consolidated installation UX: compact, accessible administrative controls. */
.path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:13px 0 16px}
.path-choice{display:flex;flex-direction:column;gap:5px;position:relative;border:1px solid #dfe7eb;border-radius:9px;padding:16px 17px 15px 44px;background:#fafcfd;cursor:pointer}
.path-choice:has(input:checked){border-color:#2e978d;background:#f0f8f6;box-shadow:inset 0 0 0 1px #2e978d}
.path-choice input{position:absolute;left:17px;top:16px;accent-color:#117a72}
.path-choice strong{font-size:13px;color:#17354b}.path-choice small{font-size:11px;color:#677b88;line-height:1.5}
.progress-thin{height:6px;border-radius:20px;background:#ebf0f3;margin:18px 0}
.progress-thin>span{display:block;height:100%;background:#117a72;border-radius:20px;transition:width .2s}
.install-check{display:flex;align-items:center;gap:13px;border-bottom:1px solid #edf1f3;padding:13px 0;min-height:56px}
.install-check>span:first-child{font-size:19px;width:24px;flex-shrink:0;text-align:center}
.install-check .ok{color:#108475}.install-check .pending{color:#a5b2bb}
.install-check>div{flex:1;min-width:0}.install-check strong{font-size:12px;font-weight:690;color:#1a394e;display:block}
.install-check small{display:block;color:#718390;font-size:11px;line-height:1.5;margin-top:2px;overflow-wrap:anywhere}
.install-check button{padding:6px 11px;font-size:11px}
.mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;padding:13px 0}
.mapping-grid label,.builder-form label{color:#516979;font-size:12px;font-weight:650}
.mapping-grid select{display:block;width:100%;margin-top:6px}.table-scroll{overflow-x:auto;max-width:100%}
.review-document{background:#f7f9fa;border:1px solid #e5ebef;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:380px;overflow-y:auto;padding:15px;line-height:1.6;font-size:11px;color:#354f62}
input[type=file]{font-size:12px;border:1px dashed #bdcbd4;border-radius:8px;background:#f9fbfc;padding:12px;width:100%}
@media(max-width:760px){.path-grid{grid-template-columns:1fr}.install-check{flex-wrap:wrap}.install-check button{margin-left:auto}.tag{display:none}}

/* v0.40 Guided Usability Update — progressive disclosure, a single next action, calm navigation */
.side{gap:4px}.side h2{margin:1px 11px 8px}.side .nav{padding:10px 12px;font-size:12px;font-weight:620;width:100%}
.side .nav.active{background:#e9f5f2}.nav-more{margin-top:10px;border-top:1px solid #e7edf0;padding-top:8px}
.nav-more summary{list-style:none;cursor:pointer;color:#5c7586;font-size:12px;font-weight:700;padding:11px 12px;border-radius:7px;display:flex;justify-content:space-between}
.nav-more summary::-webkit-details-marker{display:none}.nav-more summary:hover{background:#f1f6f8}.nav-more[open] summary span{transform:rotate(180deg)}
.nav-more-items{display:flex;flex-direction:column;gap:2px;margin-top:2px}.scope-label{font-size:11px;font-weight:700;color:#647e8f;padding:5px 8px}
.wizard-frame{max-width:800px}.wizard-frame .card{margin-bottom:13px}.wizard-card{padding:26px 29px}
.wizard-card h3{font-size:19px;margin:6px 0 8px;letter-spacing:-.025em}.wizard-card>p{line-height:1.6}
.guided-progress{display:flex;justify-content:space-between;align-items:center;gap:14px}.guided-progress h3{margin:0;font-size:17px}
.guided-progress .eyebrow{margin:0 0 7px}.guided-current{padding:17px 0 8px}.guided-current h3{font-size:21px;margin:6px 0}
.guided-current .primary{margin-top:12px;padding:12px 20px;font-size:13px}.guided-lead{font-size:13px;color:#5d7788;line-height:1.65;margin:6px 0 8px}
.guided-hint{font-size:12px;background:#f6faf9;padding:11px 13px;border-left:3px solid #3a9389;border-radius:3px;color:#4d6d76;max-width:640px}
.guided-secondary{font-size:11px;color:#718898;line-height:1.6;margin:14px 0 0}.inline-link{padding:0;background:transparent;border:0;color:#087770;font-size:inherit;text-decoration:underline;font-weight:650}
.guided-details{margin-top:15px;border-top:1px solid #e5ebef;padding-top:14px}.guided-details>summary{cursor:pointer;list-style:none;font-weight:700;font-size:12px;color:#2f5368;display:flex;justify-content:space-between;align-items:center;gap:10px}
.guided-details>summary::-webkit-details-marker{display:none}.guided-details>summary::before{content:'＋';color:#147e74;margin-right:2px}
.guided-details[open]>summary::before{content:'−'}.guided-details>summary span{font-size:11px;color:#8497a3;font-weight:500;margin-left:auto}
.guided-steps{margin-top:12px}.guided-steps .install-check{padding:10px 0}.guided-steps .install-check button{font-size:11px}
.guided-steps .install-check>span:first-child{font-size:12px;font-weight:750;border:1px solid #e3e9ee;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}
.wizard-actions{display:flex;gap:11px;align-items:center;justify-content:space-between;margin-top:20px;flex-wrap:wrap}
.wizard-actions .primary{margin-left:auto}.guided-inner{margin-top:15px;padding-top:12px;border-top:1px solid #e4eaed}
.guided-inner>summary{cursor:pointer;font-size:12px;font-weight:650;color:#527184}
.guided-inner .wizard-card{margin-top:10px}.compact-actions{flex-wrap:wrap;justify-content:flex-start}.compact-actions button{margin:4px 4px 2px 0}
.guided-fields{grid-template-columns:1fr!important;max-width:620px;gap:15px;margin:18px 0}
.guided-fields label{grid-column:1/-1!important;font-size:12px}.guided-fields input,.guided-fields select{font-size:13px;padding:11px}
.stage-index{margin-top:24px}.guided-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:13px}
@media(max-width:780px){.side{padding:14px}.side .nav{width:auto;margin-right:4px}.nav-more{display:block}.nav-more-items{display:flex;flex-direction:row;flex-wrap:wrap}.scope-label{display:block}.wizard-frame{max-width:100%}.wizard-card{padding:18px}.guided-stage-grid{grid-template-columns:1fr}}

/* Welcoming workspace UX: home is for agency leaders, setup is a separate guided flow. */
.side{padding:22px 12px 15px;gap:3px}.side h2{margin:0 12px 9px;color:#98a5ad}
.side-group-heading{font-size:10px;letter-spacing:.11em;font-weight:780;color:#99aab4;margin:21px 12px 7px}
.nav-mark{display:inline-flex;align-items:center;justify-content:center;width:23px;flex-shrink:0;color:#7b91a0;font-size:15px}
.side .nav{display:flex;align-items:center;gap:8px;min-height:40px;line-height:1.2;text-align:left}
.side .nav.active .nav-mark{color:#0a786e}
.nav-more{margin-top:8px}.nav-more-items .nav{font-size:12px;min-height:34px;padding-left:19px}
.side-company{margin-top:auto;padding:20px 10px 0;border-top:1px solid #e7ecef}.side-company select{font-weight:620}
.side-foot{margin:7px 10px 0;padding:0 0 10px}
main.is-home .head{margin-bottom:0}main.is-home .head h1{display:none}main.is-home #crumb{font-size:10px}
main.is-home .notice{background:#f5f8fa;color:#708593;border-color:#e6ecef;font-size:10px;margin:3px 0 18px}
.home-welcome{min-height:146px;background:linear-gradient(112deg,#edf7f4 0%,#f7fafb 68%,#ffffff 100%);border:1px solid #dbece7;border-radius:14px;padding:27px 34px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.home-welcome h2{font-size:27px;letter-spacing:-.045em;margin:6px 0 7px;color:#17394c}
.home-welcome p{color:#577284;line-height:1.6;font-size:13px;margin:0;max-width:590px}
.home-eyebrow,.home-kicker{font-size:10px;font-weight:760;letter-spacing:.12em;color:#188276}
.home-welcome-mark{height:78px;width:78px;border-radius:23px;display:grid;place-items:center;background:#e1f0eb;color:#277e71;font-size:45px;opacity:.85;flex-shrink:0}
.home-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.82fr);gap:18px;align-items:start}
.home-main,.home-rail{min-width:0;display:flex;flex-direction:column;gap:16px}
.home-next{padding:23px 26px}.home-card-top{display:flex;gap:15px;align-items:center;justify-content:space-between}
.home-count{font-size:11px;color:#748d98}.home-mini-progress{height:5px;background:#eaf0f1;border-radius:12px;margin:14px 0 19px;overflow:hidden}
.home-mini-progress span{height:100%;display:block;background:#188579;border-radius:12px}
.home-next h3{font-size:20px;line-height:1.3;letter-spacing:-.035em;color:#16374a;margin:5px 0 7px}
.home-next p{color:#607a88;max-width:480px;line-height:1.6;margin:0 0 16px;font-size:13px}
.home-next .home-cta{font-size:13px;padding:11px 17px;min-width:160px;display:inline-flex;justify-content:space-between;gap:30px}
.home-next .home-subtext{font-size:11px;margin:11px 0 0;color:#8495a0}.home-active{background:#fbfefd}
.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:6px 0 10px}
.home-section-head h3{font-size:16px;color:#223f52;margin:0;letter-spacing:-.025em}
.home-text-button{font-size:12px;border:0;background:none;padding:4px 0;color:#0a7972}
.home-attention{padding:9px 22px}.home-task{display:flex;gap:13px;align-items:start;padding:14px 0;border-bottom:1px solid #e7edef}
.home-task:last-child{border-bottom:0}.home-task-dot{width:8px;height:8px;border-radius:50%;background:#56ab9c;margin-top:5px;flex-shrink:0}
.home-task strong{font-size:12px;display:block;color:#28485a}.home-task small{font-size:11px;color:#7a919c;display:block;margin-top:4px;line-height:1.5}
.home-empty{display:flex;gap:14px;align-items:center;padding:11px 0}.home-empty>span{display:grid;place-items:center;color:#08786d;background:#ecf8f4;border-radius:50%;width:32px;height:32px}
.home-empty strong{font-size:13px}.home-empty p{font-size:11px;color:#8193a0;margin:5px 0 0}
.home-overview,.home-shortcuts{padding:20px 22px}.home-rail h3{font-size:14px;margin:0 0 13px;color:#244458}
.home-metric{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #e8eef0;color:#6f8794;font-size:12px}
.home-metric:last-child{border-bottom:0}.home-metric strong{font-size:17px;color:#204157;font-variant-numeric:tabular-nums}
.home-shortcuts{display:flex;flex-direction:column}.home-shortcuts button{background:transparent;border:0;border-bottom:1px solid #edf1f3;border-radius:0;padding:11px 0;text-align:left;font-size:12px;display:flex;gap:9px;align-items:center;color:#2b5264}
.home-shortcuts button:last-child{border-bottom:0}.home-shortcuts button span{flex:1}.home-shortcuts button:hover{color:#0b7e76}
.home-note{font-size:10px;color:#879aa5;margin-top:17px}
@media(max-width:950px){.home-layout{grid-template-columns:1fr}.home-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.home-welcome-mark{height:55px;width:55px;font-size:30px}}
@media(max-width:780px){.side{gap:4px}.side-group-heading{display:none}.side-company{border:0;display:inline-flex;gap:8px;margin:6px;padding:3px;align-items:center}.side-company .scope-label{padding:0}.side .nav{width:auto;display:inline-flex;font-size:11px;min-height:35px}.side .nav .nav-mark{width:12px}.nav-more-items{flex-wrap:wrap}}
@media(max-width:550px){main{padding:17px 15px 38px}.home-welcome{padding:21px}.home-welcome-mark{display:none}.home-welcome h2{font-size:23px}.home-rail{grid-template-columns:1fr}.home-next{padding:19px}.home-card-top{flex-direction:column;align-items:start;gap:4px}}

/* Chapter-first policies: accessible, calm navigation for agency staff */
.policy-chapter-page{max-width:1050px}
.chapter-tabs{display:flex;align-items:stretch;gap:8px;border-bottom:1px solid #e0e8ed;margin:18px 0 18px}
.chapter-tabs button{border:0;background:none;border-radius:0;padding:12px 13px;color:#60798a;font-size:13px;font-weight:650;border-bottom:3px solid transparent}
.chapter-tabs button.selected,.chapter-tabs button[aria-selected="true"]{color:#117b71;border-bottom-color:#18877b}
.chapter-tabs button span{font-size:10px;font-weight:500;margin-left:6px;opacity:.75}
.chapter-search{max-width:570px;margin:12px 0 14px}.chapter-search>label{font-size:12px;font-weight:700;color:#4c6676;display:block;margin-bottom:7px}
.chapter-search-input{display:flex;align-items:center;gap:9px}.chapter-search-input input{flex:1;min-width:0;padding:11px 12px;font-size:13px}.chapter-search-input button{font-size:12px}
.chapter-count{font-size:11px;color:#6f8796;margin:17px 0 9px}
.chapter-list{display:flex;flex-direction:column;gap:9px;margin:10px 0 17px}
.chapter-group{border:1px solid #e0e7eb;background:#fff;border-radius:10px;overflow:hidden}
.chapter-group>summary{list-style:none;display:flex;align-items:center;gap:16px;padding:18px 20px;cursor:pointer;min-height:66px;user-select:none}
.chapter-group>summary::-webkit-details-marker{display:none}
.chapter-group>summary:hover{background:#f7faf9}.chapter-group[open]>summary{background:#f3f9f7;border-bottom:1px solid #dfeae5}
.chapter-group>summary:focus-visible{outline:3px solid #4a9c94;outline-offset:-3px}
.chapter-number{color:#0f8177;background:#eaf5f2;border-radius:8px;width:35px;height:35px;display:grid;place-items:center;font-size:11px;font-weight:800;flex-shrink:0}
.chapter-summary-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.chapter-summary-text strong{font-size:14px;font-weight:700;color:#193b4f;letter-spacing:-.01em}
.chapter-summary-text small{color:#8297a3;font-size:11px}
.chapter-expand{font-size:20px;font-weight:400;color:#6e8995;transition:transform .15s}.chapter-group[open] .chapter-expand{transform:rotate(180deg)}
.chapter-contents{padding:2px 20px 10px 70px}
.chapter-policy{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #edf1f3;padding:12px 0}
.chapter-policy:last-child{border-bottom:none}.chapter-policy>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.chapter-policy strong{font-size:12px;font-weight:650;color:#284b5e}.chapter-policy small{font-size:10px;color:#8095a0;overflow-wrap:anywhere}
.chapter-policy button{font-size:11px;white-space:nowrap;flex-shrink:0}
.chapter-edit-label{color:#5a7683;font-size:10px;min-width:185px}.chapter-edit-label input{margin-top:4px;font-size:11px;min-width:165px;width:100%}
.chapter-save-actions{display:flex;gap:12px;align-items:center;margin:10px 0 20px;flex-wrap:wrap}
@media(max-width:700px){.chapter-tabs{gap:1px}.chapter-tabs button{font-size:11px;padding:10px 8px}.chapter-tabs button span{display:none}.chapter-group>summary{padding:15px 11px;gap:10px}.chapter-contents{padding:2px 12px 10px 14px}.chapter-policy{flex-wrap:wrap}.chapter-policy button{margin-left:auto}.chapter-search-input{flex-wrap:wrap}.chapter-search-input input{flex-basis:100%}}

/* v0.40 grouped navigation: concise topic sections, desktop rail, mobile drawer. */
.top .sidebar-toggle{padding:4px 7px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #3b5469;border-radius:7px;background:transparent;color:#e7f0f5;flex-shrink:0;font-size:18px;line-height:1}
.top .sidebar-toggle:hover{background:#20445e}
.shell{grid-template-columns:242px minmax(0,1fr)}
.side{gap:3px;padding:17px 12px 14px;min-width:0;overflow-x:hidden}
.side-header{display:flex;align-items:center;justify-content:space-between;min-height:28px;padding:0 13px 7px}
.side-header-title{font-size:10px;letter-spacing:.14em;color:#8ca0ab;font-weight:750}
.side-close{display:none}
.side-divider{border-top:1px solid #e8edf0;margin:9px 8px 8px}
.side .nav{display:flex;gap:9px;align-items:center;text-align:left;border:0;background:transparent;color:#435d6b;border-radius:7px;font-size:12px;padding:10px 12px;font-weight:580;width:100%;min-height:37px;margin:0}
.side .nav:hover{background:#f1f6f7}
.side .nav.active{background:#e7f4ef;color:#08766b;font-weight:760}
.side .nav-primary{font-weight:670}
.side .nav-mark{font-size:17px;width:23px;text-align:center;color:#7e94a2}
.side .nav.active .nav-mark,.side-group.has-active .group-toggle .nav-mark{color:#147f72}
.side-group{padding:0;margin:2px 0;border-radius:9px;min-width:0}
.side-group .group-toggle{display:flex;width:100%;align-items:center;gap:9px;text-align:left;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:#3a5364;min-height:41px;font-size:12px;font-weight:710}
.side-group .group-toggle:hover{background:#f3f7f8}
.side-group.has-active>.group-toggle{color:#087568}
.group-name,.nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.group-name{flex:1}
.group-caret{color:#8da2af;font-size:16px;transform:rotate(0deg);transition:transform .15s ease}
.side-group.expanded>.group-toggle .group-caret{transform:rotate(180deg)}
.side-group .group-links{border-left:1px solid #dfe8e9;margin:1px 0 7px 25px;padding:2px 0 2px 10px;display:flex;flex-direction:column;gap:1px}
.side-group .group-links[hidden]{display:none!important}
.side-group .group-links .nav{padding:8px 10px;min-height:32px;font-size:11.5px;line-height:1.35}
.side-company{margin-top:auto;padding-top:17px}
.side-foot{margin:5px 10px 0;padding-bottom:9px}
.nav-scrim{display:none}
/* Compact mode keeps top-level topics available; clicking any topic reopens its links. */
body.nav-collapsed .shell{grid-template-columns:67px minmax(0,1fr)}
body.nav-collapsed .side{padding:15px 8px;gap:6px}
body.nav-collapsed .side-header-title,body.nav-collapsed .side-divider,body.nav-collapsed .side .nav-label,body.nav-collapsed .side .group-name,body.nav-collapsed .side .group-caret,body.nav-collapsed .side .group-links,body.nav-collapsed .side-company,body.nav-collapsed .side-foot{display:none!important}
body.nav-collapsed .side-header{min-height:17px;padding:0}
body.nav-collapsed .side .nav-primary,body.nav-collapsed .side-group .group-toggle{justify-content:center;padding:8px;min-height:42px}
body.nav-collapsed .side .nav-mark{width:28px}
body.nav-collapsed .side-group.has-active .group-toggle{background:#e7f4ef;color:#08766b}
body.nav-collapsed .side .nav-primary.active{background:#e7f4ef}
/* Mobile: menu button opens a temporary drawer instead of reducing content width. */
@media(max-width:780px){
 .shell,body.nav-collapsed .shell{display:block;grid-template-columns:none}
 .side,body.nav-collapsed .side{position:fixed;display:flex;flex-direction:column;top:55px;bottom:0;left:0;width:min(306px,86vw);padding:17px 13px;overflow-y:auto;overflow-x:hidden;z-index:51;box-shadow:7px 0 22px #112b4330;transform:translateX(-105%);transition:transform .19s ease;border-right:1px solid #dce5e9;background:#fff}
 body.nav-open .side{transform:translateX(0)}
 .side-header-title{display:block}.side-close{display:block;font-size:21px;border:none;background:transparent;padding:0 6px;line-height:1.2}
 .side .nav,.side-group .group-toggle{width:100%;display:flex;min-height:38px;font-size:12px;margin-right:0}
 .side .nav .nav-mark{width:23px}
 .side .group-links{display:flex;flex-direction:column;flex-wrap:nowrap}
 .side-company{display:block;align-items:stretch;margin-top:auto;border-top:1px solid #e7ecef;padding-top:15px}
 .side-company .scope-label{display:block}
 .nav-scrim:not([hidden]){display:block;position:fixed;inset:55px 0 0 0;border:0;border-radius:0;background:#102c4755;z-index:50;padding:0}
 .top{height:55px;min-height:55px}
}
@media(prefers-reduced-motion:reduce){.side,.group-caret{transition:none!important}}

/* v0.40.9 synthetic portfolio and staff records */
.demo-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.demo-stat-grid>.card{min-height:128px}.demo-stat-number{font-size:28px;line-height:1.2;font-weight:750;color:#17374b;margin-top:11px}
.demo-branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.demo-branch-card{display:flex;align-items:flex-start;gap:5px;flex-direction:column;text-align:left;padding:15px;border:1px solid #dce5e9;border-radius:10px;background:#fbfdfe;min-height:108px}
.demo-branch-card:hover,.demo-branch-card.selected{border-color:#14978c;background:#eef8f5}.demo-branch-card strong{font-size:13px;color:#18364b}
.demo-branch-card span,.demo-branch-card small{font-size:11px;color:#607a8e}
.demo-filter-label{width:230px;font-size:11px}.demo-filter-label select{margin-top:4px}
.demo-page-row,.demo-doc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.demo-doc-row{border-bottom:1px solid #e5eaee}.demo-doc-row small{display:block;color:#688094;margin-top:4px}
.demo-company-list{display:flex;flex-wrap:wrap;gap:8px}.demo-document{margin-top:20px;padding:17px;background:#f5f8fa;border:1px solid #e1e9ed;border-radius:8px}.demo-document pre{white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.5}
.demo-official-row{display:flex;gap:10px;align-items:center}.demo-official-row input{flex:1;min-width:0}
@media(max-width:1000px){.demo-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.demo-branch-grid,.demo-stat-grid{grid-template-columns:1fr}.demo-official-row{flex-direction:column;align-items:stretch}.demo-filter-label{width:100%}}

/* v0.40.10 – fictional biographies and representative generated staff portraits */
.staff-name-cell{display:flex;align-items:center;gap:10px;min-width:170px}.staff-name-cell strong{display:block}.staff-name-cell small{display:block;margin-top:2px}
.staff-portrait{height:39px;width:39px;min-width:39px;border-radius:50%;object-fit:cover;border:2px solid white;box-shadow:0 0 0 1px #dce8ec;background:#e2efeb;display:inline-flex;align-items:center;justify-content:center;color:#216a64;font-size:13px;font-weight:750}
.staff-portrait.large{height:112px;width:112px;min-width:112px;border-radius:20px;box-shadow:0 5px 18px #132c4130}
.staff-profile-hero{display:flex;align-items:center;gap:20px;margin:20px 0;padding:19px;background:linear-gradient(115deg,#f0faf7,#f8fafb);border-radius:12px;border:1px solid #dfece8}
.staff-profile-intro h3{font-size:24px;margin:5px 0}.staff-profile-intro .staff-role{margin:5px 0 6px;color:#426778;font-size:14px}
.staff-biography{max-width:760px}.staff-biography h3{font-size:17px;margin:20px 0 8px}.staff-biography p{font-size:14px;line-height:1.8;color:#3e5b6b;margin:0 0 18px}
.staff-bio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 22px}
.staff-bio-grid>div{background:#f7fafb;border:1px solid #e2eaee;border-radius:10px;padding:12px;min-width:0}.staff-bio-grid span{display:block;color:#718a9a;font-size:10px;text-transform:uppercase;letter-spacing:.07em;margin-bottom:6px}.staff-bio-grid strong{font-size:13px;line-height:1.45;color:#17394d}
.staff-profile-metrics{border-top:1px solid #e6ecf0;padding-top:10px}.staff-portrait-disclosure{background:#f7f9fa;border-left:3px solid #91b4ae;padding:11px 13px;border-radius:4px}
.home-team-card{padding:20px 22px}.home-team-card .section-heading{margin-bottom:13px}.home-team-card h3{font-size:16px}.home-team-row{display:flex;gap:14px;justify-content:space-between;max-width:320px}.home-team-member{display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0}.home-team-member span{font-size:11px;color:#436476;max-width:66px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-foot span,.side-foot small{display:block}.side-foot strong{color:#1c786d}.side-foot small{font-size:10px;color:#879aa8;margin-top:5px}
@media(max-width:650px){.staff-bio-grid{grid-template-columns:1fr}.staff-profile-hero{align-items:flex-start;gap:13px}.staff-portrait.large{width:86px;min-width:86px;height:86px}.staff-profile-intro h3{font-size:20px}}
/* CAOS 0.40.11: survey readiness starts as one action and prioritizes evidence-backed gaps. */
.preflight-page{display:grid;gap:16px}
.preflight-header{padding:23px 27px;display:flex;align-items:center;justify-content:space-between;gap:27px;background:linear-gradient(115deg,#ecf8f5,#fff 64%)}
.preflight-header h2{font-size:24px;margin:5px 0 5px;color:#16394e;letter-spacing:-.045em}
.preflight-header p{color:#536c7d;font-size:13px;line-height:1.5;max-width:690px;margin:0}
.preflight-sources{margin-top:12px;font-size:10px;color:#638393}.preflight-sources a{color:#087b70;text-decoration:none;font-weight:700}
.preflight-header-actions{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0}
.preflight-run{font-size:14px;padding:13px 25px;white-space:nowrap}
.preflight-header-actions .small{font-size:10px}
.preflight-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:2px}
.preflight-meta>div{display:flex;flex-wrap:wrap;gap:10px;align-items:baseline}
.preflight-meta strong{color:#1b4056;font-size:13px}.preflight-meta span{color:#708697;font-size:11px}
.preflight-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.preflight-stat{background:#fff;border:1px solid #dce7ec;border-radius:10px;padding:13px 16px;text-align:left;display:flex;flex-direction:column;gap:4px;min-height:82px}
.preflight-stat strong{font-size:28px;color:#173d53;line-height:1.1;letter-spacing:-.04em}
.preflight-stat span{font-size:11px;color:#617c8c}.preflight-stat.selected{border-color:#0b8d81;background:#eff9f6;box-shadow:0 0 0 1px #0b8d81}
.preflight-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:7px}
.preflight-results-toolbar h3{font-size:17px;margin:0;color:#1b3b51}.preflight-results-toolbar p{margin:3px 0 0;font-size:11px;color:#7a8d9a}
.preflight-toolbar-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.preflight-toolbar-actions button{white-space:nowrap}
.preflight-toolbar-actions .filter-selected{background:#eff8f5;color:#08766b}
.preflight-findings{display:grid;gap:9px}.preflight-finding{background:#fff;border:1px solid #e1e8ee;border-radius:9px;display:flex;gap:20px;align-items:center;padding:15px 19px;border-left:4px solid #d5e0e5}
.preflight-finding.gap{border-left-color:#c5803d}.preflight-finding.verify{border-left-color:#c8a049}.preflight-finding.present{border-left-color:#168c7b}
.preflight-finding-main{flex:1;min-width:0}.preflight-finding-top{display:flex;gap:9px;align-items:center;margin-bottom:5px}
.preflight-pill{font-size:10px;padding:3px 7px;border-radius:5px;background:#eef1f5;color:#5d7282;font-weight:730;white-space:nowrap}
.preflight-pill.gap{background:#fff0df;color:#945318}.preflight-pill.verify{background:#fff7e2;color:#89600c}.preflight-pill.present{background:#e5f5f0;color:#157467}.preflight-pill.unknown{background:#eaf0f5;color:#697c92}
.preflight-category{font-size:10px;color:#8295a2;text-transform:capitalize}
.preflight-finding h4{font-size:13px;color:#183a4f;margin:0 0 5px}.preflight-finding p{font-size:11px;color:#597482;margin:0 0 5px;line-height:1.5}
.preflight-finding details{margin-top:7px}.preflight-finding summary{font-size:10px;color:#0c746d;cursor:pointer;font-weight:650}.preflight-finding details p{margin-top:7px}
.preflight-citation{color:#315165!important}.preflight-finding-cta{width:165px;flex-shrink:0;display:flex;align-items:stretch;gap:7px;flex-direction:column}
.preflight-finding-cta button{font-size:11px}.preflight-state{font-size:10px;color:#7b8c9a;text-align:center}
.preflight-bottom-note{padding:12px 15px;background:#f2f6f8;border:1px solid #dee9ed;border-radius:7px;color:#627e8c;font-size:11px}
.preflight-history{background:#fff;border:1px solid #dfe9ee;border-radius:9px;padding:15px 20px;font-size:12px}
.preflight-history summary{cursor:pointer;font-weight:700;color:#274d60}.preflight-history-rows{margin-top:12px}
.preflight-history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e8eef1;font-size:11px;color:#587384}
.preflight-old-history{margin-top:20px}.preflight-first-run{padding:30px}.preflight-first-run h3{margin:0 0 8px}
@media(max-width:970px){.preflight-header,.preflight-results-toolbar{align-items:flex-start;flex-direction:column}.preflight-header-actions{align-items:flex-start}.preflight-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.preflight-finding{flex-direction:column;align-items:stretch}.preflight-finding-cta{width:auto}.preflight-results-toolbar h3{font-size:15px}.preflight-header h2{font-size:21px}}

/* v0.40.11 pilot summary: never displayed as a CMS approval. */
.preflight-verdict{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 18px;border-radius:9px;border:1px solid #c7d9db;background:#f6fafb}
.preflight-verdict.clear{border-color:#a9d5c9;background:#ecf8f3}
.preflight-verdict.attention{border-color:#ebce9f;background:#fff8ed}
.preflight-verdict.verify{border-color:#e4d9ab;background:#fffcf0}
.preflight-verdict strong{display:block;color:#173d51;font-size:14px;margin-bottom:3px}
.preflight-verdict p{margin:0;font-size:11px;color:#587484}
.preflight-verdict>span{font-size:11px;color:#456474;white-space:nowrap}
@media(max-width:720px){.preflight-verdict{align-items:flex-start;flex-direction:column}.preflight-verdict>span{white-space:normal}}
