:root { color-scheme: light; --page: #f4f3f0; --surface-1: #fcfcfb; --border: #e2e0da; --text-primary: #0b0b0b; --text-secondary: #52514e; --text-muted: #77756f; --grid: #ecebe7; --axis: #b9b7b0; --accent: #2a78d6; --accent-ink: #ffffff; --warn-bg: #fdf3dc; --warn-ink: #6b4a00; --series-1: #2a78d6; --series-2: #eb6834; --ramp: #fcfcfb, #cde2fb, #86b6ef, #3987e5, #1c5cab, #0d366b; --diverging: #1c5cab, #86b6ef, #f0efec, #f0a3a2, #b42d2c; } @media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { color-scheme: dark; --page: #121211; --surface-1: #1a1a19; --border: #2f2f2c; --text-primary: #ffffff; --text-secondary: #c3c2b7; --text-muted: #94938a; --grid: #262624; --axis: #4a4a46; --accent: #3987e5; --warn-bg: #3a2e12; --warn-ink: #f3d18a; --series-1: #3987e5; --series-2: #d95926; --ramp: #1a1a19, #104281, #1c5cab, #3987e5, #86b6ef, #cde2fb; --diverging: #6da7ec, #1c5cab, #383835, #a83434, #e66767; } } :root[data-theme='dark'] { color-scheme: dark; --page: #121211; --surface-1: #1a1a19; --border: #2f2f2c; --text-primary: #ffffff; --text-secondary: #c3c2b7; --text-muted: #94938a; --grid: #262624; --axis: #4a4a46; --accent: #3987e5; --warn-bg: #3a2e12; --warn-ink: #f3d18a; --series-1: #3987e5; --series-2: #d95926; --ramp: #1a1a19, #104281, #1c5cab, #3987e5, #86b6ef, #cde2fb; --diverging: #6da7ec, #1c5cab, #383835, #a83434, #e66767; } * { box-sizing: border-box; } body { margin: 0; background: var(--page); color: var(--text-primary); font: 14px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif; } h1 { font-size: 22px; margin: 4px 0 8px; } h2 { font-size: 15px; margin: 0 0 10px; } a { color: var(--accent); } .sub { color: var(--text-secondary); margin: 0 0 12px; } .note { color: var(--text-muted); font-size: 12px; margin: 6px 0 0; } .mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; font-size: 12px; } .hero { max-width: 1100px; margin: 32px auto 8px; padding: 0 16px; } .gallery { max-width: 1100px; margin: 0 auto 32px; padding: 0 16px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } .tile { display: block; background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; padding: 16px; color: inherit; text-decoration: none; position: relative; } .tile:not(.soon):hover { border-color: var(--accent); } .tile p { color: var(--text-secondary); margin: 0; } .tile.soon { opacity: 0.6; cursor: default; } .badge { display: inline-block; margin-top: 10px; font-size: 11px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; } .instrument { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; padding: 16px; max-width: 1500px; margin: 0 auto; } @media (max-width: 860px) { .instrument { grid-template-columns: 1fr; padding: 16px; } } .panel { background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; padding: 14px; align-self: start; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; } @media (max-width: 860px) { .panel { position: static; max-height: none; } } .back { font-size: 13px; text-decoration: none; } fieldset { border: none; border-top: 1px solid var(--border); margin: 10px 0 0; padding: 8px 0 0; } legend { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); padding: 0 6px 0 0; } .ctl { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin: 5px 0; } .ctl[hidden] { display: none; } .ctl-name { color: var(--text-secondary); font-size: 13px; } .ctl-unit { color: var(--text-muted); font-size: 12px; min-width: 34px; } .ctl.preset { grid-template-columns: 60px minmax(0, 1fr); } input, select { font: inherit; font-size: 13px; color: var(--text-primary); background: var(--page); border: 1px solid var(--border); border-radius: 6px; padding: 4px 6px; min-width: 0; width: 100%; } .inline select { width: auto; } input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; } .btn, .btn-small { font: inherit; border-radius: 6px; cursor: pointer; text-decoration: none; display: inline-block; } .btn { background: var(--accent); color: var(--accent-ink); border: none; padding: 8px 16px; font-weight: 600; } .btn:disabled { opacity: 0.5; cursor: default; } .btn-small { background: transparent; color: var(--text-primary); border: 1px solid var(--border); padding: 4px 10px; font-size: 13px; } .run-row { display: flex; gap: 8px; align-items: center; margin-top: 14px; } progress { width: 100%; margin-top: 8px; accent-color: var(--accent); } .results { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .card { background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; padding: 14px; min-width: 0; } .card[hidden] { display: none; } .card-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; } .stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; } .stats div { display: flex; flex-direction: column; } .stats span { color: var(--text-muted); font-size: 12px; } .stats b { font-weight: 600; font-variant-numeric: tabular-nums; } .warnings { margin: 10px 0 0; padding: 0; list-style: none; } .warnings li { background: var(--warn-bg); color: var(--warn-ink); border-radius: 6px; padding: 6px 10px; margin-top: 6px; font-size: 13px; } .warnings li::before { content: '⚠ '; } .audio-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 12px; } audio { max-width: 100%; } .canvas-wrap { position: relative; height: 220px; } .canvas-wrap.tall { height: 320px; } .canvas-wrap.short { height: 170px; } .canvas-wrap canvas { width: 100%; height: 100%; display: block; } .tooltip { position: absolute; pointer-events: none; white-space: pre; font-size: 12px; line-height: 1.4; background: var(--surface-1); color: var(--text-primary); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; box-shadow: 0 2px 6px rgb(0 0 0 / 0.15); font-variant-numeric: tabular-nums; } .seg { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; } .seg button { font: inherit; font-size: 12px; background: transparent; color: var(--text-secondary); border: none; padding: 3px 10px; cursor: pointer; } .seg button.on { background: var(--accent); color: var(--accent-ink); } .legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-secondary); } .legend .sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; } .legend .dash { display: inline-block; width: 0; height: 12px; border-left: 2px dashed; vertical-align: middle; margin-right: 5px; } .viewer-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0; } .viewer-bar input[type='range'] { flex: 1; min-width: 140px; padding: 0; border: none; background: none; accent-color: var(--accent); } .inline { font-size: 12px; color: var(--text-secondary); display: inline-flex; gap: 6px; align-items: center; }