:root{--bg:#f6f1e7;--fg:#1d1b18;--accent:#7a2e12;--line:#cdbfa8;--card:#fffdf8;--bar:#2a1d3a;--barfg:#f6efe0;--yes:#2f7d3a;--no:#8a8173}
[data-theme=dark]{--bg:#16140f;--fg:#f1ece2;--accent:#f0a77f;--line:#5b5448;--card:#211e17;--bar:#0d0b08;--barfg:#f1ece2;--yes:#7fd48a;--no:#9a917f}
[data-theme=contrast]{--bg:#000;--fg:#fff;--accent:#ff0;--line:#fff;--card:#000;--bar:#000;--barfg:#fff;--yes:#0f0;--no:#ccc}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.5 system-ui,sans-serif}
header,main{max-width:46rem;margin:0 auto;padding:.75rem 1rem}
a{color:var(--accent)} nav a{margin-right:.6rem} .skip{position:absolute;left:-99rem}.skip:focus{left:0}
button{font:inherit;min-height:44px;min-width:44px;padding:.25rem .75rem;border:2px solid var(--fg);background:var(--bg);color:var(--fg);border-radius:6px;cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.reduce *{transition:none!important;animation:none!important}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.ribbon{background:#fff3b0;color:#000;padding:.25rem .75rem;text-align:center;font-size:.875rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

h1{font-size:1.6rem;line-height:1.2;margin:.25rem 0 .5rem}
h2{font-size:1.35rem;margin:.5rem 0}
header nav{display:flex;flex-wrap:wrap;gap:.25rem .9rem;font-size:.95rem} header nav a{margin:0;padding:.4rem 0;min-height:24px}
.ribbon{margin:-.75rem -1rem .5rem}
.pitch{font-size:1.1rem;max-width:34rem}
a.primary{display:inline-block;background:var(--accent);color:var(--bg);text-decoration:none;font-weight:700;font-size:1.15rem;padding:.75rem 1.5rem;border-radius:8px;min-height:24px}
a.primary:hover{filter:brightness(1.1)}
.streak{font-weight:600} .quick a{margin-right:1rem}
.week{list-style:none;padding:0;margin:.5rem 0} .week li{padding:.6rem 0;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem}
.chip{font-size:.8rem;padding:.1rem .6rem;border-radius:999px;border:1px solid var(--line)}
.chip.done{border-color:#2f7d3a;color:#2f7d3a;font-weight:700} .chip.now{border-color:var(--accent);color:var(--accent);font-weight:700} .chip.miss{opacity:.85}
[data-theme=dark] .chip.done{color:#7fd48a;border-color:#7fd48a}
.question{font-weight:600}
.play{display:block}
.cluebox h3{margin:.5rem 0 .25rem;font-size:1rem;font-family:system-ui,sans-serif}
ol.clues{margin:0;padding-left:1.4rem} ol.clues li{padding:.2rem 0}
.gridbox>p{margin:.4rem 0}
.gridbox button{margin:0 .15rem .25rem 0}
@media (min-width:860px){
 main.wide{max-width:70rem}
}
/* Side by side only when the grid column can hold the widest (5x4) grid beside the clues; the sidebar takes 16rem from 900px up. */
.cluebox,.gridbox{min-width:0}
@media (min-width:1640px){
 body main:has(.play){max-width:84rem}
 .play{display:grid;grid-template-columns:minmax(18rem,26rem) minmax(0,1fr);gap:1.5rem;align-items:start}
 .cluebox{grid-column:1;grid-row:1}.gridbox{grid-column:2;grid-row:1}
}

/* visual identity */
@media (hover:hover){button:hover{background:var(--accent);color:var(--bg)}}
header{max-width:none;margin:0;padding:0;background:var(--bar);color:var(--barfg)}
header h1,header>nav{max-width:46rem;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}
header h1{padding-top:.9rem;font-family:Georgia,'Times New Roman',serif;letter-spacing:.02em;font-size:1.5rem;margin-bottom:.1rem}
header h1::before{content:"\1F50D\00a0"}
header nav{padding-top:.1rem;padding-bottom:.7rem}
header nav a{color:var(--barfg);text-decoration:none;opacity:.88;border-bottom:2px solid transparent}
header nav a:hover,header nav a:focus-visible{opacity:1;border-bottom-color:var(--barfg)}
header nav a:focus-visible{outline-color:var(--barfg)}
header .ribbon{margin:0;padding:.3rem 1rem;max-width:none}
main{padding-top:1.25rem;padding-bottom:3rem}
main>h2{font-family:Georgia,'Times New Roman',serif;font-size:1.7rem;margin:.25rem 0 .75rem}
h2,h3{font-family:Georgia,'Times New Roman',serif}
.pitch{background:var(--card);border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:8px;padding:1rem 1.1rem;box-shadow:0 1px 3px rgba(0,0,0,.08)}
a.primary{box-shadow:0 2px 0 rgba(0,0,0,.25)}
.quick{display:flex;flex-wrap:wrap;gap:.6rem}
.quick a{margin:0;display:inline-block;padding:.55rem 1rem;border:2px solid var(--accent);border-radius:8px;text-decoration:none;font-weight:600;background:var(--card)}
.streak{display:inline-block;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:.25rem .9rem}
.week,ul.cards,ul.list{list-style:none;padding:0;margin:.75rem 0;display:grid;gap:.6rem}
.week li,ul.cards li,ul.list li{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:.7rem .9rem}
.week li{display:flex;border-bottom:1px solid var(--line)}
.week li a{font-weight:700}
ul.cards li{border-left:5px solid var(--yes)}
ul.cards li.locked{border-left-color:var(--no);border-style:dashed;opacity:.8}
.chip{background:var(--bg)}
.chip.miss{border-style:dashed}
button{background:var(--card);border-color:var(--accent);color:var(--accent);font-weight:600}
.tools{display:flex;flex-wrap:wrap;gap:.4rem}
.tools button{margin:0}
.cluebox,.gridbox{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:.5rem .9rem .75rem;margin-bottom:1rem}
.question{font-size:1.1rem}
#msg:empty{display:none}
#msg{background:#fff3b0;color:#000;border-radius:6px;padding:.4rem .7rem}
[data-theme=dark] .grid td.yes button,[data-theme=contrast] .grid td.yes button{color:#000}
pre{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:1rem;font-size:1.1rem;white-space:pre-wrap}
textarea{width:100%;box-sizing:border-box;background:var(--card);color:var(--fg);border:1px solid var(--line);border-radius:6px;font:inherit}
main p{max-width:40rem}
.note{background:var(--card);border:1px solid var(--line);border-left:4px solid #8a5a00;border-radius:8px;padding:.5rem .75rem;margin:.5rem 0}
ul.lockedcards{list-style:none;margin:0 0 .5rem;padding:0}
li.lockedcard{list-style:none;border:1px dashed var(--line);border-radius:6px;padding:.35rem .6rem;margin-bottom:.3rem;font-style:italic}
li.lockedcard span::before{content:"\1F512  ";font-style:normal}
table.answer{border-collapse:collapse;margin:.5rem 0;max-width:100%} .answer th,.answer td{border:1px solid var(--line);padding:.4rem .6rem;text-align:left}
.answer tr.culprit th,.answer tr.culprit td{background:var(--accent);color:#fff;font-weight:600}
.payoff{font-size:1.15rem;font-weight:600}

/* first-use repair: one container width, hero, strip, reveal, actions, empty states */
header h1,header>nav,main,main.wide{max-width:70rem;box-sizing:border-box}
header h1,header>nav{padding-left:1rem;padding-right:1rem}
header nav{flex-wrap:wrap;gap:.1rem .8rem}
.hero{background:var(--card);border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:10px;padding:.9rem 1.1rem;margin:.25rem 0 .75rem;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.hero h3{font-size:1.5rem;margin:.1rem 0 .4rem}.hero p{margin:.3rem 0}
.kicker{font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);font-weight:700}
.small{font-size:.9rem;opacity:.85}
ol.strip{list-style:none;display:grid;grid-template-columns:repeat(7,1fr);gap:.3rem;padding:0;margin:.5rem 0;max-width:40rem}
ol.strip li{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:.35rem .1rem;text-align:center;display:flex;flex-direction:column;font-size:.75rem}
ol.strip li b{font-size:.9rem}
ol.strip li.done{border-color:var(--yes);border-width:2px}ol.strip li.done span{color:var(--yes);font-weight:700}
ol.strip li.now{border-color:var(--accent);border-width:2px;background:var(--accent);color:var(--bg)}
ol.strip li.up{opacity:.65;border-style:dashed}ol.strip li.miss{border-style:dashed}
.actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:.9rem 0}
.actions a{display:inline-block;padding:.65rem 1.1rem;border:2px solid var(--accent);border-radius:8px;text-decoration:none;font-weight:600;background:var(--card)}
.actions a.primary{background:var(--accent);color:var(--bg)}
.reveal{background:var(--card);border:1px solid var(--line);border-left:5px solid var(--yes);border-radius:10px;padding:.5rem 1.1rem 1rem;margin:.5rem 0 1rem}
.reveal h3{font-size:1.4rem;margin:.4rem 0}
.badge{display:inline-block;background:var(--accent);color:var(--bg);border-radius:999px;padding:.15rem .8rem;font-weight:700}
.empty{background:var(--card);border:1px dashed var(--line);border-radius:10px;padding:.5rem 1.1rem;margin:.75rem 0}
dl.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.6rem;margin:.75rem 0}
dl.stats div{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:.6rem .9rem}
dl.stats dt{font-size:.85rem;opacity:.85}dl.stats dd{margin:0;font-size:1.6rem;font-weight:700;font-family:Georgia,serif}
.tools{display:grid;grid-template-columns:repeat(5,1fr);gap:.3rem}
.tools button{min-width:0;padding:.25rem .2rem}
@media (min-width:860px){.tools{display:flex;flex-wrap:wrap}.tools button{padding:.25rem .75rem}}

/* Staircase grid: one table, fixed-size cells so no mark state changes the layout */
.gridframe{position:relative}
.gridframe.more::after,.gridframe.scrolled::before{content:"";position:absolute;top:0;bottom:1.1rem;width:28px;pointer-events:none;z-index:3}
.gridframe.more::after{right:0;background:linear-gradient(to left,var(--card),transparent)}
.gridframe.scrolled::before{left:0;background:linear-gradient(to right,var(--card),transparent)}
.gridhint{margin:.1rem 0 .3rem;font-size:.8rem;color:var(--accent);text-align:right}
.gridhint[hidden]{display:none}
.gridwrap{overflow:auto;max-width:100%;margin:.5rem 0;padding-bottom:.25rem}
table.grid{border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0;width:max-content}
.grid th,.grid td{padding:0;box-sizing:border-box}
.grid td{width:40px;min-width:40px;max-width:40px;height:40px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--card);text-align:center;vertical-align:middle;overflow:hidden}
.grid td.first{border-left:2px solid var(--fg)}
.grid tr.first td,.grid tr.first th.rowh,.grid tr.first th.rowgroup{border-top:2px solid var(--fg)}
.grid td.void{background:transparent;border-right:0;border-bottom:0;border-top-color:transparent}
.grid tr.first td.void{border-top:0}
.grid td.void.first{border-left:0}
.grid td button{display:block;width:40px;height:40px;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--fg);font-weight:400;line-height:40px;overflow:hidden;text-align:center}
.grid td button .mk{display:block;width:40px;height:40px;line-height:40px;font-size:22px;font-family:system-ui,sans-serif}
.grid td.m1{background:var(--yes)} .grid td.m1 button{color:#fff}
.grid td.m2 button{color:var(--fg)} .grid td.m2 .mk{font-weight:800}
.grid td.m3 button{color:var(--no)} .grid td.m3 .mk{font-size:15px;font-weight:400;opacity:.65}
.grid td.bad{background:#fbe3dc} [data-theme=dark] .grid td.bad{background:#4a2118} [data-theme=contrast] .grid td.bad{background:#400}
.grid td.m1.bad{background:#a33a1d}
[data-theme=dark] .grid td.m1 button,[data-theme=contrast] .grid td.m1 button{color:#000}
.grid th{background:var(--card);font-weight:600;font-size:.78rem;color:var(--fg)}
.grid th.grouph{height:26px;border-left:2px solid var(--fg);border-bottom:1px solid var(--line);text-transform:capitalize;font-size:.8rem;color:var(--accent)}
.grid th.colh{width:40px;min-width:40px;max-width:40px;height:92px;vertical-align:bottom;padding:.2rem 0;border-bottom:2px solid var(--fg)}
.grid th.colh.first{border-left:2px solid var(--fg)}
.grid th.colh>span{display:block;margin:0 auto;line-height:1.1;font-size:.74rem;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;text-align:left}
.grid .lbl>span{display:block;writing-mode:inherit;transform:none}
.grid .corner{border:0;background:transparent}
.grid th.rowgroup{width:26px;min-width:26px;max-width:26px;border-bottom:1px solid var(--line);border-left:0;text-transform:capitalize;color:var(--accent);position:sticky;left:0;z-index:2}
.grid th.rowgroup span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}
.grid th.rowh{position:sticky;left:26px;z-index:2;width:128px;min-width:128px;max-width:128px;height:40px;text-align:left;padding:0 .4rem;border-bottom:1px solid var(--line);border-right:2px solid var(--fg);white-space:nowrap;font-weight:600;line-height:1.1}
.cluebox ol.clues{list-style:decimal}
button.clue{display:block;width:100%;min-height:44px;text-align:left;font-weight:400;color:var(--fg);background:transparent;border:1px solid transparent;border-radius:6px;padding:.3rem .5rem;cursor:pointer}
li.struck button.clue{text-decoration:line-through;opacity:.55}
@media (hover:hover){.grid td button:hover{background:rgba(0,0,0,.08);color:inherit}.grid td.m1 button:hover{background:transparent;color:#fff}}
/* Phones: smaller cells and a narrow, wrapping label column so a Mon-Thu grid fits without sideways scrolling */
@media (max-width:480px){
 main{padding-left:.5rem;padding-right:.5rem}
 .gridbox{padding:.4rem .4rem .6rem}
 .grid td,.grid th.colh{width:26px;min-width:26px;max-width:26px}
 .grid td{height:26px}
 .grid td button,.grid td button .mk{width:26px;height:26px;line-height:26px;font-size:16px}
 .grid td.m3 .mk{font-size:12px}
 .grid th.colh{height:84px;padding:.15rem 0}
 .grid th.colh span{font-size:.66rem}
 .grid th.grouph{height:24px;font-size:.72rem}
 .grid th.rowgroup{width:18px;min-width:18px;max-width:18px;font-size:.68rem}
 .grid th.rowh{left:18px;width:78px;min-width:78px;max-width:78px;height:26px;padding:0 .2rem;font-size:.64rem;line-height:1.05}
}

/* Header icons: one stroke style; four per row on phones so nothing clips. */
svg.ic{width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
header nav{display:flex;flex-wrap:wrap;gap:.1rem .8rem}
header nav a{display:inline-flex;align-items:center;gap:.4rem}
@media (max-width:640px){
  header nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.2rem .25rem;font-size:.75rem;text-align:center}
  header nav a{flex-direction:column;gap:.1rem;padding:.35rem .1rem;line-height:1.15;border-bottom:0}
}
/* Buttons with an icon, week strip and day list, settings */
button .ic{margin-right:.35rem;vertical-align:-.2em}
ol.strip a,ol.strip>li>span.slot{display:flex;flex-direction:column;color:inherit;text-decoration:none;min-height:44px;justify-content:center}
ol.strip li.play{border-color:var(--accent);border-width:2px}ol.strip li.play span.lab{font-weight:700;color:var(--accent)}
ol.strip li.finale{border-color:var(--accent);border-width:2px}ol.strip li.finale span.lab{font-weight:700}
ol.strip li.up{opacity:.7}ol.strip .lab{display:inline-flex;align-items:center;justify-content:center;gap:.2rem}ol.strip .ic{width:.8rem;height:.8rem}
ol.strip li.now a,ol.strip li.now .lab{color:inherit}
.week li a.day{flex:1;text-decoration:none}
.chip .ic{width:.8rem;height:.8rem;vertical-align:-.1em;margin-left:.2rem}
.chip.play,.chip.finale{border-color:var(--accent);color:var(--accent);font-weight:700}
.hero,.story{max-width:41rem}.story{font-size:1.02rem;line-height:1.5}.story p{max-width:none}.goal{font-weight:600}
.setrow{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:1rem;margin:.75rem 0;display:flex;gap:.9rem;align-items:flex-start}
.setrow>.ic{width:1.6rem;height:1.6rem;color:var(--accent);margin-top:.15rem}
.setrow h3{margin:0 0 .15rem;font-size:1.05rem}.setrow p{margin:.15rem 0 .6rem}
.seg{display:flex;flex-wrap:wrap;gap:.4rem}.seg button[aria-pressed=true]{background:var(--accent);color:var(--bg)}
.setrow.danger button{border-color:#b3261e;color:#b3261e}
button.clue:focus-visible{outline:3px solid var(--accent);outline-offset:-3px;background:transparent}
.grid th.grouph .ic,.grid th.rowgroup .ic{width:.8rem;height:.8rem;margin-right:.25rem;vertical-align:-.1em}
/* whole-tile links, centered tiles, page heading icons */
ol.strip li{padding:0;overflow:hidden}
ol.strip li>a,ol.strip li>span.slot{flex:1;align-items:center;justify-content:center;text-align:center;padding:.5rem .1rem;min-height:56px;box-sizing:border-box}
ol.strip li>a:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
ol.strip li.now>a:focus-visible{outline-color:var(--bg)}
.week li{padding:0}
.week li>a.day,.week li>span.day{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;box-sizing:border-box;padding:.7rem .9rem;color:inherit;text-decoration:none;min-height:44px}
.week li>a.day:hover{background:rgba(127,127,127,.08)}
.week li>a.day:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.week .chip{min-width:5.5rem;text-align:center;justify-content:center;display:inline-flex;align-items:center;box-sizing:border-box;margin-left:auto}
main>h2{display:flex;align-items:center;gap:.55rem}
main>h2 .pageic{width:1.5rem;height:1.5rem;color:var(--accent)}
ol.strip li>a,ol.strip li>span.slot{width:100%;align-self:stretch}

/* upright row-group icon, solved-grid summary inside its card */
.grid th.rowgroup .rg{display:flex;flex-direction:column;align-items:center;gap:.3rem}
.grid th.rowgroup .rg .ic{margin:0;width:.8rem;height:.8rem}
table.answer{width:100%;table-layout:fixed}
.answer th,.answer td{overflow-wrap:anywhere;hyphens:auto}
@media (max-width:640px){.answer th,.answer td{padding:.35rem .4rem;font-size:.85rem}}
svg.ic .solid{fill:currentColor}
.sharebox{margin:.75rem 0}.sharebox summary{cursor:pointer;color:var(--muted,#555)}
/* Navigation tree: Menu button on phones, always-visible sidebar on desktop. */
header>.where{text-align:left;max-width:46rem;margin:0 auto;padding:0 1rem .6rem;font-size:.9rem;opacity:.9}
header .bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;max-width:46rem;margin:0 auto;padding:0 1rem 0 0}
header #menubtn{display:inline-flex;margin-top:.5rem;align-items:center;gap:.4rem;min-height:44px;padding:.3rem .8rem;border:1px solid var(--barfg);border-radius:8px;background:transparent;color:var(--barfg);font:inherit;cursor:pointer}
header{position:relative}
header nav#menu{display:none;padding:.2rem 1rem .8rem;max-width:46rem;margin:0 auto;box-sizing:border-box}
header.open nav#menu{display:block}
header nav .grp{margin:.4rem 0 .7rem;text-align:left}
header nav .gh{margin:0 0 .15rem;font-size:.75rem;letter-spacing:.04em;font-weight:700;opacity:.75}
header nav ul{list-style:none;margin:0;padding:0}
header nav li a{display:flex;flex-direction:row;align-items:center;gap:.6rem;padding:.55rem .6rem;min-height:44px;box-sizing:border-box;border:0;border-radius:8px;font-size:1rem;text-align:left;margin:0;opacity:.92}
header nav li a:hover,header nav li a:focus-visible{background:rgba(255,255,255,.12);opacity:1}
header nav li a[aria-current=page]{background:var(--barfg);color:var(--bar);font-weight:700;opacity:1}
header nav .lbl{display:flex;flex-direction:column;line-height:1.2}
header nav .prog{font-size:.75rem;opacity:.85}
header nav .prog:empty{display:none}
@media (min-width:900px){
  body{padding-left:16rem}
  header{position:fixed;left:0;top:0;bottom:0;width:16rem;overflow-y:auto;max-width:none;box-sizing:border-box;z-index:5}
  header #menubtn{display:none}
  header .bar{max-width:none;padding:0}
  header>h1{margin-left:0;margin-right:0;max-width:none}
  header>.where{margin:0;max-width:none}
  header nav#menu{display:block;margin:0;max-width:none;padding-top:.2rem}
  header h1,header>nav{max-width:none}
  header .ribbon{margin:0}
  main,main.wide{margin-left:auto;margin-right:auto}
}
@media (max-width:600px){
  ol.strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;max-width:none}
  ol.strip li>a,ol.strip li>span.slot{min-height:64px;font-size:.8rem}
}
ul.cards li.locked .ic{width:1rem;height:1rem;margin-right:.35rem;vertical-align:-.15em}
.actions a.primary{border-color:var(--accent)}
header h1{text-align:left}header .bar h1{margin-left:0;margin-right:auto;flex:1}
/* Owner repairs: toolbar icons above labels, Share button, read-only grid, How to play tool list, high-contrast navigation. */
.tools button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;line-height:1.15}
.tools button .ic{margin:0;vertical-align:baseline}
button.primary{background:var(--accent);color:var(--bg);font-weight:700;font-size:1.1rem;padding:.6rem 1.4rem;border-radius:8px}
button.primary .ic{margin-right:.4rem;vertical-align:-.2em}
.solvedgrid{margin:1rem 0}
.solvedgrid .grid td button:disabled{opacity:1;cursor:default;color:var(--fg)}
.solvedgrid .grid td.m1 button:disabled{color:#fff}
[data-theme=dark] .solvedgrid .grid td.m1 button:disabled,[data-theme=contrast] .solvedgrid .grid td.m1 button:disabled{color:#000}
.solvedgrid .grid td.m3 button:disabled{color:var(--no)}
ul.toollist{list-style:none;margin:.5rem 0;padding:0}ul.toollist li{margin:.5rem 0}ul.toollist .ic{margin-right:.4rem;vertical-align:-.2em}
[data-theme=contrast] header nav a,[data-theme=contrast] header nav li a,[data-theme=contrast] header nav .gh,[data-theme=contrast] header nav .prog,[data-theme=contrast] header #menubtn,[data-theme=contrast] header>.where{opacity:1}
[data-theme=contrast] header nav li a[aria-current=page]{background:#ff0;color:#000;outline:2px solid #fff;outline-offset:-2px}
[data-theme=contrast] header nav li a:hover,[data-theme=contrast] header nav li a:focus-visible{background:#333;color:#fff}
.answerbox{margin:.5rem 0}.answerbox summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--muted,#555)}
