:root{--cyan-900:#6e0c0c;--cyan-800:#7e0e0e;--cyan-700:#941010;--cyan-600:#b51414;--cyan-500:#de1919;--cyan-100:#fce2e2;--cyan-50:#fdf2f2;--text:#2a0f0f;--text-muted:#694747;--border:#e1cbcb;--bg:#ffffff;--surface:#fcf8f8;--danger:#b91c1c;--warn:#b45309;--ok:#047857;--shadow:0 1px 3px rgba(15,23,42,.08);--radius:10px;--sidebar-w:260px}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.5}
.app-shell{display:flex;min-height:100vh}
.sidebar{width:var(--sidebar-w);background:linear-gradient(180deg,var(--cyan-900),var(--cyan-800));color:#fcf8f8;display:flex;flex-direction:column;padding:1rem .75rem;position:sticky;top:0;height:100vh;z-index:40}
.sidebar-brand{display:flex;gap:.75rem;align-items:center;padding:.5rem .5rem 1rem;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:.75rem}
.brand-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--cyan-500),#e72929)}
.brand-title{font-weight:700;font-size:1.05rem}
.brand-sub{font-size:.75rem;opacity:.85}
.sidebar-nav{display:flex;flex-direction:column;gap:.25rem;flex:1;overflow:auto}
.nav-item{display:block;width:100%;text-align:left;border:0;background:transparent;color:#f0e2e2;padding:.65rem .75rem;border-radius:8px;cursor:pointer;font-size:.92rem}
.nav-item:hover{background:rgba(255,255,255,.08)}
.nav-item.is-active{background:rgba(255,255,255,.16);color:#fff;font-weight:600}
.sidebar-close{display:none}
.sidebar-backdrop{display:none}
.main-column{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-start;padding:1rem 1.25rem;border-bottom:1px solid var(--border);background:var(--surface)}
.nav-toggle{display:none;border:1px solid var(--border);background:#fff;padding:.45rem .75rem;border-radius:8px;cursor:pointer}
.topbar-meta{flex:1;min-width:200px}
.topbar-line{font-size:.9rem}
.topbar-line.muted{color:var(--text-muted);font-size:.82rem;margin-top:.25rem}
.topbar-user{font-size:.85rem;background:var(--cyan-50);border:1px solid var(--cyan-100);padding:.4rem .65rem;border-radius:8px;white-space:nowrap}
.preview-banner{background:#fef3c7;color:#92400e;padding:.5rem 1.25rem;font-size:.85rem;border-bottom:1px solid #fcd34d}
.global-alert{margin:1rem 1.25rem 0;padding:.75rem 1rem;border-radius:var(--radius);background:#fee2e2;color:var(--danger);border:1px solid #fecaca}
.content{flex:1;padding:1.25rem;max-width:1400px;width:100%;margin:0 auto}
.footer{padding:.75rem 1.25rem;border-top:1px solid var(--border);font-size:.78rem;color:var(--text-muted);background:var(--surface)}
.page-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;align-items:flex-end}
.page-title{margin:0;font-size:1.35rem;color:var(--cyan-900)}
.page-desc{margin:.25rem 0 0;color:var(--text-muted);font-size:.88rem;max-width:52rem}
.grid{display:grid;gap:1rem}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}
.card-label{font-size:.78rem;color:var(--text-muted);text-transform:none;letter-spacing:.02em}
.card-value{font-size:1.65rem;font-weight:700;color:var(--cyan-800);margin-top:.25rem}
.card-note{font-size:.75rem;color:var(--text-muted);margin-top:.35rem}
.section-title{font-size:1rem;margin:0 0 .75rem;color:var(--cyan-900);font-weight:650}
.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:var(--radius);background:#fff}
table.data{width:100%;border-collapse:collapse;font-size:.88rem}
table.data th,table.data td{padding:.55rem .65rem;border-bottom:1px solid #f0e2e2;text-align:left;vertical-align:top}
table.data th{background:var(--cyan-50);color:var(--cyan-900);font-weight:600;white-space:nowrap}
table.data tr:last-child td{border-bottom:0}
.badge{display:inline-block;padding:.15rem .45rem;border-radius:999px;font-size:.72rem;font-weight:600;border:1px solid transparent}
.badge-info{background:var(--cyan-50);color:var(--cyan-800);border-color:var(--cyan-100)}
.badge-warn{background:#fff7ed;color:var(--warn);border-color:#fed7aa}
.badge-danger{background:#fef2f2;color:var(--danger);border-color:#fecaca}
.badge-ok{background:#ecfdf5;color:var(--ok);border-color:#a7f3d0}
.toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:1rem}
.toolbar input,.toolbar select{padding:.45rem .55rem;border:1px solid var(--border);border-radius:8px;font-size:.88rem;min-width:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.45rem .85rem;border-radius:8px;border:1px solid var(--border);background:#fff;color:var(--text);cursor:pointer;font-size:.88rem;text-decoration:none}
.btn:disabled{opacity:.55;cursor:not-allowed}
.btn-primary{background:var(--cyan-700);border-color:var(--cyan-800);color:#fff}
.btn-primary:hover:not(:disabled){background:var(--cyan-800)}
.btn-ghost{background:transparent}
.empty{padding:2rem;text-align:center;color:var(--text-muted);border:1px dashed var(--border);border-radius:var(--radius);background:var(--surface)}
.loading-inline{color:var(--text-muted);font-size:.9rem}
.methodology{display:grid;gap:.75rem}
.method-item{border-left:4px solid var(--cyan-500);padding:.5rem .75rem;background:var(--surface);border-radius:0 8px 8px 0}
.method-item strong{display:block;color:var(--cyan-900)}
.method-item p{margin:.35rem 0 0;font-size:.85rem;color:var(--text-muted)}
.pipeline{display:flex;flex-wrap:wrap;gap:.5rem}
.pipe-step{flex:1;min-width:120px;background:var(--cyan-50);border:1px solid var(--cyan-100);border-radius:8px;padding:.65rem;text-align:center}
.pipe-step .n{font-size:1.25rem;font-weight:700;color:var(--cyan-800)}
.pipe-step .l{font-size:.78rem;color:var(--text-muted);margin-top:.15rem}
.issue-row-sev-high{color:var(--danger);font-weight:600}
.drawer-overlay{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:60}
.drawer{position:fixed;top:0;right:0;width:min(480px,100%);height:100%;background:#fff;z-index:70;box-shadow:-4px 0 24px rgba(0,0,0,.12);display:flex;flex-direction:column}
.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--border)}
.drawer-header h2{margin:0;font-size:1.1rem}
.drawer-body{padding:1rem 1.25rem;overflow:auto;flex:1}
.icon-btn{border:0;background:transparent;font-size:1.5rem;line-height:1;cursor:pointer;padding:.25rem .5rem}
.form-row{margin-bottom:.75rem}
.form-row label{display:block;font-size:.82rem;color:var(--text-muted);margin-bottom:.25rem}
.form-row textarea,.form-row select,.form-row input{width:100%;padding:.45rem .55rem;border:1px solid var(--border);border-radius:8px;font-size:.88rem}
.pagination{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:1rem}
@media(max-width:900px){.sidebar{position:fixed;left:0;transform:translateX(-105%);transition:transform .2s ease;box-shadow:4px 0 24px rgba(0,0,0,.15)}.sidebar.is-open{transform:translateX(0)}.sidebar-close{display:block;position:absolute;top:.5rem;right:.5rem;color:#fff;background:transparent;border:0;font-size:1.5rem;cursor:pointer}.sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:30}.sidebar-backdrop[hidden]{display:none!important}.nav-toggle{display:inline-flex}}
.kpi-group{margin-bottom:1.25rem}
.subgrid{display:grid;gap:1rem;margin-top:1rem}

[hidden]{display:none!important}
.footer{position:fixed;bottom:0;left:var(--sidebar-w);right:0;z-index:25;border-top:1px solid var(--border)}
.content{padding-bottom:4.5rem}
@media(max-width:900px){.footer{left:0}}

.login-people{list-style:none;padding:0;max-width:34rem}.login-people li{display:flex;flex-direction:column;gap:.25rem;padding:1rem;margin:.5rem 0;background:#fdf2f2;border:1px solid #ebc9c9;border-radius:.6rem}.login-people strong{color:#750d0d}.page-guide{padding:1rem;border-left:4px solid #a61616;background:#fdeeee;line-height:1.7}.data .card-note{max-width:24rem;min-width:12rem;white-space:normal}.data td .btn{margin:.25rem}

.health-warning{border-left:4px solid #b45309;background:#fff7e6;padding:.6rem}.delivery-filters{display:flex;flex-wrap:wrap;margin:1rem 0;gap:.7rem}.delivery-filters label{display:flex;flex-direction:column;gap:.3rem}.data td{overflow-wrap:anywhere}.data td:last-child{white-space:normal;max-width:26rem}

.requirement-form{display:grid;gap:.8rem;margin:1rem 0}.requirement-form label{display:flex;flex-direction:column;gap:.3rem}.requirement-form textarea{min-height:5rem}.requirement-event{border-left:3px solid #ebc9c9;padding:.5rem 1rem;margin:.7rem 0}


.overview-content{min-width:0;max-width:none;padding:12px 16px 52px;overflow-wrap:anywhere}
body[data-route="overview"]{--sidebar-w:210px}
body[data-route="overview"] .topbar{padding:9px 16px;gap:8px}
body[data-route="overview"] .topbar-line{font-size:12px;line-height:1.5}
body[data-route="overview"] .topbar-line.muted{font-size:11px}
.overview-header h1{font-size:22px;line-height:1.3;margin:0}
.overview-intro{font-size:12px;line-height:1.4;color:var(--text-muted);margin:4px 0 9px}
.overview-board{display:grid;gap:7px;min-width:0;max-width:100%}
.overview-level{min-width:0;border:1px solid #ecd1d1;border-radius:10px;background:#fdf8f8;padding:7px 9px}
.overview-level-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:5px;font-size:11px;color:#7c5252;line-height:1.4}
.overview-level-head h2{font-size:13px;color:#680c0c;line-height:1.4;margin:0}
.overview-metrics{display:grid;gap:7px;min-width:0}
.overview-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.overview-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.overview-stat{min-width:0;max-width:100%;border:1px solid #e8c4c4;border-left:3px solid #b42222;background:#fff;border-radius:8px;padding:6px 10px;text-align:left;color:#5e1212;cursor:pointer;font:inherit}
.overview-stat-label{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.overview-stat-value{display:block;font-size:29px;line-height:1.1;font-weight:750;margin-top:2px;font-variant-numeric:tabular-nums}
.overview-stat-value small{font-size:11px;font-weight:500;margin-left:5px}
.overview-state-source{background:#680c0c;color:#fff;border-color:#680c0c}
.overview-state-implemented{border-left-color:#15916b;background:#effbf5}
.overview-state-pending,.overview-state-waiting-data{border-left-color:#d38a17;background:#fffaf0}
.overview-state-departed,.overview-state-identity-review{border-left-color:#b89494;background:#f9f5f5}
.overview-stat:disabled,.overview-reason:disabled{cursor:default;opacity:.72}
.overview-stat:not(:disabled):hover,.overview-reason:not(:disabled):hover{border-color:#b51414;box-shadow:0 0 0 1px #b51414}
.overview-stat:focus-visible,.overview-reason:focus-visible{outline:3px solid #de1919;outline-offset:2px}
.overview-reason-heading{font-size:11px;color:#7c5252;line-height:1.3;margin:1px 0 -3px}
.overview-reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr));gap:6px;min-width:0}
.overview-reason{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;max-width:100%;font:inherit;text-align:left;border:1px solid #ecd1d1;border-radius:6px;padding:5px 8px;background:#fff;color:#5e1212;cursor:pointer}
.overview-reason .overview-stat-label{font-size:11px;line-height:1.3}
.overview-reason .overview-stat-value{font-size:17px;line-height:1;margin:0;white-space:nowrap}
.overview-reason .overview-stat-value small{font-size:10px;margin-left:2px}
.overview-secondary{display:flex;flex-wrap:wrap;gap:5px 22px;font-size:12px;line-height:1.5;margin-top:9px;color:#694747}
.overview-secondary strong{color:#7e0e0e;font-size:15px;font-variant-numeric:tabular-nums}
.overview-scope-note{font-size:10px;color:#8b6464;margin:2px 0 6px;line-height:1.3}
.overview-extra{border-top:1px solid #ecd1d1;padding-top:5px;font-size:12px;min-width:0}
.overview-extra>summary{cursor:pointer;color:#941010;line-height:1.5}
.overview-definitions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px;padding:8px 0}
.overview-definitions p{font-size:12px;line-height:1.5;margin:0;color:#694747}
.overview-extra .btn{margin:4px 6px 0 0;font-size:12px;padding:5px 9px}
.teacher-map-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0;padding:8px 12px;background:#fdf1f1;border-radius:8px;min-width:0}
@media(max-height:700px){.overview-content{padding:8px 12px 44px}.overview-header h1{font-size:20px}.overview-intro{font-size:11px;margin-bottom:6px}.overview-board{gap:5px}.overview-level{padding:5px 7px}.overview-level-head{font-size:10px;margin-bottom:3px}.overview-level-head h2{font-size:12px}.overview-stat{padding:4px 8px}.overview-stat-label{font-size:11px}.overview-stat-value{font-size:26px}.overview-secondary{margin-top:6px}.overview-extra .btn{margin-top:3px}}
@media(max-width:640px){.overview-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-level-head{align-items:flex-start;flex-direction:column;gap:2px}.overview-definitions{grid-template-columns:1fr}.overview-stat{padding:5px 6px}}
.teacher-mindmap-shell{display:flex;flex-direction:column;gap:7px;min-width:0;box-sizing:border-box;background:#fff}
.mindmap-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;flex:none}
.mindmap-heading h1{font-size:22px;line-height:1.3;margin:0;color:#680c0c}
.mindmap-perspectives{display:flex;gap:5px;flex-wrap:wrap}
.mindmap-perspectives button{font:inherit;font-size:12px;padding:6px 10px;border:1px solid #e5c8c8;border-radius:7px;background:#fff;color:#774747;cursor:pointer}
.mindmap-perspectives button[aria-pressed="true"]{color:#7e0e0e;background:#fbe6e6;border-color:#bb1515;font-weight:700}
.mindmap-headline{display:flex;gap:18px;align-items:center;background:#fcf0f0;border:1px solid #efc5c5;border-left:4px solid #961111;border-radius:9px;padding:8px 12px;flex:none}
.mindmap-primary{min-width:145px;display:flex;flex-direction:column;gap:2px;color:#7e0e0e}
.mindmap-primary span{font-size:12px}.mindmap-primary strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}
.mindmap-narrative{min-width:0}.mindmap-narrative p{font-size:12px;line-height:1.45;margin:2px 0;color:#6a3838}
.mindmap-tools{display:flex;gap:5px;align-items:center;flex-wrap:wrap;flex:none}
.mindmap-tools button{font:inherit;font-size:12px;color:#7e0e0e;background:#fff;border:1px solid #e4baba;border-radius:6px;padding:5px 9px;cursor:pointer}
.mindmap-tools button:focus-visible,.mindmap-perspectives button:focus-visible{outline:3px solid #de1919;outline-offset:2px}
.mindmap-zoom{font-size:12px;color:#7a4848;min-width:38px;text-align:center;font-variant-numeric:tabular-nums}
.mindmap-tools .mindmap-jump{margin-left:5px;background:#fceaea}
.mindmap-hint{font-size:11px;color:#8b6464;margin-left:auto}
.mindmap-status{font-size:12px;color:#9a4c06;line-height:1.4;margin:0;flex:none}.mindmap-status:empty{display:none}
.mindmap-canvas{position:relative;min-height:0;min-width:0;flex:1;overflow:hidden;border:1px solid #ecd4d4;border-radius:10px;background:linear-gradient(135deg,#fdf8f8,#fff);touch-action:none}
.mindmap-canvas svg{display:block;width:100%;height:100%;font-family:inherit;user-select:none}
.mindmap-canvas.is-zoomed{cursor:grab}.mindmap-canvas.is-zoomed:active{cursor:grabbing}
.mindmap-column-label{font-size:11px;font-weight:600;fill:#966767;letter-spacing:1px}
.mindmap-edge{fill:none;stroke:#d7a5a5;stroke-width:1.8}.mindmap-edge.is-focused{stroke:#b12f2f;stroke-width:2.6}
.mindmap-node>rect{fill:#fff;stroke:#e3b7b7;stroke-width:1.3}
.mindmap-node.is-focused>rect{stroke:#a71414;stroke-width:2.4;fill:#fcecec}
.mindmap-node[role="button"],.mindmap-reason-row{cursor:pointer}.mindmap-node[role="button"]:hover>rect,.mindmap-node[role="button"]:focus>rect,.mindmap-reason-row:focus>rect,.mindmap-reason-row:hover>rect{stroke:#8c1010;stroke-width:2.5;outline:none}
.mindmap-node-title{fill:#622424;font-size:13px;font-weight:650}.mindmap-node-count{fill:#7e0e0e;font-size:25px;font-weight:750;font-variant-numeric:tabular-nums}.mindmap-zero{fill:#9c7575;font-size:17px;font-weight:650}
.map-kind-source>rect{fill:#680c0c;stroke:#680c0c}.map-kind-source .mindmap-node-title,.map-kind-source .mindmap-node-count{fill:#fff}
.map-kind-implemented>rect,.map-kind-implemented.is-focused>rect{fill:#eaf9f0;stroke:#15926d}.map-kind-implemented .mindmap-node-count{fill:#087657}
.map-kind-pending>rect,.map-kind-waiting-data>rect{fill:#fff9ed;stroke:#d0a350}
.map-kind-departed>rect,.map-kind-identity-review>rect{fill:#f8f4f4;stroke:#d5c4c4}
.mindmap-reasons-title{fill:#703939;font-size:12px;font-weight:650}.mindmap-reason-row>rect{fill:transparent;stroke:transparent}.mindmap-reason-row text{fill:#7f5252;font-size:12px}.mindmap-reason-row .mindmap-reason-value{fill:#7e0e0e;font-size:15px;font-weight:700}
.mindmap-foot{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;flex:none;font-size:10px;color:#8b6464;line-height:1.5}
.mindmap-help{font-size:11px;max-width:55%;min-width:150px}.mindmap-help summary{cursor:pointer;color:#941010}.mindmap-help-body{max-height:100px;overflow:auto;line-height:1.6;padding-top:5px}
.teacher-mindmap-shell:fullscreen,.teacher-mindmap-shell.is-page-fullscreen{height:100dvh!important;width:100dvw!important;max-width:none;max-height:none;background:#fff;padding:12px;box-sizing:border-box}
.teacher-mindmap-shell.is-page-fullscreen{position:fixed;inset:0;z-index:1000}
@media(max-height:700px){.teacher-mindmap-shell{gap:5px}.mindmap-heading h1{font-size:20px}.mindmap-perspectives button{padding:4px 7px;font-size:11px}.mindmap-headline{padding:6px 9px;gap:12px}.mindmap-primary strong{font-size:24px}.mindmap-primary{min-width:130px}.mindmap-narrative p{font-size:11px}.mindmap-tools button{padding:4px 7px}.mindmap-hint{font-size:10px}}
@media(max-width:900px){.mindmap-hint{display:none}.mindmap-foot{font-size:10px}.mindmap-help{max-width:50%}}
.map-kind-source.is-focused>rect{fill:#680c0c;stroke:#680c0c}
/* Orthogonal executive map: aligned stages, shared trunks, restrained color. */
.mindmap-canvas{border-color:#eddcdc;background:#fff;box-shadow:inset 0 1px 4px #5a191904}
.mindmap-column-band{fill:#fcf6f6;stroke:none;pointer-events:none}
.mindmap-column-band.is-alternate{fill:#fffcfc}
.mindmap-stage>rect{fill:#f6eaea;stroke:none}
.mindmap-stage-number{font-size:10px;font-weight:750;fill:#9e6f6f;font-variant-numeric:tabular-nums}
.mindmap-column-label{font-size:12px;font-weight:700;fill:#713a3a;letter-spacing:.4px}
.mindmap-edge{stroke:#d0b3b3;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.mindmap-edge.is-focused{stroke:#a63939;stroke-width:2}
.mindmap-node>rect{stroke:#dfc5c5;stroke-width:1;fill:#fff;filter:drop-shadow(0 2px 2px #4d121208)}
.mindmap-node.is-focused>rect{stroke:#a63838;stroke-width:1.5;fill:#fceded}
.mindmap-node-title{font-size:13px;font-weight:650;fill:#6b3636}
.mindmap-node-count{font-size:25px;font-weight:750;letter-spacing:-.6px;fill:#662020}
.mindmap-zero{font-size:15px;fill:#a88484}
.map-kind-source>rect,.map-kind-source.is-focused>rect{fill:#591313;stroke:#591313;filter:drop-shadow(0 3px 4px #59171720)}
.map-kind-source .mindmap-node-title{fill:#f3d7d7}
.map-kind-managed>rect,.map-kind-managed.is-focused>rect{fill:#fbeaea;stroke:#c37474}
.map-kind-implemented>rect,.map-kind-implemented.is-focused>rect{fill:#edf9f1;stroke:#64ad89}
.map-kind-implemented .mindmap-node-title,.map-kind-implemented .mindmap-node-count{fill:#1e7955}
.map-kind-pending>rect,.map-kind-waiting-data>rect{fill:#fffaf0;stroke:#d5b778}
.map-kind-pending .mindmap-node-count,.map-kind-waiting-data .mindmap-node-count{fill:#906323}
.map-kind-departed>rect,.map-kind-identity-review>rect{fill:#f8f5f5;stroke:#e3d5d5}
.map-kind-departed .mindmap-node-count{fill:#957878}
.mindmap-reasons-title{fill:#6b3636;font-size:11px;font-weight:700}
.mindmap-reason-row text{font-size:12px;fill:#8c6161}
.mindmap-reason-row .mindmap-reason-value{font-size:14px;fill:#774b4b}
.mindmap-headline{border-color:#eddada;border-left-color:#9b2b2b;background:linear-gradient(110deg,#fbeded,#fdf8f8)}
.mindmap-perspectives button{border-radius:6px;transition:background .12s ease,border-color .12s ease}
.mindmap-tools button{border-color:#e9d4d4}
@media(prefers-reduced-motion:reduce){.mindmap-perspectives button{transition:none}}

.rollout-detail{max-width:32rem;min-width:14rem;overflow-wrap:anywhere}.rollout-detail summary{cursor:pointer;color:#740d0d;font-weight:600}.rollout-detail p,.rollout-detail li{line-height:1.55}.rollout-detail li{margin-bottom:.7rem}

/* Happy Pocket identity: shared palette and original official logo. */
:root{--cyan-900:#780b11;--cyan-800:#9b111e;--cyan-700:#bd101b;--cyan-600:#d71920;--cyan-500:#e60000;--cyan-100:#ffe5e5;--cyan-50:#fff5f5;--text:#292323;--text-muted:#655a5a;--border:#eadede;--surface:#fffafa}
.sidebar{background:#fff;color:var(--text);border-right:1px solid var(--border);border-top:4px solid var(--cyan-500)}
.sidebar-brand{flex-direction:column;align-items:flex-start;border-bottom-color:var(--border);gap:.6rem}
.brand-logo{display:block;width:100%;max-width:185px;height:auto;object-fit:contain;background:#fff}
.brand-title{color:var(--cyan-800)}
.sidebar .nav-item{color:#504444}
.sidebar .nav-item:hover{background:var(--cyan-50);color:var(--cyan-800)}
.sidebar .nav-item.active,.sidebar .nav-item.is-active{background:var(--cyan-700);color:#fff}
.sidebar .sidebar-close{color:var(--cyan-800)}
.topbar-meta{min-width:0}
.login-brand{width:248px;max-width:75%;height:auto;display:block;margin:0 0 1.5rem}
.map-kind-source>rect,.map-kind-source.is-focused>rect{fill:var(--cyan-800);stroke:var(--cyan-800)}
.map-kind-source .mindmap-node-title,.map-kind-source .mindmap-node-count,.map-kind-source .mindmap-node-meta{fill:#fff}
@media(max-width:650px){.sidebar-brand .brand-logo{max-width:160px}}

/* Brand red marks navigation and emphasis; dark ink carries data. */
:root{--text:#231d20;--text-muted:#51464a}
.topbar-meta,.mindmap-narrative,.mindmap-hint,.mindmap-foot,.mindmap-zoom{color:#45393d}
.mindmap-canvas{background:#fff}
.mindmap-column-band{fill:#faf6f6}.mindmap-stage>rect{fill:#f5e7e8}
.mindmap-stage-number,.mindmap-column-label{fill:#53383b;font-weight:700}
.mindmap-node-title{fill:#332529;font-size:15px;font-weight:700}
.mindmap-node-count{fill:#2f1d21;font-weight:750}
.mindmap-node-meta,.mindmap-zero{fill:#57494d}
.mindmap-reasons-title,.mindmap-reason-row text{fill:#3c3034;font-size:14px}
.mindmap-reason-row .mindmap-reason-value{fill:#352327;font-size:16px}
.map-kind-source .mindmap-node-title,.map-kind-source .mindmap-node-count{fill:white}
.map-kind-implemented .mindmap-node-title,.map-kind-implemented .mindmap-node-count{fill:#13533a}
.map-kind-pending .mindmap-node-count,.map-kind-waiting-data .mindmap-node-count{fill:#6b440e}
.map-kind-departed .mindmap-node-count{fill:#51444a}
