:root{color-scheme:dark;--bg:#111014;--panel:#1a181f;--panel2:#211e29;--line:#34303e;--text:#f4f1f8;--muted:#b9b2c8;--violet:#b198ee;--green:#8bdbb0;--amber:#eac27b;--red:#ef9aab;font-family:Inter,Segoe UI,system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 0,rgba(110,76,184,.15),transparent 45%),var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer;background:var(--panel2);border:1px solid var(--line);color:var(--text);padding:10px 16px;border-radius:9px;min-height:42px;transition:background .15s,border-color .15s}button:hover{background:#302a3d;border-color:#87749e}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--violet);outline-offset:3px}button:disabled{cursor:default;opacity:.5}.primary{background:#b297ed;color:#171023;border-color:#b297ed;font-weight:650}.primary:hover{background:#c6aff5}header{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);padding:22px max(28px,calc((100vw - 1380px)/2));background:#15121ba8}.brand{font-size:26px;letter-spacing:-1px;font-weight:900;color:var(--violet);white-space:nowrap}.brand span{font-weight:650;color:var(--text);font-size:22px}.brand sup{font-size:9px;vertical-align:top;letter-spacing:0}.edition{font-size:11px;letter-spacing:2px;color:var(--muted);line-height:1.8}.edition b{display:inline-block;border:1px solid #6b567e;padding:1px 6px;color:var(--violet);border-radius:4px}.owner{margin-left:auto;font-size:13px;font-weight:600;text-align:right}.owner span{display:block;font-size:11px;color:var(--muted);margin-top:4px;font-weight:400}main{max-width:1380px;margin:auto;padding:34px 28px}.hero{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--violet);font-weight:700;margin:0 0 12px}h1{font-size:clamp(25px,3vw,39px);font-weight:600;letter-spacing:-1.1px;line-height:1.15;margin:0}.lead{font-size:14px;color:var(--muted);line-height:1.6}.authority{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:22px 0 18px;color:#cec4dd;font-size:10px;letter-spacing:1.1px;font-weight:600}.authority i{color:#665977;font-style:normal}.connection{display:flex;align-items:center;gap:12px;padding:15px 18px;background:#28221c66;border:1px solid #705b3b66;border-radius:11px;margin-bottom:28px;font-size:13px;line-height:1.5}.connection.ready{background:#1d332566;border-color:#59846b66}.connection strong{color:var(--amber);white-space:nowrap}.connection.ready strong{color:var(--green)}.connection span{color:var(--muted)}.connection details{margin-left:auto}.connection summary{cursor:pointer;color:var(--muted);white-space:nowrap}.connection details p{max-width:500px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px}.section-title p{font-size:12px;color:var(--muted)}.staff-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:8px 0 28px}.staff-card{text-align:left;background:linear-gradient(155deg,#211d2a,#19161e);padding:19px;min-height:178px;display:flex;flex-direction:column;align-items:flex-start;border-color:#3b3249}.staff-id{font-size:11px;color:var(--violet);font-weight:800;letter-spacing:1.5px}.staff-card h3{font-size:16px;font-weight:600;margin:11px 0 7px}.staff-card p{font-size:11px;line-height:1.6;color:var(--muted);margin:0;flex:1}.staff-card .small{margin-top:17px;color:#d3c4ee;font-size:10px}.staff-card.operations{border-top:2px solid #ba9bea}nav{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow:auto}nav button{border:0;border-radius:0;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap;padding:14px 17px;border-bottom:2px solid transparent}nav button[aria-selected=true]{color:var(--text);border-bottom-color:var(--violet)}nav span{color:var(--violet);font-size:10px;margin-left:4px}.empty{padding:40px 24px;background:var(--panel);border:1px dashed var(--line);border-radius:12px}.empty h3{font-weight:500;margin:0 0 10px}.empty p{font-size:13px;color:var(--muted);max-width:640px;line-height:1.7}.mission{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:15px}.mission-top{display:flex;align-items:flex-start;gap:15px;justify-content:space-between}.mission h3{font-size:17px;margin:0 0 8px;font-weight:600}.mission .intent{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.mission .end-state{font-size:12px;line-height:1.6;color:#d1c3e6;padding-top:8px}.priority{font-size:10px;letter-spacing:1px;color:var(--violet);white-space:nowrap}.order{display:grid;grid-template-columns:40px 1fr 135px 120px;gap:14px;align-items:center;border-top:1px solid var(--line);padding:15px 0}.order:first-of-type{margin-top:16px}.order-role{color:var(--violet);font-size:13px;font-weight:700}.order-title{font-size:13px;line-height:1.5}.order-blocker{display:block;font-size:11px;color:var(--amber);margin-top:5px}.order button{font-size:11px;padding:7px 10px}.badge{font-size:10px;padding:5px 8px;border-radius:5px;color:var(--muted);background:#312a3b;width:fit-content;white-space:nowrap}.badge.running{color:var(--violet);background:#3b2858}.badge.needs_review,.badge.rework{color:var(--amber);background:#3f3421}.badge.complete,.badge.accepted{color:var(--green);background:#24392f}.badge.blocked,.badge.failed,.badge.interrupted{color:var(--red);background:#402832}.report,.estimate{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:20px;margin-bottom:12px}.report-head{display:flex;gap:12px;align-items:center;justify-content:space-between}.report h3,.estimate h3{font-size:15px;margin:0 0 8px}.report p,.estimate p,.estimate li{color:var(--muted);font-size:13px;line-height:1.6;white-space:pre-wrap}.report a{color:var(--violet);font-size:12px;display:inline-block;margin:10px 20px 0 0}.report button{margin-top:13px;font-size:12px}.estimate strong{font-size:12px;display:block;margin-top:15px}.estimate ul{padding-left:18px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.small-note{color:var(--muted);font-size:12px;line-height:1.7}.project{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:18px}.project h3{font-size:15px;margin:0 0 10px}.project p{color:var(--muted);font-size:12px;line-height:1.7;white-space:pre-wrap}.project details{font-size:12px;color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:var(--muted);font-size:11px;font-weight:500}td,th{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}td{line-height:1.7}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px}footer{border-top:1px solid var(--line);margin-top:40px;padding:20px 0;display:flex;justify-content:space-between;gap:18px;font-size:11px;color:var(--muted)}footer strong{color:#d5c4ed;font-weight:500}footer span{text-align:right}dialog{background:#1c1823;color:var(--text);border:1px solid #615073;border-radius:14px;width:min(730px,calc(100vw - 24px));padding:24px;max-height:90vh}dialog::backdrop{background:#09070bbd;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-size:20px}.dialog-heading button{font-size:23px;background:transparent;border:0;padding:0 8px}label{font-size:12px;color:var(--muted);display:block;margin-top:17px}input,textarea,select{width:100%;background:#110e17;border:1px solid #493c59;color:var(--text);border-radius:8px;padding:11px;margin-top:7px}textarea{resize:vertical;min-height:92px;font-size:13px;line-height:1.6}.large-text{min-height:215px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check{display:flex;gap:10px;align-items:center;margin-top:12px}.check input{width:18px;margin:0}.assignment{margin:12px 0;padding:14px;border:1px solid var(--line);border-radius:8px}.assignment textarea{min-height:75px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.error{color:var(--red);font-size:12px;line-height:1.6}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#342742;border:1px solid #7c669b;border-radius:10px;padding:13px 20px;font-size:13px;max-width:90vw;box-shadow:0 10px 40px #0008;display:none}pre{white-space:pre-wrap;word-break:break-word;font-size:11px;color:var(--muted);line-height:1.7}summary{cursor:pointer}time{font-size:11px;color:var(--muted)}
@media(max-width:1000px){.staff-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.connection{flex-wrap:wrap}.connection details{margin-left:0}.order{grid-template-columns:35px 1fr 115px}.order button{grid-column:2/4;justify-self:start}.hero{align-items:flex-start}.owner{display:none}}
@media(max-width:620px){header{padding:17px 18px;gap:16px}.brand{font-size:22px}.brand span{font-size:18px}.edition{font-size:9px;letter-spacing:1px}main{padding:26px 17px}.hero{display:block}.hero>.primary{margin-top:8px}.authority{gap:8px;font-size:9px;line-height:1.7}.authority i{display:none}.section-title{display:block}.section-title p{line-height:1.6}.staff-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.staff-card{min-height:170px;padding:15px}.staff-card.operations{grid-column:1/-1;min-height:140px;grid-row:1}.connection{font-size:12px}.connection strong{white-space:normal}.order{grid-template-columns:30px 1fr}.order .badge{grid-column:2}.order button{grid-column:2}.grid,.field-grid{grid-template-columns:1fr}.mission{padding:17px}.report-head{flex-wrap:wrap}footer{display:block}footer span{display:block;text-align:left;margin-top:10px;line-height:1.7}dialog{padding:18px}nav button{padding:13px 10px;font-size:11px}}

.project-selector{display:flex;gap:8px;overflow:auto;padding-bottom:14px}.project-selector button{white-space:nowrap;font-size:12px}.project-selector button[aria-pressed=true]{border-color:var(--violet);color:var(--violet)}.milestone-path{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.project a{color:var(--violet);font-size:12px}.project button{font-size:12px;margin-top:8px}#view>.project{margin-bottom:12px}

#project-live-status{position:sticky;top:0;z-index:40;background:#20192bf7;backdrop-filter:blur(8px);border-bottom:2px solid var(--violet);padding:12px max(20px,calc((100vw - 1380px)/2));display:grid;grid-template-columns:minmax(180px,1fr) minmax(230px,1fr) minmax(250px,1.3fr);gap:16px;box-shadow:0 6px 25px #0005;font-size:12px}#project-live-status strong{color:var(--violet);font-size:15px}.live-project,.live-progress{display:flex;flex-direction:column;gap:4px}.live-progress small{color:var(--muted);font-size:10px}.live-next{display:flex;gap:12px;align-items:center}.live-next>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.6}.live-next button{font-size:11px;min-width:105px;padding:7px 10px}#project-live-status[data-stale=true]{border-color:var(--amber)}#project-live-status[data-stale=true] small{color:var(--amber)}@media(max-width:750px){#project-live-status{grid-template-columns:1fr 1fr;padding:10px 16px;gap:8px}.live-next{grid-column:1/-1}.live-next>span{flex:1}}

[hidden]{display:none!important}.dashboard-summary{display:grid;grid-template-columns:.65fr 1fr 1fr;gap:14px}.dashboard-number{font-size:34px!important;font-weight:650;color:var(--violet)!important;margin:10px 0!important}@media(max-width:750px){.dashboard-summary{grid-template-columns:1fr}}

body[data-view="dashboard"] .hero,body[data-view="dashboard"] .authority{display:none}body[data-view="dashboard"] header{padding-top:12px;padding-bottom:12px}body[data-view="dashboard"] main{padding-top:12px}body[data-view="dashboard"] .connection{margin-bottom:12px;padding:9px 14px}body[data-view="dashboard"] .staff-grid{margin-bottom:14px}body[data-view="dashboard"] .staff-card{min-height:140px;padding:14px}body[data-view="dashboard"] .staff-card .small{margin-top:9px}body[data-view="dashboard"] #dashboard-staff h2{margin:8px 0}

body[data-view="staff"] .hero,body[data-view="task"] .hero,body[data-view="staff"] .authority,body[data-view="task"] .authority{display:none}body[data-view="staff"] header,body[data-view="task"] header{padding-top:12px;padding-bottom:12px}body[data-view="staff"] main,body[data-view="task"] main{padding-top:12px}body[data-view="staff"] .connection,body[data-view="task"] .connection{margin-bottom:12px;padding:9px 14px}

/* Executive opening view: answer first; detail remains a click away. */
#project-live-status{display:flex;justify-content:space-between;align-items:center;padding-top:9px;padding-bottom:9px;gap:12px;min-height:54px}.status-identity,.status-freshness{display:flex;align-items:center;gap:16px}.status-freshness{color:var(--muted);font-size:11px}.status-freshness button{min-height:32px;padding:5px 12px;font-size:11px}.signal{display:inline-flex;align-items:center;gap:8px;font-size:12px;padding:7px 11px;border:1px solid var(--line);border-radius:30px;white-space:nowrap}.signal:before{content:'';height:7px;width:7px;border-radius:50%;background:currentColor}.signal.amber{color:var(--amber);background:#3b3020}.signal.green{color:var(--green);background:#20352a}.signal.red{color:var(--red);background:#38212b}.signal.violet{color:var(--violet)}
body[data-view="dashboard"] main{display:flex;flex-direction:column;padding-top:22px}body[data-view="dashboard"] #view{order:0}body[data-view="dashboard"] #dashboard-staff{order:1}body[data-view="dashboard"] nav{order:2;margin-top:14px}body[data-view="dashboard"] nav button:not([data-tab="projects"]){display:none}body[data-view="dashboard"] nav:before{content:'More detail';font-size:11px;color:var(--muted);align-self:center;padding-right:14px}body[data-view="dashboard"] footer{order:3;margin-top:12px}body[data-view="dashboard"] #connection,body[data-view="dashboard"] #provenance{display:none}body[data-view="dashboard"] #dashboard-staff{margin-top:24px}body[data-view="dashboard"] .staff-card{min-height:112px;padding:15px;gap:0}body[data-view="dashboard"] .staff-card h3{margin:9px 0;font-size:18px}body[data-view="dashboard"] .staff-card .small{margin-top:auto}.tile-state:before{content:'●';margin-right:6px}.tile-state[data-state="reviewed"]{color:var(--green)}.tile-state[data-state="assigned"],.tile-state[data-state="review"]{color:var(--amber)}.tile-state[data-state="blocked"]{color:var(--red)}
.executive-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.executive-heading .eyebrow{margin:0 0 6px;font-size:10px}.executive-heading h1{font-size:32px}.executive-grid{display:grid;grid-template-columns:.85fr 1.25fr 1fr;gap:14px}.executive-card{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:22px;background:var(--panel);min-height:190px;border-radius:13px}.executive-label{font-size:10px;letter-spacing:1.5px;color:var(--muted)}.executive-card>strong{font-size:22px;font-weight:550;line-height:1.3;max-width:100%}.executive-card .executive-number{font-size:42px;line-height:1;color:var(--violet)}.executive-number small{font-size:22px;color:var(--muted)}.executive-caption{font-size:11px;color:var(--muted);margin-top:auto}.executive-card.attention{border-top:2px solid var(--amber)}.executive-card.attention>strong{color:var(--amber)}.milestone-segments{display:flex;gap:5px;width:100%}.milestone-segments>span{height:5px;background:var(--line);border-radius:3px;flex:1}.milestone-segments .verified{background:var(--green)}.milestone-segments .active{background:var(--violet)}.executive-next{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:15px;padding:12px 16px;border:1px solid var(--line);border-radius:9px;font-size:13px}.executive-next b{font-size:10px;letter-spacing:1px;color:var(--violet);margin-right:14px}.executive-next button{font-size:12px;min-height:34px;padding:5px 12px}@media(max-width:700px){.executive-grid{grid-template-columns:1fr}.executive-card{min-height:140px}.status-freshness>span{display:none}.status-identity{gap:8px}.executive-heading h1{font-size:27px}.executive-heading>.signal{display:none}.executive-next{align-items:flex-start}.executive-next>span{line-height:1.7}}

body[data-view="situation"] .hero,body[data-view="situation"] .authority{display:none}body[data-view="situation"] header{padding-top:12px;padding-bottom:12px}body[data-view="situation"] main{padding-top:12px}body[data-view="situation"] .connection{display:none}

.automation-strip{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#211b30;border:1px solid #8263b8;border-radius:12px;padding:14px 18px;margin:16px 0}.automation-strip>div{flex:1}.automation-strip strong,.automation-strip span{display:block}.automation-strip span{font-size:14px;margin-top:4px;color:#d5cce3}.automation-strip details{flex-basis:100%;font-size:14px}.automation-strip details p{max-width:85ch}

.project-progress{margin:28px 0 20px;padding:24px;border:1px solid #514264;background:linear-gradient(135deg,#201a2a,#15131d);border-radius:16px}
.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.progress-heading h2{font-size:24px;margin:0}.progress-heading>strong{font-size:16px;color:#d6c4f3}
.project-progress-track{height:12px;border-radius:12px;background:#3a3348;overflow:hidden}.project-progress-track>span{display:block;height:100%;background:linear-gradient(90deg,#8860c7,#b391ec);border-radius:12px;transition:width .5s}
.progress-milestones{display:grid;grid-template-columns:repeat(var(--milestone-count),minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:18px 0 24px}.progress-milestones button{width:100%;display:flex;align-items:center;flex-direction:column;gap:8px;min-height:110px;padding:8px;background:transparent;border:0;color:#dfd8e9;text-align:center}
.milestone-dot{display:grid;place-items:center;width:32px;height:32px;border:2px solid #716480;border-radius:50%;font-size:16px;font-weight:700}.progress-milestones strong{font-size:16px;line-height:1.3}.progress-milestones small{font-size:14px;color:#bdb3ca}.progress-milestones li[data-state=verified] .milestone-dot{background:#ac85e0;border-color:#ac85e0;color:#17111f}.progress-milestones li[data-state=active] .milestone-dot{border-color:#c6a0ff;box-shadow:0 0 0 5px #a27bd521}
.progress-activity{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#ffffff06;border-radius:8px;font-size:16px;line-height:1.5}.activity-dot{width:9px;height:9px;background:#a287c7;border-radius:50%;flex-shrink:0}.progress-activity[data-running=true] .activity-dot{animation:staff-pulse 1.5s infinite}
.progress-decisions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.progress-decisions>span{font-size:15px;font-weight:600;margin-right:4px}.progress-decisions button{font-size:15px;padding:8px 12px;border:1px solid #6a5681;border-radius:8px;background:#2b2237}.progress-decisions small{display:block;font-size:12px;color:#c2b6d0;margin-top:3px}.progress-decisions button[data-decision=pass]{border-color:#71a58b}.progress-basis{font-size:13px;color:#c2b6d0;margin:14px 0 0}
@keyframes staff-pulse{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){.progress-activity[data-running=true] .activity-dot{animation:none}.project-progress-track>span{transition:none}}
@media(max-width:700px){.project-progress{padding:18px}.progress-heading{align-items:flex-start;flex-direction:column}.progress-milestones{grid-template-columns:1fr;gap:0}.progress-milestones button{min-height:auto;flex-direction:row;text-align:left;padding:12px 0}.progress-milestones small{margin-left:auto}.progress-milestones strong{flex:1}.progress-activity{font-size:15px}}

.inspection-stop{border:2px solid #ef7979;background:#461e28;padding:20px;border-radius:12px;margin:18px 0}.inspection-stop>strong{font-size:24px;color:#ffc2c2}.inspection-gate{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:16px;border:1px solid #514264;border-radius:10px;margin:18px 0}.inspection-gate span{flex:1;font-size:16px}.inspection-grid .executive-card{min-height:160px}.inspection-grid .executive-card>strong{font-size:22px;line-height:1.4}

.xo-workspace{max-width:1100px;margin:20px auto}.xo-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.xo-heading h1{font-size:32px;margin:0}.xo-heading p{color:#c6bad7}.xo-messages{max-height:480px;overflow:auto;padding:18px 0;display:flex;flex-direction:column;gap:16px}.xo-message{padding:18px 20px;background:#211b2b;border:1px solid #4a3c5c;border-radius:14px;max-width:92%}.xo-message.user{align-self:flex-end;background:#352744;border-color:#8460a6}.xo-message.assistant{align-self:flex-start}.xo-message>strong{font-size:14px;color:#d6b6ff}.xo-message>div{white-space:pre-wrap;line-height:1.65;font-size:17px;margin-top:8px}.xo-workspace textarea{min-height:110px;font-size:17px;width:100%}.xo-compose-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:12px}.xo-compose-actions label{max-width:420px;flex:1}.xo-compose-actions button{min-height:46px}.xo-memory,.xo-details{padding:18px;border:1px solid #514264;border-radius:12px;margin:22px 0}.xo-memory summary{font-size:18px;font-weight:600;cursor:pointer}.xo-memory article{padding:16px 0;border-top:1px solid #483a56}.xo-memory article p{font-size:16px;line-height:1.55}.xo-memory small{color:#cab2e6}.xo-plan{padding:22px;border:1px solid #aa83d7;border-radius:14px;background:#251b31;margin:22px 0}.xo-plan li{line-height:1.6;margin:12px 0}.xo-thinking{padding:14px;color:#d4b4ff}
body[data-view=xo] #dashboard-staff{display:none}@media(max-width:650px){.xo-message{max-width:100%}.xo-compose-actions{align-items:stretch;flex-direction:column}.xo-heading{align-items:flex-start;flex-direction:column}}

body[data-view="dashboard"] nav button[data-tab="xo"]{display:inline-flex;background:#b297ed;color:#171023;font-weight:700;border-color:#b297ed}body[data-view="xo"] .hero,body[data-view="xo"] .authority,body[data-view="xo"] #connection{display:none}body[data-view="xo"] nav{margin-top:12px}

.brand img{display:block;width:56px;height:56px;border-radius:50%}body[data-view=xo] header{padding-top:12px;padding-bottom:12px}

#staff-cycles{margin:24px 0}.cycle-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.cycle-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 10px;min-width:0;text-align:center}.cycle-card>span{font-size:14px;line-height:1.4}.cycle-ring{position:relative;display:grid;place-items:center;width:76px;height:76px;border:4px dotted #8b7fb5;border-radius:50%;color:#ddd3ff}.cycle-ring strong{font-size:21px}.cycle-ring i{position:absolute;inset:-7px;transform:rotate(calc(var(--phase)*51.4286deg))}.cycle-ring i:before{content:"";position:absolute;top:-2px;left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background:#4ce0ca;box-shadow:0 0 8px #4ce0ca80}@media(max-width:760px){.cycle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Calm navigation: five stable views, one purpose per screen. */
[hidden]{display:none!important}
body main,body[data-view="dashboard"] main{display:block!important;max-width:1240px;padding:24px 32px}
body .hero,body .authority,body #dashboard-staff{display:none!important}
body header{padding-top:14px!important;padding-bottom:14px!important}
body #primary-nav{display:flex!important;position:sticky;top:52px;z-index:20;gap:12px;margin:0 0 18px!important;padding:8px 0;background:#141118f5;overflow-x:auto;border-bottom:1px solid var(--line)}
body #primary-nav:before{display:none!important}
body #primary-nav button,body[data-view="dashboard"] #primary-nav button{display:inline-flex!important;align-items:center;justify-content:center;padding:12px 24px;font-size:16px;font-weight:500;color:var(--muted);background:transparent!important;border:0!important;border-bottom:2px solid transparent!important}
body #primary-nav button[aria-selected="true"]{color:var(--text)!important;border-bottom-color:var(--violet)!important}
#page-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:32px;min-height:44px}
.context-path{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:14px}.context-path button{padding:4px 0;min-height:36px;border:0;background:transparent;color:var(--muted)}.context-next{background:transparent;font-size:14px}
body #automation{margin:0 0 24px}.connection{margin:0 0 24px}body #staff-cycles{margin:0 0 32px}
.command-heading{margin:10px 0 32px}.command-heading h1{font-size:36px}.command-heading>p:last-child{font-size:17px;color:var(--muted);margin-top:12px}
.command-attention{display:flex;justify-content:space-between;align-items:center;gap:28px;border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:26px 28px;margin-bottom:32px}.command-attention h2{font-size:21px;margin:12px 0 0;line-height:1.4}.command-attention p{font-size:15px;color:var(--muted);line-height:1.6;margin-bottom:0}.command-attention button{flex-shrink:0}
.command-way-ahead{display:flex;align-items:center;justify-content:space-between;gap:24px;line-height:1.7;font-size:15px;margin-top:28px;color:var(--muted)}.command-way-ahead strong{color:var(--text);margin-right:12px}.command-way-ahead button{flex-shrink:0}
body[data-view="dashboard"] .progress-decisions,body[data-view="dashboard"] .progress-activity,body[data-view="dashboard"] .progress-basis{display:none}body[data-view="dashboard"] .project-progress{margin-top:0;padding:28px}body[data-view="dashboard"] footer{margin-top:36px}
.project-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.project-overview-card{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:220px;padding:26px;background:var(--panel);border-radius:14px}.project-overview-card h2{font-size:24px;margin:0}.project-overview-card p{font-size:15px;line-height:1.6;color:var(--muted);margin:0}.project-overview-card>strong{margin-top:auto;color:var(--violet);font-size:15px}
.project-detail-group,.secondary-tools,.review-history{border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin:18px 0;background:var(--panel)}.project-detail-group>summary,.secondary-tools>summary,.review-history>summary{font-size:16px;font-weight:500}.project-detail-group[open]>summary{margin-bottom:24px}.review-history article{margin:18px 0 0}.staff-tools{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0}
body .project p,body .report p{font-size:15px}body .small-note{font-size:14px}.section-title p{font-size:15px;line-height:1.6}body .milestone-path{margin-bottom:28px}body footer{margin-top:38px}body #connection{font-size:14px}.cycle-card>span{min-height:40px}body .cycle-card{padding:24px 12px}
@media(max-width:700px){body main,body[data-view="dashboard"] main{padding:16px}body #primary-nav{top:70px;gap:0}body #primary-nav button,body[data-view="dashboard"] #primary-nav button{padding:12px 14px;font-size:14px}#page-context{align-items:flex-start;margin-bottom:22px;flex-wrap:wrap}.command-heading h1{font-size:29px}.command-attention,.command-way-ahead{align-items:flex-start;flex-direction:column;padding:20px}.project-overview-grid{grid-template-columns:1fr}.cycle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#staff-service{margin:24px 0}#staff-service[open]>summary{margin-bottom:20px}#staff-service .automation-strip{margin-top:16px}.project-overview-card>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}#page-context .context-path button[aria-current]{color:var(--text)}

footer #provenance{display:none}#staff-cycles .section-title h2{font-size:28px;margin-top:0}body .project-detail-group .section-title{margin-top:24px}

/* Commander readability standard: comfortably readable at normal desktop zoom. */
html{font-size:20px}
body{font-size:20px;line-height:1.6}
body p,body li,body label,body input,body select,body textarea,body button,body .small-note,body .project p,body .report p,body .estimate p,body .estimate li,body .section-title p,body .command-way-ahead,body .command-attention p,body .project-overview-card p,body .context-path,body .context-path button,body .context-next,body .cycle-card>span{font-size:20px!important;line-height:1.6}
body h1,body .command-heading h1{font-size:44px!important;line-height:1.2}
body h2,body .command-attention h2,body .project-overview-card h2,body #staff-cycles .section-title h2{font-size:28px!important;line-height:1.35}
body h3,body .report h3,body .project h3,body .estimate h3{font-size:24px!important;line-height:1.4}
body #primary-nav button,body[data-view="dashboard"] #primary-nav button{font-size:21px!important;padding:12px 26px}
body .eyebrow,body .executive-label{font-size:16px!important;letter-spacing:1.5px}
body .badge,body time,body small,body .small,body .small-note,body .status-freshness,body .owner span,body footer,body .edition,body .order-blocker,body .staff-id,body .progress-basis,body .progress-activity{font-size:18px!important;line-height:1.6}
body .owner,body .status-identity,body .signal,body .tile-state,body .progress-milestones strong,body .progress-milestones small,body .progress-heading>strong,body .progress-decisions button,body .progress-decisions small,body .automation-strip span,body .automation-strip strong{font-size:19px!important;line-height:1.5}
body summary,body .project-detail-group>summary,body .secondary-tools>summary,body .review-history>summary{font-size:21px!important;line-height:1.6}
body table,body th,body td{font-size:18px!important;line-height:1.6}
body pre{font-size:17px!important;line-height:1.7}
body button{min-height:48px}body .cycle-card{gap:14px}body .cycle-card>span{min-height:64px}
body main,body[data-view="dashboard"] main{max-width:1380px}
body .command-heading>p:last-child{font-size:22px!important}
#primary-nav{top:72px!important}.project-progress .progress-milestones{gap:16px}.progress-milestones button{white-space:normal}
@media(max-width:700px){body h1,body .command-heading h1{font-size:34px!important}body #primary-nav button,body[data-view="dashboard"] #primary-nav button{font-size:18px!important;padding:12px 13px}body p,body li,body label,body button,body .context-path,body .context-path button,body .context-next,body .command-way-ahead{font-size:18px!important}body .owner{font-size:17px!important}#primary-nav{top:92px!important}.progress-milestones{grid-template-columns:1fr!important}.progress-milestones button{display:flex;align-items:center;gap:12px;text-align:left}.command-heading h1{overflow-wrap:break-word}}

.budget-context{font-size:18px;color:var(--muted);margin-left:18px;white-space:nowrap}@media(max-width:700px){.budget-context{margin-left:0;width:100%}}
