/* Orpheus · css/learn.css. Owner: agent P (Learn, the Ear and Theory lists, the custom exercise builders, the roadmap).
   Only what the previews did not need: app states and overrides, each with a comment that says why. Tokens only. */

/* Loading and error lines (SYSTEM.md 4.25) sit where the content goes, with room under them. */
.note-line { margin-bottom: var(--s-5); }

/* Learn: the words of the warm-up cadence ("Playing C major…") have a reserved line under the Start row,
   so nothing moves when they appear. */
.today__note { min-height: var(--lh-small); margin-top: var(--s-2); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); }

/* Learn: a plan stop opens its block, so its name is a link or a button (the preview has plain names). */
a.plan__name, button.plan__name { color: inherit; text-decoration: none; text-align: left; }
a.plan__name:hover, button.plan__name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* Learn: a stop that is done today (the preview shows none): a filled dot, as a mastered node. */
.plan__stop.is-done .plan__dot { background: var(--fg); }
/* Learn: the New stop names its other part ("+ T1.1 Treble clef", the theory level beside the ear level):
   muted as the stop's meta, ink and underlined on hover as the stop names. */
a.plan__also { color: var(--muted); text-decoration: none; }
a.plan__also:hover { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Custom exercise builders (the previews have no builder). The builder is the Settings pattern (SYSTEM.md 4.29):
   sections with a name and rows, then the one primary action with a reserved error line beside it. Its block is
   `.builder`, not `.form`: the form component (4.33) is one narrow column for sign-in and contact. */
.builder__go { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.builder__error { min-height: var(--lh-small); margin-top: 0; }
/* A choice card that can be ticked with others (role checkbox): a square mark, as the item boxes of Stats. */
.choice__box { position: relative; width: 12px; height: 12px; flex: none; border: 1.5px solid var(--fg); border-radius: 1px; }
.choice[aria-checked="true"] .choice__box::after { content: ""; position: absolute; inset: 2px; background: var(--fg); }
/* All and None under a list of cards. */
.pick { display: flex; gap: var(--s-2); margin-top: var(--s-2); }

@media (max-width: 599px) {
  .builder__go { flex-direction: column; align-items: stretch; }
  .builder__go .btn--primary { width: 100%; }
}
