@font-face{font-family:Pixel;src:url('/assets/fonts/fusion-pixel-12px.woff2') format('woff2');font-display:swap}:root{--ink:#302e24;--paper:#d5c393;--light:#eee0b5;--wood:#65533b;--sea:#2b6b6b;--muted:#786e53;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:#152f30;color:var(--ink);font:12px Pixel,monospace}button,input,a{touch-action:manipulation}button{font:inherit;color:var(--ink);background:var(--paper);border:2px solid #302e24;border-radius:0;padding:10px 12px;box-shadow:inset 2px 2px #eee0b5,inset -2px -2px #9b875c,2px 3px #141e1c;cursor:pointer}button:hover{background:#ead59a}button:active{transform:translateY(2px)}button:focus-visible,a:focus-visible{outline:2px solid #e9bd4d;outline-offset:3px}h1,h2,h3,h4,p{font-weight:normal}header{height:85px;display:flex;align-items:center;justify-content:space-between;padding:12px 26px;border-bottom:4px solid #102f30;box-shadow:0 2px #568b77;background:#244f4d;color:var(--light)}.brand{display:flex;align-items:center;gap:14px}.logo{color:#e6bb50;font-size:36px;text-shadow:3px 3px #151f1b}h1{font-size:24px;margin:0}h1 span{font-size:12px;color:#b6c7a5;margin-left:16px}.brand p{font-size:12px;color:#9fb39a;margin:7px 0 0}.header-right{display:flex;align-items:center;gap:20px;font-size:12px}.live{color:#d5c393}#clock{color:#9fb39a}main{max-width:1800px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;padding:22px 24px}.workspace{display:grid;grid-template-columns:133px minmax(0,1fr);gap:14px;align-content:start;min-width:0}.section-heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;color:var(--light);margin:0 0 1px}.eyebrow{font-size:12px;color:#9caf91;letter-spacing:2px}h2{font-size:24px;margin:8px 0}.count{background:#233f39;border:2px solid #6b8b6e;padding:7px 14px;display:flex;align-items:center;gap:12px;box-shadow:3px 3px #112724}.count strong{font-size:24px;color:#e6bb50}.count span{font-size:12px}nav{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:6px;background:#70644c;border:3px solid #202c25;box-shadow:inset 2px 2px #a1946c,3px 3px #102b2b;padding:8px;height:100%}nav button{flex:1;min-height:48px;text-align:left;font-size:18px;padding:8px 10px}nav b{float:right;font-size:12px;font-weight:normal;line-height:24px;color:#6a6045}nav button.active{background:#ac9d6a;color:#1b4039;box-shadow:inset 2px 2px #675b3f,inset -2px -2px #e4d1a0}nav button.active:before{content:'›';margin-right:5px;color:#fff0b2}.map-frame{grid-column:2;grid-row:2;position:relative;border:6px solid #174744;outline:2px solid #8ca584;box-shadow:inset 0 0 0 2px #70a98b,5px 5px #0e2525;background:var(--sea);padding:4px}.map-frame:before,.map-frame:after{content:'◆';position:absolute;z-index:3;color:#bdaf78;font-size:18px;top:-15px;background:#174744}.map-frame:before{left:-12px}.map-frame:after{right:-12px}.map-top{position:absolute;top:16px;left:18px;z-index:2;background:var(--paper);border:3px solid #332e23;box-shadow:inset 2px 2px #eee0b5,inset -2px -2px #9e8961,4px 4px #1b3d37;padding:11px 16px;font-size:12px}.map-top>span:first-child{font-size:18px}.map-top>span:last-child{display:block;font-size:10px;color:#746346;margin-top:5px}.map-tools{position:absolute;right:16px;bottom:52px;display:flex;gap:6px;z-index:3}.map-tools button{width:32px;height:32px;font-size:20px;padding:0}#map-wrap{width:100%;aspect-ratio:2;position:relative;overflow:hidden}canvas{width:100%;display:block;cursor:crosshair;image-rendering:pixelated;image-rendering:crisp-edges}#region-banner{position:absolute;bottom:12px;right:22px;min-width:210px;max-width:65%;padding:9px 18px;background:var(--paper);border:2px solid #302e24;box-shadow:3px 3px #173d36;text-align:center;font-size:12px;pointer-events:none}#region-banner:before{content:'◆';margin-right:12px;color:#88734b}.map-bottom{display:flex;justify-content:space-between;gap:10px;color:#bacbb0;border-top:2px solid #70a98b;padding:9px 6px 3px;font-size:10px}.map-bottom>span:last-child{display:none}.map-notes{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;color:#a5b59c;font-size:12px}.map-notes button{padding:5px 8px;font-size:12px}.timeline,.market,.feed-panel,.sources{background:var(--paper);border:4px solid #514631;box-shadow:inset 2px 2px #eddfb4,inset -2px -2px #a49268,3px 3px #0f2423}.timeline{grid-column:1/-1;padding:14px 16px}.timeline-title{display:flex;align-items:center;gap:12px}.timeline-title>span{font-size:16px}.timeline-title strong{font-size:12px;margin-left:auto;font-weight:normal;color:#315b49}.timeline-title button{padding:5px 8px}.scrubber{display:flex;gap:12px;margin-top:12px;align-items:center}.scrubber button{padding:4px 8px}.scrubber input{flex:1;min-width:0;accent-color:#456c4b;height:8px}.ticks{display:flex;justify-content:space-between;font-size:10px;margin:10px 0 0 40px;color:#77694c}.timeline p{font-size:10px;margin:12px 0 0;color:#77694c}.market{grid-column:1/-1;padding:14px 16px}.market-title,.panel-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.market-title h3,.panel-title h3{font-size:18px;margin:0}.market-title>span,.panel-title>span{font-size:10px;color:#766546}#markets{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.market-card{padding:10px;text-align:left;background:#c8b780;font-size:12px}.market-card strong{display:block;font-size:24px;font-weight:normal;margin:12px 0 6px}.market-card small{display:block;color:#756449;font-size:10px;margin-top:7px}.up{color:#315c38}.down{color:#a24930}aside{min-width:0;padding-top:0}.panel-title{background:#b5a16c;border-bottom:3px solid #665438;padding:14px 12px}.feed-tabs{display:flex;justify-content:space-between;padding:12px;font-size:10px;color:#756449;border-bottom:1px solid #a9996a}#feed{height:536px;overflow:auto;scrollbar-width:thin;scrollbar-color:#877149 #c2af7e}.event-row{width:100%;display:block;text-align:left;border:0;border-bottom:1px dashed #a69364;background:transparent;box-shadow:none;padding:13px 12px}.event-row:hover{background:#e0cfa0}.row-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#766546}.row-meta span{color:#704831!important}.event-row h4{font:12px/1.9 Pixel,monospace;margin:8px 0}.row-source{font-size:10px;color:#827054;line-height:1.7}.sources{margin-top:16px}.source-row{display:flex;justify-content:space-between;padding:10px;font-size:10px;border-bottom:1px dashed #a69364}.source-row small{color:#827054}.status-ok{color:#315c38}.status-error,.status-cache,.status-partial{color:#995331}.sources p{font-size:10px;line-height:1.8;padding:0 10px;color:#756449}.empty{font-size:12px;padding:12px;line-height:1.8}footer{display:flex;justify-content:space-between;margin:0 24px;padding:15px 0 20px;border-top:2px solid #497067;color:#9eb198;font-size:10px;gap:20px}footer b{font-weight:normal;margin-left:12px}dialog{width:620px;max-width:calc(100% - 32px);max-height:86vh;overflow:auto;background:var(--paper);border:6px solid #5d4b32;outline:2px solid #b09a68;box-shadow:inset 2px 2px #f0deb1,inset -2px -2px #927d50,8px 8px #102a29;color:var(--ink);padding:22px;font:12px Pixel,monospace}dialog::backdrop{background:#112e2dd9}.dialog-top{display:flex;justify-content:space-between;align-items:center;color:#76603c}.dialog-top button{font-size:24px;padding:0 8px}dialog h2{font-size:24px;line-height:1.6;margin:20px 0}dl{display:grid;grid-template-columns:84px 1fr;gap:12px;line-height:1.8}dt{color:#7f6b48}dd{margin:0;overflow-wrap:anywhere}dialog p{font-size:12px;line-height:1.8;color:#7d6541}dialog a{display:inline-block;color:#284f3d;background:#bdb680;border:2px solid #776640;text-decoration:none;padding:9px 12px;line-height:1.8;margin-top:8px}#region-events{max-height:180px;overflow:auto}.region-event{display:block;font-size:12px} @media(min-width:1600px){#feed{height:620px}}@media(max-width:1100px){main{padding:16px;grid-template-columns:minmax(0,1fr) 260px;gap:12px}.workspace{grid-template-columns:108px minmax(0,1fr);gap:10px}nav button{font-size:14px;padding:6px}nav b{font-size:10px}.header-right #clock{display:none}h1 span{display:none}.map-top{top:10px;left:10px;padding:8px}.map-top>span:first-child{font-size:12px}.map-top>span:last-child{font-size:8px}.map-bottom{font-size:8px}#region-banner{min-width:150px;right:12px;font-size:10px}#markets{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){header{height:74px;padding:10px 14px}.logo{font-size:24px}.brand{gap:8px}h1{font-size:24px}.brand p{font-size:9px}.header-right .live{display:none}#refresh{font-size:10px;padding:8px}main{display:block;padding:14px 10px}.workspace{grid-template-columns:70px minmax(0,1fr);gap:8px}.eyebrow{font-size:9px;letter-spacing:0}.section-heading h2{font-size:24px}.count{padding:6px;gap:5px}.count span{font-size:9px}.count strong{font-size:18px}nav{padding:4px;gap:4px}nav button{min-height:30px;font-size:12px;padding:4px}nav b{display:none}.map-frame{padding:2px;border-width:3px}#map-wrap{aspect-ratio:1;display:flex;align-items:center}canvas{flex:none}.map-top{top:7px;left:7px;padding:6px}.map-top>span:last-child{display:none}.map-tools{bottom:52px;right:8px}.map-tools button{width:25px;height:25px;font-size:18px}#region-banner{min-width:0;max-width:90%;font-size:9px;bottom:8px;padding:7px 8px;right:8px}.map-bottom{height:34px;font-size:8px;line-height:1.6}.map-notes{font-size:9px;line-height:1.8;gap:10px}.map-notes button{font-size:10px;flex-shrink:0}.timeline,.market{padding:12px 10px}.timeline-title{flex-wrap:wrap;gap:8px}.timeline-title>span{font-size:12px}.timeline-title strong{font-size:10px}.timeline-title button{font-size:10px}.ticks{font-size:8px;margin-left:0}.timeline p{font-size:9px;line-height:1.8}.market-title h3{font-size:16px}.market-title>span{font-size:8px}aside{margin-top:18px}#feed{height:380px}footer{margin:0 12px;display:block;font-size:9px;line-height:2}dialog{padding:15px}dialog h2{font-size:18px}dl{grid-template-columns:72px 1fr;font-size:12px}}

#map-wrap{display:flex;justify-content:center;align-items:center;aspect-ratio:auto}canvas{flex:none}.resource-ledger{border:2px solid #302e24;box-shadow:inset 2px 2px #a18b5b;background:#5d553e;color:#ead7a1;padding:10px 5px;font-size:12px;text-align:center}.resource-ledger strong{display:block;color:#e6bb50;font-size:24px;margin:8px 0;font-weight:normal}.resource-ledger small{font-size:8px}.map-tools{bottom:90px}.map-bottom{min-height:27px}.map-top>span:first-child{font-size:14px}nav button{min-height:40px}@media(max-width:760px){.workspace{grid-template-columns:1fr}nav{grid-row:auto;grid-column:1;flex-direction:row;flex-wrap:wrap;height:auto}nav button{flex:1;min-width:58px;min-height:32px}.resource-ledger{display:none}.map-frame{grid-column:1;grid-row:auto}#map-wrap{justify-content:center}.map-tools{bottom:75px}.map-top{left:8px;top:8px}.map-top>span:first-child{font-size:12px}.map-notes,.timeline,.market{grid-column:1}#region-banner{bottom:6px}}

nav button{min-height:34px}.map-frame{align-self:start}.map-bottom:before,.map-bottom:after{content:'◆';position:absolute;bottom:-13px;font-size:18px;color:#bdaf78;background:#174744}.map-bottom:before{left:-12px}.map-bottom:after{right:-12px}
.map-frame,#map-wrap{min-width:0}.workspace{grid-template-columns:133px minmax(0,1fr)}@media(max-width:1100px){.workspace{grid-template-columns:108px minmax(0,1fr)}}@media(max-width:760px){.workspace{grid-template-columns:minmax(0,1fr)}}
.layer-heading{font-size:10px;color:#efe1b4;text-align:center;padding:3px 0 7px}nav button{font-size:16px;text-align:left;flex:0 0 auto;padding:8px 7px;min-height:38px}nav button:before{content:'□';color:#82744e;margin-right:5px}nav button.active:before{content:'■';color:#315b46;margin-right:5px}nav button:not(.active){background:#a89c77;color:#5b543d;box-shadow:inset 1px 1px #d1c39b,inset -1px -1px #7d704e}.tactical-bar{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px}.tactical-bar>div{display:flex;gap:7px;flex-wrap:wrap}.tactical-bar button{font-size:11px;padding:6px 9px}.tactical-bar>span{font-size:10px;color:#bec4a2}.key{display:inline-block;width:7px;height:7px;margin:0 4px 0 10px;background:#df8c60}.key.econ{background:#e6bb50}.key.cool{background:#88d6c6}.trend-panel{grid-column:1/-1;background:#d5c393;border:4px solid #514631;padding:14px 16px;box-shadow:inset 2px 2px #eddfb4,inset -2px -2px #a49268,3px 3px #0f2423}.trend-panel[hidden]{display:none}.trend-panel h3{font-size:17px}.trend-panel label{font-size:10px;white-space:nowrap}.trend-panel select{font:10px Pixel;color:#302e24;background:#e1d2a8;border:2px solid #766440;padding:5px}.trend-panel p{font-size:10px;color:#756449;margin:10px 0}.trend-note{line-height:1.8}.trend-panel .market-title>span{margin-left:auto}#trend-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.trend-card{padding:9px 10px;text-align:left;background:#c7b783;min-width:0;position:relative}.trend-card>span{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.trend-card strong{display:block;font-size:20px;margin:8px 0;color:#8e502c;font-weight:normal}.trend-card.down strong{color:#2f7364}.trend-card.flat strong{color:#77764b}.trend-card small{font-size:9px;display:block}.spark{position:absolute;right:10px;bottom:28px;image-rendering:pixelated;cursor:inherit}.map-top>span:last-child{font-size:9px}.map-notes{font-size:10px}.map-frame{overflow:visible}.resource-ledger{padding:8px 3px}.resource-ledger strong{font-size:20px;margin:6px 0}#trend-panel .spark{width:80px!important;height:20px!important}@media(max-width:1100px){nav button{font-size:12px}nav b{font-size:9px}#trend-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tactical-bar>span{display:none}}@media(max-width:760px){nav .layer-heading{flex:0 0 100%;text-align:left;padding:4px}nav button{flex:1;min-width:72px;font-size:12px}.tactical-bar button{font-size:10px;padding:5px 7px}.trend-panel{padding:12px 9px}.trend-panel h3{font-size:12px}.trend-panel .market-title{flex-wrap:wrap}.trend-panel .market-title>span{font-size:8px}.trend-card{padding:8px}.trend-card strong{font-size:18px}.trend-card small{font-size:8px}#trend-panel .spark{width:60px!important;height:15px!important;right:7px}.trend-card>span{font-size:9px}.map-notes{font-size:9px}}

.map-frame{align-self:stretch;display:flex;flex-direction:column}#map-wrap{flex:1}nav{height:auto}.trend-card small{color:#756449}.trend-card>span{color:#443c2b}.trend-card:hover{background:#ddc894}.map-notes{margin-top:0}@media(max-width:760px){.map-frame{display:block}}
.route-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.route-chip{background:#244e46;border:1px solid #829168;box-shadow:inset 1px 1px #49765b,2px 2px #102723;padding:8px;text-align:left;color:#e6d5a1;min-width:0}.route-chip:hover{background:#3a6250}.route-chip>span{display:block;color:#d6ad5c;font-size:9px}.route-chip.conflict>span{color:#df8c60}.route-chip strong{display:block;font-size:12px;font-weight:normal;margin:6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-chip small{color:#99b394;font-size:9px}.route-empty{font-size:10px;color:#9fb398;grid-column:1/-1;padding:5px}@media(max-width:760px){.route-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.route-chip strong{font-size:11px}.tactical-bar{flex-wrap:wrap}}

/* The map owns the viewport; supporting information opens above it. */
body{height:100dvh;overflow:hidden}header{height:72px}main{display:block;max-width:none;height:calc(100dvh - 142px);padding:14px 18px 8px}.workspace{height:100%;grid-template-columns:112px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px}nav{grid-row:1;min-height:0;overflow:auto;gap:7px}.map-frame{grid-row:1;min-height:0}#map-wrap{min-height:0;touch-action:none}#map{cursor:grab}#map.dragging{cursor:grabbing}.map-bottom{flex-shrink:0}.map-tools{bottom:72px}.tactical-bar{grid-row:2}.bottom-dock{height:70px;padding:4px 18px 10px;display:flex;align-items:center;justify-content:space-between;gap:20px}.bottom-dock .map-notes{gap:14px}.drawer-tabs{display:flex;gap:8px}.drawer-tabs button{padding:9px 14px}.drawer-tabs button[aria-expanded=true]{background:#e9d59d}.drawer{position:fixed;z-index:8;right:22px;bottom:78px;width:min(620px,calc(100vw - 44px));max-height:calc(100dvh - 174px);overflow:auto;background:var(--paper);border:4px solid #514631;box-shadow:6px 6px #102a29}.drawer[hidden],.drawer-page[hidden]{display:none}.drawer-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;background:#b5a16c;border-bottom:3px solid #665438;padding:7px 12px;font-size:18px}.drawer-heading button{padding:0 8px;font-size:24px}.drawer-page{padding:10px}.drawer .feed-panel,.drawer .trend-panel,.drawer .timeline,.drawer .market,.drawer .sources{box-shadow:none}.drawer .sources{margin-top:0}.drawer #feed{height:340px}.drawer .route-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.drawer .market-title{flex-wrap:wrap}.drawer #trend-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer .spark{opacity:.65}.map-top{pointer-events:none}#zoom-level{align-self:center;color:#eee0b5;background:#244f4d;padding:5px}
@media(max-width:760px){header{height:64px}main{height:calc(100dvh - 168px);padding:8px}.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:7px}nav{grid-row:1;overflow:visible;flex-wrap:nowrap;padding:4px;gap:3px}nav .layer-heading,.resource-ledger{display:none}nav button{min-width:0;min-height:30px;padding:4px 2px;font-size:10px}nav button:before{display:none}.map-frame{grid-row:2;display:flex}.map-top{padding:6px}.map-top>span:first-child{font-size:10px}.map-tools{bottom:65px}.tactical-bar{grid-row:3}.tactical-bar>div{gap:5px}.bottom-dock{height:104px;display:flex;flex-direction:column;gap:6px;padding:3px 8px 8px}.bottom-dock .map-notes{width:100%;justify-content:space-between}.drawer-tabs{width:100%;gap:4px}.drawer-tabs button{flex:1;min-width:0;padding:8px 2px;font-size:10px}.drawer{right:8px;bottom:108px;width:calc(100vw - 16px);max-height:calc(100dvh - 182px)}.drawer #feed{height:260px}.map-bottom{font-size:8px}#region-banner{max-width:75%}.drawer .timeline-title strong{margin-left:0}.ticks span:nth-child(2),.ticks span:nth-child(4){display:none}}
html{width:100%;overflow-x:clip}
