:root{--slate:#141413;--surface:#1c1b19;--card:#1f1e1b;--line:#2e2c28;--clay:#d97757;--lilac:#b48ce8;--purple:#7b3fc4;--ivory:#faf9f5;--muted:#a8a49b;--dim:#6f6b63;--font:"Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--slate);height:100%;color:var(--ivory);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;margin:0;overflow:hidden}#scene{touch-action:none;outline:none;width:100%;height:100%;display:block;position:fixed;inset:0}#ui{pointer-events:none;position:fixed;inset:0}#ui>*{pointer-events:auto}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}.hidden{display:none!important}.hud{padding:calc(var(--safe-top) + 10px) calc(var(--safe-right) + 12px) 0 calc(var(--safe-left) + 12px);pointer-events:none;flex-direction:column;gap:8px;display:flex;position:absolute;top:0;left:0;right:0}.hud>*{pointer-events:auto}.hud-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.hud-clock{border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);white-space:nowrap;background:#1c1b19d1;border-radius:12px;align-items:baseline;gap:8px;padding:8px 12px;display:flex}.hud-date{color:var(--muted);font-size:13px}.hud-time{font-variant-numeric:tabular-nums;font-size:17px;font-weight:600}.hud-utc{color:var(--dim);letter-spacing:.08em;font-size:10px}.speeds{border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);background:#1c1b19d1;border-radius:12px;gap:2px;padding:3px;display:flex}.speed{min-width:40px;height:34px;color:var(--muted);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:9px;place-items:center;padding:0 8px;font-size:14px;font-weight:600;display:grid}.speed.active{background:var(--purple);color:var(--ivory)}.power-card{border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);background:#1f1e1bdb;border-radius:14px;align-self:stretch;padding:10px 12px}.orbit-state{cursor:pointer;color:var(--muted);align-items:center;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.orbit-dot{background:#f4d27a;border-radius:50%;width:9px;height:9px;box-shadow:0 0 8px #f4d27a}.orbit-label{color:var(--ivory);font-weight:600}.orbit-eta{font-variant-numeric:tabular-nums;margin-left:auto}.orbit-state.eclipse .orbit-dot{box-shadow:inset 0 0 0 1.5px var(--muted);background:#33312c}.stats{grid-template-columns:1fr 1fr 1.25fr;gap:10px;display:grid}.stat{flex-direction:column;gap:2px;min-width:0;display:flex}.stat-k{letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-size:10px}.stat-line{align-items:baseline;gap:3px;display:flex}.stat-v{font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.stat-u{color:var(--muted);font-size:11px}.battery-bar{background:#2c2a26;border-radius:3px;height:5px;margin-top:3px;overflow:hidden}.battery-bar i{background:var(--lilac);border-radius:3px;width:0;height:100%;transition:width .4s,background .3s;display:block}.battery-bar.low i{background:var(--clay)}.stat-flow{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.stat-flow.charging{color:var(--lilac)}.stat-flow.discharging{color:#e0b38a}.thermal-row{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:9px;padding-top:9px;display:flex}.loop-stat{flex:none}.loop-gauge{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.loop-bar{background:#2c2a26;border-radius:3px;height:5px;position:relative}.loop-bar i{background:var(--lilac);border-radius:3px;width:0;height:100%;transition:width .4s,background .3s;display:block}.loop-bar .tick{background:var(--muted);opacity:.6;border-radius:1px;width:2px;height:11px;margin-left:-1px;position:absolute;top:-3px}.loop-bar.warm i{background:#e6b48c}.loop-bar.hot i{background:var(--clay)}.loop-gauge .stat-flow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.heat-toggle{border:1px solid var(--line);background:var(--surface);height:34px;color:var(--muted);border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.heat-toggle.active{background:var(--purple);border-color:var(--purple);color:var(--ivory)}.heat-legend{color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:8px;margin-top:8px;font-size:11px;display:none}.heat-legend.visible{display:flex}.heat-legend i{border-radius:3px;flex:1;height:6px}.fold-toggle{width:30px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;margin:-6px -6px -6px 0;display:grid}.fold-toggle svg{transition:transform .2s;transform:rotate(180deg)}.power-card.compact .fold-toggle svg{transform:none}.compact-row{grid-template-columns:1.5fr 1fr 1fr .9fr;gap:8px;display:none}.compact-row .battery-bar{height:3px;margin-top:2px}.power-card.compact .compact-row{display:grid}.power-card.compact .stats,.power-card.compact .thermal-row,.power-card.compact .heat-legend,.power-card.compact .life-row{display:none}.power-card.compact .orbit-state{margin-bottom:6px}.life-row{border-top:1px solid var(--line);grid-template-columns:1fr 1fr 1fr 1.35fr;gap:8px;margin-top:9px;padding-top:9px;display:grid}.mini{flex-direction:column;gap:1px;min-width:0;display:flex}.mini-v{font-variant-numeric:tabular-nums;font-size:16px;font-weight:600}.mini-v.warn{color:#e6b48c}.mini-v.alarm{color:var(--clay)}.mini-u{color:var(--dim);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.shed-note{color:var(--clay);background:#d9775724;border-radius:8px;margin-top:8px;padding:6px 8px;font-size:12px;line-height:1.3;display:none}.shed-note.visible{display:block}.toasts{left:0;right:0;bottom:calc(var(--safe-bottom) + 74px);flex-direction:column-reverse;align-items:center;gap:6px;padding:0 16px;display:flex;position:absolute;pointer-events:none!important}.toast{border:1px solid var(--line);border-left:3px solid var(--lilac);opacity:0;background:#1f1e1bf0;border-radius:12px;max-width:420px;padding:9px 14px;font-size:13px;line-height:1.35;transition:opacity .25s,transform .25s;transform:translateY(8px)}.toast.in{opacity:1;transform:none}.toast.warn{border-left-color:var(--clay)}.toast.alarm{border-left-color:var(--clay);background:#462016f2}.sheet{max-width:560px;padding:8px 18px calc(var(--safe-bottom) + 18px);background:var(--card);border:1px solid var(--line);z-index:2;border-bottom:0;border-radius:20px 20px 0 0;margin:0 auto;transition:transform .28s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:0;left:0;right:0;transform:translateY(105%);box-shadow:0 -12px 40px #00000073}.sheet.open{transform:none}.sheet-handle{background:#3b3934;border-radius:2px;width:40px;height:4px;margin:2px auto 10px}.sheet-head{touch-action:none;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sheet-kind{letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-size:11px}.sheet-title{margin:2px 0 0;font-size:22px;font-weight:600}.sheet-close{background:var(--surface);width:36px;height:36px;color:var(--muted);border:0;border-radius:50%;font-size:22px;line-height:1}.sheet-desc{color:var(--muted);margin:8px 0 12px;font-size:14px;line-height:1.45}.sheet-rows{border-top:1px solid var(--line);margin:0 0 14px}.sheet-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:10px 0;font-size:14px;display:flex}.sheet-row dt{color:var(--muted)}.sheet-row dd{font-variant-numeric:tabular-nums;margin:0;font-weight:500}.status{align-items:center;gap:8px;display:flex}.status-dot{background:var(--dim);border-radius:50%;width:9px;height:9px}.status-dot.powered{background:var(--lilac);box-shadow:0 0 8px var(--lilac)}.status-dot.shed{background:var(--clay);box-shadow:0 0 8px var(--clay);animation:.9s steps(2,start) infinite blink}.status-dot.throttled{background:#e6b48c;box-shadow:0 0 8px #e6b48c}.status-dot.overheated{background:#ff5a3c;animation:.9s steps(2,start) infinite blink;box-shadow:0 0 8px #ff5a3c}@keyframes blink{to{visibility:hidden}}.chip{border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-block}.chip.tier-critical{color:#d6c1f5;background:#7b3fc440}.chip.tier-essential{color:var(--lilac);background:#b48ce829}.chip.tier-commercial{color:#eaa58c;background:#d9775729}.sheet-toggle{border:1px solid var(--line);background:var(--surface);border-radius:12px;width:100%;height:46px;font-size:15px;font-weight:600}.sheet-toggle.danger{color:var(--clay)}.sheet-actions{gap:10px;display:flex}.sheet-toggle.primary{border-color:var(--purple);background:var(--purple);color:var(--ivory)}.status-dot.failed{background:#ff5a3c;animation:.9s steps(2,start) infinite blink;box-shadow:0 0 8px #ff5a3c}.status-dot.servicing{background:var(--ivory);box-shadow:0 0 8px var(--ivory);animation:2.4s ease-in-out infinite blink}.wear-bar{background:var(--line);vertical-align:middle;border-radius:3px;width:64px;height:6px;margin-right:8px;display:inline-block;overflow:hidden}.wear-bar i{background:var(--lilac);height:100%;display:block}dd.worn .wear-bar i{background:var(--clay)}dd.worn .wear-text{color:var(--clay)}.warn-fab{left:calc(var(--safe-left) + 14px);bottom:calc(var(--safe-bottom) + 16px);border:1px solid var(--line);min-width:46px;height:46px;color:var(--ivory);font-variant-numeric:tabular-nums;z-index:1;background:#1f1e1bf0;border-radius:23px;align-items:center;gap:7px;padding:0 14px 0 12px;font-size:15px;font-weight:600;display:inline-flex;position:absolute;box-shadow:0 6px 20px #00000073}.warn-fab.warn{color:#e6b48c;border-color:#e6b48c}.warn-fab.alarm{border-color:var(--clay);background:var(--clay);color:var(--slate);animation:1.6s ease-in-out infinite pulse-alarm}.warn-fab.active{display:none}@keyframes pulse-alarm{50%{box-shadow:0 0 0 6px #d9775740,0 6px 20px #00000073}}.warn-sheet{max-width:560px;max-height:62vh;padding:12px 0 calc(var(--safe-bottom) + 14px);background:var(--card);border:1px solid var(--line);z-index:2;border-bottom:0;border-radius:20px 20px 0 0;flex-direction:column;margin:0 auto;transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;bottom:0;left:0;right:0;transform:translateY(105%);box-shadow:0 -12px 40px #00000073}.warn-sheet.open{transform:none}.warn-scroll{-webkit-overflow-scrolling:touch;padding:0 18px;overflow-y:auto}.warn-empty{color:var(--muted);margin:4px 0 12px;font-size:14px}.warn-group{border:1px solid var(--line);background:var(--surface);border-left:3px solid #e6b48c;border-radius:12px;margin-bottom:10px;padding:10px 12px}.warn-group.alarm{border-left-color:var(--clay)}.warn-root,.warn-crew-row{flex-wrap:wrap;align-items:center;gap:6px 10px;padding:4px 0;display:flex}.warn-root .sev-dot{background:#e6b48c;border-radius:50%;flex:none;width:9px;height:9px}.warn-root.alarm .sev-dot{background:var(--clay);box-shadow:0 0 8px var(--clay)}.warn-root.info .sev-dot{background:var(--dim)}.warn-root-text{flex-direction:column;flex:60%;gap:2px;min-width:0;display:flex}.warn-title{font-size:15px;font-weight:600}.warn-note{color:var(--muted);font-size:12px}.warn-actions{flex:none;gap:6px;margin-left:auto;display:flex}.warn-act{border:1px solid var(--line);background:var(--card);white-space:nowrap;border-radius:10px;height:34px;padding:0 12px;font-size:13px;font-weight:600}.warn-act.primary{border-color:var(--purple);background:var(--purple);color:var(--ivory)}.warn-leads{letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:6px 0 2px 19px;font-size:11px}.warn-effects{margin:0;padding:0 0 0 19px;list-style:none}.warn-effect{color:var(--muted);padding:3px 0 3px 16px;font-size:14px;position:relative}.warn-effect:before{content:"";border-left:1px solid var(--dim);border-bottom:1px solid var(--dim);border-bottom-left-radius:4px;width:8px;position:absolute;top:0;bottom:50%;left:2px}.warn-effect.alarm{color:var(--clay)}.warn-crew-title{letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:14px 0 4px;font-size:11px;font-weight:600}.build-fab{right:calc(var(--safe-right) + 14px);bottom:calc(var(--safe-bottom) + 16px);border:1px solid var(--purple);background:var(--purple);height:46px;color:var(--ivory);z-index:1;border-radius:23px;align-items:center;gap:7px;padding:0 16px 0 13px;font-size:15px;font-weight:600;display:inline-flex;position:absolute;box-shadow:0 6px 20px #00000073}.build-fab.active{display:none}.build-sheet{max-width:560px;padding:12px 0 calc(var(--safe-bottom) + 16px);background:var(--card);border:1px solid var(--line);z-index:2;border-bottom:0;border-radius:20px 20px 0 0;margin:0 auto;transition:transform .28s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:0;left:0;right:0;transform:translateY(105%);box-shadow:0 -12px 40px #00000073}.build-sheet.open{transform:none}.build-head{justify-content:space-between;align-items:center;padding:0 18px 10px;display:flex}.build-sheet.compact .build-head{display:none}.build-title{margin:0;font-size:20px;font-weight:600}.build-tray{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;touch-action:pan-x;gap:10px;padding:0 18px 4px;display:flex;overflow-x:auto}.build-card{border:1px solid var(--line);background:var(--surface);text-align:left;scroll-snap-align:start;border-radius:14px;flex-direction:column;flex:none;align-items:flex-start;gap:3px;width:168px;min-height:132px;padding:12px;display:flex}.build-card:active{border-color:var(--lilac)}.build-card-kind{letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-size:10px}.build-card-name{margin-bottom:4px;font-size:15px;font-weight:600}.build-card-line{color:var(--muted);font-size:12px;line-height:1.3}.build-hint{color:var(--ivory);align-items:center;gap:12px;padding:0 18px;font-size:14px;display:flex}.build-hint span{flex:1}.build-back{border:1px solid var(--line);background:var(--surface);border-radius:11px;height:40px;padding:0 16px;font-size:14px;font-weight:600}.build-card-price{color:var(--lilac);font-variant-numeric:tabular-nums;margin-top:auto;padding-top:6px;font-size:14px;font-weight:600}.build-card-price.short{color:var(--dim);text-decoration:line-through}.build-preview{padding:0 18px}.build-preview-title{margin:0;font-size:18px;font-weight:600}.build-preview-sub{color:var(--muted);margin:4px 0 8px;font-size:13px}.build-rows{border-top:1px solid var(--line);margin:0 0 10px}.build-row{border-bottom:1px solid var(--line);justify-content:space-between;padding:8px 0;font-size:14px;display:flex}.build-row dt{color:var(--muted)}.build-row dd{font-variant-numeric:tabular-nums;color:var(--muted);margin:0}.build-row .arrow{color:var(--dim)}.build-row b{color:var(--ivory);font-weight:600}.build-row.good b{color:var(--lilac)}.build-row.bad b{color:var(--clay)}.build-blocked{color:var(--clay);margin:0 0 10px;font-size:13px}.build-actions{gap:10px;display:flex}.build-actions .build-back{flex:1;height:46px}.build-confirm{background:var(--purple);border:0;border-radius:12px;flex:2;height:46px;font-size:15px;font-weight:600}.build-confirm:disabled{color:var(--dim);background:#3a3546}@media (min-width:720px){.hud{flex-direction:row;justify-content:space-between;align-items:flex-start}.hud-row{flex-direction:column;align-items:flex-start}.power-card{align-self:auto;width:400px}}.hud{container-type:inline-size}@container (width<=400px){.hud-clock{gap:6px;padding:8px 10px}.hud-date{font-size:12px}.speed{min-width:34px;padding:0 6px}.compact-row .stat-line{white-space:nowrap}.compact-row .mini-v{font-size:14px}}@container (width<=350px){.hud-utc,.hud-date{display:none}}@media (min-width:720px) and (max-height:500px){.hud{zoom:.72}.power-card{width:360px}}@media (prefers-reduced-motion:reduce){.sheet,.build-sheet,.warn-sheet,.warn-fab,.toast,.battery-bar i,.loop-bar i{transition:none}.warn-fab.alarm{animation:none}}#ui>.report-scrim{opacity:0;pointer-events:none;z-index:4;background:#08080a8c;transition:opacity .2s;position:absolute;inset:0}#ui>.report-scrim.open{opacity:1;pointer-events:auto}.report-sheet{background:var(--card);border:1px solid var(--line);opacity:0;pointer-events:none;z-index:4;border-radius:20px;flex-direction:column;gap:12px;width:min(420px,100% - 32px);max-height:calc(100% - 48px);padding:18px 18px 16px;transition:opacity .2s,transform .2s;display:flex;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-46%)scale(.98);box-shadow:0 20px 60px #0009}.report-scrim.open .report-sheet{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)}.report-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:0;font-size:11px;font-weight:600}.report-net{font-variant-numeric:tabular-nums;margin:0;font-size:34px;font-weight:600}.report-verdict{color:var(--muted);margin:0;font-size:14px;line-height:1.4}.report-rows{border-top:1px solid var(--line)}.report-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:7px 0;font-size:14px;display:flex}.report-row span{color:var(--muted)}.report-row b{font-variant-numeric:tabular-nums;font-weight:600}.report-row.in b{color:var(--lilac)}.report-row.out b{color:var(--clay)}.report-quote{color:var(--muted);margin:0;font-size:14px;font-style:italic;line-height:1.4}.report-continue{height:44px;font-size:15px}#ui>.end-scrim{z-index:5}.end-sheet .report-body{flex-direction:column;gap:8px;display:flex}.end-title{margin:0;font-size:24px;font-weight:600;line-height:1.2}.end-actions{flex-direction:column;gap:8px;display:flex}#ui>.picker-scrim{z-index:6}.picker-list{flex-direction:column;gap:10px;display:flex}.picker-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:14px}.picker-name{margin:0 0 4px;font-size:17px;font-weight:600}.picker-blurb{color:var(--muted);margin:0 0 8px;font-size:14px;line-height:1.4}.picker-goal{color:var(--lilac);margin:0 0 10px;font-size:14px}.picker-record{color:var(--muted);margin:-4px 0 10px;font-size:13px}.picker-record.won:before{content:"✓ ";color:var(--lilac)}.picker-record.hidden{display:none}.picker-foot{justify-content:space-between;align-items:center;gap:12px;display:flex}.picker-terms{color:var(--dim);font-size:13px}.picker-start{min-width:96px;height:40px}@media (prefers-reduced-motion:reduce){.report-scrim,.report-sheet{transition:none}}.coach{left:calc(var(--safe-left) + 14px);bottom:calc(var(--safe-bottom) + 74px);width:min(360px, calc(100% - var(--safe-left) - var(--safe-right) - 28px));border:1px solid var(--line);border-top:3px solid var(--lilac);background:#1f1e1bf5;border-radius:14px;padding:12px 14px 10px;position:absolute;box-shadow:0 8px 24px #00000080}.coach.hidden,.title-mode .coach{display:none}.coach-head{align-items:baseline;gap:8px;display:flex}.coach-count{color:var(--dim);font-variant-numeric:tabular-nums;font-size:12px}.coach-title{font-size:15px}.coach-text{color:var(--muted);margin:6px 0 8px;font-size:13px;line-height:1.4}.coach-acts{justify-content:space-between;gap:8px;display:flex}.coach-acts button{min-height:36px;font:inherit;border-radius:18px;padding:0 12px;font-size:13px}.coach-skip{color:var(--dim);background:0 0;border:none}.coach-next{border:1px solid var(--line);background:var(--card);color:var(--ivory)}.coaching .toasts{bottom:calc(var(--safe-bottom) + 74px + var(--coach-h,150px))}.coach-target{animation:1.6s ease-in-out infinite coach-pulse}@keyframes coach-pulse{0%,to{box-shadow:0 0 #b48ce8b3}50%{box-shadow:0 0 0 6px #b48ce800}}@media (prefers-reduced-motion:reduce){.coach-target{outline:2px solid var(--lilac);animation:none}}.reduce-motion .coach-target{outline:2px solid var(--lilac);animation:none}.fin-fab{left:50%;bottom:calc(var(--safe-bottom) + 16px);border:1px solid var(--line);min-width:46px;max-width:132px;height:46px;color:var(--ivory);font-variant-numeric:tabular-nums;white-space:nowrap;z-index:1;background:#1f1e1bf0;border-radius:23px;justify-content:center;align-items:center;padding:0 14px;font-size:15px;font-weight:600;display:inline-flex;position:absolute;transform:translate(-50%);box-shadow:0 6px 20px #00000073}.fin-fab-cash{text-overflow:ellipsis;overflow:hidden}.fin-fab.negative{border-color:var(--clay);color:var(--clay)}.fin-fab.risk{border-color:var(--clay);background:#462016f2}.fin-fab.active{display:none}.fin-dot{border:2px solid var(--slate);background:var(--lilac);border-radius:50%;width:12px;height:12px;position:absolute;top:-2px;right:-2px}.fin-dot.risk{background:var(--clay);animation:1.6s ease-in-out infinite fin-pulse}@keyframes fin-pulse{50%{box-shadow:0 0 0 4px #d977574d}}.fin-sheet{max-width:560px;max-height:66vh;padding:12px 0 calc(var(--safe-bottom) + 14px);background:var(--card);border:1px solid var(--line);z-index:2;border-bottom:0;border-radius:20px 20px 0 0;flex-direction:column;margin:0 auto;transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;bottom:0;left:0;right:0;transform:translateY(105%);box-shadow:0 -12px 40px #00000073}.fin-sheet.open{transform:none}.fin-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 18px;overflow:hidden auto}.fin-section{border-top:1px solid var(--line);padding:12px 0}.fin-section:first-child{border-top:0;padding-top:0}.fin-h-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.fin-h{letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:0 0 6px;font-size:11px;font-weight:600}.fin-sub{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.fin-cash-block{flex-direction:column;gap:2px;display:flex}.fin-k{letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-size:10px}.fin-cash{font-variant-numeric:tabular-nums;font-size:30px;font-weight:600;line-height:1.1}.fin-cash.neg{color:var(--clay)}.fin-facts{margin:8px 0 10px}.fin-fact{justify-content:space-between;align-items:baseline;gap:12px;padding:4px 0;font-size:14px;display:flex}.fin-fact[hidden]{display:none}.fin-fact dt{color:var(--muted)}.fin-fact dd{text-align:right;margin:0}.fin-v{font-variant-numeric:tabular-nums;font-weight:500}.fin-v.pos{color:var(--lilac)}.fin-v.neg{color:var(--clay)}.fin-repay{gap:6px;display:flex}.fin-repay .warn-act{flex:1 1 0;min-width:0;padding:0 6px}.fin-sheet .warn-act:disabled{border-color:var(--line);background:var(--surface);color:var(--dim);cursor:default}.fin-ledger{margin:0}.fin-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:6px 0;font-size:14px;display:flex}.fin-row:last-child{border-bottom:0}.fin-row dt{min-width:0;color:var(--muted)}.fin-row dd{font-variant-numeric:tabular-nums;color:var(--ivory);flex:none;margin:0}.fin-row dd.in{color:var(--lilac)}.fin-row dd.out{color:var(--muted)}.fin-row.net{border-top:1px solid var(--muted)}.fin-row.net dt,.fin-row.net dd{color:var(--ivory);font-weight:700}.fin-row.net dd.out{color:var(--clay)}.fin-row.good dd{color:var(--lilac)}.fin-row.bad dd{color:var(--clay)}.fin-note{color:var(--muted);margin:2px 0 8px;font-size:14px}.fin-leads{letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:10px 0 6px;font-size:11px}.fin-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:5px;margin-bottom:10px;padding:10px 12px;display:flex}.fin-card.active{border-left:3px solid var(--lilac)}.fin-card.active.at-risk{border-left-color:var(--clay)}.fin-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.fin-card-names{flex-direction:column;gap:1px;min-width:0;display:flex}.fin-card-title{overflow-wrap:anywhere;font-size:15px;font-weight:600}.fin-card-sponsor{color:var(--muted);font-size:12px}.fin-card-reward{color:var(--lilac);font-variant-numeric:tabular-nums;flex:none;font-size:15px;font-weight:600}.fin-desc{color:var(--muted);margin:0;font-size:12px;line-height:1.4}.fin-meta{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.fin-card.offer>.fin-meta{color:var(--ivory)}.fin-bar{background:var(--line);border-radius:3px;height:6px;overflow:hidden}.fin-bar i{background:var(--lilac);border-radius:3px;width:0;height:100%;transition:width .4s;display:block}.fin-card.at-risk .fin-bar i{background:var(--clay)}.fin-card-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;margin-top:2px;display:flex}.fin-card-foot>.warn-act,.fin-accept{margin-left:auto}.fin-tags{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.fin-tag{color:var(--lilac);white-space:nowrap;background:#b48ce829;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-block}.fin-tag.risk{color:var(--clay);background:#d977572e}.fin-accept{align-items:center;gap:8px;display:flex}.fin-reason{color:var(--muted);text-align:right;font-size:12px}.fin-deliveries{margin:0;padding:0;list-style:none}.fin-delivery{border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;padding:6px 0;font-size:14px;line-height:1.35}.fin-delivery:last-child{border-bottom:0}@media (prefers-reduced-motion:reduce){.fin-sheet,.fin-bar i{transition:none}.fin-dot.risk{animation:none}}.fin-new{width:100%;color:var(--muted)}.fin-new.armed{border-color:var(--clay);color:var(--clay)}.fin-goal-line{margin:2px 0 8px;font-size:15px}.fin-goal-bar{background:var(--line);border-radius:3px;height:6px;overflow:hidden}.fin-goal-bar i{background:var(--lilac);width:0;height:100%;transition:width .3s;display:block}.fin-goal-state{color:var(--muted);margin-top:6px;font-size:13px;display:block}.fin-sub.neg{color:var(--clay)}.crew-summary{font-variant-numeric:tabular-nums;margin:0 0 4px;font-size:15px}.crew-list{margin:0;padding:0;list-style:none}.crew-member{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:9px 0;display:flex}.crew-member:last-child{border-bottom:0}.crew-who{flex-direction:column;gap:2px;min-width:0;display:flex}.crew-who b{font-size:15px;font-weight:600}.crew-who span{color:var(--muted);font-size:13px}.crew-who .crew-readings{color:var(--dim);font-variant-numeric:tabular-nums;font-size:12px}.crew-who .crew-readings:empty{display:none}.crew-who .crew-where.bad,.crew-who .crew-readings.bad{color:var(--clay)}.crew-dismiss{min-width:112px;color:var(--muted);flex:none}.crew-dismiss.armed{border-color:var(--clay);color:var(--clay)}.crew-hire-card{justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.crew-hire-text{color:var(--muted);flex-direction:column;gap:2px;font-size:13px;display:flex}.crew-hire-text b{color:var(--ivory);font-size:15px;font-weight:600}.crew-hire{flex:none;min-width:132px}.crew-hire:disabled{opacity:.45}.crew-bonus{width:100%;margin-top:8px}.crew-bonus:disabled{opacity:.45}.crew-blocked{color:var(--clay)}.crew-blocked.hidden{display:none}.mini.crew-cell{cursor:pointer;border-radius:10px}.mini.crew-cell .mini-u{text-decoration:underline;-webkit-text-decoration-color:var(--dim);text-decoration-color:var(--dim);text-underline-offset:3px}.mini.crew-cell:focus-visible{outline:2px solid var(--lilac);outline-offset:2px}.hud-controls{align-items:center;gap:6px;display:flex}.hud-menu{border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);min-width:42px;height:42px;color:var(--ivory);background:#1c1b19d1;border-radius:12px}@container (width<=400px){.hud-menu{min-width:38px}}#ui{zoom:var(--ui-zoom,1)}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{transition:none!important;animation:none!important}#ui.title-mode>:not(.title-screen):not(.report-scrim):not(.toasts),#ui.photo-mode>:not(.photo-bar){display:none!important}#ui>.menu-scrim{z-index:6}#ui>.settings-scrim{z-index:7}.menu-sheet{width:min(360px,100% - 32px)}.menu-sub{color:var(--muted);margin:-6px 0 0;font-size:13px}.menu-list{flex-direction:column;gap:8px;display:flex}.menu-item{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;height:46px;padding:0 16px;font-size:15px;font-weight:600}.menu-item.primary{border-color:var(--purple);background:var(--purple);text-align:center}.menu-item.danger{border-color:var(--clay);color:var(--clay)}.set-list{flex-direction:column;gap:14px;display:flex}.set-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.set-label{flex-direction:column;flex:120px;gap:2px;min-width:0;display:flex}.set-name{font-size:14px;font-weight:600}.set-hint{color:var(--dim);font-size:12px}.segment{background:var(--slate);border:1px solid var(--line);border-radius:11px;gap:2px;padding:3px;display:flex}.segment-btn{min-width:52px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:8px;padding:0 10px;font-size:13px;font-weight:600}.segment-btn.active{background:var(--purple);color:var(--ivory)}.set-sound{align-items:center;gap:10px;display:flex}.set-range{width:96px;accent-color:var(--purple)}.set-range:disabled{opacity:.4}.title-screen{padding:calc(var(--safe-top) + 8vh) calc(var(--safe-right) + 20px) calc(var(--safe-bottom) + 24px) calc(var(--safe-left) + 20px);pointer-events:none;background:linear-gradient(#0a0a0c8c 0%,#0a0a0c00 32% 62%,#0a0a0c99 100%);flex-direction:column;justify-content:space-between;display:none;position:absolute;inset:0}.title-screen.open{animation:.8s both title-in;display:flex}@keyframes title-in{0%{opacity:0}}.title-head,.title-foot{pointer-events:auto;width:min(420px,100%);margin:0 auto}.title-head{text-align:center}.title-kicker{letter-spacing:.22em;text-transform:uppercase;color:var(--muted);margin:0 0 10px;font-size:11px}.title-mark{letter-spacing:-.02em;text-transform:uppercase;text-shadow:0 4px 30px #0009;margin:0;font-size:clamp(44px,13vw,76px);font-weight:700;line-height:.92}.title-tag{color:var(--muted);margin:12px 0 0;font-size:15px}.title-version{letter-spacing:.08em;color:var(--muted);opacity:.7;margin:6px 0 0;font-size:11px}.title-foot{flex-direction:column;gap:8px;display:flex}.title-btn{border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);background:#1c1b19db;border-radius:14px;min-height:48px;padding:8px 16px;font-size:15px;font-weight:600}.title-btn.primary{border-color:var(--purple);background:var(--purple);flex-direction:column;align-items:center;gap:2px;min-height:58px;font-size:17px;display:flex}.title-btn-sub{color:#faf9f5bf;font-size:12px;font-weight:500}.title-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.title-row .title-btn{padding:8px 6px;font-size:13px}@media (orientation:landscape) and (max-height:500px){.title-screen{padding-top:calc(var(--safe-top) + 16px);padding-bottom:calc(var(--safe-bottom) + 16px);background:linear-gradient(90deg,#0a0a0c99 0%,#0a0a0c00 35% 65%,#0a0a0c99 100%);flex-direction:row;align-items:center}.title-head{text-align:left;width:auto;margin:0}.title-mark{font-size:52px}.title-foot{width:300px;margin:0}}.photo-bar{display:none;position:absolute;inset:0;pointer-events:none!important}.photo-bar.open{display:block}.photo-bar>button{pointer-events:auto;-webkit-backdrop-filter:blur(8px);color:var(--ivory);background:#1414138c;border:1px solid #faf9f540;place-items:center;display:grid;position:absolute}.photo-exit{top:calc(var(--safe-top) + 12px);right:calc(var(--safe-right) + 12px);border-radius:50%;width:44px;height:44px}.photo-shutter{left:50%;bottom:calc(var(--safe-bottom) + 24px);border-radius:50%;width:68px;height:68px;margin-left:-34px;border-width:3px!important;border-color:var(--ivory)!important}.photo-hint{left:0;right:0;bottom:calc(var(--safe-bottom) + 104px);text-align:center;color:var(--ivory);text-shadow:0 1px 6px #000c;margin:0;font-size:13px;transition:opacity .6s;position:absolute}.photo-hint.gone{opacity:0}.photo-flash{opacity:0;background:#fff;position:absolute;inset:0}.photo-flash.on{animation:.45s ease-out photo-flash}@keyframes photo-flash{0%{opacity:.8}to{opacity:0}}#ui>.saves-scrim{z-index:7}.saves-sheet{width:min(440px,100% - 24px)}.saves-current{color:var(--muted);margin:-4px 0 0;font-size:13px;line-height:1.45}.saves-list{flex-direction:column;gap:10px;display:flex}.saves-slot{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:96px 1fr;gap:12px;padding:10px;display:grid}.saves-thumb{background:var(--slate) center / cover no-repeat;border:1px solid var(--line);border-radius:9px;width:96px;height:72px}.saves-thumb.blank{background-image:radial-gradient(circle at 50% 120%,#4f73a859,#0000 60%)}.saves-info{flex-direction:column;gap:2px;min-width:0;display:flex}.saves-label{letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-size:10px}.saves-name{font-size:15px;font-weight:600}.saves-name.empty{color:var(--dim);font-weight:500}.saves-line,.saves-when{color:var(--muted);font-size:12px}.saves-when{color:var(--dim)}.saves-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.saves-actions .warn-act{height:32px;padding:0 10px}.warn-act.danger{border-color:var(--clay);color:var(--clay);background:var(--card)}.saves-files{grid-template-columns:1fr 1fr;gap:8px;display:grid}.saves-files .warn-act{height:40px}.saves-files .warn-act.hidden+.warn-act{grid-column:1/-1}.saves-backup{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding-top:12px;display:flex}.saves-backup-title{letter-spacing:.1em;text-transform:uppercase;color:var(--dim);margin:0;font-size:10px}.saves-backup-line{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.saves-storage{color:var(--ivory)}.saves-backup .warn-act{white-space:normal;height:auto;min-height:44px}.saves-backup .warn-act:disabled{opacity:.45}.saves-code{flex-direction:column;gap:8px;display:flex}.saves-code-box{border:1px solid var(--line);background:var(--slate);width:100%;min-height:72px;color:var(--ivory);word-break:break-all;resize:vertical;border-radius:10px;padding:8px 10px;font:12px/1.4 ui-monospace,Menlo,Consolas,monospace}.saves-code-box:focus-visible{outline:2px solid var(--lilac);outline-offset:1px}.saves-code-note{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.saves-code-note.bad{color:var(--clay)}.saves-code-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.saves-code-actions .warn-act.hidden+.warn-act{grid-column:1/-1}.backup-nudge{border:1px solid var(--line);border-left:3px solid var(--lilac);background:#1f1e1bf0;border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.backup-nudge-text{margin:0;font-size:13px;line-height:1.4}.backup-nudge-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.backup-nudge-actions .warn-act{min-height:44px}.title-notice:empty,.menu-notice:empty{display:none}@media (max-width:359px){.saves-slot{grid-template-columns:72px 1fr}.saves-thumb{width:72px;height:54px}}.company-figures{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.company-fig{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:2px;min-width:0;padding:8px 7px;display:flex;overflow:hidden}.company-fig span{white-space:nowrap;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-size:10px}.company-fig b{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.company-fig b.neg{color:var(--clay)}.company-h{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:8px 0 0;font-size:12px}.company-row{grid-template-columns:1fr}.company-row.here{border-color:var(--lilac)}.company-row .warn-act:disabled{opacity:.45}.company-milestones{color:var(--dim);flex-direction:column;gap:4px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.company-milestones li:before{content:"○ "}.company-milestones li.done{color:var(--ivory)}.company-milestones li.done:before{content:"✓ ";color:var(--lilac)}.company-end{border-top:1px solid var(--line);padding-top:10px}.company-end .warn-act{width:100%;height:38px}.title-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}.help-scrim{opacity:0;pointer-events:none;z-index:7;background:#08080a8c;transition:opacity .2s;position:fixed;inset:0}.help-scrim.open{opacity:1;pointer-events:auto}#ui>.report-scrim.help-scrim{z-index:7}.report-sheet.help-sheet{width:min(440px,100% - 24px);height:min(620px, calc(100% - 32px - var(--safe-top) - var(--safe-bottom)));touch-action:pan-y;gap:10px;max-height:none;padding:12px 16px 14px;overflow:hidden}.help-head{flex:none;justify-content:space-between;align-items:center;gap:12px;margin-right:-6px;display:flex}.help-close{flex:none}.help-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow-y:auto}.help-page{flex-direction:column;gap:14px;display:flex}.help-page.from-right{animation:.22s both help-in-right}.help-page.from-left{animation:.22s both help-in-left}@keyframes help-in-right{0%{opacity:0;transform:translate(18px)}}@keyframes help-in-left{0%{opacity:0;transform:translate(-18px)}}.help-art{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:14px;flex:none;padding:10px 12px}.help-art svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:auto;max-height:128px;display:block;overflow:visible}.help-copy{flex-direction:column;gap:8px;display:flex}.help-title{font-size:22px}.help-text{color:var(--muted);margin:0;font-size:15px;line-height:1.45}.help-text b{color:var(--ivory);font-weight:600}.help-foot{padding-bottom:var(--safe-bottom);flex:none;grid-template-columns:1fr 1fr;grid-template-areas:"dots dots""back next";gap:8px 10px;display:grid}.help-dots{grid-area:dots;justify-content:center;display:flex}.help-back{grid-area:back}.help-next{grid-area:next}.help-back:disabled{visibility:hidden}.help-dot{background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.help-dot:before{content:"";background:var(--line);border-radius:4px;width:7px;height:7px;transition:width .2s,background .2s}.help-dot.on:before{background:var(--lilac);width:18px}.help-art .ha-ivory{stroke:var(--ivory)}.help-art .ha-lilac{stroke:var(--lilac)}.help-art .ha-clay{stroke:var(--clay)}.help-art .ha-purple{stroke:var(--purple)}.help-art .ha-dim{stroke:var(--dim)}.help-art .ha-line-track{stroke:var(--line);stroke-width:4px}.help-art .ha-bg{fill:var(--surface)}.help-art .ha-earth{fill:color-mix(in srgb, var(--purple) 28%, var(--surface))}.help-art .ha-soft{fill:color-mix(in srgb, var(--lilac) 22%, transparent)}.help-art .ha-shade{fill:#00000052;stroke:none}.help-art .ha-fill-lilac{fill:var(--lilac);stroke:none}.help-art .ha-dash{stroke-dasharray:3 5}.help-art .ha-thin{stroke-width:1.5px}.help-art .ha-thick{stroke-width:5px;stroke-linecap:butt}.help-art .ha-text{fill:var(--muted);stroke:none;font:600 11px var(--font);letter-spacing:.06em}.help-art .ha-text-lilac{fill:var(--lilac)}.help-art .ha-text-clay{fill:var(--clay)}.help-art .ha-mid{text-anchor:middle}.help-art .ha-pulse{transform-box:fill-box;transform-origin:50%;animation:1.8s ease-out infinite help-pulse}@keyframes help-pulse{0%{opacity:.9;transform:scale(.55)}to{opacity:0;transform:scale(1.25)}}@media (max-width:350px){.report-sheet.help-sheet{width:calc(100% - 16px);padding:10px 12px 12px}.help-title{font-size:20px}.help-text{font-size:14px}}@media (orientation:landscape) and (max-height:500px){.report-sheet.help-sheet{width:min(720px, calc(100% - 24px - var(--safe-left) - var(--safe-right)));height:calc(100% - 16px - var(--safe-top) - var(--safe-bottom));gap:6px;padding:8px 14px 10px}.help-page{grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:start;gap:16px;display:grid}.help-art{padding:8px}.help-art svg{max-height:none}.help-title{font-size:19px}.help-text{font-size:14px;line-height:1.4}.help-foot{grid-template-columns:1fr auto 1fr;grid-template-areas:"back dots next";align-items:center;padding-bottom:0}.help-foot .report-continue{height:38px}}@media (prefers-reduced-motion:reduce){.help-scrim,.help-dot:before{transition:none}.help-page.from-right,.help-page.from-left,.help-art .ha-pulse{animation:none}}
