/* «Alba»: il tema comune delle pagine dello studente (7 novembre 2026).

   Perche': Alberto ha chiesto un ambiente «piu' allegro e coinvolgente», dove si abbia voglia di imparare. La direzione l'hanno
   scelta Claude e Codex, ognuno per conto suo, sui bozzetti di tre direzioni, dopo lo scouting di
   docs/ricerca/2026-11-07-scouting-ui-adulti.md: base chiara e calda invece del grigio, un solo colore d'azione caldo, un colore
   per esercizio (quelli del corso, gia' verificati per chi distingue male i colori), forme tonde, poche maiuscole, un
   festeggiamento breve alla fine.

   Come: ogni pagina ha i suoi token nel suo <style>; questo file viene dopo, con la stessa specificita', e li sostituisce. Il
   tema scuro delle pagine sta sotto due selettori, (prefers-color-scheme:dark) :root:not([data-theme="light"]) e
   :root[data-theme="dark"]: qui sono ripetuti tutti e due, o il tema scuro resterebbe quello di prima. Non tocca: il carattere e
   la misura del testo da leggere (la prova delle righe lo misura), i colori delle parole lette (--mark-*), l'IPA.
   Le decorazioni sono pseudo-elementi senza testo e senza clic: le prove leggono innerText e cliccano dove vedono.
   Icone: disegni di Tabler Icons (MIT, https://tabler.io/icons), ridotti ai tratti che servono.
   Carattere dei titoli: Nunito (SIL Open Font License 1.1, fonts/nunito-LICENSE.txt), scelto da Alberto e scaricato l'8
   novembre; dove non si carica, i titoli tornano a Candara. */

/* ---------- il carattere dei titoli ---------- */
/* Nunito, the latin part of its variable face (@fontsource-variable/nunito 5.3.0, from jsDelivr, its SHA-256 checked against
   the registry's): one file for every weight. server.py sends it as font/woff2. */
@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url("fonts/nunito-latin-wght-normal.woff2") format("woff2")}

/* ---------- i token ---------- */
:root{
  --desk:#FFF8F0;--window:#FFFFFF;--sunk:#FBF4EC;--raise:#FFFBF6;
  --ink:#2B2A35;--ink-2:#55505D;--ink-3:#6B6571;--rule:#EBDFD2;--rule-2:#F3EAE0;
  --act:#C2410C;--act-edge:#8F300A;--on-act:#FFFFFF;--act-wash:#FFEDD8;--glow:#FFE2C8;
  --focus:#C2410C;
  --shadow:0 1px 0 rgba(120,80,40,.06),0 14px 36px rgba(120,80,40,.09);
  --f-title:Nunito,Candara,"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif;
  --f-ui:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  --r:12px;--r-lg:20px;
  /* The colour of the page, the same the course gives the exercise (corso.html, --h-*): set below, page by page. */
  --hue:#C2410C;
  /* The course: its rail warm and light instead of night blue, its titles in the title face. */
  --rail:#FFF1E2;--rail-2:#FFE2C7;--rail-ink:#2B2A35;--rail-ink-2:#6B6571;--rail-rule:#F1DCC6;
  /* The warm colour as text: who leads the step of the lesson. */
  --act-ink:#9A3412;
  /* The sign on the pages' red (--red), as --on-green on their green: white here, dark in the dark theme, where the red is light. */
  --on-red:#FFFFFF;
  --f-display:var(--f-title);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --desk:#17141A;--window:#211D25;--sunk:#1B181F;--raise:#272229;
  --ink:#F3EEE8;--ink-2:#CEC5BC;--ink-3:#A89F96;--rule:#3B333A;--rule-2:#2F2930;
  --act:#FB8A4E;--act-edge:#C2410C;--on-act:#1E0F05;--act-wash:#3A2216;--glow:#3A2418;--focus:#FB8A4E;
  --shadow:0 1px 0 rgba(0,0,0,.4),0 14px 36px rgba(0,0,0,.35);
  --rail:#1E1A20;--rail-2:#2E2629;--rail-ink:#F3EEE8;--rail-ink-2:#B9AFA6;--rail-rule:#352D33;--act-ink:#FDBA74;
  --on-red:#2A0C08;
}}
:root[data-theme="dark"]{
  --desk:#17141A;--window:#211D25;--sunk:#1B181F;--raise:#272229;
  --ink:#F3EEE8;--ink-2:#CEC5BC;--ink-3:#A89F96;--rule:#3B333A;--rule-2:#2F2930;
  --act:#FB8A4E;--act-edge:#C2410C;--on-act:#1E0F05;--act-wash:#3A2216;--glow:#3A2418;--focus:#FB8A4E;
  --shadow:0 1px 0 rgba(0,0,0,.4),0 14px 36px rgba(0,0,0,.35);
  --rail:#1E1A20;--rail-2:#2E2629;--rail-ink:#F3EEE8;--rail-ink-2:#B9AFA6;--rail-rule:#352D33;--act-ink:#FDBA74;
  --on-red:#2A0C08;
}

/* The colour of each page: the course's hue of its exercise. */
:root:has(.rd-top){--hue:#2a78d6}
:root:has(.sp-top){--hue:#1baf7a}
:root:has(.as-top){--hue:#eb6834}
:root:has(.ls-top){--hue:#c9a227}
:root:has(.pa-h){--hue:#eda100}
:root:has(.sc-h){--hue:#e87ba4}
:root:has(.er-h){--hue:#e34948}
:root:has(.dl-h){--hue:#6250d6}
:root:has(.ck-h){--hue:#7a869c}
:root:has(.mf-h){--hue:#008300}

/* ---------- la pagina ---------- */
/* A warm light in a corner of the desk: decoration only, under everything, and not inside the course's frame (the course
   paints its own desk there). */
body{background:radial-gradient(900px 480px at 100% -6%,var(--glow),transparent 70%) no-repeat,var(--desk);font-family:var(--f-ui)}
.window{border-color:var(--rule);border-radius:var(--r-lg);box-shadow:var(--shadow)}
/* The bar that stays at the top was the last thing of the card before Start: its square corners came out of the rounded
   ones, in the dark theme (the collaudo of 7 November). Clipped, not a scroll box: the bar still stays at the top. */
:root:has(.er-h) .window,:root:has(.dl-h) .window{overflow:clip}

/* Titles: the warm face, numbers that stand on the line. */
.sp-h,.as-h,.ls-h,.rd-h,.pa-h,.sc-h,.er-h,.dl-h,.ck-h,.mf-h,#title,#tabTitle,.brand b,.h2,.ls-big,#sumH{font-family:var(--f-title);font-variant-numeric:lining-nums;letter-spacing:0}
.sp-h,.as-h,.rd-h,.pa-h,.sc-h,.er-h,.dl-h,.ck-h,.mf-h{font-size:1.45rem;font-weight:700}
.ls-h{font-weight:700}
#countH,.sp-count,.ls-clock,.chip{font-variant-numeric:lining-nums tabular-nums}

/* The tile of the page beside its title: the course's colour of the exercise, an icon, rounded. */
.sp-h::before,.as-h::before,.rd-h::before,.ls-h::before,.pa-h::before,.sc-h::before,.er-h::before,.dl-h::before,.ck-h::before,.mf-h::before{
  content:"";display:inline-block;width:36px;height:36px;margin-right:12px;vertical-align:-9px;border-radius:11px;
  background:color-mix(in srgb,var(--hue) 15%,var(--window)) no-repeat center/22px;pointer-events:none}
.ls-h::before{width:30px;height:30px;vertical-align:-6px;background-size:19px}
.rd-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a78d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5C5.5 4 8.5 4 12 6c3.5-2 6.5-2 9-.5V19c-2.5-1.5-5.5-1.5-9 .5-3.5-2-6.5-2-9-.5Z'/%3E%3Cpath d='M12 6v13.5'/%3E%3C/svg%3E")}
.sp-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23168f64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19l4-12 4 12'/%3E%3Cpath d='M5.5 15h5'/%3E%3Cpath d='M14 19h6'/%3E%3Cpath d='M15 9.5c0-1.4 1.1-2.5 2.5-2.5S20 8.1 20 9.5 18.9 12 17.5 12H15V7'/%3E%3C/svg%3E")}
.as-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4561f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Cpath d='M4 14h3v6H5a1 1 0 0 1-1-1Z'/%3E%3Cpath d='M20 14h-3v6h2a1 1 0 0 0 1-1Z'/%3E%3C/svg%3E")}
.ls-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5821a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18'/%3E%3Cpath d='M4 4v10a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V4'/%3E%3Cpath d='M12 15v4'/%3E%3Cpath d='M9 21l3-2 3 2'/%3E%3Cpath d='M8 9l2 2 4-4'/%3E%3C/svg%3E")}
.pa-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b97d00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15a3 3 0 0 0 3-3V6a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Z'/%3E%3Cpath d='M6 11.5a6 6 0 0 0 12 0'/%3E%3Cpath d='M12 17.5V21'/%3E%3C/svg%3E")}
.sc-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2547f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16Z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E")}
.er-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c43534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66'/%3E%3Cpath d='M20 4v4h-4'/%3E%3Cpath d='M9.5 9.5l5 5'/%3E%3Cpath d='M14.5 9.5l-5 5'/%3E%3C/svg%3E")}
.dl-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236250d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h10a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H9l-4 3v-3H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M19 9h1a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-1v3l-4-3h-2'/%3E%3C/svg%3E")}
.ck-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6a7d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a3.5 3.5 0 0 0 5 0l3-3a3.5 3.5 0 0 0-5-5l-1 1'/%3E%3Cpath d='M14 10a3.5 3.5 0 0 0-5 0l-3 3a3.5 3.5 0 0 0 5 5l1-1'/%3E%3C/svg%3E")}

.mf-h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h11a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8 4h11a2 2 0 0 1 2 2v9'/%3E%3C/svg%3E")}
.mf .top{padding-bottom:12px;border-bottom:1px solid var(--rule-2)}

/* Small labels in sentence case: capitals everywhere read as forms and warnings (Duolingo, 2026). The second line, the
   labels the audit of 7 November, evening, found still in capitals: Listen's legend, Speak's clock, card, twist, summary
   and table, the summaries of Write and of the mixed review. */
.eyebrow,.fld > span,.sp-sum h3,.as-sum h3,.rd-sum h3,.sp-letters .lbl{text-transform:none;letter-spacing:0}
.fld > legend,.pa-clock .lbl,.pa-card dt,.pa-twist b,.pa-sum h3,.pa-table th,.sc-sum h3,.er-sum h3{text-transform:none;letter-spacing:0}
.fld > legend,.pa-card dt,.pa-table th{font-size:var(--t-sm);font-weight:600;color:var(--ink-2)}
.pa-sum h3,.sc-sum h3,.er-sum h3{font-size:var(--t-md);font-weight:650;color:var(--ink-2)}
.pa-clock .lbl{font-size:var(--t-sm)}
.pa-twist b{font-size:var(--t-sm)}
.eyebrow{font-size:var(--t-sm);font-weight:650;color:var(--ink-2)}
.fld > span{font-size:var(--t-sm);font-weight:600;color:var(--ink-2)}
.sp-sum h3,.as-sum h3,.rd-sum h3{font-size:var(--t-md);font-weight:650;color:var(--ink-2)}
/* The counter of the round reads as a title: it is where the eye goes back at every word (Alberto, 7 November). */
#countH{font:700 1.15rem/1.2 var(--f-title);color:var(--ink);font-variant-numeric:lining-nums}
/* Small print a little bigger and darker: the screen is shared, and Ismara sees it smaller. */
.fine{font-size:var(--t-sm);color:var(--ink-2)}

/* ---------- i pulsanti: pillole che si lasciano premere ---------- */
.btn{border-radius:999px;border-width:1.5px;border-color:var(--rule);box-shadow:0 2px 0 var(--rule);transition:transform .08s ease,box-shadow .08s ease,background-color .15s,border-color .15s}
.btn:hover:not(:disabled){border-color:color-mix(in srgb,var(--act) 45%,var(--rule))}
.btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 0 0 var(--rule)}
.btn:disabled{box-shadow:none}
/* An action that can't be pressed yet: grey, its words readable, in both themes (the collaudo of 7 November: a pale orange with
   white words, nearly unreadable in the dark). */
.btn-blue:disabled{background:color-mix(in srgb,var(--ink) 14%,var(--window));border-color:transparent;color:var(--ink-2);box-shadow:none;opacity:1}
/* The one action of the moment: warm, with its darker edge. */
.btn-blue{background:var(--act);border-color:var(--act);color:var(--on-act);box-shadow:0 3px 0 var(--act-edge)}
.btn-blue:hover:not(:disabled){border-color:var(--act-edge);background:color-mix(in srgb,var(--act) 92%,#000)}
.btn-blue:active:not(:disabled){box-shadow:0 0 0 var(--act-edge)}
.btn-quiet,.btn-quiet:disabled{box-shadow:none}
.btn-quiet:hover:not(:disabled){border-color:var(--rule)}
.langs{border-color:var(--rule)}
.langs button[aria-pressed="true"]{background:var(--ink);color:var(--window)}
.field{border-radius:10px;border-color:var(--rule)}
.field:focus{border-color:var(--act);box-shadow:0 0 0 3px var(--act-wash)}
:focus-visible{outline-color:var(--focus)}
/* The fields too have the outline of every other stop of the keyboard: the pages take it away from them (outline:none), and the
   thin border with its light halo was all that was left, 1.15:1 (the review of 20 November, A11Y-06). Their border stays. */
.field:focus-visible,.sp-answer:focus-visible,.er-answer:focus-visible,.sc-answer:focus-visible,.sc-field:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* What a field shows before it is written: the browser's grey was 3.6:1 on the dark card (A11Y-11). */
::placeholder{color:var(--ink-3)}
.chip{border-radius:999px}

/* ---------- il giro: avanzamento, riscontro ---------- */
/* The progress of the round in the bar that stays at the top (spelling.html, ascolta-scegli.html: --p from 0 to 1). */
.tm-prog{display:block;flex:1 1 160px;max-width:420px;height:12px;border-radius:999px;background:color-mix(in srgb,var(--hue) 16%,var(--window));overflow:hidden;pointer-events:none}
.tm-prog > i{display:block;height:100%;width:calc(var(--p,0) * 100%);border-radius:inherit;background:var(--hue);transition:width .3s ease}
.tm-n{font:700 var(--t-md)/1 var(--f-ui);font-variant-numeric:lining-nums tabular-nums;color:var(--ink-2);white-space:nowrap}

/* The answer in the dictation: the student's ink, rounder. Next under it, on the right, where Check is. */
.sp-answer{border-radius:var(--r);border-color:var(--rule)}
.sp-answer:focus{border-color:var(--act);box-shadow:0 0 0 3px var(--act-wash)}
.sp-next{justify-content:flex-end}

/* The feedback: a band in the colour of the answer, with its sign; the explanations stay as they are (Codex, 7 November). */
.sp-feedback,.as-feedback{border-radius:var(--r);border:1.5px solid var(--rule)}
.sp-feedback:has(> .sp-head.ok){background:color-mix(in srgb,var(--green) 8%,var(--window));border-color:color-mix(in srgb,var(--green) 35%,var(--window))}
.sp-feedback:has(> .sp-head.bad){background:color-mix(in srgb,var(--red) 6%,var(--window));border-color:color-mix(in srgb,var(--red) 28%,var(--window))}
/* The line stays a line of text: «It was <b>sit</b>: you chose <b>seat</b>.» A flex line would make each word and each piece of
   text a box of its own, apart, with a gap before the colon (the collaudo of 7 November). The sign goes in front, inline. */
.sp-head,.as-head{font-family:var(--f-title);font-weight:700}
.sp-head.ok::before,.as-head.ok::before,.sp-head.bad::before,.as-head.bad::before{
  display:inline-grid;place-items:center;width:26px;height:26px;margin-right:10px;vertical-align:-6px;border-radius:50%;color:#fff;font:700 15px/1 var(--f-ui);pointer-events:none}
/* The sign in the ink that goes on its colour: white on the green and the red of the light theme, dark on the light ones of the
   dark theme (the review of 20 November, R8-05: white there, 2:1). */
.sp-head.ok::before,.as-head.ok::before{content:"✓";background:var(--green);color:var(--on-green,#fff)}
.sp-head.bad::before,.as-head.bad::before{content:"↺";background:var(--red);color:var(--on-red)}

/* ---------- la fine: le cifre in grande, un piccolo festeggiamento ---------- */
.sp-sum,.as-sum,.rd-sum{border-radius:var(--r-lg);border-color:var(--rule);background:var(--raise)}
#sumH{font-size:1.5rem;font-weight:700;display:flex;align-items:center;gap:10px}
#sumH::before{content:"";flex:none;width:34px;height:34px;border-radius:50%;pointer-events:none;
  background:var(--act-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17.75l-6.17 3.24l1.18-6.87l-5-4.86l6.9-1l3.08-6.25l3.08 6.25l6.9 1l-5 4.86l1.18 6.87z'/%3E%3C/svg%3E") no-repeat center/20px}
.sp-counts .chip,.rd-counts .chip{padding:6px 14px;font-size:var(--t-md)}
@media (prefers-reduced-motion:no-preference){
  #sumH::before{animation:tm-pop .45s cubic-bezier(.34,1.56,.64,1) both}
  .sp-head::before,.as-head::before{animation:tm-pop .3s cubic-bezier(.34,1.56,.64,1) both}
}
@keyframes tm-pop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}

/* ---------- «What next», in fondo al riepilogo (dopo-esercizio.js) ---------- */
.nx{display:grid;gap:8px;padding:14px 16px;border:1.5px solid color-mix(in srgb,var(--act) 25%,var(--rule));border-radius:var(--r-lg);background:var(--window)}
.nx h3{margin:0;font:700 1.1rem/1.2 var(--f-title)}
.nx .row{gap:8px}
.nx-corso{padding:10px 14px;border-radius:var(--r);background:var(--act-wash);color:var(--ink);font-weight:600}
.nx-course{text-decoration:none}

/* ---------- l'esportazione per la memoria della lezione, ripiegata nelle schede di «Today's lesson» ---------- */
.mem-fold > summary{cursor:pointer;width:max-content;max-width:100%;font-size:var(--t-sm);font-weight:600;color:var(--ink-2)}
.mem-fold[open] > summary{margin-bottom:8px}
/* The export is no longer the thing to do at the end (Alberto's note 3): its box without the accent of before, its buttons plain
   (the collaudo, 7 November: in «Listen and choose» «Copy the results» was the only orange button of the summary). */
.sp-mem,.as-mem,.rd-mem{border-left-color:var(--rule)}

/* ---------- the blue of before: only the student's ink keeps it ---------- */
/* What the student writes and says stays in blue ink (the dictation's answer and gaps, what Speak understood, the mixed
   review's answer): a pen of his own, apart from the warm action. The accents that were blue go warm, or take the colour of
   the page (the audit of 7 November, evening). */
.co .chip[aria-pressed="true"]{border-color:color-mix(in srgb,var(--act) 55%,var(--rule));background:var(--act-wash);color:var(--act-ink)}
.after{background:var(--raise);border:1.5px solid var(--rule)}
/* The numbers of a step's instructions: the page's colour, light, never the action's (the collaudo of 7 November). */
.ls-list li::before{background:color-mix(in srgb,var(--hue) 22%,var(--window));color:var(--ink)}
.pa-focus{border-left-color:var(--act);background:var(--act-wash)}
.pa-card{border-left-color:var(--hue)}
/* Every box to tick, in a dark neutral: not the browser's blue (the student's ink), not the action's orange (the collaudo of
   7 November: in Listen and choose Ismara's ticks were blue). */
input[type="checkbox"],input[type="radio"]{accent-color:var(--ink-2)}
.er-dots i.now{background:var(--hue)}
.er-choice:hover:not(:disabled){border-color:color-mix(in srgb,var(--act) 45%,var(--rule))}
.er-choice[aria-pressed="true"]{border-color:var(--act);background:var(--act-wash);color:var(--act-ink)}
.sp-option{color:var(--ink)}

/* ---------- «Today's lesson» ---------- */
/* One orange at a time: the orange is what is pressed. The numbers of the wrap-up, who leads the step and the step one is at
   take the lesson's gold, light, or the ink (the collaudo of 7 November, evening: the step in a full orange pill beside «Next»,
   and «Ismara leads» in the action's colour, read as three buttons). */
.ls-wnum{background:color-mix(in srgb,var(--hue) 22%,var(--window));color:var(--ink)}
.ls-who{color:var(--ink-2)}
.ls-phases li[aria-current="step"]{background:color-mix(in srgb,var(--hue) 20%,var(--window));color:var(--ink);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--hue) 70%,var(--ink))}

@media (prefers-reduced-motion:reduce){
  .btn,.tm-prog > i{transition:none}
  .btn:active:not(:disabled){transform:none}
}

/* Il tablet (W2, 26 novembre): il dito al posto del mouse. I comandi alti almeno 44 px, come chiede Apple per l'iPad (40 i
   piccoli); i campi in lettere da 16 px, perche' sotto Safari ingrandisce la pagina quando ci si tocca dentro; il doppio
   tocco che non ingrandisce sui pulsanti e sulle parole. Solo con la classe «tablet» che tablet.js mette su <html>: sul
   computer non cambia niente. */
html.tablet .btn{min-height:44px}
html.tablet .btn-sm{min-height:40px}
html.tablet .tab{min-height:44px}
html.tablet .langs button{min-height:36px;min-width:40px}
html.tablet input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),html.tablet select,html.tablet textarea{font-size:max(16px,1em)}
html.tablet input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),html.tablet select{min-height:44px}
html.tablet input[type="checkbox"],html.tablet input[type="radio"]{width:22px;height:22px}
html.tablet button,html.tablet a,html.tablet label,html.tablet select,html.tablet [role="button"],html.tablet [role="tab"],html.tablet .w,html.tablet .kw{touch-action:manipulation}
/* What the independent test measured still small (chips to tap, «By hand», the answers of Dialogues, the table of Progress), and
   the keys of a keyboard the iPad doesn't have. */
html.tablet button.chip,html.tablet .chips button{min-height:40px}
html.tablet label.check{min-height:40px;display:inline-flex;align-items:center}
html.tablet textarea{min-height:44px}
html.tablet details>summary{padding-block:10px}
html.tablet .as-keys,html.tablet .sp-keys,html.tablet .sc-keys,html.tablet .as-option kbd{display:none}
