:root { --sidebar-w: 400px; --modelist-w: 300px; --top-h: 44vh; --bars-h: 170px; --bg: #14161a; --panel: #1d2026; --border: #2c3038; --text: #e6e6e6; --muted: #9aa0a8; --accent: #e0a23a; --danger: #d9534f; --good: #6fbf73; } * { box-sizing: border-box; } html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 13px/1.4 system-ui, sans-serif; } #app { display: grid; grid-template-columns: var(--sidebar-w) 6px 1fr; height: 100vh; } .splitter { background: var(--border); flex: none; } .splitter.vertical { width: 6px; cursor: col-resize; } .splitter.horizontal { height: 6px; cursor: row-resize; } .splitter:hover, .splitter.active { background: var(--accent); } #sidebar { background: var(--panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; } #sidebar header { padding: 10px 12px 6px; } #sidebar h1 { margin: 0; font-size: 18px; display: inline; } .subtitle { color: var(--muted); margin-left: 8px; } #sidebar-scroll { flex: 1; overflow-y: auto; min-height: 0; padding-bottom: 10px; } #sidebar details { border-top: 1px solid var(--border); padding: 4px 12px 8px; } #sidebar summary { cursor: pointer; font-weight: 600; padding: 5px 0; } .row { display: flex; gap: 8px; align-items: center; margin: 5px 0; flex-wrap: wrap; } .row label { display: flex; gap: 5px; align-items: center; color: var(--muted); } .row select { max-width: 220px; } .row.buttons button { flex: 1; } button { background: #2a2e36; color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; cursor: pointer; } button:hover:not(:disabled) { background: #343943; } button:disabled { opacity: 0.45; cursor: default; } button.primary { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 600; } select, input[type="text"], input[type="number"] { background: #111318; color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 3px 5px; } input[type="number"] { width: 70px; } progress { flex: 1; height: 10px; } .muted { color: var(--muted); } .status { color: var(--muted); font-size: 12px; white-space: pre-wrap; margin: 4px 0; } .status.bad { color: var(--danger); } .progress { height: 5px; background: #111318; border-radius: 3px; overflow: hidden; margin: 4px 0; } .progress > div { height: 100%; width: 0; background: var(--accent); transition: width 0.15s; } .log { padding: 6px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: var(--muted); white-space: pre-wrap; } .forced-only.hidden { display: none; } /* design panel (as in cymplay) */ #design details.group { border: 1px solid var(--border); border-radius: 4px; margin: 4px 0; padding: 2px 8px 6px; } #design summary { font-weight: 600; padding: 3px 0; cursor: pointer; } #design .note { color: var(--muted); font-size: 11px; margin: 2px 0 4px; } #design .field { display: grid; grid-template-columns: 1fr 90px 64px; gap: 6px; align-items: center; margin: 2px 0; } #design .field label { color: var(--muted); font-size: 12px; } #design .field.live label::after { content: " •"; color: var(--good); } #design .field input[type="number"] { width: 100%; } main { display: flex; flex-direction: column; min-height: 0; min-width: 0; } main section { min-height: 0; min-width: 0; display: flex; flex-direction: column; } #top-section { height: var(--top-h); flex: none; flex-direction: row; } #plate-section { flex: 1; } #modelist-section { width: var(--modelist-w); flex: none; border-left: none; } #modelist { flex: 1; overflow-y: auto; min-height: 0; } #modelist table { border-collapse: collapse; width: 100%; font-size: 12px; } #modelist th, #modelist td { padding: 1px 8px; text-align: right; border-bottom: 1px solid var(--border); } #modelist th { position: sticky; top: 0; background: var(--panel); color: var(--muted); font-weight: normal; } #modelist tbody tr { cursor: pointer; } #modelist tbody tr:hover { background: #23262d; } #modelist tbody tr.selected { background: #3a3320; } #modelist tbody tr.driven td:first-child { color: var(--good); font-weight: 600; } #modal-section { flex: 1; min-height: 80px; } #bars-section { height: var(--bars-h); flex: none; } .toolbar { display: flex; gap: 14px; align-items: center; padding: 4px 10px; font-weight: 600; flex: none; } .toolbar label { font-weight: normal; color: var(--muted); display: flex; gap: 6px; align-items: center; } canvas { flex: 1; width: 100%; height: 100%; display: block; min-height: 0; } @media (max-width: 900px) { #app { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; } #sidebar { max-height: 45vh; } .splitter.vertical { display: none; } }