body { background:#101216; color:#e8e6df; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; margin:0; padding:32px 16px 48px; }
header, main { max-width:760px; margin:0 auto; }
h1 { font-size:28px; margin:0 0 8px; }
h2 { font-size:20px; margin:0 0 8px; }
h3 { font-size:16px; margin:22px 0 6px; }
p.sub { color:#9a97a3; margin:0 0 14px; line-height:1.55; }
p.sub b { color:#e8e6df; }
.panel { background:#1a1d24; border:1px solid #2c303c; border-radius:10px; padding:20px 22px; margin-bottom:20px; }
p.expl { color:#9a97a3; font-size:14px; line-height:1.55; margin:0 0 14px; }
canvas { display:block; width:100%; height:auto; background:#12141a; border:1px solid #262a35; border-radius:8px; }
.controls { margin:14px 0 4px; }
.controls label { font-size:14px; color:#9a97a3; display:block; }
.controls output { color:#e8e6df; font-weight:600; }
.controls input[type="range"] { width:100%; accent-color:#c8a75a; margin-top:6px; }
.controls.two { display:flex; gap:18px; flex-wrap:wrap; margin-bottom:14px; }
.controls.two label { display:flex; align-items:center; gap:8px; }
.controls input[type="number"] { background:#12141a; border:1px solid #2c303c; border-radius:6px; color:#e8e6df; padding:6px 8px; width:100px; font-size:14px; }
table.readout, table.sources { width:100%; border-collapse:collapse; margin-top:14px; font-size:14px; }
table.readout th, table.sources th { text-align:left; color:#9a97a3; font-weight:600; padding:6px 8px; border-bottom:1px solid #2c303c; }
table.readout td, table.sources td { padding:6px 8px; border-bottom:1px solid #22252e; }
table.readout td:first-child { color:#9a97a3; }
ul.notes { color:#9a97a3; font-size:14px; line-height:1.6; margin:14px 0 0; padding-left:18px; }
ul.notes b { color:#e8e6df; }
p.note { color:#9a97a3; font-size:13px; line-height:1.55; margin:14px 0 0; }
