* { box-sizing: border-box; } html, body { margin: 0; height: 100%; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; } .map-wrap { position: relative; width: 100%; height: 100%; } /* Higher specificity than maplibre-gl.css's .maplibregl-map{position:relative}, which MapLibre adds to the same element and would otherwise win on sheet order. */ .map-wrap .map-container { position: absolute; inset: 0; } .app-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: baseline; gap: 12px; padding: 8px 14px; background: rgba(15, 23, 42, 0.75); color: #f8fafc; backdrop-filter: blur(4px); } .app-header h1 { margin: 0; font-size: 16px; font-weight: 600; } .app-header small { font-size: 11px; color: #94a3b8; } /* ISS-080 (v0.40.0): the version tag links to the repo's CHANGELOG.md — keep it subtle, like the rest of the header. */ .app-header a { color: #7dd3fc; text-decoration: none; } .app-header a:hover { text-decoration: underline; } /* Style switcher — kept subtle, like the version tag. */ .style-switch { font-size: 12px; padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; } .style-switch option { background: #1e293b; color: #e2e8f0; } [data-testid='airport-count'] { font-size: 12px; color: #cbd5e1; } /* ISS-010 (v0.18.0) — Relocate row inside the airport popup (plain HTML, not React). */ .popup-relocate { margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .popup-relocate select { font-size: 12px; padding: 3px 6px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); } .popup-relocate button { font-size: 12px; padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); cursor: pointer; } .popup-relocate button:disabled { opacity: 0.5; cursor: default; } [data-testid='airport-popup-relocate-status'] { font-size: 11px; color: #334155; } /* v0.9.0 — single-screen 3-pane shell: left Assets / center map / right Jobs & Market. ISS-021 (v0.20.0): left widened to 360px (it now carries the On board section). ISS-046 (v0.27.1): right widened to match left at 360px — total fixed width 720px, map column shrinks by 80px. */ .app-shell { display: grid; grid-template-columns: 360px minmax(0, 1fr) 360px; height: 100%; } .pane { background: #0f172a; color: #e2e8f0; padding: 14px; font-size: 13px; overflow-y: auto; } .left-pane { border-right: 1px solid rgba(148, 163, 184, 0.25); } .right-pane { border-left: 1px solid rgba(148, 163, 184, 0.25); } .pane-title { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #f8fafc; } .pane-heading { margin: 0 0 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; } .pane-section { margin-bottom: 16px; } .pane-muted { color: #94a3b8; font-size: 12px; } .pane-error { color: #fca5a5; font-size: 12px; } .stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 0; } .stat-row span { color: #94a3b8; font-size: 12px; } .stat-row strong { font-size: 13px; color: #f8fafc; } .fleet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .plane-row { background: rgba(30, 41, 59, 0.6); border-radius: 6px; padding: 8px; } .plane-main { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .plane-model { font-weight: 600; color: #f1f5f9; } .plane-status { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: rgba(148, 163, 184, 0.2); color: #cbd5e1; } .status-flying { background: rgba(59, 130, 246, 0.25); color: #bfdbfe; } /* v0.39.0 (ISS-069): maintenance pills on fleet rows — broken = red, in repair = amber. */ .status-broken { background: rgba(239, 68, 68, 0.25); color: #fecaca; } .status-repairing { background: rgba(245, 158, 11, 0.25); color: #fde68a; } /* v0.37.0 (ISS-073): special-status pill on package rows — sky-blue accent, modeled on .plane-status. */ .special-badge { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: rgba(56, 189, 248, 0.2); color: #bae6fd; } .fuel-bar { height: 4px; border-radius: 2px; background: rgba(148, 163, 184, 0.25); margin: 6px 0 4px; overflow: hidden; } .fuel-bar > div { height: 100%; border-radius: 2px; background: #34d399; } /* v0.39.0 (ISS-069): health bar — modeled on .fuel-bar, amber fill. */ .health-bar { height: 4px; border-radius: 2px; background: rgba(148, 163, 184, 0.25); margin: 2px 0 4px; overflow: hidden; } .health-bar > div { height: 100%; border-radius: 2px; background: #f59e0b; } /* v0.39.0 (ISS-069): the per-plane Repair button sits under the readout row. */ .repair-btn { margin-top: 6px; } .plane-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #cbd5e1; } .plane-loc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sim-clock { margin: 0 0 8px; font-size: 12px; color: #cbd5e1; font-variant-numeric: tabular-nums; } .time-controls { display: flex; gap: 8px; } .time-controls button { font-size: 12px; padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; cursor: pointer; } .time-controls input[type='range'] { flex: 1; accent-color: #38bdf8; } .time-scale-value { font-size: 12px; color: #e2e8f0; min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; } /* v0.10.0 — right Jobs & Market pane (contracts + market) */ .contract-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .contract-row { background: rgba(30, 41, 59, 0.6); border-radius: 6px; padding: 8px; } .contract-main { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .contract-route { min-width: 0; font-weight: 600; color: #f1f5f9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .contract-sub { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 11px; color: #cbd5e1; font-variant-numeric: tabular-nums; } .pane-btn { flex-shrink: 0; white-space: nowrap; font-size: 12px; padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; cursor: pointer; } .pane-btn:disabled { opacity: 0.5; cursor: default; } .dispatch-controls select, .market-row select { font-size: 12px; padding: 3px 6px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: #1e293b; color: #e2e8f0; max-width: 100%; } .dispatch-controls { display: flex; align-items: center; gap: 6px; margin-top: 6px; } .market-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; } /* ISS-010 (v0.18.0) — the Relocate row carries TWO selects, so let it wrap instead of squeezing both below their readable width in the 360 px left pane (moved there in ISS-023 v0.21.0). */ .market-row-relocate { flex-wrap: wrap; } .market-preview { font-size: 12px; color: #f8fafc; white-space: nowrap; font-variant-numeric: tabular-nums; } /* ISS-054 (v0.33.0) — per-plane cargo rows nested inside the Fleet list's plane cards: two lines, a full-width fly-to button then refuel + abandon side by side below it; long destination names truncate with an ellipsis. Transparent sub-rows with a top border under the card header. */ .plane-row .contract-row { background: transparent; padding: 6px 0 0; border-top: 1px solid rgba(148, 163, 184, 0.2); display: flex; flex-direction: column; gap: 5px; } .plane-row .contract-row .contract-sub { margin-top: 0; /* row spacing comes from the container's gap */ } .onboard-fly-btn { width: 100%; } .onboard-fly-label { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .onboard-actions { display: flex; gap: 6px; } /* ISS-043 (v0.26.0) — flight-queue sub-section inside on-board blocks */ .queue-subsection { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(148, 163, 184, 0.2); display: flex; flex-direction: column; gap: 5px; } .queue-heading { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; } .queue-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; } /* v0.17.0 — ISS-008: bottom-right toast stack (action errors + game events) */ .toasts { position: fixed; bottom: 12px; /* 360px right pane + 12px inset — sits flush against the map's right edge, clear of the right pane */ right: 372px; z-index: 50; /* above map popups/controls and the app header */ display: flex; flex-direction: column; gap: 8px; max-width: 340px; } .toast { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 6px; font-size: 13px; background: rgba(15, 23, 42, 0.95); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.4); } .toast-error { border-color: rgba(239, 68, 68, 0.7); color: #fecaca; } .toast-info { border-color: rgba(148, 163, 184, 0.5); } .toast-close { flex-shrink: 0; font-size: 14px; line-height: 1; padding: 2px 6px; border-radius: 4px; border: none; background: transparent; color: #94a3b8; cursor: pointer; } .toast-close:hover { color: #e2e8f0; } /* ISS-008 — the Time section's notifications opt-in button (same look as .time-controls buttons) */ .notif-toggle { margin-top: 8px; font-size: 12px; padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; cursor: pointer; } .notif-toggle:disabled { opacity: 0.5; cursor: default; } /* v0.28.0 (ISS-047) — right pane tabs (Jobs / Planes market) + per-type tech-spec cards */ .pane-tabs { display: flex; gap: 6px; margin-bottom: 12px; } .tab-btn { flex: 1; font-size: 12px; padding: 4px 8px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(30, 41, 59, 0.9); color: #e2e8f0; cursor: pointer; } .tab-btn[aria-selected='true'] { background: rgba(56, 189, 248, 0.25); border-color: rgba(56, 189, 248, 0.7); color: #f8fafc; } .plane-type-card { background: rgba(30, 41, 59, 0.6); border-radius: 6px; padding: 8px; margin-bottom: 8px; } .plane-type-name { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #f1f5f9; } /* v0.71.0 — Admin modal: overlay sits above the z-50 toast stack; panel matches the dark slate theme. */ .modal-overlay { position: fixed; inset: 0; z-index: 60; /* above toasts (z-50) and everything else on screen */ display: flex; align-items: center; justify-content: center; background: rgba(2, 6, 23, 0.7); } .modal-panel { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: rgba(15, 23, 42, 0.97); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.4); border-radius: 8px; box-shadow: 0 12px 40px rgba(2, 6, 23, 0.6); } .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.25); } .modal-header h2 { margin: 0; font-size: 15px; font-weight: 600; } /* v0.71.0 — Admin panel content (login form + generic DB grid). */ .admin-panel { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; } .admin-login { max-width: 320px; margin: 0 auto; width: 100%; } .admin-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #cbd5e1; } .admin-panel input[type='text'], .admin-panel input:not([type]), .admin-login input { font-size: 13px; padding: 5px 8px; border-radius: 4px; border: 1px solid rgba(148, 163, 184, 0.4); background: #1e293b; color: #e2e8f0; } .admin-message { margin: 0; font-size: 13px; color: #cbd5e1; } .admin-error { font-size: 12px; color: #fca5a5; } .admin-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .admin-table-list { display: flex; flex-wrap: wrap; gap: 6px; } .admin-rows-wrap { overflow-x: auto; border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 6px; } .admin-rows { width: 100%; border-collapse: collapse; font-size: 12px; } .admin-rows th, .admin-rows td { padding: 4px 6px; text-align: left; white-space: nowrap; border-bottom: 1px solid rgba(148, 163, 184, 0.2); } .admin-rows th { color: #94a3b8; font-weight: 600; } .admin-cell { width: 110px; font-size: 12px; padding: 2px 5px; border-radius: 3px; border: 1px solid rgba(148, 163, 184, 0.3); background: #1e293b; color: #e2e8f0; } .admin-cell:disabled { opacity: 0.55; } .admin-row-actions { white-space: nowrap; }