/* Per-theme character on top of the shared tokens (ds.css). Colours come from theme.js; this is type, shape and interaction. */
/* Nocturne: precise and quiet. Hairlines, tight radii, tabular numbers, underline-style active states. */
html[data-pal=nocturne]{--r1:5px;--r2:8px;--r3:12px}
html[data-pal=nocturne] :is(h2,h3,h4,.ph-title){letter-spacing:.01em;font-weight:500}
html[data-pal=nocturne] :is(.eqn,.sumgrid b,.pos,.tbl td){font-variant-numeric:tabular-nums}
html[data-pal=nocturne] #nav button.on{box-shadow:inset 0 -2px 0 var(--acc);background:none}
/* Atelier: editorial. Serif headings and figures, soft radii, warm shadows. */
html[data-pal=atelier]{--r1:8px;--r2:14px;--r3:20px;--sh2:0 10px 26px -14px rgba(60,40,20,.35)}
html[data-pal=atelier] :is(h1,h2,h3,.ph-title,.eqn,.lk-head h2){font-family:ui-serif,"Iowan Old Style","Palatino Linotype",Georgia,serif;font-weight:500;letter-spacing:-.01em}
html[data-pal=atelier] .btn.primary{border-radius:999px}
html[data-pal=atelier] :is(.hero,.pos,.setgrp,.sumgrid>div){box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 1px 2px rgba(60,40,20,.06)}
/* Aurora: cool and luminous. Wide-tracked labels, glass edges with a faint top highlight, mint focus. */
html[data-pal=aurora] :is(.lbl,small,h4,.sgrp>h4){letter-spacing:.07em}
html[data-pal=aurora] :is(.hero,.pos,.setgrp,.sumgrid>div,.pane,#nav){box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
html[data-pal=aurora] :is(.btn.primary,.tbs button.on){box-shadow:0 0 0 1px color-mix(in srgb,var(--acc) 45%,transparent)}
