:root { --sidebar-w: 420px; --plate-h: 40vh; --readouts-h: 190px; --bg: #14161a; --panel: #1d2026; --border: #2c3038; --text: #e6e6e6; --muted: #9aa0a8; --accent: #e0a23a; --danger: #d9534f; } * { 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 4px; } #sidebar h1 { margin: 0; font-size: 18px; display: inline; } .subtitle { color: var(--muted); margin-left: 8px; } .run { padding: 6px 12px; border-bottom: 1px solid var(--border); } .row { display: flex; gap: 6px; align-items: center; margin: 4px 0; } .row label { display: flex; gap: 6px; align-items: center; flex: 1; } .row select { flex: 1; } .buttons button { flex: 1; } button { background: #2a2e36; color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 5px 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; } progress { flex: 1; height: 10px; } .muted { color: var(--muted); } .tabs { display: flex; border-bottom: 1px solid var(--border); } .tabs button { flex: 1; border: none; border-radius: 0; background: transparent; padding: 6px; color: var(--muted); } .tabs button.active { color: var(--text); border-bottom: 2px solid var(--accent); } .tab { flex: 1; min-height: 0; overflow: auto; } .tab.hidden { display: none; } #editor { height: 100%; } #editor .cm-editor { height: 100%; font-size: 12px; } #editor .cm-scroller { font-family: ui-monospace, Menlo, Consolas, monospace; } #issues { list-style: none; margin: 0; padding: 4px 12px; max-height: 120px; overflow: auto; border-top: 1px solid var(--border); font-size: 12px; } #issues li { color: var(--danger); } #issues li.ok { color: #6fbf73; } #issues code { color: var(--text); } #form { padding: 6px 10px; } #form details { margin-bottom: 4px; } #form summary { cursor: pointer; font-weight: 600; padding: 3px 0; } #form .grid { display: grid; grid-template-columns: 1fr 120px; gap: 3px 8px; align-items: center; padding: 2px 0 6px 10px; } #form .grid label { color: var(--muted); } #form .grid label span.unit { color: #6d737b; margin-left: 4px; } #form .hit { border: 1px solid var(--border); border-radius: 4px; padding: 4px 8px; margin: 4px 0; } #form .hit .head { display: flex; justify-content: space-between; align-items: center; } #form input[type="number"] { width: 100%; } #summary { padding: 6px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; white-space: pre-wrap; } main { display: flex; flex-direction: column; min-height: 0; min-width: 0; } main section { min-height: 0; display: flex; flex-direction: column; } #plate-section { height: var(--plate-h); flex: none; } #spec-section { flex: 1; min-height: 60px; } #playback { flex: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .toolbar { display: flex; gap: 14px; align-items: center; padding: 4px 10px; font-weight: 600; } .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; } #playback { flex-direction: row; align-items: center; gap: 10px; padding: 6px 10px; } #playback #position { flex: 1; } #playback label { color: var(--muted); display: flex; gap: 6px; align-items: center; } #readouts { padding: 6px 10px; height: var(--readouts-h); flex: none; overflow: auto; font-size: 12px; } #readouts table { border-collapse: collapse; margin-right: 24px; display: inline-table; vertical-align: top; } #readouts th, #readouts td { padding: 1px 8px; text-align: right; border-bottom: 1px solid var(--border); } #readouts th { color: var(--muted); font-weight: normal; } #readouts .log { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--muted); white-space: pre-wrap; margin-top: 4px; } @media (max-width: 900px) { #app { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; } #sidebar { max-height: 45vh; } .splitter.vertical { display: none; } }