:root{--color-amber:#efa319;--color-amber-dim:#9b6a10;--color-amber-soft:#efa31929;--color-background:#09080b;--color-bad:#bf3a3a;--color-border:#1a1a1c;--color-border-active:#4a5760;--color-canvas:#09080b;--color-chip-fg:#09080b;--color-cmd-bar:#141318;--color-command:#efa319;--color-command-fg:#09080b;--color-focus:#efa319;--color-glow:#efa31947;--color-good:#3ca848;--color-info:#c3d6e0;--color-input-border:#4a5760;--color-input-surface:#141318;--color-intel:#8000ff;--color-ledger-hover:#141318;--color-ledger-rule:#1a1a1c;--color-ledger-stripe:#0c0b0f;--color-map-bg:#09080b;--color-map-label:#c3d6e0;--color-map-label-dim:#93a3b0;--color-map-planet:#c3d6e0;--color-map-ship:#c3d6e0;--color-map-ship-cargo:#3ca848;--color-map-star:#efa319;--color-map-track:#2e2e33;--color-map-track-belt:#3d3018;--color-market:#efa319;--color-market-down:#bf3a3a;--color-market-up:#3ca848;--color-muted:#c3d6e0;--color-overlay:#0c0b0f;--color-panel:#0c0b0f;--color-panel-raised:#141318;--color-patrol:#c3d6e0;--color-production:#9b6a10;--color-route-blocked:#bf3a3a;--color-route-flow:#efa319;--color-route-paused:#93a3b0;--color-route-running:#3ca848;--color-rule:#1a1a1c;--color-rule-strong:#4a5760;--color-scrim:#09080bc7;--color-sel-bg:#efa3191f;--color-selection:#efa319;--color-selection-bracket:#efa319;--color-selection-hover:#c3d6e0;--color-signal:#efa319;--color-signal-down:red;--color-signal-up:#0f0;--color-slate:#93a3b0;--color-stale:#4a5760;--color-station:#c3d6e0;--color-steel:#c3d6e0;--color-surface:#0c0b0f;--color-surface-raised:#141318;--color-tab-bar:#0c0b0f;--color-text:#c3d6e0;--color-text-dim:#93a3b0;--color-track:#1a1a1c;--color-transparent:transparent;--color-violet:#8000ff;--color-warn:#efa319;--color-white:#fff;--accent-agent-loop:#3ca848;--accent-api:#c3d6e0;--accent-frontend:#8000ff;--accent-ops:#efa319;--type-body-size:.82rem;--type-body-tracking:0;--type-body-weight:500;--type-panel-title-size:.85rem;--type-panel-title-tracking:.14ch;--type-panel-title-weight:700;--type-section-title-size:.78rem;--type-section-title-tracking:.11ch;--type-section-title-weight:600;--space-lg:1rem;--space-md:.75rem;--space-sm:.5rem;--space-unit:.5rem;--space-xl:1.5rem;--space-xs:.25rem;--space-xxs:.125rem}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--color-rule-strong)var(--color-panel)}*::-webkit-scrollbar{width:.75ch;height:.75ch}*::-webkit-scrollbar-track{background:var(--color-panel)}*::-webkit-scrollbar-thumb{background:var(--color-rule-strong);border:1px solid var(--color-panel)}html,body{background:var(--color-background);color:var(--color-text);font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,monospace;line-height:1.35;font-size:var(--type-body-size);font-weight:var(--type-body-weight);letter-spacing:var(--type-body-tracking);margin:0;padding:0}button,input{font:inherit}#app{overflow:hidden;width:100%;height:100vh}.shell{display:grid;grid-template-rows:3ch minmax(0,1fr)3.6ch;background:var(--color-background);width:100%;height:100%}.command-strip{display:grid;grid-template-columns:auto 1fr;align-items: center;gap:var(--space-md);padding:0 var(--space-md);background:var(--color-command);color:var(--color-command-fg);overflow:hidden;white-space:nowrap}.command-strip-group{display:flex;align-items: center;gap:var(--space-sm);min-width:0}.command-strip-mark{letter-spacing:.08ch;font-weight:800}.command-strip-controls{justify-content:flex-end;justify-self:end}.command-strip-speed,.command-strip-pause{display:inline-flex;border:1px solid var(--color-command-fg);color:var(--color-command-fg);cursor:pointer;background:0 0;align-items: center;gap:.5ch;min-height:2.2ch;padding:.1ch .65ch;font-weight:800}.command-strip-speed:hover,.command-strip-pause:hover,.command-strip-pause.is-paused{background:var(--color-command-fg);color:var(--color-command)}.command-strip-cash{color:var(--color-command-fg);font-variant-numeric:tabular-nums;font-weight:700}.command-strip-delta{margin-left:.5ch}.command-strip-debt{border:1px solid var(--color-command-fg);font-variant-numeric:tabular-nums;padding:0 .75ch;font-weight:700}.command-strip-cycle{font-variant-numeric:tabular-nums;font-weight:700}.command-strip-alert{color:inherit;cursor:not-allowed;background:0 0;border:0;padding:0 .5ch;font-weight:800}.command-strip-alert.has-alerts{color:var(--color-command-fg);cursor:pointer}.command-strip-alert.alert-critical{background:var(--color-bad)}.command-strip-alert.alert-warning{background:var(--color-warn)}.command-strip-alert.alert-info{background:var(--color-info)}.command-strip-meta{display:inline-flex;border:1px solid var(--color-slate);color:var(--color-slate);cursor:pointer;background:0 0;align-items: center;gap:.4ch;min-width:2.2ch;min-height:2.2ch;padding:.1ch .5ch;font-weight:800}.command-strip-meta:hover{background:var(--color-slate);color:var(--color-command-fg)}.strip-chip{border-color:var(--color-slate);background:var(--color-slate);color:var(--color-command-fg)}.ticker{display:flex;align-items: center;gap:var(--space-lg);padding:var(--space-xs)var(--space-md);background:var(--color-panel);border-top:1px solid var(--color-rule);overflow:hidden;white-space:nowrap;line-height:1.6}.ticker-goods{display:flex;align-items: center;gap:var(--space-lg);overflow:hidden;min-width:0}.ticker-entry{display:inline-flex;color:var(--color-text-dim);font-variant-numeric:tabular-nums;align-items: center;gap:.4ch}.ticker-entry-label{color:var(--color-slate);font-weight:700}.ticker-entry.tone-up .ticker-entry-drift,.ticker-entry.tone-up .ticker-entry-pct{color:var(--color-signal-up)}.ticker-entry.tone-down .ticker-entry-drift,.ticker-entry.tone-down .ticker-entry-pct{color:var(--color-signal-down)}.ticker-entry.tone-flat .ticker-entry-drift{color:var(--color-text-dim)}.ticker-entry-price{color:var(--color-text)}.ticker-objective{color:var(--color-amber);overflow:hidden;text-overflow:ellipsis;text-align:right;flex:1 0 auto;min-width:0}.map-stage{position:relative;overflow:hidden;background:var(--color-background);height:100%}.panel{position:relative;display:flex;border:1px solid var(--color-border);background:var(--color-surface);box-shadow:inset 0 0 0 1px var(--color-ledger-rule);overflow:hidden;flex-direction:column;min-width:0;min-height:0}.panel-title{display:flex;justify-content:space-between;align-items: center;gap:var(--space-sm);border-bottom:1px solid var(--color-ledger-rule);background:var(--color-surface-raised);color:var(--color-text-dim);text-transform:uppercase;letter-spacing:var(--type-panel-title-tracking);font-size:var(--type-panel-title-size);font-weight:var(--type-panel-title-weight);flex:none;min-height:2.5ch;padding:.18ch 1ch .12ch}.panel-serial{color:var(--color-amber);font-size:var(--type-section-title-size);letter-spacing:var(--type-section-title-tracking)}.panel-body{padding:var(--space-md);overflow:auto;flex:auto}.placeholder-row{padding:.25ch 0}.map-host{position:absolute;background:var(--color-map-bg);border-color:var(--color-ledger-rule);box-shadow:inset 0 0 0 1px var(--color-rule),inset 0 0 12ch var(--color-canvas);inset:0}.map-canvas{position:absolute;display:block;width:100%;height:100%;inset:0}.map-host.paused{filter:brightness(.78)}.overlay-card{position:absolute;z-index:5;box-shadow:0 .5ch 2ch var(--color-scrim)}.overlay-left{width:34ch;top:1ch;bottom:9ch;left:1ch}.asset-dock.overlay-left{width:auto;bottom:23ch}.overlay-right{width:40ch;top:1ch;bottom:1ch;right:1ch}.overlay-map-controls{display:flex;flex-direction:column;gap:.4ch;width:auto;padding:.4ch;bottom:1ch;left:1ch}.map-control-btn{position:relative;display:flex;border:1px solid var(--color-rule);background:var(--color-panel);color:var(--color-text);font:inherit;cursor:pointer;justify-content:center;align-items: center;width:3.75ch;height:3.75ch;padding:0}.map-control-btn:hover{border-color:var(--color-amber);color:var(--color-amber)}.map-control-btn:disabled{color:var(--color-text-dim);border-color:var(--color-rule);cursor:default;opacity:.62}.map-breadcrumb{display:flex;color:var(--color-text-dim);align-items: center;gap:.35ch;max-width:28ch;padding:0 .2ch .15ch;font-size:.72em;line-height:1.15}.map-breadcrumb-step{display:inline-flex;align-items: center;min-width:0}.map-breadcrumb-separator{color:var(--color-rule-strong)}.map-breadcrumb-item{color:inherit;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;max-width:12ch;padding:0}.map-breadcrumb-item:hover:not(:disabled){color:var(--color-amber)}.map-breadcrumb-item.active{color:var(--color-text);cursor:default}.map-control-scale{width:auto;padding:0 .6ch}.map-control-scale-label{letter-spacing:.06em;font-size:.75em;line-height:1}.map-control-icon{font-size:1.15em;line-height:1}.map-control-hint{position:absolute;top:-.65ch;right:-.65ch}.overlay-bottom-center{width:min(70ch,100% - 4ch);bottom:1ch;left:50%;transform:translate(-50%)}.overlay-toasts{position:absolute;z-index:5;display:flex;flex-direction:column;align-items: flex-end;gap:.5ch;width:34ch;bottom:1ch;right:1ch}.toast-stack{display:flex;flex-direction:column;gap:.5ch;width:100%}.toast{display:flex;border-left:3px solid var(--color-text-dim);background:var(--color-overlay);box-shadow:0 .5ch 1.5ch var(--color-scrim);color:var(--color-text);animation:toast-in .15s ease-out;flex-direction:column;gap:.15ch;width:100%;padding:.4ch .75ch}@keyframes toast-in{0%{opacity:0;transform:translateY(.5ch)}to{opacity:1;transform:translateY(0)}}.toast-severity-info{border-left-color:var(--color-info)}.toast-severity-warning{border-left-color:var(--color-warn)}.toast-severity-critical{border-left-color:var(--color-bad)}.toast-clickable{cursor:pointer}.toast-clickable:hover{border-left-width:4px}.toast-category{color:var(--color-text-dim);font-size:var(--type-section-title-size);letter-spacing:.1ch}.toast-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toast-history-button{border:1px solid var(--color-ledger-rule);background:var(--color-surface);color:var(--color-text-dim);cursor:pointer;padding:.2ch .75ch}.toast-history-button:hover{border-color:var(--color-selection);color:var(--color-selection)}.drawer{display:flex;flex-direction:column;width:45%;min-width:min(46ch,100% - 2ch);max-width:calc(100% - 4ch);top:1ch;bottom:1ch;right:3.4ch}.drawer-rail{position:absolute;z-index:3;display:flex;flex-direction:column;gap:.5ch;top:1ch;right:0}.drawer-rail-tab{writing-mode:vertical-rl;border:1px solid var(--color-border);background:var(--color-panel);color:var(--color-text-dim);font:inherit;font-size:var(--type-panel-title-size);letter-spacing:.15ch;cursor:pointer;border-right:none;padding:1.25ch .35ch}.drawer-rail-tab.active{color:var(--color-text);border-color:var(--color-border-active);background:var(--color-surface-raised)}.drawer-tabs{display:flex;border-bottom:1px solid var(--color-rule);gap:.5ch;padding:.4ch 1ch}.drawer-tab{color:var(--color-text-dim);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;padding:.2ch 1ch}.drawer-tab.active{color:var(--color-text);border-color:var(--color-border);background:var(--color-surface-raised)}.drawer-tab-code{color:var(--color-muted);margin-right:.75ch}.drawer-title-group{display:flex;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;align-items:baseline;gap:.75ch;min-width:0}.drawer-close{display:inline-flex;border:1px solid var(--color-ledger-rule);color:var(--color-text-dim);cursor:pointer;background:0 0;flex:none;align-items: center;gap:.5ch;padding:.05ch .6ch}.drawer-close:hover{border-color:var(--color-selection);color:var(--color-selection)}.drawer-body{display:flex;flex-direction:column;gap:1ch}.drawer-row{cursor:pointer}.tone-up{color:var(--color-signal-up)}.tone-down{color:var(--color-signal-down)}.tone-flat{color:var(--color-text-dim)}.sparkline{display:inline-block;vertical-align:middle}.sparkline-empty{display:inline-block;text-align:center;min-width:3.5ch}.loan-term-bar{margin-top:.25ch}.paused-stamp{position:absolute;z-index:2;border:1px solid var(--color-warn);background:var(--color-overlay);color:var(--color-warn);letter-spacing:.18ch;padding:.1ch .75ch;font-weight:700;top:.75ch;right:1.25ch}.economy-dev-overlay{position:absolute;z-index:6;border:1px solid var(--color-border-active);background:var(--color-overlay);box-shadow:0 0 0 1px var(--color-ledger-rule);color:var(--color-text);font-size:var(--type-panel-title-size);overflow:auto;width:min(100ch,100% - 7ch);max-height:calc(100% - 1.5ch);padding:.75ch 1ch;top:.75ch;left:6ch}.economy-dev-title{color:var(--color-signal);letter-spacing:.12ch;font-weight:700}.economy-dev-section{margin-top:.75ch}.observer-panel-controls{display:flex;color:var(--color-text-dim);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items: center;gap:.75ch;margin-top:.65ch}.observer-panel-speeds{display:inline-flex;flex-wrap:wrap;gap:.35ch}.observer-panel-button{border:1px solid var(--color-ledger-rule);background:var(--color-surface);color:var(--color-text);font:inherit;cursor:pointer;padding:.12ch .7ch;font-weight:700}.observer-panel-button:hover,.observer-panel-button.is-active{border-color:var(--color-border-active);color:var(--color-signal)}.economy-dev-subtitle{color:var(--color-text-dim);letter-spacing:.1ch;margin-bottom:.25ch;font-weight:700}.economy-dev-table{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%}.economy-dev-table th,.economy-dev-table td{border-bottom:1px solid var(--color-ledger-rule);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:.12ch .75ch .12ch 0}.economy-dev-table th{color:var(--color-text-dim);text-align:left;letter-spacing:.08ch}.economy-dev-table th.num,.economy-dev-table td.num{text-align:right}.event-filter-chips{display:flex;border-bottom:1px solid var(--color-ledger-rule);flex-wrap:wrap;gap:.5ch;padding-bottom:.5ch}.event-filter-chip{border:1px solid var(--color-ledger-rule);background:var(--color-surface);color:var(--color-text-dim);font-size:var(--type-section-title-size);letter-spacing:.06ch;cursor:pointer;padding:.15ch .6ch}.event-filter-chip:hover{border-color:var(--color-selection);color:var(--color-selection)}.event-filter-chip.active{border-color:var(--color-amber);background:var(--color-amber-soft);color:var(--color-amber)}.event-drawer-list{list-style:none;margin:0;padding:0}.event-drawer-row{display:grid;grid-template-columns:5ch 8ch 1fr;border-bottom:1px solid var(--color-ledger-rule);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;gap:.75ch;padding:.2ch 0}.event-drawer-cycle{color:var(--color-text-dim);font-variant-numeric:tabular-nums}.event-drawer-category{letter-spacing:.06ch;font-size:var(--type-section-title-size)}.event-drawer-empty{padding:.5ch 0}.tone-info{color:var(--color-info)}.tone-good{color:var(--color-good)}.tone-warn,.tone-warning{color:var(--color-warn)}.tone-bad,.tone-critical{color:var(--color-bad)}.dim{color:var(--color-text-dim)}.good{color:var(--color-good)}.bad{color:var(--color-bad)}.warn{color:var(--color-warn)}.dock-shell{display:flex;flex-direction:row;flex:auto;align-items:stretch;min-height:0}.dock-rail{display:flex;overflow-y:auto;flex-direction:column;flex:none;width:6.5ch}.dock-rail-icon{display:flex;border:none;border-right:2px solid var(--color-transparent);color:var(--color-text-dim);cursor:pointer;background:0 0;flex-direction:column;align-items: center;gap:.25ch;width:100%;padding:.75ch .2ch;font-family:inherit}.dock-rail-icon:hover{background:var(--color-ledger-hover);color:var(--color-text)}.dock-rail-icon.open{border-right-color:var(--color-amber);background:var(--color-ledger-hover);color:var(--color-text)}.dock-rail-glyph{color:var(--color-amber);font-size:1.35rem;line-height:1}.dock-rail-label{color:var(--color-text-dim);text-transform:uppercase;letter-spacing:.1ch;font-size:var(--type-section-title-size);font-weight:700;line-height:1}.dock-rail-meta{display:flex;align-items: center;gap:.35ch}.dock-rail-count{color:var(--color-text-dim);font-size:var(--type-section-title-size);font-variant-numeric:tabular-nums}.dock-panel{display:flex;border-left:1px solid var(--color-ledger-rule);overflow:hidden;flex-direction:column;flex:none;width:min(45vw,64ch);min-height:0}.dock-panel-header{display:flex;border-bottom:1px solid var(--color-ledger-rule);background:var(--color-surface-raised);color:var(--color-text-dim);text-transform:uppercase;letter-spacing:var(--type-section-title-tracking);font-size:var(--type-section-title-size);font-weight:var(--type-section-title-weight);flex:none;justify-content:space-between;align-items: center;gap:.5ch;padding:.3ch .5ch}.dock-panel-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dock-panel-rows{overflow-y:auto;flex:auto;min-height:0;padding:.25ch .5ch}.dock-subgroup-title{color:var(--color-text-dim);text-transform:uppercase;letter-spacing:.08ch;font-size:var(--type-section-title-size);margin-top:.6ch;padding:.15ch .25ch}.dock-panel-rows>div:first-child .dock-subgroup-title{margin-top:0}.dock-row{display:flex;border-left:2px solid var(--color-transparent);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;align-items: center;gap:1ch;min-height:2.1ch;padding:.15ch .5ch}.dock-row:hover{background:var(--color-ledger-hover)}.dock-row.selected{border-left-color:var(--color-selection);background:var(--color-sel-bg);color:var(--color-text)}.dock-row-label{overflow:hidden;text-overflow:ellipsis}.dock-row-detail{overflow:hidden;color:var(--color-text-dim);text-align:right;white-space:nowrap;text-overflow:ellipsis;flex:auto}.dock-status-dot{background:var(--color-text-dim);border-radius:50%;flex:none;width:.9ch;height:.9ch}.dock-status-good{background:var(--color-good)}.dock-status-warn{background:var(--color-warn)}.dock-status-bad{background:var(--color-bad)}.dock-status-idle{background:var(--color-text-dim)}.insp-rows{display:flex;flex-direction:column;gap:.2ch}.insp-row{display:flex;border-bottom:1px solid var(--color-ledger-rule);justify-content:space-between;gap:1ch;padding:.1ch 0}.insp-row:last-child{border-bottom:0}.insp-label{flex:auto}.insp-value{font-variant-numeric:tabular-nums;text-align:right;color:var(--color-text);overflow-wrap:anywhere;flex:0 auto;line-height:1.4}.selection-card{display:flex;gap:var(--space-sm);padding:var(--space-md);overflow:auto;flex-direction:column;width:34ch;max-width:calc(100% - 2ch);max-height:calc(100% - 2ch)}.card-header{display:flex;justify-content:space-between;align-items:baseline;gap:var(--space-sm);border-bottom:1px solid var(--color-ledger-rule);padding-bottom:.35ch}.card-name{color:var(--color-white);overflow-wrap:anywhere;font-weight:800}.card-class-tag{color:var(--color-violet);text-transform:uppercase;font-size:var(--type-section-title-size);font-weight:var(--type-section-title-weight);letter-spacing:var(--type-section-title-tracking);flex:none}.card-description{color:var(--color-text-dim)}.card-stats{display:flex;flex-direction:column;gap:.2ch}.card-stat-row{border-bottom:1px solid var(--color-ledger-rule)}.card-stat-row:last-child,.card-stat-row .insp-row{border-bottom:0}.card-stat-bar-track{background:var(--color-rule);overflow:hidden;height:3px;margin:.2ch 0 .3ch}.card-stat-bar-fill{background:var(--color-steel);height:100%}.card-stat-bar-fill-hot{background:var(--color-amber)}.card-verbs{display:flex;border-top:1px solid var(--color-border-active);flex-direction:column;gap:.4ch;padding-top:.5ch}.card-verb{display:inline-flex;border:1px solid var(--color-rule);background:var(--color-panel);color:var(--color-text);font:inherit;text-align:left;align-items: center;gap:.65ch;min-height:2.5ch;padding:.18ch .75ch}.card-verb.enabled{cursor:pointer}.card-verb.enabled:hover{border-color:var(--color-amber)}.card-verb.primary.enabled{border-color:var(--color-amber);background:var(--color-amber-soft);color:var(--color-amber)}.card-verb.disabled{color:var(--color-text-dim);cursor:not-allowed;opacity:.65}.card-verb-label{overflow:hidden;text-overflow:ellipsis}.card-verb-row{display:flex;flex-direction:column;gap:.15ch}.card-verb-reason{padding-left:.75ch;font-size:.85em;line-height:1.2}@keyframes card-verb-reason-flash{0%{color:var(--color-amber)}to{color:var(--color-text-dim)}}.card-verb-reason-flash{animation:card-verb-reason-flash 1.4s ease-out}.card-connections{display:flex;border-top:1px solid var(--color-ledger-rule);flex-direction:column;gap:.2ch;padding-top:.5ch}.card-connection-row{display:flex;color:var(--color-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:.75ch;padding:.15ch 0}.card-connection-role{flex:none}.card-connection-target{text-align:right;overflow:hidden;text-overflow:ellipsis;flex:auto}.card-connection-row:hover .card-connection-target{color:var(--color-amber)}.card-details-toggle{color:var(--color-amber);font:inherit;cursor:pointer;background:0 0;border:0;align-self: flex-start;padding:.25ch 0}.card-details-body{border-top:1px solid var(--color-ledger-rule);padding-top:.35ch}.card-section-title{letter-spacing:.08em;text-transform:uppercase;margin-top:1ch;font-size:.85em}.ship-panel .card-connection-row{width:100%}.key-chip{display:inline-flex;border:1px solid var(--color-amber);background:var(--color-amber);color:var(--color-chip-fg);font-size:var(--type-section-title-size);font-weight:var(--type-section-title-weight);letter-spacing:0;justify-content:center;align-items: center;min-width:2.3ch;min-height:1.7ch;padding:0 .45ch;line-height:1}.hint-chip{background:var(--color-panel);color:var(--color-amber)}.help-scrim{position:fixed;z-index:50;display:flex;background:var(--color-scrim);justify-content:center;align-items: center;inset:0}.help-panel{display:flex;border:1px solid var(--color-border-active);background:var(--color-overlay);box-shadow:0 0 0 1px var(--color-ledger-rule);overflow-y:auto;flex-direction:column;width:min(90ch,100vw - 4ch);min-width:min(60ch,100vw - 4ch);max-width:90ch;max-height:80vh}.help-body{display:flex;flex-direction:column;gap:1ch;padding:1ch 2ch}.help-group-title{border-bottom:1px solid var(--color-ledger-rule);color:var(--color-text-dim);text-transform:uppercase;letter-spacing:.12ch;margin-bottom:.25ch;padding-bottom:.15ch}.help-table{border-collapse:collapse;width:100%}.help-table tr:nth-child(2n){background:var(--color-ledger-stripe)}.help-key{color:var(--color-signal);white-space:nowrap;width:12ch;padding:.1ch 2ch .1ch .5ch}.help-label{color:var(--color-text);padding:.1ch .5ch}.help-footer{border-top:1px solid var(--color-ledger-rule);text-align:center;padding:.5ch 2ch 1ch}.chooser-panel{width:min(60ch,100vw - 4ch);min-width:min(40ch,100vw - 4ch);max-width:60ch}.chooser-options{display:flex;flex-direction:column;gap:.5ch;padding:1ch 2ch}.charter-briefing-panel{width:min(68ch,100vw - 4ch);min-width:min(44ch,100vw - 4ch);max-width:68ch}.charter-briefing-body{color:var(--color-text);padding:1.25ch 2ch}.flow-picker-panel{width:min(70ch,100vw - 4ch);min-width:min(44ch,100vw - 4ch);max-width:70ch}.flow-picker-options{display:flex;flex-direction:column;gap:.25ch;padding:1ch 2ch}.flow-picker-option{border-left:2px solid var(--color-transparent);cursor:pointer;min-height:2.1ch;padding:.15ch .5ch}.flow-picker-option:hover{background:var(--color-ledger-hover)}.flow-picker-option.selected{border-left-color:var(--color-selection);background:var(--color-sel-bg)}.flow-picker-index{display:inline-block;color:var(--color-selection);min-width:2ch}.palette-panel{width:min(80ch,100vw - 4ch);min-width:min(50ch,100vw - 4ch);max-width:80ch}.palette-input{border:1px solid var(--color-input-border);background:var(--color-input-surface);color:var(--color-text);margin:1ch 2ch .5ch;padding:.45ch .75ch}.palette-input:focus{outline:1px solid var(--color-focus);border-color:var(--color-focus)}.palette-results{display:flex;overflow-y:auto;flex-direction:column;gap:.15ch;max-height:40vh;padding:.5ch 2ch 1ch}.palette-result{border-left:2px solid var(--color-transparent);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;min-height:2.1ch;padding:.15ch .5ch}.palette-result:hover{background:var(--color-ledger-hover)}.palette-result.selected{border-left-color:var(--color-selection);background:var(--color-sel-bg)}.subpage-panel{display:flex;background:var(--color-surface);flex-direction:column;height:100%;min-height:0}.market-page .panel-title,.finance-page .panel-title,.contracts-page .panel-title,.codex-page .panel-title{color:var(--color-market)}.ledger-table{border-collapse:collapse;font-variant-numeric:tabular-nums;table-layout:fixed;width:100%}.ledger-table th{border-bottom:1px solid var(--color-ledger-rule);color:var(--color-text-dim);text-align:left;text-transform:uppercase;letter-spacing:var(--type-section-title-tracking);font-size:var(--type-section-title-size);font-weight:var(--type-section-title-weight);padding:.2ch 1ch .2ch 0}.ledger-table td{border-bottom:1px solid var(--color-ledger-rule);overflow-wrap:anywhere;padding:.15ch 1ch .15ch 0}.ledger-table th:first-child,.ledger-table td:first-child{padding-left:.5ch}.ledger-table th.num,.ledger-table td.num{text-align:right;overflow-wrap:normal;white-space:nowrap}.ledger-table tbody tr:nth-child(2n){background:var(--color-ledger-stripe)}.ledger-table tbody tr:hover{background:var(--color-ledger-hover)}.ledger-table tbody tr.selected-row{background:var(--color-sel-bg)}.ledger-action{border:1px solid var(--color-ledger-rule);background:var(--color-surface);color:var(--color-text);cursor:pointer;border-radius:0;min-width:7ch;padding:.05ch .75ch}.ledger-action:hover:not(:disabled){border-color:var(--color-selection);color:var(--color-selection)}.ledger-action:disabled{color:var(--color-text-dim);cursor:not-allowed;opacity:.6}.market-page .panel-body{overflow-x:hidden}.market-page .ledger-table{table-layout:fixed}.market-page .ledger-table th,.market-page .ledger-table td{overflow:hidden;white-space:nowrap;text-overflow:clip;padding-right:.45ch}.market-page .ledger-table .col-desk{text-overflow:ellipsis;width:19%}.market-page .ledger-table .col-good{text-overflow:ellipsis;width:12%}.market-page .ledger-table .col-price{width:9%}.market-page .ledger-table .col-drift{width:5%}.market-page .ledger-table .col-base{width:7%}.market-page .ledger-table .col-demand{width:20%}.market-page .ledger-table .demand-cell{display:flex;flex-direction:column;gap:.15ch}.market-page .ledger-table .demand-top{display:flex;justify-content:space-between;align-items:baseline;gap:.75ch}.market-page .ledger-table .demand-absorb{white-space:nowrap;font-size:.85em}.market-page .ledger-table .demand-bar{margin:0}.market-page .ledger-table .col-age{width:14%}.market-page .ledger-table tr.stale-row{background:color-mix(in srgb,var(--color-stale)14%,var(--color-transparent))}@keyframes market-row-flash{0%{background-color:color-mix(in srgb,var(--color-amber)35%,transparent)}to{background-color:#0000}}.market-page .ledger-table tr.market-row-flash{animation:market-row-flash .9s ease-out}.codex-page .panel-body{overflow-x:hidden}.codex-page .ledger-table th,.codex-page .ledger-table td{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:.55ch}.codex-page .ledger-table .col-good{width:18%}.codex-page .ledger-table .col-tier{width:7%}.codex-page .ledger-table .col-recipe{width:32%}.codex-page .ledger-table .col-produced,.codex-page .ledger-table .col-bought{width:25%}.codex-page .ledger-table.has-tier .col-recipe{width:28%}.codex-page .ledger-table.has-tier .col-produced,.codex-page .ledger-table.has-tier .col-bought{width:23.5%}.contracts-page .panel-body{overflow-x:hidden}.contracts-list{display:flex;list-style:none;flex-direction:column;margin:0 0 1ch;padding:0}.contracts-row{display:flex;border-bottom:1px solid var(--color-ledger-rule);cursor:pointer;flex-direction:column;gap:.2ch;padding:.35ch .5ch}.contracts-row:nth-child(2n){background:var(--color-ledger-stripe)}.contracts-row:hover{background:var(--color-ledger-hover)}.contracts-row.selected-row{background:var(--color-sel-bg)}.contracts-empty{cursor:default;padding:.35ch .5ch}.contracts-row-primary{display:flex;align-items:baseline;gap:.75ch}.contracts-issuer{overflow:hidden;color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;font-weight:600}.contracts-good{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:0 auto;min-width:0}.contracts-price{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.contracts-row-secondary{display:flex;color:var(--color-text-dim);flex-wrap:wrap;align-items: center;gap:.3ch 1ch;font-size:.85em}.contracts-meta{white-space:nowrap}.contracts-actions{display:flex;flex:none;gap:.4ch;margin-left:auto}.finance-body{display:flex;flex-direction:column;gap:1.5ch}.finance-section{border-top:1px solid var(--color-ledger-rule);padding-top:.5ch}.finance-section:first-child{border-top:0;padding-top:0}.finance-section-title{color:var(--color-text-dim);text-transform:uppercase;letter-spacing:.12ch;margin-bottom:.35ch;font-weight:700}.lending-credit{margin-bottom:.75ch}.lending-table+.lending-table{margin-top:1ch}.menu-panel{width:min(64ch,100vw - 4ch);min-width:min(44ch,100vw - 4ch);max-width:64ch}.menu-error{padding:0 2ch .5ch}.menu-notice{border-left:2px solid var(--color-warn);background:var(--color-ledger-stripe);padding:.5ch .75ch;font-size:.9em}.menu-file-input{display:none}.menu-version{text-align:center;font-variant-numeric:tabular-nums;padding:0 2ch .5ch;font-size:.9em}.menu-form{display:flex;flex-direction:column;gap:.75ch;padding:1ch 2ch}.menu-form-row{display:flex;flex-direction:column;gap:.25ch}.menu-form-row input{border:1px solid var(--color-input-border);background:var(--color-input-surface);color:var(--color-text);padding:.45ch .75ch}.menu-form-row input:focus{outline:1px solid var(--color-focus);border-color:var(--color-focus)}.menu-form-submit{border:1px solid var(--color-border-active);background:var(--color-surface-raised);color:var(--color-text);cursor:pointer;align-self: flex-start;padding:.45ch 1.5ch}.menu-form-submit:hover,.menu-form-submit:focus{outline:1px solid var(--color-focus);border-color:var(--color-focus);color:var(--color-signal)}.report-body{display:flex;flex-direction:column;gap:.2ch}.report-section-title{border-bottom:1px solid var(--color-ledger-rule);color:var(--color-text-dim);text-transform:uppercase;letter-spacing:.12ch;margin-top:.75ch;padding-bottom:.15ch;font-weight:700}.report-blocker-row{border-bottom:1px solid var(--color-ledger-rule);padding:.1ch 0}.report-capped-notice{border-left:2px solid var(--color-warn);background:var(--color-ledger-stripe);margin-top:.75ch;padding:.35ch .75ch;font-weight:700}
