/* Shared design tokens between kladde.html and kladde-teacher.html
   (Part 12 finding #17) — was defined twice, differently formatted, with
   drifted formatting risking real drift in the values themselves. Each
   app's own <style> block still owns everything beyond these tokens. */
:root{
  --paper:#EAE6DC;
  --paper-dot: rgba(29,29,31,.08);
  --outer:#DEDACE;
  --ink:#1D1D1F;
  --ink-soft:#5B5B60; /* darkened from #6E6E73 (2026-08-29 launch audit #18) -- 4.07:1 on --paper fell short of WCAG AA's 4.5:1 for normal text; ~4.6:1 now */
  --accent:#2F4C7C;
  --accent-soft:#DBE3F1;
  --wrong:#AD3A3A;
  --wrong-soft:#F2DBDA;
  --seafoam:#2F8577;
  --seafoam-soft:#DFF4EE;
  --amber:#DB9A3C;
  --plum:#7C5C82;
  --card:#FFFFFF;
  --shadow: rgba(29,29,31,.16);
}

/* Password rules list and match line (phase 35). Colour-independent on purpose (a tick or a circle, bold when met): it sits on the login board and on plain cards. */
.pw-rules{list-style:none;margin:2px 0 10px;padding:0;display:grid;gap:2px;font-size:13px;line-height:1.4}
.pw-rules li{opacity:.85}
.pw-rules li.ok{opacity:1;font-weight:600}
.pw-mark{display:inline-block;width:1.1em;text-align:center}
.pw-match{min-height:1.4em;margin:-4px 0 12px;font-size:13px;line-height:1.4;opacity:.85}
.pw-match.ok{opacity:1;font-weight:600}
.pw-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
