/* AImixE Word List — app.css
   The colour codes are the old app's own, copied verbatim from aimixe-app/shared/studio/studio/style.py:
   lines 39–63 (the sign-in sky), lines 71–72 ("Easy on the eyes", dark as :root, light under [data-theme=light]). */
:root{--sky-night-1:#121126;--sky-night-2:#08080F;--sky-day-1:#F7F5FF;--sky-day-2:#EEEAF9;--sky-day-3:#E6E0F5;
--sky-ink:#ECEBF7;--sky-soft:rgba(236,235,247,.62);--sky-sub:rgba(236,235,247,.55);--sky-faint:rgba(236,235,247,.52);
--sky-amber:#EBA53F;--sky-lavender:#B3B0F5;
--sky-star:#ECEBF7;--sky-star-near:#E4E2FB;--sky-near-glow:0 0 .3em rgba(179,176,245,.6),0 0 .7em rgba(179,176,245,.3);
--sky-ping:#D9D7FB;--sky-ping-glow:0 0 .6em #B3B0F5;
--sky-trail-0:rgba(179,176,245,0);--sky-trail:rgba(179,176,245,.55);--sky-head:#FFFFFF;
--sky-trail-glow:drop-shadow(0 0 4px rgba(146,148,232,.8));--sky-head-glow:drop-shadow(0 0 6px #B3B0F5);
--sky-panel:#0F0E1C;--sky-panel-line:rgba(179,176,245,.14);--sky-panel-shadow:0 30px 100px -30px rgba(0,0,0,.9),0 0 0 1px rgba(0,0,0,.4);
--sky-field:#15142A;--sky-field-line:#2A2848;--sky-field-on:#15142A;--sky-focus:#9294E8;--sky-ring:rgba(146,148,232,.15);
--sky-note:#1B1A33;--sky-note-ink:#D9D7FB;--sky-code:rgba(236,235,247,.08);
--sky-go:#ECEBF7;--sky-go-ink:#12112A;--sky-go-hover:#FFFFFF;--sky-go-glow:0 0 40px -6px rgba(179,176,245,.7);
--sky-ok:#4DB6AB;--sky-ok-ink:#07120F;
--sky-bad:#F2A38F;--sky-bad-bg:rgba(242,163,143,.12);--sky-bad-line:#F2A38F;
--sky-btn:rgba(15,14,28,.6);--sky-btn-line:rgba(179,176,245,.2);--sky-btn-ink:#ECEBF7}
:root[data-theme=light]{--sky-ink:#1C1A26;--sky-soft:rgba(28,26,38,.64);--sky-sub:rgba(28,26,38,.68);--sky-faint:rgba(28,26,38,.66);
--sky-amber:#8A4F00;--sky-lavender:#6D69C9;
--sky-star:#2D2850;--sky-star-near:#3B3690;--sky-near-glow:none;--sky-ping:#4B44B8;--sky-ping-glow:none;
--sky-trail-0:rgba(109,105,201,0);--sky-trail:rgba(109,105,201,.5);--sky-head:#4B44B8;
--sky-trail-glow:none;--sky-head-glow:drop-shadow(0 0 5px rgba(109,105,201,.6));
--sky-panel:#FFFFFF;--sky-panel-line:rgba(45,40,80,.08);--sky-panel-shadow:0 30px 80px -30px rgba(60,50,120,.32);
--sky-field:#F5F3FC;--sky-field-line:#E2DEF2;--sky-field-on:#FFFFFF;--sky-focus:#6D69C9;--sky-ring:rgba(109,105,201,.14);
--sky-note:#F1EEFB;--sky-note-ink:#2D2850;--sky-code:rgba(45,40,80,.07);
--sky-go:#1C1A26;--sky-go-ink:#F6F2EA;--sky-go-hover:#2D2850;--sky-go-glow:0 12px 30px -12px rgba(45,40,80,.55);
--sky-bad:#A33A22;--sky-bad-bg:#FBE5DE;
--sky-btn:rgba(255,255,255,.75);--sky-btn-line:rgba(45,40,80,.14);--sky-btn-ink:#2D2850}
:root{--ground:#1F1E1C;--panel:#262522;--panel-2:#2A2926;--tile:#282724;--inset:#222120;--side:#1C1B19;--ink:#D8D3C9;--ink-2:#C4BEB3;--muted:#A39D92;--faint:#99938A;--rule:#36342F;--rule-2:#3D3A35;--row:#2B2A27;--accent:#94AFC9;--accent-ink:#BFD0E1;--accent-soft:#2A3340;--accent-line:#4E6178;--on-accent:#1A1F26;--teal:#A3BF8F;--teal-ink:#C6D9B8;--teal-soft:#2A3326;--teal-line:#55684A;--bar:#94AFC9;--bar-soft:#2C3542;--notice-bg:#2E2A21;--notice-line:#5A4E33;--notice-ink:#E6D9BC;--h-F0B45A:#94AFC9;--h-F7CB85:#BFD0E1;--brand-hi:#B3C6D9;--brand:#94AFC9;--brand-lo:#7895B3;--brand-ink:#1A1F26;--brand-white:#FFFFFF;--brand-paper:#F1F4F7;--brand-line:#C3D0DD;--brand-dark:#25303C;--brand-deep:#5F7B98;--brand-glow:rgba(148,175,201,.30)}
:root[data-theme=light]{--ground:#ECE9E2;--panel:#F4F2ED;--panel-2:#F0EDE7;--tile:#F4F2ED;--inset:#E8E5DE;--side:#E6E3DB;--ink:#2E2C29;--ink-2:#45423D;--muted:#5F5A52;--faint:#6A655C;--rule:#D6D1C7;--rule-2:#CDC7BC;--row:#E9E5DD;--accent:#4F6A85;--accent-ink:#3B5168;--accent-soft:#DFE5EC;--accent-line:#AEBDCD;--on-accent:#F7F5F0;--teal:#557447;--teal-ink:#405A35;--teal-soft:#E0E7D8;--teal-line:#B0C2A3;--bar:#4F6A85;--bar-soft:#D9E0E8;--notice-bg:#F0E7D5;--notice-line:#D9C7A2;--notice-ink:#57452A;--h-F0B45A:#4F6A85;--h-F7CB85:#3B5168;--brand-hi:#6A859F;--brand:#4F6A85;--brand-lo:#3E566E;--brand-ink:#F7F5F0;--brand-white:#FFFFFF;--brand-paper:#F4F2ED;--brand-line:#AEBDCD;--brand-dark:#2A3A4A;--brand-deep:#3B5168;--brand-glow:rgba(79,106,133,.28)}
:root{--paper:var(--ground);--line:var(--rule);--line2:var(--row);--accent-tint:var(--accent-soft);
--violet:#6B5BA8;--pick:#9A5A00;--pick-ink:var(--notice-ink);--pick-tint:var(--notice-bg);--miss:#A33A22;--miss-tint:#FBE5DE;
--sans:"IBM Plex Sans",system-ui,sans-serif;--form:"Gentium Plus",Georgia,serif;--mono:"IBM Plex Mono",ui-monospace,monospace}
:root[data-theme=light]{--violet:#6B5BA8;--pick:#9A5A00;--miss:#A33A22;--miss-tint:#FBE5DE}
:root:not([data-theme=light]){--violet:#A99BDA;--pick:#E0A64C;--miss:#D97A66;--miss-tint:#3B2420}
html{color-scheme:dark}:root[data-theme=light]{color-scheme:light}
[hidden]{display:none !important}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.45}
a{color:var(--accent)}a:hover{color:var(--accent-ink)}
.form{font-family:var(--form)}
/* the light/dark button shows the sun in dark and the moon in light */
.theme-toggle .when-light{display:none}.theme-toggle .when-dark{display:inline-flex}
:root[data-theme=light] .theme-toggle .when-light{display:inline-flex}:root[data-theme=light] .theme-toggle .when-dark{display:none}

/* the frame: one sidebar, one one-line top bar; widths are flex rules so a phone stacks */
.app{display:flex;flex-wrap:wrap;min-height:100vh}
.side{flex:1 1 240px;max-width:250px;background:var(--side);border-right:1px solid var(--rule);box-sizing:border-box;padding:16px 12px;display:flex;flex-direction:column;gap:10px}
.main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column}
/* the top bar stays at the top while the page scrolls: the list's numbers, Find a word and Stop are always in reach */
.main>[data-part=bar]{position:sticky;top:0;z-index:30;box-shadow:0 1px 0 var(--rule),0 6px 14px -12px rgba(0,0,0,.35)}
.content [id],.runlog,.card.plan{scroll-margin-top:96px}
.content{width:100%;box-sizing:border-box;padding:24px 28px 48px;display:flex;flex-direction:column;gap:22px}
/* the corner: the old app's mark (the tile, its serif A and the spark), the name in the old serif, "Language Studio" under it */
@font-face{font-family:"AImixE Serif";font-weight:500 600;font-display:swap;src:url(/static/fonts/fraunces-latin-1.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"AImixE Serif";font-weight:500 600;font-display:swap;src:url(/static/fonts/fraunces-latin-ext-0.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+A720-A7FF}
@font-face{font-family:"AImixE Mono";font-weight:400;font-display:swap;src:url(/static/fonts/ibm-plex-mono-latin-3.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:"AImixE Mono";font-weight:400;font-display:swap;src:url(/static/fonts/ibm-plex-mono-latin-ext-2.woff2) format("woff2");unicode-range:U+0100-02BA,U+1E00-1E9F}
:root{--serif:"AImixE Serif","Fraunces",Georgia,serif}
.brand{display:flex;align-items:center;gap:12px;padding:6px 8px;text-decoration:none;color:var(--ink)}
.brand .nm{display:flex;flex-direction:column;min-width:0}
.brand b{font:600 20px/1.05 var(--serif);letter-spacing:-.01em}
.brand small{margin-top:3px;font:10px "AImixE Mono","IBM Plex Mono",ui-monospace,monospace;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.brand .spk{filter:drop-shadow(0 4px 10px var(--brand-glow))}
/* the corner and New language stay at the top while the page scrolls, like the top bar; the rest of the sidebar
   scrolls with the page, so there is no second scrollbar (docs/mockups/pages/SidebarScroll.html, option 1) */
.sidehead{display:flex;flex-direction:column;gap:10px}
@media (min-width:721px){
  .sidehead{position:sticky;top:0;z-index:5;margin:-16px -12px 0;padding:16px 12px 10px;background:var(--side);box-shadow:0 8px 10px -10px rgba(0,0,0,.25)}
}
.spk-still *{animation:none!important}
/* The AImixE mark (logo animation v2, 2026-09-30): the spark shows what the tool is doing. */
.spk{overflow:visible;flex-shrink:0}
/* ---- the emblem: one A, one spark, and a scene per moment */
.spk-mode{opacity:0;transform:scale(.88);filter:blur(4px);transform-origin:112px 112px;
  transition:opacity .4s ease,transform .7s cubic-bezier(.3,1.35,.5,1),filter .4s ease}
.spk-idle .spk-m-idle,.spk-names .spk-m-names,.spk-searching .spk-m-searching,.spk-listening .spk-m-listening,
.spk-reading .spk-m-reading,.spk-analysing .spk-m-analysing,.spk-writing .spk-m-writing,.spk-complete .spk-m-complete{opacity:1;transform:none;filter:none}
.spk-mono{transition:opacity .5s ease,transform .6s cubic-bezier(.3,1.3,.5,1);transform-origin:112px 110px}
.spk-working .spk-mono{opacity:.1;transform:scale(.82) translateY(-6px)}
.spk-rest{transition:opacity .35s ease;transform-box:fill-box;transform-origin:center}
.spk-names .spk-rest,.spk-searching .spk-rest,.spk-reading .spk-rest,.spk-analysing .spk-rest,.spk-writing .spk-rest{opacity:0}
.spk-idle .spk-rest{animation:spk-breathe-spark 3.4s ease-in-out infinite}
.spk-listening .spk-rest{animation:spk-beat .6s ease-in-out infinite alternate}
.spk-complete .spk-rest{animation:spk-land 1s cubic-bezier(.3,0,.35,1) both}
.spk-fill-box{transform-box:fill-box;transform-origin:center}

/* idle */
.spk-halo{transform-origin:112px 110px;animation:spk-halo 3.4s ease-in-out infinite}

/* finding names: the scripts turn around the spark, and each is found in turn */
.spk-ring{transform-origin:112px 112px;animation:spk-spin 18s linear infinite}
.spk-ring text{transform-box:fill-box;transform-origin:center;animation:spk-spin 18s linear infinite reverse}
.spk-found{animation:spk-found 3.5s ease-in-out infinite;animation-delay:var(--d)}
.spk-core{animation:spk-beat 1.2s ease-in-out infinite alternate}

/* searching: a beam from the spark; a source pings as the beam reaches it */
.spk-beam{transform-origin:112px 112px;animation:spk-spin 2.4s linear infinite}
.spk-src{opacity:.18;animation:spk-src 2.4s ease-out infinite;animation-delay:var(--d)}

.spk-sonar{transform-origin:112px 112px;opacity:0;animation:spk-sonar 2.4s ease-out infinite}
/* listening */
.spk-bar{animation:spk-eq var(--t) ease-in-out infinite alternate;animation-delay:var(--d)}

/* reading: the spark is the cursor; a line in the language turns dark, one in another language fades */
.spk-cursor{offset-path:path('M72 72H152L72 88H152L72 104H146L72 120H152L72 136H128');offset-rotate:0deg;animation:spk-cursor 4.6s linear infinite}
.spk-hl{stroke-dasharray:100;stroke-dashoffset:100;animation:var(--k) 4.6s linear infinite}
.spk-other{animation:spk-other 4.6s linear infinite}

.spk-tick{opacity:0;animation:var(--k) 4.6s ease-out infinite;transform-box:fill-box;transform-origin:center}
/* measuring */
.spk-col{transform-box:fill-box;transform-origin:50% 100%;animation:spk-grow 4.4s cubic-bezier(.3,1.2,.5,1) infinite;animation-delay:var(--d)}
.spk-trend{stroke-dasharray:100;stroke-dashoffset:100;animation:spk-trend 4.4s ease-in-out infinite}
.spk-hopper{animation:spk-hop 4.4s ease-in-out infinite}

/* writing: the spark is the pen, each line in turn */
.spk-ink{stroke-dasharray:100;stroke-dashoffset:100;animation:var(--k) 4.8s linear infinite}
.spk-pen{offset-rotate:0deg;opacity:0;animation:var(--k) 4.8s linear infinite}

/* done */
.spk-burst{transform-box:fill-box;transform-origin:center;animation:spk-burst 1s ease-out .45s both}
.spk-mini{opacity:0;animation:spk-mini 1.1s cubic-bezier(.2,.7,.3,1) .5s both}


@keyframes spk-spin{to{transform:rotate(360deg)}}
@keyframes spk-halo{0%,100%{opacity:.25;transform:scale(.96)}50%{opacity:.8;transform:scale(1.03)}}
@keyframes spk-breathe-spark{0%,100%{transform:scale(.9)}50%{transform:scale(1.12) rotate(22deg)}}
@keyframes spk-beat{from{transform:scale(.88)}to{transform:scale(1.15)}}
@keyframes spk-land{0%{transform:translateY(-90px) rotate(-270deg) scale(.4);opacity:0}55%{transform:translateY(0) rotate(0) scale(1.35,.75);opacity:1}72%{transform:translateY(-6px) scale(.92,1.1)}88%{transform:scale(1.05,.95)}100%{transform:none}}
@keyframes spk-found{0%,70%,100%{opacity:.32;fill:var(--brand-ink)}8%,22%{opacity:1;fill:var(--brand-white)}}
@keyframes spk-src{0%{opacity:1;r:5.5}35%{opacity:.7;r:3.4}100%{opacity:.18;r:3}}
@keyframes spk-sonar{0%{transform:scale(.4);opacity:.7}100%{transform:scale(6.6);opacity:0}}
@keyframes spk-eq{from{transform:scaleY(.25)}to{transform:scaleY(1)}}
@keyframes spk-cursor{0%{offset-distance:0%;opacity:0}3%{opacity:1}85%{offset-distance:100%;opacity:1}90%,100%{offset-distance:100%;opacity:0}}
@keyframes spk-r1{0%{stroke-dashoffset:100}9.9%,94%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-r2{0%,19.9%{stroke-dashoffset:100}29.8%,94%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-r3{0%,39.8%{stroke-dashoffset:100}48.9%,94%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-r4{0%,58.2%{stroke-dashoffset:100}68.1%{stroke-dashoffset:0;opacity:1}78%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-r5{0%,78.1%{stroke-dashoffset:100}85%,94%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-t1{0%,9.9%{opacity:0;transform:scale(.4)}13%,94%{opacity:1;transform:none}100%{opacity:0}}
@keyframes spk-t2{0%,29.8%{opacity:0;transform:scale(.4)}33%,94%{opacity:1;transform:none}100%{opacity:0}}
@keyframes spk-t3{0%,48.9%{opacity:0;transform:scale(.4)}52%,94%{opacity:1;transform:none}100%{opacity:0}}
@keyframes spk-t4{0%,68.1%{opacity:0;transform:scale(.4)}71%{opacity:1;transform:none}78%,100%{opacity:.25;transform:none}}
@keyframes spk-t5{0%,85%{opacity:0;transform:scale(.4)}88%,94%{opacity:1;transform:none}100%{opacity:0}}
@keyframes spk-other{0%,68%{opacity:1}78%,100%{opacity:.18}}
@keyframes spk-grow{0%,4%{transform:scaleY(0)}24%,86%{transform:scaleY(1)}96%,100%{transform:scaleY(0)}}
@keyframes spk-trend{0%,30%{stroke-dashoffset:100}78%,86%{stroke-dashoffset:0;opacity:.55}96%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-hop{0%,28%{transform:translate(77px,98px);opacity:0}30%{transform:translate(77px,98px);opacity:1}
  36%{transform:translate(87px,64px)}42%{transform:translate(97px,74px)}48%{transform:translate(107px,62px)}54%{transform:translate(117px,86px)}
  60%{transform:translate(127px,48px)}66%{transform:translate(137px,58px)}72%{transform:translate(147px,48px)}78%,86%{transform:translate(157px,80px);opacity:1}
  94%,100%{transform:translate(157px,80px);opacity:0}}
@keyframes spk-w1{0%,4%{stroke-dashoffset:100}30%,92%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-w2{0%,34%{stroke-dashoffset:100}58%,92%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-w3{0%,62%{stroke-dashoffset:100}82%,92%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes spk-p1{0%,3%{offset-distance:0%;opacity:0}4%{opacity:1}30%{offset-distance:100%;opacity:1}32%,100%{offset-distance:100%;opacity:0}}
@keyframes spk-p2{0%,33%{offset-distance:0%;opacity:0}34%{opacity:1}58%{offset-distance:100%;opacity:1}60%,100%{offset-distance:100%;opacity:0}}
@keyframes spk-p3{0%,61%{offset-distance:0%;opacity:0}62%{opacity:1}82%{offset-distance:100%;opacity:1}86%,100%{offset-distance:100%;opacity:0}}
@keyframes spk-burst{from{transform:scale(.3);opacity:.8}to{transform:scale(3.4);opacity:0}}
@keyframes spk-mini{0%{transform:translate(0,0) scale(.3) rotate(0);opacity:0}20%{opacity:1}100%{transform:translate(var(--x),var(--y)) scale(1) rotate(180deg);opacity:0}}

@media (prefers-reduced-motion:reduce){.spk *{animation:none !important;transition:none !important}.spk .spk-hl,.spk .spk-ink,.spk .spk-trend{stroke-dashoffset:0}.spk .spk-col{transform:none}.spk .spk-src{opacity:.8}.spk .spk-cursor,.spk .spk-pen,.spk .spk-hopper,.spk .spk-mini{opacity:0}}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border-radius:8px;border:0;background:var(--accent);color:var(--on-accent);font:inherit;font-weight:500;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn2{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border-radius:8px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font:inherit;font-size:14px;cursor:pointer;text-decoration:none}
.btn2.bad{color:var(--miss)}
.side nav{display:flex;flex-direction:column;gap:2px}
.side .menu{display:none}
.nav{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;text-decoration:none;color:var(--ink)}
.nav[aria-current=page]{background:var(--accent-soft);font-weight:500}
.nav.soon{color:var(--faint)}.nav svg{color:var(--muted)}.nav[aria-current=page] svg{color:var(--accent)}
.nt{display:flex;flex-direction:column;min-width:0}.what{color:var(--muted);font-size:12px;font-weight:400}
.sect{padding:12px 10px 4px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.av{display:inline-flex;width:30px;height:30px;border-radius:15px;background:var(--accent-soft);color:var(--accent-ink);align-items:center;justify-content:center;font-weight:600;flex-shrink:0}
.name{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px;padding:10px 28px;background:var(--panel);border-bottom:1px solid var(--rule)}
.bar .lang{display:flex;flex-direction:column;gap:2px}.bar .lang b{font-weight:600;font-size:17px}.bar .lang small{color:var(--muted);font-weight:400;font-size:14px}
.bar .lang .what{display:flex;flex-wrap:wrap;gap:10px;font-size:13px}
.prog{flex:1 1 220px;max-width:380px;display:flex;flex-direction:column;gap:6px}
.track{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--miss-tint)}
.seg.filled{background:var(--accent)}.seg.pick{background:var(--pick)}
.seg.notyet{background:repeating-linear-gradient(-45deg,var(--accent) 0 4px,var(--accent-soft) 4px 8px)}
/* the list bar while a Collect run goes: the missing part moves; at the end the new words glow, then settle */
.bar .prog .track{position:relative;transition:height .3s ease}
.bar .prog a.track{cursor:pointer}.bar .prog a.track:hover{box-shadow:0 0 0 2px var(--accent-line)}
.bar .prog a.track:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.bar .counts a{color:inherit;text-decoration:none;border-radius:4px}.bar .counts a:hover{color:var(--ink);text-decoration:underline}
.bar .counts a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.bar .prog .seg{transition:width 1.4s cubic-bezier(.2,.7,.2,1),background-color 1.2s ease,box-shadow 1.2s ease}
.bar .prog .seg.new{width:0;background:var(--teal);box-shadow:0 0 10px 2px rgba(85,116,71,.55)}
.bar .prog .seg.miss{flex:1 1 auto}
.bar .prog.running .track{height:12px}
.bar .prog.running .seg.miss{background-image:repeating-linear-gradient(-45deg,rgba(154,90,0,.24) 0 8px,transparent 8px 16px);background-size:22.6px 22.6px;animation:stripes .9s linear infinite}
@keyframes stripes{to{background-position:22.6px 0}}
.bar .prog .doneline{display:none;align-items:center;gap:8px;font-size:14px;color:var(--teal-ink);font-weight:500;white-space:nowrap}
.bar .prog .doneline .tick{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:9px;background:var(--teal);color:var(--on-accent);font-size:11px}
.bar .prog .doneline a{color:inherit}.bar .prog .doneline.bad{color:var(--miss)}.bar .prog .doneline.bad .tick{background:var(--miss)}
.bar .prog.ended .counts{display:none}.bar .prog.ended .doneline{display:flex}
@media (prefers-reduced-motion:reduce){.bar .prog .seg,.bar .prog .track{transition:none}.bar .prog.running .seg.miss{animation:none}}
.counts{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted)}.counts b{color:var(--ink);font-weight:600}
/* what the app does in the background, at the right of the top bar (AddLanguageDictionary.html, D) */
.bgjobs{position:relative;margin-right:8px}
.bgjobs>summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px 0 10px;border-radius:999px;border:1px solid var(--accent-line);background:var(--accent-soft);color:var(--accent-ink);font-size:13.5px;font-weight:500;cursor:pointer;white-space:nowrap;box-sizing:border-box}
.bgjobs>summary::-webkit-details-marker{display:none}
.bgjobs.ask>summary{border-color:var(--pick);background:var(--amber);color:var(--pick)}
.bgjobs.done>summary{border-color:var(--teal);background:var(--teal-soft);color:var(--teal-ink)}
.bgjobs.failed>summary{border-color:var(--miss);background:var(--miss-soft, #FBE5DE);color:var(--miss)}
.bgjobs>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.bgjobs .chev{font-size:12px;opacity:.7}
.bgjobs .spin{width:15px;height:15px;border-radius:8px;border:2px solid var(--accent-line);border-top-color:var(--accent-ink);animation:bgspin 1s linear infinite;box-sizing:border-box}
@keyframes bgspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.bgjobs .spin{animation:none}}
.bgjobs .mini{display:inline-block;width:56px;height:5px;border-radius:3px;background:var(--card);overflow:hidden}.bgjobs .mini i{display:block;height:100%;background:var(--accent)}
.bgmenu{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(420px,92vw);padding:12px 14px;background:var(--panel);border:1px solid var(--rule);border-radius:12px;box-shadow:0 18px 40px -18px rgba(0,0,0,.45);white-space:normal}
.bgmenu h4{margin:2px 0 6px;font-size:15px}
.bgmenu ol.bgsteps{list-style:none;margin:0 0 6px;padding:0;width:100%;max-width:none}
.bgmenu ol.bgsteps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 10px;padding:8px 0;border-top:1px solid var(--row)}.bgmenu ol.bgsteps li:first-child{border-top:0}
.bgmenu .dot{width:24px;height:24px;border-radius:12px;display:grid;place-items:center;font-size:12px;font-weight:700;background:var(--inset);color:var(--muted)}
.bgmenu li.done .dot{background:var(--teal);color:#fff}.bgmenu li.going .dot{background:var(--accent);color:var(--on-accent)}
.bgmenu b{display:block;font-weight:600}.bgmenu .small{display:block}
.bgmenu .job{padding:8px 0;border-top:1px solid var(--row);display:flex;flex-direction:column;gap:4px}.bgmenu .job:first-of-type{border-top:0}
.bgmenu .job.failed b{color:var(--miss)}.bgmenu .job.done b{color:var(--teal-ink)}
.bgmenu .bar{display:block;height:6px;border-radius:3px;background:var(--inset);overflow:hidden}.bgmenu .bar i{display:block;height:100%;background:var(--accent)}
.bgmenu .btn2{align-self:flex-start}
.bgmenu .q{padding:10px 0;border-top:1px solid var(--row);display:flex;flex-direction:column;gap:6px}
.bgmenu .q .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bgmenu .q .btn,.bgmenu .q .btn2{min-height:32px;font-size:13.5px}
.bgmenu .inp{min-height:32px;padding:0 10px;border:1px solid var(--rule);border-radius:8px;background:var(--card);font:inherit;font-size:13.5px;color:var(--ink);width:210px}
.bgmenu .hits{display:flex;flex-wrap:wrap;gap:6px}
.bgmenu .hits button{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--accent-line);background:var(--accent-soft);color:var(--accent-ink);font:inherit;font-size:13px;cursor:pointer}
.bgmenu ol.bgsteps li>span{min-width:0;overflow-wrap:anywhere}
.bgmenu .choose{display:flex;align-items:center;gap:8px;margin-top:4px}
.bgmenu select{min-height:32px;padding:0 30px 0 10px;border:1px solid var(--rule);border-radius:8px;background:var(--card);font:inherit;font-size:13.5px;color:var(--ink);cursor:pointer;appearance:none;-webkit-appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;background-size:5px 5px;background-repeat:no-repeat}
.bgmenu select:hover{border-color:var(--accent-line)}.bgmenu select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
/* the signed-in person, at the right of the top bar, opening a small menu */
.who{position:relative}
.who>summary{list-style:none;display:inline-flex;align-items:center;gap:10px;padding:4px 12px 4px 4px;border:1px solid var(--rule);border-radius:999px;background:var(--panel);cursor:pointer;min-height:40px;box-sizing:border-box}
.who>summary::-webkit-details-marker{display:none}
.who>summary:hover,.who[open]>summary{border-color:var(--accent)}
.who>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.who .nt{display:flex;flex-direction:column;line-height:1.15;min-width:0}.who .nt b{font-weight:600;font-size:14px;white-space:nowrap}
.who .nt .what{font-size:12px;color:var(--muted);white-space:nowrap}.who .chev{color:var(--muted);font-size:12px}
.whomenu{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:270px;padding:8px;background:var(--panel);border:1px solid var(--rule);border-radius:12px;box-shadow:0 18px 40px -18px rgba(0,0,0,.45);display:flex;flex-direction:column}
.whomenu .me{display:flex;gap:10px;align-items:center;padding:8px 8px 12px;border-bottom:1px solid var(--row);margin-bottom:6px}
.whomenu .me .nt b{white-space:normal}
.whomenu form{margin:0}
.whomenu .mi{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 10px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;text-align:left;text-decoration:none;cursor:pointer;box-sizing:border-box}
.whomenu .mi:hover,.whomenu .mi:focus-visible{background:var(--accent-soft);outline:none}
.whomenu .sep{height:1px;background:var(--row);margin:6px 4px}
.whomenu .mi .two{display:flex;flex-direction:column;line-height:1.25;padding:6px 0}.whomenu .mi .two small{font-size:12px;color:var(--muted)}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--rule);margin:6px 0 16px}
.tabs .tab{padding:9px 14px;border-bottom:2px solid transparent;color:var(--muted);text-decoration:none;font-size:15px;margin-bottom:-1px}
.tabs .tab:hover{color:var(--ink)}.tabs .tab.on{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
.modes2{margin-left:auto;display:inline-flex;border:1px solid var(--rule);border-radius:999px;padding:2px}
.modes2 span{padding:2px 9px;border-radius:999px;font-size:12.5px;color:var(--muted)}
:root:not([data-theme=light]) .modes2 .d,:root[data-theme=light] .modes2 .l{background:var(--ink);color:var(--ground)}
.grow{flex-grow:1}.chip{padding:7px 12px;border:1px solid var(--rule);border-radius:999px;font-size:14px;white-space:nowrap}
.findbtn{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid var(--rule);border-radius:999px;background:var(--panel);color:var(--muted);box-sizing:border-box}
.findbtn:hover{color:var(--ink);border-color:var(--accent)}.findbtn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* Stop this run, in the top bar: a round red button beside Find a word; while it stops, the same button, dimmed */
.stopbtn{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--miss);border-radius:999px;background:var(--miss-tint);color:var(--miss);cursor:pointer;box-sizing:border-box}
.stopbtn:hover{background:var(--miss);color:var(--on-accent)}.stopbtn:focus-visible{outline:2px solid var(--miss);outline-offset:2px}
.stopbtn[disabled],.stopbtn.stopping{opacity:.55;cursor:default;background:var(--miss-tint);color:var(--miss)}
.stopbtn.stopping svg{animation:pulse 1.4s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.stopbtn.stopping svg{animation:none}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.card{background:var(--panel);border:1px solid var(--rule);border-radius:10px}
.content h1{font-size:26px;font-weight:600;letter-spacing:-.01em;margin:0 0 4px}
.content .lead{color:var(--muted);margin:0}
.small{color:var(--muted);font-size:13px}
@media (max-width:720px){
  .app{align-content:flex-start}
  .side{flex:0 0 auto;max-width:none;border-right:0;border-bottom:1px solid var(--rule)}
  .side .menu{display:inline-flex;align-self:flex-start;position:static;width:auto;z-index:auto;padding:0 14px;box-shadow:none;flex-direction:row}
  .side nav,.side .newlang{display:none}
  .side.open nav{display:flex}.side.open .newlang{display:inline-flex}
  .who>summary .nt,.who>summary .chev{display:none}.who>summary{padding:3px}
  .bar,.content{padding-left:16px;padding-right:16px}
}

/* Start */
.langs{display:flex;flex-direction:column;gap:10px;max-width:720px}
.langrow{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:14px 18px;text-decoration:none;color:var(--ink)}
.langrow b{font-weight:600}.langrow small{color:var(--muted);font-weight:400}
.langrow.add{justify-content:center;gap:8px;border-style:dashed;color:var(--accent);font-weight:500}
.minibar{width:90px;height:8px;border-radius:4px;background:var(--miss-tint);overflow:hidden;display:flex;flex-shrink:0}
.minibar span{display:block;height:8px;background:var(--accent)}
/* Waiting for you */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.tile{display:flex;flex-direction:column;gap:4px;padding:18px 20px;text-decoration:none;color:var(--ink)}
.tile .big{font-size:30px;font-weight:600;line-height:1}
/* not open to you */
.noaccess{max-width:640px;margin:24px auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}
.noaccess .lead{font-size:17px;max-width:520px}
.lockmark{display:inline-flex;width:88px;height:88px;border-radius:44px;background:var(--miss-tint);align-items:center;justify-content:center}
.openlist{width:100%;box-sizing:border-box;padding:12px 18px 14px;text-align:left}
.openrow{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--ink)}
.openrow:hover{background:var(--accent-soft)}
/* Authorization */
.auth{display:flex;flex-direction:column;gap:22px}
.cols{display:flex;flex-wrap:wrap;gap:22px;align-items:flex-start}
.people{flex:1 1 340px;max-width:520px;overflow:hidden}
.people .head{display:flex;align-items:center;gap:10px;padding:12px 16px;font-weight:600}
.people .head input{margin-left:auto;min-height:36px;width:170px;padding:0 10px;border:1px solid var(--rule);border-radius:8px;font:inherit;background:var(--panel);color:var(--ink)}
.people .foot{padding:10px 16px;border-top:1px solid var(--rule)}
.prow{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--row);text-decoration:none;color:var(--ink)}
.prow.on{background:var(--inset)}
.prow .av{width:34px;height:34px;border-radius:17px}
.av.boss{background:var(--ink);color:var(--ground)}.av.warm{background:var(--notice-bg);color:var(--notice-ink)}
.av.big{width:40px;height:40px;border-radius:20px;font-size:17px}
.prow .who{display:flex;flex-direction:column;gap:2px;min-width:0;flex-grow:1}
.whohead{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.whohead b{font-weight:500}
.prow .may{font-size:13px}
.prow .chip,.chip.warm{padding:2px 9px;border:0;background:var(--accent-soft);color:var(--accent-ink);font-size:12px;font-weight:500}
.chip.warm{background:var(--notice-bg);color:var(--notice-ink)}
.tiny{color:var(--muted);font-size:12px}
.person{flex:1 1 420px;min-width:0;padding:18px 22px;display:flex;flex-direction:column;gap:6px}
.person .hd{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.person .pname{font-weight:600;font-size:18px}
.person .acts{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.once{margin-top:8px;padding:12px 14px;background:var(--notice-bg);border-radius:8px;font-size:13px;color:var(--notice-ink);display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline}
.once b{font-family:var(--form);font-size:18px;color:var(--ink);font-weight:400}
.from{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:10px;font-size:14px;color:var(--muted)}
.from label{display:flex;align-items:center;gap:8px}
.from select{min-height:38px;padding:0 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);font:inherit;color:var(--ink)}
.grp{padding:14px 0 6px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.perm{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--row)}
.perm .t{display:flex;flex-direction:column;flex-grow:1;min-width:0}.perm .t b{font-weight:500}
.sw{position:relative;flex-shrink:0;width:44px;height:24px;border-radius:12px;border:0;background:var(--rule);cursor:pointer}
.sw[aria-checked=true]{background:var(--accent)}.sw[disabled]{opacity:.55;cursor:not-allowed}
.sw i{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:left .15s}
.sw[aria-checked=true] i{left:22px}
.said{min-height:20px;font-size:13px;color:var(--miss)}
.log{padding:16px 20px;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px;align-items:center}
.strong{font-weight:600}.grow-right{margin-left:auto}
.foot2{display:flex;flex-wrap:wrap;gap:8px 24px}
dialog{border:1px solid var(--rule);border-radius:12px;background:var(--panel);color:var(--ink);padding:22px;max-width:460px;width:calc(100% - 32px)}
dialog::backdrop{background:rgba(0,0,0,.35)}
dialog h2{margin:0 0 14px;font-size:20px}
dialog label{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;font-size:14px}
dialog label.box{display:inline-flex;flex-direction:row;gap:6px;align-items:center;margin:0 12px 6px 0}
dialog input,dialog select{min-height:42px;padding:0 12px;border:1px solid var(--rule);border-radius:8px;font:inherit;background:var(--panel);color:var(--ink)}
dialog .boxes{margin:0 0 14px}.dlgacts{display:flex;gap:8px;justify-content:flex-end}

/* The sign-in sky painted with the app's own colours (Easy on the eyes), so the two screens are one app.
   Dark: the ground and panel tones, stars in the ink, the accent where the sky had lavender, teal where it had amber. */
:root{--sky-night-1:var(--panel);--sky-night-2:var(--ground);
--sky-ink:var(--ink);--sky-soft:rgba(216,211,201,.72);--sky-sub:rgba(216,211,201,.64);--sky-faint:rgba(216,211,201,.56);
--sky-amber:var(--teal);--sky-lavender:var(--accent);
--sky-star:var(--ink);--sky-star-near:var(--accent-ink);--sky-near-glow:0 0 .3em rgba(148,175,201,.6),0 0 .7em rgba(148,175,201,.3);
--sky-ping:var(--accent-ink);--sky-ping-glow:0 0 .6em var(--accent);
--sky-trail-0:rgba(148,175,201,0);--sky-trail:rgba(148,175,201,.55);--sky-head:#FFFFFF;
--sky-trail-glow:drop-shadow(0 0 4px rgba(148,175,201,.8));--sky-head-glow:drop-shadow(0 0 6px var(--accent));
--sky-panel:var(--panel);--sky-panel-line:var(--rule);--sky-panel-shadow:0 30px 100px -30px rgba(0,0,0,.8),0 0 0 1px rgba(0,0,0,.35);
--sky-field:var(--inset);--sky-field-line:var(--rule-2);--sky-field-on:var(--inset);--sky-focus:var(--accent);--sky-ring:rgba(148,175,201,.18);
--sky-note:var(--notice-bg);--sky-note-ink:var(--notice-ink);--sky-code:rgba(216,211,201,.1);
--sky-go:var(--accent);--sky-go-ink:var(--on-accent);--sky-go-hover:var(--accent-ink);--sky-go-glow:0 0 40px -6px rgba(148,175,201,.6);
--sky-ok:var(--teal);--sky-ok-ink:var(--on-accent);
--sky-bad:var(--miss);--sky-bad-bg:var(--miss-tint);--sky-bad-line:var(--miss);
--sky-btn:rgba(38,37,34,.7);--sky-btn-line:var(--rule-2);--sky-btn-ink:var(--ink)}
:root[data-theme=light]{--sky-day-1:var(--panel);--sky-day-2:var(--ground);--sky-day-3:var(--inset);
--sky-ink:var(--ink);--sky-soft:rgba(46,44,41,.72);--sky-sub:rgba(46,44,41,.7);--sky-faint:rgba(46,44,41,.66);
--sky-amber:var(--teal);--sky-lavender:var(--accent);
--sky-star:var(--ink-2);--sky-star-near:var(--accent);--sky-near-glow:none;--sky-ping:var(--accent-ink);--sky-ping-glow:none;
--sky-trail-0:rgba(79,106,133,0);--sky-trail:rgba(79,106,133,.5);--sky-head:var(--accent-ink);
--sky-trail-glow:none;--sky-head-glow:drop-shadow(0 0 5px rgba(79,106,133,.6));
--sky-panel:var(--panel);--sky-panel-line:var(--rule);--sky-panel-shadow:0 30px 80px -30px rgba(46,44,41,.3);
--sky-field:var(--inset);--sky-field-line:var(--rule);--sky-field-on:var(--panel);--sky-focus:var(--accent);--sky-ring:rgba(79,106,133,.16);
--sky-note:var(--notice-bg);--sky-note-ink:var(--notice-ink);--sky-code:rgba(46,44,41,.07);
--sky-go:var(--accent);--sky-go-ink:var(--on-accent);--sky-go-hover:var(--accent-ink);--sky-go-glow:0 12px 30px -12px rgba(79,106,133,.55);
--sky-ok:var(--teal);--sky-ok-ink:var(--on-accent);
--sky-bad:var(--miss);--sky-bad-bg:var(--miss-tint);
--sky-btn:rgba(244,242,237,.8);--sky-btn-line:var(--rule);--sky-btn-ink:var(--ink)}

/* Languages: tiles */
.languages{display:flex;flex-direction:column;gap:28px}
.languages .tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.tile{position:relative;display:flex;flex-direction:column;gap:12px;min-height:200px;padding:22px;background:var(--panel);border:1px solid var(--rule);border-radius:14px;box-sizing:border-box}
.tile.lang{padding:0}.tile.lang .tbody{display:flex;flex-direction:column;gap:14px;flex-grow:1;padding:22px;text-decoration:none;color:var(--ink);border-radius:14px}
.tile.lang .tbody:hover{background:var(--inset)}
.thead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.tile.lang:has(.dots) .thead{padding-right:40px}
.tcode{font-size:34px;line-height:1;color:var(--accent)}
.tname{display:flex;flex-direction:column;gap:2px}.tname b{font-size:20px;font-weight:600}
.tfoot{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.tcounts{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.tcounts b{color:var(--ink);font-weight:600}
.chip.soft{padding:3px 10px;border:0;background:var(--accent-soft);color:var(--accent-ink);font-size:12px;font-weight:500}
.chip.grey{padding:3px 10px;border:0;background:var(--inset);color:var(--muted);font-size:12px;font-weight:500}
.dots{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:18px;border:1px solid var(--rule);background:var(--panel);color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.tile.add{align-items:center;justify-content:center;gap:10px;border:1px dashed var(--faint);background:transparent;color:var(--accent);font:inherit;font-weight:500;font-size:16px;cursor:pointer}
.tile.list{min-height:0;gap:6px}.tile.list .tname{font-size:17px;font-weight:600}.tile.list .used{color:var(--accent)}
.lists-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}
.lists-head h2{margin:0;font-size:20px;font-weight:600}
.retired summary{cursor:pointer}.rrows{display:flex;flex-direction:column;gap:4px;padding:8px 0 0 16px}
.notice{padding:12px 16px;border-left:3px solid var(--pick);background:var(--notice-bg);color:var(--notice-ink);border-radius:0 8px 8px 0;font-size:14px}
.menu{position:fixed;z-index:20;width:220px;padding:8px;background:var(--panel);border:1px solid var(--rule);border-radius:12px;box-shadow:0 16px 40px -20px rgba(0,0,0,.4);display:flex;flex-direction:column;gap:2px}
.menu [role=menuitem]{display:block;padding:10px 12px;border:0;border-radius:8px;background:none;text-align:left;font:inherit;color:var(--ink);text-decoration:none;cursor:pointer}
.menu [role=menuitem]:hover{background:var(--inset)}.menu .bad{color:var(--miss)}
.read{padding:12px 14px;border-left:3px solid var(--teal);background:var(--teal-soft);border-radius:0 8px 8px 0;font-size:14px;margin:0 0 12px}
dialog input.mono{font-family:var(--mono);font-size:13px}
/* the language lookup in Add a language: its list may hang out of the dialog; every other dialog scrolls when it is
   taller than the window */
dialog[data-dialog=language]{overflow:visible}dialog form{position:relative}
.matches{position:absolute;left:0;right:0;z-index:5;margin:-8px 0 0;list-style:none;padding:4px;border:1px solid var(--rule);border-radius:10px;background:var(--panel);box-shadow:0 16px 40px -16px rgba(0,0,0,.45);max-height:260px;overflow:auto}
.matches li{padding:8px 10px;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.matches li[aria-selected=true]{background:var(--accent-soft)}
.matches .mc{font-family:var(--form);color:var(--accent);margin-right:8px}
.matches .dpill,.dpill{display:inline-block;margin-left:8px;padding:0 8px;border-radius:999px;background:var(--teal-soft);color:var(--teal-ink);font-size:12.5px;font-weight:500}
.picked{padding:10px 12px;border-left:3px solid var(--teal);background:var(--teal-soft);border-radius:0 8px 8px 0;font-size:14px;margin:0 0 12px}
.own summary{cursor:pointer;margin:0 0 10px}

/* The list */
.listpage{display:flex;flex-direction:column;gap:20px}
.lhead{display:flex;flex-direction:column;gap:2px}.lhead h1{margin:0}.lhead .lead{margin:0}
.fillline .acts .btn,.fillline .acts .btn2{white-space:nowrap}
.switch select{min-height:36px;padding:0 10px;border:1px solid var(--rule);border-radius:6px;background:var(--panel);font:inherit;color:var(--ink)}
.fillline{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding:12px 18px;border-radius:0 8px 8px 0;font-size:14px}
.fillline.notice{border-left:3px solid var(--pick);background:var(--notice-bg);color:var(--notice-ink)}
.fillline.done{border-left:3px solid var(--teal);background:var(--teal-soft)}
.fillline.running{border-left:3px solid var(--pick);background:var(--notice-bg)}
.fillline .dot{width:10px;height:10px;border-radius:5px;background:var(--pick);flex-shrink:0}
.fillline .acts{margin-left:auto;display:flex;gap:8px;align-items:center}
.fillline .btn{min-height:36px;font-size:14px}
.fillline .againline{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding-top:10px;border-top:1px solid var(--amber-line, var(--rule))}
.fillline .againline .linkbtn{background:none;border:0;padding:0;color:var(--accent);text-decoration:underline;font:inherit;cursor:pointer}
.domains{flex:1 1 260px;max-width:320px;overflow:hidden}
.domains .head{padding:12px 16px;border-bottom:1px solid var(--rule);display:flex;justify-content:space-between;align-items:center}
.dom{display:flex;flex-direction:column;gap:6px;padding:9px 16px;text-decoration:none;color:var(--ink)}
.dom.on{background:var(--accent-soft)}.dom.all{color:var(--accent);font-size:14px}
.dom .dl{display:flex;justify-content:space-between;gap:10px}.dom .dl>span:last-child{white-space:nowrap;flex-shrink:0}.dom .bad{color:var(--miss)}
.mini{display:block;height:4px;border-radius:2px;background:var(--inset)}.mini span{display:block;height:4px;border-radius:2px;background:var(--accent)}
.words{flex:999 1 520px;min-width:0;overflow:hidden}
.words .head{padding:12px 16px;border-bottom:1px solid var(--rule);display:flex;align-items:center;gap:12px}.head.wrap{flex-wrap:wrap}
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.filters select,.filters input{min-height:36px;padding:0 10px;border:1px solid var(--rule);border-radius:6px;background:var(--panel);font:inherit;color:var(--ink)}
.filters input{width:150px}
.scroll{overflow-x:auto}
.wt{width:100%;min-width:600px;border-collapse:collapse;font-size:15px}
.wt th{font-weight:500;color:var(--muted);font-size:13px;text-align:left;padding:10px 12px}
.wt td{padding:12px 12px;border-top:1px solid var(--row);vertical-align:middle}
.wt .num{width:44px;padding-left:16px;color:var(--muted)}.wt .right{text-align:right;padding-right:16px}
.wt tr.missing td{background:var(--miss-tint)}
.wt .en{color:var(--ink);text-decoration:none;font-weight:500}
.wt .fl{font-size:17px}.wt .none{color:var(--miss);font-style:italic}
.st{display:inline-block;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap}
.st.filled{background:var(--accent-soft);color:var(--accent-ink)}.st.pick{background:var(--notice-bg);color:var(--notice-ink)}
.st.miss{background:var(--miss-tint);color:var(--miss)}.st.checked{background:var(--teal-soft);color:var(--teal-ink)}
.words .foot{padding:12px 16px;border-top:1px solid var(--rule);display:flex;justify-content:space-between;align-items:center}

/* Collect (checkpoint 5), as the board draws it */
.collectpage{display:flex;flex-direction:column;gap:20px;max-width:1180px}
.collectpage .card{padding:22px 24px;border-radius:14px}
.collectpage .eyebrow{display:block;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.collectpage h2{margin:0;font-size:20px}
.collectpage .acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.collectpage .btn.big{min-height:48px;padding:0 20px;font-size:16px;font-weight:600;border-radius:10px}
.collectpage .btn2.wide{justify-content:center;min-height:44px;border-radius:10px}
.collectpage .grow{flex:1}.collectpage .nowrap{white-space:nowrap}.collectpage .center{text-align:center}.collectpage .right{text-align:right}
.collectpage .soft{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:8px;background:var(--accent-soft);color:var(--accent-ink);text-decoration:none;font-weight:500;font-size:14px}
/* the plan card (design A): what to press · what a run does · Basic / Extended */
.card.plan{padding:0!important;overflow:hidden}
.card.plan .top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.card.plan .say{padding:26px 30px 26px;display:flex;flex-direction:column;gap:10px;min-width:0}
.card.plan .eyebrow.acc{color:var(--accent-ink);letter-spacing:.08em}
.card.plan h2{font-family:var(--form);font-size:30px;font-weight:700;line-height:1.15;text-wrap:balance}
.card.plan .sub{margin:0 0 10px;color:var(--muted);max-width:54ch}
.card.plan .path{padding:24px 26px;background:var(--inset);border-left:1px solid var(--rule);min-width:0}
.card.plan .path ol{list-style:none;margin:12px 0 0;padding:0}
.card.plan .path ol>li{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;padding:7px 0}
.card.plan .path ol>li::before{content:"";position:absolute;left:13px;top:34px;bottom:-8px;width:2px;background:var(--rule)}
.card.plan .path ol>li:last-child::before{display:none}
.card.plan .path .dot{width:28px;height:28px;border-radius:14px;background:var(--accent-soft);color:var(--accent-ink);border:1px solid var(--accent-line);box-sizing:border-box;display:grid;place-items:center;font-weight:600;font-size:13px;z-index:1}
.card.plan .path ol>li.warm .dot{background:var(--notice-bg);color:var(--pick);border-color:var(--notice-line)}
.card.plan .path ol>li.off .dot{background:transparent;color:var(--muted);border-style:dashed;border-color:var(--rule-2)}
.card.plan .path ol>li.off b{color:var(--muted)}
.card.plan .path .nt{display:flex;flex-direction:column;gap:1px;min-width:0}
.card.plan .foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 30px;border-top:1px solid var(--rule);background:var(--panel-2)}
.modes{display:inline-flex;padding:3px;border:1px solid var(--rule);border-radius:999px;background:var(--panel)}
.modes button{min-height:32px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-weight:500;cursor:pointer}
.modes button[aria-pressed=true]{background:var(--ink);color:var(--ground)}
.card.plan .ext{display:flex;flex-direction:column;gap:18px;padding:22px 30px 24px;border-top:1px solid var(--rule)}
.card.plan .pgrp{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px 20px}
.card.plan .pgrp>.eyebrow{grid-column:1/-1}.card.plan .pgrp.one{grid-template-columns:minmax(0,1fr)}
.card.plan .popt{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--rule);border-radius:12px;background:var(--panel);min-width:0}
.card.plan .popt .nt{display:flex;flex-direction:column;gap:2px;min-width:0}
.card.plan .popt .sw{margin-top:1px}
.card.plan .popt.dim>.sw,.card.plan .popt.dim b{opacity:.55}
.card.plan .popt:has([aria-checked=true]),.card.plan .popt.pick:has(input:checked){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.card.plan .popt.pick{cursor:pointer}.card.plan .popt.pick input{width:18px;height:18px;margin:3px 0 0;accent-color:var(--accent);flex-shrink:0}
.card.plan .chips{display:flex;flex-wrap:wrap;gap:8px}
.chip.place{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;font-size:13.5px;background:var(--panel)}
.chip.place i{width:8px;height:8px;border-radius:4px;flex-shrink:0;box-sizing:border-box}
.chip.place.answered i{background:var(--teal)}.chip.place.nothing i{background:var(--rule-2)}
.chip.place.new i{border:1.5px solid var(--muted)}.chip.place.signin i{background:var(--pick)}
.chip.place.skipped{opacity:.5;text-decoration:line-through}
.card.plan .legend{display:flex;flex-wrap:wrap;gap:4px 14px}
.card.plan .legend .chip{border:0;padding:0;background:none;font-size:13px;color:var(--muted)}
.card.plan .will{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 16px;border-radius:10px;background:var(--accent-soft);color:var(--accent-ink);font-weight:500}
.card.plan .will .lbl{font-weight:600}.card.plan .will .btn{min-height:42px;padding:0 18px;border-radius:10px;font-weight:600}
@media (max-width:900px){.card.plan .top{grid-template-columns:minmax(0,1fr)}.card.plan .path{border-left:0;border-top:1px solid var(--rule)}
.card.plan .say,.card.plan .path,.card.plan .ext{padding-left:20px;padding-right:20px}.card.plan .foot{padding-left:20px;padding-right:20px}.card.plan h2{font-size:25px}}
.switches{display:flex;flex-direction:column;gap:10px}
.swrow{display:flex;align-items:center;gap:12px}.swrow .nt{display:flex;flex-direction:column}.swrow .lbl{font-weight:500}
/* the same card while a run goes */
.card.plan .eyebrow.run{display:flex;align-items:center;gap:8px;color:var(--notice-ink)}
.card.plan .pulse{width:9px;height:9px;border-radius:5px;background:var(--pick);animation:pulse 1.4s infinite;flex-shrink:0}
@keyframes pulse{50%{opacity:.3}}
.card.plan.live .now{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding-top:16px;border-top:1px solid var(--rule)}
.card.plan .path.rings ol>li{grid-template-columns:36px minmax(0,1fr)}
.card.plan .path.rings ol>li::before{left:17px;top:42px}
.card.plan .path.rings .dot{position:relative;width:36px;height:36px;border-radius:18px;border:0;background:transparent;color:var(--ink)}
.card.plan .path.rings .dot .n{position:relative;z-index:1}
.card.plan .path.rings .ring{position:absolute;inset:0;width:36px;height:36px;transform:rotate(-90deg)}
.card.plan .path.rings .ring circle{fill:none;stroke-width:3.5}
.card.plan .path.rings .ring .track{stroke:var(--rule);fill:var(--panel)}
.card.plan .path.rings .ring .bar{stroke:var(--accent);stroke-linecap:round;transition:stroke-dasharray .6s ease}
.card.plan .path.rings .ring .spin{stroke:var(--pick);stroke-linecap:round;opacity:0;transform-origin:18px 18px}
.card.plan .path.rings ol>li.running .ring .bar{stroke:var(--pick)}
.card.plan .path.rings ol>li.running .ring .track{stroke:var(--notice-line);fill:var(--notice-bg)}
.card.plan .path.rings ol>li.running .ring .spin{opacity:.45;animation:circling 1.6s linear infinite}
.card.plan .path.rings ol>li.running .dot{color:var(--notice-ink)}
@keyframes circling{to{transform:rotate(360deg)}}
.card.plan .path.rings ol>li.done .ring .bar{stroke:var(--teal)}.card.plan .path.rings ol>li.done .ring .track{fill:var(--teal);stroke:var(--teal)}
.card.plan .path.rings ol>li.done .dot{color:var(--on-accent)}.card.plan .path.rings ol>li.done::before{background:var(--teal)}
.card.plan .path.rings ol>li.failed .ring .track{fill:var(--miss);stroke:var(--miss)}.card.plan .path.rings ol>li.failed .dot{color:var(--on-accent)}
.card.plan .path.rings ol>li.waiting .dot,.card.plan .path.rings ol>li.off .dot{color:var(--muted)}
.card.plan .path.rings ol>li.waiting b,.card.plan .path.rings ol>li.off b{color:var(--muted)}
.card.plan .path.rings ol>li.running .nt>.small{color:var(--notice-ink)}
.card.plan .path.rings .pct{margin-left:8px;font-weight:500;font-size:13px;color:var(--pick);font-variant-numeric:tabular-nums}
.card.plan .path .chips{margin-top:8px;gap:6px}.card.plan .path .chip.place{font-size:12.5px;padding:2px 9px}
.chip.place.failed i{background:var(--miss)}
.chip.place.asking i{background:var(--pick);animation:pulse 1.4s infinite}
@media (prefers-reduced-motion:reduce){.card.plan .pulse,.chip.place.asking i,.card.plan .path.rings .ring .spin{animation:none}.card.plan .path.rings .ring .bar{transition:none}}
.nowgrid{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;font-size:14px;align-items:baseline}.nowgrid .time{font-variant-numeric:tabular-nums}
.pill.run{display:inline-flex;align-items:center;gap:8px;padding:4px 10px;border-radius:999px;background:var(--notice-bg);color:var(--notice-ink);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.pill.run .dot{width:8px;height:8px;border-radius:4px;background:var(--pick);animation:pulse 1.4s infinite}
/* also on this page */
.alsocard{padding:0!important;overflow:hidden}.alsocard .head{padding:12px 22px 10px;border-bottom:1px solid var(--rule)}
.also summary{display:flex;align-items:center;gap:14px;padding:14px 22px;cursor:pointer;list-style:none;border-bottom:1px solid var(--rule)}
.also summary::-webkit-details-marker{display:none}
.also .ic{width:22px;color:var(--muted);text-align:center;font-size:16px}.also .nt{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.also .count{white-space:nowrap}.also .chev{color:var(--muted)}
.also .body{padding:14px 22px 18px 58px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--rule);background:var(--inset)}
.also textarea,.also input[name=folder]{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit}
.plain{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.plain li{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;overflow-wrap:anywhere}
.plain.folders li{align-items:center}.plain code{font-size:13px}
.runlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.runlist li{display:grid;grid-template-columns:150px 1fr auto 1fr;gap:12px;align-items:center;padding:6px 0;border-bottom:1px solid var(--rule)}
@media (max-width:700px){.runlist li{grid-template-columns:1fr 1fr}}
.justnow{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.justnow li{font-size:14px;padding:4px 0;border-bottom:1px solid var(--rule)}
.ways{display:none}
/* a run's own page (design B): the five steps, each opening on a click · beside them the summary and what to do next */
.runpage.collectpage{max-width:1320px}
.runcols{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:20px;align-items:start}
.card.plan.runsteps .path.rings.wide{background:transparent;border:0;padding:6px 24px 8px}
.card.plan.runsteps .path.rings.wide ol{margin:0}
.card.plan.runsteps .path.rings ol>li{display:block;padding:0;border-bottom:1px solid var(--rule)}
.card.plan.runsteps .path.rings ol>li:last-child{border-bottom:0}
.card.plan.runsteps .path.rings ol>li::before{display:none}
details.step>summary{display:grid;grid-template-columns:36px minmax(0,1fr) auto 14px;gap:14px;align-items:center;padding:14px 0;cursor:pointer;list-style:none}
details.step>summary::-webkit-details-marker,.runsteps .few summary::-webkit-details-marker,.runsteps details.said summary::-webkit-details-marker{display:none}
details.step>summary .nt{display:flex;flex-direction:column;gap:1px;min-width:0}
details.step>summary b{font-size:17px}
details.step>summary .warn{color:var(--miss);font-weight:500}
details.step>summary .took{font-variant-numeric:tabular-nums;white-space:nowrap}
details.step>summary .chev{color:var(--muted);transition:transform .15s}details.step[open]>summary .chev{transform:rotate(90deg)}
.card.plan .path.rings ol>li.note.done .ring .track,.card.plan .path.rings ol>li.note.done .ring .bar{fill:var(--pick);stroke:var(--pick)}
.runsteps .body{padding:0 0 18px 50px;display:flex;flex-direction:column;gap:12px}
.runsteps .body p{margin:0}
.runsteps .asked,.runsteps .did,.runsteps .few ul{list-style:none;margin:0;padding:0;font-size:14px}
.runsteps .asked>li,.runsteps .few ul>li,.runsteps .few summary{display:grid;grid-template-columns:12px minmax(0,15em) minmax(0,1fr);gap:2px 12px;align-items:baseline;overflow-wrap:anywhere}
.runsteps .asked>li:not(.few),.runsteps .few summary,.runsteps .few ul>li{padding:7px 0}
.runsteps .asked>li{border-top:1px solid var(--row)}.runsteps .asked>li.few{display:block}
.runsteps .few summary{cursor:pointer;list-style:none}.runsteps .few ul>li{border-top:1px dashed var(--row);color:var(--muted)}
.runsteps .asked b{font-weight:500}
.runsteps .chip.place{padding:0;border:0;background:none;align-self:center}
.runsteps .show{color:var(--accent);text-decoration:underline;cursor:pointer}.runsteps details[open]>summary .show{visibility:hidden}
.runsteps .did li{display:grid;grid-template-columns:16px minmax(0,auto) minmax(0,1fr);gap:2px 8px;align-items:baseline;padding:4px 0}
.runsteps .did .mark{color:var(--teal)}.runsteps .did li.running .mark{color:var(--pick)}.runsteps .did li.failed .mark{color:var(--miss)}.runsteps .did li.waiting{color:var(--muted)}
.runsteps .notice2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:10px 14px;border-radius:10px;background:var(--miss-tint)}
.runsteps details.said{color:var(--ink-2);min-height:0;font-size:inherit}   /* not the error line's colour: .said is also that */
.runsteps details.said summary{cursor:pointer;list-style:none}.runsteps details.said .loglines{padding:6px 0 0}
.runcols .runside{position:sticky;top:96px;display:flex;flex-direction:column;gap:14px;min-width:0}
.runcols .card.sum{display:flex;flex-direction:column;gap:6px;padding:20px 22px}
.runcols .card.sum h2{font-family:var(--form);font-size:27px;font-weight:700;line-height:1.15;text-wrap:balance}
.runcols .card.sum p{margin:0}
.runcols .card.sum .track{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--miss-tint);margin:8px 0 2px}
.runcols .card.sum .track .one{background:var(--accent)}.runcols .card.sum .track .pick{background:var(--pick)}
.runcols .card.sum .gains{padding-top:8px;margin-top:4px;border-top:1px solid var(--rule)}
.runcols .card.next{display:flex;flex-direction:column;gap:10px;padding:18px 22px}
.runcols .card.next ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.runcols .card.next ul.now{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14px}
.runcols .card.next ul.now li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;overflow-wrap:anywhere}
.runcols .runside>.btn2{align-self:flex-start}
.linkish{display:inline;border:0;background:none;padding:0;margin:0;font:inherit;color:var(--accent);text-decoration:underline;cursor:pointer;text-align:left;white-space:normal}
.runlog{padding:0!important}
.runlog>summary{display:flex;align-items:center;gap:12px;padding:14px 22px;cursor:pointer;list-style:none}
.runlog>summary::-webkit-details-marker,.loglines li.many summary::-webkit-details-marker{display:none}
.runlog>summary .chev{margin-left:auto;color:var(--muted);transition:transform .15s}.runlog[open]>summary .chev{transform:rotate(90deg)}
.loglines{list-style:none;margin:0;padding:0 22px 14px;font-size:14px}
.loglines li{border-top:1px solid var(--row)}
.loglines li,.loglines li.many summary{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:baseline;overflow-wrap:anywhere}
.loglines>li:not(.many),.loglines li.many summary,.loglines li.many ul li{padding:6px 0}
.loglines li.many{display:block}.loglines li.many summary{cursor:pointer;list-style:none}
.loglines li.many .more{color:var(--accent)}.loglines li.many details[open] .more{visibility:hidden}
.loglines li.many ul{list-style:none;margin:0;padding:0}.loglines li.many ul li{color:var(--muted)}
.loglines .time{font-variant-numeric:tabular-nums}
@media (max-width:1100px){.runcols{grid-template-columns:minmax(0,1fr)}.runcols .runside{position:static}}
@media (max-width:620px){.runsteps .body{padding-left:0}.runsteps .asked>li,.runsteps .few ul>li,.runsteps .few summary{grid-template-columns:12px minmax(0,1fr)}.runsteps .asked .small{grid-column:2}}
.collectedpage{display:flex;flex-direction:column;gap:18px}
.collectedpage .card{padding:16px 20px}.collectedpage .head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px}.collectedpage .grow{flex:1}
.collectedpage .more{color:var(--accent);text-decoration:none;font-weight:500}
.items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.items .item{display:grid;grid-template-columns:1fr auto auto;gap:6px 16px;align-items:center;padding:8px 0;border-top:1px solid var(--rule)}
.items .it{display:flex;flex-direction:column;gap:2px;min-width:0}.items .it b{overflow-wrap:anywhere}
.items audio{height:34px;max-width:240px}
.fold summary{display:flex;gap:12px;align-items:baseline;cursor:pointer;list-style:none}.fold summary::-webkit-details-marker{display:none}
.fold[open] summary{margin-bottom:10px}
@media (max-width:700px){.items .item{grid-template-columns:1fr}}
.collectpage .fold{gap:10px}.collectpage .fold summary{display:flex;gap:12px;align-items:baseline;cursor:pointer;list-style:none}
.collectpage .fold summary::-webkit-details-marker{display:none}.collectpage .fold summary::before{content:"›";color:var(--muted);margin-right:4px}
.collectpage .fold[open] summary::before{content:"⌄"}
.collectpage textarea,.collectpage input[name=folder]{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit}
.plain{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.plain li{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;overflow-wrap:anywhere}
.plain.folders li{align-items:center}.plain code{font-size:13px}
/* One word (checkpoint 6), as the board draws it */
.wordpage{display:flex;flex-direction:column;gap:16px;max-width:1440px}
.wordpage .crumb a{color:var(--accent);text-decoration:none}
.wtop{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}.nav2{display:flex;gap:8px;flex-wrap:wrap}
.whead{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px}.whead h1{margin:0}.whead .lead{margin:0}
.wcols{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
@media (max-width:980px){.wcols{grid-template-columns:1fr}}
.wmain,.wside{display:flex;flex-direction:column;gap:18px;min-width:0}
.wordpage .card{padding:18px 22px;display:flex;flex-direction:column;gap:12px}.wordpage h3{margin:0;font-size:15px}
.wordpage .forms{padding:0;gap:0}.wordpage .forms h3.bar{padding:14px 22px;border-bottom:1px solid var(--rule)}.wordpage .forms p{padding:0 22px}
.wordpage .forms form{display:flex;flex-direction:column}
.formrow{display:flex;gap:14px;align-items:flex-start;padding:16px 22px;border-top:1px solid var(--rule);cursor:pointer}
.formrow:first-child{border-top:0}.formrow:has(input:checked){background:var(--accent-soft)}
.formrow input{margin:7px 0 0;width:16px;height:16px;accent-color:var(--accent);flex-shrink:0}
.formrow .nt{display:flex;flex-direction:column;gap:3px;min-width:0}.formrow .form.big{font-size:22px}
.wordpage .row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.wside .card input:not([type=radio]),.wside .card textarea{width:100%;box-sizing:border-box}.wside .row input{flex:1 1 120px;width:auto}
.wordpage input:not([type]),.wordpage textarea{padding:9px 11px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;box-sizing:border-box}
.wordpage input.form{font-family:"Gentium Plus",Gentium,serif;font-size:18px}.wordpage input.wide{flex:1 1 320px;min-width:0}.wordpage input.narrow{width:170px}
.wordpage textarea{width:100%;resize:vertical;margin-top:6px}
.seg{display:flex;gap:8px}.seg label{flex:1;display:flex;justify-content:center;align-items:center;min-height:44px;border:1px solid var(--rule);border-radius:10px;cursor:pointer;font-weight:500;background:var(--panel)}
.seg label:has(input:checked){background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.seg input{position:absolute;opacity:0;pointer-events:none}
.fixedbox{display:flex;flex-direction:column;gap:8px}
.wordpage .btn.wide{width:100%}
.wordpage .acts{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hist li{display:grid;grid-template-columns:84px 1fr;gap:4px 12px;padding:7px 0;border-top:1px solid var(--rule);font-size:14px}.hist li>.small:last-child{grid-column:2}
.content h1:focus{outline:none}
/* Missing words (checkpoint 7), as the board draws it */
/* Missing words: one calm card (MissingWordsRedesign.html, A) */
.missingpage{display:flex;flex-direction:column;gap:14px;max-width:900px;margin:0 auto;width:100%}
.missingpage .mtop{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.grpmenu{position:relative}
.grpmenu>summary{list-style:none;display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0 14px;border:1px solid var(--rule);border-radius:12px;background:var(--panel);cursor:pointer;font-size:14.5px}
.grpmenu>summary::-webkit-details-marker{display:none}
.grpmenu>summary .nm{font-weight:600}.grpmenu>summary .cnt{color:var(--muted);font-size:13px}.grpmenu>summary .chev{color:var(--muted);font-size:12px}
.grpmenu[open]>summary,.grpmenu>summary:hover{border-color:var(--accent)}
.grpmenu .menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:min(440px,86vw);max-height:60vh;overflow:auto;padding:6px;background:var(--panel);border:1px solid var(--rule);border-radius:14px;box-shadow:0 22px 50px -24px rgba(0,0,0,.45);display:flex;flex-direction:column}
.grpmenu .menu .g{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;color:var(--ink);text-decoration:none;font-size:14px}
.grpmenu .menu .g:hover,.grpmenu .menu .g.on{background:var(--accent-soft)}.grpmenu .menu .g .n{margin-left:auto;color:var(--muted);font-size:12.5px;white-space:nowrap}
.grpmenu .menu .g.done{color:var(--muted)}
.missingpage .arrows{display:inline-flex;gap:4px}
.missingpage .arr{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--rule);border-radius:10px;background:var(--panel);color:var(--ink);text-decoration:none;font-size:18px}
.missingpage .arr:hover{border-color:var(--accent)}.missingpage .arr.off{color:var(--rule);background:none}
.overall{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);line-height:1.3}.overall b{color:var(--ink)}
.overall .ring{width:44px;height:44px;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--p)*1%),var(--row) 0);display:grid;place-items:center;flex-shrink:0}
.overall .ring::before{content:"";grid-area:1/1;width:34px;height:34px;border-radius:50%;background:var(--ground)}.overall .ring span{grid-area:1/1;font-size:10.5px;font-weight:600;color:var(--ink)}
.card.ask{position:relative;overflow:hidden;padding:30px 40px 24px;display:flex;flex-direction:column;gap:10px;border-radius:18px;box-shadow:0 22px 50px -38px rgba(40,30,10,.45)}
.card.ask .thin{position:absolute;left:0;right:0;top:0;height:4px;background:var(--row)}.card.ask .thin i{display:block;height:100%;background:var(--teal)}
.card.ask .meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.card.ask .eyebrow{font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.card.ask h1.word{margin:4px 0 2px;font-family:var(--serif);font-weight:600;font-size:clamp(44px,7vw,68px);line-height:1.02;letter-spacing:-.01em}
.lwcline{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.lwcline.has .zh{font-size:24px;font-family:"Noto Serif CJK SC","Source Han Serif SC","Songti SC",serif;color:var(--ink)}
.lwcline .tag{font-size:12px;padding:2px 9px;border-radius:999px;background:var(--row);color:var(--ink-2)}
.lwcline .frame1 .blank{display:inline-block;width:3em;border-bottom:1.5px solid var(--muted);vertical-align:-2px}
.lwcline .gacts{display:inline-flex;gap:6px}.lwcline .gacts button{font:inherit;font-size:12.5px;padding:3px 10px;border-radius:999px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);cursor:pointer}
.lwcline .gacts button:hover{border-color:var(--accent)}
.card.ask .answer{display:flex;align-items:stretch;margin-top:12px;border:1.5px solid var(--accent);border-radius:12px;background:var(--inset);box-shadow:0 0 0 4px var(--accent-soft)}
.card.ask .answer input.form{flex:1;min-width:0;border:0;background:none;padding:14px 16px;font-size:26px;color:var(--ink);outline:none}
.card.ask .answer input.form::placeholder{font-family:var(--sans);font-size:16px;color:var(--faint)}
.card.ask .rec{display:inline-flex;align-items:center;gap:8px;margin:6px;padding:0 14px;border-radius:9px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}
.card.ask .rec .dot{width:10px;height:10px;border-radius:5px;background:var(--miss)}.card.ask .rec.on{border-color:var(--miss)}
.card.ask .rec.on .dot{animation:recpulse 1s ease-in-out infinite}
@keyframes recpulse{50%{opacity:.25;transform:scale(.7)}}
.card.ask .live{display:flex;align-items:center;gap:10px;padding:0 6px}
.card.ask .live .lvl{width:120px;height:8px;border-radius:4px;background:var(--row);overflow:hidden}
.card.ask .live .lvl i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--teal),var(--pick));transition:width .08s linear}
.card.ask .live .clock{font-variant-numeric:tabular-nums;font-size:14px;color:var(--miss);min-width:3.2em}
.takes{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.take{display:inline-flex;align-items:center;gap:8px;padding:4px 6px 4px 4px;border:1px solid var(--rule);border-radius:999px;background:var(--panel)}
.take .play{width:30px;height:30px;border-radius:15px;border:0;background:var(--accent);color:var(--on-accent);font-size:12px;cursor:pointer}
.take .no{border:0;background:none;color:var(--muted);font-size:16px;cursor:pointer;padding:0 4px;border-radius:6px}.take .no:hover{color:var(--ink);background:var(--row)}
.grpmenu .menu .g.rec{border-top:1px solid var(--row);border-radius:0 0 9px 9px;margin-top:2px}
.card.ask.writing .answer{border-color:var(--teal);box-shadow:0 0 0 4px var(--teal-soft)}
.card.ask .under{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.card.ask .under .keep{margin-left:auto}
.card.ask .who input{border:0;border-bottom:1px dashed var(--rule);background:none;color:var(--ink);font:inherit;font-size:13px;padding:2px 2px;width:12em}
.card.ask .places{margin-top:10px}.card.ask .places .h{display:flex;align-items:baseline;gap:10px;margin-bottom:8px}
.hints{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}
.hint{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;border:1px solid var(--accent-soft);background:var(--panel)}
.hint .mk{width:30px;height:30px;border-radius:15px;display:grid;place-items:center;flex-shrink:0;background:var(--accent-soft);color:var(--accent-ink);font-size:14px}
.hint .t{flex:1;min-width:0;display:flex;flex-direction:column}.hint .t .f{font-size:21px;line-height:1.2;overflow-wrap:anywhere}
.hint .t .s{font-size:12.5px;color:var(--muted)}
.hint .t .f .sense{font-family:var(--sans);font-size:11px;color:var(--muted);margin-left:6px;font-weight:400}
.hint .use{border:1px solid var(--accent);color:var(--accent-ink);background:none;border-radius:8px;padding:5px 11px;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.hint .use:hover{background:var(--accent-soft)}
.hint .no{border:0;background:none;color:var(--muted);font-size:18px;cursor:pointer;padding:2px 6px;border-radius:6px}.hint .no:hover{color:var(--ink);background:var(--row)}
.hint.ai{background:var(--notice-bg);border-color:var(--notice-line)}.hint.ai .mk{background:var(--notice-line);color:var(--notice-ink)}.hint.ai .use{border-color:var(--notice-line);color:var(--notice-ink)}
.card.ask .acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding-top:16px;border-top:1px solid var(--row)}
.card.ask .acts .btn kbd{font:11px var(--sans);padding:1px 6px;border-radius:5px;background:rgba(255,255,255,.18);margin-left:4px}
.card.ask .acts .grow{flex:1}.card.ask .skip{color:var(--muted);font-size:14px}
.upnext{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.upnext .w{padding:4px 12px;border-radius:999px;background:var(--panel);border:1px solid var(--rule);font-size:13.5px}.upnext .w i{font-style:normal;font-size:11px;margin-left:5px;color:var(--muted)}
.mfoot a{color:var(--muted)}.sisterline,.glossline{margin:0;color:var(--muted)}
@media (max-width:720px){.card.ask{padding:24px 18px 18px}.card.ask .under .keep{margin-left:0}.overall{display:none}}
.card.ask.done{padding:28px 36px}.card.ask.done h1{margin:0;font-size:26px}
.missingpage .center{text-align:center}
.draftlist{gap:12px}.card.draft{padding:18px 22px;display:flex;flex-direction:column;gap:10px}.card.draft .sent.big{font-size:22px;font-family:"Gentium Plus",Gentium,serif}
.card.draft .seg{max-width:420px}.card.draft .fixedbox{display:flex;gap:8px}.card.draft input.form{flex:1;padding:8px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;font-size:16px}
.gavelist li{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;padding:6px 0;border-top:1px solid var(--rule)}.gavelist a{color:var(--ink);text-decoration:none;font-weight:500}
.missingpage .card h3{margin:0 0 8px;font-size:15px}
/* Sounds and spelling (checkpoint 8) */
.spellpage{display:flex;flex-direction:column;gap:18px;max-width:1400px}
.spellcols{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.spellcols>.card{min-width:0}@media (max-width:1100px){.spellcols{grid-template-columns:1fr}}
.spellcols .sounds .tierrow{grid-template-columns:1fr}.spellcols .sounds .tierrow b{font-size:13px;font-weight:500;color:var(--muted)}
table.letters .why .mine{display:block}
.spellpage .card{padding:18px 22px;display:flex;flex-direction:column;gap:12px}.spellpage h2{margin:0;font-size:18px}
.spellpage .head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.tierrow{display:grid;grid-template-columns:200px 1fr;gap:8px 16px;align-items:start}@media (max-width:700px){.tierrow{grid-template-columns:1fr}}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip.sound{font-family:"Gentium Plus",Gentium,serif;font-size:16px;padding:4px 12px;border:1px solid var(--rule);border-radius:999px;background:var(--panel);color:var(--ink);cursor:pointer}
.chip.sound.on{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.soundwords{padding:12px 16px;border:1px solid var(--rule);border-radius:10px;background:var(--inset)}.soundwords ul{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px}
.soundwords li{display:flex;gap:8px;align-items:baseline}.soundwords a{color:var(--ink);text-decoration:none}
table.letters td.snd,table.letters td.let{white-space:nowrap}table.letters .big{font-size:20px}table.letters tr.open td.let .mark{color:var(--pick)}
table.letters .seg{display:inline-flex;gap:0;flex-wrap:wrap}table.letters .seg label{min-height:34px;padding:0 12px;border-radius:0;font-size:13px;flex:0 0 auto}
table.letters .seg label:first-child{border-radius:8px 0 0 8px}table.letters .seg label:nth-child(3){border-radius:0 8px 8px 0}
table.letters .changebox{display:inline-flex;gap:6px;margin-left:8px}table.letters .changebox input{width:70px;padding:5px 8px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit}
table.trial .big{font-size:18px}
.spellpage .acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.seg.two label{flex:1}
/* Send out (checkpoint 9) */
.sendpage{display:flex;flex-direction:column;gap:18px;max-width:900px}.sendpage .card{padding:18px 22px;display:flex;flex-direction:column;gap:10px}.sendpage h3{margin:0;font-size:15px}
.files li.file{display:flex;align-items:center;gap:14px;padding:10px 0;border-top:1px solid var(--rule)}.files li.file:first-child{border-top:0}.files .nt{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
/* Settings (checkpoint 10) */
.settingspage{display:flex;flex-direction:column;gap:18px;max-width:1100px}.settingspage .card{padding:18px 22px;display:flex;flex-direction:column;gap:12px}
.settingspage h2{margin:0;font-size:18px}.settingspage h3{margin:8px 0 0;font-size:15px}.settingspage .head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.settingspage select{padding:6px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;margin-left:8px;max-width:100%;box-sizing:border-box}
/* What a run does: the run's steps as Collect draws them, each with its switches under it */
.settingspage .band{display:flex;flex-direction:column;gap:2px;padding-top:12px;border-top:1px solid var(--rule)}
.settingspage .band h3{margin:0;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.settingspage .subs{margin-top:8px;padding:2px 12px;border-radius:10px;background:var(--panel);border:1px solid var(--row)}
.settingspage .subs .swrow{align-items:flex-start;padding:8px 0;border-top:1px solid var(--row)}.settingspage .subs .swrow:first-child{border-top:0}
.settingspage .subs .sw{margin-top:1px}
.runsteps{list-style:none;margin:0;padding:0}
.runsteps>li{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;padding:8px 0}
.runsteps>li::before{content:"";position:absolute;left:13px;top:38px;bottom:-6px;width:2px;background:var(--rule)}
.runsteps>li:last-child::before{display:none}
.runsteps .dot{width:28px;height:28px;border-radius:14px;background:var(--accent-soft);color:var(--accent-ink);border:1px solid var(--accent-line);box-sizing:border-box;display:grid;place-items:center;font-weight:600;font-size:13px;z-index:1}
.runsteps li.ai .dot{background:var(--ai-soft);color:var(--ai);border-color:var(--ai-line)}
.runsteps li.warm .dot{background:var(--notice-bg);color:var(--pick);border-color:var(--notice-line)}
.runsteps .nt{display:flex;flex-direction:column;gap:1px;min-width:0}
table.places td:first-child{width:60px}
.log{margin:0;padding:12px 14px;border:1px solid var(--rule);border-radius:10px;background:var(--inset);font-size:12px;line-height:1.4;max-height:320px;overflow:auto;white-space:pre-wrap}
.facts{display:grid;grid-template-columns:180px 1fr;gap:6px 16px;margin:0}.facts dt{color:var(--muted)}.facts dd{margin:0;overflow-wrap:anywhere}
.settingspage .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.settingspage .row input{flex:1 1 280px;padding:8px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit}
.langs li{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:6px 0;border-top:1px solid var(--rule)}.langs form.inline{display:flex;gap:6px;margin-left:auto}.langs form.inline input{padding:5px 8px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;width:160px}
/* Language home (board B) */
.homepage{display:flex;flex-direction:column;gap:22px;max-width:1320px}
.cover{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px 32px;align-items:center;padding:26px 30px;border-radius:18px;border:1px solid var(--rule);background:linear-gradient(135deg,var(--accent-soft) 0%,var(--panel) 60%)}
@media (max-width:900px){.cover{grid-template-columns:1fr}}
.ring{position:relative;flex-shrink:0}.ring svg{transform:rotate(-90deg)}.ring .track{stroke:var(--inset)}.ring .arc{stroke:var(--accent)}
.ring .inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring .big{font-size:30px;font-weight:600;letter-spacing:-.02em;line-height:1}
.cover .who{display:flex;flex-direction:column;gap:6px;min-width:0}.cover h1{margin:0;font-size:34px;letter-spacing:-.02em;line-height:1.05}.cover .code{color:var(--muted);font-weight:400;font-family:"Gentium Plus",Gentium,serif;font-size:26px}
.cover .counts{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px;margin-top:4px}.cover .counts .sep{color:var(--rule)}.cover .miss{color:var(--miss)}
.cover .acts{display:flex;flex-direction:column;gap:8px;min-width:210px}.cover .acts .btn,.cover .acts .btn2{justify-content:center;gap:8px;min-height:42px;border-radius:10px}
.hcols{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}@media (max-width:900px){.hcols{grid-template-columns:1fr}.rail{position:static}}
.rail{position:sticky;top:16px;display:flex;flex-direction:column;gap:4px;padding:12px 10px;border:1px solid var(--rule);border-radius:14px;background:var(--panel)}
.rail .eyebrow{padding:0 6px 8px}.rail a{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;text-decoration:none;color:var(--ink);font-size:14px}.rail a:hover{background:var(--inset)}
.rail .n{width:22px;height:22px;border-radius:11px;background:var(--inset);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.chapters{display:flex;flex-direction:column;min-width:0}
.chapter{display:flex;flex-direction:column;gap:14px;padding:22px 0 26px;border-top:1px solid var(--rule)}
.chead{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}.chead .num{font-family:"Gentium Plus",Gentium,serif;color:var(--muted);font-size:22px}.chead h2{margin:0;font-size:22px}.chead .grow{flex:1}
.homepage .more{color:var(--accent);text-decoration:none;font-weight:500;font-size:14px;white-space:nowrap}
.lgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}
.lcard{display:flex;flex-direction:column;gap:10px;padding:16px 18px;border:1px solid var(--rule);border-radius:12px;background:var(--panel);text-decoration:none;color:var(--ink);min-width:0}
.lcard.on{border-color:var(--accent)}.lcard .row{display:flex;align-items:center;gap:10px}.lcard .row .grow{flex:1}.lcard b{font-size:17px}
.lcard .row.small{gap:14px;font-size:13px}.lcard .accent{color:var(--accent);font-weight:500}
.lcard.add{align-items:center;justify-content:center;border-style:dashed;color:var(--accent);font-weight:500;min-height:110px;background:transparent}
.hbar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:#FBE5DE}.hbar .filled{background:var(--accent)}.hbar .pick{background:var(--pick)}.hbar.empty{background:var(--inset)}
.ptable td.num,.ptable th.num{text-align:right;font-variant-numeric:tabular-nums}
.kgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.ktile{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:1px solid var(--rule);border-radius:12px;background:var(--panel);text-decoration:none;color:var(--ink);min-width:0}
.ktile.dim{opacity:.55}.ktile .row{display:flex;align-items:center;gap:10px}.ktile .row .grow{flex:1}.ktile .big{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}
.ktile .it{display:flex;gap:8px;font-size:13px;border-top:1px solid var(--rule);padding-top:6px}.ktile .it .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.soundline{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;padding:14px 18px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}.soundline .grow{flex:1}
.chip.teal{background:var(--teal-soft);color:var(--teal)}
.lately{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}
.lately li{display:flex;gap:12px;padding:12px 14px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}.lately .nt{display:flex;flex-direction:column;gap:3px;min-width:0}.lately a{color:var(--ink);text-decoration:none}
.projectrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 14px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft)}
.projectrow .nt{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.projectrow form{display:flex;align-items:center;gap:10px}

/* the assistant's suggestions (checkpoint 13): its own colour, so a suggestion never reads as a fact */
:root{--ai:#B3B0F5;--ai-soft:#2A2940;--ai-line:#4A4878;--ai-ink:#D9D7FB}
:root[data-theme=light]{--ai:#6D69C9;--ai-soft:#ECEBFA;--ai-line:#CBC8F0;--ai-ink:#3E3A7A}
.chip.ai{padding:2px 10px;border:1px solid var(--ai-line);background:var(--ai-soft);color:var(--ai);font-size:12.5px;font-weight:500}
.sugpage{display:flex;flex-direction:column;gap:18px;max-width:1180px}
.sone{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:18px;align-items:start}
.sask{padding:22px 24px!important;display:flex;flex-direction:column;gap:6px}
.sask .eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sask h2{font-family:var(--form);font-size:40px;line-height:1.1}
.sprog{height:8px;border-radius:4px;background:var(--row);overflow:hidden;margin-top:14px}.sprog i{display:block;height:100%;background:var(--ai)}
.scands{padding:18px 20px!important;display:flex;flex-direction:column;gap:12px;border-color:var(--ai-line)!important}
.shead{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.schoice{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}
.schoice .pickrow{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.schoice .meaning{font-size:17px;font-weight:600}
.schoice input{width:17px;height:17px;accent-color:var(--ai);margin:0;align-self:center}
.sforms{border-collapse:collapse;width:100%}.sforms td{padding:5px 0;border-top:1px solid var(--row)}
.sforms td.pl{color:var(--muted);font-size:13.5px;width:46%}.sforms td.form{font-family:var(--form);font-size:17px}
.sreason{margin:0;padding:10px 12px;border-radius:10px;background:var(--ai-soft);color:var(--ai-ink);font-size:14px}
.scands .acts{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.scands .btn.yes{background:var(--teal);color:var(--on-accent)}
.sugpage .empty{padding:24px!important}
@media (max-width:900px){.sone{grid-template-columns:minmax(0,1fr)}}
.st.ai{display:inline-flex;padding:4px 12px;border-radius:999px;border:1px solid var(--ai-line);background:var(--ai-soft);color:var(--ai);text-decoration:none;font-weight:500}
tr.suggested td{background:var(--ai-soft)}.sugg b{font-weight:500}
.sugbox{margin:4px 0 6px}.sugbox .scands{max-width:760px}
.chip.ai.k-web{border-color:#B9D3C2;background:var(--teal-soft);color:var(--teal-ink)}
nav.ltabs em.mainl{font-style:normal;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin-left:7px;padding:1px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink);vertical-align:2px}
.ltabrow [data-main]{white-space:nowrap;margin-right:8px}.listpage .ltabrow [data-main]{min-height:38px;padding:0 14px;border-radius:10px;font-size:14px;color:var(--ink);margin:0 0 6px}   /* beside Export: the same height and line */
.wtab{border:1px solid var(--rule);border-radius:12px;padding:14px 16px;margin:12px 0 6px;background:var(--panel)}
.wtab h3{margin:2px 0 2px;font-size:16px}.wtab h3 a{color:inherit}.wtab .facts{display:grid;grid-template-columns:150px 1fr;gap:6px 14px;margin:10px 0 0;font-size:13.5px}
.wtab .facts dt{color:var(--muted)}.wtab .facts dd{margin:0}
@media (max-width:640px){.wtab .facts{grid-template-columns:1fr}.wtab .facts dd{margin-bottom:6px}}
.chip.ai.k-table{border-color:#C6D0DB;background:var(--accent-soft);color:var(--accent-ink)}
.chip.ai.k-memory{border:1px dashed #E0B47E;background:var(--notice-bg);color:var(--notice-ink)}
.schoice.web .form.big{font-size:24px}.squote{margin:0;padding:10px 12px;border-left:3px solid var(--teal-line,#B0C2A3);background:var(--panel-2);font-size:14px;border-radius:0 8px 8px 0}
.squote mark{background:var(--teal-soft);color:inherit;padding:0 2px;border-radius:3px}
.card.plan .path ol>li.ai .dot{background:var(--ai-soft);color:var(--ai);border-color:var(--ai-line)}
.guess{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px dashed #E0B47E;border-radius:12px;background:var(--notice-bg);margin:4px 0 10px}
.guess .q{font-size:16px}.guess .q .form{font-family:var(--form);font-size:22px;margin-left:4px}
.guess .gacts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.guessline{display:block;margin-top:2px;color:var(--notice-ink);font-size:12.5px}
/* a sister variety's word: related, not this language; a place for a speaker to start */
.chip.ai.k-sister{border:1px dashed var(--accent);background:var(--accent-soft);color:var(--accent-ink);align-self:flex-start}
.guess.sister{border-color:var(--accent);background:var(--panel)}
.guess.sister ul.sisters{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.guess.sister li{display:flex;flex-direction:column;gap:4px;padding-top:8px;border-top:1px solid var(--row)}
.guess.sister li:first-child{border-top:0;padding-top:2px}
.guess .form .sense,.guessline .sense{font-family:var(--sans,inherit);font-size:11px;color:var(--muted);margin-left:6px;font-weight:400}
.guessline.sister{color:var(--accent-ink)}
.sisterline .linkish{font-size:inherit}
.missingpage .said.note{color:var(--muted)}

/* Analysis (AnalyseRun.html, AnalyseCalm.html A): calm — one thing first, the rest behind a tab or a click */
.anpage{max-width:1240px;margin:0 auto;width:100%;display:flex;flex-direction:column;gap:14px}
.anpage .eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.anpage h1.anh{font-family:var(--serif);font-weight:600;font-size:clamp(26px,3.2vw,34px);margin:2px 0 0;letter-spacing:-.01em}
.anpage .chip.ok{background:var(--teal-soft);border-color:var(--teal-line);color:var(--teal-ink)}
.anpage .chip.dec{background:var(--notice-bg);border-color:var(--notice-line);color:var(--notice-ink)}
.anpage .chip.spk{background:rgba(180,83,47,.1);border-color:rgba(180,83,47,.35);color:var(--miss)}
.anpage .pair{font-family:var(--form);white-space:nowrap}.anpage .pair small{font-family:var(--sans);color:var(--muted);font-size:12px}
.anpage .btn.big{min-height:46px;padding:0 26px;font-size:16px}
.listcard{background:var(--panel);border:1px solid var(--rule);border-radius:16px;padding:20px 22px;max-width:640px}
.listcard .lc-top{display:flex;align-items:flex-end;gap:14px}.listcard .lc-top b{display:block;font-size:20px;margin-top:2px}
.listcard .minibar{display:flex;width:200px;height:9px;border-radius:5px;background:var(--miss-tint);overflow:hidden}.listcard .minibar i{display:block;height:100%;background:var(--accent)}.listcard .minibar i.p{background:var(--pick)}
.listcard .lc-n{font-size:16px;margin:14px 0 6px}.listcard .lc-n b{font-size:18px}
.anact{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.runcols{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start;margin-top:8px}
.ansteps{list-style:none;margin:0;padding:0;background:var(--panel);border:1px solid var(--rule);border-radius:16px;overflow:hidden}
.ansteps li{display:grid;grid-template-columns:40px 1fr;gap:2px 14px;align-items:center;padding:12px 18px;border-top:1px solid var(--row)}.ansteps li:first-child{border-top:0}
.ansteps .ring{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:12.5px;font-weight:600;background:var(--row);color:var(--muted);grid-row:1/3}
.ansteps li.done .ring{background:var(--teal);color:var(--on-accent)}.ansteps li.running{background:var(--accent-soft)}
.ansteps li.running .ring{background:var(--accent);color:var(--on-accent);animation:recpulse 1.2s ease-in-out infinite}
.ansteps li.skip .ring{background:none;border:1px dashed var(--rule)}
.ansteps b{font-weight:600}.ansteps li.waiting b,.ansteps li.skip b{color:var(--muted);font-weight:500}
.ansteps .s{grid-column:2;font-size:13px;color:var(--muted)}
.counters{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.counter{background:var(--panel);border:1px solid var(--rule);border-radius:14px;padding:12px 14px}.counter b{display:block;font-size:24px;font-variant-numeric:tabular-nums}.counter span{font-size:12.5px;color:var(--muted)}
.justnow{margin-top:14px;background:var(--panel);border:1px solid var(--rule);border-radius:14px;padding:14px}
.justnow ul{list-style:none;margin:8px 0 0;padding:0;font-size:13px}.justnow li{padding:4px 0;border-top:1px solid var(--row);display:flex;gap:10px}.justnow li:first-child{border-top:0}
.justnow time{color:var(--muted);font-variant-numeric:tabular-nums;min-width:3.6em}
.donebar{display:flex;align-items:center;gap:14px;background:var(--teal-soft);border:1px solid var(--teal-line);border-radius:14px;padding:12px 18px;color:var(--teal-ink)}
.donebar.new{background:var(--notice-bg);border-color:var(--notice-line);color:var(--notice-ink)}.donebar .grow{flex:1}
.anpage .top{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.anpage .top .grow{flex:1}
.anpage .meta{font-size:14px;color:var(--muted)}.anpage .meta b{color:var(--ink);font-weight:500}
.anpage .where{margin:0;font-size:15px;color:var(--ink-2)}
.anpage .anprog{display:flex;align-items:center;gap:12px}
.steps7{display:flex;gap:4px}.steps7 i{width:30px;height:5px;border-radius:3px;background:var(--row)}.steps7 i.d{background:var(--teal)}.steps7 i.c{background:var(--accent)}
.antabs{display:flex;gap:6px;border-bottom:1px solid var(--rule);margin:8px 0 6px;flex-wrap:wrap}
.antabs button{font:inherit;font-size:15px;padding:10px 16px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);cursor:pointer;margin-bottom:-1px}
.antabs button.on{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
.antabs .tablink{margin-left:auto;align-self:center;font-size:14px;color:var(--accent-ink);text-decoration:none;padding:8px 4px}.antabs .tablink:hover{text-decoration:underline}.antabs .tablink+.tablink{margin-left:14px}
.anpage .two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start}
.alpha{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px}
.alpha .L{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 14px 12px;border-radius:14px;background:var(--panel);border:1px solid transparent;cursor:pointer;font:inherit;color:inherit;text-align:left}
.alpha .L:hover{border-color:var(--rule)}.alpha .L.on{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.alpha .L .g{font-size:32px;font-weight:700;line-height:1}.alpha .L .w{font-size:12.5px;color:var(--muted)}.alpha .L .w .form{font-size:15px;color:var(--ink-2)}
.alpha .L.q{background:var(--notice-bg)}.alpha .L.q .g{color:var(--pick)}.alpha .L.mine .g{color:var(--accent-ink)}
.anpage .tones{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;align-items:baseline}
.anpage .tones .tn{border:0;background:none;font:inherit;color:var(--muted);font-size:13px;cursor:pointer;padding:2px 4px;border-radius:6px}
.anpage .tones .tn b{font-size:22px;color:var(--ink);margin-right:3px}.anpage .tones .tn.q b{color:var(--pick)}.anpage .tones .tn.on{background:var(--accent-soft)}
.anpage .anside{position:sticky;top:110px;min-width:0}
.anpage .qcard{background:var(--panel);border-radius:16px;padding:20px;border:1px solid var(--rule);margin-top:10px}
.anpage .qcard h3{font-size:18px;margin:8px 0 6px}.anpage .qcard p{margin:0 0 14px;color:var(--ink-2)}
.anpage .qacts{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.anpage .qrow{border-bottom:1px solid var(--row)}.anpage .qrow summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:10px;padding:10px 4px;font-size:14px}.anpage .qrow summary .small{white-space:nowrap}
.anpage .qrow summary::-webkit-details-marker{display:none}.anpage .qrow p{margin:0 4px 8px;font-size:13.5px;color:var(--ink-2)}.anpage .qrow .qacts{padding:0 4px 10px}
.anpage .hint{margin-top:12px}
.anpage .ev{background:var(--panel);border-radius:16px;padding:20px;border:1px solid var(--rule)}
.anpage .ev .x{float:right;border:0;background:none;font-size:22px;color:var(--muted);cursor:pointer;line-height:1}
.anpage .ev .evhead{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.anpage .ev .big{font-size:48px;line-height:1}
.anpage .ev section{margin-top:16px}.anpage .ev section p{margin:4px 0 0;color:var(--ink-2)}
.anpage .ev .proofs{margin:6px 0 0;display:flex;flex-direction:column;gap:6px;font-size:13.5px}
.decideform .opts{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.decideform .opt{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--rule);border-radius:10px;cursor:pointer}
.decideform .opt:has(input[name=d]:checked){border-color:var(--accent);background:var(--accent-soft)}
.decideform .opt b{font-size:20px;min-width:30px}.decideform .opt input[name=letter]{width:80px;padding:4px 8px;border:1px solid var(--rule);border-radius:8px;background:var(--inset);color:var(--ink);font-size:18px}
.decideform .whyl{display:flex;flex-direction:column;gap:4px;margin-top:10px}.decideform .k{font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.decideform textarea{min-height:60px;border:1px solid var(--rule);border-radius:10px;padding:8px 10px;font:inherit;font-size:14px;background:var(--inset);color:var(--ink);resize:vertical}
.decideform .agreedrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px}
.decideform .who2{font-size:12.5px;padding:3px 10px;border-radius:999px;border:1px solid var(--rule);color:var(--muted);cursor:pointer}.decideform .who2.ok,.decideform .who2:has(input:checked){background:var(--teal-soft);border-color:var(--teal-line);color:var(--teal-ink)}
.decideform .who2 input{margin:0 4px 0 0}
.decideform .decrow,.anpage .decrow{display:flex;gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap}
.anpage h3.sub{font-size:16px;margin:18px 0 8px}
.anpage table.rules td.lt{font-size:18px;font-weight:600}.hb .verdict.n,.anpage .verdict.n{background:var(--panel);border:1px solid var(--rule)}
.sttpage .sttsum{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 14px}.sttpage .sttsum div{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}
.sttpage .sttsum span{color:var(--muted);font-size:13.5px}.sttpage .other{display:flex;gap:8px;align-items:center;margin-top:8px}.sttpage .other input,.sttpage .dict input{flex:1;max-width:280px}
.sttpage .draftlist{display:flex;flex-direction:column}.sttpage .other input,.sttpage .dict input{padding:8px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;font-size:15px}
.sttpage .dict{display:flex;gap:8px;margin:8px 0}.sttpage .reveal{margin-top:4px}.sttpage .verdict{font-size:12px;font-weight:600;padding:1px 9px;border-radius:999px;margin-left:6px}
.sttpage .verdict.c{background:var(--ok-bg,#E4EADC);color:var(--ok-ink,#405A35)}.sttpage .verdict.q{background:var(--notice-bg)}
@media (max-width:820px){.sttpage .sttsum{grid-template-columns:1fr}}
/* The handbook (HandbookFull.html): A4 pages, white like paper in either theme, to print or save as PDF */
.hbpage .hbbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:0 0 18px}
.hbpage .hbbar .btn,.hbpage .hbbar .btn2{box-sizing:border-box;min-height:38px;padding:0 14px;border-radius:8px;border:1px solid var(--rule);font-size:14px;font-weight:400;line-height:1}.hbpage .hbbar .btn{border-color:var(--accent);font-weight:500}   /* the bar's buttons one size; the main one blue */.hbpage .hbbar .grow{flex:1}.hbpage .hbbar select{min-height:38px;padding:0 10px;border:1px solid var(--rule);border-radius:8px;font:inherit;background:var(--panel);color:var(--ink);margin-left:6px}
.hbpage .hbbar .chip{font-size:12.5px;padding:3px 10px;border-radius:999px;background:var(--notice-bg);color:var(--ink)}
.hbpage dialog{max-width:560px}.hbpage dialog.hbx{max-width:900px;padding:0}.hbx form{display:flex;flex-direction:column;max-height:calc(100vh - 80px)}.hbx-head{padding:18px 22px 10px;border-bottom:1px solid var(--rule)}.hbx-head h2{margin:0}.hbx-head p{margin:2px 0 0}.hbx-body{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:0;overflow:auto}.hbx-left{padding:14px 20px;border-right:1px solid var(--rule);display:flex;flex-direction:column;gap:16px}.hbx-left p{margin:0}.hbx-right{padding:14px 20px;min-width:0}.hbx .lab{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}.hbx .box{display:flex;flex-direction:row;gap:8px;align-items:flex-start;font-size:14px}.hbx-seg{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:10px;overflow:hidden}.hbx-seg button{font:inherit;font-size:14px;padding:8px 10px;border:0;background:var(--panel);color:var(--ink);cursor:pointer}.hbx-seg button.on{background:var(--accent);color:var(--on-accent)}.hbx-four{grid-template-columns:1fr 1fr}:is(.hbp,.hbs) .zh,:is(.hbp,.hbs) [lang=zh]{font-family:"Noto Sans CJK SC","Noto Sans SC","Source Han Sans SC","PingFang SC","Microsoft YaHei",sans-serif}:is(.hbp,.hbs) .py{display:block;font-size:.82em;color:var(--hmuted);font-weight:400}:is(.hbp,.hbs) h1 .py,:is(.hbp,.hbs) h2 .py{font-size:.55em}.hbp .ccover{text-align:center}.hbp .ccover .kick{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--hhead);margin:6mm 0 0}.hbp .ccover .lname{font-size:26px;font-weight:400;margin:20mm 0 0;color:#1F3346}.hbp .ccover h1.big{font-size:58px;line-height:1.05;margin:7mm 0 0;color:#1F3346}.hbp .ccover .meta{font-size:19px;color:var(--hhead);margin:15mm 0 0}.hbp .ccover .ftonly{font-size:16px;margin:9mm auto 0;max-width:130mm;text-wrap:balance;font-weight:700;color:#9A5A00}.hbp .ccover .cv{font-size:14px;color:var(--hmuted);margin:8px 0}:is(.hbp,.hbs) .mn{font-size:13.5px;color:var(--hink2);font-family:"Noto Sans CJK SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}:is(.hbp,.hbs) table.t tr td.nacell{background:var(--hna,#E6E8EA)}:is(.hbp,.hbs) ul.rules{padding-left:18px;margin:4px 0}:is(.hbp,.hbs) ul.rules li{margin:3px 0}:is(.hbp,.hbs) .line{display:block;border-bottom:1px solid #8C969E;min-height:24px}:is(.hbp,.hbs) ol.fq{padding-left:20px;margin:6px 0}:is(.hbp,.hbs) ol.fq li{margin:0 0 10px}:is(.hbp,.hbs) ol.fq li.sub{list-style:none;margin-left:-20px}.hbpage .hbx-seg button small{display:block;font-size:12px;opacity:.8}.hbp .zhdraft{background:var(--hamber);color:var(--hamber-ink);border-radius:6px;padding:4px 8px;display:inline-block}.hbx-tools{display:flex;gap:8px;align-items:center;margin:0 0 8px}.hbx-tools .grow{flex:1}.hbx-tools .lab{margin:0}.hbx-secs{list-style:none;margin:0 0 8px;padding:0;border:1px solid var(--rule);border-radius:12px;overflow:hidden}.hbx-secs li{display:grid;grid-template-columns:20px 22px 48px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:6px 10px;border-top:1px solid var(--rule);font-size:14px;background:var(--panel)}.hbx-secs li:first-child{border-top:0}.hbx-secs li.off .t,.hbx-secs li.off .n{color:var(--muted);text-decoration:line-through}.hbx-secs li.fixed .grip{visibility:hidden}.hbx-secs li.drag{opacity:.45}.hbx-secs li.over{box-shadow:inset 0 3px 0 var(--accent)}.hbx-secs .grip{cursor:grab;color:var(--muted);text-align:center;user-select:none}.hbx-secs .n{font-weight:600;color:var(--accent-ink);font-size:13px;white-space:nowrap}.hbx-secs .t{min-width:0}.hbx-secs .pg{font-size:12.5px;color:var(--muted);white-space:nowrap}.hbx-secs .mv{display:flex;gap:2px}.hbx-secs .mv button{font:inherit;font-size:12px;width:26px;height:24px;border:1px solid var(--rule);border-radius:6px;background:var(--panel);color:var(--ink);cursor:pointer}.hbx-secs .mv button:disabled{opacity:.3;cursor:default}.hbx-secs .chip{font-size:11px;margin-left:6px}.hbx-foot{display:flex;gap:10px;align-items:center;padding:12px 20px;border-top:1px solid var(--rule)}.hbx-foot .hbx-sum{flex:1;color:var(--muted)}.hbx-body:focus:not(:focus-visible){outline:none}@media (max-width:820px){.hbx-body{grid-template-columns:1fr}.hbx-left{border-right:0;border-bottom:1px solid var(--rule)}}.hbpage dialog textarea{padding:8px 12px;border:1px solid var(--rule);border-radius:8px;font:inherit;background:var(--panel);color:var(--ink);resize:vertical}
.hbbook{print-color-adjust:exact;-webkit-print-color-adjust:exact;--hink:#22303C;--hink2:#3F4B55;--hmuted:#6E7A84;--hrule:#D9DEE2;--hhead:#3E5C4A;--hamber:#F6EEDF;--hamber-ink:#6B5331;--hok:#E4EADC;--hok-ink:#405A35;--hth:#E3E9E5;--hth-ink:#2E4A3A;--hstripe:#F7F9F8;--hfaint:#8C969E;--hna:#E6E8EA;--hna-ink:#A9B1B8;background:#C9CDD1;border-radius:12px;padding:16px 0;overflow-x:auto}
.hbp{box-sizing:border-box;width:210mm;min-height:297mm;margin:0 auto 16px;background:#fff;color:var(--hink);box-shadow:0 2px 10px rgba(0,0,0,.18);padding:16mm 16mm 22mm;position:relative;font:13px/1.45 var(--sans)}.hbp:last-child{margin-bottom:0}
.hbp header{font-size:10px;font-weight:700;letter-spacing:.06em;color:var(--hhead);margin-bottom:8px}
.hbp footer{position:absolute;left:16mm;right:16mm;bottom:10mm;display:flex;justify-content:space-between;font-size:9.5px;color:var(--hmuted);border-top:1px solid var(--hrule);padding-top:4px}
.hbp h1.t{font-size:24px;color:#1F3346;margin:2px 0 12px}:is(.hbp,.hbs) h2{font-size:15px;color:var(--hhead);margin:16px 0 6px}:is(.hbp,.hbs) p{margin:6px 0}
.hbp .lname{font-size:22px;color:#1F3346;margin:8px 0 0}.hbp h1.big{font-size:44px;line-height:1.05;color:#1F3346;margin:6px 0 10px}.hbp .own{font-size:14px}.hbp .meta{font-size:16px;color:var(--hhead);margin:14px 0 6px}
.hbp .ftonly{font-weight:700;color:#9A5A00;letter-spacing:.04em}
:is(.hbp,.hbs) table.t{width:100%;border-collapse:collapse;margin:6px 0 4px;font-size:12px}:is(.hbp,.hbs) table.t th{background:var(--hth);text-align:left;font-weight:600;padding:5px 7px;font-size:11px;color:var(--hth-ink)}
:is(.hbp,.hbs) table.t td{padding:4px 7px;border-bottom:1px solid var(--hrule);vertical-align:top}:is(.hbp,.hbs) table.t tr:nth-child(even) td{background:var(--hstripe)}
:is(.hbp,.hbs) table.kv thead{display:none}:is(.hbp,.hbs) table.kv td:first-child{width:28%;color:var(--hmuted)}
:is(.hbp,.hbs) .sp{font-family:var(--form);font-weight:700;font-size:14px;display:block}:is(.hbp,.hbs) .sp.big{font-size:20px;display:inline}:is(.hbp,.hbs) .ipa{font-family:var(--form);color:var(--hink2);display:block}
:is(.hbp,.hbs) .gl{display:block;font-size:11px;color:var(--hmuted)}:is(.hbp,.hbs) .in{display:inline}:is(.hbp,.hbs) .rf{color:var(--hfaint);font-size:10px}:is(.hbp,.hbs) .na{color:var(--hfaint);font-style:italic}
:is(.hbp,.hbs) .st{font-size:10.5px;font-weight:600;padding:1px 7px;border-radius:999px}:is(.hbp,.hbs) .st.working{background:var(--hok);color:var(--hok-ink)}:is(.hbp,.hbs) .st.check{background:var(--hamber);color:var(--hamber-ink)}
:is(.hbp,.hbs) .nw{white-space:nowrap}:is(.hbp,.hbs) .tofill{background:var(--hamber);color:var(--hamber-ink);border-radius:5px;padding:0 6px}:is(.hbp,.hbs) .blank{display:inline-block;width:100%;border-bottom:1px solid var(--hfaint);min-height:16px}
:is(.hbp,.hbs) .small{font-size:11.5px;color:var(--hmuted)}:is(.hbp,.hbs) ul.open{margin:4px 0;padding-left:18px;font-size:12px}:is(.hbp,.hbs) ul.open li{margin:2px 0}:is(.hbp,.hbs) ul.qs{columns:2;column-gap:22px;margin:4px 0;padding-left:18px;font-size:11.5px;color:var(--hmuted)}:is(.hbp,.hbs) ul.qs li{margin:1px 0;break-inside:avoid}:is(.hbp,.hbs) ol{padding-left:20px}
:is(.hbp,.hbs) .maps{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}:is(.hbp,.hbs) .maps figure{margin:0}:is(.hbp,.hbs) .mapsvg{width:100%;height:auto;border:1px solid var(--hrule)}:is(.hbp,.hbs) figcaption{font-size:10.5px;color:var(--hmuted);margin-top:3px}
:is(.hbp,.hbs) .trap{margin:8px 0;padding:10px 12px;border-radius:8px;background:var(--hamber);color:var(--hamber-ink);font-size:12.5px}
:is(.hbp,.hbs) table.t td:has(> .blank):last-child{width:50%}:is(.hbp,.hbs) table.pos td{width:28%}:is(.hbp,.hbs) table.pos td:first-child{width:12%}
@media screen and (min-width:821px){.hbbook{box-sizing:border-box;height:var(--hbh,calc(100vh - var(--hbtop,190px) - 16px));min-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8E949A transparent}
  .content:has(> .hbpage .hbbook){padding-bottom:16px}}
@media screen and (max-width:820px){.hbbook{padding:0;background:none}.hbp{width:auto;min-height:0;padding:20px 16px 44px;margin:0 0 12px}.hbp footer{left:16px;right:16px;bottom:12px}.hbp h1.big{font-size:34px}.hbp .maps{grid-template-columns:1fr}}
/* The handbook on one sheet (the first design), switchable with the A4 pages */
.hbsheet{--hink:var(--ink);--hink2:var(--ink-2);--hmuted:var(--muted);--hrule:var(--rule);--hhead:var(--accent-ink);--hamber:var(--notice-bg);--hamber-ink:var(--ink);--hok:var(--accent-soft);--hok-ink:var(--accent-ink);--hth:var(--inset);--hth-ink:var(--ink);--hstripe:transparent;--hfaint:var(--muted);--hna:var(--inset);--hna-ink:var(--muted)}
.hbs{font-size:14px;line-height:1.5}.hbs h3{font-size:15.5px;margin:18px 0 6px}.hbs table.t{font-size:13.5px}.hbs table.t th{font-size:12px}.hbs .small{font-size:12.5px}.hbs .gl{font-size:12px}.hbs .contents{columns:2;column-gap:28px;list-style:none;padding:0;margin:6px 0}.hbs .contents li{margin:2px 0}.hb .hl .st{align-self:flex-start;margin-top:2px}
.hb{max-width:880px;margin:0 auto;background:var(--panel);border:1px solid var(--rule);border-radius:16px;padding:36px 44px}
.hb section{padding:18px 0;border-top:1px solid var(--rule);break-inside:avoid}.hb section.hbcover{border-top:0;padding-top:4px;display:block}
.hb h1{font-size:34px;margin:6px 0 4px}.hb h2{font-size:19px;margin:0 0 10px}.hb .stamp{display:inline-block;margin:10px 0;padding:4px 12px;border:2px solid var(--accent);border-radius:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-ink,var(--accent))}
.hb .hgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.hb .hl{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--rule);border-radius:10px}
.hb .hl b{font-size:22px}.hb .hl .ex{font-size:12.5px;color:var(--muted)}.hb table.ht{width:100%;border-collapse:collapse;font-size:14px}.hb table.ht th{text-align:left;font-size:12px;color:var(--muted);padding:6px 8px;border-bottom:1px solid var(--rule)}
.hb table.ht td{padding:6px 8px;border-bottom:1px solid var(--rule)}.hb table.ht td.n{text-align:right}.hb table.fill{width:100%;border-collapse:collapse;margin:10px 0}.hb table.fill th{text-align:left;font-weight:500;width:45%;padding:8px 0;font-size:14px}
.hb .blank{display:block;border-bottom:1px solid var(--muted);min-height:22px}
.hbpage .hblook{display:inline-flex;padding:3px;border:1px solid var(--rule);border-radius:999px;background:var(--panel)}.hbpage .hblook button{border:0;background:none;color:var(--ink);font:inherit;font-size:13.5px;padding:5px 12px;border-radius:999px;cursor:pointer}.hbpage .hblook button.on{background:var(--accent);color:var(--on-accent)}
/* the community handbook's alphabet card (CommunityHandbookHindi.html, design C): letters only; grey: not used, amber: no word yet */
.hbp .cwrap{display:flex;justify-content:center}.hbp table.card{background:transparent;border-collapse:separate;border-spacing:6px;margin:10px 0;padding:8px 12px;border:2px solid var(--hhead);border-radius:14px;width:auto}
.hbp table.card td.cc{width:62px;height:58px;text-align:center;vertical-align:middle;border-radius:8px;background:var(--hstripe);padding:0;border:0}
.hbp table.card td.cc b{display:block;font-family:var(--form);font-size:32px;line-height:1.1;font-weight:600;color:var(--hink)}.hbp table.card td.cc small{display:block;font-size:15px;line-height:1.1;color:var(--hink2)}
.hbp table.card.v{padding:6px 8px;border-spacing:4px}.hbp table.card.v td.cc{width:38px;height:54px}.hbp table.card.v td.cc b{font-size:22px}.hbp table.card.v td.cc small{font-size:13px}
.hbp table.card td.cc.na{background:var(--hna)}.hbp table.card td.cc.na b{color:var(--hna-ink)}.hbp table.card td.cc.ask{background:var(--hamber)}
.hbp table.card td.cc .ipa{display:block;font-size:12px;line-height:1.15;color:var(--hink2);font-style:normal;margin-top:1px}.hbp table.card.v td.cc .ipa{font-size:11px}
.hbp table.card tr.x td.cc{box-shadow:0 -4px 0 -3px var(--hrule)}
:is(.hbp,.hbs) .duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}:is(.hbp,.hbs) .duo table.t{margin:4px 0}:is(.hbp,.hbs) .hm{font-size:12.5px;color:var(--hink2)}
@media screen and (max-width:820px){.hbp .duo{grid-template-columns:1fr}}
@page hba4{size:A4;margin:0}
@media print{.side,.bar,[data-part=bar],.halfhead,.noprint{display:none!important}.main,.content{margin:0!important;padding:0!important}body{background:#fff;color:#000}.hbsheet{--hink:#22303C;--hink2:#3F4B55;--hmuted:#6E7A84;--hrule:#D9DEE2;--hhead:#3E5C4A;--hamber:#F6EEDF;--hamber-ink:#6B5331;--hok:#E4EADC;--hok-ink:#405A35;--hth:#E3E9E5;--hth-ink:#2E4A3A;--hstripe:#F7F9F8;--hfaint:#8C969E;--hna:#E6E8EA;--hna-ink:#A9B1B8}.hb{border:0;max-width:none;padding:0;background:#fff;color:#000}.hb .ex,.hb .small{color:#333}.hbbook{background:none;padding:0;border-radius:0;overflow:visible;height:auto;min-height:0}.hbp{page:hba4;width:210mm;min-height:297mm;margin:0;box-shadow:none;break-after:page}.hbp:last-child{break-after:auto}.hbp table.t tr{break-inside:avoid}}
.cmppage .cpick{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 16px}.cmppage .cpick a{padding:6px 12px;border:1px solid var(--rule);border-radius:999px;color:var(--ink);text-decoration:none;font-size:14px;background:var(--panel)}
.cmppage .cpick a.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.cmppage .cpick a small{opacity:.75}
.cmppage .ctwo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-bottom:8px}
.cmppage .cbars{display:flex;flex-direction:column;gap:9px;margin:10px 0 14px}.cmppage .cbar{display:grid;grid-template-columns:170px 1fr 110px;align-items:center;gap:10px;font-size:14px}
.cmppage .cbar i{display:block;height:12px;border-radius:6px;background:var(--accent);min-width:3px}.cmppage .cbar b{font-weight:600;text-align:right}
.cmppage table.cdom tr.few td{color:var(--muted)}.cmppage table.cdom td:last-child{width:140px}
.cmppage .notmeasured{padding:10px 12px;border:1px dashed var(--rule);border-radius:10px;font-size:13.5px}
.cmppage table.cdom td.n,.cmppage table.cmp td.n{text-align:right;white-space:nowrap}.cmppage table.cdom i.mini{display:block;height:8px;border-radius:4px;background:var(--accent);opacity:.7}
@media (max-width:820px){.cmppage .ctwo{grid-template-columns:1fr}.cmppage .cbar{grid-template-columns:120px 1fr 90px}}
.anpage h3.ph{font-size:16px;margin:22px 0 8px}.anpage h3.ph .small{font-weight:400;margin-left:6px}
.anpage table.pairs td.n,.anpage table.pos td.n{text-align:right;width:90px}.anpage table.pairs td:first-child,.anpage table.pos td:first-child{white-space:nowrap}
.hb .verdict,.anpage .verdict{font-size:12px;font-weight:600;padding:1px 9px;border-radius:999px;white-space:nowrap}.hb .verdict.c,.anpage .verdict.c{background:var(--ok-bg,#E4EADC);color:var(--ok-ink,#405A35)}
.hb .verdict.q,.anpage .verdict.q{background:var(--notice-bg);color:var(--notice-ink,inherit)}
.anpage ul.unproved{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}.anpage ul.unproved li{display:flex;gap:8px;align-items:center;padding:6px 10px;border:1px solid var(--rule);border-radius:10px;background:var(--panel)}
.anpage .postwo{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px}
.anpage ul.shapes{list-style:none;padding:0;margin:0}.anpage ul.shapes li{display:grid;grid-template-columns:70px 60px 50px 1fr auto;gap:8px;align-items:baseline;padding:7px 0;border-bottom:1px solid var(--rule)}
@media (max-width:820px){.anpage .postwo{grid-template-columns:1fr}}
.anpage table.ipa-c{border-collapse:separate;border-spacing:4px;width:100%;font-size:12px}
.anpage table.ipa-c th{font-size:11px;font-weight:600;color:var(--muted);text-align:left;padding:2px 4px;white-space:nowrap}
.anpage table.ipa-c td{vertical-align:top;min-width:70px}
.anpage table.ipa-c .c{display:flex;flex-direction:column;align-items:flex-start;width:100%;min-height:58px;margin-bottom:4px;border:1px solid var(--rule);background:var(--panel);border-radius:9px;padding:6px 8px;cursor:pointer;font:inherit;color:inherit;text-align:left}
.anpage table.ipa-c .c:hover{border-color:var(--accent)}.anpage table.ipa-c .c.q{background:var(--notice-bg);border-color:var(--notice-line)}
.anpage table.ipa-c .c b{font-size:21px;line-height:1.1}.anpage table.ipa-c .c span{color:var(--accent-ink);font-size:12.5px}.anpage table.ipa-c .c em{font-style:normal;font-size:10.5px;color:var(--notice-ink);margin-top:2px}
.anpage .vcols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:start}
.anpage .vlist{display:flex;flex-direction:column;gap:6px;margin:0 0 10px}.anpage .vlist li{display:flex;gap:10px;align-items:baseline}
.anpage table.lt td.snd,.anpage table.lt td.let{font-size:18px;white-space:nowrap}.anpage table.lt tr.open td.let{color:var(--pick)}
@media (max-width:980px){.anpage .two,.runcols,.anpage .vcols{grid-template-columns:1fr}.anpage .anside{position:static}}
.anpage .meta .linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.anpage .meta .linkbtn:disabled{opacity:.5;cursor:default}
/* the sidebar's steps (SidebarStepsCalm.html B2, icons kept): every row has the same three columns — the step's number or
   nothing, the page's icon, the words — so the words line up; steps sit further apart than the pages inside them */
.side .steps{display:flex;flex-direction:column;gap:1px}
.side .steps .nav{padding:6px 10px}
.side .step{margin-top:12px}
.side .step .sh{display:flex;align-items:center;gap:10px;padding:0 10px 3px}
.side .step .sh b{font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.side .step.on .sh b{color:var(--ink)}
.side .lead,.side .num{width:20px;flex-shrink:0}
.side .num{display:grid;place-items:center;height:20px;box-sizing:border-box;border-radius:10px;border:1.5px solid var(--rule-2);background:var(--side);color:var(--muted);font-size:11px;font-weight:600;line-height:1}
.side .num.done{background:var(--teal);border-color:var(--teal);color:var(--on-accent)}
.side .num.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
/* Analysis · What it read */
.anpage .readcols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
@media (max-width:900px){.anpage .readcols{grid-template-columns:1fr}}
.anpage .rt td{vertical-align:top}.anpage .rt td b{font-weight:500}.anpage .rt td>.small{display:block}
.anpage .rt tr.grp td{background:var(--panel-2);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 12px}
.anpage .rchip{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12.5px;white-space:nowrap}
.anpage .rchip.rc-read{background:var(--teal-soft);color:var(--teal-ink)}.anpage .rchip.rc-cmp{background:var(--accent-soft);color:var(--accent-ink)}
.anpage .rchip.rc-off{background:var(--inset);color:var(--muted)}
.anpage .readnote{background:var(--panel);border:1px solid var(--rule);border-radius:14px;padding:16px 18px;font-size:14px}.anpage .readnote p{margin:8px 0 0}
/* Analysis · Towns (CompareTowns.html A) */
.anpage .towns{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:14px 0 6px}
.anpage .tc{display:flex;flex-direction:column;gap:5px;padding:14px 16px;background:var(--panel);border:1px solid var(--rule);border-radius:14px}
.anpage .tc.ref{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.anpage .tc .nm{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.anpage .tc .nm b{font-size:17px}
.anpage .tc .uses{font-size:12px;font-weight:600;color:var(--accent-ink)}
.anpage .tc .pct{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}
.anpage .tc .facts{font-size:13px;color:var(--muted)}.anpage .tc .btn2{align-self:flex-start;margin-top:4px}
.anpage .tc .bar2{height:6px;border-radius:3px;background:var(--inset);overflow:hidden}.anpage .tc .bar2 i{display:block;height:100%;background:var(--teal)}
.anpage .tconfirm{margin:10px 0 4px;padding:14px 18px;border:1px solid var(--accent);border-radius:14px;background:var(--panel);max-width:680px}
.anpage .tconfirm p{margin:4px 0}
.anpage .ct td{vertical-align:top}.anpage .ct td.h{background:var(--accent-soft)}.anpage .ct td.diff{background:var(--notice-bg)}
.anpage .ct td.same{color:var(--muted)}.anpage .ct .s{font-size:18px;font-weight:700}.anpage .ct .n{font-size:12px;color:var(--muted)}
.anpage .ct td.ex{font-size:13px;color:var(--muted)}
.anpage .tfilter{display:inline-flex;gap:6px;align-items:center;margin:0 0 8px}
.anpage .tscroll{max-height:560px;overflow:auto}
.anpage .tmean{margin-top:18px;max-width:900px}
/* Towns: do the towns understand each other — a square for every pair, closest to furthest, the pair beside */
.anpage .tlegend{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:13px;color:var(--ink-2);margin:8px 0 14px}
.anpage .tlegend span{display:inline-flex;gap:7px;align-items:center}.anpage .tlegend i{display:inline-block;width:14px;height:14px;border-radius:4px}
.anpage .b-ok{--b-bg:var(--teal-soft);--b-ink:var(--teal-ink)}.anpage .b-test{--b-bg:var(--notice-bg);--b-ink:var(--notice-ink)}.anpage .b-hard{--b-bg:var(--miss-tint);--b-ink:var(--miss)}
.anpage .tlegend i,.anpage .tgrid td.cell,.anpage .pside .band{background:var(--b-bg);color:var(--b-ink)}
.anpage .tpairs{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
.anpage .tgrid{border-collapse:separate;border-spacing:6px;margin-left:-6px}
.anpage .tgrid th{font-size:13px;font-weight:600;color:var(--ink-2);padding:4px 8px;text-align:left;white-space:nowrap}.anpage .tgrid thead th{text-align:center}
.anpage .tgrid th small{display:block;font-weight:400;color:var(--accent-ink);font-size:11.5px}
.anpage .tgrid td{min-width:96px;height:66px;border-radius:12px;text-align:center;vertical-align:middle;font-variant-numeric:tabular-nums}
.anpage .tgrid td.self{background:var(--panel);color:var(--muted)}
.anpage .tgrid td.cell{cursor:pointer;border:2px solid transparent}.anpage .tgrid td.cell b{display:block;font-size:20px}.anpage .tgrid td.cell small{font-size:12px}
.anpage .tgrid td.cell.on,.anpage .tgrid td.cell:hover{border-color:var(--accent)}
.anpage .trank-h{display:block;margin-top:18px}
.anpage .trank{list-style:none;padding:0;margin:8px 0 0;max-width:520px}
.anpage .trank li{display:grid;grid-template-columns:minmax(120px,190px) 1fr 44px;gap:12px;align-items:center;padding:4px 0;font-size:14px;cursor:pointer}
.anpage .trank li.on span:first-child{font-weight:600}.anpage .trank .rb{height:10px;border-radius:5px;background:var(--inset);overflow:hidden}
.anpage .trank .rb i{display:block;height:100%;background:var(--b-ink);opacity:.55}.anpage .trank b{text-align:right;font-variant-numeric:tabular-nums}
.anpage .pside{position:sticky;top:12px;background:var(--panel);border:1px solid var(--rule);border-radius:14px;padding:18px 20px}
.anpage .pside h3{margin:4px 0 10px;font-size:18px}.anpage .pside .nums{display:flex;gap:20px;margin:0 0 10px}.anpage .pside .nums>span{display:flex;flex-direction:column}
.anpage .pside .pct{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.15}.anpage .pside .pct.thin{font-weight:400;color:var(--ink-2)}
.anpage .pside .band{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12.5px;font-weight:600}
.anpage .pside p{font-size:14px;color:var(--ink-2);margin:10px 0}
.anpage .pside ul{list-style:none;padding:0;margin:6px 0 12px}.anpage .pside li{display:grid;grid-template-columns:90px 1fr;gap:8px;padding:4px 0;border-top:1px solid var(--row);font-size:13.5px}
.anpage .pside li .form{font-size:16px}
.anpage .testimate{margin:16px 0 0;padding:12px 16px;border-left:3px solid var(--pick);background:var(--panel);border-radius:0 10px 10px 0;max-width:90ch;font-size:14px;color:var(--ink-2)}
@media (max-width:900px){.anpage .tpairs{grid-template-columns:1fr}.anpage .tgrid td{min-width:64px;height:56px}.anpage .tgrid td.cell b{font-size:17px}}
.anpage .ct td.ex .form{font-size:15px;color:var(--ink-2)}
/* the top bar: the language's step under its name, and an analysis while it runs (TopBarStage.html C) */
.bar .stageline{align-items:center;gap:8px}
.bar .stage{display:inline-flex;align-items:center;gap:6px;color:var(--muted);text-decoration:none}
.bar a.stage:hover span:last-child{color:var(--ink);text-decoration:underline}
.bar .stage .pill{padding:1px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink);font-weight:600;font-size:12px;white-space:nowrap}
.bar .stageline .run:empty{display:none}.bar .stageline .run::before{content:"· "}
.bar .counts .lname{color:var(--ink-2);font-weight:500;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* the list's counts on one line, so the bar keeps its height; on a phone they may wrap */
.bar .prog{max-width:520px}.bar .prog .counts{flex-wrap:nowrap;white-space:nowrap;min-width:0}
@media (max-width:700px){.bar .prog .counts{flex-wrap:wrap;white-space:normal}}
/* The top bar on smaller screens never breaks in the middle: its pieces give way in order. The person's name becomes
   their initial (the menu still opens); then (1400px) the list's progress takes a line of its own under the name;
   on a phone the name has a line of its own too, and the bar stops following the page so it never covers the
   screen. The step line and the list's name shorten with "…". */
.bar .lang{min-width:0}.bar .lang .what{min-width:0}
.bar .stage{min-width:0}.bar .stage>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar .findbtn,.bar .stopbtn,.bar .who{flex-shrink:0}
@media (min-width:1401px){
  /* one line, and it stays one line whatever the zoom or the fonts */
  .bar{flex-wrap:nowrap}
  .bar .lang{flex:0 1 auto}.bar .lang b{white-space:nowrap}.bar .lang .what{flex-wrap:nowrap}.bar .stageline .run{white-space:nowrap}
  .bar .prog{flex:1 1 240px;min-width:240px}.bar .prog .counts{min-width:0;overflow:hidden}
  .bar .counts .lname{flex:0 1 auto;min-width:0}
}
@media (max-width:1700px){
  .bar .who>summary .nt,.bar .who>summary .chev{display:none}.bar .who>summary{padding:3px}
}
@media (max-width:1400px){
  .bar{row-gap:10px}
  .bar .lang{flex:1 1 0}                     /* the name takes what is left; its step line wraps rather than the buttons */
  .bar .prog{order:10;flex:1 1 100%;max-width:none}
}
@media (max-width:720px){
  .main>[data-part=bar]{position:static}
  .bar{gap:10px 12px;padding-top:10px;padding-bottom:10px;justify-content:flex-end}      /* the buttons at the right */
  .bar .lang{flex:1 1 100%}.bar .grow{display:none}
  .bar .findbtn{order:11}.bar .stopbtn{order:12}.bar .who{order:13}
  .bar .prog .counts{gap:4px 12px}
}
.prog.anrun .antrack{display:flex;gap:2px;height:10px;border-radius:5px;overflow:hidden}
.prog.anrun .antrack i{flex:1;background:var(--inset)}.prog.anrun .antrack i.d{background:var(--teal)}
.prog.anrun .antrack i.n{background:repeating-linear-gradient(-45deg,var(--accent) 0 5px,var(--accent-soft) 5px 10px);background-size:14px 14px;animation:anslide 1s linear infinite}
@keyframes anslide{to{background-position:14px 0}}
@media (prefers-reduced-motion:reduce){.prog.anrun .antrack i.n{animation:none}}
.prog.anrun .anline{gap:10px}
/* the built-in standard list (ListSurvey.html 3) */
.tile.list.builtin{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-soft)}
.tile.list .bi{margin-left:8px;padding:1px 8px;border-radius:999px;background:var(--teal-soft);color:var(--teal-ink);font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;vertical-align:middle}
/* the list page: the language's lists side by side, and the built-in list's numbers (ListSurvey.html) */
.listpage .ltabrow{display:flex;align-items:flex-end;gap:12px;border-bottom:1px solid var(--rule);margin-top:-6px}
.listpage .ltabs{display:flex;gap:4px;flex-wrap:wrap}
.listpage .ltabs a{padding:9px 16px;font-size:15px;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.listpage .ltabs a:hover{color:var(--ink)}.listpage .ltabs a.on{color:var(--ink);font-weight:600;border-bottom-color:var(--accent)}
.listpage .ltabs small{color:var(--muted);font-weight:400;margin-left:5px}.listpage .ltabrow .exp{margin-bottom:6px}
.listpage .s600{margin-left:6px;padding:0 6px;border-radius:999px;border:1px solid var(--teal-line);background:var(--teal-soft);color:var(--teal-ink);font-size:11px;font-weight:600;white-space:nowrap}
/* the list page: Export the words (ListExport.html) */
.listpage .exp{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border-radius:10px;border:1px solid var(--accent);background:var(--panel);color:var(--accent-ink);font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.listpage .exp:hover{background:var(--accent-soft)}
/* Export the words, design A (ExportDialog.html): choices left, the file's preview right, what you get in the foot */
dialog.expdlg{max-width:1280px;width:calc(100% - 32px);padding:0;border-radius:16px;overflow:hidden}
.expdlg form{display:flex;flex-direction:column;max-height:calc(100vh - 48px)}
.expdlg .xhead{padding:18px 22px 12px;border-bottom:1px solid var(--rule)}.expdlg .xhead h2{margin:0}.expdlg .xhead .small{margin:2px 0 0}
.expdlg .xbody{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:0;overflow:auto}
.expdlg .xleft{padding:16px 22px;display:flex;flex-direction:column;gap:16px;border-right:1px solid var(--rule)}
.expdlg .xright{padding:16px 22px;display:flex;flex-direction:column;gap:8px;min-width:0}
.expdlg .xgrp{display:flex;flex-direction:column;gap:7px}
.expdlg .xlab{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.expdlg .xseg{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:10px;overflow:hidden}
.expdlg .xseg[data-g=fmt]{grid-template-columns:1fr 1fr 1fr}
/* one list (or an odd one at the end): it takes the whole row, no empty half beside it */
.expdlg .xseg[data-g=list] button:last-child:nth-child(odd){grid-column:1/-1}
.expdlg .xseg button{font:inherit;font-size:13.5px;padding:7px 11px;border:0;background:var(--panel);color:var(--ink);cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;line-height:1.25;text-align:left}
.expdlg .xseg button b{font-weight:500;white-space:nowrap}.expdlg .xseg button small{color:var(--muted);font-size:12px}
.expdlg .xseg button.on{background:var(--accent);color:var(--on-accent)}.expdlg .xseg button.on small{color:var(--on-accent);opacity:.8}
.expdlg .xseg button:disabled{color:var(--faint);cursor:default}
.expdlg .xseg button:focus-visible,.expdlg .xchip:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.expdlg .xchips{display:flex;flex-wrap:wrap;gap:6px}
.expdlg .xchip{font:inherit;font-size:13px;padding:4px 11px;border-radius:999px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);cursor:pointer}
.expdlg .xchip.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}.expdlg .xchip.on::before{content:"✓ "}
.expdlg .xchip:disabled{color:var(--faint);opacity:.7;cursor:default}.expdlg .xchip:disabled.on::before{content:""}
.expdlg .xchip.fixed{background:var(--inset);border-color:var(--inset);color:var(--muted);cursor:default}
.expdlg .prev{border:1px solid var(--rule);border-radius:10px;overflow:auto;max-height:340px;background:var(--panel);font-size:12.5px;transition:opacity .15s}
.expdlg .prev.loading{opacity:.55}
.expdlg .prev table{width:100%;border-collapse:collapse}.expdlg .prev th,.expdlg .prev td{text-align:left;padding:6px 9px;border-top:1px solid var(--rule);white-space:nowrap}
.expdlg .prev th{border-top:0;background:var(--panel-2);color:var(--muted);font-weight:500;position:sticky;top:0}
.expdlg .prev td.form{font-size:14px}.expdlg .prev td.e{color:var(--faint)}
.expdlg .prev td{white-space:pre-line;min-width:44px;max-width:300px;vertical-align:top}.expdlg .prev td:first-child{min-width:0}
.expdlg .xfoot{display:flex;align-items:center;gap:10px;padding:12px 22px;border-top:1px solid var(--rule);background:var(--panel-2)}
.expdlg .xfoot .sum{flex:1;font-size:13.5px;color:var(--muted)}.expdlg .xfoot .sum b{color:var(--ink)}
.expdlg .xfoot .btn,.expdlg .xfoot .btn2{white-space:nowrap}
@media (max-width:820px){.expdlg .xbody{grid-template-columns:1fr}.expdlg .xleft{border-right:0;border-bottom:1px solid var(--rule)}}
/* Export → To check with the community, and Import answers (ExportForChecking.html, steps 1 and 3) */
.expdlg .xseg.xfor{grid-template-columns:1fr}
.expdlg .xseg.xfor button{padding:9px 12px}.expdlg .xseg.xfor button b{white-space:normal}
.expdlg .xseg[data-g=sheet]{grid-template-columns:1fr 1fr 1fr}
.expdlg .xleft select,.expdlg .xleft input{width:100%;box-sizing:border-box}
.expdlg .prev td.ch .form{font-size:14.5px}
.expdlg .prev td.ch small{display:block;font-family:var(--sans);font-size:11.5px;color:var(--muted);white-space:normal}
.expdlg .xchip small{color:var(--muted)}
.expdlg .xholds{margin:6px 0 10px;padding-left:18px}.expdlg .xholds li{margin:3px 0}
/* the words with no Chinese yet, and the two ways to fill them (ExportChinese.html A) */
.expdlg .xzh{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--notice-line);border-radius:12px;background:var(--pick-tint);font-size:14px}
.expdlg .xzh b{color:var(--pick-ink)}.expdlg .xzh .acts{display:flex;gap:8px;flex-wrap:wrap}
.expdlg .xzh .bar{height:6px;border-radius:3px;background:var(--rule);overflow:hidden}.expdlg .xzh .bar i{display:block;height:100%;background:var(--accent)}
.expdlg .xzh.done{border-color:var(--rule);background:var(--panel)}
.expdlg .prev td.ch{background:var(--inset)}.expdlg .prev td.ans{background:var(--notice-bg);min-width:90px}
.impdlg .xbody1{padding:16px 22px;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:12px}
.impdlg .drop{display:grid;place-items:center;text-align:center;padding:34px 20px;border:2px dashed var(--accent-line);border-radius:16px;background:var(--panel);cursor:pointer}
.impdlg .drop.over{background:var(--accent-soft)}.impdlg .drop b{font-size:17px}
.impdlg .isum{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.impdlg .isum div{padding:10px 14px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}
.impdlg .isum b{display:block;font-family:var(--serif);font-size:24px;font-weight:600}.impdlg .isum span{font-size:13px;color:var(--muted)}
.impdlg .isum .ok b{color:var(--teal)}.impdlg .isum .fx b{color:var(--accent)}.impdlg .isum .no b{color:var(--miss)}.impdlg .isum .warn b{color:var(--pick)}
.impdlg .iwho{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:10px 14px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}
.impdlg .iwho input{min-height:36px;width:180px}.impdlg .iwho .grow{flex:1}
.impdlg .iwarn{padding:10px 14px;border:1px solid var(--notice-line);background:var(--notice-bg);color:var(--notice-ink);border-radius:12px;font-size:14px}
.impdlg .ishow{display:flex;flex-wrap:wrap;gap:6px}.impdlg .ishow .xchip.on::before{content:""}
.impdlg .itable{border:1px solid var(--rule);border-radius:12px;overflow:auto;max-height:46vh;background:var(--panel)}
.impdlg table.imp{width:100%;border-collapse:collapse;font-size:14px}
.impdlg table.imp th{text-align:left;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);padding:8px 12px;border-bottom:1px solid var(--rule);position:sticky;top:0;background:var(--panel-2)}
.impdlg table.imp td{padding:8px 12px;border-top:1px solid var(--rule);vertical-align:top}
.impdlg .st{display:inline-block;padding:1px 9px;border-radius:999px;font-size:13px}
.impdlg .st.ok{background:var(--teal-soft);color:var(--teal-ink)}.impdlg .st.fx{background:var(--accent-soft);color:var(--accent-ink)}
.impdlg .st.no{background:var(--miss-tint);color:var(--miss)}.impdlg .st.w{background:var(--notice-bg);color:var(--pick)}
@media (max-width:820px){.impdlg .isum{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* The collected words (CollectedWords.html): Collected → Words (A) and The list's "Collected, not on the list" (B) */
.cover .counts a.cwlink{color:inherit;text-decoration:none;border-bottom:1px dashed var(--accent-line)}
.cover .counts a.cwlink:hover{color:var(--accent);border-bottom-color:var(--accent)}
.cover .counts a.cwlink:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.listpage .ltabs a.cwtab{margin-left:12px;border-left:1px solid var(--rule);padding-left:20px}
.cwpage{display:flex;flex-direction:column;gap:16px;max-width:1100px}
.cwords{overflow:hidden}
.cwords .tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--rule)}
.cwords .seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--rule);border-radius:999px;padding:2px;background:var(--panel)}
.cwords .seg a{padding:5px 12px;border-radius:999px;font-size:14px;color:var(--muted);text-decoration:none;white-space:nowrap}
.cwords .seg a b{font-weight:600}.cwords .seg a:hover{color:var(--ink)}
.cwords .seg a[aria-current]{background:var(--ink);color:var(--ground)}
.cwords .cwfind{display:flex;gap:8px;flex:1 1 260px;min-width:0}
.cwords .cwexp{position:relative}.cwords .cwexp summary{list-style:none;display:inline-flex;align-items:center;cursor:pointer}.cwords .cwexp summary::-webkit-details-marker{display:none}.cwords .cwexp .menu{position:absolute;right:0;top:calc(100% + 6px);z-index:5;width:260px;padding:10px;border:1px solid var(--rule);border-radius:12px;background:var(--panel);box-shadow:0 12px 30px -12px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:2px}.cwords .cwexp .menu p{margin:0 0 6px}.cwords .cwexp .menu button{font:inherit;text-align:left;padding:7px 10px;border:0;border-radius:8px;background:none;color:var(--ink);cursor:pointer}.cwords .cwexp .menu button:hover{background:var(--inset)}.cwords .cwexp .cols{display:flex;flex-direction:column;gap:4px;padding:2px 10px 8px;margin:0 0 4px;border-bottom:1px solid var(--rule)}.cwords .cwexp .cols label{display:flex;gap:8px;align-items:center;font-size:14px;cursor:pointer}
.cwords .cwfind input{flex:1;min-width:0;min-height:36px;padding:0 12px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit}
.cwords td.form{font-size:17px}
.cwords td.act{text-align:right;white-space:nowrap}.cwords td.act .said{margin-left:8px}
.cwords .chip.on{display:inline-flex;padding:2px 10px;font-size:12.5px;border:0;background:var(--teal-soft);color:var(--teal-ink);text-decoration:none}
.cwords a.chip.on:hover{text-decoration:underline}
.cwords .chip.off{display:inline-flex;padding:2px 10px;font-size:12.5px;border:0;background:var(--inset);color:var(--muted)}
.cwords .foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid var(--rule)}
.cwords .foot .pager{display:flex;gap:16px}
@media (max-width:720px){.cwords th.src,.cwords td.src{display:none}.listpage .ltabs a.cwtab{margin-left:0;border-left:0;padding-left:16px}}
/* The sidebar folds to a rail of icons (SidebarNarrow.html A): the button beside the corner folds it and opens it
   again; the choice is kept in this browser and set before the page draws (parts.THEME_HEAD). Folded, every page
   keeps its icon, a step's number marks its group, a running Collect keeps its dot, and pointing at an icon (or
   reaching it with Tab) shows its name and line beside it (app.js). A phone keeps its Menu: nothing folds there. */
.sidetop{display:flex;align-items:center;gap:6px}.sidetop .brand{flex:1;min-width:0}
.sidefold{display:inline-grid;place-items:center;width:34px;height:34px;flex-shrink:0;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
.sidefold:hover{background:var(--inset);color:var(--ink)}.sidefold:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.sidefold .ic-unfold,:root[data-side=rail] .sidefold .ic-fold{display:none}:root[data-side=rail] .sidefold .ic-unfold{display:inline}
.sidefold .when-rail,:root[data-side=rail] .sidefold .when-wide{display:none}:root[data-side=rail] .sidefold .when-rail{display:inline}
.side .nav{position:relative}
.side .nav .live{width:7px;height:7px;border-radius:4px;background:var(--pick);margin-left:auto;flex-shrink:0;animation:pulse 1.4s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.side .nav .live{animation:none}}
@media (max-width:720px){.sidefold{display:none}}
.sidetip{position:fixed;z-index:60;pointer-events:none;max-width:260px;padding:6px 10px;border-radius:8px;background:var(--ink);color:var(--ground);font-size:13px;line-height:1.3;box-shadow:0 10px 24px -10px rgba(0,0,0,.5)}
.sidetip small{display:block;opacity:.75;font-size:12px}
@media (min-width:721px){
  :root[data-side=rail] .side{flex:0 0 72px;max-width:72px;padding:16px 10px;align-items:center}
  :root[data-side=rail] .side .sidehead{margin:-16px -10px 0;padding:16px 10px 10px;align-items:center;align-self:stretch}
  :root[data-side=rail] .side .sidetop{flex-direction:column;gap:6px}
  :root[data-side=rail] .side .brand{padding:4px 0;flex:none}
  :root[data-side=rail] .side .brand .nm,:root[data-side=rail] .side .sect{display:none}
  :root[data-side=rail] .side .newlang{width:44px;min-height:44px;padding:0;border-radius:12px;justify-content:center}
  :root[data-side=rail] .side .newlang .lbl,:root[data-side=rail] .side .nav .nt,:root[data-side=rail] .side .step .sh b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  :root[data-side=rail] .side nav,:root[data-side=rail] .side .steps{align-items:center;align-self:stretch}
  :root[data-side=rail] .side .nav,:root[data-side=rail] .side .steps .nav{width:48px;height:42px;padding:0;justify-content:center;gap:0}
  :root[data-side=rail] .side .nav .lead,:root[data-side=rail] .side .nav .num{display:none}
  :root[data-side=rail] .side .step{display:flex;flex-direction:column;align-items:center;align-self:stretch;margin-top:6px;padding-top:8px;border-top:1px solid var(--rule)}
  :root[data-side=rail] .side .step .sh{padding:0 0 4px;justify-content:center;gap:0}
  :root[data-side=rail] .side .steps{padding-bottom:8px;margin-bottom:6px;border-bottom:1px solid var(--rule)}   /* then Your work */
  :root[data-side=rail] .side .nav .live{position:absolute;top:8px;right:9px;margin:0}
}
/* Analysis: also read the collected words not on the list (on the start and in What it read) */
.colsw{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;margin:10px 0;border:1px solid var(--rule);border-radius:10px;background:var(--panel)}
.colsw .nt{display:flex;flex-direction:column;gap:2px}.colsw .sw{margin-top:2px}
.colsw .said:empty{display:none}
/* beside Analyse again: what it reads, as two joined buttons; a new choice lights the button up until it runs */
.anctl{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.seg2{display:inline-flex;padding:3px;border:1px solid var(--rule);border-radius:999px;background:var(--panel)}
.seg2 button{min-height:30px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--muted);font:inherit;font-size:13.5px;cursor:pointer;white-space:nowrap}
.seg2 button:hover{color:var(--ink)}.seg2 button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-ink);font-weight:600}
.seg2 button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.seg2 button.wide[aria-pressed=true]{background:var(--notice-bg);color:var(--pick)}      /* every town: other places' speech */
.colsw .seg2{align-self:flex-start;margin-top:8px}
.anctl .again{min-height:38px;padding:0 14px;border-radius:999px;gap:8px}
.anctl{position:relative}
.anctl .due{display:none;position:absolute;right:4px;top:calc(100% + 3px);white-space:nowrap;color:var(--pick)}   /* under the button: nothing moves */
.anctl.changed .again{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.anctl.changed .due{display:inline}
.anpage .anright{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.anpage .anright .anctl{justify-content:flex-end}
@media (max-width:720px){.anpage .anright{align-items:flex-start}.anpage .anright .anctl{justify-content:flex-start}}
/* Collected, friendly (docs/mockups/pages/CollectedBeautiful.html): what was found, what to do next, where the words
   come from and their towns, the places asked, every kind to browse. Every class starts with cx-. */
.cxpage{display:flex;flex-direction:column;gap:0;max-width:1180px;--cx-s1:var(--accent);--cx-s2:var(--teal);--cx-s3:var(--pick);--cx-s4:var(--ai,#8A6F9E)}
.cxpage .card{border-radius:16px}
.cx-head{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}
.cx-head h1{font-family:var(--serif);font-size:32px;font-weight:600;letter-spacing:-.01em;margin:2px 0 0;line-height:1.12}
.cx-head p{margin:6px 0 0;color:var(--muted);max-width:70ch}
.cx-find{box-sizing:border-box;display:flex;align-items:center;gap:10px;min-width:min(380px,100%);min-height:46px;padding:0 5px 0 16px;border:1px solid var(--rule);border-radius:999px;background:var(--panel);color:var(--muted)}
.cx-find input{flex:1;min-width:0;border:0;background:none;color:var(--ink);font:inherit;outline:none}
.cx-find:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.cx-find .btn{min-height:36px;border-radius:999px}
.cx-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1.05fr);gap:26px;align-items:center;margin-top:20px;padding:24px 26px;
  background:linear-gradient(135deg,var(--accent-soft) 0%,var(--panel) 55%)}
.cx-donut{position:relative;width:168px;height:168px}.cx-donut svg{transform:rotate(-90deg)}
.cx-ring0,.cx-ring1,.cx-ring2{fill:none;stroke-width:18}.cx-ring0{stroke:var(--inset)}.cx-ring1{stroke:var(--teal);stroke-linecap:round}.cx-ring2{stroke:var(--accent-line)}
.cx-mid{position:absolute;inset:0;display:grid;place-items:center;text-align:center}
.cx-mid b{display:block;font-family:var(--serif);font-size:32px;font-weight:600;line-height:1}.cx-mid span{font-size:12.5px;color:var(--muted)}
.cx-facts{display:flex;flex-direction:column;gap:12px;min-width:0}
.cx-key{display:flex;gap:14px;flex-wrap:wrap;font-size:13.5px;color:var(--muted)}.cx-key b{color:var(--ink)}
.cx-key i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.cx-k1{background:var(--teal)}.cx-k2{background:var(--accent-line)}
.cx-fact{display:flex;align-items:center;gap:12px}.cx-fact b{font-size:19px;font-weight:600;margin-right:6px}.cx-fact span:last-child{color:var(--muted)}
.cx-fic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--panel);border:1px solid var(--rule);color:var(--accent)}
.cx-next{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:14px;background:var(--panel);border:1px solid var(--rule);min-width:0}
.cx-next a{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:10px;text-decoration:none;color:var(--ink)}
.cx-next a:hover,.cx-next a:focus-visible{background:var(--inset);outline:none}
.cx-nic{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-ink);flex-shrink:0}
.cx-next a.cx-warm .cx-nic{background:var(--notice-bg);color:var(--pick)}.cx-next a.cx-green .cx-nic{background:var(--teal-soft);color:var(--teal-ink)}
.cx-t{min-width:0}.cx-t b{display:block;font-weight:600;font-size:14.5px}.cx-t span{font-size:13px;color:var(--muted)}
.cx-arrow{margin-left:auto;color:var(--muted)}
.cx-sec{margin-top:28px}
.cx-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:18px;font-weight:600;margin:0 0 12px}.cx-h .small{font-weight:400}
.cx-srcs{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;align-items:start}
.cx-sources{display:flex;flex-direction:column;gap:12px}
.cx-sc{display:grid;grid-template-columns:6px minmax(0,1fr) auto;gap:16px;padding:16px 18px 16px 0;overflow:hidden}
.cx-stripe{background:var(--cx-c);border-radius:0 6px 6px 0}
.cx-sc h3{margin:0;font-size:16px;font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cx-sc p{margin:3px 0 8px;color:var(--muted);font-size:14px}
.cx-tag{display:inline-flex;align-items:center;padding:1px 9px;border-radius:999px;font-size:12px;font-weight:500;background:var(--inset);color:var(--muted)}
.cx-tag.cx-ref{background:var(--accent-soft);color:var(--accent-ink)}a.cx-tag{text-decoration:none}a.cx-tag:hover{text-decoration:underline}.cx-tag.cx-rough{background:var(--notice-bg);color:var(--pick)}
.cx-share{height:8px;border-radius:4px;background:var(--inset);overflow:hidden}.cx-share i{display:block;height:100%;background:var(--cx-c);border-radius:4px}
.cx-towns{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.cx-town{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;border:1px solid var(--rule);font-size:12.5px;color:var(--ink-2);background:var(--panel)}
.cx-town i{width:7px;height:7px;border-radius:4px;background:var(--cx-c)}
.cx-num{text-align:right}.cx-num b{display:block;font-family:var(--serif);font-size:26px;font-weight:600;line-height:1.1}.cx-num span{font-size:12.5px;color:var(--muted)}
.cx-num a{display:inline-block;margin-top:10px;font-size:13.5px;font-weight:500;text-decoration:none}
.cx-mapcard{padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.cx-mapcard svg{width:100%;height:auto;border-radius:12px;background:var(--inset)}
.cx-gridline{stroke:var(--rule);stroke-width:.6}.cx-halo{fill:var(--accent);opacity:.22}.cx-dot{fill:var(--accent)}
.cx-lbl{font-size:11px;fill:var(--ink-2);font-family:inherit;font-weight:500}
.cx-tlist{list-style:none;margin:0;padding:0}.cx-tlist li{display:flex;justify-content:space-between;padding:6px 0;border-top:1px solid var(--row);font-size:14px}
.cx-tlist li:first-child{border-top:0}.cx-mapcard .btn2{align-self:flex-start}
.cx-asked{padding:18px 20px}
.cx-abar{display:flex;height:14px;border-radius:7px;overflow:hidden;gap:2px;margin:0 0 12px}.cx-abar i{display:block}
.cx-agave{background:var(--teal)}.cx-aneed{background:var(--pick)}.cx-anone{background:var(--rule-2)}.cx-aoff{background:repeating-linear-gradient(-45deg,var(--rule-2) 0 4px,transparent 4px 8px)}
.cx-agrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cx-ag{border:1px solid var(--rule);border-radius:12px;padding:12px 14px;background:var(--panel);cursor:pointer;text-align:left;font:inherit;color:var(--ink)}
.cx-ag[aria-expanded=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.cx-ag:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cx-ag b{display:block;font-size:22px;font-family:var(--serif);font-weight:600}.cx-ag span{font-size:13.5px;color:var(--muted)}
.cx-ag.cx-need{background:var(--notice-bg);border-color:var(--notice-line)}.cx-ag.cx-need b{color:var(--pick)}
.cx-gdot{display:inline-block;width:9px;height:9px;border-radius:5px;margin-right:6px}.cx-gdot.cx-aoff{border:1px dashed var(--muted)}
.cx-alist{margin-top:12px}
.cx-row{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px 4px;border-top:1px solid var(--row);font-size:14.5px}
.cx-row:first-child{border-top:0}.cx-row b{font-weight:500}.cx-row>span{color:var(--muted)}.cx-row .cx-c{font-weight:600;color:var(--ink)}
.cx-hint{margin:8px 4px 0}
.cx-browse{overflow:hidden}
.cx-tabs{display:flex;gap:2px;overflow-x:auto;overflow-y:hidden;padding:6px 8px 0;border-bottom:1px solid var(--rule);scrollbar-width:none}
.cx-tabs::-webkit-scrollbar{display:none}            /* the tabs swipe sideways on a phone, with no bar (#126's Chrome on Linux) */
.cx-tabs button{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:inherit;font-size:14.5px;cursor:pointer;white-space:nowrap;margin-bottom:-1px}
.cx-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
.cx-tabs button.cx-zero{opacity:.65}.cx-n{font-size:12px;padding:0 8px;border-radius:999px;background:var(--inset);font-weight:500;color:var(--muted)}
.cx-pbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 18px;border-bottom:1px solid var(--row)}.cx-grow{flex:1}
.cx-seg{display:inline-flex;padding:3px;border:1px solid var(--rule);border-radius:999px;background:var(--panel)}
.cx-seg button{min-height:30px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--muted);font:inherit;font-size:13.5px;cursor:pointer}
.cx-seg button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-ink);font-weight:600}
.cx-list{padding:6px 14px 12px;display:flex;flex-direction:column}
.cx-it{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 6px;border:0;border-top:1px solid var(--row);background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:10px}
.cx-it:first-child{border-top:0}.cx-it:hover,.cx-it:focus-visible{background:var(--panel);outline:none}
.cx-badge{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:12px;font-weight:600}
.cx-pdf{background:var(--miss-tint);color:var(--miss)}.cx-aud{background:var(--accent-soft);color:var(--accent-ink)}.cx-vid{background:var(--ai-soft,#E6DFF0);color:var(--ai,#6B4F8A)}.cx-txt{background:var(--teal-soft);color:var(--teal-ink)}
.cx-itx{min-width:0}.cx-itx b{display:block;font-weight:500;overflow-wrap:anywhere}.cx-itx .small{display:block}
.cx-why{display:inline-block;margin-top:3px;padding:1px 8px;border-radius:999px;background:var(--notice-bg);color:var(--pick);font-size:12px}
.cx-empty{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;align-items:center;padding:20px 6px}
.cx-eic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--inset);color:var(--muted)}
.cx-empty b{display:block;font-size:15.5px}.cx-empty p{margin:2px 0 8px;color:var(--muted);font-size:14px}.cx-none{padding:14px 6px;margin:0}
.cx-drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100%);z-index:60;background:var(--panel);border-left:1px solid var(--rule);box-shadow:-20px 0 40px -20px rgba(0,0,0,.35);padding:22px;overflow:auto}
.cx-x{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:17px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font-size:20px;cursor:pointer}
.cx-drawer h3{margin:4px 40px 6px 0;font-size:18px;overflow-wrap:anywhere}
.cx-drawer dl{display:grid;grid-template-columns:100px 1fr;gap:6px 12px;font-size:14px;margin:14px 0}.cx-drawer dt{color:var(--muted)}.cx-drawer dd{margin:0;overflow-wrap:anywhere}
.cx-drawer audio,.cx-drawer video{width:100%;margin-top:10px;border-radius:10px}
.cx-drawer iframe{width:100%;height:60vh;border:1px solid var(--rule);border-radius:10px;margin-top:10px;background:#fff}
.cx-dacts{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
@media (max-width:980px){.cx-hero{grid-template-columns:auto minmax(0,1fr)}.cx-next{grid-column:1/-1}.cx-srcs{grid-template-columns:1fr}.cx-agrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.cx-head h1{font-size:26px}.cx-hero{grid-template-columns:1fr;justify-items:center;padding:20px}.cx-facts{width:100%}
  .cx-sc{grid-template-columns:6px minmax(0,1fr)}.cx-num{grid-column:2;text-align:left;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.cx-num a{margin:0 0 0 auto}
  .cx-row{grid-template-columns:1fr auto}.cx-row>span:not(.cx-c){grid-column:1/-1}.cx-it{grid-template-columns:40px minmax(0,1fr)}.cx-it .cx-go{display:none}}

/* a dialect on Collect (Dialects.html, step 2) */
.variety{display:flex;gap:14px;align-items:flex-start;padding:14px 18px;margin:0 0 16px;border-radius:14px;border:1px solid var(--rule);background:var(--panel)}
.variety .vic{flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--teal-soft);color:var(--teal-ink);font-weight:700}
.variety .vchips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}
.variety .vchip{padding:2px 10px;border-radius:999px;border:1px solid var(--rule);background:var(--ground);font-size:13px}
.variety .vchip.me{border-color:var(--teal);background:var(--teal-soft);color:var(--teal-ink);font-weight:600}
.vpill{display:inline-block;margin-left:6px;padding:0 8px;border-radius:999px;background:var(--notice-bg);color:var(--pick);font-size:12px;font-weight:500;white-space:nowrap}
/* a dialect's lists by variety on Collected (Dialects.html, step 4) */
.cx-varieties .cx-vgroup{padding:10px 0 4px;border-top:1px solid var(--row)}.cx-varieties .cx-vgroup:first-of-type{border-top:0}
.cx-varieties .cx-vgroup>b{font-size:15px}.cx-varieties .cx-vown>b{color:var(--teal-ink)}.cx-varieties .cx-vgroup .small{display:block}
/* Books and articles to find (WorldCollection.html, step 2) */
.cx-leads{padding:0;overflow:hidden}
.cx-lhead{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--rule)}
.cx-lhead .chip{cursor:pointer;font:inherit;font-size:13px}
.cx-lhead .chip[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-ink)}
.cx-llist{list-style:none;margin:0;padding:0}
.cx-llist li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center;padding:12px 16px;border-top:1px solid var(--row)}
.cx-llist li:first-child{border-top:0}
.cx-leads:not([data-all]) .cx-llist li:not([data-lw]){display:none}
.cx-llist li.cx-lskip{opacity:.6}
.cx-lt{font-weight:600;color:var(--ink);text-decoration:none}.cx-lt:hover{text-decoration:underline}
.cx-lm{display:flex;gap:6px;flex-wrap:wrap;align-items:baseline;margin-top:3px}
.cx-kind{display:inline-block;padding:0 7px;border-radius:6px;font-size:12px;background:var(--inset);color:var(--ink-2)}
.cx-lacts{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.cx-lstate{font-size:13px;font-weight:500;white-space:nowrap}
.cx-lstate.cx-lhave{color:var(--teal-ink)}.cx-lstate.cx-lno{color:var(--muted)}.cx-lstate.cx-lfind{color:var(--pick)}
@media (max-width:720px){.cx-llist li{grid-template-columns:1fr}.cx-lacts{justify-content:flex-start}}
/* Collect: how it decided, and the parts of Libraries and archives (WorldCollection.html, step 1, A) */
.card.plan .path .decided{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:var(--accent-soft);color:var(--accent-ink);font-size:13.5px;line-height:1.5}
.card.plan .path .decided b{color:var(--ink)}
.card.plan .path ul.parts{list-style:none;margin:6px 0 2px;padding:0;display:grid;gap:5px}
.card.plan .path ul.parts li{position:relative;padding-left:16px;font-size:13.5px}
.card.plan .path ul.parts li::before{content:"";position:absolute;left:2px;top:7px;width:7px;height:7px;border-radius:4px;background:var(--accent-line)}
.card.plan .path ul.parts b{font-weight:600;margin-right:6px}
/* Settings: learned places (WorldCollection.html, step 3) */
.learnadd{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px;align-items:center;margin-top:12px}
.learnadd>b{grid-column:1/-1;font-size:14px}
.learnadd .said{grid-column:1/-1}
.learnadd input{min-width:0;padding:8px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit}
table.learned td:first-child{min-width:260px}
table.works td:first-child{min-width:340px;width:55%}
.chip.warm{background:var(--notice-bg);color:var(--pick);border-color:var(--notice-line)}
@media (max-width:900px){.learnadd{grid-template-columns:1fr}}
/* Libraries and archives in parts, on the running card and in Extended (WorldCollection.html, step 1, A) */
.parts{display:grid;gap:8px;margin-top:6px}
.parts .part{padding-left:12px;border-left:2px solid var(--rule)}
.parts .ptitle{font-size:13px;font-weight:600;color:var(--ink-2)}
.parts .part .chips{margin-top:4px}
.card.plan.live .path .decided{margin:0 0 12px}
/* Extended → Search for (WorldCollection.html, step 1) */
.sfgrp .sfrow{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px;align-items:start;padding:6px 0;border-top:1px solid var(--row)}
.sfgrp .sfrow:first-of-type{border-top:0}
.sfgrp .sflabel{font-size:13px;color:var(--muted);padding-top:4px}
.sfgrp .chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.chip.sf{display:inline-flex;align-items:center;gap:4px}
.chip.sf .x{border:0;background:none;color:var(--muted);font:inherit;cursor:pointer;padding:0 2px}
.chip.sf .x:hover{color:var(--miss)}
.sfadd{display:inline-flex;gap:4px}
.sfadd input{width:170px;padding:4px 8px;border:1px dashed var(--rule-2);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:13px}
@media (max-width:720px){.sfgrp .sfrow{grid-template-columns:1fr}}
/* Fetching and checking, on the running card (RunDownloading.html, A) */
.parts.fetch{gap:6px}
.fbar{height:8px;border-radius:4px;background:var(--inset);overflow:hidden;display:flex;margin:6px 0 2px}
.fbar i{display:block;height:100%;transition:width .6s}
.fbar .ok{background:var(--teal)}.fbar .no{background:var(--miss)}.fbar .go{background:var(--pick)}
.ftally{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.ftally b{color:var(--ink)}
.ftally .k{display:inline-block;width:8px;height:8px;border-radius:4px;margin-right:5px}
.ftally .k.ok{background:var(--teal)}.ftally .k.no{background:var(--miss)}.ftally .k.go{background:var(--pick)}.ftally .k.wait{background:var(--rule-2)}
.ffiles{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:6px}
.ffiles li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;font-size:13px}
.ffiles .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ffiles .sz{color:var(--muted);font-variant-numeric:tabular-nums}
.ffiles .fb{grid-column:1/-1;height:4px;border-radius:2px;background:var(--inset);overflow:hidden}
.ffiles .fb i{display:block;height:100%;background:var(--pick);transition:width .6s}
.fdone{font-size:13px}.fdone>div{display:flex;gap:8px;padding:1px 0}.fdone .bad{color:var(--miss)}
.fbar .aside{background:var(--rule-2)}.ftally .k.aside{background:var(--rule-2)}
.ffiles .sz{display:inline-flex;gap:8px;align-items:center}
.skipf{border:1px solid var(--rule);background:var(--panel);color:var(--ink-2);border-radius:999px;font:inherit;font-size:12px;padding:0 8px;cursor:pointer}
.skipf:hover{border-color:var(--miss);color:var(--miss)}


/* Add real data: a chosen folder's files, read at once, each column's role to change (VocabularyFiles.html A) */
.plain.folders li .yfiles{flex-basis:100%;display:flex;flex-direction:column;gap:10px;margin:4px 0 8px}
.yfile{border:1px solid var(--rule);border-radius:14px;background:var(--panel-2);padding:12px 14px}
.yfile h4{margin:0;font-size:15px;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.yfile h4 .small{font-weight:400}
.kindtag{display:inline-block;padding:1px 9px;border-radius:999px;font-size:12px;font-weight:600;background:var(--inset);color:var(--muted)}
.kindtag.list{background:var(--teal-soft);color:var(--teal-ink)}.kindtag.text{background:var(--accent-soft);color:var(--accent-ink)}
.yfile .colmap{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin:10px 0 8px}
.yfile .colmap div{padding:8px 10px;border:1px solid var(--rule);border-radius:10px;background:var(--panel)}
.yfile .colmap b{display:block;font-size:13px;overflow-wrap:anywhere}
.yfile .colmap select{width:100%;margin-top:4px;padding:4px 6px;border:1px solid var(--rule-2);border-radius:8px;background:var(--panel-2);color:var(--ink);font:inherit;font-size:13px}
.yfile .tscroll{overflow-x:auto}
.yfile table.t{width:100%;border-collapse:collapse;font-size:14px}
.yfile table.t th{text-align:left;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:6px 10px;border-bottom:1px solid var(--rule)}
.yfile table.t td{padding:6px 10px;border-top:1px solid var(--row);vertical-align:top}
.yfile .tally{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:8px}.yfile .tally b{color:var(--ink)}
.yfile .preview{margin:8px 0 0;font-size:15px}

/* The list → Meanings in Hindi (VocabularyFiles.html, step 2) */
.listpage .ltabs a.cwtab + a.cwtab{margin-left:0;border-left:0;padding-left:16px}
.bridgepage .bline{margin:4px 0 12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bridgecard{overflow:hidden}
.bridgecard .bhead{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--rule)}
.bridgecard .bhead .chip{text-decoration:none}
.bridgecard table.t{width:100%;border-collapse:collapse;font-size:14px}
.bridgecard table.t th{text-align:left;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 12px;border-bottom:1px solid var(--rule)}
.bridgecard table.t td{padding:8px 12px;border-top:1px solid var(--row);vertical-align:middle}
.bridgecard .hin{display:flex;gap:6px;flex-wrap:wrap;font-size:16px}
.bridgecard .hin span{padding:1px 9px;border-radius:999px;background:var(--panel);border:1px solid var(--rule)}
.bridgecard .hin span.none{border:0;background:none;color:var(--muted)}
.bridgecard .hin input{min-width:220px;padding:4px 8px;border:1px solid var(--rule-2);border-radius:8px;background:var(--panel-2);color:var(--ink);font:inherit}
.bridgecard .chk{display:inline-flex;gap:6px}.bridgecard .chk .btn2{min-height:30px}
.bridgecard .ok{color:var(--teal-ink);font-size:13.5px;white-space:nowrap}
@media (max-width:720px){.bridgecard table.t th:nth-child(3),.bridgecard table.t td:nth-child(3){display:none}}

/* Sentences (Sentences.html A): the tab, a word's "in 17 sentences", a word's sentences */
.listpage .insent{font-size:12.5px;color:var(--accent-ink);text-decoration:underline;margin-left:6px;white-space:nowrap}
.sentcard{overflow:hidden}
.sentcard .bhead{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--rule)}
.sentcard .bhead .chip{text-decoration:none}
ul.sent{list-style:none;margin:0;padding:0}
ul.sent li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:2px 12px;padding:10px 16px;border-top:1px solid var(--row)}
ul.sent li:first-child{border-top:0}
ul.sent li.none{display:block}
ul.sent .n{color:var(--muted);font-size:13px;padding-top:3px}
ul.sent .st{font-size:16.5px;overflow-wrap:anywhere}
ul.sent .w{border-bottom:2px solid var(--teal);color:inherit;text-decoration:none}
ul.sent a.w:hover{background:var(--teal-soft)}
ul.sent .nw{border-bottom:2px dashed var(--rule-2)}
ul.sent .meta{grid-column:2;font-size:12.5px;color:var(--muted)}
.wordpage .insentences ul.sent li{padding:8px 0}

/* How it is written, inside "On this page" (LanguageProfileCompact.html, 3) */
.profsay{border-top:1px solid var(--rule);margin:10px 0 0;padding:12px 6px 2px}
.profsay .sec{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.profsay .pen{border:0;background:none;color:var(--accent-ink);font:inherit;font-size:12.5px;font-weight:600;letter-spacing:0;text-transform:none;cursor:pointer;padding:2px 6px;border-radius:6px}
.profsay .pen:hover{background:var(--accent-soft)}
.profsay p{margin:0;font-size:13.5px;line-height:1.6}.profsay b{font-weight:600}
.profsay .big{display:block;font-size:26px;line-height:1;margin:0 0 6px;color:var(--accent-ink)}
dialog.profdlg h3{margin:0 0 2px;font-size:18px}dialog.profdlg>.small{margin:0 0 10px}
dialog.profdlg label{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;align-items:start;padding:8px 0;border-top:1px solid var(--row);font-size:14px}
dialog.profdlg label>span:first-child{color:var(--muted);font-size:13px;padding-top:4px}
dialog.profdlg select{width:100%}dialog.profdlg label .small{display:block;font-size:12px;margin-top:3px}
dialog.profdlg .acts{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
@media (max-width:640px){dialog.profdlg label{grid-template-columns:1fr}}

/* a meanings column in another language (MeaningsColumnLanguage.html, B) */
.yfile .colmap .otherlang{display:block;box-sizing:border-box;margin-top:6px;width:100%;min-height:30px;padding:0 8px;border:1px solid var(--rule);border-radius:8px;font:inherit;font-size:13.5px;background:var(--card);color:var(--ink)}
.yfile .colmap .otherlang[hidden]{display:none}

/* an address with no page (NotFound.html, A) */
.notfound{max-width:560px;margin:40px auto;padding:22px 24px;background:var(--panel);border:1px solid var(--rule);border-radius:16px}
.notfound h1{margin:0 0 6px;font-size:22px}.notfound code{background:var(--inset);padding:2px 6px;border-radius:6px;font-size:13px;overflow-wrap:anywhere}
.notfound ul{margin:10px 0 0;padding-left:18px}.notfound li{margin:4px 0}.notfound .acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

/* a page that went wrong (ProblemPages-A.html, A): the same card, where it happened, and a reference */
.pb .pb-kind{margin:0 0 4px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.pb p{margin:8px 0}.pb .pb-ref{margin-top:18px;padding-top:12px;border-top:1px solid var(--rule)}
.pb .pb-ref code{white-space:nowrap}
.pb .pb-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--inset);font-size:20px;font-weight:600;margin-bottom:10px}

/* the word speakers read, in any language (GlossAnyLanguage.html, A) */
.lwcline.has .lw{font-size:22px;color:var(--ink)}

/* where a meaning came from (LwcDictionary.html, step 3, A): the assistant's earlier guess kept beside, quieter */
.bridgepage .hin .aside{opacity:.6;font-style:italic}

/* how it is written, asked when adding (AddLanguageScript.html A) */
.bgjobs .chips3{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.bgjobs .chips3 button{font:inherit;font-size:13px;padding:4px 11px;border-radius:999px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);cursor:pointer}
.bgjobs .chips3 button.alt{border-style:dashed}
.bgjobs .choose{display:block;margin-top:2px}

/* a sign language (SignLanguages.html A) */
.signline{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:var(--accent-soft);color:var(--accent-ink);font-size:14px}

/* each word of the language in its own direction (RightToLeft.html A): never mixed with the English around it; a
   language written right to left reads so, aligned right in its column; what a person types takes its own direction */
.form{unicode-bidi:isolate}
.content[data-dir=rtl] .form{direction:rtl}
.content[data-dir=rtl] td:has(> .form){text-align:right}
.content[data-dir=rtl] input[type=text],.content[data-dir=rtl] textarea{unicode-bidi:plaintext}
.fontl li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--row)}
.fontl li:first-child{border-top:0}.fontl .ok{color:var(--teal-ink);white-space:nowrap}

/* sounds for any language (SoundsAnyLanguage.html A) */
.cuts{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 16px}
.cuts li{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-top:1px solid var(--row);font-size:14px}
.lengths p{margin:4px 0;font-size:14px}
/* How it was read: a language written in a script, read as sounds (ScriptSounds.html A) */
.rdcols{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:900px){.rdcols{grid-template-columns:1fr}}
.rdcols .box{background:var(--tile);border:1px solid var(--rule);border-radius:14px;padding:12px 14px}
.rdls{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}
.rdl{position:relative}
.rdl .lg{display:inline-flex;flex-direction:column;align-items:center;min-width:54px;padding:5px 6px;border-radius:10px;background:var(--panel);border:1px solid var(--rule);color:var(--ink);font:inherit;cursor:pointer}
.rdl .lg:disabled{cursor:default}
.rdl .lg .form{font-size:19px;line-height:1.25}.rdl .lg .s{font-family:var(--form),serif;font-size:15px}.rdl .lg small{font-size:11px;color:var(--muted)}
.rdl .lg.mine{border-color:var(--accent-line);background:var(--accent-soft)}
.rdpop{position:absolute;left:0;top:100%;margin-top:6px;z-index:5;background:var(--tile);border:1px solid var(--rule);border-radius:12px;padding:10px 12px;box-shadow:0 8px 24px rgba(0,0,0,.2);width:270px}
.rdpop .row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.rdpop .inp{width:80px}
.rdpop .acts{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rdcols .rule{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:start;padding:9px 0;border-top:1px solid var(--row)}
.rdcols .rule:first-of-type{border-top:0}.rdcols .rule .small{display:block}
.rdcols .sw{width:38px;height:22px;border-radius:11px;border:0;background:var(--teal);position:relative;margin-top:2px;cursor:pointer}
.rdcols .sw::after{content:"";position:absolute;right:3px;top:3px;width:16px;height:16px;border-radius:8px;background:#fff}
.rdcols .sw.off{background:var(--rule-2)}.rdcols .sw.off::after{left:3px;right:auto}
.ipa-c .c i.form{display:block;font-style:normal;font-size:15px;color:var(--muted)}
.rdcols>.box{min-width:0}.rdcols .wt{width:100%;min-width:0;table-layout:fixed}.rdcols .wt td,.rdcols .wt th{padding:8px 8px}.rdcols .wt td{overflow-wrap:anywhere}
.rdpop .ch{min-height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font:inherit;font-family:var(--form),serif;font-size:15px;cursor:pointer}
.rdpop .ch[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-ink);font-weight:600}
/* the Alphabet in any script (ScriptSpelling.html A) */
.scrline{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;padding:10px 14px;border-radius:12px;background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent-ink);margin:0 0 14px}
.scrline .small{color:inherit;opacity:.85}.scrline .grow{flex:1}
.scrline select{font:inherit;font-size:14px;padding:4px 8px;border-radius:8px;border:1px solid var(--accent-line);background:var(--tile);color:var(--ink)}
.wrbox{margin-top:16px;background:var(--tile);border:1px solid var(--rule);border-radius:14px;padding:12px 14px}
.wrbox .rule{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:start;padding:9px 0;border-top:1px solid var(--row)}
.wrbox .rule:first-of-type{border-top:0}.wrbox .rule .small{display:block}
.wrbox .sw{width:38px;height:22px;border-radius:11px;border:0;background:var(--teal);position:relative;margin-top:2px;cursor:pointer}
.wrbox .sw::after{content:"";position:absolute;right:3px;top:3px;width:16px;height:16px;border-radius:8px;background:#fff}
.wrbox .sw.off{background:var(--rule-2)}.wrbox .sw.off::after{left:3px;right:auto}
.wrbox .wt{min-width:0}.wrbox .wt td,.wrbox .wt th{padding:7px 8px}
.wrbox .ok2{color:var(--teal-ink);font-weight:600}.wrbox .no2{color:var(--pick);font-weight:600}
.alpha.rtl .L .g{direction:rtl;unicode-bidi:isolate}
/* the handbook in a reader's language (HandbookAnyLanguage.html A): right to left where it reads so, its English under */
.hbp[dir=rtl] th,.hbp[dir=rtl] td{text-align:right}.hbp[dir=rtl] ul,.hbp[dir=rtl] ol{padding-right:20px;padding-left:0}
.hbp .ipa,.hbp .rf,.hbp[dir=rtl] .sp{unicode-bidi:isolate}.hbp[dir=rtl] .ipa{direction:ltr}
:is(.hbp,.hbs) .tr{display:block}:is(.hbp,.hbs) .tr+.en{display:block;font-size:.8em;color:var(--hmuted);font-weight:400}
/* The list: old surveys' English letters in the language's script, rough codes as hints (ListScripts.html A) */
.wt .gsub{display:block;font-size:12px;color:var(--muted)}
.wt .roughhint{display:block;font-size:12px;color:var(--muted);opacity:.85}
/* your own files (AnalyseOwnFiles.html) */
.ofgive .row{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}.ofgive .inp{flex:1;min-width:260px}
.ofhead{margin:4px 0 10px}.ofcols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
@media (max-width:860px){.ofcols{grid-template-columns:1fr}}
.ofcols .wt{min-width:0}.ofpairs li{margin:4px 0}.ofagain{margin-top:14px}.ofagain summary{cursor:pointer;color:var(--accent-ink)}
[data-panel=yourfiles] .counters{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:8px 0 12px}
[data-panel=yourfiles] .counter{padding:10px 14px}[data-panel=yourfiles] .counter b{font-size:22px}
.files .file .links{display:flex;gap:6px;flex-wrap:wrap}
/* your texts beside the trial spelling (TextsBesideSpelling.html A) */
.ofpct{font-size:24px;font-weight:600}.ofbar{height:8px;border-radius:4px;background:var(--inset);overflow:hidden;margin:4px 0 10px}.ofbar i{display:block;height:100%;background:var(--teal)}
.wrbox .use{display:inline-flex;align-items:center;margin-top:6px;min-height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--accent-line);background:var(--accent-soft);color:var(--accent-ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.wrbox span.sw{display:inline-block;cursor:default}
/* a test with speakers (SpeakerTest.html A) */
.stpage .steps{list-style:none;margin:0;padding:0;max-width:1000px}.stpage .steps>li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 12px;padding:14px 0;border-top:1px solid var(--rule)}
.stpage .steps>li:first-child{border-top:0}.stpage .steps>li>span:last-child{display:flex;flex-direction:column;gap:6px}
.stpage .n{width:28px;height:28px;border-radius:14px;display:grid;place-items:center;font-weight:700;background:var(--teal);color:#fff;font-size:13px}
.stpage .n.go{background:var(--accent);color:var(--on-accent)}.stpage .n.w{background:var(--inset);color:var(--muted)}
.stpage .strow{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.stpage .strow .inp{flex:1;min-width:240px}
.stpage audio{max-width:420px;width:100%}
.stq{margin:4px 0;padding-left:22px}.stq li{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;margin:4px 0}
.stgrid{border-collapse:collapse;font-size:13.5px;margin-top:4px}.stgrid th,.stgrid td{border:1px solid var(--rule);padding:4px 6px;text-align:center}
.stgrid th{color:var(--muted);font-weight:600;font-size:12px}.stgrid td.lab{text-align:left}.stgrid td.y{color:var(--teal-ink);font-weight:700}.stgrid td.x{color:var(--miss);font-weight:700}
.stgrid .tick{width:28px;height:26px;border-radius:6px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font:inherit;cursor:pointer}
.stgrid .tick[aria-pressed=true]{background:var(--teal-soft);color:var(--teal-ink)}.stgrid .tick[aria-pressed=false]{background:var(--miss-soft,#3b2420);color:var(--miss)}
.stgrid .addrow .inp{width:150px}
.sttests{margin-top:12px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.sttested{margin:0;font-size:13.5px}
.tgrid .sttag{display:block;font-size:11px;font-weight:600;color:var(--teal-ink)}
.stpage .inp,.ofgive .inp,.rdpop .inp{padding:7px 10px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px;box-sizing:border-box}
.stq .inp{width:100%}
/* two halves (FewerMenus.html D, FewerMenusPages.html A): a page's half, its steps, one row of tabs */
.halfhead{margin:0 0 14px}
.halfhead .half{font-size:11.5px;font-weight:700;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.halfhead .steprow{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 0}
.halfhead .stp{display:inline-flex;align-items:center;gap:7px;padding:5px 12px 5px 6px;border-radius:999px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font-size:14px;text-decoration:none;white-space:nowrap}
.halfhead .stp i{font-style:normal;width:20px;height:20px;border-radius:10px;display:grid;place-items:center;font-size:11px;font-weight:700;border:1px solid var(--rule);color:var(--muted)}
.halfhead .stp small{color:var(--muted);font-size:12px}
.halfhead .stp.on{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-ink);font-weight:600}
.halfhead .stp.on i{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.halfhead .stp.ok i{background:var(--teal);color:#fff;border-color:var(--teal)}
.halfhead .steptabs{display:flex;gap:2px;flex-wrap:wrap;border-bottom:1px solid var(--rule);margin:10px 0 0}
.halfhead .steptabs a{padding:8px 12px;font-size:14px;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent}
.halfhead .steptabs a.on{color:var(--ink);font-weight:600;border-color:var(--accent)}
.steptab b{font-size:11px;margin-left:5px;padding:1px 6px;border-radius:999px;background:var(--amber,#F0E7D5);color:var(--pick,#9A5A00)}
@media (max-width:700px){.halfhead .steprow,.halfhead .steptabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}}
.halfhead .steprowline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.halfhead .steprowline .steprow{flex:1}
.halfhead .stepacts{display:flex;gap:8px;margin-top:6px}
.halfhead .stepacts .exp{min-height:36px;padding:0 14px;border-radius:10px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}
.chapters .halflabel{font-size:11.5px;font-weight:700;letter-spacing:.08em;color:var(--muted);text-transform:uppercase;margin:18px 0 6px}
.chapters .halflabel:first-child{margin-top:0}
/* Download ▾ (Downloads.html A) */
details.dl{position:relative}details.dl>summary{list-style:none;cursor:pointer}details.dl>summary::-webkit-details-marker{display:none}
details.dl .dlm{position:absolute;right:0;top:calc(100% + 6px);width:340px;background:var(--tile);border:1px solid var(--rule);border-radius:12px;padding:6px;box-shadow:0 10px 30px rgba(0,0,0,.25);z-index:20}
details.dl .dlm a{display:grid;grid-template-columns:48px minmax(0,1fr);gap:2px 10px;padding:8px 10px;border-radius:8px;color:var(--ink);text-decoration:none}
details.dl .dlm a:hover{background:var(--panel)}details.dl .dlm small{color:var(--muted);font-size:12px}
details.dl .dlm .ext{grid-row:span 2;align-self:center;text-align:center;font-size:11.5px;font-weight:700;color:var(--accent-ink);background:var(--accent-soft);border-radius:6px;padding:3px 0}
.halfhead .stepacts details.dl>summary{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:10px;border:1px solid var(--rule);background:var(--panel);color:var(--ink);font-size:14px;white-space:nowrap}
/* sound rules between towns (SoundRules.html A) */
.rulecard{background:var(--tile);border:1px solid var(--rule);border-radius:14px;padding:12px 16px;margin:0 0 10px}.rulecard.few{opacity:.85}
.rulecard .rl{font-size:16px;font-weight:600;margin-bottom:4px}.rulecard .f{font-family:var(--form),serif;font-size:17px;padding:0 2px}
.rulecard .ev2{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.rulecard .ev2>span{padding:3px 10px;border-radius:999px;background:var(--panel);border:1px solid var(--rule);font-size:13.5px}
.rulecard .meter{display:inline-block;width:110px;height:7px;border-radius:4px;background:var(--inset);overflow:hidden;vertical-align:middle;margin-right:8px}.rulecard .meter i{display:block;height:100%;background:var(--teal)}
.chipq,.chipk,.chipn{margin-left:6px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;vertical-align:2px}
.chipq{background:var(--amber,#F0E7D5);color:var(--pick,#9A5A00)}.chipk{background:var(--teal-soft);color:var(--teal-ink)}.chipn{background:var(--inset);color:var(--muted)}
.fewrules{margin:4px 0 10px}.fewrules>summary{cursor:pointer;color:var(--accent-ink);margin-bottom:8px}

/* AnalysisExtras.html A: the runs kept, the assistant's notes, the stories */
.anruns{margin:6px 0 10px;font-size:13px}.anruns>summary{cursor:pointer;color:var(--ink-2)}
.anruns table.runs{border-collapse:collapse;margin:8px 0 4px;font-size:13px}.anruns .runs td,.anruns .runs th{padding:4px 10px 4px 0;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.anruns .plus{color:var(--teal-ink)}.anruns .minus{color:var(--notice-ink)}
.annotes{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:0 0 12px;background:var(--panel)}.annotes ul{margin:6px 0 4px;padding-left:20px}
.stories{display:flex;flex-direction:column;gap:6px;margin-top:10px}.story{margin:0;font-size:17px;line-height:1.6}
.story .mark{background:var(--notice-bg);color:var(--notice-ink);border-radius:4px;padding:0 3px}.story .was{font-size:13px;color:var(--faint)}
/* SisterVarieties.html A: the sisters, closest first */
.cmppage table.csis{margin:6px 0 4px}.cmppage table.csis td.n,.cmppage table.csis th.n{text-align:right;white-space:nowrap}
.cmppage table.csis tr.on td{background:var(--accent-soft)}.cmppage table.csis tr.dim td{color:var(--muted)}
.cmppage table.csis i.mini{display:inline-block;width:0;height:8px;border-radius:4px;background:var(--accent);opacity:.7;vertical-align:middle;max-width:100px}
.cmppage table.csis a{color:inherit;text-decoration:none}.cmppage table.csis a:hover b{text-decoration:underline}
.cmppage .tsrc{margin:4px 0 12px}.cmppage .cpick.tsrc small{color:inherit;opacity:.75}
.cmppage .cpick.tsrc .one{padding:6px 12px;border:1px dashed var(--rule);border-radius:999px;color:var(--muted);font-size:14px}
/* WebDialect.html A: what each source counts as */
.cx-vsec .card{padding:14px 18px}.cx-vh{font-size:15px;margin:10px 0 4px}.cx-vt td{vertical-align:top;padding:8px 10px 8px 0}
.cx-vt .chip{display:inline-block;padding:1px 9px;border-radius:999px;font-size:12.5px;border:1px solid var(--rule)}.cx-vt .chip.own{background:var(--teal-soft);border-color:var(--teal-line);color:var(--teal-ink)}
.cx-vhow{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}.cx-vsel{font:inherit;font-size:13.5px;padding:3px 6px;border-radius:8px;border:1px solid var(--rule);background:var(--panel);color:var(--ink)}
.cx-vnote{margin-top:6px;padding:8px 10px;border-radius:8px;background:var(--notice-bg);border:1px solid var(--notice-line);color:var(--notice-ink);font-size:13.5px}
.cx-vacts{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.sent .meta .chip.sm{display:inline-block;padding:0 7px;border-radius:999px;font-size:11.5px;border:1px solid var(--notice-line);background:var(--notice-bg);color:var(--notice-ink)}
.yfile .ldask{margin:6px 0 8px;padding:8px 10px;border-radius:8px;background:var(--notice-bg);border:1px solid var(--notice-line);color:var(--notice-ink);font-size:13.5px}
.cx-living{padding:12px 18px}.cx-living p{margin:0 0 4px}
/* HandbookChangesBack.html A: Changes back on the handbook page */
.cbp{background:var(--panel);border:1px solid var(--rule);border-radius:14px;padding:18px 22px;margin:4px 0 18px}.cbp h2{margin:0 0 4px;font-size:20px}
.cbp h3{font-size:15px;margin:16px 0 6px}.cbp .cblead{color:var(--ink-2);margin:0 0 14px;max-width:90ch}.cbacts{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.cbreaders{display:flex;gap:8px;flex-wrap:wrap}.cbrd{border:1px solid var(--rule);border-radius:999px;padding:3px 10px;font-size:13px}
.cbt .no{display:inline-block;min-width:26px;text-align:center;border-radius:6px;background:var(--inset);font-size:12.5px;font-weight:600;padding:1px 6px}
.cbdv{font-size:17px}.cbold{text-decoration:line-through;color:var(--muted)}.cbnew{background:var(--teal-soft);color:var(--teal-ink);border-radius:4px;padding:0 4px}
.cbst.kept{color:var(--teal-ink)}.cbst.no{color:var(--notice-ink)}.cbwhy{color:var(--notice-ink)}.cbans{margin:0;padding-left:20px}
.cbdlg{border:1px solid var(--rule);border-radius:16px;background:var(--panel);color:var(--ink);padding:20px 22px;width:min(640px,94vw)}.cbdlg::backdrop{background:rgba(0,0,0,.45)}
.cbdlg label{display:block;margin:10px 0 4px;font-size:13.5px;color:var(--ink-2)}.cbdlg input:not([type=radio]){font:inherit;padding:6px 8px;border-radius:8px;border:1px solid var(--rule);background:var(--inset);color:var(--ink)}
.cbwho,.cbrow{display:grid;grid-template-columns:90px 1fr 1fr;gap:8px;align-items:center;margin:4px 0}.cbradio{display:flex;gap:18px;flex-wrap:wrap}
.cbradio span{display:inline-flex;align-items:center;gap:6px}.cbradio label{display:inline;margin:0}
.hbp td .no{font-size:11px;color:#6E7A84}
/* LanguageHomeNext.html A: the language home, the next step first */
.hnext .hhero h1{font-size:32px;margin:0}.hnext .hhero .code{color:var(--muted);font-size:15px;font-weight:400;margin-left:10px;font-family:var(--sans)}
.hchips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 4px}.hchip{font-size:12.5px;padding:3px 10px;border-radius:999px;background:var(--panel);border:1px solid var(--rule)}
.hnextstep{margin-top:16px;border-radius:16px;padding:20px 22px;background:linear-gradient(135deg,var(--accent-soft),var(--panel));border:1px solid var(--accent-line);display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.hnextstep .grow{flex:1;min-width:260px}.hnextstep h2{margin:2px 0 4px;font-size:21px}.hnextstep p{margin:0;color:var(--ink-2);max-width:66ch}
.hnextstep .btn.big{min-height:46px;padding:0 24px;font-size:16px}.nact{text-align:center}.nact .small{margin-top:6px}
.hcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:18px}
.hcard{border:1px solid var(--rule);border-radius:14px;padding:14px 16px;background:var(--panel);display:flex;flex-direction:column;gap:4px}
.hbig{font-size:26px;font-weight:600}.hlately{margin:4px 0;padding-left:18px;font-size:13.5px}.hquiet{margin-top:14px;color:var(--muted);font-size:13.5px}
/* HomeMix.html A: the next step, in the cover */
.cover .nextline{margin-top:10px;padding:8px 12px;border-radius:10px;background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent-ink);font-size:14px;max-width:70ch}
/* HomeLower.html A: below the cover, cards */
.hcards2{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;margin-top:18px;align-items:start}
.hcards2>.chapter{border:1px solid var(--rule);border-radius:16px;padding:16px 18px;background:var(--panel);margin:0}
.hcards2 .chapter .chead .num{display:none}.hcards2 .chapter .chead h2{font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.hcards2 #lately,.hcards2 #project,.hcards2 .hc-quiet{grid-column:1 / -1}.hc-quiet{color:var(--muted);font-size:13.5px;margin:0}
.hcards2 .hc-how .profsay{border:0;padding:0;margin:0}
@media (max-width:900px){.hcards2{grid-template-columns:1fr}}
/* Journey-D.html: Home as one linked journey — the four phases, the chosen one's steps, the chosen step's details */
.hsteps{margin-top:6px}.sthalf{display:flex;align-items:center;gap:10px;margin:18px 0 8px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}.sthalf:after{content:"";flex:1;height:1px;background:var(--rule)}
:root{--ph1:#5fcf9b;--ph1-soft:#1b3a2d;--ph2:#7aa8f5;--ph2-soft:#1d2e4d;--ph3:#b499f0;--ph3-soft:#2c2347;--ph4:#f0b25a;--ph4-soft:#40300f}
:root[data-theme=light]{--ph1:#1f8a5b;--ph1-soft:#e3f4ec;--ph2:#2f6fd6;--ph2-soft:#e4edfb;--ph3:#7a4fd0;--ph3-soft:#ece6fa;--ph4:#c27a10;--ph4-soft:#fbefd9}
.ph1,.jy-steps[data-phase="0"]{--c:var(--ph1);--cs:var(--ph1-soft)}.ph2,.jy-steps[data-phase="1"]{--c:var(--ph2);--cs:var(--ph2-soft)}
.ph3,.jy-steps[data-phase="2"]{--c:var(--ph3);--cs:var(--ph3-soft)}.ph4,.jy-steps[data-phase="3"]{--c:var(--ph4);--cs:var(--ph4-soft)}
.jy .s-done{--s:var(--ph1);--ss:var(--ph1-soft)}.jy .s-going{--s:var(--ph2);--ss:var(--ph2-soft)}.jy .s-running{--s:var(--ph4);--ss:var(--ph4-soft)}
.jy-phases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0 0}
.jy-ph{all:unset;box-sizing:border-box;cursor:pointer;border:1px solid var(--rule);border-radius:12px;background:var(--inset);padding:16px 18px 14px;position:relative;display:flex;flex-direction:column;color:var(--ink);min-width:0}
.jy-ph:focus-visible,.jy-step:focus-visible{outline:2px solid var(--c);outline-offset:2px}
.jy-ph:not(.on) .jy-top .jy-name{opacity:.8}
.jy-ph.on{background:var(--panel);border:2px solid var(--c);padding:15px 17px 13px;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.jy-ph.on:after{content:"";position:absolute;inset-inline-start:36px;bottom:-9px;width:0;height:0;border-inline:9px solid transparent;border-top:9px solid var(--c)}
.jy-top{display:flex;gap:14px;align-items:center}.jy-head{display:block}
.jy-ico{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:var(--cs);color:var(--c);flex:none}
.jy-lab{display:block;font-size:11.5px;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}
.jy-top .jy-name{display:block;margin:2px 0 0;font-size:18px;font-weight:700}
.jy-line{display:block;height:1px;background:var(--rule);margin:13px 0 11px}
.jy-bot{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.jy-n{width:22px;height:22px;border-radius:50%;background:var(--inset);border:1px solid var(--rule);display:grid;place-items:center;font-size:11px;color:var(--ink);letter-spacing:0;box-sizing:border-box}
.jy-ph.on .jy-n{background:var(--cs);border-color:transparent;color:var(--c)}
.jy-st{white-space:nowrap;color:var(--s,var(--muted))}
.jy-chip{margin-inline-start:auto;display:inline-flex;gap:5px;align-items:center;text-transform:none;letter-spacing:0;font-weight:600;font-size:12px;padding:4px 10px;border-radius:999px;background:var(--ph1-soft);color:var(--ph1);white-space:nowrap}
.jy-chip.s-new,.jy-chip.s-any{background:var(--panel);color:var(--muted);font-weight:500}
.jy-chip.s-running{background:var(--ph4-soft);color:var(--ph4)}
.jy-give{display:block;margin-top:auto;padding-top:11px;font-size:12px;color:var(--muted)}.jy-give b{color:var(--ink)}
.jy-panel{margin-top:18px;border:1px solid var(--rule);border-radius:12px;background:var(--inset);padding:18px}
.jy-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;position:relative}
.jy-step{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:14px;align-items:flex-start;border:1px solid transparent;border-radius:12px;padding:18px;min-height:124px;background:var(--panel);position:relative;min-width:0}
.jy-step:not(.on){opacity:.82}.jy-step:not(.on) .jy-name,.jy-step:not(.on) .jy-does{color:var(--muted)}
.jy-step:not(:last-child):not(:nth-child(4n)):after{content:"";position:absolute;inset-inline-end:-19px;top:50%;width:18px;height:1px;background:var(--rule)}
.jy-step.on:not(:last-child):not(:nth-child(4n)):after{inset-inline-end:-20px}
.jy-step .jy-name{display:block;margin:0 0 4px;font-size:16px;font-weight:700;color:var(--ink)}
.jy-step .jy-does{display:block;margin:0 0 10px;font-size:13px;line-height:1.4;color:var(--muted)}
.jy-step.on{border:2px solid var(--c);padding:17px;box-shadow:0 6px 18px rgba(0,0,0,.12);opacity:1}
.jy-circ{width:38px;height:38px;border-radius:50%;border:2px solid var(--rule);display:grid;place-items:center;flex:none;font-size:14px;background:var(--panel);margin-top:18px;color:var(--muted);box-sizing:border-box}
.jy-step.on .jy-circ{border-color:var(--c);background:var(--cs);color:var(--c);font-weight:700}
.jy-step.s-done:not(.on) .jy-circ{color:var(--ph1)}
.jy-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.jy-pill{font-size:10.5px;font-weight:700;padding:3px 8px;border-radius:5px;background:var(--inset);color:var(--muted);text-transform:uppercase;letter-spacing:.05em;border:1px solid var(--rule)}
.jy-pill.s-done,.jy-pill.s-going,.jy-pill.s-running{background:var(--ss);color:var(--s);border-color:transparent}
.jy-tag{display:inline-flex;gap:5px;align-items:center;font-size:12px;padding:3px 9px;border-radius:999px;background:var(--inset);color:var(--muted);overflow-wrap:anywhere}
.jy-tag.ok{background:var(--ph1-soft);color:var(--ph1)}
.jy-det{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}
.jy-steps[hidden],.jy-det[hidden]{display:none}
.jy-card{border:1px solid var(--rule);border-radius:12px;background:var(--panel);padding:22px 24px;min-width:0}
.jy-card h2{margin:0 0 4px;font-size:22px;display:flex;gap:10px;align-items:center}.jy-card h2 svg{color:var(--c)}
.jy-card .lead{margin:0 0 12px;color:var(--muted)}
.jy-nums{display:flex;gap:30px;flex-wrap:wrap;margin:14px 0 16px}.jy-nums b{display:block;font-size:28px}
.jy-card h5{margin:16px 0 8px;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.jy-card ul{margin:0;padding:0;list-style:none;font-size:14px}.jy-card li{margin:5px 0}
.jy-card .jy-ok{color:var(--ph1)}.jy-card .jy-wt{color:var(--ph4)}
.jy-go{margin:18px 0 0}.jy-card .btn{background:var(--c);border-color:var(--c);color:var(--panel)}
.jy-go .jy-link{margin-left:14px;font-size:14px;color:var(--c)}
.jy-side .hd{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:17px;gap:10px}
.jy-side .hd .l{display:flex;gap:9px;align-items:center}.jy-side .hd svg{color:var(--c)}
.jy-side .pl{font-size:10.5px;letter-spacing:.08em;padding:3px 10px;border-radius:999px;background:var(--cs);color:var(--c);border:1px solid var(--c)}
.jy-side .pl.ready{background:var(--ph1-soft);color:var(--ph1);border-color:var(--ph1)}
.jy-side .hand{font-size:15px;margin:12px 0 0}
.jy-side .nx{display:flex;gap:10px;align-items:center;margin-top:6px;font-size:14px}
.jy-side .nx i{width:26px;height:26px;border-radius:8px;background:var(--cs);display:grid;place-items:center;color:var(--c);font-style:normal}
/* two across below 900px, one below 560px; the joining lines follow the rows */
@media (max-width:900px){.jy-phases,.jy-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.jy-det{grid-template-columns:minmax(0,1fr)}
  .jy-step:not(:last-child):not(:nth-child(4n)):after{display:none}.jy-step:not(:last-child):nth-child(odd):after{display:block}}
@media (max-width:560px){.jy-phases,.jy-steps{grid-template-columns:minmax(0,1fr)}.jy-step:not(:last-child):nth-child(odd):after{display:none}}
/* The runs on Home (HomeRuns-A): a run going in its phase card (a ring in the chip, a bar along the bottom edge), in
   its step card (its percent, a thin bar) and at the top of its step's details (the run panel); the last run's result;
   the start buttons. The bars stripe and move as the top right's; a run that cannot say how far has a bar that only goes. */
.jy-chip.s-running,.jy-tag.jy-pc{font-variant-numeric:tabular-nums}
.jy-ring{width:14px;height:14px;border-radius:50%;flex:none;
  background:conic-gradient(currentColor calc(var(--p,0)*1%),color-mix(in srgb,currentColor 25%,transparent) 0);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px))}
.jy-phbar,.jy-sbar,.jy-bar{position:relative;display:block;overflow:hidden;background:var(--cs)}
.jy-phbar{position:absolute;inset-inline:0;bottom:0;height:5px;border-radius:0 0 10px 10px}
.jy-ph:not(.on) .jy-phbar{border-radius:0 0 11px 11px}
.jy-step .jy-head{flex:1;min-width:0}
.jy-sbar{height:5px;border-radius:3px;margin-top:10px}
.jy-bar{height:14px;border-radius:7px}
.jy-phbar i,.jy-sbar i,.jy-bar i{position:absolute;inset-inline-start:0;top:0;bottom:0;min-width:6px;border-radius:inherit;background-color:var(--c);
  background-image:linear-gradient(45deg,rgba(255,255,255,.28) 25%,transparent 25% 50%,rgba(255,255,255,.28) 50% 75%,transparent 75%);
  background-size:14px 14px;animation:bgxmove 1s linear infinite;transition:width .6s ease}
.jy-phbar.busy i,.jy-sbar.busy i,.jy-bar.busy i{width:35%;animation:jy-busy 1.6s ease-in-out infinite,bgxmove 1s linear infinite}
@keyframes jy-busy{from{inset-inline-start:-35%}to{inset-inline-start:100%}}
.jy-tag.jy-pc{background:var(--cs);color:var(--c);font-weight:700}
.jy-run{margin:16px 0 4px;padding:18px 20px;border-radius:12px;background:var(--inset);border:1px solid var(--rule)}
.jy-runtop{display:flex;gap:16px;align-items:center;margin-bottom:14px}
.jy-runtop b{display:block;font-size:16px}
.jy-runtop .jy-pct{font-size:40px;font-weight:700;line-height:1;color:var(--c);font-variant-numeric:tabular-nums}
.jy-runline{margin:10px 0 14px;font-size:14.5px;color:var(--ink)}
.jy-rsteps{display:flex;flex-wrap:wrap;gap:6px}
.jy-rs{font-size:12px;padding:3px 10px;border-radius:999px;border:1px solid var(--rule);color:var(--muted);background:var(--panel);white-space:nowrap}
.jy-rs.done{background:var(--ph1-soft);color:var(--ph1);border-color:transparent}.jy-rs.done:before{content:"✓ "}
.jy-rs.now{background:var(--cs);color:var(--c);border-color:var(--c);font-weight:600}
.jy-run .jy-go{margin-top:16px}
.jy-go .jy-stopping{margin-left:14px;font-size:14px;color:var(--muted)}
.jy-card .btn2{margin-inline-start:10px}
.jy-hint{display:block;margin-top:8px}
.jy-ended{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:14px 0 2px;padding:12px 14px;border-radius:10px;font-size:14.5px;color:var(--ink)}
.jy-ended.ok{background:var(--ph1-soft);border:1px solid var(--ph1)}.jy-ended.bad{background:var(--ph4-soft);border:1px solid var(--ph4)}
.jy-ended a{margin-inline-start:auto;white-space:nowrap;font-weight:600;font-size:14px}
.jy-ended.ok a{color:var(--ph1)}.jy-ended.bad a{color:var(--ph4)}
@media (prefers-reduced-motion:reduce){.jy-phbar i,.jy-sbar i,.jy-bar i{animation:none;transition:none}
  .jy-phbar.busy i,.jy-sbar.busy i,.jy-bar.busy i{inset-inline-start:0;width:100%;opacity:.55}}
.hside2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px;align-items:start}
.hside2>.chapter{border:1px solid var(--rule);border-radius:16px;padding:14px 18px;background:var(--panel);margin:0}.hside2 .chapter .chead .num{display:none}
.hside2 .hc-how .profsay{border:0;padding:0;margin:0}.hsteps .hc-quiet{margin-top:12px}
@media (max-width:900px){.hside2{grid-template-columns:1fr}}
/* the sidebar's phases (Journey-D.html): each on a tile in its colour, numbered, joined by a line coloured through the
   furthest phase in progress (.up: the half above the tile, .down: the half below) and grey after it; in the rail the
   words go, the tiles and the line stay */
.side .nav.jn .jt{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex:none;background:var(--cs);color:var(--c);position:relative;z-index:1}
.side .nav.jn .jt svg{color:var(--c)}
.side .nav.jn .jno{font-size:11px;color:var(--muted);font-weight:600;margin-inline-end:5px}
.side .nav.jn:before,.side .nav.jn:after{content:"";position:absolute;inset-inline-start:23px;width:2px;background:var(--rule);z-index:0}
.side .nav.jn:before{top:-1px;height:calc(50% + 1px)}.side .nav.jn:after{top:50%;bottom:0}
.side .nav.jn.jfirst:before,.side .nav.jn.jlast:after{display:none}
.side .nav.jn.up:before,.side .nav.jn.down:after{background:var(--c);opacity:.45}
/* no language picked (Start, Languages, Waiting for you, Settings): a language's menus greyed, the tiles without their
   colour, nothing to click */
.side .nav.soon{opacity:.45;cursor:not-allowed}.side .nav.soon:hover{background:none}
.side .nav.jn.soon .jt{background:var(--inset);filter:grayscale(1)}.side .nav.jn.soon .jt svg{color:var(--muted)}
/* the sidebar moving (SidebarMotion.html D). Choosing: the highlight slides from the item chosen before (app.js
   remembers where it was), the tile gives a small press and the icon plays its own motion once. A phase whose run
   goes: a ring round its tile fills with the percent, the icon loops its motion slowly, the line below it flows; done,
   the loop stops and a tick pops in at the corner; failed or stopped, a calm ! or pause, nothing shakes or flashes.
   Less motion asked: nothing slides or loops, the state just shows. */
:root{--mv-d:200ms;--mv-dl:250ms;--mv-dslide:230ms;--mv-dbar:420ms;--mv-dcount:600ms;--mv-dflash:1000ms;
  --mv-ease:cubic-bezier(.2,.7,.2,1);--mv-dist:6px;--mv-lift:-2px;--mv-press:.97;--mv-stag:50ms;--mv-scale0:.96;
  --mv-shadow:0 6px 14px -8px rgba(0,0,0,.6)}
:root[data-theme=light]{--mv-shadow:0 6px 14px -8px rgba(40,35,25,.35)}
/* Less motion asked (the computer's setting): the same names, nothing travels, nothing loops, a count jumps */
@media (prefers-reduced-motion:reduce){:root,:root[data-theme=light]{--mv-d:100ms;--mv-dl:100ms;--mv-dslide:0ms;--mv-dbar:0ms;--mv-dcount:0ms;--mv-dflash:600ms;
  --mv-ease:linear;--mv-dist:0px;--mv-lift:0px;--mv-press:1;--mv-stag:0ms;--mv-scale0:1;--mv-shadow:0 0 0 1px var(--accent-line)}}
.side nav{position:relative;isolation:isolate}
.side .mv-pill{position:absolute;left:0;top:0;width:0;height:0;border-radius:8px;background:var(--accent-soft);z-index:-1;pointer-events:none;opacity:0;
  transition:transform var(--mv-dslide) var(--mv-ease),width var(--mv-dslide) var(--mv-ease),height var(--mv-dslide) var(--mv-ease),opacity var(--mv-d) var(--mv-ease)}
.side nav.mv-on .nav[aria-current=page]{background:transparent}
.side .nav{transition:background-color var(--mv-d) var(--mv-ease)}
.side .nav:not(.soon):not([aria-current]):hover{background:var(--row)}
.side .nav:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.side .nav.jn .jt{transition:transform var(--mv-d) var(--mv-ease)}
.side .nav.jn:not(.soon):hover .jt{transform:translateY(-1px)}
.side .mv-sel .jt,.side .mv-sel>svg{animation:mv-press var(--mv-dl) var(--mv-ease)}
@keyframes mv-press{0%{transform:scale(1)}35%{transform:scale(.88)}75%{transform:scale(1.06)}100%{transform:scale(1)}}
/* the icons' parts move about their own middle */
.side .nav svg:not(.mv-ring) :is(g,path,circle){transform-box:fill-box;transform-origin:center}
.side .nav svg{overflow:visible}
.side .ic-glint{stroke-width:1.4;opacity:0}
.side .ic-trail{stroke-dasharray:1.5 2;opacity:0}
/* pointing: a small hint of the motion; chosen: the motion once, short */
.side .nav:not(.soon):hover .ic-lens,.side .mv-sel .ic-lens{animation:d-lens-once var(--mv-dbar) var(--mv-ease)}
.side .nav:not(.soon):hover .ic-wave,.side .mv-sel .ic-wave{animation:d-wave-once var(--mv-dbar) var(--mv-ease)}
.side .nav:not(.soon):hover .ic-plane,.side .mv-sel .ic-plane{animation:d-plane-once var(--mv-dbar) var(--mv-ease)}
.side .nav:not(.soon):hover .ic-spark,.side .mv-sel .ic-spark{animation:d-twinkle var(--mv-dbar) var(--mv-ease)}
.side .mv-sel .ic-house{animation:d-settle var(--mv-dbar) var(--mv-ease)}
.side .mv-sel .ln{stroke-dasharray:1;animation:d-ln-once var(--mv-dbar) var(--mv-ease) backwards}
.side .mv-sel .ln.l2{animation-delay:var(--mv-stag)}.side .mv-sel .ln.l3{animation-delay:calc(var(--mv-stag) * 2)}
/* running: the motion loops slowly; failed or stopped: it stands still; done: back at rest */
.side .nav.run-on.st-running .ic-lens{animation:d-lens 2.2s linear infinite}
.side .nav.run-on.st-running .ic-glint{animation:d-glint 2.2s var(--mv-ease) infinite}
.side .nav.run-on.st-running .ic-wave{animation:d-wave 1.8s var(--mv-ease) infinite}
.side .nav.run-on.st-running .ln{stroke-dasharray:1}
.side .nav.run-on.st-running .ln.l1{animation:d-l1 2.4s var(--mv-ease) infinite}
.side .nav.run-on.st-running .ln.l2{animation:d-l2 2.4s var(--mv-ease) infinite}
.side .nav.run-on.st-running .ln.l3{animation:d-l3 2.4s var(--mv-ease) infinite}
.side .nav.run-on.st-running .ic-plane{animation:d-plane 2.2s var(--mv-ease) infinite}
.side .nav.run-on.st-running .ic-trail{animation:d-trail 2.2s var(--mv-ease) infinite}
@keyframes d-lens{0%,100%{transform:translate(0,0)}12.5%{transform:translate(2.3px,1.6px)}25%{transform:translate(3.3px,0)}37.5%{transform:translate(2.3px,-1.6px)}50%{transform:translate(0,0)}62.5%{transform:translate(-2.3px,1.6px)}75%{transform:translate(-3.3px,0)}87.5%{transform:translate(-2.3px,-1.6px)}}
@keyframes d-glint{0%,15%,45%,100%{opacity:0}28%{opacity:.9}}
@keyframes d-lens-once{0%,100%{transform:none}35%{transform:translate(-2px,-1px)}70%{transform:translate(2px,1px)}}
@keyframes d-wave{0%,100%{d:path("M3 12h2l2-6 3 12 3-9 2 5 2-2h4")}33%{d:path("M3 12h2l2-3 3 6 3-11 2 9 2-3h4")}66%{d:path("M3 12h2l2-8 3 14 3-5 2 1 2-2h4")}}
@keyframes d-wave-once{0%,100%{d:path("M3 12h2l2-6 3 12 3-9 2 5 2-2h4")}50%{d:path("M3 12h2l2-3 3 6 3-11 2 9 2-3h4")}}
@keyframes d-l1{0%{stroke-dashoffset:1;opacity:1}20%,78%{stroke-dashoffset:0;opacity:1}92%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes d-l2{0%,20%{stroke-dashoffset:1;opacity:1}42%,78%{stroke-dashoffset:0;opacity:1}92%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes d-l3{0%,42%{stroke-dashoffset:1;opacity:1}64%,78%{stroke-dashoffset:0;opacity:1}92%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes d-ln-once{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes d-plane{0%,100%{transform:none}40%{transform:translate(2.2px,-2.2px) rotate(-6deg)}65%{transform:translate(3px,-1.4px) rotate(-2deg)}}
@keyframes d-trail{0%,20%,85%,100%{opacity:0}45%,60%{opacity:.55}}
@keyframes d-plane-once{0%,100%{transform:none}45%{transform:translate(2px,-2px) rotate(-5deg)}}
@keyframes d-settle{0%,100%{transform:none}35%{transform:translateY(-2px) scale(1.05)}70%{transform:translateY(.5px) scale(.98)}}
@keyframes d-twinkle{0%,100%{transform:none}45%{transform:scale(1.25) rotate(20deg)}}
/* the ring round a running phase's tile, filled to its percent (app.js counts it up between two asks) */
.side .mv-ring{position:absolute;left:-4px;top:-4px;width:36px;height:36px;transform:rotate(-90deg);opacity:0;transition:opacity var(--mv-dl) var(--mv-ease);pointer-events:none;overflow:visible}
.side .mv-ring circle{fill:none;stroke:var(--c);stroke-width:2.4;stroke-linecap:round}
.side .mv-ring .trk{opacity:.2}
.side .run-on .mv-ring{opacity:1}
.side .st-running .mv-ring .trk{animation:mv-breathe-line 2.8s var(--mv-ease) infinite alternate}
@keyframes mv-breathe-line{from{opacity:.12}to{opacity:.38}}
.side .st-done .mv-ring{opacity:0;transition-delay:calc(var(--mv-dl) * 2)}
.side .st-fail .mv-ring circle{stroke:var(--miss)}.side .st-stop .mv-ring circle{stroke:var(--pick)}
.side .run-on .what{font-variant-numeric:tabular-nums}
.side .st-fail .what{color:var(--miss)}.side .st-stop .what{color:var(--pick)}
/* the mark at the tile's corner: ✓ done, ! did not finish, pause stopped */
.side .mv-badge{display:grid;place-items:center;position:absolute;top:-6px;right:-6px;width:15px;height:15px;border-radius:50%;background:var(--c);color:var(--side);
  box-shadow:0 0 0 2px var(--side);transform:scale(0);opacity:0;z-index:2;font:700 10px/1 var(--sans)}
.side .mv-badge svg{width:9px;height:9px;color:var(--side)!important}
.side :is(.st-done,.st-fail,.st-stop) .mv-badge{transform:none;opacity:1;animation:mv-badge-pop var(--mv-dl) var(--mv-ease)}
.side .st-fail .mv-badge{background:var(--miss)}.side .st-stop .mv-badge{background:var(--pick)}
@keyframes mv-badge-pop{0%{transform:scale(.3);opacity:0}60%{transform:scale(1.18);opacity:1}100%{transform:scale(1)}}
/* the joining line flows while a phase runs: soft dashes moving down from the running tile to the next */
.side .nav.jn.st-running:after{--fc:var(--c)}
.side .nav.ph1.st-running+.nav.jn:before{--fc:var(--ph1)}.side .nav.ph2.st-running+.nav.jn:before{--fc:var(--ph2)}
.side .nav.ph3.st-running+.nav.jn:before{--fc:var(--ph3)}
.side .nav.jn.st-running:after,.side .nav.jn.st-running+.nav.jn:before{background:repeating-linear-gradient(to bottom,var(--fc) 0 4px,transparent 4px 8px);
  background-size:2px 8px;opacity:.85;animation:mv-flow 1.6s linear infinite}
@keyframes mv-flow{from{background-position:0 0}to{background-position:0 8px}}
/* a language just picked: its tiles come to colour one after another along the line (app.js sets each one's --d) */
.side .halves.mv-lit .nav{animation:mv-lit-in var(--mv-dl) var(--mv-ease) var(--d,0ms) backwards}
.side .halves.mv-lit .nav.jn .jt{animation:mv-lit-tile var(--mv-dl) var(--mv-ease) var(--d,0ms) backwards}
.side .halves.mv-lit .nav.jn .jt>svg:not(.mv-ring){animation:mv-lit-ink var(--mv-dl) var(--mv-ease) var(--d,0ms) backwards}
.side .halves.mv-lit .nav.jn:before,.side .halves.mv-lit .nav.jn:after{animation:mv-lit-line var(--mv-dl) var(--mv-ease) var(--d,0ms) backwards}
@keyframes mv-lit-in{from{opacity:.45}}
@keyframes mv-lit-tile{from{background:var(--inset);filter:grayscale(1)}}
@keyframes mv-lit-ink{from{color:var(--muted)}}
@keyframes mv-lit-line{from{background:var(--rule);opacity:1}}
@media (prefers-reduced-motion:reduce){
  .side .mv-pill,.side .nav,.side .nav *,.side .nav:before,.side .nav:after{animation:none!important;transition:none!important}
  .side .nav.run-on.st-running .ln{stroke-dasharray:none}
}
/* motion A: start (Motion.html A, calm and quick). Everything in here reads only the --mv-* values above. */
@keyframes mv-rise{from{opacity:0;transform:translateY(var(--mv-dist))}}
@keyframes mv-pop{from{opacity:0;transform:scale(var(--mv-scale0))}}
/* a page arriving: the header first, then the cards, each a step after the one before (none after the 12th). The
   animation only fills backwards (it starts hidden, ends with no transform left), so a fixed drawer or menu inside stays
   fixed to the window, and a page whose script fails shows everything. */
.main.mv-arrive>[data-part=main]>*{animation:mv-rise var(--mv-dl) var(--mv-ease) backwards;animation-delay:calc(min(var(--i,0), 11) * var(--mv-stag))}
/* the stagger counts only what is drawn: a <style> or <script> first in the part takes no slot */
.main.mv-arrive>[data-part=main]>:nth-child(1 of :not(style,script)){--i:0}.main.mv-arrive>[data-part=main]>:nth-child(2 of :not(style,script)){--i:1}
.main.mv-arrive>[data-part=main]>:nth-child(3 of :not(style,script)){--i:2}.main.mv-arrive>[data-part=main]>:nth-child(4 of :not(style,script)){--i:3}
.main.mv-arrive>[data-part=main]>:nth-child(5 of :not(style,script)){--i:4}.main.mv-arrive>[data-part=main]>:nth-child(6 of :not(style,script)){--i:5}
.main.mv-arrive>[data-part=main]>:nth-child(7 of :not(style,script)){--i:6}.main.mv-arrive>[data-part=main]>:nth-child(8 of :not(style,script)){--i:7}
.main.mv-arrive>[data-part=main]>:nth-child(9 of :not(style,script)){--i:8}.main.mv-arrive>[data-part=main]>:nth-child(10 of :not(style,script)){--i:9}
.main.mv-arrive>[data-part=main]>:nth-child(11 of :not(style,script)){--i:10}.main.mv-arrive>[data-part=main]>:nth-child(n+12 of :not(style,script)){--i:11}

/* buttons: lift and a soft shadow under the mouse, a press when clicked (half the time), a working label that slides in */
.btn,.btn2{transition:transform var(--mv-d) var(--mv-ease),box-shadow var(--mv-d) var(--mv-ease),background-color var(--mv-d) var(--mv-ease),filter var(--mv-d) var(--mv-ease)}
@media (hover:hover){.btn:not(:disabled):hover,.btn2:not(:disabled):hover{transform:translateY(var(--mv-lift));box-shadow:var(--mv-shadow)}
.btn:not(:disabled):hover{filter:brightness(1.08)}}
.btn:not(:disabled):active,.btn2:not(:disabled):active{transform:translateY(0) scale(var(--mv-press));transition-duration:calc(var(--mv-d) / 2)}
.mv-lbl{display:inline-flex;align-items:center;gap:8px;animation:mv-rise var(--mv-d) var(--mv-ease) backwards}
.mv-tick{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;animation:mv-pop var(--mv-dl) var(--mv-ease) both}
/* switches (c) and tab rows (d): one pill or line under the chosen item, slid there by app.js. Without the script the
   chosen item keeps its own colour; once the pill is in (.mv-slid) the pill carries it. */
.mv-seg-pill,.mv-tab-line{position:absolute;left:0;top:0;pointer-events:none;opacity:0}
.mv-seg-pill{border-radius:999px;background:var(--accent-soft);z-index:0;transition:transform var(--mv-dslide) var(--mv-ease),width var(--mv-dslide) var(--mv-ease),height var(--mv-dslide) var(--mv-ease)}
.mv-seg-pill.wide{background:var(--notice-bg)}
/* (the pill and the line take width and height in their transition too: they are placed absolutely, out of flow, so nothing around them moves) */
.mv-slid.seg:is(nav) .mv-seg-pill{background:var(--ink)}
.seg label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.mv-slid.seg2>:not(i){position:relative;z-index:1;transition:color var(--mv-d) var(--mv-ease)}
.mv-slid.mv-slid.seg2 :is(button,a)[aria-pressed=true]{background:none}
.mv-slid.seg2{position:relative}
.mv-slid.seg:is(.two,.three) .mv-seg-pill{border-radius:10px;background:var(--accent)}
.mv-slid.seg:is(.two,.three)>label{position:relative;z-index:1;transition:color var(--mv-d) var(--mv-ease)}
.mv-slid.seg:is(.two,.three)>label:has(input:checked){background:none;border-color:transparent}
.mv-slid.seg:is(nav)>a{position:relative;z-index:1;transition:color var(--mv-d) var(--mv-ease)}
.mv-slid.seg:is(nav)>a[aria-current=true]{background:none}
.mv-tab-line{height:2px;bottom:auto;border-radius:2px;background:var(--accent);transition:transform var(--mv-dslide) var(--mv-ease),width var(--mv-dslide) var(--mv-ease)}
.mv-slid.tabs,.mv-slid.cx-tabs{position:relative}
.mv-slid.tabs .tab.on,.mv-slid.cx-tabs button[aria-selected=true]{border-bottom-color:transparent}
.mv-slid.tabs .tab,.mv-slid.cx-tabs button{transition:color var(--mv-d) var(--mv-ease)}
.cx-panel:not([hidden]){animation:mv-rise var(--mv-dl) var(--mv-ease) backwards}

/* menus (e): the list grows from its button and fades in; closing shrinks it the same way, a little faster (app.js keeps
   `open` until it ends). No script: the list simply opens and shuts as before. */
:is(details.who,details.bgjobs,details.dl,details.cwexp,details.yd-menu){--mv-origin:top right}
:is(details.grpmenu,details.yd-prob,.yd-history details.yd-menu){--mv-origin:top left}
:is(details.who,details.bgjobs,details.grpmenu,details.yd-menu,details.cwexp,details.dl)[open]>summary~*{transform-origin:var(--mv-origin);animation:mv-pop var(--mv-d) var(--mv-ease) both}
:is(details.who,details.bgjobs,details.grpmenu,details.yd-menu,details.cwexp,details.dl).mv-closing>summary~*{animation:mv-pop-out calc(var(--mv-d) * .7) var(--mv-ease) both}
:is(details.who,details.bgjobs,details.grpmenu,details.yd-menu,details.cwexp,details.dl).mv-back>summary~*{animation:none}
@keyframes mv-pop-out{to{opacity:0;transform:scale(var(--mv-scale0))}}
:is(details.who,details.bgjobs,details.grpmenu,details.yd-menu,details.cwexp,details.dl)>summary .chev{transition:transform var(--mv-d) var(--mv-ease)}
:is(details.who,details.bgjobs,details.grpmenu)[open]:not(.mv-closing)>summary .chev{transform:rotate(180deg)}

/* panels under a row (k): the space grows, then the details fade in after half the time; shutting is the same backwards.
   Only where the browser can animate a details' own content; elsewhere it opens at once, as it always did. */
@supports (interpolate-size:allow-keywords) and selector(::details-content){
  :is(details.card,details.step,details.said,details.rx-found,details.retired,details.also,details.qrow,details.ofagain,details.anruns,details.own,details.fewrules,details.runlog){interpolate-size:allow-keywords}
  :is(details.card,details.step,details.said,details.rx-found,details.retired,details.also,details.qrow,details.ofagain,details.anruns,details.own,details.fewrules,details.runlog)::details-content{
    block-size:0;overflow:clip;opacity:0;transition:block-size var(--mv-dslide) var(--mv-ease),opacity var(--mv-d) var(--mv-ease),content-visibility var(--mv-dslide) allow-discrete,overflow calc(var(--mv-d) * 0) allow-discrete}
  /* clipped while it moves, free once open (the last delay is the overflow's: it flips when the space has grown), so focus rings and menus inside are not cut */
  :is(details.card,details.step,details.said,details.rx-found,details.retired,details.also,details.qrow,details.ofagain,details.anruns,details.own,details.fewrules,details.runlog)[open]::details-content{
    block-size:auto;opacity:1;overflow:visible;transition-delay:0s,calc(var(--mv-d) * .5),0s,var(--mv-dslide)}
}
/* counts (f): a card that grew glows once and says +N in its corner (placed absolutely: nothing moves) */
@keyframes mv-ring{from{box-shadow:0 0 0 2px var(--accent-line)}to{box-shadow:0 0 0 2px transparent}}
@keyframes mv-plus{0%{opacity:0;transform:translateY(var(--mv-dist))}20%,70%{opacity:1;transform:none}100%{opacity:0}}
.mv-changed{position:relative;animation:mv-ring var(--mv-dflash) var(--mv-ease)}
.mv-plus{position:absolute;top:-13px;right:6px;z-index:2;pointer-events:none;font-size:12px;font-weight:600;line-height:1.4;color:var(--teal-ink);background:var(--teal-soft);border-radius:999px;padding:1px 7px;animation:mv-plus var(--mv-dflash) var(--mv-ease) both}
/* a table (g): rows rise in one after another (the first 12), a saved cell glows, the Saved chip comes in then goes quiet */
@keyframes mv-flash{from{background-color:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-line)}}
.mv-new{animation:mv-rise var(--mv-dl) var(--mv-ease) backwards;animation-delay:calc(var(--i,0) * var(--mv-stag) * .6)}
.mv-flash{animation:mv-flash var(--mv-dflash) var(--mv-ease)}
.mv-saved-in{animation:mv-rise var(--mv-dl) var(--mv-ease) backwards}
.yourdata .dl-saved,.yourdata .yd-chip.saved{transition:color var(--mv-dflash) var(--mv-ease),background-color var(--mv-dflash) var(--mv-ease),border-color var(--mv-dflash) var(--mv-ease)}
.yourdata .mv-quiet.mv-quiet:not(.bad){background:transparent;color:var(--muted);border-color:transparent}
/* notices (i): over the page, never in it, so nothing is pushed. They rise in and fade away. */
@keyframes mv-fade{to{opacity:0}}
.mv-notice{position:absolute;z-index:80;display:flex;width:max-content;align-items:center;gap:10px;max-width:min(420px,calc(100% - 16px));box-sizing:border-box;padding:6px 12px;border-radius:10px;background:var(--notice-bg);border:1px solid var(--notice-line);color:var(--notice-ink);font-size:14px;box-shadow:var(--mv-shadow);animation:mv-rise var(--mv-dl) var(--mv-ease) backwards}
.mv-notice.mv-sticky{position:static;margin:8px 0;max-width:none;width:auto;box-shadow:none;border-color:var(--miss);background:var(--miss-tint);color:var(--miss)}
.mv-notice-x{margin-left:auto;border:0;background:none;padding:2px 4px;font:inherit;color:inherit;cursor:pointer}
.mv-notice.mv-out{animation:mv-fade var(--mv-d) var(--mv-ease) both}
.mv-notice-undo{border:0;background:none;padding:2px 4px;font:inherit;font-weight:600;color:var(--accent);cursor:pointer;text-decoration:underline}
/* loading (j): grey rows while rows are fetched, drawn by script only (a <template> holds one), so a page without script never shows them */
@keyframes mv-shimmer{from{background-position:100% 0}to{background-position:0 0}}
.mv-skel td{padding:9px 10px;border-top:1px solid var(--row)}
.mv-skel i{display:block;height:12px;border-radius:6px;background:var(--rule)}
.mv-skel td:nth-child(3n+1) i{width:60%}.mv-skel td:nth-child(3n+2) i{width:85%}.mv-skel td:nth-child(3n) i{width:70%}
.mv-fetching>tr:not(.mv-skel){display:none}
/* the shine only under full motion; with less motion the grey rows are still */
@media (prefers-reduced-motion:no-preference){
  .mv-skel i{background:linear-gradient(90deg,var(--rule) 30%,color-mix(in srgb,var(--rule),#fff 45%) 50%,var(--rule) 70%);background-size:300% 100%;animation:mv-shimmer calc(var(--mv-dcount) * 2.4) var(--mv-ease) infinite}
}
/* a run's progress (Motion.html A, h): a bar glides to its new width over --mv-dbar, a ring closes the same way; at the end a
   tick pops and the card's colour changes over --mv-dl. The percent beside counts through mv.count. */
.bar .prog .seg{transition:width var(--mv-dbar) var(--mv-ease),background-color var(--mv-dflash) var(--mv-ease),box-shadow var(--mv-dflash) var(--mv-ease)}
.jy-phbar i,.jy-sbar i,.jy-bar i{transition:width var(--mv-dbar) var(--mv-ease),background-color var(--mv-dl) var(--mv-ease)}
.rx-bar i,.cmppage .cbar i{transition:width var(--mv-dbar) var(--mv-ease),background-color var(--mv-dl) var(--mv-ease)}
.card.plan .path.rings .ring .bar{transition:stroke-dasharray var(--mv-dbar) var(--mv-ease),stroke var(--mv-dl) var(--mv-ease)}
.card.plan .path.rings .ring .track{transition:fill var(--mv-dl) var(--mv-ease),stroke var(--mv-dl) var(--mv-ease)}
.card.plan .path.rings ol>li.done .dot .n{animation:mv-pop var(--mv-dl) var(--mv-ease) both}
.fillline,.donebar,.jy-run,.jy-ended{transition:background-color var(--mv-dl) var(--mv-ease),border-color var(--mv-dl) var(--mv-ease),color var(--mv-dl) var(--mv-ease)}
.bar .prog.ended .doneline .tick,.donebar>span:first-child,.jy-donetick{animation:mv-pop var(--mv-dl) var(--mv-ease) both}
.jy-run.done{background:var(--teal-soft);border-color:var(--teal-line)}
.jy-run.done .jy-bar{--c:var(--teal)}
.jy-run.done .jy-bar i{animation:none}
.jy-donetick{display:none;width:30px;height:30px;border-radius:50%;background:var(--teal);color:var(--on-accent);place-items:center;flex-shrink:0}
.jy-run.done .jy-donetick{display:grid}
.jy-donetick svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
/* motion A: end */
.hc-late .sec{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:6px}
.hc-late .sec .more{text-transform:none;letter-spacing:0;font-weight:500;font-size:13.5px}.hc-late .hlately{margin:0;padding-left:18px;font-size:13.5px;display:grid;gap:4px}
/* Spelling test before a test (SpellTestEmpty.html A) */
.ste{max-width:980px}.ste .why{font-size:16px;color:var(--ink-2);margin:4px 0 18px}
.ste .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ste .way{border:1px solid var(--rule);border-radius:16px;padding:16px 18px;background:var(--panel);display:flex;flex-direction:column;gap:8px}
.ste .way h3{margin:0;font-size:17px;display:flex;gap:10px;align-items:center}.ste .way .n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:13px;background:var(--inset);font-size:13px;font-weight:700}
.ste .eg{border:1px dashed var(--rule);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;background:var(--bg)}
.ste .eg .w{font-size:26px;font-weight:600}.ste .eg .fake{display:flex;gap:8px}.ste .eg .fake span{border:1px solid var(--rule);border-radius:999px;padding:3px 10px;font-size:13px}
.ste .eg .fake span.on{background:var(--teal-soft);color:var(--teal-ink);border-color:transparent}
.ste .go{margin-top:18px;border:1px solid var(--accent);box-shadow:0 0 0 3px var(--accent-soft);border-radius:16px;padding:16px 18px;display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;background:var(--panel)}
.ste .go .grow{flex:1;min-width:240px}.ste .go b.big{font-size:20px}
.ste .eg .chip{padding:1px 9px;font-size:12.5px}
.ste .after{margin-top:14px;font-size:13.5px;color:var(--muted)}
@media (max-width:900px){.ste .two{grid-template-columns:1fr}}

/* Your data (LiveEdit.html A, its look YourDataLook.html A): the kinds as pills in a toolbar card, a grid like Excel */
.yourdata .yd-bar { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 10px 12px; margin: 12px 0;
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.yourdata .yd-pills, .rules .yd-pills { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.yourdata .yd-pill, .rules .yd-pill { padding: 5px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.yourdata .yd-pill b, .rules .yd-pill b { font-weight: 500; font-size: 12px; margin-left: 2px; }
.yourdata .yd-pill.on, .rules .yd-pill.on { background: var(--accent); color: var(--on-accent); }
.yourdata .yd-pill.on b, .rules .yd-pill.on b { color: inherit; opacity: .85; }
.yourdata .yd-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.yourdata .yd-search { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--rule);
  border-radius: 8px; background: var(--paper); color: var(--muted); }
.yourdata .yd-search input { border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; color: var(--ink); width: 170px; }
.yourdata .yd-group { display: inline-flex; }
.yourdata .yd-group .btn2:first-child { border-radius: 8px 0 0 8px; }
.yourdata .yd-group .btn2:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
.yourdata .yd-file { min-height: 36px; cursor: pointer; }
.yourdata .yd-menu { position: relative; }
.yourdata .yd-menu summary { list-style: none; }
.yourdata .yd-menu summary::-webkit-details-marker { display: none; }
.yourdata .yd-menulist { position: absolute; right: 0; top: calc(100% + 4px); z-index: 5; min-width: 230px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 4px; }
.yourdata .yd-menulist a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 14px; }
.yourdata .yd-menulist a:hover { background: var(--accent-soft); }
.yourdata .yd-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px;
  white-space: nowrap; border: 1px solid var(--line); color: var(--muted); background: var(--paper); }
.yourdata .yd-chip.saved { color: var(--hok-ink, var(--muted)); }
.yourdata .yd-chip.same { color: var(--pick-ink); background: var(--pick-tint); border-color: transparent; }
.yourdata .yd-chip.bad { color: var(--miss); background: var(--miss-tint); border-color: transparent; }
.yourdata .yd-link { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.yourdata .yd-wrap { overflow: auto; max-height: 72vh; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.yourdata .yd-grid { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; font-size: 14px; }
.yourdata .yd-grid thead th { position: sticky; background: var(--paper); z-index: 2; text-align: left; padding: 6px 8px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yourdata .yd-grid thead tr.yd-letters th { top: 0; height: 22px; padding: 2px 8px; font-size: 11px; font-weight: 500; color: var(--muted);
  text-align: center; cursor: default; }
.yourdata .yd-grid thead tr:not(.yd-letters) th { top: 27px; font-weight: 600; cursor: pointer; }
.yourdata .yd-grid td { padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); outline: none;
  vertical-align: top; overflow-wrap: anywhere; }
.yourdata .yd-grid .yd-no { width: 52px; color: var(--muted); font-size: 12px; text-align: right; cursor: pointer; background: var(--paper); }
.yourdata .yd-grid .yd-mark { border-right: 0; }
.yourdata .yd-w-word, .yourdata .yd-w-root { width: 170px; }
.yourdata .yd-w-lwc { width: 190px; }
.yourdata .yd-w-sentence { width: 380px; }
.yourdata .yd-w-split { width: 190px; }
.yourdata .yd-w-en, .yourdata .yd-w-notes, .yourdata .yd-w-from { width: 140px; }
.yourdata .yd-w-class, .yourdata .yd-w-type, .yourdata .yd-w-town { width: 115px; }
.yourdata .yd-grid td:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.yourdata .yd-grid td.yd-editing { padding: 0; box-shadow: inset 0 0 0 2px var(--accent); background: var(--panel); }
.yourdata .yd-grid td.yd-saving { color: var(--muted); }
.yourdata .yd-input { width: 100%; border: 0; padding: 6px 8px; font: inherit; background: transparent; outline: none; }
.yourdata tr.yd-sel td { background: var(--accent-soft); }
.yourdata tr.yd-open td { background: var(--accent-soft); }
.yourdata tr.yd-problem td.yd-no { box-shadow: inset 3px 0 0 var(--miss); }
.yourdata .yd-add { margin-top: 8px; }
/* Data → Language: the cards (DataLanguage-A.html) */
.yourdata .dl-head {display:flex;align-items:flex-end;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;margin:18px 0 14px}
.yourdata .dl-head h2 {margin:0;font-size:20px;font-weight:600}
.yourdata .dl-head p {margin:4px 0 0;color:var(--muted);font-size:14px;max-width:72ch;line-height:1.5}
.yourdata .dl-saved {display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;border:1px solid var(--teal-line);background:var(--teal-soft);color:var(--teal-ink);font-size:13px;white-space:nowrap}
.yourdata .dl-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:900px){.yourdata .dl-grid{grid-template-columns:minmax(0,1fr)}}
.yourdata [data-language] { min-width: 0; overflow-wrap: anywhere; }
.yourdata [data-language] p, .yourdata [data-language] .small { white-space: normal; }
.yourdata .dl-card {background:var(--panel);border:1px solid var(--rule);border-radius:14px;padding:18px 20px;min-width:0;display:flex;flex-direction:column;gap:14px;box-sizing:border-box}
.yourdata .dl-card.wide {grid-column:1/-1}
.yourdata .dl-rel {position:relative}
.yourdata .dl-ch {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.yourdata .dl-ch h3 {margin:0;font-size:16px;font-weight:600}
.yourdata .dl-ch .small {margin-left:auto}
.yourdata .dl-ic {width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--ph0-soft);color:var(--ph0);flex:none}
.yourdata .dl-lab {display:block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.yourdata .dl-two {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.yourdata .dl-field {display:flex;align-items:center;gap:8px;width:100%;min-height:42px;padding:0 12px;border:1px solid var(--rule);border-radius:9px;background:var(--panel-2);
  color:var(--ink);font:inherit;font-size:15px;box-sizing:border-box;text-align:left;min-width:0}
.yourdata .dl-field.ro {background:var(--inset);color:var(--ink-2)}
.yourdata .dl-field .lk {margin-left:auto;color:var(--muted);display:inline-flex}
.yourdata .dl-field.pick {background:var(--panel);cursor:pointer}
.yourdata .dl-field.pick:hover {border-color:var(--accent-line)}
.yourdata .dl-field.pick .chev {margin-left:auto;color:var(--muted);display:inline-flex}
.yourdata .dl-field code,.yourdata .dl-row code,.yourdata .dl-opt code,.yourdata .dl-sopt code {font-family:var(--mono);font-size:12px;color:var(--muted);background:var(--inset);padding:1px 6px;border-radius:5px}
.yourdata .dl-card .mono{font-family:var(--mono);font-size:13.5px}
.yourdata .dl-spec {font-family:var(--form),"AImixE Deva",serif;font-size:17px;letter-spacing:.14em;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.yourdata .dl-field .dl-spec {margin-left:8px}
.yourdata .dl-line {margin:0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.yourdata .dl-style {display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.yourdata .dl-eg {font-size:14px;color:var(--ink-2);white-space:nowrap}
.yourdata .dl-eg .f {font-family:var(--form),"AImixE Deva",serif;font-size:16px}
.yourdata .dl-eg s {text-decoration:none;color:var(--muted);margin-left:6px}
.yourdata .dl-eg s::before {content:"· scholarly ";font-size:12px}
.yourdata .dl-uses {display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:auto;padding-top:12px;border-top:1px dashed var(--rule-2);font-size:13px;color:var(--muted)}
.yourdata .dl-uses>span {margin-right:2px}
.yourdata .dl-uses a {display:inline-flex;align-items:center;gap:5px;padding:2px 10px;border-radius:999px;border:1px solid var(--rule);background:var(--panel-2);color:var(--ink);text-decoration:none}
.yourdata .dl-uses a:hover {border-color:var(--accent-line);color:var(--accent-ink)}
.yourdata .dl-uses a b {font-weight:600;color:var(--muted);font-size:12px}
.yourdata .dl-dict {display:flex;gap:10px;align-items:flex-start;padding:10px 14px;border-radius:10px;background:var(--teal-soft);border:1px solid var(--teal-line);color:var(--teal-ink);font-size:14px}
.yourdata .dl-dict div {display:flex;flex-direction:column;gap:2px;min-width:0}.yourdata .dl-dict div span{font-size:12.5px;opacity:.9}
.yourdata .dl-dict .dot {width:8px;height:8px;border-radius:4px;background:var(--teal);flex:none;margin-top:6px;display:inline-block}
.yourdata .dl-chips {display:flex;flex-wrap:wrap;gap:8px}
.yourdata .dl-chip {display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 11px;border-radius:999px;border:1px solid var(--rule);background:var(--panel-2);font-size:13.5px;color:var(--ink)}
.yourdata .dl-chip i {font-style:normal;font-size:12px;color:var(--muted);background:var(--inset);border-radius:999px;padding:0 7px;min-width:12px;text-align:center}
.yourdata .dl-chip.own {border-color:var(--accent-line);background:var(--accent-soft);color:var(--accent-ink)}
.yourdata .dl-chip.own i {background:var(--panel)}
.yourdata .dl-chip .x {border:0;background:none;color:inherit;cursor:pointer;font-size:12px;padding:0 5px;border-radius:999px}
.yourdata .dl-chip .x:hover {background:var(--panel)}
.yourdata .dl-empty {color:var(--muted);font-style:italic;font-size:14px}
.yourdata .dl-add {display:flex;gap:8px;margin:0}
.yourdata .dl-add.short {max-width:420px}
.yourdata .dl-add input {flex:1;min-width:0;min-height:36px;padding:0 14px;border:1px dashed var(--rule-2);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:14px}
.yourdata .dl-add input::placeholder {color:var(--muted)}
.yourdata .dl-add input:focus {outline:none;border-style:solid;border-color:var(--accent)}
.yourdata .dl-foot {margin:18px 0 8px;padding:12px 16px;border-radius:12px;background:var(--panel-2);border:1px solid var(--rule);color:var(--ink-2);font-size:13.5px;line-height:1.55;max-width:100%;box-sizing:border-box}
.yourdata .dl-foot b {color:var(--ink)}
/* the picker */
.yourdata .dl-pop {font-family:var(--sans);font-size:14px;line-height:1.4;font-style:normal;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:6;background:var(--panel);border:1px solid var(--rule-2);border-radius:12px;
  box-shadow:0 14px 34px -10px var(--scrim);padding:8px;display:flex;flex-direction:column;gap:2px}
.yourdata .dl-psearch {display:flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border:1px solid var(--accent);border-radius:8px;background:var(--panel-2);color:var(--muted);margin-bottom:4px}
.yourdata .dl-psearch input {flex:1;border:0;background:none;outline:none;font:inherit;font-size:14px;color:var(--ink);min-width:0}
.yourdata .dl-pgroup {font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 8px 2px}
.yourdata .dl-opt {display:flex;align-items:center;gap:10px;padding:7px 8px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.yourdata .dl-opt:hover {background:var(--inset)}
.yourdata .dl-opt.on {background:var(--accent-soft);color:var(--accent-ink)}
.yourdata .dl-opt .st {margin-left:auto;font-size:12.5px;color:var(--muted)}
.yourdata .dl-opt .st.here {color:var(--teal-ink)}
.yourdata .dl-opt .st.f {font-size:15px}
.yourdata .dl-opt svg {flex:none}
.yourdata .dl-pnote {margin:6px 8px 2px}
.yourdata .dl-saved.bad { color: var(--miss); background: var(--miss-tint); border-color: transparent; }
.yourdata .dl-saved.bad svg { display: none; }
.yourdata .dl-none { color: var(--muted); font-style: italic; }
.yourdata .dl-opt .st-f { margin-left: auto; font-family: var(--form), "AImixE Deva", serif; font-size: 15px; color: var(--muted); white-space: nowrap; }
.yourdata .dl-pop[hidden], .yourdata .dl-opt[hidden] { display: none; }
.yourdata .dl-plist { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.yourdata .dl-pop { top: calc(100% + 6px); }
.yourdata .dl-field.pick[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.yourdata .dl-dict .btn2 { margin-left: auto; flex: none; }
.yourdata .dl-dict.none { background: var(--panel-2); border-color: var(--rule); color: var(--ink-2); }
.yourdata .dl-dict.none .dot { background: var(--muted); }
.yourdata .dl-field b { font-weight: 600; }
.yourdata .dl-card .btn2 { min-height: 36px; }
.yourdata .yd-from { margin: 4px 0 0 18px; }
.yourdata .yd-note { margin-top: 14px; }
/* Data's Problems (DataProblems-A.html): the menu in place of Repeats, the filter line over the grid */
.yourdata .yd-prob summary { min-height: 36px; }
.yourdata .yd-prob summary.bad { border-color: var(--miss); }
.yourdata .yd-prob summary.on { background: var(--pick-tint); color: var(--pick-ink); border-color: transparent; }
.yourdata .yd-prob b, .yourdata .yd-prob-none b { font-weight: 500; font-size: 12px; }
.yourdata .yd-prob-none { min-height: 36px; opacity: .55; cursor: default; }
.yourdata .yd-prob .yd-menulist { left: 0; right: auto; min-width: 270px; }
.yourdata .yd-prob .yd-menulist a { display: flex; justify-content: space-between; gap: 12px; }
.yourdata .yd-prob .yd-menulist a.on { background: var(--accent-soft); }
.yourdata .yd-prob .yd-menulist a.zero { color: var(--muted); }
.yourdata .yd-prob .yd-menulist .c { color: var(--muted); font-size: 12.5px; }
.yourdata .yd-prob .yd-menulist hr { border: 0; border-top: 1px solid var(--rule); margin: 4px 0; }
.yourdata .yd-menufoot { margin: 4px 10px 6px; color: var(--muted); max-width: 250px; }
.yourdata .yd-pbar { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; padding: 10px 14px; margin: 0 0 10px;
  border-radius: 12px; border: 1px solid var(--rule); background: var(--inset); color: var(--ink); font-size: 14px; }
.yourdata .yd-pbar .grow { flex: 1 1 320px; min-width: 0; overflow-wrap: anywhere; }
.yourdata .yd-pbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--rule);
  background: var(--panel); color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.yourdata .yd-pbtn.pri { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.yourdata .yd-pbtn:disabled { opacity: .55; cursor: default; }
.yourdata tr.yd-flash td { animation: yd-flash var(--mv-dflash) var(--mv-ease); }
@keyframes yd-flash { 0%, 40% { background: var(--pick-tint); } 100% { background: transparent; } }
.yourdata .yd-w-prefixes, .yourdata .yd-w-suffixes, .yourdata .yd-w-checked, .yourdata .yd-w-found, .yourdata .yd-w-position, .yourdata .yd-w-often { width: 110px; }
.yourdata .yd-w-affix { width: 120px; }
.yourdata .yd-w-what { width: 260px; }
.yourdata .yd-w-value { width: 520px; }

/* Rule extraction → Word forms (RuleExtractionFormat.html A, part 2) */
.rules .rx-card { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px 16px; margin: 12px 0; }
.rules .rx-kind { font-size: 17px; margin: 6px 0; }
.rules .rx-counts { color: var(--muted); margin: 0; }
.rules .rx-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.rules .rx-tools .btn { min-height: 36px; cursor: pointer; }
.rules .rx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.rules .rx-show { margin-bottom: 10px; }
.rules .rx-grid td { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.rules .rx-grid tr.done td { color: var(--muted); }
.rules .rx-acts { white-space: nowrap; }
.rules .rx-acts .btn2 { min-height: 28px; padding: 0 8px; font-size: 13px; }
.rules .rx-affixes { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 10px 14px; max-height: 72vh; overflow: auto; }
.rules .rx-affixes li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.rules .rx-what { display: block; }
@media (max-width: 900px) { .rules .rx-cols { grid-template-columns: 1fr; } }
.rules .rx-h { font-size: 14px; margin: 14px 0 6px; color: var(--muted); font-weight: 600; }
.rules .rx-line { margin: 8px 0 12px; }
.rules .rx-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.rules .rx-way { display: inline-flex; flex-wrap: wrap; align-items: stretch; gap: 4px; }
.rules .rx-slot { display: inline-flex; flex-direction: column; justify-content: center; padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .02em; max-width: 220px; }
.rules .rx-slot.opt { border-style: dashed; font-weight: 500; }
.rules .rx-slot.root { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.rules .rx-slot small { font-weight: 400; letter-spacing: 0; color: var(--muted); }
.rules .rx-slot.root small { color: inherit; }
.rules .rx-plus, .rules .rx-or { align-self: center; color: var(--muted); }
.rules .rx-or { font-style: italic; margin: 0 8px; }
.rules .rx-ex { margin: 6px 0 0; }
.rules .rx-fact { display: grid; grid-template-columns: 190px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rules .rx-found { margin-top: 8px; }
.rules .rx-found summary { cursor: pointer; color: var(--accent-ink); font-size: 14px; }
@media (max-width: 700px) { .rules .rx-fact { grid-template-columns: 1fr; gap: 2px; } }
/* Word forms, round 2 (RulesPattern2.html A): a slim strip, words in colour by their parts, the pattern in a side panel */
.rules .rx-sub { margin: -4px 0 10px; }
.rules .rx-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); padding: 10px 14px; margin: 10px 0; }
.rules .rx-res { display: flex; flex-direction: column; min-width: 220px; flex: 1 1 280px; }
.rules .rx-res b { font-size: 17px; }
.rules .rx-rest { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rules .rx-exbox { display: flex; align-items: center; gap: 8px; }
.rules .rx-big .rx-p { font-size: 22px; padding: 4px 10px; }
.rules .rx-legend { display: flex; gap: 4px; }
.rules .rx-legend .rx-p { font-size: 11px; padding: 1px 7px; }
.rules .rx-word { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.rules .rx-p { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid transparent; font-size: 15px; line-height: 1.5; }
.rules .rx-p.root { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); font-weight: 600; }
.rules .rx-p.suf { background: var(--hok, var(--pick-tint)); background: color-mix(in srgb, var(--teal, #6b8f5e) 18%, transparent); border-color: color-mix(in srgb, var(--teal, #6b8f5e) 45%, transparent); }
.rules .rx-p.pre { background: var(--pick-tint); border-color: color-mix(in srgb, var(--pick-ink) 35%, transparent); color: var(--pick-ink); }
.rules .rx-choice { display: inline-flex; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.rules .rx-choice > * { border: 0; background: var(--panel); color: var(--ink); font: inherit; font-size: 13px; padding: 4px 10px; text-decoration: none; cursor: pointer; }
.rules .rx-choice > * + * { border-left: 1px solid var(--rule); }
.rules .rx-choice .rx-keep { background: var(--accent); color: var(--on-accent); }
.rules .rx-choice .rx-keep[disabled] { background: var(--accent-soft); color: var(--muted); cursor: default; }
.rules .rx-choice [data-drop] { color: var(--miss); }
.rules .rx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rules .rx-chip { display: inline-flex; gap: 4px; align-items: baseline; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: help; }
.rules .rx-chip small { color: var(--muted); }
.rules .rx-more summary { cursor: pointer; margin: 8px 0; color: var(--accent-ink); font-size: 13px; }
.rules .rx-more .rx-chip { margin: 0 4px 6px 0; }
.rules .rx-affixes h3 { font-size: 15px; margin: 0 0 8px; }
.rules .rx-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(640px, 92vw); overflow: auto; z-index: 30; background: var(--panel);
  border-left: 1px solid var(--line); box-shadow: -10px 0 30px rgba(0,0,0,.18); padding: 16px 20px; }
.rules .rx-dhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rules .rx-what { font-weight: 600; font-size: 14px; }
.rules .rx-slot em { font-style: italic; font-weight: 400; font-size: 11px; letter-spacing: 0; color: var(--muted); }
.rules .rx-slot.root em { color: inherit; }
.rules .rx-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; }
.rules .rx-note { margin-top: 14px; }
.rules .rx-ex { gap: 6px 18px; }
/* Word forms laid out as The list (RulesTabs.html) */
.rules .rx-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rules .rx-strip .rx-res { flex: 1 1 320px; display: flex; flex-direction: column; min-width: 0; }
.rules .rx-open { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; border-bottom: 1px dashed var(--rule); }
.rules .rx-grid tr.done td { color: var(--muted); }
.rules tr.rx-open-row td { background: var(--paper); }
.rules .rx-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 22px; padding: 6px 0; }
.rules .rx-detail p { margin: 2px 0; }
.rules .rx-detail ul { margin: 2px 0; }
.rules .rx-detail li { padding: 2px 0; }
.rules .rx-ok { color: var(--hok-ink, var(--ink)); }
.rules .rx-warn { color: var(--miss); }
.rules .rx-same { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 4px 0; }
.rules a.rx-p { text-decoration: none; }
.rules .rx-pattern { padding: 16px 20px; }
.rules .rx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 0 24px; }
.rules .rx-grid .right, .rules .wt .right { text-align: right; }
.rules a.exp { text-decoration: none; }
/* Find the word forms (RulesEngine2.html): the card, the steps of a run, who split a word */
.rules .rx-tag { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 999px; font-size: 11px; border: 1px solid var(--line);
  color: var(--muted); vertical-align: middle; }
.rules .rx-tag.ai { border-color: var(--ai-line, #b9a3d9); color: var(--ai-ink, #6a4f99); background: var(--ai-soft, #f1ebfa); }
.rules .rx-tag.who { border-color: var(--miss); color: var(--miss); }
.rules .exp[data-find] { cursor: pointer; }
.rules .rx-find .btn:disabled { opacity: .45; cursor: not-allowed; }
/* Find the word forms (RulesRun.html B): Collect's start card; the bar as the Collect run page draws it */
.rules .rx-find .rx-ready { margin: 10px 0 0; line-height: 1.7; }
.rules .rx-find .rx-time { display: block; margin-top: 8px; }
.rules .rx-find .say > label.small, .rules .rx-find .rx-learn { display: block; margin-top: 6px; }
.rules .rx-find .linkbtn { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rules .rx-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--miss-tint); margin: 14px 0 4px; }
.rules .rx-bar i { background: var(--accent); transition: width .6s ease; }
/* a root list made from the words (RootsFromWords-A.html, look 1 of its looks): two ways in the roots line, the card's
   choices as switch rows, the made list in a panel under the card */
.rules .rx-find .rf-two { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.rules .rx-find .rf-two .btn2 { min-height: 40px; padding: 0 14px; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; }
.rules .rx-find .rf-two .btn2.go { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; }
.rules .rx-find .rf-how { display: block; line-height: 1.5; }
.rules .rx-find .rf-sws { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 2px; }
.rules .rx-find .rf-sw { align-items: flex-start; max-width: 560px; }
.rules .rx-find .rf-sw .nt b { font-weight: 600; }
.rules .rx-find .rf-sw .small a { color: var(--accent-ink); }
.rules .sw:focus-visible, .rules .rf-panel button:focus-visible, .rules label[tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rules .rf-made { display: inline-block; padding: 0 7px; border-radius: 999px; font-size: 11px; border: 1px solid var(--accent-line);
  color: var(--accent-ink); background: var(--accent-soft); vertical-align: 1px; }
.rules .rf-busy { display: inline-flex; align-items: center; gap: 8px; color: var(--notice-ink); }
.rules .rf-busy i { width: 9px; height: 9px; border-radius: 5px; background: var(--pick); display: inline-block; animation: rfbusy 1.2s ease-in-out infinite; }
@keyframes rfbusy { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .rules .rf-busy i { animation: none; } }
.rules .rf-panel { margin-top: 14px; padding: 22px 26px; border: 1px solid var(--accent-line); border-radius: 14px; background: var(--panel);
  display: flex; flex-direction: column; gap: 16px; }
.rules .rf-panel h3 { margin: 0; font-size: 19px; }
.rules .rf-panel .sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; max-width: 80ch; }
.rules .rf-panel .rf-note { margin: 8px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--notice-bg); color: var(--notice-ink); }
.rules .rf-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rules .rf-nums div { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 14px; background: var(--inset); }
.rules .rf-nums b { display: block; font-size: 24px; font-family: var(--form); }
.rules .rf-nums .chk b { color: var(--pick); }
.rules .rf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rules .rf-cols.two { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.rules .rf-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rules .rf-col .eyebrow { display: block; }
.rules .rf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rules .rf-chips .rx-p { font-family: var(--form); }
.rules .rf-chips .from { font-size: 12px; color: var(--muted); margin: 0 6px 0 -2px; align-self: center; }
.rules .rf-rows { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 10px; overflow: auto; max-height: 300px; }
.rules .rf-rows div { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-top: 1px solid var(--rule); font-size: 14px; }
.rules .rf-rows div:first-child { border-top: 0; }
.rules .rf-rows .w { font-family: var(--form); font-size: 16px; min-width: 56px; }
.rules .rf-rows .h { color: var(--muted); flex: 1; min-width: 0; }
.rules .rf-rows .k { display: inline-flex; gap: 4px; }
.rules .rf-rows .k button { font: inherit; font-size: 12px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--rule); background: var(--panel);
  color: var(--ink); cursor: pointer; }
.rules .rf-rows .k button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.rules .rf-left { font-size: 13px; color: var(--muted); }
.rules .rf-left.big { font-size: 14px; }
.rules .rf-left .form { font-family: var(--form); }
.rules .rf-left .linkbtn, .rules .rf-acts .linkbtn { font: inherit; padding: 0; border: 0; background: none; color: var(--accent-ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rules .rf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.rules .rf-acts .btn { min-height: 44px; padding: 0 20px; font-weight: 600; border-radius: 10px; }
@media (max-width: 900px) { .rules .rf-nums, .rules .rf-cols, .rules .rf-cols.two { grid-template-columns: minmax(0, 1fr); } }
/* the background button while a job goes (RulesTopBar.html A): a ring that fills in the pill; in the menu the percent
   large and a thick bar that moves. Its own classes: the header is <header class="bar">, so a .bar here took its style */
.bgx-ring { width: 18px; height: 18px; transform: rotate(-90deg); flex: 0 0 18px; }
.bgx-ring circle { fill: none; stroke-width: 3; }
.bgx-ring .t { stroke: var(--accent-line); }
.bgx-ring .f { stroke: var(--accent-ink); stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.bgx-pct { font-variant-numeric: tabular-nums; font-weight: 600; }
.bgmenu .bgx-card { gap: 8px; }
.bgx-card .top { display: flex; align-items: baseline; gap: 10px; }
.bgx-card .top b { flex: 1; }
.bgx-card .big { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.bgx-track { position: relative; height: 10px; border-radius: 5px; background: var(--inset); overflow: hidden; }
.bgx-track i { position: absolute; left: 0; top: 0; bottom: 0; min-width: 10px; border-radius: 5px; background: var(--accent);
  background-image: linear-gradient(45deg, rgba(255,255,255,.22) 25%, transparent 25% 50%, rgba(255,255,255,.22) 50% 75%, transparent 75%);
  background-size: 14px 14px; animation: bgxmove 1s linear infinite; transition: width .6s ease; }
@keyframes bgxmove { to { background-position: 14px 0; } }
@media (prefers-reduced-motion: reduce) { .bgx-track i { animation: none; } }
/* the handbook without phonetic symbols for the community (HandbookNoIPA.html A): the linguist's sound small after
   the letter; a rule's words and their meanings side by side, never one piece a line */
:is(.hbp,.hbs) .ipa.sm { display: inline; font-size: 11px; color: var(--hmuted); margin-left: 4px; font-weight: 400; }
:is(.hbp,.hbs) .ex { display: inline-block; margin: 2px 16px 2px 0; vertical-align: top; }
:is(.hbp,.hbs) .ex .sp { display: inline; }
:is(.hbp,.hbs) .ex .gl { display: inline; margin-left: 4px; }
:is(.hbp,.hbs) .exs { margin: 4px 0 2px; }

/* A word's status in Your data → Words (WordStatus-A.html): a coloured pill, The list's colours where they mean the same */
.ws { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; line-height: 1.5; }
.ws.ck { background: var(--teal-soft); color: var(--teal-ink); }
.ws.pk { background: var(--accent-soft); color: var(--accent-ink); }
.ws.tp { background: var(--notice-bg); color: var(--pick); }
.ws.fl { background: var(--paper, var(--panel)); border-color: var(--rule); color: var(--ink-2); }
.ws.fc { border: 1px dashed var(--rule-2); color: var(--muted); }
.ws.ty { border-color: var(--accent-line); color: var(--accent-ink); }
.ws.ot { color: var(--faint); border-color: var(--rule); }
.ws.n0 { opacity: .55; }
.yourdata .yd-w-status { width: 125px; }
.yourdata .yd-grid td.ws-cell { background: var(--paper, var(--panel)); cursor: default; vertical-align: top; }
.yourdata .yd-grid th.ws-head { cursor: default; color: var(--muted); }
.yourdata .yd-grid td.ws-from { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-counts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -2px 0 10px; font-size: 13.5px; }
.ws-counts .lbl { color: var(--muted); margin-right: 2px; }
.ws-counts .why { flex-basis: 100%; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ws-filter .yd-menulist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ws-filter .yd-menulist a.on { background: var(--accent-soft); }
.ws-filter .yd-menulist .c { color: var(--muted); font-size: 12.5px; }
/* the quiet mark on results made from words not checked yet: Rule extraction's Words to check, the handbook's words */
.ws-nc { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-size: 11.5px; color: var(--faint); font-family: system-ui, sans-serif; white-space: nowrap; vertical-align: middle; }
.ws-nc::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--rule-2); }
.ws-nc.tp { color: var(--pick); }
.ws-nc.tp::before { background: var(--pick); }
.ws-dot { display: inline-block; width: 6px; height: 6px; border-radius: 3px; background: #bdb6aa; margin-left: 4px; vertical-align: middle; }
.ws-dot.tp { background: #c98a2b; }
.ws-key { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12.5px; color: var(--muted); padding: 6px 12px 8px; border-bottom: 1px solid var(--row); }
.ws-key .ws-nc { margin-left: 0; }
.ws-hbnote { font-size: 11px; color: #6d675e; margin: 6px 0 0; }
/* one scroll for Your data (asked 2026-10-28): the grid has no box of its own; the page scrolls and the column letters
   and titles stay in view just under the top bar (--yd-top, its height, set by yourdata.js) */
.yourdata .yd-wrap { overflow: visible; max-height: none; }
.yourdata .yd-grid thead tr.yd-letters th { top: var(--yd-top, 0px); }
.yourdata .yd-grid thead tr:not(.yd-letters) th { top: calc(var(--yd-top, 0px) + 27px); }
.rules .rf-panel .rf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rules .rf-panel .rf-use-top { flex: 0 0 auto; }
/* the made root list waits above the Find card it blocks (RootListPlace.html A) */
.rules .rf-panel.rf-waits { margin: 0 0 14px; border: 2px solid var(--pick, #9A5A00); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pick, #9A5A00) 14%, transparent); }
.rules .rf-panel .rf-tag { display: inline-block; width: fit-content; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px;
  font-weight: 600; background: var(--amber, #F0E7D5); color: var(--pick, #9A5A00); }
.rules .rx-find .rf-first { color: var(--pick, #9A5A00); font-weight: 600; }

/* Data: its own sidebar item on a teal tile, and its page — a hero, the kinds in two groups (DataPage.html T1) */
:root{--ph0:#4fc9c3;--ph0-soft:#123a39}
:root[data-theme=light]{--ph0:#0e8a8a;--ph0-soft:#dff3f2}
.side .nav.jd .jt{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex:none;background:var(--ph0-soft);color:var(--ph0)}
.side .nav.jd .jt svg{color:var(--ph0)}
.side .nav.jd{margin-bottom:6px}
/* Compare after Send out, on its own tile as Data is, in Analyse's colour (shown only with something to compare) */
.side .nav.jc{margin-top:6px}
.side .nav.jc .jt{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex:none;background:var(--ph2-soft);color:var(--ph2)}
.side .nav.jc .jt svg{color:var(--ph2)}
.side .nav.jc[aria-current=page] .jt{background:var(--ph2)}
.side .nav.jc[aria-current=page] .jt svg{color:var(--panel)}
.side .nav.jd[aria-current=page] .jt{background:var(--ph0)}
.side .nav.jd[aria-current=page] .jt svg{color:var(--panel)}
.side .nav.jd.soon .jt{background:var(--inset);color:var(--muted)}.side .nav.jd.soon .jt svg{color:var(--muted)}
.yourdata .dk-hero{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:22px 24px;margin:4px 0 18px;border-radius:18px;
  background:linear-gradient(120deg,var(--ph0-soft) 0%,var(--panel) 75%);border:1px solid color-mix(in srgb,var(--ph0) 30%,transparent)}
.yourdata .dk-big{width:64px;height:64px;border-radius:18px;background:var(--ph0);color:#fff;display:grid;place-items:center;
  box-shadow:0 8px 20px color-mix(in srgb,var(--ph0) 30%,transparent);flex:none}
.yourdata .dk-big svg{color:#fff}
.yourdata .dk-hero .txt{flex:1 1 380px}
.yourdata .dk-hero h1{margin:0;font-size:30px}
.yourdata .dk-hero p{margin:4px 0 10px;color:var(--muted);max-width:70ch;line-height:1.5}
.yourdata .dk-chips{display:flex;flex-wrap:wrap;gap:8px}
.yourdata .dk-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;background:var(--panel);
  border:1px solid var(--line);font-size:13px;color:var(--ink);text-decoration:none}
.yourdata .dk-chip .dot{width:7px;height:7px;border-radius:4px;background:var(--ph1)}
.yourdata .dk-chip.lang{color:var(--ph0);font-weight:600;padding:2px 11px 2px 3px}
.yourdata .dk-chip.lang.on{border-color:var(--ph0);box-shadow:0 0 0 2px var(--ph0-soft)}
.yourdata .dk-hero .acts{display:flex;gap:8px;align-items:center}
.yourdata .dk-import{cursor:pointer;background:var(--ph0);border-color:var(--ph0)}
.yourdata .dk-badge{display:inline-grid;place-items:center;border-radius:12px;background:var(--cs);color:var(--c);flex:none}
.yourdata .dk-badge svg{color:var(--c)}
.yourdata .dk-mark{font-weight:700;font-size:1.05em;line-height:1}
/* the kinds as one segmented switch, the Analyse page's seg2 (DataPage.html D) */
.yourdata .dk-switch{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:0 0 12px}
.yourdata .dk-switch .seg2{flex-wrap:wrap}
.yourdata .dk-switch .seg2 a{padding:0 10px}                /* one line at 1440 px with the list's tab too */
.yourdata .seg2 a{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 12px;border-radius:999px;color:var(--muted);
  font-size:13.5px;text-decoration:none;white-space:nowrap}
.yourdata .seg2 a:hover{color:var(--ink)}
.yourdata .seg2 a[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-ink);font-weight:600}
.yourdata .seg2 a b{font-weight:600;opacity:.75}
.yourdata .seg2 a.zero{opacity:.55}
.yourdata .seg2 a:focus-visible{outline:2px solid var(--accent);outline-offset:1px}

/* Collect: "Where should a run look?" and the Only my files card (OnlyMyFiles design A); colours are tokens only */
.om-where{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:10px 12px;align-items:stretch;padding:12px;border:1px solid var(--rule);border-radius:14px;background:var(--panel)}
.om-where .om-q{align-self:center;padding:0 8px;font-weight:600;font-size:15px}
.om-where .om-said{grid-column:2/-1;min-height:0}.om-where .om-said:empty{display:none}
.om-opt{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;padding:12px 14px;border:1px solid var(--rule);border-radius:10px;background:var(--panel-2);color:var(--ink)}
.om-opt:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.om-opt[aria-checked=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}
.om-r{width:18px;height:18px;border-radius:50%;border:2px solid var(--rule-2);box-sizing:border-box;margin-top:2px;background:var(--panel)}
.om-opt[aria-checked=true] .om-r{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 4px,var(--panel) 4.5px)}
.om-opt .nt{display:flex;flex-direction:column;gap:2px;min-width:0}
.om-opt .nt>b{font-size:15.5px}
.om-opt .small{color:var(--muted)}
.om-lab{display:block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.om-folder{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.om-path{flex:1;min-width:220px;display:flex;align-items:flex-start;gap:8px;min-height:40px;padding:9px 12px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);font-family:var(--mono);font-size:13px;color:var(--ink);box-sizing:border-box;overflow-wrap:anywhere}
.om-path svg{color:var(--muted);flex-shrink:0}
.om-path.none{font-family:inherit;font-size:14px;color:var(--muted)}
.om-paths{display:flex;flex-direction:column;min-width:0}
.om-change{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
.om-change[hidden]{display:none}
.om-change input{flex:1;min-width:220px;font-family:var(--mono);font-size:13px}
.om-files{list-style:none;margin:0;padding:0;border:1px solid var(--rule);border-radius:12px;background:var(--panel-2);overflow:hidden}
.om-files li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:10px 14px;border-top:1px solid var(--row)}
.om-files li:first-child{border-top:0}
.om-files .kindtag{justify-self:start;min-width:66px;text-align:center}
.om-files .nt{display:flex;flex-direction:column;min-width:0}
.om-files .nt b{font-size:14.5px;font-weight:600;overflow-wrap:anywhere}
.om-files .to{font-size:13px;color:var(--teal-ink);font-weight:500;white-space:nowrap}
.om-files .ex{grid-column:2/-1;font-family:var(--form),"AImixE Deva",serif;color:var(--ink-2);font-size:15px;overflow-wrap:anywhere}
.om-files .ex i{font-style:normal;color:var(--muted);font-family:var(--sans);font-size:12.5px;margin:0 6px 0 2px}
.om-skip{margin-top:14px;padding-top:12px;border-top:1px dashed var(--rule-2)}
.om-skip ul{list-style:none;margin:6px 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.om-skip li{padding:2px 10px;border:1px dashed var(--rule-2);border-radius:999px;color:var(--muted);font-size:13px;text-decoration:line-through;text-decoration-color:var(--faint)}
.om-got{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.om-got>div{padding:12px 14px;border:1px solid var(--teal-line);background:var(--teal-soft);border-radius:12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.om-got b{font-size:26px;line-height:1.1;color:var(--teal-ink);font-variant-numeric:tabular-nums}
.om-got b span{font-size:13px;font-weight:600}
.om-got span{font-size:13px;color:var(--teal-ink)}
.om-got a{font-size:13px;color:var(--teal-ink);font-weight:600}
.om-line{font-size:15px;font-weight:500;margin:0}
.card.plan .path ol>li.om-ok .dot{background:var(--teal-soft);color:var(--teal-ink);border-color:var(--teal-line)}
details.also.om-off{opacity:.55}
.om-off-note{font-size:12.5px;color:var(--muted);font-style:italic;margin-left:6px}
.card.plan.om-card .say{gap:14px}
.card.plan .foot.om-foot .modes{opacity:.45}
.card.plan .foot.om-foot .modes button{cursor:not-allowed}
@media (max-width:900px){.om-where{grid-template-columns:1fr}.om-where .om-said{grid-column:1}.om-got{grid-template-columns:1fr}}
.om-card .btn:disabled{opacity:.5;cursor:not-allowed}
.om-one{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}
.om-p{word-break:break-all;min-width:0}
.om-gone{font-style:normal;font-size:12px;color:var(--miss);margin-left:6px;white-space:nowrap;font-family:var(--sans)}
.om-x{all:unset;cursor:pointer;color:var(--muted);box-sizing:border-box;min-width:28px;min-height:28px;display:grid;place-items:center;flex-shrink:0;border-radius:6px}.om-x:hover,.om-x:focus-visible{color:var(--ink);background:var(--row)}
/* OnlyMyFiles-B: Add a language, "Where do the words come from?", the steps while it works, and Home's "what came in" */
dialog.om-dlg{max-width:620px}
.om-src{border:0;margin:2px 0 14px;padding:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.om-src legend{font-size:15px;font-weight:600;margin:0 0 8px;padding:0}
.om-src .om-opt{grid-template-columns:20px minmax(0,1fr)}
.om-inner{grid-column:2;display:flex;flex-direction:column;gap:10px;margin-top:6px;cursor:default}
.om-inner[hidden]{display:none}
.om-inner .om-folder input{flex:1;min-width:220px;font-family:var(--mono);font-size:13px}
.om-inner .said:empty{display:none}
.om-says{font-size:13.5px;color:var(--ink-2);margin:0}
.om-steps{list-style:none;margin:4px 0 14px;padding:0;display:flex;flex-direction:column}
.om-steps li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;padding:9px 0;border-top:1px solid var(--row);align-items:start}
.om-steps li:first-child{border-top:0}
.om-steps .d{width:24px;height:24px;border-radius:12px;display:grid;place-items:center;font-size:12.5px;font-weight:700;border:1px dashed var(--rule-2);color:var(--muted);box-sizing:border-box}
.om-steps li.ok .d{background:var(--teal-soft);color:var(--teal-ink);border:1px solid var(--teal-line)}
.om-steps li.go .d{background:var(--accent-soft);color:var(--accent-ink);border:1px solid var(--accent-line)}
.om-steps li.bad .d{border:1px solid var(--miss);color:var(--miss)}
.om-steps .nt{display:flex;flex-direction:column;gap:1px;min-width:0}
.om-steps li.wait b{color:var(--muted);font-weight:500}
.om-bar{display:block;height:6px;border-radius:3px;background:var(--bar-soft);overflow:hidden;margin-top:6px}
.om-bar i{display:block;height:100%;width:40%;border-radius:inherit;background:var(--bar)}
.om-came{display:flex;flex-direction:column;gap:12px;padding:18px 22px;border:1px solid var(--teal-line);border-left:4px solid var(--teal);border-radius:14px;background:var(--panel);margin:0 0 14px}
.om-came .hd{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.om-came .hd h2{margin:0;font-size:19px}
.om-came .hd .small{overflow-wrap:anywhere;min-width:0}
.om-came .ok{width:30px;height:30px;border-radius:15px;display:grid;place-items:center;background:var(--teal-soft);color:var(--teal-ink);font-weight:700;flex-shrink:0}
.om-came .acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.om-came .skipline{font-size:13px;color:var(--muted);margin:0}
.om-src .om-opt{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;cursor:default;padding:12px 14px}
.om-src .om-opt.on{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}
.om-src .om-h{cursor:pointer;display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;border-radius:6px}
.om-src .om-h:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.om-src .om-opt.on .om-r{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 4px,var(--panel) 4.5px)}
.om-src .om-inner{grid-column:1;padding-left:30px;margin-top:0}
.om-src .nt{display:flex;flex-direction:column;gap:2px;min-width:0}
.om-src .nt>b{font-size:15.5px}
.om-src .small{color:var(--muted)}
.om-src .om-files{max-height:240px;overflow:auto}
/* Latin and IPA in the Data grid (LatinIpa-A.html): what the app reads, tinted; what you typed over, marked yours */
.yourdata .yd-grid th.yd-auto, .yourdata .yd-grid td.yd-auto { background: var(--accent-soft); color: var(--accent-ink); }
.yourdata .yd-grid td.yd-auto { font-size: 13.5px; }
.yourdata .yd-grid th.yd-auto { cursor: default; }
.yourdata .yd-grid td.yd-ipa { font-family: "Charis SIL", "Doulos SIL", "Noto Sans", serif; letter-spacing: .01em; }
.yourdata .yd-grid td.yd-own { background: var(--panel); color: var(--ink); font-weight: 600; }
.yourdata .yd-grid td.yd-own::after { content: " \2022  yours"; font-weight: 400; font-size: 11px; color: var(--pick); }
.yourdata .yd-grid td.yd-auto.yd-editing { background: var(--panel); }
.yourdata .yd-grid th.yd-letter.yd-auto { width: 120px; }   /* the letters row sets the widths (fixed layout) */
.yourdata .yd-grid td.yd-own { overflow-wrap: anywhere; }   /* a long typed value wraps inside its 120px column */
.yourdata .yd-cant { color: var(--muted); cursor: help; }
.yourdata .yd-autotag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--accent-line); color: var(--accent-ink);
  font-size: 10.5px; font-weight: 600; vertical-align: middle; }
.yourdata .yd-style { margin-left: 6px; font: inherit; font-size: 11px; font-weight: 500; color: var(--accent-ink); border: 1px solid var(--accent-line);
  border-radius: 6px; padding: 0 3px; background: var(--panel); }
.yourdata .yd-grid th.yd-auto .yd-style { margin-left: 2px; max-width: 74px; }
.yourdata .yd-grid td.yd-mark { overflow: hidden; }   /* a long chip wraps inside its cell: the page never scrolls sideways */
.yourdata .yd-grid td.yd-mark .yd-chip { flex-wrap: wrap; max-width: 100%; border-radius: 10px; }

/* Data's History (DataHistory-B.html): a pane beside the sheet, and a corner on every cell someone changed */
.yourdata .yd-histbtn[aria-pressed=true] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.yourdata .yd-histbtn svg { flex: none; }
.yourdata .yd-split { display: flex; gap: 14px; align-items: flex-start; }
.yourdata .yd-split > .yd-wrap { flex: 1; min-width: 0; }
.yd-history { flex: none; width: 370px; box-sizing: border-box;
  max-height: calc(100vh - var(--yd-top, 0px) - 24px); overflow: auto; padding: 12px; border: 1px solid var(--rule); border-radius: 14px; background: var(--ground); }
.yd-hhead { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.yd-hhead h3 { margin: 0; font-size: 16px; }
.yd-hsheet { flex: 1; font-size: 13px; color: var(--muted); }
.yd-hclose { border: 0; background: none; color: var(--muted); font: inherit; font-size: 16px; cursor: pointer; min-width: 32px; min-height: 32px; border-radius: 8px; }
.yd-hclose:hover { background: var(--inset); color: var(--ink); }
.yd-hfilter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.yd-history .yd-menu { position: relative; }
.yd-history .yd-menu summary { list-style: none; }
.yd-history .yd-menu summary::-webkit-details-marker { display: none; }
.yd-history .yd-menulist { position: absolute; left: 0; right: auto; top: calc(100% + 4px); z-index: 5; min-width: 200px; background: var(--panel);
  border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 4px; }
.yd-history .yd-menulist button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 6px;
  background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.yd-history .yd-menulist button:hover, .yd-history .yd-menulist button.on { background: var(--accent-soft); }
.yd-hsearch { display: flex !important; margin: 0 0 8px; }
.yd-hsearch input { width: 100% !important; }
.yd-hcell { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; padding: 6px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }
.yd-hnote { margin: 0 0 6px; min-height: 0; color: var(--muted); }
.yd-hnote:empty { display: none; }
.hx-day { margin: 14px 0 6px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hx-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); overflow: hidden; }
.hx-card { display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid var(--rule); }
.hx-card:last-child { border-bottom: 0; }
.hx-av { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c, var(--accent)); color: var(--on-accent); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.hx-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.hx-head { font-size: 14.5px; color: var(--ink-2); }
.hx-who { color: var(--ink); }
.hx-detail { margin-top: 3px; font-size: 14px; }
.hx-old { text-decoration: line-through; color: var(--miss); }
.hx-new { color: var(--teal-ink); font-weight: 600; }
.hx-none { color: var(--faint); font-style: italic; }
.hx-meta { margin-top: 5px; display: flex; gap: 4px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.hx-meta .yd-link { color: var(--accent-ink); }
.hx-was .hx-detail, .hx-was .hx-head > b:not(.hx-who) { opacity: .55; }
.hx-was .hx-av { opacity: .6; }
.hx-undone { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 6px; background: var(--inset); color: var(--muted); font-size: 11.5px; }
.hx-more { display: block; margin: 10px auto 0; }
.hx-empty { margin: 14px 0; color: var(--muted); font-size: 14px; }
/* a changed cell: a corner in the colour of the person who changed it, as Excel online */
.yourdata .yd-grid td.yd-edited { position: relative; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent); }
.yourdata .yd-grid td.yd-edited::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 9px 9px 0;
  border-color: transparent var(--c) transparent transparent; }
.yd-tip { position: fixed; z-index: 40; width: 230px; padding: 9px 11px; border-radius: 10px; background: var(--panel); border: 1px solid var(--rule);
  box-shadow: 0 8px 24px rgba(0,0,0,.14); font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.yd-tip b { color: var(--ink); }
.yd-tip s { color: var(--miss); }
.yd-tip .yd-link { color: var(--accent-ink); }
@media (max-width: 899px) {
  .yourdata .yd-split { display: block; }
  .yd-history { position: fixed; z-index: 30; left: 0; right: 0; top: var(--yd-top, 0px); bottom: 0; width: auto; max-height: none; border-radius: 0; border-width: 1px 0 0; }
}
/* a changed cell keeps its focus ring and its editing ring */
.yourdata .yd-grid td.yd-edited:focus, .yourdata .yd-grid td.yd-edited.yd-editing { box-shadow: inset 0 0 0 2px var(--accent); }
/* with the pane open the sheet gets less room: it scrolls in its own box (sideways too, as DataHistory-B), the titles stay in view
   inside it; the letters row sizes the columns; the pane stays under the top bar */
@media (min-width: 900px) { .yd-history { position: sticky; top: calc(var(--yd-top, 0px) + 8px); } }
@media (min-width: 900px) {
  .yourdata .yd-split:has(> .yd-history:not([hidden])) > .yd-wrap { overflow: auto; max-height: calc(100vh - var(--yd-top, 0px) - 24px); }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid { width: 1150px; min-width: 100%; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid.yd-has-auto { width: 1420px; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th { top: 0; width: 110px; box-sizing: border-box; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr:not(.yd-letters) th { top: 27px; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th.yd-no { width: 52px; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th.yd-w-status { width: 125px; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th.yd-auto { width: 120px; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th.yd-l-lwc,
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th.yd-l-en { width: 150px; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th.yd-l-sentence { width: 260px; }
  .yourdata .yd-split:has(> .yd-history:not([hidden])) .yd-grid thead tr.yd-letters th.yd-mark { width: 150px; }
}

/* while a Problems filter is on, the From column gives its room to the reasons in the last column; the page keeps its one scroll */
.yourdata:not([data-only=""]) .yd-grid thead tr.yd-letters th.yd-mark { width: 220px; }
.yourdata:not([data-only=""]) .yd-grid thead tr.yd-letters th.yd-l-class { width: 80px; }
.yourdata:not([data-only=""]) .yd-grid thead tr.yd-letters th.yd-l-word, .yourdata:not([data-only=""]) .yd-grid thead tr.yd-letters th.yd-l-root { width: 120px; }
.yourdata:not([data-only=""]) .yd-grid thead tr.yd-letters th.yd-auto { width: 90px; }
.yourdata .yd-grid td.bad { color: var(--miss); background: var(--miss-tint); }

/* Data's Letters tab (DataLetters-A.html): the tiles, the card, how the letters are read */
.yourdata .lt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.yourdata .lt-head h2 { margin: 0; font-size: 20px; }
.yourdata .lt-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; max-width: 760px; }
.yourdata .lt-legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.yourdata .lt-legend i { font-style: normal; padding: 1px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-ink); }
.yourdata .lt-none { padding: 24px 0; }
.yourdata .lt-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.yourdata .lt-group { margin: 0 0 16px; }
.yourdata .lt-group h3 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.yourdata .lt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.yourdata .lt-tile { display: flex; flex-direction: column; align-items: center; gap: 1px; position: relative; border: 1px solid var(--rule);
  border-radius: 12px; background: var(--panel); padding: 8px 8px 7px; text-align: center; cursor: pointer; text-decoration: none; color: inherit; }
.yourdata .lt-tile:hover { border-color: var(--accent-line); }
.yourdata .lt-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.yourdata .lt-tile .ch { font-size: 30px; line-height: 1.15; font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif; color: var(--ink); }
.yourdata .lt-tile .ipa { font-family: "Charis SIL", "Doulos SIL", "Noto Sans", serif; font-size: 13px; color: var(--ink-2); min-height: 1.2em; }
.yourdata .lt-tile .lat { font-size: 12px; color: var(--accent-ink); min-height: 1.2em; }
.yourdata .lt-tile .n { position: absolute; top: 5px; right: 7px; font-size: 10.5px; color: var(--faint); }
.yourdata .lt-tile.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-line); }
.yourdata .lt-tile.yours { border-style: dashed; border-color: var(--pick); }
.yourdata .lt-tile.yours::after { content: "changed"; position: absolute; left: 7px; top: 5px; font-size: 9.5px; color: var(--pick); }
.yourdata .lt-card { position: sticky; top: 74px; border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); padding: 14px 16px; }
.yourdata .lt-card .big { font-size: 56px; line-height: 1; font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif; }
.yourdata .lt-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 10px 0; font-size: 14px; }
.yourdata .lt-card dt { color: var(--muted); }
.yourdata .lt-card dd { margin: 0; }
.yourdata .lt-card .ipa { font-family: "Charis SIL", "Doulos SIL", "Noto Sans", serif; }
.yourdata .lt-card h4 { margin: 12px 0 6px; font-size: 13px; color: var(--muted); }
.yourdata .lt-card .lt-same, .yourdata .lt-card .lt-twin { margin: 4px 0 0; color: var(--muted); }
.yourdata .lt-card .lt-go { margin: 10px 0 0; }
.yourdata .lt-ex { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.yourdata .lt-ex li { padding: 5px 0; border-top: 1px solid var(--rule); }
.yourdata .lt-ex .l { color: var(--accent-ink); }
.yourdata .lt-ex .i { color: var(--muted); font-family: "Charis SIL", "Doulos SIL", "Noto Sans", serif; }
.yourdata .lt-choose { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; align-items: center; }
.yourdata .lt-chip { padding: 3px 9px; border: 1px solid var(--rule); border-radius: 8px; background: none; color: var(--ink); cursor: pointer;
  font-family: "Charis SIL", "Doulos SIL", serif; font-size: 13px; }
.yourdata .lt-chip[aria-pressed=true] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.yourdata .lt-other { width: 7em; }
.yourdata .lt-rules { margin: 4px 0 18px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); font-size: 14px; }
.yourdata .lt-rules h3 { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.yourdata .lt-rules ul { margin: 0; padding: 0; list-style: none; }
.yourdata .lt-rules li { margin: 3px 0; display: flex; align-items: center; gap: 0; text-align: left; }
.yourdata .lt-rules .lt-n { margin-left: 10px; color: var(--muted); }
.yourdata .lt-rules .sw { display: inline-block; flex: none; width: 28px; height: 16px; border-radius: 9px; border: 0; padding: 0; margin-right: 8px;
  background: var(--rule-2); position: relative; cursor: pointer; }
.yourdata .lt-rules span.sw { cursor: default; }
.yourdata .lt-rules .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel); }
.yourdata .lt-rules .sw[aria-pressed=true], .yourdata .lt-rules .sw[data-state=true] { background: var(--teal); }
.yourdata .lt-rules .sw[aria-pressed=true]::after, .yourdata .lt-rules .sw[data-state=true]::after { left: auto; right: 2px; }
.yourdata .lt-rules button.sw:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.yourdata .lt-filter { font-size: 13.5px; margin: 0 0 10px; color: var(--ink-2); }
.yourdata .lt-filter b { color: var(--ink); }
@media (max-width: 1100px) { .yourdata .lt-wrap { grid-template-columns: 1fr; } .yourdata .lt-card { position: static; } }
.yourdata .lt-said { margin: 4px 0 0; color: var(--muted); }
.yourdata .lt-said.bad { color: var(--miss); }

/* Data's Dictionary tab (Dictionary-B.html), the tint on what the dictionary filled, and the sheet of meanings it isn't sure of */
.yourdata td.yd-pick, .yourdata .yd-grid td.yd-pick { background: var(--pick-tint); }
.yourdata .dx-search input { width: 330px; max-width: 100%; }
.yourdata form.yd-tools .grow { flex: 1; }
.yourdata .yd-menulist .dx-soon { display: block; padding: 8px 10px; }
.dx-az { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 10px; padding: 4px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); }
.dx-az a { min-width: 28px; text-align: center; padding: 2px 5px; border-radius: 6px; text-decoration: none; color: var(--ink);
  font-family: var(--form), "AImixE Deva", serif; font-size: 16px; }
.dx-az a:hover, .dx-az a:focus-visible { background: var(--accent); color: var(--on-accent); }
.yourdata .yd-grid tr.dx-band { scroll-margin-top: calc(var(--yd-top, 0px) + 64px); }
.yourdata .yd-grid tr.dx-band td { background: var(--inset); font-family: var(--form), "AImixE Deva", serif; font-size: 19px; font-weight: 700;
  padding: 5px 10px; color: var(--ink); cursor: default; }
.yourdata .yd-grid tr.dx-band td small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.yourdata .yd-grid.dx td.dx-same { color: var(--muted); }
.yourdata .yd-grid.dx td.dx-lwc { font-family: var(--form), "AImixE Deva", serif; }
.yourdata .yd-grid td.dx-src { font-size: 12.5px; color: var(--muted); }
.yourdata .yd-grid td.dx-src.h { color: var(--pick-ink); }
.yourdata .yd-grid td.dx-en.dx-none { color: var(--muted); font-style: italic; font-size: 13px; }
.yourdata .yd-grid.dx .yd-w-word { width: 100px; }      /* the widths add up to the page's room: 1280 px shows no sideways scroll */
.yourdata .yd-grid.dx th.yd-letter.yd-auto { width: 90px; }
.yourdata .yd-grid.dx .yd-w-lwc { width: 130px; }
.yourdata .yd-grid.dx .yd-w-en { width: 180px; }
.yourdata .yd-grid.dx .yd-w-class { width: 80px; }
.yourdata .yd-grid.dx .yd-w-src { width: 100px; }
.yourdata .yd-chip[hidden] { display: none; }
dialog.dx-guess { max-width: none; overflow: hidden; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--rule); border-radius: 14px;
  background: var(--panel); color: var(--ink); }
dialog.dx-guess::backdrop { background: var(--scrim); }
:root { --scrim: rgba(0, 0, 0, .55); }
:root[data-theme=light] { --scrim: rgba(30, 28, 25, .4); }
dialog.dx-guess[open] { display: flex; flex-direction: column; }
.dx-ghead { padding: 16px 20px 6px; }
.dx-ghead h2 { margin: 0 0 4px; font-size: 20px; }
.dx-ghead p { margin: 0; color: var(--muted); }
.dx-gscroll { overflow: auto; padding: 0 20px; flex: 1; min-height: 0; }
.dx-gtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dx-gtable th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: var(--panel); }
.dx-gtable td { padding: 6px 8px; border-bottom: 1px solid var(--row); vertical-align: middle; }
.dx-gtable td.dx-w { font-family: var(--form), "AImixE Deva", serif; font-size: 16px; }
.dx-gtable td.dx-tick { width: 36px; text-align: center; }
.dx-gtable td.dx-tick input { min-height: 0; }
dialog .dx-gtable input.dx-gen { min-height: 32px; width: 100%; min-width: 150px; min-height: 32px; padding: 0 8px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; }
.dx-gtable .dx-alts { display: flex; flex-wrap: wrap; gap: 4px; }
.dx-alt { padding: 2px 8px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--accent-ink); font: inherit; font-size: 12.5px; cursor: pointer; }
.dx-alt:hover { background: var(--accent-soft); border-color: var(--accent-line); }
.dx-gfoot { display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 12px 20px 16px; border-top: 1px solid var(--rule); }
.dx-gfoot .small { margin-right: auto; }
.hbx-seg.one{grid-template-columns:1fr}
/* Latin letters into the script (DataLatin-A.html): the check list unfolds under the notice; the table scrolls in its own box */
.yd-latin { border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); padding: 16px 18px; margin: 0 0 14px; min-width: 0; }
.yd-latin[hidden] { display: none; }
.yd-latin h3 { margin: 0 0 2px; font-size: 17px; }
.yd-latin .sub { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; }
.yl-scroll { overflow-x: auto; max-width: 100%; }
.yl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.yl-table th, .yl-table td { padding: 6px 8px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.yl-table th { color: var(--muted); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.yl-table td.yl-tick { width: 34px; }
.yl-table td.yl-tick input { min-height: 0; accent-color: var(--accent); }
.yl-table .lat { font-family: "Charis SIL", "Doulos SIL", "Noto Sans", serif; font-size: 15px; }
.yl-table td.yl-no { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.yl-table input.yl-text { font: inherit; font-size: 16px; padding: 3px 8px; border: 1px solid var(--rule); border-radius: 7px; background: var(--paper);
  color: var(--ink); width: 150px; min-height: 32px; font-family: var(--form), "AImixE Deva", "Noto Sans", sans-serif; }
.yl-how { font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.yl-how.ok { background: var(--accent-soft); color: var(--accent-ink); }
.yl-how.ck { background: var(--notice-bg); color: var(--notice-ink); border: 1px solid var(--notice-line); }
.yl-how.no { background: var(--inset); color: var(--miss); }
.yl-alt { display: flex; gap: 6px; margin-top: 4px; }
.yl-way { padding: 2px 8px; border: 1px solid var(--rule); border-radius: 7px; background: var(--paper); color: var(--ink); cursor: pointer;
  font: inherit; font-family: var(--form), "AImixE Deva", "Noto Sans", sans-serif; }
.yl-way.on { border-color: var(--accent); background: var(--accent-soft); }
.yl-foot { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.yl-foot .grow { flex: 1; min-width: 200px; color: var(--muted); font-size: 13px; }
.yl-say { margin-left: 6px; color: var(--miss); }
/* phone width: no page scrolls sideways. A wide table scrolls inside its own box, a long path or button row wraps. */
@media (max-width:700px){
  .settingspage code{overflow-wrap:anywhere}
  .ltabrow{flex-wrap:wrap}
  .cx-vsec .card,.yourdata .yd-wrap{overflow-x:auto}
  /* the box scrolls down too, so the column titles stay in view (the part's own rule above lets it grow) */
  .yourdata .yd-wrap{max-height:calc(100vh - var(--yd-top,0px) - 16px)}
  /* inside that box the headers stay at the top of the box, not under the top bar */
  /* the grid keeps the width its columns have on a computer; the box scrolls sideways to show them */
  .yourdata .yd-grid{width:100%;min-width:960px}
  .yourdata .yd-grid thead tr.yd-letters th{top:0}
  .yourdata .yd-grid thead tr:not(.yd-letters) th{top:27px}
}

/* the community form's facts, each with its box in the readers' language (HandbookFacts.html A) */
.hbpage dialog .hbgrp{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:16px 0 8px;padding-top:10px;border-top:1px solid var(--rule)}
.hbpage dialog .hbgrp:first-of-type{border-top:0;padding-top:0}
.hbfact{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;font-size:14px}.hbfact .found{display:block}
.hbtwo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.hbtwo>*{min-width:0;width:100%;box-sizing:border-box}
@media (max-width:560px){.hbtwo{grid-template-columns:1fr}}
@media print{:is(.hbp,.hbs) tr:has(.hb-out){display:none}}

/* Data's Survey Wordlist tab (DataList-A.html, chosen 2026-10-29): the list the language is filled for, from Data's side;
   the states wear The list's own colours */
.yourdata .sw-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.yourdata .sw-tools .grow { flex: 1; }
.yourdata .sw-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.sw-chip { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px; font-size: 14px; background: var(--panel); color: var(--ink); text-decoration: none; }
.sw-chip b { font-variant-numeric: tabular-nums; }
.sw-chip:hover { border-color: var(--accent-line); }
.sw-chip.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.sw-chip.miss b { color: var(--miss); }
.sw-chip.on.miss b { color: inherit; }
.sw-topic select { border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 600; padding: 0 2px; max-width: 220px; }
.sw-why { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; max-width: 900px; }
table.sw { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; }
table.sw th { position: sticky; top: var(--yd-top, 0px); z-index: 2; text-align: left; font-weight: 600; font-size: 13.5px; color: var(--muted); background: var(--inset); border-bottom: 1px solid var(--rule); padding: 8px 10px; }
table.sw td { border-bottom: 1px solid var(--row); padding: 7px 10px; vertical-align: top; }
table.sw .sw-no { color: var(--muted); font-variant-numeric: tabular-nums; width: 48px; }
table.sw .sw-top { color: var(--muted); font-size: 13px; }
table.sw .sw-w { font-size: 17px; }
table.sw .sw-m.dim { color: var(--muted); }
table.sw .sw-none { color: var(--muted); padding: 18px 10px; }
.sw-st { display: inline-block; font-size: 12.5px; border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
.sw-st.filled { background: var(--accent-soft); color: var(--accent-ink); }
.sw-st.to-pick { background: var(--notice-bg); color: var(--notice-ink); }
.sw-st.missing { background: var(--miss-tint); color: var(--miss); }
.sw-st.checked { background: var(--teal-soft); color: var(--teal-ink); }
.sw-in { display: block; box-sizing: border-box; width: 100%; min-width: 200px; border: 1px dashed var(--rule-2); border-radius: 7px; padding: 5px 9px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
.sw-in::placeholder { color: var(--muted); }
.sw-in:focus { border-style: solid; border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.sw-alt { display: inline-block; border: 1px solid var(--rule); border-radius: 7px; padding: 0 8px; margin: 0 4px 2px 0; }
.sw-go { font-size: 13px; white-space: nowrap; }
.sw-dn { font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .yourdata .sw-wrap { overflow-x: auto; } table.sw th { position: static; } }   /* narrow: the table scrolls sideways; its titles stay put */

/* Data: select many rows (DataSelect-A.html, chosen 2026-10-28): a tick box in each No.; while rows are ticked the
   toolbar gives its place to the selection bar */
.yourdata .yd-tick { width: 15px; height: 15px; margin: 0 6px 0 0; vertical-align: -2px; accent-color: var(--accent); cursor: pointer; }
.yourdata .yd-grid td.yd-no { white-space: nowrap; }
.yourdata .yd-grid th.yd-no { white-space: nowrap; text-align: left; }
.yourdata.yd-selecting .yd-bar > .yd-tools { display: none; }
.yourdata .yd-selbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; flex: 1 1 100%; box-sizing: border-box;
  background: var(--accent-soft); border: 1px solid var(--accent-line); }
.yourdata .yd-selbar[hidden] { display: none; }
.yourdata .yd-selbar .grow { flex: 1; }
.yourdata .yd-selhow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.yourdata .yd-selhow input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.yourdata .yd-selhow .yd-link { color: var(--accent-ink); }
.yourdata .yd-selbar .yd-danger { color: var(--miss); border-color: var(--miss); }
.yourdata .yd-selmenu { position: relative; }
.yourdata .yd-selmenu .yd-menulist { right: auto; left: 0; min-width: 240px; max-height: 360px; overflow-y: auto; }
.yourdata .yd-menuitem { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px;
  background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.yourdata .yd-menuitem:hover, .yourdata .yd-menuitem:focus-visible { background: var(--accent-soft); outline: none; }
.yourdata .yd-selhave { color: var(--muted); font-size: 13px; }
.yourdata .yd-selnone { color: var(--muted); border-top: 1px solid var(--rule); border-radius: 0 0 6px 6px; margin-top: 4px; }
.yourdata .yd-selfoot { margin: 4px 10px 6px; color: var(--muted); font-size: 12.5px; }
.yourdata .yd-selother { display: block; padding: 4px 6px; }
.yourdata .yd-selother input, .yourdata .yd-fill input, .yourdata .yd-fill select { box-sizing: border-box; width: 100%; min-height: 34px; padding: 0 8px;
  border: 1px solid var(--rule); border-radius: 6px; background: var(--panel-2); color: var(--ink); font: inherit; font-size: 14px; }
.yourdata .yd-fill { display: grid; gap: 8px; padding: 10px; min-width: 280px; }
.yourdata .yd-fill label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.yourdata .yd-fill p { margin: 0; }
@media (max-width: 760px) { .yourdata .yd-selmenu .yd-menulist { position: fixed; left: 16px; right: 16px; top: auto; min-width: 0; } }

/* Nouns and pronouns, Rule extraction step 2 (NounsPronouns-B.html): laid out as step 1 (.listpage.rules, .wt, .rx-p);
   new here only the flag beside a word, the paradigm's faded empty rows, the things to check and the Find card */
.nominal .mm-flag { display: inline-block; margin-inline-start: 6px; font-size: 11.5px; padding: 1px 7px; border-radius: 999px;
  background: var(--notice-bg); color: var(--notice-ink); border: 1px solid var(--notice-line); vertical-align: 1px; white-space: nowrap; }
.nominal .mm-mean { color: var(--muted); font-size: 13px; }
/* Verbs and cases (VerbsCases-A): a marker chip with its label; the case column; a cell Data does not have */
.nominal .vc-g { display: inline-flex; align-items: baseline; gap: 4px; margin-inline-end: 9px; white-space: nowrap; }
.nominal .vc-g small { color: var(--muted); font-family: ui-monospace, monospace; font-size: 11.5px; }
.nominal .vc-t td.cat { font-family: ui-monospace, monospace; font-size: 13px; white-space: nowrap; width: 130px; color: var(--ink); }
.nominal .vc-rest { margin-top: 14px; }
.nominal .vc-rest > summary { cursor: pointer; list-style: none; }
.nominal .vc-rest > summary::before { content: "▸ "; color: var(--muted); }
.nominal .vc-rest[open] > summary::before { content: "▾ "; }
.nominal .mm-flag.vc-guess { background: var(--pick-tint); color: var(--pick); border-color: var(--notice-line); }
.nominal .nm-t td { vertical-align: top; padding-top: 8px; padding-bottom: 8px; }
.nominal .nm-t .rx-p { font-size: 14px; }
.nominal .nm-t tr.empty td { color: var(--muted); opacity: .55; }
.nominal .nm-par td.cat { font-family: ui-monospace, monospace; font-size: 13px; white-space: nowrap; width: 190px; }
.nominal .nm-note { margin: 0; padding: 10px 16px; border-top: 1px solid var(--rule); }
.nominal .nm-pages { display: flex; gap: 14px; }
.nominal .nm-toggle a { color: var(--accent-ink); }
.nominal .mm-run { max-width: 720px; padding: 20px 22px; }
.nominal .mm-run h2 { margin: 0 0 6px; font-size: 19px; }
.nominal .mm-run ul { margin: 10px 0 14px; padding-inline-start: 18px; }
.nominal .mm-run li { margin: 4px 0; }
.nominal .mm-run .acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.nominal .mm-run .btn:disabled { opacity: .45; cursor: not-allowed; }
.nominal .mm-chk { padding: 16px 18px; }
.nominal .mm-chk h2 { margin: 0 0 4px; font-size: 17px; }
.nominal .mm-chk .nm-lead { margin: 0 0 6px; }
.nominal .mm-chk .it { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 10px; padding: 11px 0;
  border-top: 1px solid var(--row); align-items: start; }
.nominal .mm-chk .it p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.nominal .mm-chk .it .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nominal .mm-chk .it .btn2 { min-height: 30px; font-size: 13px; padding: 3px 10px; }
.nominal .mm-chk .i { color: var(--notice-ink); font-size: 16px; }
@media (max-width: 700px) {
  .nominal .mm-chk .it { grid-template-columns: 22px minmax(0, 1fr); }
  .nominal .mm-chk .it .acts { grid-column: 2; justify-content: flex-start; }
}
.content[data-dir=rtl] .rules .rx-word { direction: rtl; }
/* Nouns and pronouns: the assistant or the app's own rules (NounsOwnCode-A). A rules result shows its words: word →
   meaning → “English” (its source) ⇒ what it says; each step isolated, so a right-to-left word never swaps places. */
.nominal .nx-opt{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;margin:2px 0 16px;padding:10px 12px;border:1px solid var(--rule);border-radius:10px}
.nominal .nx-opt label{display:inline-flex;gap:8px;align-items:center;font-weight:600;white-space:nowrap}
.nominal .nx-opt input{width:16px;height:16px;accent-color:var(--accent)}
.nominal .nx-opt .small{color:var(--muted);flex:1 1 300px}
.nominal .nx-opt.off label{color:var(--muted);font-weight:500}
.nx-by{display:inline-block;font-size:12px;padding:1px 9px;border-radius:999px;border:1px solid var(--teal-line);background:var(--teal-soft);color:var(--teal-ink);margin-inline-start:8px;vertical-align:1px;white-space:nowrap}
.nx-by.ai{border-color:var(--ai-line);background:var(--ai-soft);color:var(--ai)}
.nominal .ltabs a.nx-tdis{opacity:.6}
.nominal .nx-need{padding:16px 18px;margin:14px 0;max-width:720px}.nominal .nx-need h2{margin:0 0 6px;font-size:17px}
.nominal .nx-need p{margin:6px 0}.nominal .nx-need .acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.nominal .nx-how{padding:12px 16px;margin:14px 0}.nominal .nx-how summary{cursor:pointer}
.nominal .nx-how summary .small{color:var(--muted);margin-inline-start:6px}
.nominal .nx-how ol{margin:10px 0 2px;padding-inline-start:20px}.nominal .nx-how li{margin:6px 0;line-height:1.5}
.nominal .nx-t td{vertical-align:top}.nominal .nx-t td.mk1{white-space:nowrap}
.nominal .nx-t tr.nx-no td{color:var(--muted)}
.nominal .nx-why{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:baseline}
.nominal .nx-why .say{color:var(--muted);font-size:13px;flex-basis:100%}
.nominal .nx-chs{display:flex;flex-direction:column;gap:4px}.nominal .nx-chs>.small{color:var(--muted)}
.nominal .nx-ch{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 6px;direction:ltr}
.nominal .nx-ch > *{unicode-bidi:isolate}
.nominal .nx-ch>i{font-style:normal;color:var(--muted)}.nominal .nx-ch .nx-h{color:var(--ink-2)}.nominal .nx-ch>b{font-weight:600}
.nominal .nx-ev{display:inline-flex;gap:5px;align-items:baseline;padding:1px 8px 2px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);color:var(--ink);text-decoration:none;font-size:14px;white-space:nowrap}
.nominal a.nx-ev:hover{border-color:var(--accent-line)}
.nominal .nx-en{font-style:italic;white-space:nowrap}
.nominal .nx-en small{font-style:normal;margin-inline-start:5px;font-size:11px;color:var(--muted);border:1px solid var(--rule);border-radius:999px;padding:0 6px}
.nominal .nx-sure{display:inline-block;font-size:12px;padding:1px 8px;border-radius:999px;white-space:nowrap;border:1px solid var(--teal-line);background:var(--teal-soft);color:var(--teal-ink)}
.nominal .nx-sure.guess{border-color:var(--notice-line);background:var(--notice-bg);color:var(--notice-ink)}
.nominal .nx-sure.none{border-color:var(--rule);background:transparent;color:var(--muted)}
/* ↻ Find again · with … ▾: one split button up by the step pills */
.halfhead .stepacts .nx-again{border-start-end-radius:0;border-end-end-radius:0}
.halfhead .stepacts details.nx-way{margin-inline-start:-9px}
.halfhead .stepacts details.nx-way>summary{border-start-start-radius:0;border-end-start-radius:0;color:var(--muted)}
details.nx-way .nx-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;background:var(--tile);border:1px solid var(--rule);border-radius:10px;
  box-shadow:0 14px 40px -16px rgba(0,0,0,.45);padding:6px;min-width:260px}
details.nx-way .nx-menu button{display:flex;width:100%;justify-content:space-between;gap:12px;padding:7px 10px;border:0;border-radius:7px;background:none;
  color:var(--ink);font:inherit;font-size:14px;text-align:start;cursor:pointer}
details.nx-way .nx-menu button:hover:not(:disabled),details.nx-way .nx-menu button.on{background:var(--row)}
details.nx-way .nx-menu button:disabled{color:var(--muted);cursor:not-allowed}
details.nx-way .nx-menu small{color:var(--muted)}
@media (max-width:640px){
  .nominal .nx-t thead{display:none}.nominal .nx-t,.nominal .nx-t tbody{display:block}.nominal .nx-t{min-width:0}
  .nominal .nx-t tr{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;padding:8px 4px;border-top:1px solid var(--row)}
  .nominal .nx-t td{border:0;padding:2px 6px}.nominal .nx-t td:nth-child(n+3){grid-column:1/-1}.nominal .nx-t td:empty{display:none}
  .nominal .nx-t td b:empty{display:none}.nominal .nx-ev,.nominal .nx-en{white-space:normal}
  details.nx-way .nx-menu{right:auto;left:0}
}
