/* ── Lesteller: stand, tooltip en dialoog (zie lessons.js) ───────────── */

/* Gekleurd standlabel (+2 / 0 / -1). */
.ls-stand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--ink-soft);
  white-space: nowrap;
}
.ls-stand.ok { background: var(--moss-fill); }
.ls-stand.tight { background: var(--honey-fill); }
.ls-stand.short { background: var(--berry-fill); }
.ls-stand.none { background: transparent; color: var(--ink-soft); }

/* Statuslabel in de kleur van het vakje in het Overzicht. */
.ls-chip {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.ls-chip.is-aanwezig { background: var(--moss-fill); }
.ls-chip.is-afwezig { background: var(--berry-fill); }
.ls-chip.is-geen_les { background: var(--honey-fill); }
.ls-chip.is-deels { background: var(--sunken); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink-soft); }
.ls-chip.is-leeg { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }

/* Directe tooltip. */
.ls-tip {
  position: fixed;
  z-index: 260;
  pointer-events: none;
  max-width: 320px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  box-shadow: 0 10px 28px -10px rgba(44, 33, 20, 0.45);
  font-size: 0.8rem;
  line-height: 1.4;
}
:root[data-theme="dark"] .ls-tip { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.7); }
.ls-tip[hidden] { display: none; }
.ls-tip-title { margin-bottom: 6px; }
.ls-tip-title small { font-size: inherit; font-weight: 600; color: var(--ink-soft); }
.ls-tip-status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ls-tip-status:last-child { margin-bottom: 0; }
.ls-tip-grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 2px 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.ls-tip-title + .ls-tip-grid { padding-top: 0; border-top: none; }
.ls-tip-grid > span { color: var(--ink-soft); }
.ls-tip-grid .is-ok { color: var(--moss); }
.ls-tip-grid .is-tight { color: var(--honey); }
.ls-tip-grid .is-short { color: var(--berry); }
.ls-tip-foot { margin-top: 6px; color: var(--ink-soft); }

/* Dialoog "Hoe wil je dit registreren?" (en de keuze in andere dialogen). */
.ls-context { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 16px; }
.ls-context > span:not(.ls-chip) {
  background: var(--sunken);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}
.ls-context .ls-chip { padding: 4px 12px; font-size: 0.82rem; }
.ls-choice { display: flex; flex-direction: column; gap: 8px; margin: 0 0 8px; }
.ls-choice-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  cursor: pointer;
  transition: background-color var(--dur-color) ease, border-color var(--dur-color) ease;
}
.ls-choice-option:hover { background: var(--sunken); }
.ls-choice-option.is-on {
  border: 2px solid var(--moss);
  padding: 11px 13px;
  background: color-mix(in srgb, var(--moss) 7%, var(--surface));
}
.ls-choice-option input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--moss); }
.ls-choice-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ls-choice-body > span { font-size: 0.85rem; color: var(--ink-soft); }
/* Uitgelijnd met de tekst van de keuzes (rand + padding + rondje + tussenruimte). */
.ls-footnote { margin: 0 0 16px; padding-left: 45px; font-size: 0.78rem; font-style: italic; color: var(--ink-soft); }
