:root { color-scheme: dark; font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif; background: #050a0e; color: #dbe9ef; --panel: rgba(13, 24, 32, 0.92); --border: rgba(116, 151, 168, 0.19); --muted: #78909d; --accent: #42dfb7; --warning: #ffb257; --danger: #ff6577; } * { box-sizing: border-box; } body { min-width: 1100px; min-height: 100vh; margin: 0; background: radial-gradient(circle at 25% 0%, rgba(32, 117, 106, 0.16), transparent 34%), linear-gradient(145deg, #071018, #030609 72%); } button, select { font: inherit; } .app-shell { min-height: 100vh; padding: 24px; } .topbar { display: flex; align-items: flex-end; justify-content: space-between; max-width: 1800px; margin: 0 auto 18px; } .eyebrow { margin: 0 0 7px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; } h1 { margin: 0; font-size: 26px; font-weight: 650; } .connection { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 13px; } .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 12px rgba(255, 101, 119, 0.45); } .dot.online { background: var(--accent); box-shadow: 0 0 12px rgba(66, 223, 183, 0.5); } .workspace { display: grid; grid-template-columns: 320px minmax(600px, 1fr) 340px; gap: 14px; max-width: 1800px; min-height: calc(100vh - 112px); margin: 0 auto; } .panel { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25); } .panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--border); color: #bcd0d9; font-size: 13px; font-weight: 650; } .controls-panel { max-height: calc(100vh - 112px); overflow-y: auto; padding-bottom: 18px; } .controls-panel > :not(.panel-heading) { margin-right: 16px; margin-left: 16px; } .text-button { width: auto; padding: 4px 0; border: 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 12px; } .field-label, .group-label { display: block; margin-top: 20px; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; } select, .button-grid button, .drive-pad button { border: 1px solid rgba(126, 164, 182, 0.23); border-radius: 8px; background: #101e27; color: #dbe9ef; } select { width: calc(100% - 32px); padding: 10px; } .virtual-remote { margin-top: 18px !important; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(5, 12, 17, 0.58); } .remote-heading { display: flex; align-items: center; justify-content: space-between; } .remote-heading .group-label { margin: 0; } #remote-state { color: var(--muted); font-size: 10px; } #remote-state.active { color: var(--accent); } .remote-pad { display: grid; grid-template-columns: repeat(3, 54px); gap: 7px; justify-content: center; margin: 12px 0 8px; touch-action: none; user-select: none; } .remote-pad button { width: 54px; height: 45px; padding: 0; border: 1px solid rgba(126, 164, 182, 0.3); border-radius: 9px; background: #101e27; color: #dbe9ef; cursor: pointer; font-size: 22px; } .remote-pad button:hover, .remote-pad button.pressed { border-color: var(--accent); background: rgba(66, 223, 183, 0.18); color: #78f0d5; } .remote-pad .remote-stop { border-color: rgba(255, 101, 119, 0.45); color: #ff98a5; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; } .remote-help, .remote-mode-note { margin: 7px 0 0; color: #718a96; font-size: 9px; line-height: 1.45; text-align: center; } .remote-slider { display: grid; gap: 4px; margin-top: 10px; color: #8fa8b4; font-size: 10px; } .remote-slider span { display: flex; justify-content: space-between; } .remote-slider output { color: var(--accent); font-variant-numeric: tabular-nums; } .remote-slider input { height: 18px; padding: 0; accent-color: var(--accent); } .action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; } .action-grid button { min-height: 38px; border: 1px solid rgba(126, 164, 182, 0.23); border-radius: 8px; background: #101e27; color: #dbe9ef; cursor: pointer; transition: border-color 120ms, background 120ms, transform 120ms; } .action-grid button:hover { border-color: var(--accent); background: #142c31; transform: translateY(-1px); } .action-grid .danger-button { border-color: rgba(255, 101, 119, 0.45); color: #ff98a5; } .configuration { margin-top: 18px !important; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 13px 0 16px; } .configuration summary { color: #bcd0d9; cursor: pointer; font-size: 12px; font-weight: 650; } .configuration select { width: 100%; } .numeric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .numeric-grid label, .layout-row label { display: grid; gap: 4px; color: var(--muted); font-size: 9px; } input { width: 100%; min-width: 0; padding: 7px 5px; border: 1px solid rgba(126, 164, 182, 0.23); border-radius: 6px; outline: 0; background: #0b171f; color: #dbe9ef; font: inherit; font-variant-numeric: tabular-nums; } input:focus { border-color: var(--accent); } .layout-rows { display: grid; gap: 7px; max-height: 275px; overflow-y: auto; } .layout-row { display: grid; grid-template-columns: 48px repeat(3, 1fr); gap: 5px; align-items: end; padding: 8px; border: 1px solid var(--border); border-radius: 7px; background: rgba(5, 12, 17, 0.6); } .layout-row strong { align-self: center; color: #9cb2bd; font-size: 10px; } .primary-button { width: 100%; margin-top: 10px; padding: 9px; border: 1px solid rgba(66, 223, 183, 0.5); border-radius: 7px; background: rgba(66, 223, 183, 0.12); color: #78f0d5; cursor: pointer; } .message { min-height: 56px; margin-top: 18px !important; padding: 11px; border-left: 3px solid var(--accent); border-radius: 4px; background: rgba(66, 223, 183, 0.07); color: #a8c4cf; font-size: 12px; line-height: 1.5; } .message.error { border-left-color: var(--danger); background: rgba(255, 101, 119, 0.08); } .legend { display: grid; gap: 10px; margin-top: 22px !important; color: var(--muted); font-size: 11px; } .legend > div { display: flex; gap: 9px; align-items: center; } .legend-line { width: 24px; height: 0; border-top: 3px solid var(--accent); } .legend-line.target { border-top-style: dashed; border-top-color: var(--warning); } .legend-line.zero { border-top-width: 1px; border-top-style: dashed; border-top-color: #56a7ff; } .axis-swatch { width: 24px; height: 3px; background: #ff6477; } .axis-swatch.y-axis { background: #54d991; } .legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); } .legend-dot.aligning { background: var(--warning); } .viewport-panel { display: flex; min-width: 0; flex-direction: column; } .coordinate-note, #update-rate { color: var(--muted); font-size: 11px; font-weight: 500; } #world-canvas { display: block; width: 100%; height: calc(100% - 48px); min-height: 620px; } .vehicle-cards { display: grid; gap: 9px; padding: 12px; } .status-panel { max-height: calc(100vh - 112px); overflow-y: auto; } .wheel-detail { padding: 12px; border-bottom: 1px solid var(--border); } .geometry-note { margin-bottom: 11px; color: #8fa8b4; font-size: 10px; line-height: 1.5; } .wheel-row { margin-top: 10px; } .wheel-row-title { display: flex; justify-content: space-between; gap: 8px; color: #9eb4be; font-size: 10px; } .wheel-row-title span { font-variant-numeric: tabular-nums; } .angle-scale { position: relative; height: 8px; margin: 6px 0 3px; border-radius: 4px; background: linear-gradient(90deg, rgba(181, 140, 255, 0.42), rgba(66, 223, 183, 0.15) 50%, rgba(181, 140, 255, 0.42)); } .zero-mark, .target-mark, .actual-mark { position: absolute; top: -3px; width: 2px; height: 14px; transform: translateX(-1px); } .zero-mark { left: 50%; background: #56a7ff; } .target-mark { background: var(--warning); } .actual-mark { width: 3px; background: var(--accent); } .wheel-speed { color: #617b88; font-size: 9px; text-align: right; } .vehicle-card { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: rgba(9, 18, 24, 0.78); color: inherit; cursor: pointer; text-align: left; } .vehicle-card.selected { border-color: rgba(66, 223, 183, 0.7); background: rgba(36, 120, 105, 0.11); } .card-topline { display: flex; justify-content: space-between; font-size: 12px; } .status-ready { color: var(--accent); } .status-aligning { color: var(--warning); } .mode-name { margin: 7px 0 9px; color: #91a9b5; font-size: 12px; } dl { display: grid; gap: 5px; margin: 0; font-size: 11px; } dl div { display: flex; justify-content: space-between; } dt { color: #607985; } dd { margin: 0; color: #bcd0d9; font-variant-numeric: tabular-nums; } @media (max-width: 1300px) { body { min-width: 1100px; } .workspace { grid-template-columns: 285px minmax(520px, 1fr) 305px; } }