
:root{--surface:#03182c;--edge:#0874a5;--cyan:#4cefff;--green:#4effbf;--red:#ff667d}
.ref{background:#020e1c;font-size:clamp(12px,.88vw,16px)}.ref a{color:#d8f6ff}.ref-shell{max-width:1800px;margin:auto;padding:0 12px}.ref-head{min-height:96px;display:grid;grid-template-columns:1fr 1.35fr 1fr;align-items:center;text-align:center;gap:12px;background:url(header-globe.png) 72% top/auto 100% no-repeat}.ref[data-route=time-machine] .ref-head{background-image:url(header-clock.png)}.ref-head h1{font-size:clamp(26px,3vw,49px);margin:0;color:#e8fbff;text-shadow:0 0 12px #008cca;line-height:1.13}.ref-head b{font-size:clamp(17px,2.1vw,36px)}.ref-head strong{display:block;color:#62f5ff;font-size:clamp(13px,1.35vw,22px);letter-spacing:.07em}.ref-head small{color:#a7efff}.ref-brand{direction:rtl;text-decoration:none}.ref-brand span{color:#48e9ff;display:block;letter-spacing:.14em}.ref-nav,.ref-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid #08628b;border-radius:14px;background:linear-gradient(180deg,#08223c,#031023);padding:6px 12px;margin:6px 0 12px}.ref-nav a,.ref-foot a{white-space:nowrap;text-decoration:none;padding:6px 11px}.ref-nav .active{background:#005e87;box-shadow:inset 0 0 9px #0bd4fd;border-radius:7px}.ref-nav label{margin-inline-start:auto}.ref-nav input{max-width:155px;border:1px solid #295579;border-radius:8px;background:#102840;color:#fff;padding:6px;font:inherit}.ref-grid{display:grid;direction:ltr;grid-template-columns:minmax(0,22fr) minmax(0,53fr) minmax(0,23fr);gap:10px}.ref-twin{grid-template-columns:minmax(0,26fr) minmax(0,72fr)}.ref-col,.ref-stack{display:grid;align-content:start;gap:10px;min-width:0}.ref-box{direction:rtl;min-width:0;border:1px solid var(--edge);border-radius:11px;background:linear-gradient(140deg,#061f35,#031326 55%);box-shadow:inset 0 0 20px #00558535;overflow:hidden}.ref-box h2{margin:0;padding:6px 10px;font-size:1.12em;background:linear-gradient(90deg,#0a2b46aa,#0e2b4380);border-bottom:1px solid #15517280}.ref-box h2 span{color:var(--cyan);margin-inline-end:7px}.ref-body{padding:8px 10px}.ref-box p{margin:.4em 0;line-height:1.55}.ref-box table{width:100%;border-collapse:collapse;font-size:.92em}.ref-box th,.ref-box td{padding:.34em .23em;border-bottom:1px solid #124063;text-align:start}.ref-box td[dir=ltr]{text-align:right;font-variant-numeric:tabular-nums}.up{color:var(--green)}.down{color:var(--red)}.ref-chart{height:clamp(165px,13vw,245px);width:100%;display:block;border:0;border-radius:0;margin:0}.ref-col .mini-chart{height:clamp(115px,9vw,162px)}.ref-chart-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin-bottom:5px}.ref-chart-head strong{font-size:1.5em}.ref-controls{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.ref button,.ref select{background:#102a43;border:1px solid #216085;border-radius:6px;color:#e4f6ff;padding:.29em .6em;font:inherit}.ref button:hover,.ref button[aria-pressed=true]{background:#006389;box-shadow:inset 0 0 7px #23d9ff}.ref input[type=range]{accent-color:#30dafa;min-width:80px}.ref-half,.ref-third,.ref-four{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.ref-third{grid-template-columns:repeat(3,minmax(0,1fr))}.ref-four{grid-template-columns:repeat(4,minmax(0,1fr))}.ref-wide{grid-column:span 2}.ref-chip{background:#0b2941;border:1px solid #205477;border-radius:7px;padding:5px;text-align:center}.ref-chip strong{display:block;font-size:1.18em}.ref-gauge{max-width:290px;height:135px;margin:auto}.ref-cloud{min-height:80px;background:url(market-cloud.png) left center/auto 100% no-repeat;padding:8px 8px 7px 40%;color:#70ffdc}.ref-cloud strong{font-size:1.6em}.map-art,.twin-art{width:100%;height:auto;display:block}.map-art{aspect-ratio:3.64;object-fit:cover}.ref-events{margin:0;padding:0;list-style:none}.ref-events li{padding:.49em .26em;border-bottom:1px solid #153f5e}.ref-events time{float:left;color:var(--cyan);direction:ltr}.ref-alert{border-color:#a92d52;background:linear-gradient(155deg,#26162a,#071426 50%)}.ref-scenario{min-height:95px;padding:7px 10px;border-radius:9px;border:1px solid #1c95bf;background:#10304a}.ref-scenario.up{border-color:#168f75;background:#053b3d}.ref-scenario.down{border-color:#a94259;background:#331c30}.ref-scene{position:relative;aspect-ratio:914/440;background:url(universe-scene.png) center/100% 100% no-repeat;overflow:hidden}.ref-planets{position:absolute;inset:0}.ref-planets button{position:absolute;border:2px solid transparent;background:transparent;color:transparent;width:16%;height:28%;border-radius:50%;transform:translate(-50%,-50%);padding:0}.ref-planets button:hover,.ref-planets button[aria-pressed=true]{border-color:#7cfcff;background:#07a7ed17;box-shadow:0 0 17px #0898dd}.ref-planets button:nth-child(1){left:47%;top:15%}.ref-planets button:nth-child(2){left:78%;top:28%}.ref-planets button:nth-child(3){left:19%;top:32%}.ref-planets button:nth-child(4){left:19%;top:69%}.ref-planets button:nth-child(5){left:50%;top:80%}.ref-planets button:nth-child(6){left:80%;top:65%}.ref-matrix td{padding:2px;text-align:center;background:#0b3840}.ref-matrix td.down{background:#50263c}.sector{min-height:37px}.heat .up{background:linear-gradient(135deg,#008656,#063734)}.heat .down{background:linear-gradient(135deg,#733044,#272338)}.ref-strip{display:flex;gap:6px;overflow-x:auto;padding:3px 1px}.ref-strip button{flex:1 0 auto;min-width:68px}.ref-meter{display:grid;grid-template-columns:1fr 3em 1fr;align-items:center;gap:5px;padding:.37em 0}.ref-meter i{height:10px;border-radius:10px;background:linear-gradient(90deg,#8c1746,#ff637a)}.ref-note{color:#a8c9dd}.ref-foot{direction:rtl;justify-content:center;flex-wrap:wrap;margin-top:12px}.ref-foot a{color:#8df2ff}.ref-twintop{grid-template-columns:1fr 1fr 1.3fr}.ref-bottom{display:grid;grid-template-columns:2fr 3fr;gap:10px;margin-top:10px}.ref-well{padding:8px;border:1px solid #20739b;border-radius:7px;background:#06314a}.ref-pct{font-size:1.65em;font-weight:800}.ref-visuals{direction:ltr}.ref-visuals>*{direction:rtl}.ref-command-lower{grid-template-columns:2.55fr 1fr}.ref .ref-hidden{display:none}.ref-time-controls{display:grid;grid-template-columns:auto auto 1fr;gap:6px;align-items:center}.ref-status{margin:3px 0;color:#f8cc85;text-align:center;font-size:.78rem}
@media(min-width:1051px){.ref-command-layout{grid-template-areas:'left center right' 'left scenario scenario'}.ref-command-layout>.left{grid-area:left}.ref-command-layout>.center{grid-area:center}.ref-command-layout>.right{grid-area:right}.ref-command-layout>.scenes{grid-area:scenario}}
@media(max-width:1050px){.ref-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.ref-grid>.right{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.ref-grid>.scenes{grid-column:1/-1}.ref-nav{overflow:auto;justify-content:flex-start}.ref-head{background-position:78% top}}
@media(max-width:720px){.ref-shell{padding:0 7px}.ref-head{grid-template-columns:1fr;background-position:right top;padding:10px 0;gap:4px}.ref-head .ref-sidebrand{display:none}.ref-head .ref-brand b{font-size:16px}.ref-head .ref-brand span{display:none}.ref-grid,.ref-bottom{grid-template-columns:minmax(0,1fr)}.ref-grid>.center{grid-row:1}.ref-grid>.right{grid-template-columns:minmax(0,1fr)}.ref-half,.ref-third,.ref-twintop,.ref-command-lower{grid-template-columns:minmax(0,1fr)}.ref-four{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-time-controls{grid-template-columns:auto auto minmax(0,1fr)}.ref-chart{height:185px}.ref-planets button{min-width:29px;min-height:25px}.ref-status{font-size:.7rem}}

.ref main{max-width:none;padding:0}.ref .spark{width:3.2em;height:1.45em;margin:0;border:0;border-radius:0}.ref .historical-strip{margin-top:10px}.ref meter{width:100%;min-width:0;accent-color:#ff667d}.ref #risk-cap{display:block;width:100%}.ref-matrix{table-layout:fixed}.ref-matrix th,.ref-matrix td{overflow-wrap:anywhere}
.ref .ref-brand img{display:block;width:min(78%,250px);height:auto;margin:auto;border-radius:4px}.ref .scenario-line{width:37%;height:32px;float:left;margin:1px 3px;border:0;border-radius:0}.ref .ref-sidebrand b{font-size:clamp(16px,1.5vw,25px);display:inline-block;padding:0 .7em;border:1px solid #197ca8;border-radius:6px;color:#67f4ff}.ref .ref-sidebrand p{margin:6px}.ref .ref-box h2{text-shadow:0 0 8px #007abf55}.ref .ref-status{margin:0 0 6px}.ref .ref-scenario{box-shadow:inset 0 0 13px #25bcde26}
@media(max-width:720px){.ref .ref-brand img{width:110px}.ref .ref-sidebrand{display:none}}
