/* Hebrew course (js/hebrew.js, docs/plan/2026-11-14-hebrew-writing-pad.md): the letters chart page and the writing pad on each card.
   Letter cards themselves are the design system's .ds-letter (css/ds/study.css); this file lays them out and styles the pad (the lesson's pad
   rules in css/ds/lesson.css are scoped to .lesson, so the chart has its own small copy). */
.hl-page { display: grid; gap: var(--sp-4); }
.hl-top h1 { margin: 0 0 var(--sp-2); }
.hl-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.hl-pad { grid-column: 1 / -1; position: relative; width: min(100%, 280px); aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line, currentColor); }
.hl-pad[hidden], .hl-write[hidden] { display: none; }
.hl-pad canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; color: var(--ink); }
.hl-pad .trace-clear { position: absolute; inset-block-end: var(--sp-2); inset-inline-end: var(--sp-2); }

/* level check (js/hebrew-placement.js) */
.hp-page .hp-q { display: grid; gap: var(--sp-3); }
.hp-big { margin: 0; font-size: clamp(2rem, 1.6rem + 2vw, 3rem); text-align: center; }
.hp-opts { display: grid; gap: var(--sp-2); }
.hp-opts .btn { justify-content: center; text-align: center; }
