/* What Will Students Be Able to Do? — styles.
   Base copied from ../purpose/css/styles.css (same SEA-EU thinking-surface family,
   same tokens); everything prefixed lo- belongs to this page. */

:root {
  /* text-only shades of the accent colours, 4.5:1 or better on every course background (30 Sep 2026) */
  --text-ochre: #855c15; --text-green: #4c6a3a; --text-brown: #8e4f22;
  --paper: #f5f2ea;
  --card: #fcfaf4;
  --inset: #efeadd;
  --ink: #23261f;
  --ink-soft: #474b40;
  --muted: #6b6557;
  --hair: #ddd6c4;
  --hair-strong: #c9c1ab;
  --danger: #a8442c;
  --danger-soft: #f4e6df;
  --ok: #587d4b;
  --ok-soft: #e9eedd;
  --warn: #b7822f;
  --warn-soft: #f5ecd8;
  --ai: #6c58a8;
  --ai-soft: #ece7f4;
  /* the alignment triad, as on the course home */
  --c-out: #34708b;
  --c-act: #587d4b;
  --c-ass: #a25e2e;
  --font-ui: "Schibsted Grotesk", system-ui, sans-serif;
  --font-display: "Newsreader", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

.app { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- masthead ---------- */

.masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 26px 44px 0 44px;
  border-bottom: 1px solid var(--hair-strong);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.masthead-id { padding-bottom: 18px; }

.masthead-eyebrow {
  margin: 0 0 4px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

.lens-tabs { display: flex; gap: 4px; }

.lens-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-ui);
  transition: color 0.15s ease;
}

.lens-tab:hover { color: var(--ink-soft); }

.lens-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.lens-tab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.lens-tab-name { font-size: 15.5px; font-weight: 600; }

/* ---------- layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(380px, 5fr) minmax(420px, 6fr);
  gap: 48px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 44px 64px 44px;
  flex: 1;
  align-items: start;
}

.stage { position: sticky; top: 28px; }

.stage-caption {
  margin: 6px auto 0 auto;
  max-width: 420px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.panel { min-width: 0; }

.lens-panel { display: flex; flex-direction: column; gap: 18px; }

/* ---------- cards (shared vocabulary) ---------- */

.detail-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 26px 28px;
}

.detail-kicker {
  margin: 0 0 6px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-title {
  margin: 0 0 12px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.detail-body {
  margin: 0 0 12px 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-soft);
}
.detail-body:last-child { margin-bottom: 0; }

.detail-craft {
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.detail-craft li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.detail-craft li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--hair-strong);
}
.detail-craft:last-child { margin-bottom: 0; }

.detail-example {
  background: var(--inset);
  border-radius: 6px;
  padding: 16px 18px;
}
.detail-example-kicker {
  margin: 0 0 6px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-example-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  font-style: italic;
}

.detail-hint {
  margin: 14px 0 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.footnote {
  margin: 8px 0 0 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.bq { margin: 0 0 12px 0; padding: 4px 0 0 0; }
.bq p {
  margin: 0 0 8px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.bq cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}


.approach-card { border-left-width: 4px; }
.approach-card[data-tone="ai"] { border-left-color: var(--ai); }

/* ---------- next / link cards ---------- */

.next-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--inset);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 12px;
  transition: border-color 0.15s ease;
}
.next-link:first-of-type { margin-top: 4px; }
.next-link:hover { border-color: var(--ink); }
.next-link-kicker {
  margin: 0 0 4px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.next-link-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- colophon ---------- */

.colophon {
  border-top: 1px solid var(--hair-strong);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 44px 26px 44px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.colophon p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}


/* ======================= this page (lo-) ======================= */

/* ---------- stage: anatomy ---------- */

.lo-anatomy {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 16px 18px 12px 18px;
  margin-bottom: 18px;
}
.lo-anatomy[hidden] { display: none; }
.lo-anatomy-title {
  margin: 0 0 10px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lo-part {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-top: 1px solid var(--hair);
}
.lo-part-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.lo-part-name small { text-transform: none; letter-spacing: 0.02em; font-size: 12px; }
.lo-part-text { font-family: var(--font-display); font-size: 19px; line-height: 1.3; color: var(--ink); }
.lo-part.is-hot .lo-part-name { color: var(--c-out); }
.lo-part.is-hot .lo-part-text {
  color: var(--c-out);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.lo-part.is-empty .lo-part-text { color: var(--muted); font-style: italic; text-decoration: none; }

/* ---------- stage: SOLO staircase ---------- */

.lo-svg { width: 100%; height: auto; display: block; transition: opacity 0.2s ease; }
.lo-svg.is-quiet :is(rect, path, circle, line, polygon, polyline) { opacity: 0.55; }   /* quiet: shapes recede, text stays readable */
.lo-step { cursor: pointer; }
.lo-step:focus { outline: none; }
.lo-step-rect { fill: var(--inset); stroke: var(--hair-strong); stroke-width: 1.2; transition: fill 0.15s ease, stroke 0.15s ease; }
.lo-step:hover .lo-step-rect, .lo-step:focus-visible .lo-step-rect { stroke: var(--ink-soft); }
.lo-step.is-sel .lo-step-rect { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.lo-step-name { font-family: var(--font-display); font-size: 14px; fill: var(--ink); pointer-events: none; }
.lo-glyph line { stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; }
.lo-glyph circle { fill: var(--ink-soft); }
.lo-step.is-sel .lo-glyph line { stroke: var(--ink); }
.lo-step.is-sel .lo-glyph circle { fill: var(--ink); }
.lo-band { fill: var(--c-out); opacity: 0.09; }
.lo-band-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; fill: var(--c-out); }
.lo-phase { fill: none; stroke: var(--hair-strong); stroke-width: 1.3; }
.lo-phase-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; fill: var(--muted); }
.lo-dot { pointer-events: auto; }
.lo-dot circle { stroke-width: 1.5; }
.lo-dot text { font-family: var(--font-mono); font-size: 10px; font-weight: 600; pointer-events: none; }
.lo-more { font-family: var(--font-mono); font-size: 10.5px; fill: var(--muted); }

.lo-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 6px; }
.lo-legend:empty { display: none; }
.lo-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-soft); }
.lo-legend-note { color: var(--muted); }
.lo-legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid;
  flex: none;
}

/* ---------- small shared pieces ---------- */

.lo-muted { color: var(--muted); }
.lo-small { font-size: 14px; }
.lo-tight { margin-top: -6px; }
.lo-subhead {
  margin: 18px 0 8px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lo-question { margin: 10px 0 8px 0; font-size: 14px; font-weight: 600; color: var(--ink); }

.lo-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 4px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.lo-progress-bar { flex: 0 0 120px; height: 5px; border-radius: 3px; background: var(--inset); overflow: hidden; }
.lo-progress-bar span { display: block; height: 100%; background: var(--ink-soft); border-radius: 3px; transition: width 0.2s ease; }

.lo-btn {
  appearance: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lo-btn:hover { border-color: var(--ink); }
.lo-btn-primary { background: var(--ink); color: var(--card); border-color: var(--ink); }
.lo-btn-primary:hover { background: #3a3e33; }
.lo-btn.is-done { background: var(--ok); border-color: var(--ok); color: var(--card); }
.lo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lo-carry .lo-actions { margin-top: 4px; }

.lo-link {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.lo-link:hover { color: var(--ink); }
.lo-link.is-danger:hover { color: var(--danger); }

.lo-details { margin-top: 12px; }
.lo-details > summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 4px 0;
}
.lo-details > summary:hover { color: var(--ink); }
.lo-details[open] > summary { margin-bottom: 8px; }

/* ---------- 01 verbs ---------- */

.lo-verbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px 0; }
.lo-verb {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--inset);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lo-verb:hover { border-color: var(--hair-strong); }
.lo-verb.is-yes { background: var(--ok-soft); border-color: var(--ok); }
.lo-verb.is-no { background: var(--danger-soft); border-color: var(--danger); }
.lo-verb.is-maybe { background: var(--warn-soft); border-color: var(--warn); }
.lo-verb.is-sel { box-shadow: 0 0 0 2px var(--ink); }
.lo-verb-mark { font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.lo-verb.is-yes .lo-verb-mark { color: var(--text-green); }
.lo-verb.is-no .lo-verb-mark { color: var(--danger); }
.lo-verb.is-maybe .lo-verb-mark { color: var(--text-ochre); }

.lo-verdict {
  background: var(--inset);
  border-radius: 6px;
  padding: 12px 16px;
  border-left: 4px solid var(--hair-strong);
  min-height: 48px;
}
.lo-verdict.is-yes { border-left-color: var(--ok); }
.lo-verdict.is-no { border-left-color: var(--danger); }
.lo-verdict.is-maybe { border-left-color: var(--warn); }
.lo-verdict-name { margin: 0 0 3px 0; font-size: 14.5px; font-weight: 600; }
.lo-verdict-why { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- item lists (triage, guesses, exposure) ---------- */

.lo-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 6px 0; }
.lo-scale-item { border-top: 3px solid var(--hair-strong); padding-top: 7px; }
.lo-scale-item.is-critical { border-top-color: var(--danger); }
.lo-scale-item.is-help { border-top-color: var(--warn); }
.lo-scale-item.is-mild { border-top-color: var(--ok); }
.lo-scale-name { margin: 0 0 2px 0; font-size: 13.5px; font-weight: 600; }
.lo-scale-desc { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }

.lo-items { list-style: none; margin: 12px 0 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lo-item {
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--paper);
}
.lo-item.is-done { background: var(--card); }
.lo-item-text {
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.lo-item-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  padding-top: 5px;
  min-width: 18px;
}

.lo-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.lo-choice {
  appearance: none;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lo-choice:hover { border-color: var(--ink); color: var(--ink); }
.lo-choice.is-on { background: var(--ink); border-color: var(--ink); color: var(--card); }
.lo-choice.is-critical.is-on { background: var(--danger); border-color: var(--danger); }
.lo-choice.is-help.is-on { background: var(--warn); border-color: var(--warn); }
.lo-choice.is-mild.is-on { background: var(--ok); border-color: var(--ok); }
.lo-choice.is-key:not(.is-on) { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); color: var(--text-green); }
.lo-choice.is-exp-yes.is-on { background: var(--danger); border-color: var(--danger); }
.lo-choice.is-exp-partly.is-on { background: var(--warn); border-color: var(--warn); }
.lo-choice.is-exp-no.is-on { background: var(--ok); border-color: var(--ok); }

.lo-reveal { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--hair-strong); }
.lo-reveal-key { margin: 0 0 8px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.lo-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 6px;
  color: var(--card);
  background: var(--ink-soft);
}
.lo-tag.is-critical, .lo-tag.is-wrong { background: var(--danger); }
.lo-tag.is-help { background: var(--warn); }
.lo-tag.is-mild, .lo-tag.is-right { background: var(--ok); }
.lo-reveal-label {
  margin: 10px 0 2px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lo-reveal-text { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.lo-reveal-fix { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--text-green); }
.lo-exp-no { margin-top: 10px; }

/* ---------- 02 SOLO ---------- */

.lo-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 4px 0 18px 0; }
.lo-level {
  appearance: none;
  text-align: left;
  background: none;
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  font-family: var(--font-ui);
  color: var(--muted);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lo-level:hover { border-color: var(--hair-strong); color: var(--ink-soft); }
.lo-level.is-active { background: var(--inset); border-color: var(--ink); color: var(--ink); }
.lo-level-name { font-size: 13px; font-weight: 600; }
.lo-level-short { font-size: 12.5px; line-height: 1.3; }
.lo-level-title span { color: var(--muted); font-size: 0.8em; }

.lo-verblist { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.lo-vchip {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--ink);
  background: var(--inset);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 9px;
  line-height: 1.3;
  text-align: left;
}
.lo-vchip small { font-size: 12px; color: var(--muted); max-width: 22em; }
.lo-vchip.is-btn { cursor: pointer; }
.lo-vchip.is-btn:hover { border-color: var(--ink); }

/* ---------- 03 write ---------- */

.lo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin: 8px 0 4px 0; }
.lo-fields-course { grid-template-columns: 3fr 2fr; }
.lo-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lo-field.is-wide { grid-column: 1 / -1; }
.lo-field > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lo-field input, .lo-field select, .lo-textarea {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  padding: 9px 11px;
  width: 100%;
}
.lo-field input:focus, .lo-field select:focus, .lo-textarea:focus { outline: 2px solid var(--c-out); outline-offset: 1px; border-color: var(--c-out); }
.lo-field small { min-height: 1em; font-size: 12px; }
.lo-textarea { resize: vertical; line-height: 1.5; margin-top: 4px; }

.lo-eqf { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); }
.lo-eqf-cycle { margin: 0 0 6px 0; font-size: 15px; font-weight: 600; color: var(--c-out); }
.lo-eqf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lo-eqf-col .lo-subhead { margin-top: 4px; }
.lo-eqf-col .bq p { font-size: 15.5px; line-height: 1.45; }
.lo-purpose { margin-top: 14px; }

.lo-picker { margin: 10px 0 6px 0; }
.lo-picker-levels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lo-mini {
  appearance: none;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 4px 11px;
  cursor: pointer;
}
.lo-mini.is-on { background: var(--ink); border-color: var(--ink); color: var(--card); }

.lo-preview {
  margin-top: 14px;
  background: var(--inset);
  border-radius: 8px;
  padding: 16px 18px;
}
.lo-preview-kicker {
  margin: 0 0 6px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lo-preview-kicker .lo-muted { text-transform: none; letter-spacing: 0; }
.lo-preview-text { margin: 0 0 14px 0; font-family: var(--font-display); font-size: 20px; line-height: 1.4; color: var(--ink); }
.lo-preview-text.is-empty { color: var(--muted); font-style: italic; font-size: 17px; }
.lo-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.lo-checks li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.lo-checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; }
.lo-checks li.is-ok::before { background: var(--ok); }
.lo-checks li.is-warn::before { background: var(--warn); }
.lo-checks li.is-bad::before { background: var(--danger); }

.lo-mine { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.lo-mine-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.lo-mine-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--card);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.lo-mine-body { flex: 1; min-width: 0; }
.lo-mine-text { margin: 0 0 3px 0; font-family: var(--font-display); font-size: 18px; line-height: 1.4; }
.lo-mine-meta { margin: 0 0 4px 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); }
.lo-mine-tools { display: flex; gap: 14px; }

/* ---------- 04 AI ---------- */

.lo-decisions { display: flex; flex-direction: column; gap: 6px; }
.lo-decision {
  appearance: none;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--hair);
  border-left: 4px solid var(--hair-strong);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: var(--font-ui);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lo-decision:hover { border-color: var(--hair-strong); }
.lo-decision.is-secure { border-left-color: var(--c-out); }
.lo-decision.is-revise { border-left-color: var(--warn); }
.lo-decision.is-literacy { border-left-color: var(--ai); }
.lo-decision.is-on { background: var(--inset); border-color: var(--ink); border-left-width: 4px; }
.lo-decision.is-secure.is-on { border-left-color: var(--c-out); }
.lo-decision.is-revise.is-on { border-left-color: var(--warn); }
.lo-decision.is-literacy.is-on { border-left-color: var(--ai); }
.lo-decision-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.lo-decision-body { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

.lo-tally { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lo-tally li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-soft); }

.lo-privacy {
  margin: 0 0 10px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ai);
  font-weight: 600;
}
.lo-prompt {
  margin: 0;
  background: #fff;
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 340px;
  overflow: auto;
}
.lo-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lo-ticks label { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.lo-ticks input { margin-top: 4px; accent-color: var(--ai); flex: none; }
.lo-ticks input:checked + span { color: var(--muted); text-decoration: line-through; }


/* ---------- the student test, difficult verbs, the rule ---------- */

.lo-test {
  margin: 4px 0 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--c-out);
  background: var(--inset);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17.5px;
  line-height: 1.45;
  color: var(--ink);
}

.lo-hard { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lo-hard-item { background: var(--inset); border-radius: 6px; padding: 12px 14px; }
.lo-hard-name { margin: 0 0 3px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.lo-hard-verbs { margin: 0 0 5px 0; font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--ink-soft); }
.lo-hard-note { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }

.lo-rule { border-left: 4px solid var(--c-out); }
.lo-rule .detail-kicker { color: var(--c-out); }

/* ---------- templates, forms, the outcome check ---------- */

.lo-templates { margin: 0 0 6px 0; }
.lo-template-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lo-template-list li { display: flex; flex-direction: column; gap: 2px; background: var(--inset); border-radius: 6px; padding: 9px 12px; }
.lo-template-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lo-template-shape { font-family: var(--font-display); font-size: 16.5px; line-height: 1.4; color: var(--ink); }

.lo-forms { list-style: none; margin: 4px 0 14px 0; padding: 0; counter-reset: form; display: flex; flex-direction: column; gap: 10px; }
.lo-forms li { counter-increment: form; position: relative; padding-left: 34px; }
.lo-forms li::before {
  content: counter(form);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--hair-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}
.lo-forms-name { margin: 0 0 2px 0; font-size: 14.5px; font-weight: 600; }
.lo-forms-example { margin: 0 0 2px 0; font-family: var(--font-display); font-style: italic; font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.lo-forms-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.lo-check { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.lo-check-head { margin: 0 0 6px 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.lo-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lo-check-list li { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.lo-check-name { font-weight: 600; color: var(--ink); }
.lo-check-live {
  display: inline-block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--c-out);
  background: var(--inset);
  border-radius: 4px;
  padding: 1px 6px;
}
.lo-bq-small { margin-top: 14px; }
.lo-bq-small p { font-size: 16.5px; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; gap: 24px; padding: 24px 24px 48px 24px; }
  .stage { position: static; max-width: 560px; margin: 0 auto; width: 100%; }
  .masthead { padding: 22px 24px 0 24px; }
  .lens-tabs { overflow-x: auto; width: 100%; }
  .colophon { padding: 16px 24px 22px 24px; }
}

@media (max-width: 640px) {
  .layout { padding: 20px 16px 40px 16px; }
  .masthead { padding: 20px 16px 0 16px; }
  .colophon { padding: 16px 16px 22px 16px; }
  .masthead-title { font-size: 27px; }
  .lens-tab { padding: 10px 10px 12px 10px; }
  .lens-tab-name { font-size: 14px; }
  .detail-card { padding: 20px 18px; }
  .lo-part { grid-template-columns: 88px 1fr; }
  .lo-part-text { font-size: 17px; }
  .lo-scale, .lo-eqf-cols { grid-template-columns: 1fr; }
  .lo-levels { grid-template-columns: repeat(2, 1fr); }
  .lo-fields, .lo-fields-course { grid-template-columns: 1fr; }
  .lo-hard, .lo-check { grid-template-columns: 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- the AI background guide (section 04) ---------- */

.lo-guide {
  background: var(--ai-soft);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 4px 0 16px 0;
}
.lo-guide-title { margin: 0 0 6px 0; font-size: 15px; font-weight: 600; color: var(--ai); }
.lo-guide .detail-body { font-size: 14.5px; margin-bottom: 8px; }
.lo-guide-steps { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.lo-guide .lo-actions { align-items: center; }
.lo-guide a.lo-btn { text-decoration: none; display: inline-block; }
.lo-guide-alt { font-size: 15px; }
