:root { color-scheme: dark; --bg: #050914; --surface: rgba(10, 18, 30, 0.94); --surface-2: rgba(14, 25, 40, 0.96); --surface-3: rgba(18, 31, 48, 0.92); --ink: #ecf8fb; --muted: #89a5b7; --line: rgba(128, 179, 205, 0.22); --line-strong: rgba(75, 214, 255, 0.48); --cyan: #40d9ff; --green: #25e0b0; --amber: #f7b443; --red: #ef5350; --blue: #5b8dff; --map-aspect: 1 / 1; --video-aspect: 16 / 9; } * { box-sizing: border-box; } html, body { min-height: 100%; } body { width: 100%; max-width: 100vw; margin: 0; overflow-x: auto; font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif; color: var(--ink); background: linear-gradient(90deg, rgba(72, 106, 137, 0.1) 1px, transparent 1px), linear-gradient(0deg, rgba(72, 106, 137, 0.1) 1px, transparent 1px), radial-gradient(circle at 50% -30%, rgba(52, 118, 158, 0.32), transparent 42%), var(--bg); background-size: 48px 48px, 48px 48px, auto, auto; } button { min-width: 0; min-height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 0 13px; color: var(--ink); background: rgba(18, 32, 50, 0.98); box-shadow: inset 0 1px rgba(255, 255, 255, 0.04); cursor: pointer; font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 750; } input { min-height: 38px; width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; color: var(--ink); background: rgba(5, 13, 24, 0.95); font: inherit; font-size: 13px; font-weight: 760; } button:hover:not(:disabled) { border-color: var(--line-strong); background: rgba(22, 44, 64, 0.98); } button:disabled { cursor: wait; opacity: 0.54; } button.primary, button.selected { color: #041018; border-color: var(--cyan); background: linear-gradient(180deg, #6fe5ff, var(--cyan)); } button.amber { border-color: rgba(247, 180, 67, 0.7); } button.amber.selected { color: #190f02; border-color: var(--amber); background: linear-gradient(180deg, #ffd48a, var(--amber)); } button.danger { color: #ffffff; border-color: rgba(239, 83, 80, 0.88); background: linear-gradient(180deg, #d33a3a, #a91d28); } .dashboard-shell { display: grid; width: 100%; max-width: 100vw; overflow-x: auto; grid-template-rows: auto minmax(0, 1fr); gap: 10px; min-height: 100vh; padding: 10px; } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: linear-gradient(180deg, rgba(14, 28, 44, 0.96), rgba(7, 14, 25, 0.96)); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); } .brand-block { display: flex; align-items: center; min-width: 0; gap: 12px; } .brand-mark { width: 42px; height: 42px; border: 1px solid rgba(64, 217, 255, 0.68); border-radius: 8px; background: linear-gradient(135deg, rgba(64, 217, 255, 0.22), rgba(37, 224, 176, 0.12)), #081525; box-shadow: inset 0 0 18px rgba(64, 217, 255, 0.2), 0 0 18px rgba(64, 217, 255, 0.18); } .eyebrow { margin: 0 0 4px; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: 0; } h1, h2 { margin: 0; letter-spacing: 0; } h1 { font-size: 22px; line-height: 1.1; } h2 { font-size: 18px; line-height: 1.2; } .top-status, .chip-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; } .top-right { display: grid; justify-items: end; gap: 8px; min-width: 0; } .top-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; } .dwell-progress-panel { width: min(360px, 42vw); min-width: 260px; border: 1px solid rgba(64, 217, 255, 0.28); border-radius: 6px; padding: 7px 9px; background: rgba(5, 14, 25, 0.92); } .dwell-progress-panel[hidden] { display: none; } .dwell-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 12px; font-weight: 820; } .dwell-progress-meta span { color: var(--muted); font-family: "Cascadia Mono", Consolas, monospace; white-space: nowrap; } .dwell-progress-bar { height: 8px; margin-top: 7px; overflow: hidden; border: 1px solid rgba(128, 179, 205, 0.22); border-radius: 999px; background: rgba(4, 10, 18, 0.86); } .dwell-progress-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--cyan)); transition: width 160ms ease; } .system-clock { min-width: 92px; color: #d8f9ff; font: 800 18px/1 "Cascadia Mono", Consolas, monospace; text-align: right; } .chip, .status-pill { display: inline-flex; align-items: center; min-height: 28px; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; color: var(--muted); background: rgba(10, 20, 34, 0.88); font-size: 12px; font-weight: 850; white-space: nowrap; } .chip.ok { color: #b8fff1; border-color: rgba(37, 224, 176, 0.68); background: rgba(12, 45, 42, 0.72); } .chip.warn { color: #ffdca4; border-color: rgba(247, 180, 67, 0.62); background: rgba(54, 38, 13, 0.62); } .layout-grid { display: grid; grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1.38fr); gap: 10px; min-height: 0; } .side-panel { display: grid; grid-template-rows: auto auto auto auto; align-content: start; gap: 10px; min-height: 0; } .module, .map-stage { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32); } .module::before, .map-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-top: 1px solid rgba(64, 217, 255, 0.44); } .video-module { display: grid; grid-template-rows: auto auto; align-content: start; overflow: visible; min-height: 0; } .module-header, .map-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgba(7, 15, 26, 0.64); } .module-header.compact { padding-block: 10px; } .video-frame { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: var(--video-aspect); min-height: 0; height: auto; overflow: hidden; background: #020714; } .video-frame img { display: block; width: 100%; height: 100%; aspect-ratio: var(--video-aspect); object-fit: contain; background: #020714; } .scan-line { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient( 180deg, rgba(255, 255, 255, 0.036) 0, rgba(255, 255, 255, 0.036) 1px, transparent 1px, transparent 6px ); mix-blend-mode: screen; } .corner-frame { position: absolute; inset: 12px; pointer-events: none; border: 1px solid rgba(64, 217, 255, 0.22); border-radius: 4px; } .video-hint { position: absolute; left: 16px; bottom: 16px; min-height: 30px; border: 1px solid rgba(64, 217, 255, 0.4); border-radius: 6px; padding: 6px 10px; color: var(--cyan); background: rgba(2, 7, 19, 0.76); font-size: 13px; font-weight: 800; } .telemetry-list, .quality-stack { display: grid; gap: 1px; background: var(--line); } .telemetry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metric-row, .quality-stack > div { min-height: 58px; padding: 10px 12px; background: rgba(9, 20, 34, 0.96); } .metric-row.wide { grid-column: 1 / -1; } .metric-row span, .quality-stack span { display: block; color: var(--muted); font-size: 12px; font-weight: 760; } .metric-row strong, .quality-stack strong { display: block; margin-top: 6px; color: var(--ink); overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; } .route-module { min-height: 0; } .route-editor { display: grid; gap: 8px; padding: 10px; background: rgba(8, 18, 31, 0.96); } .route-progress { min-height: 28px; border: 1px solid rgba(64, 217, 255, 0.2); border-radius: 6px; padding: 6px 8px; color: var(--muted); background: rgba(4, 10, 18, 0.74); font-size: 12px; font-weight: 760; } .route-list { display: grid; gap: 8px; max-height: 220px; overflow: auto; } .route-empty { min-height: 48px; display: grid; place-items: center; color: var(--muted); border: 1px dashed rgba(128, 179, 205, 0.28); border-radius: 6px; font-size: 13px; font-weight: 760; } .route-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 48px; border: 1px solid rgba(128, 179, 205, 0.18); border-radius: 6px; padding: 7px; background: rgba(10, 22, 36, 0.86); } .route-item.active { border-color: rgba(37, 224, 176, 0.72); box-shadow: inset 0 0 0 1px rgba(37, 224, 176, 0.22); } .route-index { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(64, 217, 255, 0.46); border-radius: 999px; color: var(--cyan); font-size: 12px; font-weight: 900; } .route-item-actions { display: flex; gap: 4px; } .route-item-actions button { min-height: 30px; min-width: 30px; padding: 0 8px; font-size: 12px; } .map-stage { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); min-height: 0; overflow-x: auto; } .map-readout { display: flex; align-items: center; justify-content: flex-end; min-width: 0; gap: 10px; color: var(--muted); font-size: 13px; } .map-readout span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #toolText { flex: 0 0 auto; color: var(--green); font-weight: 850; } #messageText { max-width: min(42vw, 620px); color: var(--ink); font-weight: 760; } .mission-strip { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(220px, 1.35fr); gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); } .mission-item { min-height: 58px; padding: 9px 12px; background: rgba(6, 16, 28, 0.96); } .mission-item span { display: block; color: var(--muted); font-size: 11px; font-weight: 850; } .mission-item strong { display: block; margin-top: 5px; color: var(--ink); font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; } .mission-item.ok strong { color: #b8fff1; } .mission-item.warn strong { color: #ffdca4; } .mission-item.fail strong { color: #ffb5b5; } .operator-alert { display: grid; grid-template-columns: minmax(140px, max-content) minmax(0, 1fr) auto; min-width: 0; align-items: center; gap: 14px; min-height: 58px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(91, 141, 255, 0.12), transparent 42%), rgba(5, 14, 26, 0.96); } .operator-alert h2 { font-size: 16px; } .operator-alert > div { min-width: 0; } .operator-alert strong { min-width: 0; color: #d9eef4; font-size: 14px; line-height: 1.35; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .operator-alert.ok { border-left: 3px solid var(--green); } .operator-alert.warn { border-left: 3px solid var(--amber); } .operator-alert.fail { border-left: 3px solid var(--red); } .operator-alert.fail strong, .operator-alert.fail h2 { color: #ffcece; } .map-workbench { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(260px, 0.48fr); min-width: 0; gap: 1px; min-height: 0; background: var(--line); } .canvas-column { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; background: #07101d; } .canvas-wrap { position: relative; display: grid; place-items: center; height: clamp(520px, 68vh, 820px); max-height: 72vh; min-height: 0; overflow: hidden; background: linear-gradient(90deg, rgba(86, 132, 168, 0.13) 1px, transparent 1px), linear-gradient(0deg, rgba(86, 132, 168, 0.13) 1px, transparent 1px), #07101d; background-size: 42px 42px, 42px 42px, auto; } .canvas-wrap.crosshair canvas { cursor: crosshair; } canvas { display: block; width: auto; height: auto; max-width: calc(100% - 12px); max-height: calc(100% - 12px); aspect-ratio: var(--map-aspect); } .canvas-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 850; pointer-events: none; } .canvas-empty[hidden] { display: none; } .ops-stack { display: grid; grid-template-rows: auto auto minmax(190px, 1fr); overflow-y: auto; min-width: 240px; min-height: 0; background: rgba(5, 13, 24, 0.98); } .control-panel, .preflight-panel, .diagnostics-console { min-height: 0; background: rgba(3, 9, 18, 0.94); } .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 9px 12px; border-bottom: 1px solid rgba(128, 179, 205, 0.18); background: rgba(7, 15, 26, 0.72); } .panel-header h2 { font-size: 15px; } .control-dock { display: grid; gap: 8px; padding: 10px; background: rgba(7, 15, 26, 0.8); } .control-group { display: grid; grid-template-columns: 40px repeat(2, minmax(0, 1fr)); min-width: 0; align-items: center; gap: 6px; min-height: 44px; border: 1px solid rgba(128, 179, 205, 0.16); border-radius: 6px; padding: 6px; background: rgba(4, 11, 20, 0.72); } .control-group > span { min-width: 0; padding: 0 6px; color: var(--muted); font-size: 11px; font-weight: 900; } .control-group.emergency { border-color: rgba(239, 83, 80, 0.34); } .control-group.single-action button { grid-column: 2 / -1; } .control-group:nth-child(3) { grid-template-columns: 40px repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(36px, auto)); } .control-group:nth-child(3) > span { grid-column: 1; grid-row: 1 / span 2; } .control-group:nth-child(3) button:nth-of-type(1) { grid-column: 2; grid-row: 1; } .control-group:nth-child(3) button:nth-of-type(2) { grid-column: 3; grid-row: 1; } .control-group:nth-child(3) button:nth-of-type(3) { grid-column: 2; grid-row: 2; } .control-group:nth-child(3) button:nth-of-type(4) { grid-column: 3; grid-row: 2; } .control-group.emergency button { min-height: 40px; } .launch-check-panel { min-height: 0; border-top: 1px solid rgba(128, 179, 205, 0.18); background: rgba(3, 9, 18, 0.94); } .launch-check-panel[hidden] { display: none; } .launch-progress { height: 8px; margin: 10px; overflow: hidden; border: 1px solid rgba(128, 179, 205, 0.22); border-radius: 999px; background: rgba(5, 13, 24, 0.95); } .launch-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--green)); transition: width 180ms ease; } .launch-check-panel.fail .launch-progress span { background: linear-gradient(90deg, var(--amber), var(--red)); } .launch-check-panel.ok .launch-progress span, .launch-check-panel.starting .launch-progress span { background: linear-gradient(90deg, var(--green), var(--cyan)); } .launch-check-list { margin-top: 1px; } .preflight-list { display: grid; gap: 1px; background: rgba(128, 179, 205, 0.12); } .preflight-item { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 42px; padding: 8px 10px; background: rgba(6, 16, 28, 0.96); } .preflight-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--amber); box-shadow: 0 0 14px rgba(247, 180, 67, 0.48); } .preflight-item:focus-visible { outline: 2px solid rgba(102, 232, 255, 0.72); outline-offset: -2px; } .preflight-item:hover { background: rgba(102, 232, 255, 0.06); } .preflight-item.ok .preflight-dot { background: var(--green); box-shadow: 0 0 14px rgba(37, 224, 176, 0.48); } .preflight-item.fail .preflight-dot { background: var(--red); box-shadow: 0 0 14px rgba(239, 83, 80, 0.48); } .preflight-main { min-width: 0; overflow: hidden; } .preflight-main strong, .preflight-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .preflight-main strong { color: var(--ink); font-size: 13px; line-height: 1.2; } .preflight-main span { margin-top: 3px; color: var(--muted); font-size: 11px; } .preflight-state { min-width: 0; max-width: 86px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font: 800 11px/1 "Cascadia Mono", Consolas, monospace; } .diagnostics-console { min-height: 0; background: linear-gradient(90deg, rgba(64, 217, 255, 0.06) 1px, transparent 1px), linear-gradient(0deg, rgba(64, 217, 255, 0.05) 1px, transparent 1px), rgba(3, 9, 18, 0.94); background-size: 36px 36px, 36px 36px, auto; } .console-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 9px 12px; border-bottom: 1px solid rgba(128, 179, 205, 0.18); } .console-header h2 { font-size: 15px; } .console-header .status-pill { max-width: 52%; overflow: hidden; text-overflow: ellipsis; } .status-pill.status-ok { color: #b8fff1; border-color: rgba(37, 224, 176, 0.68); background: rgba(12, 45, 42, 0.72); } .status-pill.status-warn { color: #ffe0a0; border-color: rgba(224, 176, 37, 0.68); background: rgba(45, 38, 12, 0.72); } .status-pill.status-fail { color: #ffb0b0; border-color: rgba(224, 60, 60, 0.68); background: rgba(50, 15, 15, 0.72); } .console-log { height: auto; max-height: 200px; min-height: 100px; margin: 0; padding: 12px 14px; overflow-y: auto; color: #d8f9ff; background: rgba(1, 5, 12, 0.7); font: 12px/1.5 "Cascadia Mono", Consolas, "SFMono-Regular", monospace; white-space: pre-wrap; overflow-wrap: anywhere; } .console-log .muted { color: var(--muted); } .hint-bar { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-top: 1px solid var(--line); color: var(--muted); background: rgba(4, 10, 18, 0.88); font-size: 13px; } .segment-console-below-map { margin: 16px 0 0 0; padding: 16px; background: rgba(10, 20, 34, 0.88); border: 1px solid var(--line); border-radius: 8px; max-height: 240px; display: flex; flex-direction: column; } .segment-console-below-map .console-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); } .segment-console-below-map .console-header h2 { font-size: 16px; margin: 0; color: var(--text); } .segment-console-below-map .console-header .eyebrow { font-size: 10px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px 0; } .segment-console-below-map .console-log { flex: 1; min-height: 120px; max-height: 180px; overflow-y: auto; margin: 0; padding: 8px 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 4px; font-family: 'SF Mono', 'Monaco', 'Consolas', monospace; font-size: 12px; line-height: 1.5; color: #e0e0e0; white-space: pre-wrap; word-break: break-word; } .hint-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @media (max-width: 1500px) { .map-workbench { grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.52fr); } .canvas-wrap { height: clamp(460px, 62vh, 720px); } .operator-alert { grid-template-columns: minmax(120px, max-content) minmax(0, 1fr) auto; gap: 10px; } } @media (max-width: 1180px) { .layout-grid { grid-template-columns: 1fr; } .side-panel { grid-template-rows: minmax(260px, 42vh) auto auto; } .map-stage { min-height: 64vh; } .map-workbench { grid-template-columns: 1fr; } .ops-stack { grid-template-columns: minmax(0, 1fr); } .mission-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mission-item.wide { grid-column: 1 / -1; } } @media (max-width: 680px) { .dashboard-shell { padding: 10px; } .topbar, .module-header, .map-header { align-items: flex-start; flex-direction: column; } .operator-alert { grid-template-columns: 1fr; justify-items: start; } .top-status, .top-meta, .map-readout { justify-content: flex-start; } .top-right { justify-items: start; } .dwell-progress-panel { width: 100%; min-width: 0; } .telemetry-list { grid-template-columns: 1fr; } .control-group, .control-group.emergency { width: 100%; margin-left: 0; } .control-group, .control-group:nth-child(3) { grid-template-columns: 1fr; } .control-group:nth-child(3) > span, .control-group:nth-child(3) button:nth-of-type(1), .control-group:nth-child(3) button:nth-of-type(2), .control-group:nth-child(3) button:nth-of-type(3), .control-group:nth-child(3) button:nth-of-type(4), .control-group.single-action button { grid-column: auto; grid-row: auto; } } /* === Waypoint Table Editor === */ .waypoint-table { width: 100%; font-size: 0.75rem; margin-top: 0.5rem; } .waypoint-table-header { display: grid; grid-template-columns: 2rem 1fr 4rem 4rem 4.5rem 2rem 5rem; gap: 0.25rem; padding: 0.25rem 0.5rem; background: rgba(38, 215, 255, 0.08); border-radius: 4px 4px 0 0; font-weight: 600; color: #8ecae6; } .waypoint-rows { max-height: 240px; overflow-y: auto; } .wp-row { display: grid; grid-template-columns: 2rem 1fr 4rem 4rem 4.5rem 2rem 5rem; gap: 0.25rem; padding: 0.2rem 0.5rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.06); } .wp-row:hover { background: rgba(38, 215, 255, 0.04); } .wp-row.wp-empty { display: block; text-align: center; padding: 1rem; color: #6b7280; grid-column: 1 / -1; } .wp-row input[type="text"], .wp-row input[type="number"] { width: 100%; padding: 0.15rem 0.3rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; color: #e0e0e0; font-size: 0.7rem; font-family: monospace; } .wp-row input[type="number"] { text-align: right; } .wp-row input[type="checkbox"] { width: 1rem; height: 1rem; cursor: pointer; } .wp-col-idx { text-align: center; color: #6b7280; font-weight: 600; } .wp-col-act { display: flex; gap: 0.15rem; } .wp-btn { padding: 0.1rem 0.3rem; font-size: 0.65rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 3px; color: #ccc; cursor: pointer; } .wp-btn:hover:not(:disabled) { background: rgba(38, 215, 255, 0.15); color: #fff; } .wp-btn:disabled { opacity: 0.3; cursor: not-allowed; } .wp-btn.wp-del { color: #f87171; } .wp-btn.wp-del:hover:not(:disabled) { background: rgba(248, 113, 113, 0.2); } .waypoint-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; padding: 0.5rem 0; } .waypoint-actions button { flex: 1; padding: 0.4rem 0.5rem; font-size: 0.72rem; }