/* Inner Dive · Topic labs: Planck, Newton's calculus, Platonic solids (28 Oct 2026) */
.tl-box { --tl: #FF6A4A; margin: 10px 0 4px; padding: 12px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--tl) 38%, transparent);
  background: radial-gradient(120% 90% at 30% 0%, color-mix(in srgb, var(--tl) 10%, transparent), rgba(5,8,20,.55) 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 18px 50px -30px color-mix(in srgb, var(--tl) 70%, transparent); display: flex; flex-direction: column; gap: 12px; }
.tl-box canvas { width: 100%; height: 400px; display: block; border-radius: 12px; background: radial-gradient(ellipse at 30% 40%, #0D1434, #03050C 75%); touch-action: none; }
.tl-box canvas.tl-small { height: 150px; }
.tl-ctl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; align-items: start; }
.tl-grp { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tl-grp.wide { grid-column: 1 / -1; }
.tl-lab { font-family: ui-monospace, monospace; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--tl) 85%, #fff); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chips button { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(230,234,242,.18); background: rgba(5,8,20,.5);
  color: var(--ink, #E6EAF2); font: 500 .86rem var(--font-body, system-ui); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.tl-chips button b { font-family: ui-monospace, monospace; font-weight: 600; font-size: .76rem; opacity: .65; }
.tl-chips button:hover { border-color: color-mix(in srgb, var(--tl) 60%, transparent); }
.tl-chips button[aria-pressed="true"] { border-color: var(--tl); color: #fff; box-shadow: 0 0 0 1px var(--tl), 0 0 18px -6px var(--tl); }
.tl-chips button:focus-visible, .tl-range input:focus-visible { outline: 2px solid var(--tl); outline-offset: 2px; }
.tl-range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
.tl-range input { grid-column: 1 / -1; width: 100%; accent-color: var(--tl); }
.tl-range b { font-family: ui-monospace, monospace; font-size: .9rem; color: #fff; }
.tl-range span { font-size: .8rem; color: rgba(230,234,242,.7); }
.tl-read { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.tl-cell { --c: #E6EAF2; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  background: rgba(5,8,20,.55); box-shadow: inset 0 0 18px -10px var(--c); min-width: 0; }
.tl-cell span { font-family: ui-monospace, monospace; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(230,234,242,.6); }
.tl-cell b { font-size: 1.15rem; color: var(--c); overflow-wrap: anywhere; }
.tl-cell small { font-size: .74rem; color: rgba(230,234,242,.62); }
.tl-sub { margin: 4px 0 0; font-family: ui-monospace, monospace; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--tl) 85%, #fff); }
.tl-hint { margin: 0; font-size: .8rem; color: rgba(230,234,242,.6); text-align: center; }
@media (max-width: 820px) { .tl-box canvas { height: 340px; } .tl-ctl { grid-template-columns: 1fr; } .tl-read { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tl-box { padding: 10px; } .tl-box canvas { height: 300px; } .tl-box canvas.tl-small { height: 140px; } }
.tl-grp[hidden], .tl-box [hidden] { display: none !important; }

/* 8 Nov 2026 · arpeggio chips with Italian names: long chips wrap as one line of text, never as two columns */
.tl-chips.ar-p button, .tl-chips.ar-a button, .tl-chips.ar-h button, .tl-chips.ar-ch button { flex-wrap: wrap; justify-content: flex-start; text-align: left; max-width: 100%; row-gap: 0; }
