de6cf45cymroom: load a .cymsim file and show every part of it in a 3D scene; the room acoustics solver is not written yetJeremy Magland 1:root {
2 --bg: #14161a; --panel: #1c1f25; --border: #2c313a; --text: #d8dce3; --muted: #8b93a1;
3 --accent: #d9a441; --accent2: #4fc3f7;
4 font-family: system-ui, sans-serif; font-size: 14px;
5}
6* { box-sizing: border-box; }
7[hidden] { display: none ; }
8body { margin: 0; background: var(--bg); color: var(--text); }
9#app { display: grid; grid-template-columns: 270px 1fr 380px; height: 100vh; }
11#sidebar, #inspector { background: var(--panel); overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 14px; }
12#sidebar { border-right: 1px solid var(--border); }
13#inspector { border-left: 1px solid var(--border); }
14header h1 { margin: 0; font-size: 20px; color: var(--accent); }
15header .subtitle { color: var(--muted); font-size: 12px; }
16h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 6px; }
17section { display: flex; flex-direction: column; gap: 8px; }
18.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
19.row label { display: flex; gap: 6px; align-items: center; }
20.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
21.checks label { display: flex; gap: 6px; align-items: center; font-size: 13px; }
22.muted { color: var(--muted); font-size: 12px; line-height: 1.45; }
23.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
25button { background: #262b33; color: var(--text); border: 1px solid var(--border); border-radius: 5px; padding: 5px 12px; cursor: pointer; }
26button:hover:not(:disabled) { border-color: var(--accent); }
27button:disabled { opacity: 0.45; cursor: default; }
28select, input[type="range"] { background: #262b33; color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 3px 6px; }
29input[type="number"] { background: #262b33; color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 3px 4px; width: 62px; }
31#main { display: flex; flex-direction: column; min-width: 0; }
32#scene-wrap { position: relative; flex: 1; min-height: 0; }
33#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
34#scene-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); pointer-events: none; }
35#playback { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--border); background: var(--panel); }
36#playback label { display: flex; gap: 6px; align-items: center; }
37#pb-pos { flex: 1; }
38#pb-time { min-width: 72px; text-align: right; }
40#tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); }
41#tabs button { border: none; border-radius: 5px 5px 0 0; background: none; color: var(--muted); padding: 6px 10px; }
42#tabs button.active { background: #262b33; color: var(--text); }
43.tab { display: none; flex-direction: column; gap: 10px; }
44.tab.active { display: flex; }
45#config-yaml { white-space: pre-wrap; margin: 0; line-height: 1.4; }
46canvas.plot { width: 100%; height: 180px; background: #101216; border: 1px solid var(--border); border-radius: 4px; }
47canvas.plot.tall { height: 240px; }
48table { border-collapse: collapse; width: 100%; font-size: 12px; }
49th, td { border-bottom: 1px solid var(--border); padding: 4px 6px; text-align: right; }
50th:first-child, td:first-child { text-align: left; }
51th { color: var(--muted); font-weight: 500; }
52dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; font-size: 12px; }
53dl.facts dt { color: var(--muted); }
54dl.facts dd { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; }
55body.dragover::after { content: "drop the .cymsim file"; position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 22, 26, 0.85); font-size: 20px; color: var(--accent); z-index: 10; pointer-events: none; }