:root { font-family:Arial,Helvetica,sans-serif; color:var(--ink); background:var(--page-bg); --page-bg:#000000; --surface:#0a0a0a; --surface-raised:#121212; --surface-hover:#1a1a1a; --line:#222222; --muted:#a0a0a0; --ink:#eeeeee; --accent:#dedede; --map-sea:#080808; --map-land:#141414; --map-coast:#343434; --map-label:#bdbdbd; --import:#69c5a7; --export:#7eb5ef; }
* { box-sizing:border-box; } body { margin:0; min-width:320px; height:100dvh; overflow:hidden; } h1,h2,p { margin:0; } a { color:inherit; text-decoration:none; } a:hover { text-decoration:underline; } button { font:inherit; color:inherit; cursor:pointer; background:var(--surface); border:1px solid var(--line); border-radius:2px; } button:hover { background:var(--surface-hover); } button:disabled { cursor:wait; opacity:.55; } :focus-visible { outline:2px solid var(--accent); outline-offset:3px; } [hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; } .skip { position:fixed; top:-60px; left:10px; z-index:100; padding:10px; background:var(--surface); } .skip:focus { top:5px; }
.app-header { height:40px; display:flex; align-items:center; gap:28px; padding:0 14px; border-bottom:1px solid var(--line); background:var(--surface); } .brand { display:flex; gap:7px; font-size:24px; font-weight:700; letter-spacing:-1.5px; } .brand span { font-size:14px; font-weight:400; padding-top:3px; } nav { display:flex; align-self:stretch; gap:24px; } nav a { display:flex; align-items:center; border-bottom:2px solid transparent; font-size:11px; color:var(--muted); white-space:nowrap; } nav [aria-current] { color:var(--ink); border-color:var(--ink); } .feed-badge { margin-left:auto; font:9px/1.5 monospace; color:var(--muted); } .feed-badge::before { content:''; display:inline-block; margin-right:6px; width:5px; height:5px; border-radius:50%; background:var(--muted); } .feed-badge.fresh { color:var(--import); } .feed-badge.fresh::before { background:var(--import); } .feed-badge.stale { color:#edbf75; } .feed-badge.stale::before { background:#edbf75; } .feed-badge.unavailable { color:#f0a196; } .feed-badge.unavailable::before { background:#f0a196; } .text-button { padding:3px 0; border:0; background:transparent; font:10px/1.5 monospace; white-space:nowrap; }
main { height:calc(100dvh - 40px); padding:5px 10px 8px; display:flex; flex-direction:column; gap:5px; min-height:0; } .control-bar { display:flex; align-items:center; gap:16px; min-height:42px; flex-shrink:0; } .control-bar > div { display:flex; align-items:baseline; gap:13px; } h1 { font-size:16px; font-weight:500; letter-spacing:-.35px; } .control-bar > div > span { font-size:10px; color:var(--muted); } .control-bar > p { margin-left:auto; font:9px/1.5 monospace; color:var(--muted); } #refresh { padding:6px 9px; font-size:10px; white-space:nowrap; } #refresh span { padding-left:8px; }
.kpi-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--line); background:var(--surface); flex-shrink:0; } .kpi-strip article { display:flex; align-items:baseline; justify-content:space-between; gap:8px; padding:8px 12px; border-right:1px solid var(--line); min-width:0; } .kpi-strip article:last-child { border:0; } .kpi-strip article > span { font-size:10px; color:var(--muted); } .kpi-strip strong { font-size:20px; font-weight:500; font-variant-numeric:tabular-nums; white-space:nowrap; } .kpi-strip strong small { font:10px monospace; color:var(--muted); margin-left:4px; } #imports-value { color:var(--import); } #exports-value { color:var(--export); }
.status-bar { display:flex; justify-content:space-between; gap:15px; min-height:17px; font:9px/1.5 monospace; color:var(--muted); flex-shrink:0; } .error-banner { display:flex; align-items:center; gap:15px; border:1px solid #786041; background:#392d20; color:#f3cc88; padding:8px 12px; font-size:11px; flex-shrink:0; } .error-banner p { flex:1; } .error-banner button { padding:5px 8px; white-space:nowrap; }
.transfer-workspace { display:grid; grid-template-columns:minmax(0,1fr) 335px; flex:1; min-height:0; border:1px solid var(--line); background:var(--surface); } .map-column { display:flex; flex-direction:column; min-height:0; min-width:0; } .map-heading { display:flex; justify-content:space-between; gap:10px; padding:8px 11px; border-bottom:1px solid var(--line); flex-shrink:0; } .map-heading h2 { font-size:12px; font-weight:500; } .map-heading > span { font:9px/1.5 monospace; color:var(--muted); } .map-stage { position:relative; flex:1; min-height:0; overflow:hidden; background:var(--map-sea); isolation:isolate; } #transfer-map { display:block; position:absolute; inset:0; width:100%; height:100%; touch-action:none; cursor:grab; } #transfer-map:active { cursor:grabbing; } .map-chip { position:absolute; top:12px; left:12px; font:8px/1.5 monospace; background:var(--surface-raised); border:1px solid var(--line); color:var(--muted); padding:5px 7px; pointer-events:none; } .map-chip > span { padding:0 6px; color:var(--muted); } .map-controls { display:flex; flex-direction:column; position:absolute; top:12px; right:12px; } .map-controls button { width:29px; height:29px; border-bottom:0; border-radius:0; font-size:19px; } .map-controls button:last-child { border-bottom:1px solid var(--line); font-size:17px; } .route-note { position:absolute; left:10px; bottom:8px; color:var(--muted); font:8px/1.5 monospace; pointer-events:none; background:var(--surface); padding:3px 5px; } .map-loading { position:absolute; top:52%; left:50%; transform:translate(-50%,-50%); background:var(--surface-raised); border:1px solid var(--line); padding:12px 17px; color:var(--muted); font:11px/1.5 monospace; pointer-events:none; text-align:center; }
.map-legend { display:flex; align-items:center; flex-wrap:wrap; gap:6px; padding:8px 11px; font:9px/1.5 monospace; border-top:1px solid var(--line); flex-shrink:0; } .line-key { display:inline-block; width:20px; border-top:3px solid; margin-left:12px; } .line-key:first-child { margin-left:0; } .line-key.importing { border-color:var(--import); } .line-key.exporting { border-color:var(--export); } .line-key.idle { border-color:var(--muted); } .line-key.unknown { border-color:var(--muted); border-top-style:dashed; } .map-help { margin-left:auto; color:var(--muted); font-size:8px; } .map-footer { display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--line); padding:5px 11px; color:var(--muted); font:8px/1.5 monospace; flex-shrink:0; }
.land { fill:var(--map-land); stroke:var(--map-coast); stroke-width:.75; vector-effect:non-scaling-stroke; } .land.uk { fill:var(--map-land); stroke:var(--map-coast); } .country-label { font:11px Arial,sans-serif; fill:var(--map-label); letter-spacing:1.5px; text-anchor:middle; pointer-events:none; } .sea-label { font:italic 11px Georgia,serif; fill:var(--muted); letter-spacing:3px; text-anchor:middle; pointer-events:none; } .grid-line { fill:none; stroke:#262626; stroke-width:.6; vector-effect:non-scaling-stroke; stroke-dasharray:2 6; }
.route { cursor:pointer; --route:var(--muted); } .route.import { --route:var(--import); } .route.export { --route:var(--export); } .route.idle { --route:var(--muted); } .route-hit { fill:none; stroke:transparent; stroke-width:18; vector-effect:non-scaling-stroke; } .route-halo { fill:none; stroke:var(--map-sea); stroke-width:7; opacity:.85; vector-effect:non-scaling-stroke; } .route-path { fill:none; stroke:var(--route); stroke-width:2.4; opacity:.84; vector-effect:non-scaling-stroke; } .route.unknown .route-path { stroke-dasharray:5 5; } .route.idle .route-path { stroke-dasharray:2 3; } .route.selected .route-path,.route:hover .route-path,.route:focus-visible .route-path { stroke-width:4; opacity:1; } .route.selected .route-halo { stroke-width:10; } .terminal { fill:var(--surface-raised); stroke:var(--route); stroke-width:1.5; vector-effect:non-scaling-stroke; } .route.selected .terminal { fill:var(--route); } .flow-chevron { fill:var(--route); stroke:var(--map-sea); stroke-width:1; paint-order:stroke; pointer-events:none; } .route-label { font:10px/1.4 Arial,sans-serif; fill:var(--route); text-anchor:middle; stroke:var(--map-sea); stroke-width:4px; paint-order:stroke; stroke-linejoin:round; pointer-events:none; } .route-label-value { font:10px/1.4 monospace; font-weight:600; } .route.selected .route-label { font-weight:700; }
.transfer-panel { border-left:1px solid var(--line); display:flex; flex-direction:column; min-height:0; } .link-detail { padding:12px 13px 10px; border-bottom:1px solid var(--line); flex-shrink:0; } .detail-heading { display:flex; justify-content:space-between; gap:9px; color:var(--muted); font:9px/1.5 monospace; } .detail-heading span { font-size:8px; } .link-detail h2 { margin-top:7px; font-size:22px; font-weight:400; letter-spacing:-.5px; } #detail-direction { color:var(--muted); font-size:10px; margin:6px 0; } .detail-value { display:block; font-size:32px; line-height:1.2; font-weight:400; font-variant-numeric:tabular-nums; color:var(--ink); } .detail-value.import { color:var(--import); } .detail-value.export { color:var(--export); } .detail-value span { font:10px monospace; color:var(--muted); padding-left:5px; } .link-detail dl { margin:10px 0 7px; } .link-detail dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:10px; border-bottom:1px solid var(--line); padding:5px 0; font-size:9px; } .link-detail dt { color:var(--muted); flex-shrink:0; } .link-detail dd { margin:0; max-width:190px; text-align:right; font:9px/1.5 monospace; } .link-detail > a { display:inline-block; font:9px/1.5 monospace; color:var(--muted); text-decoration:underline; text-underline-offset:3px; } .table-heading { display:flex; justify-content:space-between; align-items:baseline; gap:8px; padding:10px 12px 7px; flex-shrink:0; } .table-heading h2 { font-size:12px; font-weight:500; } .table-heading span { color:var(--muted); font:8px monospace; } .table-scroll { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; } table { width:100%; border-collapse:collapse; text-align:left; } thead { position:sticky; top:0; background:var(--surface); z-index:1; } th { font:8px/1.5 monospace; color:var(--muted); padding:6px 11px; border-bottom:1px solid var(--line); font-weight:400; } td { padding:8px 11px; border-bottom:1px solid var(--line); font-size:10px; } th:last-child,td:last-child { text-align:right; } td:last-child { font:11px monospace; white-space:nowrap; } td:nth-child(2) { font-size:9px; white-space:nowrap; } td button { display:block; padding:0; border:0; background:transparent; font-size:11px; text-align:left; } td small { display:block; color:var(--muted); font:8px/1.5 monospace; margin-top:3px; } tr[aria-selected=true] { background:var(--surface-hover); } tbody tr:hover { background:var(--surface-hover); cursor:pointer; } .flow-import { color:var(--import); } .flow-export { color:var(--export); } .flow-unknown,.flow-idle { color:var(--muted); } .panel-note { padding:9px 12px; color:var(--muted); font:9px/1.7 Arial,sans-serif; border-top:1px solid var(--line); flex-shrink:0; }
dialog { max-width:590px; width:calc(100% - 32px); border:1px solid var(--line); padding:22px; color:var(--ink); max-height:85dvh; overflow:auto; } dialog::backdrop { background:#000000b3; } .dialog-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:15px; } .dialog-heading h2 { font-size:20px; font-weight:400; } .dialog-heading button { border:0; font-size:24px; padding:0 3px; } dialog > p { font:12px/1.8 Arial,sans-serif; margin:12px 0; color:var(--muted); } dialog a { text-decoration:underline; text-underline-offset:3px; } .noscript { position:fixed; bottom:20px; left:20px; background:var(--surface); border:1px solid var(--line); padding:15px; font-size:12px; }
@media (max-height:760px) and (min-width:801px) { .link-detail { padding:9px 12px; } .link-detail h2 { font-size:19px; margin-top:4px; } .detail-value { font-size:27px; } .link-detail dl { margin:5px 0; } .link-detail dl > div { padding:4px 0; } td { padding-block:6px; } .table-heading { padding-block:7px; } .panel-note { font-size:8px; padding-block:6px; } }
@media (max-width:1100px) { .transfer-workspace { grid-template-columns:minmax(0,1fr) 300px; } .control-bar > div > span { display:none; } .app-header { gap:20px; } nav { gap:19px; } .kpi-strip article { padding:8px; } .kpi-strip article > span { font-size:9px; } .kpi-strip strong { font-size:18px; } .map-help { display:none; } .route-label { font-size:9px; } }
@media (max-width:800px) { body { height:auto; min-height:100dvh; overflow:auto; } .app-header { height:auto; min-height:46px; flex-wrap:wrap; gap:10px 16px; padding:7px 12px; } .brand { font-size:22px; } nav { gap:16px; } nav a { padding:5px 0; font-size:10px; } .feed-badge { margin-left:auto; font-size:8px; } #open-method { font-size:8px; } main { height:auto; min-height:calc(100dvh - 47px); padding:7px; gap:6px; } .control-bar { flex-wrap:wrap; gap:5px 10px; } .control-bar > div { width:100%; } h1 { font-size:16px; } .control-bar > p { margin-left:0; font-size:8px; flex:1; } .kpi-strip { grid-template-columns:repeat(2,minmax(0,1fr)); } .kpi-strip article { padding:9px 10px; } .kpi-strip article:nth-child(2) { border-right:0; } .kpi-strip article:nth-child(-n+2) { border-bottom:1px solid var(--line); } .kpi-strip strong { font-size:20px; } .status-bar { font-size:8px; flex-wrap:wrap; gap:2px; } .transfer-workspace { display:flex; flex-direction:column; min-height:0; flex:initial; } .map-stage { height:57dvh; min-height:350px; flex:none; } .map-heading > span { font-size:8px; } .map-chip { font-size:7px; left:8px; top:8px; } .map-chip > span { padding:0 3px; } .map-controls { right:8px; top:8px; } .map-legend { font-size:8px; gap:5px; padding:8px; } .line-key { margin-left:7px; width:15px; } .map-footer { flex-wrap:wrap; gap:2px; font-size:7px; padding-inline:8px; } .route-note { font-size:7px; left:5px; bottom:5px; } .transfer-panel { border-left:0; border-top:1px solid var(--line); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .link-detail { grid-row:1/4; border-bottom:0; border-right:1px solid var(--line); } .table-heading { padding:11px 9px 6px; } .table-heading span { display:none; } .table-scroll { max-height:420px; } th,td { padding:8px; } th { font-size:7px; } td button { font-size:10px; } .panel-note { grid-column:1/-1; } .error-banner { font-size:10px; padding:7px; gap:8px; } .error-banner button { font-size:9px; } }
@media (max-width:530px) { .app-header { gap:5px 12px; } .feed-badge { order:4; margin:0; flex:1; } #open-method { order:5; } nav { margin-left:auto; gap:11px; } nav a { font-size:9px; } .transfer-panel { display:flex; } .link-detail { border-right:0; border-bottom:1px solid var(--line); } .table-scroll { max-height:none; overflow:visible; } .link-detail dl > div { padding:6px 0; } .link-detail dd { max-width:230px; } .map-heading { padding-inline:8px; } .map-stage { min-height:340px; height:52dvh; } .map-legend { gap:4px; font-size:7px; } .line-key { width:12px; margin-left:4px; } .map-chip { max-width:230px; } .status-bar #refresh-note { display:none; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
@media (max-width:800px) { .route-label { display:none; } .route.selected .route-label { display:inline; font-size:10px; } .map-help { display:block; width:100%; margin:2px 0 0; font-size:8px; } }
.mobile-feed-status { display:none; }
.transfer-label-layer { pointer-events:none; }
.route-label-group { --route:var(--muted); }
.route-label-group.import { --route:var(--import); }
.route-label-group.export { --route:var(--export); }
.transfer-label-layer .route-label { font-size:10px; }
.route-label-group.selected .route-label { font-weight:700; }
#transfer-map { user-select:none; -webkit-user-select:none; }
#transfer-map.is-panning { cursor:grabbing; }
.schematic-label { color:var(--muted); font-size:10px; font-weight:400; }
.connection-details { margin-top:10px; font-size:10px; color:var(--muted); }
.connection-details summary { cursor:pointer; padding:3px 0; }
.connection-details a { display:inline-block; margin-top:5px; font:9px/1.5 monospace; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:850px) { .control-bar #mobile-feed-status { display:inline; font:9px/1.5 monospace; } }
@media (max-width:800px) { .route-label-group.selected .route-label { display:inline; } }
@media (max-width:600px) {
  .app-header { height:40px; min-height:40px; flex-wrap:nowrap; padding:0 10px; gap:10px; }
  .app-header .brand { font-size:20px; gap:4px; flex-shrink:0; }
  .app-header .brand span { font-size:11px; }
  .app-header nav { margin:0; gap:10px; flex:1; }
  .app-header nav a { font-size:9px; padding:0; }
  .app-header .feed-badge { display:none; }
  .app-header #open-method { order:initial; font-size:8px; }
  .mobile-feed-status { display:inline; font-weight:400; margin-right:8px; }
  .mobile-feed-status.fresh { color:var(--import); }
  .mobile-feed-status.stale { color:#edbf75; }
  .mobile-feed-status.unavailable { color:#f0a196; }
}

.motion-option {display:flex;align-items:center;gap:8px;color:var(--ink);font-size:13px;}
.motion-option input {accent-color:var(--ink);}
