:root{color-scheme:light;--bg:#f8f9fb;--panel:#fff;--line:#e2e6ed;--text:#172335;--muted:#59677b;--gold:#96722c;--blue:#243f6e;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}header{background:white;border-bottom:1px solid var(--line);padding:22px 3.5%;display:flex;gap:28px;align-items:center}.heading{flex:1}h1{font-size:28px;letter-spacing:-.04em;margin:2px 0}h2{font-size:25px;letter-spacing:-.025em;margin:6px 0}h3{font-size:18px;margin:8px 0}p{margin:8px 0 14px}a{color:var(--blue);text-underline-offset:3px}.brand-link{text-decoration:none}.brand{display:flex;flex-direction:column;gap:2px;font-size:15px}.brand img{max-width:145px;max-height:55px;object-fit:contain;object-position:left}.brand small{font-size:10px;font-weight:400;color:var(--muted)}header .brand strong{font-size:29px;letter-spacing:.04em}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.13em;color:var(--gold);margin:0}.muted,small,.section-head span{color:var(--muted);font-size:12px}small{display:block}.actions,.chat-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button,button{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;border:1px solid var(--blue);border-radius:8px;padding:10px 14px;font:inherit;font-size:12px;font-weight:650;text-decoration:none;cursor:pointer}.secondary{background:#fff;color:var(--blue);border-color:#d6ddeb}button:disabled{opacity:.55;cursor:not-allowed}main{max-width:1920px;margin:auto;padding:28px 3.5% 40px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.welcome h2{font-size:clamp(23px,2vw,31px)}.welcome>.muted{text-align:right}.command-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.kira-column,.workspace{display:flex;flex-direction:column;gap:24px}.assistant,.card,.work-panel,.source,.daily-focus{background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 18px #182c4610;overflow:hidden}.assistant-body{padding:24px}.assistant-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.assistant-title{display:flex;align-items:center;gap:14px}.assistant-title h2{font-size:29px}.role-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#e8eef9;color:#304a79;font-size:27px;font-family:Georgia,serif}.chief-panel .role-mark{background:#f0ebe5;color:#685342}.mort-panel{border-top:3px solid #355a8a}.chief-panel{border-top:3px solid #927247}.kira-panel{border-top:3px solid #a98842}.portrait{height:310px;background:#eef0ee;overflow:hidden}.portrait img{width:100%;height:100%;object-fit:cover;object-position:center 22%}.pill{display:inline-block;font-size:10px;letter-spacing:.02em;border:1px solid #dce3ec;background:#f4f7fb;border-radius:6px;padding:4px 7px;color:#4e6076}.conversation{height:130px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fafbfc;margin:18px 0 12px;font-size:13px}.conversation p{white-space:pre-wrap;overflow-wrap:anywhere}.conversation .user{font-weight:600;color:var(--blue)}.chat-form textarea{width:100%;resize:vertical;min-height:70px;border:1px solid #d0d8e2;border-radius:9px;padding:12px;font:inherit;font-size:13px;color:var(--text);background:white}.chat-actions{margin-top:9px}.chat-status{min-height:18px;margin:10px 0}.daily-focus,.card,.source{padding:22px}.daily-focus{border-top:3px solid #8a9d7b}.work-panel{padding:24px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head h2{margin:4px 0}.company-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.company-filters a{border:1px solid #d9e0e9;border-radius:20px;font-size:12px;text-decoration:none;padding:7px 13px;background:#fff}.company-filters a[aria-current]{background:var(--blue);color:white;border-color:var(--blue)}.rgroup{color:#a4303e}.elements{color:#4c735c}.sizzle{color:#a5482a}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;min-width:760px}th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:12px 10px;background:#f6f8fb}td{padding:16px 10px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}td:first-child{width:27%}td:nth-child(2){width:20%}td:nth-child(4){width:20%}td time{font-size:11px}td .brand{font-size:11px;margin-bottom:7px}td .brand img{max-width:95px;max-height:30px}.project-name{font-size:13px;font-weight:650;text-decoration:none}td small{margin-top:6px;font-size:10px}progress{display:block;width:100%;height:7px;margin:7px 0 10px;accent-color:#aa8a43}progress::-webkit-progress-bar{background:#e9edf2;border-radius:6px}progress::-webkit-progress-value{background:#a78945;border-radius:6px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:18px;font-size:12px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.source h3{font-size:14px}.source a{display:inline-block;margin-top:12px;font-size:12px}.warning{border:1px solid #ddc18d;border-radius:10px;background:#fff9ed;color:#79551d;padding:12px 16px;font-size:13px;margin-bottom:20px}.error{color:#a4303e}.empty{padding:30px;color:var(--muted)}footer{font-size:12px;color:var(--muted);border-top:1px solid var(--line);margin-top:35px;padding-top:22px}.login{max-width:620px;padding-top:12vh}.login .button{margin:18px 0}.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}:focus-visible{outline:3px solid #987632;outline-offset:3px}.brand-strip{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--line)}@media(min-width:1650px){.command-layout{grid-template-columns:340px minmax(0,1fr)}.portrait{height:350px}.conversation{height:155px}}@media(max-width:1150px){.command-layout{grid-template-columns:260px minmax(0,1fr)}.assistant-grid{grid-template-columns:1fr}.portrait{height:280px}.sources{grid-template-columns:1fr}.assistant-body{padding:20px}}@media(max-width:760px){header{flex-wrap:wrap;padding:20px}.heading{min-width:160px}main{padding:22px 16px}.welcome{align-items:flex-start;flex-direction:column}.welcome>.muted{text-align:left}.command-layout,.summary-grid{grid-template-columns:1fr}.portrait{height:350px;max-height:60vh}.assistant-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.work-panel{padding:18px}.pagination{justify-content:space-between}}
#wte-panel label{display:block;font-size:12px;margin:12px 0 4px}#wte-panel select,#wte-panel input,#wte-panel textarea{display:block;width:100%;border:1px solid #d0d8e2;border-radius:7px;padding:9px;background:white;color:var(--text);font:inherit;font-size:12px}#wte-panel button{margin-top:10px}#wte-wins{font-size:12px;overflow-wrap:anywhere}#wte-wins h4{margin:16px 0 5px}#wte-wins ul{padding-left:18px}
.kira-column,.workspace,.assistant-grid>*{min-width:0}@media(max-width:760px){.command-layout,.summary-grid{grid-template-columns:minmax(0,1fr)}}
[hidden]{display:none!important}#wte-wins li{margin-bottom:8px}#wte-wins li button{display:inline-flex;margin:0 0 0 8px;padding:3px 7px;font-size:10px}
.urgent-decisions{border-left:5px solid #9b4d11;margin-top:18px;overflow-wrap:anywhere}.urgent-decisions article+article{border-top:1px solid #ddc18d;padding-top:14px;margin-top:14px}.urgent-decisions h4{font-size:15px;margin:10px 0}.decision-context{overflow-wrap:anywhere}.decision-context ul{padding-left:20px}

/* Project-first executive command board. Detailed legacy operations stay accessible on demand. */
.executive-board{background:#f0f3f8;border:1px solid #d9e1eb;border-radius:22px;padding:22px;margin-bottom:26px}
.board-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.board-heading h2{font-size:clamp(23px,2.7vw,36px);line-height:1.15;margin:7px 0 9px}
.board-heading p.muted{max-width:680px;margin:0}
.source-stamp{white-space:nowrap;font-size:11px;color:#566578;background:white;border:1px solid #dbe2ec;border-radius:18px;padding:8px 12px}
.si-rail{display:flex;gap:9px;overflow-x:auto;padding:3px 2px 14px;scrollbar-width:thin}
.si-tab{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:9px 14px 9px 8px;background:white;border:1px solid #dbe1e9;border-radius:30px;color:#24344f;font-size:12px;font-weight:650;text-decoration:none;min-height:46px;transition:border-color .15s,background .15s}
.si-tab:hover{border-color:#94a9c5;background:#f8fbff}
.si-tab:focus-visible{outline-offset:2px}
.si-tab.si-active,.si-tab[aria-current=page]{background:#1d3555;border-color:#1d3555;color:white}
.si-tab-mark{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:50%;font-family:Georgia,serif;background:#e8edf6;color:#263f68;font-size:15px}
.si-active .si-tab-mark{background:#eef2f7;color:#1d3555}
.board-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:6px 0 20px}
.stat{background:white;border:1px solid #dde4ee;border-radius:14px;padding:15px 18px;min-width:0}
.stat>span{display:block;color:#5d6980;font-size:11px;font-weight:650}
.stat strong{display:block;font-size:29px;font-weight:750;line-height:1.3;letter-spacing:-.035em}
.stat strong.stat-text{font-size:17px;margin:8px 0;line-height:1.25}
.stat small{font-size:10px}
.board-content{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start}
.portfolio-main{background:white;border:1px solid #dde4ee;border-radius:18px;padding:20px;min-width:0}
.portfolio-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px}
.portfolio-head h3{font-size:23px;margin:4px 0 18px}
.portfolio-head .company-filters{margin:0 0 14px}
.portfolio-head .company-filters a{font-size:11px;padding:6px 9px}
.project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.project-card{border:1px solid #e1e6ee;border-radius:13px;padding:17px;min-width:0;background:linear-gradient(180deg,#fff,#fcfdff)}
.project-top,.project-bottom,.progress-label{display:flex;align-items:center;justify-content:space-between;gap:10px}
.company-tag{font-size:10px;letter-spacing:.035em;font-weight:700;color:#526580}
.project-state{font-size:10px;background:#eff3f7;color:#4c5a6e;padding:3px 8px;border-radius:20px}
.project-card h4{font-size:15px;line-height:1.4;margin:12px 0 18px;min-height:42px}
.project-card h4 a{color:#192d48;text-decoration:none}
.project-card h4 a:hover{text-decoration:underline}
.project-progress{margin:6px 0 15px}
.progress-label{font-size:11px;color:#5d6880}
.progress-label strong{font-size:12px;color:#1b354f}
.project-card progress{height:8px;accent-color:#1b8272;margin:8px 0}
.project-card progress::-webkit-progress-value{background:#1b8272}
.no-progress{height:8px;background:repeating-linear-gradient(135deg,#edf0f5,#edf0f5 5px,#e4e9ef 5px,#e4e9ef 10px);border-radius:8px;margin:8px 0}
.project-stage>span{font-size:10px;display:block;color:#637087}
.project-stage>strong{display:block;font-size:12px;margin:4px 0 9px}
.project-next{font-size:12px;margin:8px 0 16px;min-height:34px;color:#485870}
.project-bottom{border-top:1px solid #edf0f4;padding-top:10px;align-items:flex-start}
.project-bottom>span{font-size:10px;font-weight:700;color:#607089}
.project-bottom details{font-size:10px;max-width:52%;overflow-wrap:anywhere;text-align:right}
.project-bottom details summary{cursor:pointer;color:#355a8a}
.project-bottom details p{font-size:10px;text-align:left}
.portfolio-empty{grid-column:1/-1;background:#f6f8fb;border-radius:12px;padding:28px}
.portfolio-empty h4{margin:0;font-size:14px}
.portfolio-empty p{font-size:12px;color:#5d6980}
.executive-sidebar{display:flex;flex-direction:column;gap:14px}
.executive-panel{border:1px solid #dfe5ee;background:white;border-radius:16px;padding:20px}
.panel-title h3{font-size:19px;margin:6px 0 14px}
.needs-steve{border-top:4px solid #bd9140}
.muse-panel{border-top:4px solid #278979}
.action-line{border-top:1px solid #e6e9ef;padding-top:12px;margin:12px 0}
.action-line>a,.handoff-row>a{font-size:12px;font-weight:650}
.action-line p{font-size:12px;margin:5px 0}
.quiet-message{font-size:12px;line-height:1.6;color:#647188;margin:4px 0 14px}
.small-link{font-size:11px;font-weight:700}
.connection-state{display:flex;align-items:center;gap:8px;font-size:12px;color:#5b6679;margin:10px 0 14px;overflow-wrap:anywhere}
.connection-dot{display:inline-block;width:9px;height:9px;border-radius:100%;background:#c69648;flex:none}
.connection-dot.connected{background:#188676}
.handoff-row{padding:10px 0;border-top:1px solid #e8ebf0}
.muse-actions{display:flex;gap:10px;flex-wrap:wrap;padding:12px 0}
.muse-actions a{font-size:12px;text-decoration:none;font-weight:700;border:1px solid #cdd8e6;border-radius:8px;padding:8px 10px}
.si-launch{display:flex;align-items:center;justify-content:space-between;border:1px solid #e2e6ee;border-radius:9px;padding:10px;margin-bottom:7px;font-size:12px;font-weight:650;text-decoration:none}
.legacy-details{margin-top:22px;border:1px solid #dbe2eb;border-radius:15px;padding:0 16px 16px}
.legacy-details>summary{font-size:14px;font-weight:750;color:#273b56;padding:18px 6px;cursor:pointer}
.legacy-details>summary span{font-size:11px;font-weight:400;color:#647188;margin-left:10px}
.legacy-details>section:first-of-type{margin-top:10px}
@media(max-width:1250px){.board-content{grid-template-columns:minmax(0,1fr) 280px}.board-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.board-content{grid-template-columns:1fr}.executive-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.executive-panel:last-child{grid-column:1/-1}}
@media(max-width:650px){.executive-board{padding:12px;border-radius:15px}.board-heading{flex-direction:column;gap:10px}.source-stamp{white-space:normal}.board-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat{padding:12px}.stat strong{font-size:23px}.project-cards{grid-template-columns:1fr}.portfolio-main{padding:13px}.executive-sidebar{display:flex}.legacy-details>summary span{display:block;margin:4px 0 0}.si-tab{font-size:11px}.board-heading h2{font-size:25px}}

/* Executive refresh: accessible SI-first layout. No fabricated progress values. */
html { font-size: 18px; }
body { line-height: 1.6; }
main { max-width: 1800px; }
h1 { font-size: clamp(30px, 2.5vw, 40px); }
h2 { font-size: clamp(26px, 2vw, 34px); }
h3 { font-size: clamp(21px, 1.5vw, 25px); }
.eyebrow { font-size: .78rem; letter-spacing: .07em; }
.muted,small,.section-head span { font-size: .86rem; }
.button,button,.si-tab { font-size: .95rem; min-height: 44px; }
.project-card h4,.project-card h4 a { font-size: 1.14rem; line-height: 1.4; }
.project-card,.source,.assistant,.executive-panel { font-size: 1rem; }
.project-progress progress { height: 15px; width: 100%; accent-color: #357cc4; border-radius: 20px; overflow: hidden; }
.project-progress progress::-webkit-progress-bar { background: #e2e9f2; border-radius: 20px; }
.project-progress progress::-webkit-progress-value { background: linear-gradient(90deg,#2687c6,#34a477); border-radius: 20px; }
.project-progress progress::-moz-progress-bar { background: linear-gradient(90deg,#2687c6,#34a477); }
.project-card { border-left: 5px solid #9ba9bb; }
/* Priority colors only when a defensible tier is supplied by the server. */
.project-card[data-priority="critical"] { border-left-color: #c53e4a; }
.project-card[data-priority="high-roi"] { border-left-color: #d78220; }
.project-card[data-priority="financial"] { border-left-color: #25895c; }
.project-card[data-priority="operational"] { border-left-color: #2879c0; }
.project-card[data-priority="growth"] { border-left-color: #825bc3; }
.project-card[data-priority="strategic"] { border-left-color: #288e9b; }
.principal-team { margin: 18px 0 28px; padding: 26px; background: #fff; border: 2px solid #cfd9e8; border-radius: 20px; }
.principal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.principal-heading h2 { margin: 4px 0; }
.principal-heading p { margin: 4px 0; }
.principal-note { color: #4b607c; font-size: .85rem; max-width: 260px; }
.principal-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.principal-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; border: 2px solid #dce4ee; border-radius: 16px; background: #f9fbff; }
.principal-kira { border-top: 7px solid #b95b3b; }
.principal-mort { border-top: 7px solid #3478b5; }
.principal-chief { border-top: 7px solid #23836c; }
.principal-mystic { border-top: 7px solid #8657ba; }
.principal-identity { display: flex; gap: 12px; align-items: center; }
.principal-portrait,.principal-initial { width: 78px; height: 78px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.principal-initial { display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; background: #405b81; }
.principal-identity h3 { font-size: 1.4rem; margin: 0; }
.principal-identity p { font-weight: 650; color: #40536c; margin: 0; }
.principal-description { flex: 1; font-size: .95rem; }
.principal-action { display: block; text-align: center; background: #233e70; color: #fff; border-radius: 10px; padding: 12px 10px; font-weight: 750; text-decoration: none; min-height: 48px; }
.principal-action:hover,.principal-action:focus-visible { background: #345d9c; color: #fff; outline: 3px solid #f4c95a; }
.principal-unavailable { display: block; padding: 12px; background: #e9edf2; border-radius: 9px; color: #3d4e63; }
.principal-card small { font-size: .8rem; }
@media(max-width:1200px) { .principal-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { html { font-size: 17px; } .principal-team { padding: 14px; } .principal-heading { flex-direction: column; } .principal-cards { grid-template-columns: 1fr; } }

/* Evidence-only system health panel */
.health-overview { background:#fff; border:2px solid #cfd9e8; border-radius:18px; padding:24px; margin:22px 0 28px; }
.health-heading { display:flex; align-items:start; justify-content:space-between; gap:18px; }
.health-heading h2 { margin:5px 0; }
.health-heading p { max-width:820px; }
.health-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; margin:16px 0; }
.health-card { border:1px solid #d5e0eb; background:#f6f9fd; padding:16px; border-radius:12px; }
.health-card h3 { font-size:1.08rem; margin:0 0 8px; }
.health-card p { font-size:.94rem; }
.health-card small { font-size:.84rem; }
.health-footnote { color:#40536c; font-size:.88rem; margin-bottom:0; }
@media(max-width:680px) { .health-overview { padding:14px; } .health-heading { flex-direction:column; } }

/* SI Council: capability status is textual and evidence-backed, never inferred from color. */
.council-overview { margin:22px 0 28px; padding:24px; background:#fff; border:2px solid #d1dce9; border-radius:18px; }
.council-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:16px 0; }
.council-member { padding:18px; border:1px solid #d4deeb; border-radius:12px; background:#f8fbff; }
.council-member h3 { font-size:1.16rem; margin:0 0 8px; }
.council-member p { font-size:.94rem; margin:6px 0; }
.council-member small { font-size:.84rem; }
.council-status { font-weight:700; color:#334d6f; }
@media(max-width:1050px) { .council-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { .council-overview { padding:14px; } .council-grid { grid-template-columns:1fr; } }

.council-chat-link { display:flex; justify-content:space-between; align-items:center; gap:24px; background:#f0f6ff; border:2px solid #b7cdea; border-radius:18px; padding:24px; margin:22px 0; }
.council-chat-link h2 { margin:4px 0 8px; }
.council-chat-link p { max-width:760px; }
.council-chat-action { min-width:225px; flex-shrink:0; }
@media(max-width:680px) { .council-chat-link { flex-direction:column; align-items:stretch; padding:14px; } .council-chat-action { min-width:0; } }

/* WTE journal: prominently surface the existing scoped daily-wins controls. */
.wins-journal { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px; margin:22px 0; border:2px solid #8dc5b4; border-radius:18px; background:#f1faf6; }
.wins-journal h2 { margin:4px 0 8px; }
.wins-journal p { max-width:850px; }
.wins-guardrail { color:#345d53; font-size:.89rem; }
.wins-journal-action { min-width:240px; flex-shrink:0; }
#wte-panel { scroll-margin-top:30px; }
@media(max-width:680px) { .wins-journal { flex-direction:column; align-items:stretch; padding:14px; } .wins-journal-action { min-width:0; } }

/* User-selectable text size. Scaling applies to both modern rem and legacy px labels. */
html { font-size:calc(18px * var(--user-text-scale,1)); }
.text-scale-controls { display:flex; align-items:center; gap:5px; font-size:.85rem; font-weight:700; }
.text-scale-controls button { min-width:46px; min-height:46px; font-size:1rem; padding:8px; }
.text-scale-controls button[aria-pressed="true"] { background:#203e72; color:white; border-color:#203e72; }
.text-scale-controls button:focus-visible { outline:3px solid #c27d1e; outline-offset:2px; }
.project-priority-label { font-size:.9rem; font-weight:750; color:#46546a; margin:8px 0; }
.project-card[data-priority="critical"] .project-priority-label { color:#a72f40; }
.project-card[data-priority="high-roi"] .project-priority-label { color:#985711; }
.project-card[data-priority="financial"] .project-priority-label { color:#176e46; }
.project-card[data-priority="operational"] .project-priority-label { color:#1d5f9e; }
.project-card[data-priority="growth"] .project-priority-label { color:#7044a5; }
.project-card[data-priority="strategic"] .project-priority-label { color:#167481; }
@media(max-width:850px) { header .actions { flex-wrap:wrap; } .text-scale-controls { width:100%; } }

/* Explicitly unverified connection inventory. The UI must not imply live health. */
.platform-registry { background:#fff; border:2px solid #cfd9e8; border-radius:18px; padding:22px; margin:22px 0; }
.platform-registry > summary { cursor:pointer; font-size:1.25rem; font-weight:800; color:#243f6e; padding:5px; }
.platform-registry > summary span { font-size:.83rem; color:#50647e; font-weight:500; margin-left:12px; }
.platform-registry > summary:focus-visible { outline:3px solid #bb862e; outline-offset:4px; }
.platform-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(235px,1fr)); gap:12px; margin:20px 0; }
.platform-entry { background:#f7f9fc; border:1px solid #d7e0eb; border-radius:12px; padding:16px; }
.platform-entry h3 { font-size:1.04rem; margin:0 0 8px; }
.platform-entry p { font-size:.89rem; color:#495a72; margin:0 0 8px; }
.platform-entry small { font-size:.83rem; line-height:1.5; }
@media(max-width:680px) { .platform-registry { padding:14px; } .platform-registry > summary span { display:block; margin-left:0; } }

/* Verified source progress: slightly larger, source-value based color bands.
   No inferred percentage: unverified projects retain a neutral placeholder. */
.project-progress[data-progress-band="early"] { --progress-fill:#a83d55; }
.project-progress[data-progress-band="developing"] { --progress-fill:#a96818; }
.project-progress[data-progress-band="midway"] { --progress-fill:#256fae; }
.project-progress[data-progress-band="nearly-done"] { --progress-fill:#147b82; }
.project-progress[data-progress-band="complete"] { --progress-fill:#18734a; }
.project-progress .progress-label {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  font-size:.9rem;
  line-height:1.4;
}
.project-progress .progress-label strong {
  font-size:1rem;
  font-variant-numeric:tabular-nums;
  color:var(--progress-fill,#46546a);
}
.project-progress progress {
  display:block;
  width:100%;
  height:19px;
  margin:11px 0 12px;
  border:0;
  border-radius:999px;
  overflow:hidden;
  background:#e2e9f2;
  accent-color:var(--progress-fill,#65778e);
}
.project-progress progress::-webkit-progress-bar {
  background:#e2e9f2;
  border-radius:999px;
}
.project-progress progress::-webkit-progress-value {
  background:var(--progress-fill,#65778e);
  border-radius:999px;
}
.project-progress progress::-moz-progress-bar {
  background:var(--progress-fill,#65778e);
  border-radius:999px;
}
.project-progress .no-progress {
  height:19px;
  border-radius:999px;
  margin:11px 0 12px;
}

/* The Executive Portfolio is a full-width ClickUp workspace, not a sidebar dashboard. */
.executive-board .board-content { display:block; }
.executive-board .portfolio-main { width:100%; }
.portfolio-heading-actions { display:flex;align-items:center;flex-wrap:wrap;gap:14px; }
.portfolio-heading-actions h3 { margin:4px 0 10px; }
.portfolio-update { min-height:44px;padding:9px 18px;border:1px solid #244777;
  border-radius:9px;background:white;color:#244777;font-size:.94rem;font-weight:800;letter-spacing:.035em; }
.portfolio-update:hover:not(:disabled) { background:#eef3fa; }
.portfolio-update:focus-visible { outline:3px solid #b57e28;outline-offset:3px; }
.portfolio-update:disabled { opacity:.65; }
.portfolio-head #clickup-update-help { color:#536681;font-size:.83rem;margin-bottom:6px; }
.update-state { display:block;min-height:1.2em;color:#324c6c;font-size:.88rem; }
.project-source { color:#56647a;font-size:.84rem;overflow-wrap:anywhere; }
.completed-projects { margin-top:30px;border-top:2px solid #dce4ee;padding-top:22px; }
.completed-header { display:flex;align-items:flex-start;justify-content:space-between;
  flex-wrap:wrap;gap:12px;margin-bottom:18px; }
.completed-header h3 { margin:3px 0 5px;font-size:1.32rem; }
.completed-header .muted { max-width:570px;margin:0;font-size:.87rem; }
.completed-count { font-weight:500;color:#607087;font-size:.91rem; }
.completed-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.completed-project { background:#fbfcfe;border:1px solid #dce3ec;border-radius:12px;padding:17px;min-width:0; }
.completed-project-main { display:flex;align-items:start;justify-content:space-between;gap:12px; }
.completed-project-link { font-weight:700;font-size:1rem;line-height:1.45;overflow-wrap:anywhere; }
.completed-state { flex:0 0 auto;background:#edf1f5;color:#4c5b71;border-radius:7px;
  padding:3px 8px;font-size:.79rem; }
.completed-meta { display:flex;gap:7px 12px;flex-wrap:wrap;margin-top:10px;
  color:#637083;font-size:.81rem;overflow-wrap:anywhere; }
.completed-actions { display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:13px;
  border-top:1px solid #e5eaf0;padding-top:10px;font-size:.86rem; }
.completed-warning { padding:10px 12px;border:1px solid #c9ad81;
  border-radius:8px;background:#fff9ed;color:#674b22;font-size:.9rem; }
.completed-empty { color:#68768b;font-size:.92rem; }
@media(max-width:760px) {
  .completed-list { grid-template-columns:1fr; }
  .completed-header { flex-direction:column; }
  .completed-project-main { flex-wrap:wrap; }
  .completed-project { padding:13px; }
}
