/* Orbital workspace: dark navy, slate surfaces, ivory actions and restrained cyan accents. */
body:is(.space-workbench-active,.space-flight-active){--text:#e8f0fa;--muted:#a2b2c9;color-scheme:dark;background:#070d18;color:var(--text)}
body:is(.space-workbench-active,.space-flight-active)::before{display:none}
:is(.space-workbench-active,.space-flight-active) .site-noise{display:none}
:is(.space-workbench-active,.space-flight-active) .site-footer{background:#070d18;color:#99a5b1;border-top:1px solid #ffffff12}
:is(.space-workbench-active,.space-flight-active) .site-footer a,:is(.space-workbench-active,.space-flight-active) .site-footer summary{color:#abb5be}
#landing-space-panel{font-size:14px;line-height:1.5;color:var(--text);min-width:0}
#landing-space-panel .page-wrap{width:min(1240px,calc(100% - 24px));padding:22px 0 48px}
#landing-space-panel button,#landing-space-panel input,#landing-space-panel select{font:inherit;min-height:44px;min-width:0;max-width:100%;border:1px solid #ffffff1c;border-radius:3px;padding:10px 14px;background-color:#1c2939;color:#e8f0fa;box-sizing:border-box}
#landing-space-panel select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23a8b4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}
#landing-space-panel button{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
#landing-space-panel button:disabled{opacity:.38;cursor:default}
[data-space-root][aria-busy=true]{cursor:progress}
[data-space-root][aria-busy=true] button{pointer-events:none}
#landing-space-panel :is(button,input,select,canvas,summary):focus-visible{outline:2px solid #73d7ed;outline-offset:3px}
#landing-space-panel .space-primary,#landing-space-panel [data-space-confirm]{background:#e5e9e5;border-color:#e5e9e5;color:#14202c;font-weight:650}
@media(hover:hover) and (pointer:fine){
 #landing-space-panel button:hover{background:#27384a;border-color:#ffffff40}
 #landing-space-panel .space-primary:hover,#landing-space-panel [data-space-confirm]:hover{background:#ffffff}
}
#landing-space-panel h1,#landing-space-panel h2,#landing-space-panel h3{color:#f3f4ef;letter-spacing:-.02em}
#landing-space-panel h2{font-size:20px;margin:0;font-weight:600}
#landing-space-panel h3{font-size:22px;margin:8px 0 14px;line-height:1.4}
#landing-space-panel small{font-size:12px;color:#a1aeba}
.space-icon{display:inline-block;width:19px;height:19px;flex:none;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat}
.space-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.space-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.space-heading>div>p{display:none}
.space-heading h1{font-size:26px;margin:3px 0 4px;font-weight:650}
.space-heading p,.space-eyebrow{font-size:10px;font-weight:600;color:#aebac4;margin:0}
.space-heading p{color:#73d7ed}
.space-commander{font-size:12px;color:#a2b2c9}
.space-heading-actions{display:flex;gap:10px}
#landing-space-panel [data-space-refresh]{width:44px;padding:10px;background:transparent}
.space-command-bar{display:flex;align-items:center;gap:20px;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #ffffff14}
.space-section-nav{display:flex;gap:12px;background:none;border:0;border-radius:0;padding:0}
#landing-space-panel .space-section-nav button{border-color:transparent;background:transparent;padding:9px 17px;color:#a2b2c9;font-size:13px}
#landing-space-panel .space-section-nav button[aria-selected=true]{background:transparent;color:#9be7f2;box-shadow:inset 0 -2px #73d7ed}
.space-section-nav button span:not(.space-icon){font-size:11px;margin-left:3px;color:#a2b2c9}
.space-metrics{display:flex;align-items:center;gap:0;margin:0;padding:18px 0 22px}
.space-metrics>div{min-width:0;flex:1;padding-left:25px;border-left:1px solid #ffffff13}
.space-metrics>div:first-child{padding-left:0;border:0}
.space-metrics dt{font-size:12px;color:#b1bac5;margin-bottom:4px}
.space-metrics dd{font-size:23px;font-weight:550;line-height:1.2;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.space-metrics dd small{font-size:12px;font-weight:400}
.space-metrics>div:last-child dd{color:#d9c5a1}
.space-notice{margin:0;padding:10px 14px;background:#243323;border-radius:3px;color:#d2e3c9;font-size:13px}
.space-notice:empty{display:none}
.space-notice.is-error{background:#392621;color:#f1c4b7}
[data-space-anchor][hidden]{display:none!important}
.space-workbench{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start;margin-top:8px}
.space-hangar{min-width:0;border:1px solid #ffffff13;background:#0b1627;border-radius:3px;overflow:hidden}
.space-hangar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;color:#9ca9b5;font-size:11px}
.space-hangar-head strong{font-size:12px;color:#9be7f2;font-weight:550}
.space-main-stage{height:clamp(310px,calc(100dvh - 430px),450px);position:relative;background:#0b1627}
.space-ship{position:relative;width:100%;height:100%;min-height:0}
.space-ship canvas{position:absolute;inset:0;width:100%;height:100%;visibility:hidden;touch-action:none;cursor:grab}
.space-ship canvas:active{cursor:grabbing}
.space-ship[data-art-ready=true] canvas{visibility:visible}
.space-ship img,.space-part-preview img,.space-detail-preview img{display:none}
.space-model-loading{position:absolute;inset:0;display:grid;place-items:center;color:#a7b6c3;font-size:13px;pointer-events:none}
[data-art-ready=true]>.space-model-loading{display:none}
:is(.space-ship,.space-detail-preview)[data-viewer-error]::after{content:attr(data-viewer-error);position:absolute;inset:40% 12px;text-align:center;color:#edc7b1}
.space-camera-views{position:absolute;right:18px;top:6px;display:flex;gap:0;border:1px solid #ffffff18;border-radius:3px;background:#0c192b;overflow:hidden}
#landing-space-panel .space-camera-views button{border:0;border-radius:0;padding:8px 12px;min-width:44px;font-size:12px;background:transparent;color:#aab7c3}
#landing-space-panel .space-camera-views button[aria-pressed=true]{color:#9be7f2;background:#ffffff0b}
.space-fitting{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;background:#10273c;border-top:1px solid #73d7ed66;border-bottom:1px solid #ffffff12;font-size:13px;color:#dff4fa}
.space-fitting[hidden]{display:none}
#landing-space-panel .space-fitting button{font-size:12px;padding:7px 12px;min-height:36px;background:#183a56;border-color:#73d7ed55}
.space-dock-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px;background:#0a1423;border-top:1px solid #ffffff10;flex-wrap:wrap}
#landing-space-panel .space-dock-tools button{font-size:12px;border-color:transparent;background:transparent;padding:8px}
#landing-space-panel .space-dock-tools button[aria-pressed=true]{background:#ffffff0c;color:#9be7f2}
.space-dock-tools label{display:flex;align-items:center;gap:9px;color:#a4b1bd;font-size:12px}
#landing-space-panel .space-dock-tools input{width:70px;min-height:44px;padding:0;border:0;accent-color:#73d7ed;background:none}
.space-loadout{min-width:0;padding-top:4px}
.space-loadout>header{display:flex;justify-content:space-between;align-items:center;padding:0 4px 14px;border-bottom:1px solid #ffffff15}
#landing-space-panel .space-loadout h2{font-size:17px;margin-top:4px}
.space-loadout>header>span{font-size:12px;color:#97a6b2}
#landing-space-panel .space-slot-list button{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;text-align:left;padding:6px 0;border:0;border-bottom:1px solid #ffffff0b;border-radius:0;background:transparent;min-height:48px}
@media(hover:hover) and (pointer:fine){#landing-space-panel .space-slot-list button:hover{background:#ffffff06}}
.space-slot-thumb{width:54px;height:36px;background:radial-gradient(circle at 50% 42%,#1a2d44 0%,#0b1523 82%);border:1px solid #ffffff14;border-radius:3px;overflow:hidden}
.space-slot-thumb canvas{width:100%;height:100%;display:block;object-fit:contain}
.space-slot-list strong{display:block;font-size:13px;font-weight:550}
.space-slot-list small{display:block;font-size:11px!important;color:#92a0ad!important}
.space-slot-level{text-align:right;color:#abc3db;font-size:11px}
.space-slot-level small{margin-top:3px}
.space-inventory,.space-disclosure{padding:20px 0;min-width:0}
.space-inventory>header{display:flex;justify-content:space-between;gap:20px;align-items:center}
.space-inventory h2{margin:4px 0!important}
.space-inventory h2 small{margin-left:10px;font-weight:400}
.space-filters{display:flex;flex-wrap:wrap;gap:10px}
.space-filters label,.space-form label{display:flex;flex-direction:column;gap:7px;color:#a8b4bf;font-size:12px;min-width:0}
#landing-space-panel .space-filters select{min-width:140px}
.space-inventory-controls{display:flex;align-items:end;flex-wrap:wrap;gap:16px 20px;margin:20px 0}
.space-model-search{display:flex;align-items:center;gap:8px;flex:1 1 340px;min-width:0;max-width:520px;margin:0}
.space-search-field{position:relative;flex:1;min-width:0}
.space-model-search label{display:flex;align-items:center;gap:8px;border:1px solid #ffffff22;border-radius:3px;padding-left:12px;background:#0d1b2d;color:#9cabb8}
#landing-space-panel .space-model-search input{width:100%;background:none;border:0;padding-left:0;min-height:42px}
#landing-space-panel .space-model-search [data-space-clear-filter]{background:transparent}
.space-search-options{position:absolute;z-index:12;inset:calc(100% + 4px) 0 auto;margin:0;padding:4px;max-height:min(260px,40dvh,var(--space-search-height,260px));overflow:auto;list-style:none;background:#162538;border:1px solid #40566b;border-radius:3px;box-shadow:0 12px 24px #0006}
.space-search-options[data-position=above]{inset:auto 0 calc(100% + 4px)}
.space-search-options li{padding:9px 10px;border-radius:2px;color:#e8f0fa;cursor:pointer;overflow-wrap:anywhere}
.space-search-options [aria-selected=true]{background:#263b50;color:#9be7f2}
@media(hover:hover) and (pointer:fine){.space-search-options li:hover{background:#263b50;color:#9be7f2}}
.space-inventory-toggles{display:flex;flex-wrap:wrap;align-items:center;align-self:end;gap:0 12px;min-width:0}
.space-filters .space-owned-filter{flex:0 1 auto;flex-direction:row;align-items:center;align-self:end;min-height:44px;max-width:100%;white-space:normal;word-break:keep-all;font-size:13px;color:#e3ebf4;cursor:pointer}
#landing-space-panel .space-owned-filter input{flex:none;width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:#73d7ed}
.space-status-panel{max-width:560px;padding:24px;border:1px solid #273d54;border-radius:3px;background:#142131}
.space-status-panel p{margin:8px 0 16px;color:#bac9d8}
.space-status-panel h1{font-size:24px;margin:0}
.space-part-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#landing-space-panel .space-part-row{display:flex;flex-direction:column;align-items:stretch;justify-content:start;text-align:left;background:#121e2d;border-color:#ffffff1c;border-radius:3px;padding:12px;gap:0}
@media(hover:hover) and (pointer:fine){#landing-space-panel button.space-part-row:hover{border-color:#73d7ed66;background:#172638}}
#landing-space-panel .space-part-unowned{background:#141b25;border-color:#ffffff15;color:#b4bdc8}
.space-part-unowned .space-part-preview{filter:grayscale(1);opacity:.42}
.space-part-unowned>small{margin-top:8px}
.space-part-grade{display:flex;justify-content:space-between;font-size:11px;color:#c3cdd5}
.space-part-grade>span{color:#a3b2bd}
.space-part-preview{display:block;position:relative;aspect-ratio:3/2;width:100%;height:auto;margin:8px 0 14px;background:radial-gradient(circle at 50% 42%,#192b42 0%,#0b1421 82%);border:1px solid #ffffff12;border-radius:2px;overflow:hidden}
.space-part-preview canvas{width:100%;height:100%;display:block;object-fit:contain}
.space-part-row strong{display:block;font-size:13px;font-weight:550;line-height:1.5}
.space-part-row>span:last-child>span{display:flex;justify-content:space-between;color:#9caebb;font-size:12px;margin:5px 0}
.space-part-row>span:last-child>.space-awakenable{color:#8edee5;font-weight:600}
.space-part-row b{display:block;font-size:12px;font-weight:550;color:#e5e9ed;margin-top:8px}
.space-part-row small{font-size:10px!important;color:#8799a8!important}
.space-part-row[data-grade=M]>.space-part-grade{color:#e6bb83}.space-part-row[data-grade=L]>.space-part-grade{color:#d1bc85}.space-part-row[data-grade=E]>.space-part-grade{color:#b4a6d6}.space-part-row[data-grade=R]>.space-part-grade{color:#9cc7c5}
.space-pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:24px 0;font-size:12px;color:#a6b6c3}
.space-empty{grid-column:1/-1;padding:65px 20px;text-align:center;color:#b1bfca}
.space-empty strong{font-size:18px;color:#e2e7e9}
.space-empty p{font-size:14px;margin-bottom:22px}
#landing-space-panel dialog{color:#e6ecf0;background:#142131;border:1px solid #ffffff25;padding:0;box-shadow:0 20px 70px #0008}
#landing-space-panel dialog:not([open]){display:none}
#landing-space-panel dialog::backdrop{background:#050b12b3}
.space-inspector{position:fixed;inset:16px 16px 16px auto;width:420px;max-width:calc(100% - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);margin:0;border-radius:3px;overflow:auto}
[data-space-detail]{padding:0 24px 28px;min-width:0}
.space-inspector-heading{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;padding:10px 0;background:#142131;z-index:2;border-bottom:1px solid #ffffff12;margin-bottom:22px;color:#aab7c2;font-size:12px}
#landing-space-panel .space-back{width:44px;padding:10px;background:none;border-color:transparent}
.space-grade-label{font-size:12px;color:#9be7f2;margin:0}
.space-detail-preview{position:relative;height:260px;border-radius:3px;background:#102137;overflow:hidden;margin:18px 0 0}
.space-detail-preview canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;visibility:hidden}
.space-detail-preview[data-art-ready=true] canvas{visibility:visible}
.space-detail-preview>span{position:absolute;bottom:12px;right:12px;font-size:11px;color:#b6c4cf;pointer-events:none}
.space-part-view-tools{display:flex;gap:4px;margin:10px 0 20px}
#landing-space-panel .space-part-view-tools button{flex:1;background:transparent;font-size:12px;border-color:#ffffff13}
.space-lore{font-size:13px;color:#a9b8c4;line-height:1.7}
.space-part-stats{margin:20px 0}
.space-part-stats>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #ffffff12}
.space-part-stats dt{font-size:13px;color:#a6b6c3}.space-part-stats dd{margin:0;font-variant-numeric:tabular-nums}.space-part-stats small{margin-left:8px;color:#9be7f2!important}
#landing-space-panel .space-preview-button{width:100%;margin-bottom:10px;background:transparent}
.space-growth-actions{margin-top:12px}
#landing-space-panel .space-growth-actions .context-help-button{flex:0 0 44px}
.space-part-row .space-material-choice{display:block!important;padding-top:8px;color:#a4dce4!important;border-top:1px solid #ffffff20;margin-top:12px!important}
.space-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
#landing-space-panel [data-space-detail] .space-actions button{flex:1;font-size:12px}
.space-item-tools{border-top:1px solid #ffffff16;margin-top:20px;padding-top:8px}
.space-item-tools summary{display:flex;align-items:center;min-height:44px;color:#c6d2da;font-size:13px;cursor:pointer}
.space-item-tools p{font-size:12px;color:#a6b4c0;line-height:1.7}
.space-item-code{overflow-wrap:anywhere;font-size:12px;color:#a6b4c0}
.space-transaction{width:min(820px,calc(100% - 32px));max-height:90dvh;border-radius:3px;overflow:auto}
.space-confirm{padding:26px}
.space-confirm>p{font-size:13px;line-height:1.65;overflow-wrap:anywhere;color:#bccbd5}
.space-confirm>p:first-of-type{font-size:18px;color:#f2f3ea}
.space-confirm>.space-actions{position:sticky;bottom:-26px;background:#142131;padding:20px 0 0;border-top:1px solid #ffffff15;justify-content:flex-end}
.space-confirm>.space-actions button{min-width:100px}
.space-assembly-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.space-assembly-comparison>div{min-width:0;background:#102137;border-radius:3px;padding:12px}
.space-assembly-comparison p{font-size:12px;color:#c8d3da;margin:0}
.space-assembly-comparison .space-ship{height:220px}
.space-supply-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:12px 0 32px;align-items:start}
.space-draw-guide{min-width:0;padding:0 0 26px;border-bottom:1px solid #ffffff1a}
.space-draw-limit{margin:8px 0 0;color:#96a9ba;font-size:13px}
.space-pity-caption{margin:24px 0 10px;color:#aabaca;font-size:12px}
.space-pity-gauges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 6px;max-width:780px}
.space-pity-gauge{--pity-color:#b9a6df;min-width:0}
.space-pity-gauge[data-grade=M]{--pity-color:#ddca93}
.space-pity-gauge>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px;font-size:14px;line-height:1.5}
.space-pity-gauge>header span{color:#d1dbe4}
.space-pity-gauge>header strong{color:var(--pity-color);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.space-pity-track{height:8px;overflow:hidden;background:#233041;border-radius:2px}
.space-pity-track>span{display:block;height:100%;background:var(--pity-color)}
.space-pity-gauge>p{margin:6px 0 0;color:#94a7b9;font-size:12px;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:540px){.space-pity-gauges{grid-template-columns:minmax(0,1fr);gap:18px}}
.space-draw-instruction{min-width:0;margin-top:20px;color:#bdc9d3;font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.space-draw-instruction p{margin:0}
.space-draw-instruction p+p{margin-top:6px}
.space-draw-instruction code{font:inherit;color:#c1edf4;white-space:normal;overflow-wrap:anywhere}
.space-special-balance{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;color:#e7edf1}
.space-special-balance strong{font-size:22px;font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.space-special-balance small{margin-left:4px;font-weight:400}
.space-operations{min-width:0;padding:0}
.space-operations>p{color:#adbcc7;font-size:13px;line-height:1.7}
.space-exchange-heading{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
.space-alloy-balance{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0;margin:0;color:#aebfcb;font-size:13px;line-height:1.6}
.space-alloy-balance strong{color:#e7edf1;font-size:16px;font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.space-tenure-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 24px;padding:20px 0;border-top:1px solid #ffffff1c}
.space-tenure-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0}
#landing-space-panel .space-tenure-heading h3{margin:0;color:#aebfcb;font-size:14px;font-weight:500}
.space-tenure-heading strong{color:#edf3f8;font-size:17px;font-weight:600;overflow-wrap:anywhere}
.space-tenure-production{grid-column:1;margin:0;color:#aebfcb;font-size:13px;line-height:1.6}
.space-tenure-panel>.space-actions{grid-column:2;grid-row:1/3}
.space-tenure-panel+.space-notice{margin-top:10px}
.world-route-tenure .space-transaction{max-width:520px}
.space-form{display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:end;gap:16px 12px;margin:22px 0 0}
.space-form label{min-width:0;margin:0}
#landing-space-panel .space-form :is(input:not([type=checkbox]),select){box-sizing:border-box;width:100%;height:46px;min-height:46px;line-height:24px;margin:0;padding:10px 12px;font-size:14px;background:#0b1421;border-color:#405166}
#landing-space-panel .space-form select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23a8b4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}
#landing-space-panel .space-form>button{grid-column:1/-1;min-height:46px}
.space-cost{grid-column:1/-1;color:#d8c4a3;font-size:13px;line-height:1.6;margin:0;font-variant-numeric:tabular-nums}
.space-cost strong{font-weight:500}
.space-exchange-form{grid-template-columns:minmax(120px,200px) minmax(0,max-content) max-content;column-gap:20px;justify-content:start}
.space-exchange-form .space-cost{grid-column:auto;display:flex;align-items:center;gap:4px;min-height:46px;overflow-wrap:anywhere}
#landing-space-panel .space-exchange-form>button{grid-column:auto}
.space-disclosure a{color:#9be7f2}
.space-disclosure>p{max-width:80ch;font-size:14px;line-height:1.8;color:#b4c3cd}
.space-prob-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 22px}
.space-prob-card{padding:14px 16px;border:1px solid #ffffff1a;border-radius:3px;background:#101d2d}
.space-prob-card>header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}
.space-prob-card strong{font-size:14px;color:#edf3f8}
.space-prob-card>header span{font-size:11px;color:#93a8bc}
.space-prob-chips{display:flex;flex-wrap:wrap;gap:8px}
.space-prob-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:2px;font-size:12px;font-variant-numeric:tabular-nums;background:#0b1523;border:1px solid #ffffff1a;color:#dce5ed}
.space-prob-chip b{font-weight:600}
.space-prob-chip[data-grade=M]{border-color:#e6bb8366;color:#f3d2a4}.space-prob-chip[data-grade=L]{border-color:#d1bc8555;color:#e6d5a3}.space-prob-chip[data-grade=E]{border-color:#b4a6d655;color:#d2c8eb}.space-prob-chip[data-grade=R]{border-color:#9cc7c555;color:#bce0de}.space-prob-chip[data-grade=C]{border-color:#ffffff22;color:#b8c6d2}
.space-disclosure .space-prob-details{margin:20px 0 24px;padding:16px 18px;border:1px solid #ffffff1c;border-radius:3px;background:#0e1a29}
.space-disclosure .space-prob-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:#9be7f2;font-size:14px;font-weight:550}
.space-disclosure .space-prob-details>summary small{color:#8fa4b8;font-weight:400}
.space-prob-toolbar{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(4,minmax(100px,1fr)) auto;gap:10px;align-items:end;margin:14px 0 16px}
.space-prob-toolbar label{display:flex;flex-direction:column;gap:6px;margin:0;color:#a7b7c4;font-size:12px;min-width:0}
.space-prob-toolbar .space-prob-search{grid-column:span 1;flex-direction:row;align-items:center;gap:8px;border:1px solid #ffffff26;border-radius:3px;padding:0 12px;background:#0b1624;height:40px}
#landing-space-panel .space-prob-toolbar .space-prob-search input{width:100%;margin:0;padding:0;background:none;border:0;min-height:38px;color:#eef4f9}
#landing-space-panel .space-prob-toolbar select{width:100%;min-width:0;height:40px;min-height:40px}
#landing-space-panel .space-prob-toolbar [data-space-prob-reset]{height:40px;min-height:40px;padding:0 14px;font-size:12px;background:transparent}
.space-prob-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px;font-size:12px;color:#b2c4d4}
.space-prob-meta small{color:#8196aa}
.space-table-scroll{max-height:430px;overflow:auto;margin:0;border:1px solid #ffffff1a;border-radius:3px;background:#0a1421}
.space-table-scroll table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}
.space-table-scroll thead th{position:sticky;top:0;z-index:1;background:#132336;color:#b9cad9;font-weight:600;border-bottom:1px solid #ffffff24}
.space-table-scroll :is(td,th){border-bottom:1px solid #ffffff12;padding:10px 14px;white-space:nowrap}
@media(hover:hover) and (pointer:fine){.space-table-scroll tbody tr:hover{background:#122234}}
.space-prob-grade{display:inline-block;padding:2px 7px;border-radius:2px;font-size:11px;font-weight:600;border:1px solid #ffffff22;color:#b8c6d2}
.space-prob-grade[data-grade=M]{border-color:#e6bb8366;color:#f3d2a4;background:#2a2015}.space-prob-grade[data-grade=L]{border-color:#d1bc8555;color:#e6d5a3;background:#242016}.space-prob-grade[data-grade=E]{border-color:#b4a6d655;color:#d2c8eb;background:#1d1b2c}.space-prob-grade[data-grade=R]{border-color:#9cc7c555;color:#bce0de;background:#14252a}
.space-prob-num{text-align:right!important;font-variant-numeric:tabular-nums;color:#e6eff7}
.space-prob-num.is-zero{color:#627588}
.space-disclosure .space-pagination{padding:16px 0 4px}
@media(max-width:760px){.space-prob-summary{grid-template-columns:1fr}.space-prob-toolbar{grid-template-columns:1fr 1fr}.space-prob-toolbar .space-prob-search{grid-column:1/-1}#landing-space-panel .space-prob-toolbar [data-space-prob-reset]{grid-column:1/-1;justify-self:stretch}.space-table-scroll{max-height:520px}.space-table-scroll thead{display:none}.space-table-scroll table,.space-table-scroll tbody{display:block;width:100%}.space-table-scroll tbody tr{display:grid;grid-template-columns:auto 1fr auto;gap:4px 10px;align-items:center;padding:11px 12px;border-bottom:1px solid #ffffff16}.space-table-scroll td{padding:0;border:0;white-space:normal}.space-table-scroll td:nth-child(1){grid-column:1;grid-row:1}.space-table-scroll td:nth-child(2){grid-column:2;grid-row:1;color:#8fa4b8;font-size:11px}.space-table-scroll td:nth-child(3){grid-column:1/-1;grid-row:2;font-size:13px;margin:2px 0 4px}.space-table-scroll td:nth-child(4){grid-column:1/3;grid-row:3;text-align:left!important;font-size:12px}.space-table-scroll td:nth-child(4)::before{content:'일반권 ';color:#8fa4b8;margin-right:4px}.space-table-scroll td:nth-child(5){grid-column:3;grid-row:3;text-align:right!important;font-size:12px}.space-table-scroll td:nth-child(5)::before{content:'특수권 ';color:#8fa4b8;margin-right:4px}}
.space-public-ship{max-width:320px;height:230px;background:#0b1627;border-radius:3px;margin:18px 0}
@media(max-width:1100px){.space-workbench{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.space-part-list{grid-template-columns:repeat(4,minmax(0,1fr))}.space-main-stage{height:clamp(310px,calc(100dvh - 430px),430px)}.space-slot-list small{font-size:9px!important}.space-dock-tools{gap:2px;padding:10px}}
@media(max-width:760px){
 #landing-space-panel .page-wrap{width:calc(100% - 10px);padding-top:16px}.space-heading{margin-bottom:16px;align-items:start}.space-heading h1{font-size:23px}.space-heading p{font-size:9px}.space-commander{font-size:11px}.space-heading-actions{gap:5px}#landing-space-panel .space-heading-actions button{font-size:12px;padding:10px}.space-heading-actions [data-space-refresh]{display:none!important}.space-heading-actions .space-icon:last-child{display:none}
 .space-command-bar{display:block;padding-bottom:10px}.space-section-nav{justify-content:space-between;gap:0}.space-section-nav .space-icon{width:16px;height:16px}#landing-space-panel .space-section-nav button{font-size:12px;padding:9px 8px;flex:1;gap:5px}.space-section-nav button span:not(.space-icon){display:none}
 .space-metrics{padding:14px 0}.space-metrics>div{padding-left:8px}.space-metrics dt{font-size:10px}.space-metrics dd{font-size:19px}.space-metrics dd small{font-size:10px}
 .space-metrics>div:last-child dd{font-size:14px;line-height:23px}
 #landing-space-panel .space-section-nav button{white-space:nowrap}
 .space-workbench{grid-template-columns:minmax(0,1fr);gap:20px}.space-hangar{border-radius:3px}.space-hangar-head{padding:12px 14px;font-size:10px}.space-hangar-head strong{font-size:11px}.space-main-stage{height:330px}.space-camera-views{right:10px;top:8px}#landing-space-panel .space-camera-views button{font-size:11px;padding:8px 10px}.space-dock-tools{justify-content:space-between;padding:8px 10px}.space-dock-tools label{order:4;width:100%;justify-content:space-between}#landing-space-panel .space-dock-tools input{width:70%}.space-fitting{flex-wrap:wrap;padding:8px 12px}
 .space-slot-list{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}#landing-space-panel .space-slot-list button{grid-template-columns:44px minmax(0,1fr);gap:8px;padding:8px 0;min-height:70px}.space-slot-thumb{width:44px;height:30px}.space-slot-list small{display:none}.space-slot-level{grid-column:2;text-align:left;font-size:10px;margin-top:-9px}.space-slot-level small{display:inline!important;font-size:10px!important;margin-left:8px}
 .space-inventory>header{display:block}.space-filters{width:100%}.space-filters label{flex:1 1 130px}#landing-space-panel .space-filters select{width:100%;min-width:0}.space-model-search{gap:6px;max-width:none}#landing-space-panel .space-model-search button{padding-inline:9px}.space-part-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#landing-space-panel .space-part-row{padding:10px}.space-part-preview{aspect-ratio:3/2;height:auto;margin:6px 0 10px}.space-part-row strong{font-size:12px}.space-inventory h2 small{font-size:11px!important}
 .space-inspector{inset:auto 0 0;width:100%;max-width:100%;height:auto;max-height:92dvh;border-radius:3px;margin:0;padding-bottom:env(safe-area-inset-bottom)}[data-space-detail]{padding:0 14px 22px}.space-inspector-heading{margin-bottom:14px}.space-detail-preview{height:240px}.space-transaction{width:calc(100% - 14px);max-height:92dvh}.space-confirm{padding:16px}.space-assembly-comparison{gap:8px}.space-assembly-comparison .space-ship{height:170px}
 .space-supply-layout{gap:22px;padding-top:4px}.space-draw-guide{padding-bottom:20px}.space-draw-instruction{font-size:13px}.space-form{grid-template-columns:minmax(0,1fr) 92px}.space-form label{min-width:0}.space-exchange-form{grid-template-columns:minmax(0,1fr)}.space-exchange-form .space-cost{grid-column:1/-1;min-height:0}#landing-space-panel .space-exchange-form>button{grid-column:1/-1}
 .space-tenure-panel{grid-template-columns:minmax(0,1fr);gap:8px}.space-tenure-panel>.space-actions{grid-column:1;grid-row:auto;margin-top:8px}.space-tenure-panel>.space-actions button{flex:1}
}
@media(prefers-reduced-motion:reduce){#landing-space-panel *{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:340px){.space-section-nav .space-icon{display:none}}

.space-dialog-notice{padding:12px;margin:12px 0;border-left:3px solid #f8a492;background:#311d25;color:#ffd0c4;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.space-dialog-notice:empty{display:none}
.space-material-selection{padding:14px 0;border-block:1px solid #294158;margin:16px 0;color:#b9cbdd}.space-material-selection strong{display:block;color:#e8f0fa}.space-material-selection p{margin:5px 0}.space-material-selection[hidden]{display:none}
.space-view-options{border-top:1px solid #26384c}.space-view-options>summary{cursor:pointer;min-height:44px;padding:10px 18px;color:#a2b9d0;font-size:12px}.space-view-options .space-camera-views{position:static;width:fit-content;margin:0 18px 10px;border-radius:2px}.space-view-options .space-dock-tools{border:0}
#landing-space-panel .space-section-nav button{border-radius:0;min-width:74px}
.space-part-row[aria-pressed=true],.space-slot-list button[aria-pressed=true]{outline:1px solid #73d7ed;outline-offset:-1px}
.space-hangar{border-radius:2px}.space-hangar-head{border-bottom:1px solid #233549}.space-main-stage{background:#0b1627 url('/landing/assets/space/hangar-orbit-v1.webp') center 54%/cover no-repeat}
@media(max-width:500px){.space-main-stage{background-position:35% center}}
.space-confirm .space-dialog-notice{color:#ffd0c4}.space-confirm>.space-actions{padding-bottom:12px}
#landing-space-panel [hidden]{display:none!important}

/* Use the existing site header without changing shared navigation geometry. */
body:is(.space-workbench-active,.space-flight-active) .brand-mark strong{color:#172a40}
body:is(.space-workbench-active,.space-flight-active) .brand-mark small{color:#64748b}
.space-title{display:flex;align-items:center;gap:8px}
#landing-space-panel .context-help-button{display:inline-grid;flex:0 0 44px;width:44px;height:44px;margin:-6px;padding:0;border:0;border-radius:0;background:transparent}
@media(hover:hover) and (pointer:fine){#landing-space-panel .context-help-button:hover{background:transparent}}
#landing-space-panel .context-help-button>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #507b98;border-radius:50%;background:#10243a;color:#9be7f2;font:600 13px/1 Georgia,serif}
#landing-space-panel .space-section-nav{flex:1}

/* Space changes header colors while retaining the deployed menu dimensions. */
body.space-workbench-active .site-header{background:#0b1629eb;border-color:#355570;box-shadow:0 16px 42px #0003}
body.space-workbench-active .brand-mark strong{color:#e8f0fa}
body.space-workbench-active .brand-mark small{color:#a2b2c9}
body.space-workbench-active .top-tabs{background:#0b2038cc;border-color:#355570}
body.space-workbench-active .top-tabs .tab-link{color:#bed0e2}
body.space-workbench-active .top-tabs .tab-link.is-current{background:#73d7ed;color:#071821;border-color:#73d7ed;box-shadow:0 8px 20px #0002}
body.space-workbench-active .top-tabs-dropdown__button{background:#122c45;color:#b6e9f3;box-shadow:none}
body.space-workbench-active .top-tabs-dropdown__chevron{border-color:currentColor}
body.space-workbench-active .top-tabs-dropdown__button.is-current{background:#73d7ed;color:#071821}
body:is(.space-workbench-active,.is-alliance-tab-active) .top-tabs-dropdown__menu{background:#0c1c2d;border-color:#355570;box-shadow:0 18px 42px #0004}
body:is(.space-workbench-active,.is-alliance-tab-active) .top-tabs-dropdown__item{color:#d6e6f4}
body:is(.space-workbench-active,.is-alliance-tab-active) .top-tabs-dropdown__item.is-current{background:#1b3a51;color:#9be7f2}
@media(hover:hover) and (pointer:fine){body:is(.space-workbench-active,.is-alliance-tab-active) .top-tabs-dropdown__item:hover{background:#1b3a51;color:#9be7f2}}
body.is-alliance-tab-active .top-tabs-dropdown__button{color:#d8eee8}
#landing-space-panel .world-stage{color:#e8f0fa}
#landing-space-panel .world-space-sidebar{border-radius:0}
#landing-space-panel [data-space-route-panel] .space-heading{margin-bottom:22px}

.space-lock-note{margin:8px 0 0;padding:8px 11px;border-left:2px solid #d59d4f;background:#16222c;color:#f2d7ae;font-size:13px;line-height:1.5}
.space-fitting{gap:8px;flex-wrap:wrap}
.space-fitting span{margin-right:auto}

/* A shared mobile picker also serves the route's destination and exploration count. */
.space-select-control{display:block;min-width:0;max-width:100%}
.space-select-control .space-select-trigger,#landing-space-panel .space-select-control .space-select-trigger{display:none}
.space-select-dialog{box-sizing:border-box;position:fixed;inset:auto 0 max(12px,env(safe-area-inset-bottom));width:min(420px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);margin:0 auto;padding:0;border:1px solid #496077;border-radius:4px;background:#142131;color:#e8f0fa;box-shadow:0 18px 60px #0009;color-scheme:dark;overflow:hidden;font-family:inherit;font-size:16px;line-height:1.5}
.space-select-dialog:not([open]){display:none}
.space-select-dialog[open]{display:flex;flex-direction:column}
.space-select-dialog::backdrop{background:#030913b3}
.space-select-dialog>header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #ffffff20}
.space-select-dialog h2{margin:0;color:#eef4f9;font-family:inherit;font-size:17px;line-height:1.4;font-weight:600}
.space-select-dialog .space-select-close{flex:none;min-width:48px;min-height:48px;margin:0;padding:8px 10px;border:1px solid #42596f;border-radius:3px;background:#1c2e41;color:#d8e5ef;font:inherit;font-size:15px;cursor:pointer}
.space-select-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 8px 10px;scroll-padding-block:6px}
.space-select-dialog .space-select-option{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;margin:0;padding:12px;border:0;border-radius:2px;background:transparent;color:#e5edf5;font:inherit;font-size:16px;line-height:1.5;text-align:left;overflow-wrap:anywhere;cursor:pointer}
.space-select-dialog .space-select-option[aria-selected=true]{background:#244256;color:#a5ecf5;font-weight:600}
.space-select-dialog .space-select-option[aria-selected=true]::after{content:'✓';flex:none;color:#9ce9f4}
@media(hover:hover) and (pointer:fine){.space-select-dialog .space-select-option:hover{background:#263b50}}
.space-select-dialog .space-select-option:disabled{color:#8192a3;opacity:.6;cursor:default}
.space-select-dialog .space-select-option[data-dim=true]{opacity:.58}
.space-select-filters{display:flex;flex:none;gap:6px;padding:10px 12px 6px;border-bottom:1px solid #ffffff12}
.space-select-filters button{flex:1;min-height:40px;margin:0;padding:6px 8px;border:1px solid #354c63;border-radius:3px;background:#101d2d;color:#b7c7d6;font:inherit;font-size:13px;font-weight:550;cursor:pointer}
.space-select-filters button[aria-pressed=true]{background:#83e3ee;border-color:#83e3ee;color:#071821;font-weight:700}
.space-select-option--rich{padding:11px 12px}
.space-select-opt-main{display:flex;flex-direction:column;min-width:0;flex:1}
.space-select-opt-main strong{font-size:15px;font-weight:600;color:inherit;line-height:1.35}
.space-select-opt-main small{font-size:12px;font-weight:400;color:#97abbd;line-height:1.35;margin-top:2px}
.space-select-opt-badge{flex:none;padding:3px 8px;border-radius:2px;font-size:11px;font-weight:650;border:1px solid rgba(255,255,255,.18);background:#1b2c40;color:#c9d7e3}
.space-select-opt-badge[data-tone=own]{border-color:rgba(115,215,237,.72);background:rgba(18,59,79,.85);color:#9be7f2}
.space-select-opt-badge[data-tone=vacant],.space-select-opt-badge[data-tone=win]{border-color:rgba(99,230,190,.6);background:rgba(14,53,48,.85);color:#9ff4d8}
.space-select-opt-badge[data-tone=even]{border-color:rgba(247,201,110,.6);background:rgba(56,43,18,.82);color:#f9df9d}
.space-select-opt-badge[data-tone=loss]{border-color:rgba(240,145,126,.48);background:rgba(56,28,28,.75);color:#f4beb3}
.space-select-opt-badge[data-tone=protected],.space-select-opt-badge[data-tone=occupied]{border-color:rgba(240,201,109,.5);background:rgba(46,38,20,.78);color:#f2d896}
.space-select-opt-badge[data-tone=unreachable]{border-color:rgba(155,161,166,.35);background:rgba(36,43,49,.8);color:#9ba1a6}
.space-select-empty{margin:16px 12px;text-align:center;color:#96a9ba;font-size:14px}
.space-select-dialog button:focus-visible{outline:2px solid #73d7ed;outline-offset:-2px}
@media(max-width:760px){
 .space-select-control select[data-space-select-native]{display:none!important}
 .space-select-control .space-select-trigger,#landing-space-panel .space-select-control .space-select-trigger{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin:0;padding:10px 36px 10px 12px;border:1px solid #405166;border-radius:3px;background:#1c2939 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23a8b4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat;color:#e8f0fa;font:inherit;font-size:16px;line-height:1.5;text-align:left;overflow-wrap:anywhere;cursor:pointer}
 .space-select-control .space-select-trigger:disabled{opacity:.45;cursor:default}
 #landing-space-panel .space-form .space-select-trigger{background-color:#0b1421}
 #landing-space-panel :is(input:not([type=checkbox]):not([type=range]),select){font-size:16px}
 #landing-space-panel .space-form input:not([type=checkbox]){height:48px;min-height:48px;font-size:16px}
 #landing-space-panel .space-form>button{min-height:48px}
 .space-model-search label{height:48px}
 #landing-space-panel .space-model-search input{height:46px;min-height:46px}
 #landing-space-panel .space-model-search button,.space-filters .space-owned-filter{min-height:48px}
 .space-inventory-toggles{flex:1 0 100%}
 .space-prob-toolbar .space-prob-search{box-sizing:border-box;height:48px}
 #landing-space-panel .space-prob-toolbar .space-prob-search input{height:46px;min-height:46px}
 #landing-space-panel .space-prob-toolbar [data-space-prob-reset]{height:48px;min-height:48px}
 .space-search-options li{min-height:44px;box-sizing:border-box;font-size:16px;line-height:1.5}
}

/* Keep probability disclosure close to drawing without crowding the guide. */
#landing-space-panel .space-probability-link{margin-left:auto;padding:8px 0;min-height:44px;border:0;background:transparent;color:#aab7c4;font-size:12px;font-weight:400;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
@media(hover:hover) and (pointer:fine){#landing-space-panel .space-probability-link:hover{color:#e8f0f8;background:transparent}}
#landing-space-panel dialog.space-probability-dialog{box-sizing:border-box;width:min(1000px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #42576c;border-radius:4px;background:#101c2b;color:#dce6f0;color-scheme:dark;overflow:auto;overscroll-behavior:contain}
.space-probability-dialog:not([open]){display:none}
.space-probability-dialog::backdrop{background:#030913b3}
.space-probability-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.space-probability-heading h2{margin:0;font-size:19px;line-height:1.4;color:#edf5fb}
.space-probability-heading button{flex:none;min-width:48px;min-height:44px}
.space-probability-dialog>p{font-size:13px;line-height:1.7;color:#abbaca;overflow-wrap:anywhere}
@media(max-width:600px){#landing-space-panel dialog.space-probability-dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:16px}.space-probability-heading{gap:12px}.space-probability-heading h2{font-size:17px}}
