:root{
  --navy:#090a0d;--navy2:#282933;--ink:#171922;--muted:#717582;
  --line:#e4e6eb;--bg:#f5f6f8;--teal:#2877de;--lime:#7efded;
  --blue:#2877de;--aqua:#7efded;--lavender:#d2ceff;--orange:#ff9500;
}
body{background:var(--bg);color:var(--ink)}
.primary{background:var(--blue);border-radius:2px}.secondary{border-radius:2px}.ghost{color:var(--blue)}
.pill,.badge{background:#eaf2ff;color:#135fbf;border-radius:2px}.badge.amber{background:#fff1da;color:#9a5d00}.badge.gray{background:#eff0f3;color:#5d616c}.badge.red{background:#ffebe7;color:#b53d2e}
.manifesto{background:#090a0d}.manifesto h1 em{font-style:normal;color:var(--aqua)}.manifesto p{color:#bdc0ca}.orbit-mark{color:var(--aqua)}
.ring{border-color:#2877de55}.planet{background:var(--aqua)}.core{color:white}.vlabel{color:#aeb3bf}.signin h2{font-size:34px}.signin .pill{background:#eaf2ff}
#sidebar{background:#090a0d}.workspace{color:white}.workspace span{color:#9da2ae}.nav-label{color:#70747d}nav a.active{background:#22242c;color:var(--aqua);border-left:2px solid var(--blue);border-radius:0}nav a:hover{background:#1a1b21}.system-health i{background:var(--aqua)}
.synthetic{color:var(--blue)}.eyebrow{color:var(--blue)}.card{border-radius:2px}.metric{border-radius:2px}.metric.emphasis,.sim-big,.strategic-card{background:#090a0d;border-radius:2px}.metric.emphasis .metric-value,.sim-big .big-number{color:var(--aqua)}
.score{background:#eaf2ff;color:#165fae}.bar-fill{background:var(--blue)}input[type=range]{accent-color:var(--blue)}.progress span{background:var(--blue)}
.radar-callout{background:#eef5ff;border-color:#dce9fb}.event-dot{border-color:var(--blue)}.evidence .e-icon{color:var(--blue);background:#eaf2ff}.step span{background:#eaf2ff;color:var(--blue)}
.annotation{background:#fff7e9;border-color:#f2ddbd}.review-status{background:#eaf2ff}.tab.active{background:#eaf2ff;color:var(--blue)}
.message.user span{background:#eaf2ff}.message.bot{background:#f4f6fa}.message .sources button{color:var(--blue);border-color:#d8e5f8}.suggestion{border-radius:2px;background:#f4f6fa}
.drawer{border-left:4px solid var(--blue)}
.layer-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:#dfe2e8;border:1px solid #dfe2e8;margin-bottom:25px}
.source-node{background:white;padding:15px;min-height:90px;position:relative}.source-node small{display:block;color:#8b8f99;font-size:8px;letter-spacing:.8px;margin-bottom:9px}.source-node b{font-size:12px}.source-node p{font-size:9px;line-height:1.5;color:#777c87;margin-top:8px}.source-node.active{background:#090a0d;color:white}.source-node.active p{color:#aeb2bc}.source-node.active b{color:var(--aqua)}
.layer-bridge{display:flex;align-items:center;justify-content:center;gap:14px;padding:15px 20px;background:#2877de;color:white;margin:-10px 0 25px}.layer-bridge strong{font-size:12px}.layer-bridge span{font-size:10px;opacity:.85}.pulse{height:7px;width:7px;border-radius:50%;background:var(--aqua);box-shadow:0 0 0 5px #7efded22}
.decision-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.decision-card{background:white;border:1px solid var(--line);padding:21px;position:relative}.decision-card:before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:3px;background:var(--blue)}.decision-card.risk:before{background:var(--orange)}.decision-card.growth:before{background:var(--aqua)}.decision-card .kicker{font-size:8px;letter-spacing:1px;color:#818691;margin-bottom:12px}.decision-card h3{font-size:15px;line-height:1.45;margin-bottom:9px}.decision-card p{font-size:10px;line-height:1.65;color:#737985}.decision-card .confidence{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding-top:14px;border-top:1px solid var(--line);font-size:9px}.decision-card .confidence b{font-size:12px;color:var(--blue)}
.impact-band{display:grid;grid-template-columns:1.2fr repeat(3,1fr);background:#090a0d;color:white;margin-bottom:23px}.impact-band>div{padding:22px;border-right:1px solid #ffffff18}.impact-band>div:last-child{border:0}.impact-band small{display:block;font-size:8px;letter-spacing:1px;color:#9ea3ae;margin-bottom:10px}.impact-band b{font-family:Manrope;font-size:23px}.impact-band .intro b{font-size:14px;color:var(--aqua)}.impact-band p{font-size:9px;color:#aeb3bd;line-height:1.55;margin-top:7px}
.forecast-card{padding:22px}.forecast-head{display:flex;justify-content:space-between;gap:15px}.forecast-head h3{font-size:15px}.forecast-head p{font-size:10px;color:var(--muted);margin-top:7px}.confidence-pill{font-size:9px;background:#eaf2ff;color:var(--blue);padding:7px 9px;height:max-content}.forecast-line{position:relative;height:82px;margin:20px 0 12px;border-bottom:1px solid #dfe2e8;background:linear-gradient(180deg,#2877de12,transparent);overflow:hidden}.forecast-line svg{position:absolute;inset:0;width:100%;height:100%}.forecast-factors{display:flex;gap:7px;flex-wrap:wrap}.forecast-factors span{font-size:8px;padding:5px 7px;background:#f0f1f4;color:#6a6e78}.forecast-foot{font-size:9px;color:#7f848e;line-height:1.55;margin-top:14px}.forecast-foot b{color:var(--ink)}
.nba-list{display:flex;flex-direction:column}.nba-row{display:grid;grid-template-columns:44px 1.4fr .8fr .8fr auto;gap:15px;align-items:center;padding:17px 21px;border-bottom:1px solid var(--line);background:white}.nba-row:last-child{border:0}.nba-index{font-family:Manrope;font-size:20px;color:#a6aab3}.nba-row h3{font-size:12px;margin-bottom:5px}.nba-row p{font-size:9px;color:var(--muted);line-height:1.55}.nba-cell small{display:block;font-size:8px;letter-spacing:.7px;color:#8a8e98;margin-bottom:7px}.nba-cell b{font-size:11px}.nba-actions{display:flex;gap:6px}.nba-actions button{padding:8px 10px}
.graph-stage{min-height:440px;background:#090a0d;position:relative;overflow:hidden;border-radius:2px}.graph-stage:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:32px 32px}.graph-core,.graph-node{position:absolute;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;z-index:2}.graph-core{width:110px;height:110px;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--blue);color:white;font-weight:700;box-shadow:0 0 0 18px #2877de22}.graph-node{width:88px;height:88px;background:#fff;color:#20222a;font-size:9px;border:5px solid #ffffff1f;box-shadow:0 8px 30px #0005}.graph-node b{display:block;font-size:11px;margin-bottom:4px}.gn1{left:10%;top:16%}.gn2{right:12%;top:12%}.gn3{left:13%;bottom:12%}.gn4{right:10%;bottom:14%}.graph-line{position:absolute;height:1px;background:linear-gradient(90deg,#2877de22,#7efded,#2877de22);transform-origin:left;z-index:1}.gl1{width:38%;left:18%;top:28%;transform:rotate(21deg)}.gl2{width:37%;left:50%;top:50%;transform:rotate(-29deg)}.gl3{width:36%;left:19%;top:72%;transform:rotate(-25deg)}.gl4{width:36%;left:50%;top:50%;transform:rotate(31deg)}
.gen-layout{display:grid;grid-template-columns:300px 1fr;gap:20px}.gen-controls .card-body{display:flex;flex-direction:column;gap:9px}.gen-controls button{width:100%;text-align:left;padding:13px;background:#f4f5f8;border:1px solid #e5e7ec;color:#343740;font-size:10px}.gen-controls button.active{border-color:var(--blue);background:#eaf2ff;color:#135fbf}.generated{min-height:520px}.generated-document{padding:28px}.generated-document .doc-top{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.generated-document h2{font-size:23px}.generated-document h3{font-size:11px;letter-spacing:.8px;margin:22px 0 9px}.generated-document p,.generated-document li{font-size:11px;line-height:1.75;color:#5e6470}.generated-document ul{padding-left:18px}.source-tag{font-size:8px;color:var(--blue);background:#eaf2ff;padding:4px 6px;margin-left:4px}.gen-warning{padding:12px;background:#fff7e9;color:#815e1c;font-size:9px;line-height:1.6;margin-top:20px}
.integration-table td:first-child{font-weight:700}.integration-state{display:inline-flex;align-items:center;gap:6px;font-size:9px}.integration-state i{width:6px;height:6px;border-radius:50%;background:var(--blue)}.integration-state.sim i{background:var(--orange)}
.memory-timeline{position:relative;padding-left:22px}.memory-timeline:before{content:"";position:absolute;left:5px;top:5px;bottom:5px;width:1px;background:#d8dbe2}.memory-item{position:relative;padding:0 0 19px}.memory-item:before{content:"";position:absolute;left:-20px;top:5px;width:7px;height:7px;border-radius:50%;background:var(--blue)}.memory-item small{font-size:8px;color:#999da7}.memory-item h4{font-size:11px;margin:5px 0}.memory-item p{font-size:9px;color:#777c87;line-height:1.55}
.system-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.legend-card{padding:14px;border:1px solid var(--line);background:white}.legend-card small{font-size:8px;color:#8d919b;display:block;margin-bottom:7px}.legend-card b{font-size:11px}.legend-card p{font-size:9px;line-height:1.55;color:#777c86;margin-top:7px}
@media(max-width:1000px){.layer-strip{grid-template-columns:1fr 1fr}.decision-grid{grid-template-columns:1fr 1fr}.impact-band{grid-template-columns:1fr 1fr}.gen-layout{grid-template-columns:1fr}.system-legend{grid-template-columns:1fr 1fr}.nba-row{grid-template-columns:35px 1fr auto}.nba-row .nba-cell{display:none}}
@media(max-width:600px){.layer-strip,.decision-grid,.impact-band,.system-legend{grid-template-columns:1fr}.source-node{min-height:auto}.layer-bridge{align-items:flex-start;flex-direction:column}.graph-stage{min-height:480px}.graph-node{width:75px;height:75px}.gn1{left:4%}.gn2{right:4%}.gn3{left:5%}.gn4{right:4%}.graph-core{width:95px;height:95px}.nba-row{padding:15px 12px;gap:9px}.manifesto h1{font-size:34px}}
