@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color-scheme:dark;background:#0b131b;color:#edf3f6;--text:#edf3f6;--muted:#acbfcb;--faint:#97aebd;--line:#30424e;--panel:#16232e;--lavender:#c4c2ef;--mint:#9bdfc8;--amber:#e8c18b;--red:#edaaa1;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}a{color:inherit;text-decoration:none}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:4px}input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:2px}button:disabled{cursor:default;color:#a7bbc8;border-color:#435866;background:#283944}h1,h2,h3,h4,p{margin:0}p{line-height:1.7}select{max-width:100%;color:#d8e7ee;background:#1c2c37;border:1px solid #3c5261;border-radius:7px;padding:8px 9px;font-size:10px}option{background:#172733}input[type=checkbox]{accent-color:#aaa9e1}input[type=range]{width:100%;accent-color:#b9b5e8;cursor:pointer}
.app-shell{display:grid;grid-template-columns:67px minmax(0,1fr);max-width:1920px;margin:20px auto 83px;min-height:calc(100vh - 103px);background:radial-gradient(ellipse at 40% 24%,#22344688,transparent 50%),#111d27;border:1px solid #2d414f;border-radius:21px;overflow:clip}.rail{background:#192733bb;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:26px 10px}.rail-logo{width:38px;height:38px;display:grid;place-content:center;border-radius:12px;background:#c1c0ea;color:#273649;font-size:35px;line-height:1;font-weight:500;box-shadow:0 0 25px #aaa9ec13}.rail-rule{height:1px;background:#3a4d5b;width:22px;margin:27px 0}.rail nav{display:grid;gap:14px}.rail-button{width:40px;height:40px;display:grid;place-content:center;color:#adbfcb;border-radius:9px;font-size:23px;position:relative}.rail-button.active{background:#354754;color:#d9d3f6;border:1px solid #566575}.rail-button:hover{background:#2c404e;color:#edf6fa}.rail-button>span{position:absolute;right:-2px;top:0;font-size:7px;background:#aaace0;color:#263440;border-radius:5px;padding:2px 4px}.rail-bottom{margin-top:auto;display:grid;gap:16px;padding-top:50px}.avatar{font-size:9px;color:#b7cbd5;background:#304753;border:1px solid #526d7b;border-radius:50%;width:30px;height:30px;display:grid;place-content:center;justify-self:center}main{min-width:0;padding:0 29px}.topbar{height:87px;display:flex;align-items:center;gap:23px;border-bottom:1px solid #2d404d}.brand{font-size:33px;letter-spacing:-1.8px;font-weight:550}.brand span{font-size:9px;letter-spacing:0;vertical-align:top;line-height:2.8;color:#c3bcea;margin-left:4px}.topbar-slash{font-size:23px;color:#7c93a5}.workspace-name{font-size:11px;font-weight:450}.workspace-name span{display:block;font-size:8px;color:#9ab0c0;margin-top:5px}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.demo-label{font-family:'IBM Plex Mono',monospace;font-size:7px;letter-spacing:.7px;display:flex;align-items:center;gap:7px;color:#b6c7d2}.demo-label i,.map-live i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#a7d6c0}.text-button{font-size:10px;color:#bdcbd8;padding:0;white-space:nowrap}.text-button:hover{color:white}.icon-button{height:31px;width:31px;display:inline-grid;place-content:center;border-radius:50%;border:1px solid #506473;background:#22323e;color:#d1e0e8;font-size:19px;flex-shrink:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:30px 0 24px}.eyebrow{font-family:'IBM Plex Mono',monospace;color:#a9bdcc;font-size:7px;letter-spacing:1.3px;font-weight:400}h1{font-size:clamp(29px,2.5vw,43px);font-weight:450;letter-spacing:-1.4px;line-height:1.25;margin:11px 0 9px}.page-heading p{font-size:11px;color:#b0c1ce}.mobile-break{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:25px;border:1px solid transparent;padding:11px 16px;font-size:10px;font-weight:500;transition:background .15s}.button.light{background:#e0e4e6;color:#213846;border-color:#e0e4e6}.button.light:hover{background:white}.button.lavender{background:#c5c0ec;color:#263143;border-color:#c5c0ec}.button.lavender:hover{background:#e0d9fa}.button.outline{border-color:#536a7d;background:#243746;color:#d5e3ec}.button.outline:hover{background:#354e60}.button:disabled{background:#34414f;border-color:#4c5e70;color:#b2c2ce}.fit-banner{display:flex;align-items:center;gap:13px;background:linear-gradient(100deg,#2d3c4f,#22303e);border:1px solid #475668;border-radius:11px;padding:12px 17px;margin-bottom:22px}.fit-banner>span{font-size:23px;color:#ccc5ed}.fit-banner p{font-size:10px;color:#bdc9d9;flex:1}.fit-banner strong{font-weight:500;color:#e4def6;margin-right:4px}.fit-banner .text-button{font-size:9px;color:#d0c9eb}.guide-banner{border:1px solid #647869;background:#293f35;border-radius:11px;padding:15px 19px;display:flex;align-items:center;gap:15px;margin-bottom:20px}.guide-banner[hidden]{display:none}.guide-banner h2{font-size:13px;font-weight:500}.guide-banner p{font-size:10px;color:#c0d7c6;margin-top:6px}.guide-banner>span{font-family:'IBM Plex Mono',monospace;font-size:10px;color:#b0d6ba}.guide-banner .icon-button{margin-left:auto;align-self:flex-start;width:25px;height:25px;font-size:17px}.guide-banner .button{font-size:9px;white-space:nowrap}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:24px}.summary-card{padding:19px 21px;border:1px solid #354b5c;background:#1b2c3a;border-radius:13px;overflow:hidden}.summary-card:first-child{background:linear-gradient(115deg,#354655,#293b4a);border-color:#50667a}.summary-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#c1d0dc;gap:10px}.summary-value{font-family:'IBM Plex Mono',monospace;font-size:30px;letter-spacing:-1px;margin:13px 0 9px}.summary-value small{font-family:'DM Sans',sans-serif;font-size:10px;letter-spacing:0;color:#a9becd;margin-left:7px}.summary-note{font-size:8px;color:#b0c4d2;line-height:1.65}.summary-change{font-size:8px;color:#c8bdeb;margin-left:9px;letter-spacing:0}
.analysis-workspace{display:grid;grid-template-columns:232px minmax(0,1fr) 320px;gap:17px;align-items:start}.panel{background:linear-gradient(130deg,#1a2935,#172530);border:1px solid #354a59;border-radius:14px;padding:20px;min-width:0}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.panel-title h2{font-size:15px;font-weight:500;letter-spacing:-.25px}.panel-title .eyebrow{font-size:6px;margin-bottom:8px}.count-tag{font-family:'IBM Plex Mono',monospace;font-size:9px;color:#c6c5e8;background:#354454;padding:4px 6px;border-radius:5px}.muted{color:#aec2d0}.small{font-size:10px}.search-box{margin:20px 0 14px;display:flex;align-items:center;background:#13232f;border:1px solid #405867;border-radius:9px;padding:0 10px;gap:9px;color:#bdcfda}.search-box span{font-size:19px}.search-box input{width:100%;min-width:0;border:0;background:transparent;color:#e2edf4;font-size:10px;padding:11px 0;outline:0}.search-box:focus-within{outline:2px solid #9bcab9;outline-offset:2px}.search-box input::placeholder{color:#a1b9c9}.filter-pills{display:flex;gap:3px;flex-wrap:wrap;margin-bottom:19px}.filter-pills button{font-size:8px;color:#b4c7d5;padding:6px 7px;border:1px solid #405666;border-radius:6px}.filter-pills button.active{background:#b5b4df;border-color:#b5b4df;color:#263448}.sort-row{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:8px;color:#aec5d4;margin-bottom:14px}.sort-row select{font-size:8px;padding:6px;max-width:118px}.flow-list{display:grid;gap:8px}.flow-card{display:block;width:100%;padding:12px 10px;border:1px solid #384e5e;border-radius:10px;text-align:left;background:#1c2d3a;transition:background .15s}.flow-card:hover{background:#2b4252;border-color:#6b869b}.flow-card.selected{background:linear-gradient(120deg,#38495d,#2f3d51);border-color:#8c8ab2}.flow-card-heading{display:flex;align-items:center;gap:8px}.commodity-icon{display:inline-grid;place-content:center;width:25px;height:27px;background:#3d4857;border-radius:7px;color:#d0bf96;font-size:14px;flex-shrink:0}.commodity-icon.agriculture{background:#304b42;color:#afd4ad}.commodity-icon.industry{background:#35465e;color:#b9cce7}.flow-card h3{font-size:10px;font-weight:500;line-height:1.5}.flow-card .place{font-size:8px;color:#afc3d2;margin:7px 0 10px}.flow-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:9px;color:#d5e4ea}.flow-status{font-size:7px;border-radius:4px;padding:4px 5px;white-space:nowrap;color:#c3dfca;background:#31534288}.flow-status.blocked{background:#584b365e;color:#edce9e}.discovery-note{font-size:8px;line-height:1.8;color:#a4bdcf;border-top:1px solid #3c5262;margin-top:18px;padding-top:15px}.empty{font-size:12px;color:#b1c7d5;text-align:center;padding:28px 12px;border:1px dashed #4e687a;border-radius:10px;line-height:1.8}.empty p{font-size:10px;margin:10px 0}.map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.network-switch{display:flex;gap:3px;padding:4px;background:#223440;border:1px solid #405664;border-radius:24px}.network-switch button{font-size:9px;padding:8px 12px;border-radius:20px;white-space:nowrap;color:#b9cad6}.network-switch button.active{background:#bdb7df;color:#293447}.map-toolbar>.text-button{font-size:8px}.map-panel{position:relative;min-height:580px;aspect-ratio:.96;background:#132732;border:1px solid #466074;border-radius:14px;overflow:hidden;isolation:isolate}.map-kicker{position:absolute;top:17px;left:18px;right:18px;z-index:2;display:flex;justify-content:space-between;gap:10px;pointer-events:none}.map-kicker .eyebrow{font-size:6px;color:#c0d2dd}.map-live{font-size:7px;display:flex;align-items:center;gap:6px;color:#c2dacd}.map-container{position:absolute;inset:0}.regional-map{width:100%;height:100%;display:block;touch-action:pan-y;cursor:grab}.regional-map.dragging{cursor:grabbing}.map-country{fill:#2b414b;stroke:#627680;stroke-width:.75;vector-effect:non-scaling-stroke}.map-country.focus-country{fill:#344e56;stroke:#829493}.map-country.country-AGO{fill:#3d5557}.map-grid{stroke:#7d9ca8;stroke-opacity:.13;stroke-width:1;fill:none}.map-label{font-family:'DM Sans',Arial,sans-serif;font-size:12px;fill:#b6c7cb;letter-spacing:2.5px;pointer-events:none}.map-label.focus-label{fill:#dae1dd;font-size:13px;letter-spacing:3px}.ocean-label{font-family:'IBM Plex Mono',monospace;font-size:10px;fill:#7ea5b5;letter-spacing:2px;pointer-events:none}.map-city-label{font-family:'DM Sans',Arial,sans-serif;font-size:12px;fill:#e0edf1;paint-order:stroke;stroke:#18303c;stroke-width:3px;stroke-linejoin:round;pointer-events:none}.map-port-label{fill:#d3d5fa;font-size:14px;font-weight:600}.map-rail-halo{fill:none;stroke:#aca0d8;stroke-opacity:.17;stroke-width:10;stroke-linejoin:round}.map-rail{fill:none;stroke:#b6a8e7;stroke-width:3;stroke-linejoin:round}.map-proposed{fill:none;stroke:#d4ba7e;stroke-width:2.5;stroke-dasharray:7 6}.map-alternative{fill:none;stroke:#85bcc9;stroke-width:2;stroke-dasharray:3 6;opacity:.9}.map-selected-route{fill:none;stroke:#d9e9bf;stroke-width:4;stroke-linejoin:round;filter:drop-shadow(0 0 4px #b8ce9766)}.map-port{fill:#d2cef3;stroke:#1d3542;stroke-width:3}.map-city{fill:#b3ced4;stroke:#263c47;stroke-width:2}.map-cargo-area{fill:#92c9ad;fill-opacity:.15;stroke:#b2d5ad;stroke-width:1;stroke-dasharray:3 5}.map-cargo-pin{fill:#b5dfac;stroke:#233e40;stroke-width:3;cursor:pointer}.map-cargo-pin.selected{fill:#faf0bd;stroke:#a4b97f;stroke-width:4}.map-controls{position:absolute;right:14px;top:58px;display:grid;gap:1px;border:1px solid #657685;border-radius:9px;overflow:hidden;z-index:3}.map-controls button{width:29px;height:29px;background:#203745ed;font-size:17px;color:#d2e5eb}.map-controls button:hover{background:#4d6371}.map-controls button+button{border-top:1px solid #466170}.map-layers{position:absolute;right:14px;bottom:160px;z-index:3;display:grid;gap:8px;background:#1a303ee8;border:1px solid #486475;border-radius:9px;padding:11px;font-size:8px;color:#c4d7e2}.map-layers label{display:flex;gap:7px;align-items:center}.map-layers input{width:11px;height:11px;margin:0}.map-legend{position:absolute;left:15px;top:49px;z-index:2;display:grid;gap:7px;font-size:7px;color:#c5d5df;pointer-events:none;background:#182e3c99;padding:9px;border-radius:7px}.map-legend span{display:flex;align-items:center;gap:7px}.map-legend i{display:inline-block;width:17px;height:0;border-top:2px solid #b6a8e7}.map-legend .future-key{border-top:2px dashed #d4ba7e}.map-legend .alt-key{border-top:2px dotted #85bcc9}.map-note{position:absolute;bottom:33px;left:15px;right:15px;border:1px solid #586c7b;border-radius:11px;background:linear-gradient(115deg,#2c414fef,#213443ed);backdrop-filter:blur(12px);padding:15px;z-index:2}.map-note-heading{display:flex;gap:9px;align-items:center;margin-bottom:8px}.map-note h3{font-size:13px;font-weight:500}.map-note p{font-size:9px;color:#c0d4df;line-height:1.7}.map-note .route-label{font-family:'IBM Plex Mono',monospace;font-size:8px;color:#cadbc5;display:block;margin-top:8px}.map-attribution{position:absolute;left:15px;bottom:12px;font-size:6px;color:#b4c8d3;z-index:2}.scenario-panel{margin-top:16px;padding:19px}.scenario-panel .panel-title h2{font-size:14px}.scenario-panel .text-button{font-size:8px}.preset-row{display:flex;gap:5px;flex-wrap:wrap;margin:18px 0}.preset{font-size:8px;padding:7px 10px;border-radius:7px;border:1px solid #4d6476;color:#c3d4e0;background:#243746}.preset.active{background:#514e69;color:#e4ddf4;border-color:#8882a8}.scenario-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 15px}.scenario-fields label{display:block;min-width:0;font-size:9px;color:#b7cbd9}.scenario-fields select{display:block;width:100%;margin-top:8px;font-size:9px;padding:9px}.scenario-fields output{float:right;font-family:'IBM Plex Mono',monospace;font-size:9px;color:#ded6f2}.scenario-fields input[type=range]{margin:13px 0 0;display:block}.scenario-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;flex-wrap:wrap}.check-label{display:flex;align-items:center;gap:7px;font-size:8px;color:#c1d0dc}.scenario-bottom .button{font-size:9px}.fine-print{font-size:8px!important;line-height:1.8!important;color:#a9c0d1!important;margin-top:14px}.scenario-dirty{font-size:9px;line-height:1.8;color:#efd3a5;background:#54432e55;border:1px solid #77603d;border-radius:8px;padding:10px;margin-top:15px}.scenario-dirty[hidden]{display:none}
.inspector{padding:22px;position:sticky;top:20px}.inspector-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:8px;color:#c1c9de;margin-bottom:18px}.direction-tag{font-family:'IBM Plex Mono',monospace;font-size:7px;color:#bfc8db;background:#35465a;border:1px solid #52667a;border-radius:5px;padding:5px 7px}.inspector h2{font-size:23px;font-weight:450;line-height:1.3;letter-spacing:-.65px;margin:13px 0 9px}.inspector .origin{font-size:10px;color:#b5cbd7;margin-bottom:16px}.hypothesis{font-size:10px;color:#c3d3dc;line-height:1.8;padding-bottom:20px;border-bottom:1px solid #405565}.inspector-status{margin:19px 0 13px;display:inline-flex;align-items:center;gap:6px;padding:6px 8px;background:#36514666;border:1px solid #526e5d;border-radius:6px;font-size:8px;color:#c4dfc5}.inspector-status.blocked{background:#57433466;color:#f0cba4;border-color:#7b5e41}.route-comparison{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.route-cost{padding:13px;border:1px solid #586279;background:#353f55;border-radius:10px}.route-cost.alt{background:#233846;border-color:#465f70}.route-cost h3{font-size:8px;color:#d0d4e7;font-weight:450}.route-cost strong{font-family:'IBM Plex Mono',monospace;display:block;font-size:24px;font-weight:400;letter-spacing:-1px;margin:10px 0 6px}.route-cost small{font-size:7px;color:#bacdde}.route-cost p{font-size:9px;color:#cfdef0}.advantage{display:flex;justify-content:space-between;align-items:center;padding:10px 0 17px;font-size:10px;color:#bfd8c5;gap:8px}.advantage strong{font-family:'IBM Plex Mono',monospace;font-size:15px;font-weight:400;white-space:nowrap}.advantage.negative{color:#ebc3ac}.cost-breakdown{border-top:1px solid #3e5565;padding-top:16px}.cost-breakdown summary{font-size:9px;cursor:pointer;color:#c5d5e0}.cost-row{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#b1c7d6;margin:11px 0;align-items:center}.cost-row strong{font-family:'IBM Plex Mono',monospace;font-size:9px;color:#d2e0e8;font-weight:400}.cost-row.total{border-top:1px solid #4b6272;padding-top:12px;color:#e0eaf0}.volume-funnel{padding:18px 0;border-top:1px solid #3e5565;border-bottom:1px solid #3e5565;margin-top:17px}.volume-funnel h3{font-size:11px;font-weight:500;margin-bottom:16px}.funnel-row{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#bbcfdb;gap:9px;margin:9px 0}.funnel-row strong{font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:400;color:#d1e8e4;white-space:nowrap}.funnel-bar{height:4px;background:#2b4353;border-radius:4px;overflow:hidden;margin:8px 0 14px}.funnel-bar span{display:block;height:100%;background:#a4c7ae;max-width:100%}.validation-card{padding:14px;background:#253947;border:1px solid #435f71;border-radius:9px;margin-top:17px}.validation-card h3{font-size:10px;font-weight:500;color:#e2cfb3;margin-bottom:9px}.validation-card p{font-size:9px;color:#bcd2e0;line-height:1.8}.blocker{font-size:9px;color:#e9c9a8;border-left:2px solid #a88a59;padding:7px 0 7px 10px;margin-top:9px;line-height:1.7}.evidence-link{font-size:8px;color:#c4c5e9;text-decoration:underline;text-underline-offset:3px;padding:0;margin-top:14px}.inspector>.button{width:100%;margin-top:19px}.synthesis{padding:15px;background:#29374a;border:1px solid #4c5673;border-radius:10px;margin-top:19px}.synthesis .eyebrow{font-size:6px;color:#d1c6e8}.synthesis h3{font-size:11px;font-weight:500;margin:10px 0 8px}.synthesis p{font-size:9px;color:#c3cde0;line-height:1.8}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.bottom-grid .panel{padding:25px}.small-tag{font-family:'IBM Plex Mono',monospace;font-size:7px;padding:5px 7px;border:1px solid #4e6878;border-radius:5px;color:#b8cfda}.backhaul-selects{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:13px;align-items:end;margin:20px 0}.backhaul-selects label{font-size:9px;color:#bbcfda}.backhaul-selects select{width:100%;display:block;margin-top:8px;font-size:10px}.backhaul-selects>span{font-size:20px;color:#b5b4d9;padding-bottom:6px}.backhaul-result{padding:15px;border:1px solid #476759;border-radius:9px;background:#2a463a55;display:flex;gap:17px;align-items:center}.backhaul-result.incompatible{border-color:#6f5f45;background:#50413155}.backhaul-number{font-family:'IBM Plex Mono',monospace;font-size:25px;letter-spacing:-1px;color:#d4e7cb;white-space:nowrap}.backhaul-number small{display:block;font-family:'DM Sans',sans-serif;font-size:8px;letter-spacing:0;color:#b8cdb5;margin-top:6px}.backhaul-result h3{font-size:11px;font-weight:500;margin-bottom:7px}.backhaul-result p{font-size:9px;color:#c5d2c8;line-height:1.8}.comparison-preview{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0 19px}.comparison-preview .label{font-size:9px;color:#bfd0dc;margin-bottom:10px}.comparison-preview strong{font-family:'IBM Plex Mono',monospace;font-weight:400;font-size:24px;color:#ded8f2;letter-spacing:-1px}.comparison-preview small{display:block;font-size:8px;color:#bdccda;margin-top:8px}.scenario-comparison .panel-title h2{font-size:15px}.scenario-comparison>.button{font-size:9px}.scenario-comparison>.fine-print{max-width:390px}footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:28px 0;color:#a9bfcd;font-size:7px}footer>div{display:flex;gap:13px;align-items:center}footer strong{font-size:21px;letter-spacing:-1px;font-weight:500;color:#c5d5de}footer .text-button{font-size:9px}.session-bar{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px max(24px,calc((100vw - 1800px)/2));background:#182b38f2;backdrop-filter:blur(15px);border-top:1px solid #4d6677;font-size:9px;color:#b8ccd9}.session-left{display:flex;align-items:center;gap:15px}.session-left strong{font-weight:450;color:#d0e2eb}.session-dots{display:flex;gap:3px}.session-dots i{height:9px;width:4px;background:#486577;border-radius:2px}.session-dots i.used{background:#c0b7e2}.session-bar details{font-size:8px;position:relative}.session-bar summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.session-bar details p{position:absolute;bottom:25px;left:-100px;width:280px;border:1px solid #65778a;background:#283e50;border-radius:10px;padding:17px;font-size:10px;color:#d4e1ec;line-height:1.8;box-shadow:0 -10px 25px #0005}.session-bar .text-button{font-size:9px;color:#d3caee}
dialog{width:calc(100% - 32px);max-width:790px;max-height:88vh;overflow:auto;border:1px solid #526e83;border-radius:18px;background:#1a2b39;color:#e7f0f5;padding:30px;box-shadow:0 25px 100px #0009}dialog::backdrop{background:#08121bbd;backdrop-filter:blur(7px)}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:19px}dialog h2{font-size:29px;font-weight:450;letter-spacing:-.8px;line-height:1.3;margin:9px 0 18px}.dialog-top h2{margin-bottom:0}dialog p{font-size:12px;color:#bfd0dd;line-height:1.85;margin-bottom:13px}.dialog-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:24px 0 15px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:23px 0}.info-grid article{padding:20px;background:#253a49;border:1px solid #455f74;border-radius:10px}.info-grid h3{font-size:13px;font-weight:500;margin-bottom:10px;color:#e0daef}.info-grid p{font-size:11px;margin:0}.source-card{border:1px solid #496376;background:#213746;border-radius:11px;padding:19px;margin:14px 0}.source-card .eyebrow{font-size:7px}.source-card h3{font-size:15px;font-weight:500;margin:10px 0}.source-card p{font-size:11px;margin:10px 0}.source-card a{color:#d2c7ed;font-size:10px;text-decoration:underline;text-underline-offset:3px}.formula{font-family:'IBM Plex Mono',monospace;font-size:10px;line-height:2;background:#102330;border:1px solid #3f5c70;border-radius:10px;padding:18px;color:#c7d8e7;margin:19px 0;overflow-wrap:anywhere}.info-table-wrap{overflow:auto;margin:20px 0}.info-table{width:100%;border-collapse:collapse;font-size:10px}.info-table th,.info-table td{text-align:left;border-bottom:1px solid #415d71;padding:12px 10px;vertical-align:top;line-height:1.7}.info-table th{color:#e3ddf0;font-weight:500;white-space:nowrap}.info-table td{color:#b8d0e0}.portfolio-card,.saved-scenario{padding:19px;border:1px solid #4c677b;background:#233a4a;border-radius:11px;margin:15px 0}.portfolio-card h3,.saved-scenario h3{font-size:16px;font-weight:450;line-height:1.5}.portfolio-card p,.saved-scenario p{font-size:10px;margin:10px 0}.portfolio-card label{font-size:10px;color:#bcd2df}.portfolio-card select{margin-left:10px;font-size:10px}.portfolio-card .text-button,.saved-scenario .text-button{font-size:9px;color:#d1c7eb}.snapshot-meta{font-family:'IBM Plex Mono',monospace;font-size:8px;color:#becbe1;line-height:1.9;margin-top:8px}.toast{position:fixed;left:50%;bottom:76px;z-index:30;padding:14px 20px;transform:translate(-50%,12px);opacity:0;pointer-events:none;max-width:90vw;border:1px solid #7d8c9d;border-radius:11px;background:#34485b;color:#eff4fa;font-size:11px;box-shadow:0 7px 25px #0005;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.contact-page{min-height:100vh;display:grid;place-content:center;padding:35px 20px;background:radial-gradient(ellipse at top left,#3b4262,#10212f 70%)}.contact-shell{width:100%;max-width:680px;padding:45px;border:1px solid #65758d;border-radius:23px;background:#213143ba}.contact-shell .brand{display:inline-block;margin-bottom:45px}.contact-shell h1{font-size:43px;margin:18px 0 22px}.contact-shell>p{font-size:14px;color:#c1d0df}.contact-shell .info-grid{grid-template-columns:1fr}.contact-shell>.button{margin-top:15px}
@media(min-width:1700px){main{padding:0 40px}.analysis-workspace{grid-template-columns:265px minmax(0,1fr) 355px;gap:22px}.map-panel{min-height:680px;aspect-ratio:1.03}.flow-card{padding:16px 13px}.flow-card h3{font-size:12px}.flow-card .place{font-size:10px}.flow-card-bottom{font-size:11px}.flow-status{font-size:8px}.inspector h2{font-size:27px}.inspector .origin{font-size:12px}.hypothesis{font-size:12px}.synthesis p,.validation-card p{font-size:11px}.map-note p{font-size:11px}.map-note h3{font-size:15px}.discovery-note{font-size:10px}.small{font-size:12px}.summary-value{font-size:35px}.summary-label{font-size:12px}.summary-note{font-size:10px}.eyebrow{font-size:9px}.map-kicker .eyebrow{font-size:8px}.map-live{font-size:9px}.map-legend{font-size:9px}.map-layers{font-size:10px}.scenario-fields label{font-size:11px}.scenario-fields select{font-size:11px}.panel-title h2{font-size:17px}.scenario-panel .panel-title h2{font-size:17px}.scenario-fields output{font-size:11px}.cost-row,.cost-row strong{font-size:11px}.funnel-row{font-size:11px}.fine-print{font-size:9px!important}.flow-list{gap:11px}}
@media(max-width:1280px){.app-shell{margin:10px 8px 83px;grid-template-columns:58px minmax(0,1fr)}main{padding:0 21px}.rail{padding:25px 8px}.analysis-workspace{grid-template-columns:205px minmax(0,1fr) 280px;gap:13px}.panel{padding:17px}.discovery{padding:16px 13px}.filter-pills button{font-size:7px;padding:6px}.map-panel{min-height:555px}.inspector{padding:18px}.route-cost{padding:11px}.route-cost strong{font-size:22px}.map-note{padding:12px;left:12px;right:12px}.map-kicker{left:12px;right:12px}.map-kicker .eyebrow{font-size:5px}.map-live{font-size:6px}.map-legend{font-size:6px;left:12px}.map-toolbar{gap:6px}.network-switch button{font-size:8px;padding:8px 9px}.map-toolbar>.text-button{font-size:7px}.map-layers{right:11px;font-size:7px;padding:8px;bottom:183px}.map-note p{font-size:8px}.map-note h3{font-size:12px}.map-attribution{font-size:5px}.scenario-fields{grid-template-columns:1fr}.scenario-panel .panel-title{align-items:flex-start}.scenario-panel .panel-title h2{font-size:13px;line-height:1.6}.scenario-panel .text-button{font-size:7px;margin-top:2px}.scenario-bottom{gap:15px}.scenario-bottom .button{font-size:8px}.topbar{gap:17px}.page-heading h1{font-size:34px}.topbar-actions{gap:15px}.summary-card{padding:17px 18px}}
@media(max-width:1050px){.analysis-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.discovery{grid-column:1/-1}.discovery .panel-title{margin-bottom:7px}.discovery>.small{display:none}.discovery .search-box{margin:14px 0;width:45%;float:left}.filter-pills{margin:17px 0 13px 49%;min-height:32px}.sort-row{clear:both;justify-content:flex-start;gap:15px}.flow-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.flow-card{padding:12px}.flow-card h3{font-size:11px}.discovery-note{font-size:8px;margin-top:13px;padding-top:11px}.map-panel{min-height:580px;aspect-ratio:.8}.map-kicker .eyebrow{font-size:6px}.map-legend{font-size:7px}.scenario-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.map-toolbar>.text-button{font-size:8px}.network-switch button{font-size:9px;padding:8px 11px}.bottom-grid{grid-template-columns:1fr}.map-column{grid-column:1;grid-row:2}.inspector{grid-column:2;grid-row:2}.fit-banner p{font-size:9px}.fit-banner strong{display:block}.summary-label{font-size:9px}.summary-value{font-size:28px}.summary-note{font-size:7px}.page-heading h1{font-size:31px}.topbar-actions>.text-button{display:none}footer{flex-wrap:wrap}.map-layers{bottom:173px}.backhaul-selects{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)}.scenario-panel .panel-title h2{font-size:14px}.scenario-fields label{font-size:9px}.topbar{gap:14px}}
@media(max-width:760px){.app-shell{grid-template-columns:1fr;margin:0 0 110px;border:0;border-radius:0}.rail{flex-direction:row;justify-content:space-between;padding:12px 18px;border:0;border-bottom:1px solid #344c5d}.rail nav{display:flex;gap:10px}.rail-button{width:33px;height:33px;font-size:22px}.rail-logo{width:31px;height:31px;font-size:29px;border-radius:9px}.rail-rule,.rail-bottom{display:none}main{padding:0 18px}.topbar{height:78px;gap:12px}.brand{font-size:29px}.workspace-name{font-size:10px}.workspace-name span{font-size:7px;max-width:145px}.topbar-slash{font-size:19px}.topbar-actions{gap:10px}.demo-label{font-size:6px;letter-spacing:.3px}.topbar .icon-button{width:28px;height:28px;font-size:17px}.page-heading{display:block;padding:25px 0 23px}.page-heading h1{font-size:34px;line-height:1.3;letter-spacing:-1.2px}.page-heading .eyebrow{font-size:6px;letter-spacing:1px}.page-heading p{font-size:11px;max-width:390px}.page-heading>.button{margin-top:18px}.mobile-break{display:block}.fit-banner{padding:13px;flex-wrap:wrap;gap:11px;margin-bottom:20px}.fit-banner p{font-size:9px;flex-basis:80%}.fit-banner>.text-button{margin-left:32px;font-size:8px}.fit-banner strong{margin-bottom:4px}.summary{gap:7px;margin-bottom:21px}.summary-card{padding:14px 10px;border-radius:11px}.summary-label{font-size:8px;line-height:1.6;min-height:26px;align-items:flex-start}.summary-label>span:last-child{display:none}.summary-value{font-size:23px;line-height:1.2;letter-spacing:-1px;margin:10px 0}.summary-value small{display:block;margin:5px 0 0;font-size:8px;letter-spacing:0;line-height:1.5}.summary-note{font-size:7px;line-height:1.8}.summary-change{display:none}.analysis-workspace{grid-template-columns:1fr;gap:20px}.discovery{grid-column:auto}.discovery .search-box{width:100%;float:none;margin:15px 0}.filter-pills{margin:0 0 15px;min-height:auto}.filter-pills button{font-size:9px;padding:7px 12px}.sort-row{gap:12px;font-size:9px;margin:17px 0}.sort-row select{font-size:9px;max-width:140px}.flow-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.flow-card{padding:12px 10px}.flow-card h3{font-size:10px}.flow-card .place{font-size:8px;line-height:1.7}.flow-card-bottom{font-size:9px;align-items:flex-start;flex-direction:column;gap:7px}.flow-status{font-size:7px}.commodity-icon{width:23px;height:25px;font-size:13px}.flow-card-heading{gap:7px}.discovery{padding:18px}.discovery-note{font-size:8px}.panel-title h2{font-size:16px}.map-column{grid-column:auto;grid-row:auto}.inspector{grid-column:auto;grid-row:auto;position:static;padding:22px}.map-toolbar{gap:8px}.network-switch button{font-size:8px;padding:8px 12px}.map-toolbar>.text-button{font-size:8px}.map-panel{min-height:540px;aspect-ratio:auto}.map-kicker .eyebrow{font-size:5px}.map-live{font-size:6px}.map-note{bottom:30px;left:12px;right:12px;padding:13px}.map-note h3{font-size:12px}.map-note p{font-size:9px}.map-note .route-label{font-size:7px}.map-layers{bottom:173px;font-size:7px;gap:8px}.map-legend{font-size:7px;top:43px;gap:6px}.map-controls{right:12px;top:48px}.map-attribution{font-size:5px;left:12px;bottom:11px}.map-note-heading{margin-bottom:7px}.scenario-panel{padding:19px}.scenario-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 13px}.scenario-fields label{font-size:9px;line-height:1.6}.scenario-fields output{float:none;display:block;font-size:9px;margin-top:5px}.scenario-fields select{font-size:8px;padding:9px 7px}.scenario-fields input[type=range]{margin-top:12px}.scenario-panel .panel-title h2{font-size:15px;max-width:200px}.preset{font-size:8px;padding:8px 10px}.scenario-bottom{align-items:flex-start;gap:16px}.check-label{font-size:9px}.scenario-bottom .button{font-size:9px;width:100%}.inspector h2{font-size:26px}.inspector .origin{font-size:11px}.hypothesis{font-size:12px}.inspector-status{font-size:9px}.route-cost{padding:17px}.route-cost h3{font-size:10px}.route-cost strong{font-size:29px}.route-cost small{font-size:8px}.route-cost p{font-size:11px}.advantage{font-size:11px}.advantage strong{font-size:16px}.funnel-row{font-size:11px}.funnel-row strong{font-size:13px}.cost-breakdown summary,.cost-row,.cost-row strong{font-size:10px}.validation-card p{font-size:11px}.validation-card h3{font-size:12px}.synthesis p{font-size:11px}.synthesis h3{font-size:13px}.synthesis .eyebrow{font-size:7px}.evidence-link{font-size:10px}.inspector>.button{font-size:11px;padding:12px}.blocker{font-size:10px}.bottom-grid{gap:18px;margin-top:20px}.bottom-grid .panel{padding:21px}.backhaul-selects{gap:8px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}.backhaul-selects select{font-size:9px}.backhaul-result{padding:14px;align-items:flex-start;gap:13px}.backhaul-number{font-size:22px}.backhaul-result p{font-size:9px}.comparison-preview strong{font-size:24px}.fine-print{font-size:9px!important}.session-bar{padding:12px 17px;gap:9px;flex-wrap:wrap}.session-left{gap:10px;flex-wrap:wrap}.session-left strong{font-size:8px}.session-dots{gap:2px}.session-dots i{width:3px;height:8px}.session-bar details{font-size:7px}.session-bar details p{left:auto;right:-5px;bottom:28px;font-size:10px;width:270px}.session-bar>.text-button{font-size:8px}footer{gap:13px;font-size:7px;line-height:1.8;padding:25px 0}footer>span{order:3}footer .text-button{font-size:8px}.guide-banner{padding:15px;gap:12px;flex-wrap:wrap}.guide-banner>div{flex-basis:75%}.guide-banner .button{font-size:9px}.guide-banner .icon-button{position:absolute;right:31px}.guide-banner h2{font-size:12px}.guide-banner p{font-size:10px}.info-grid{grid-template-columns:1fr}dialog{padding:23px}dialog h2{font-size:24px}dialog p{font-size:11px}.dialog-top .eyebrow{font-size:6px;line-height:1.9}.info-table th,.info-table td{font-size:9px;padding:11px 8px}.formula{font-size:9px}.source-card{padding:17px}.portfolio-card label{display:grid;gap:10px}.portfolio-card select{margin-left:0;width:100%}.contact-page{padding:25px 15px}.contact-shell{padding:29px 23px;border-radius:17px}.contact-shell h1{font-size:35px}.contact-shell>p{font-size:12px}.contact-shell .brand{margin-bottom:35px}}
.value-compact{display:none}
@media(max-width:760px){.map-label{font-size:20px;letter-spacing:2px}.map-label.focus-label{font-size:23px;letter-spacing:2.5px}.map-city-label{font-size:22px;stroke-width:5px}.map-port-label{font-size:24px}.ocean-label{font-size:18px}}
@media(max-width:760px){.summary-card:last-child .summary-value{font-size:clamp(17px,5vw,22px)}}
@media(max-width:760px){.summary{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-card{min-width:0}.value-compact{display:inline}.value-long{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.guide-banner{position:relative}.guide-banner .icon-button{right:10px;top:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* A brighter demo palette: copper / agriculture / industry follow the cargo. */
:root{--lavender:#c4b5fd;--mint:#64edc3;--amber:#ffc477;--red:#ffafa5}
body{background:radial-gradient(ellipse at 12% 0%,#173850 0,transparent 45%),#0b131b}
.app-shell{background:radial-gradient(ellipse at 75% 0%,#28526a42,transparent 40%),radial-gradient(ellipse at 20% 35%,#51407920,transparent 45%),#111d27}
.rail-logo{background:linear-gradient(145deg,#c4b5fd,#79d9ec);color:#182c48;box-shadow:0 0 24px #a89cfa28}
.rail-button.active{background:#373455;border-color:#7f70b8;color:#dfd3ff}
.brand span,.page-heading .eyebrow{color:#c6b4ff}
.demo-label i,.map-live i{background:#64edc3;box-shadow:0 0 9px #64edc366}
.button.light{background:#81f0d2;border-color:#81f0d2;color:#102f31;box-shadow:0 4px 20px #54e4bc18}
.button.light:hover{background:#b1ffe8;border-color:#b1ffe8}
.button.lavender{background:#c7b5ff;border-color:#c7b5ff;color:#26213f}
.button.lavender:hover{background:#e0d1ff;border-color:#e0d1ff}
.button:disabled{background:#34414f;border-color:#4c5e70;color:#b2c2ce;box-shadow:none}
.fit-banner{background:linear-gradient(105deg,#3b3158,#20394c 70%);border-color:#685889}
.fit-banner>span{color:#d8bbff}.fit-banner strong{color:#f0e3ff}
.summary-card{position:relative;border-top:3px solid #78d9fa}
.summary-card:first-child{background:linear-gradient(120deg,#254a61,#203444);border-color:#427d9a;border-top-color:#78d9fa}
.summary-card:nth-child(2){background:linear-gradient(120deg,#1e463f,#1b3035);border-color:#356b60;border-top-color:#64edc3}
.summary-card:nth-child(3){background:linear-gradient(120deg,#403352,#252e42);border-color:#69527f;border-top-color:#c7acff}
.summary-card:first-child .summary-value,.summary-card:first-child .summary-label>span:last-child{color:#98e4ff}
.summary-card:nth-child(2) .summary-value,.summary-card:nth-child(2) .summary-label>span:last-child{color:#8bf3d3}
.summary-card:nth-child(3) .summary-value,.summary-card:nth-child(3) .summary-label>span:last-child{color:#dfc5ff}
[data-commodity="mineral"]{--cargo:#ffc477;--cargo-panel:#533d26;--cargo-line:#ad7b44}
[data-commodity="agriculture"]{--cargo:#83efb2;--cargo-panel:#244b39;--cargo-line:#4b956f}
[data-commodity="industry"]{--cargo:#7ed9ff;--cargo-panel:#23445c;--cargo-line:#4f8ba9}
.flow-card{border-left:3px solid var(--cargo);background:linear-gradient(105deg,var(--cargo-panel),#1c2d3a 75%)}
.flow-card:hover{background:linear-gradient(105deg,var(--cargo-panel),#2b4252);border-color:var(--cargo-line);border-left-color:var(--cargo)}
.flow-card.selected{background:linear-gradient(115deg,var(--cargo-panel),#35344e);border-color:var(--cargo-line);border-left-color:var(--cargo);box-shadow:inset 0 0 24px #ffffff05}
.commodity-icon{background:#63452b;color:#ffce8e}
.commodity-icon.agriculture{background:#26543f;color:#97f5be}
.commodity-icon.industry{background:#24506b;color:#9be4ff}
.filter-pills button.active{background:#c7b5ff;border-color:#c7b5ff;color:#26213f}
.filter-pills [data-sector="mineral"]:not(.active){color:#ffce8e;border-color:#8b653c}
.filter-pills [data-sector="agriculture"]:not(.active){color:#97f5be;border-color:#447a5c}
.filter-pills [data-sector="industry"]:not(.active){color:#9be4ff;border-color:#457a96}
.flow-status{color:#a0f2cb;background:#245b486e}
.flow-status.blocked{color:#ffcf8c;background:#77522555}
.network-switch button.active{background:#c7b5ff;color:#26213f}
.map-panel{background:radial-gradient(ellipse at 15% 50%,#155270,#102b40 80%);border-color:#507389}
.map-country{fill:#294453;stroke:#66818d}.map-country.focus-country{fill:#345d64;stroke:#87aaa9}
.map-country.country-AGO{fill:#3b726f}.map-country.country-COD{fill:#435b78}.map-country.country-ZMB{fill:#526d61}
.map-label.focus-label{fill:#e5f3ed}.ocean-label{fill:#90d2ed}
.map-rail{stroke:#ccacff}.map-rail-halo{stroke:#bb8dff;stroke-opacity:.26}
.map-proposed{stroke:#ffc477}.map-alternative{stroke:#6edbff}
.map-selected-route{stroke:#fff0ab;filter:drop-shadow(0 0 5px #ffd36c99)}
.map-port{fill:#d7b5ff}.map-port-label{fill:#e3caff}
.map-cargo-area{fill:var(--cargo);stroke:var(--cargo);fill-opacity:.13;stroke-opacity:.7}
.map-cargo-pin{fill:var(--cargo);stroke:#183641;filter:drop-shadow(0 0 4px color-mix(in srgb,var(--cargo) 55%,transparent))}
.map-cargo-pin.selected{fill:#fff1b0;stroke:#fff3c2;filter:drop-shadow(0 0 7px #ffd36c)}
.map-legend i{border-color:#ccacff}.map-legend .future-key{border-color:#ffc477}.map-legend .alt-key{border-color:#6edbff}
.map-note{background:linear-gradient(110deg,#233f52f2,#29374eee);border-color:#6b8097}
.map-note .route-label{color:#ffdda1}
.route-cost:not(.alt){background:linear-gradient(145deg,#3e335e,#29334a);border-color:#7c65a0}
.route-cost:not(.alt) strong{color:#e0c5ff}.route-cost.alt{background:linear-gradient(145deg,#204757,#233543);border-color:#42798c}
.route-cost.alt strong{color:#99e5ff}
.advantage:not(.negative) strong{color:#8af0c7}
.inspector-status{color:#a0f2cb;background:#245b486e;border-color:#4d8e72}
.inspector-status.blocked{color:#ffcf8c;background:#77522555;border-color:#a17b49}
.funnel-bar span{background:linear-gradient(90deg,#7bdcff,#9bb2ff)}
.volume-funnel .funnel-bar:nth-of-type(4) span{background:linear-gradient(90deg,#8cb9ff,#c7acff)}
.volume-funnel .funnel-bar:last-of-type span{background:linear-gradient(90deg,#40c99c,#a0f2cb)}
.synthesis{background:linear-gradient(120deg,#373150,#24364a);border-color:#685782}
.synthesis .eyebrow{color:#d9bfff}
.backhaul-result:not(.incompatible){background:linear-gradient(120deg,#21483d,#1e3438);border-color:#448871}
.backhaul-number{color:#8af0c7}.comparison-preview strong{color:#d7bcff}
.preset.active{background:#4a3c65;color:#edddff;border-color:#a28ac9}
input[type=range]{accent-color:#81e9cc}input[type=checkbox]{accent-color:#bda2ff}
.session-dots i.used{background:#bda2ff}.session-bar{border-top-color:#526d8b}
