/* Star Steps chore chart maker. (c) 2026 CyberMax. All rights reserved. */
:root{--acc:#C77A12;--acc-dark:#7a4a08;--soft:#FFF1D6}
.sheet{padding:0;font-family:"Trebuchet MS","Avenir Next",system-ui,sans-serif}
.sheet .hd{display:flex;justify-content:space-between;align-items:center;gap:10pt;background:var(--s);border-radius:10pt;padding:9pt 14pt;margin-bottom:9pt}
.sheet h2{margin:0;font-size:calc(26pt*var(--k));line-height:1.05;color:var(--t);letter-spacing:-.01em}
.sheet .hd p{margin:3pt 0 0;font-size:calc(11pt*var(--k));color:#4a4f57}
.sheet .deco{display:flex;gap:6pt;align-items:center;flex:none}
.grid{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;flex:1}
.grid th{background:var(--t);color:#fff;font-size:calc(10pt*var(--k));padding:4pt 2pt;text-align:center;font-weight:700}
.grid th:first-child{border-top-left-radius:8pt}.grid th:last-child{border-top-right-radius:8pt}
.grid th small{display:block;font-weight:400;opacity:.85;font-size:calc(8pt*var(--k))}
.grid th.ch{text-align:left;padding-left:8pt;width:30%}
.grid td{border-right:1.2pt solid #e4dfd8;border-bottom:1.2pt solid #e4dfd8;text-align:center;vertical-align:middle;padding:2pt}
.grid td:first-child{border-left:1.2pt solid #e4dfd8}
.grid td.ch{text-align:left;font-weight:700;font-size:calc(12.5pt*var(--k));padding:4pt 8pt;color:#22262c}
.grid tr:nth-child(even) td.ch{background:#fbfaf7}
.grid td.box svg{width:calc(20pt*var(--k));height:calc(20pt*var(--k));opacity:.9}
.goalbar{display:flex;flex-wrap:wrap;gap:6pt 18pt;margin-top:9pt;padding:7pt 12pt;border:1.5pt dashed var(--t);border-radius:10pt;font-size:calc(11pt*var(--k));color:#33383f}
.goalbar b{color:var(--t)}
.line{display:inline-block;min-width:34pt;border-bottom:1pt solid #8d877f;height:1em;vertical-align:baseline}
.line.wide{min-width:110pt}
.spaces{flex:1;display:grid;gap:7pt;padding:4pt 2pt;min-height:0}
.spaces .cell{container-type:size;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center}
.sp{border:2pt dashed var(--t);border-radius:50%;display:flex;align-items:flex-start;justify-content:center;width:min(100cqw,100cqh);height:min(100cqw,100cqh);opacity:.92;background:#fff}
.sp i{font-style:normal;font-size:calc(9pt*var(--k));color:#9a958f;margin-top:8%}
.sp.last{border-style:solid;background:var(--s);align-items:center}
.sp.last svg{width:55%;height:55%}
/* 12 Nov 2026 quality pass: tracker first, one filled action, readable colours, 24 px+ tap targets */
:root{--acc-ink:#7a4a08}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--acc-ink:#f2c27a}}
a,button.ghost,.btn.ghost{color:var(--acc-ink)}
button.ghost,.btn.ghost{border-color:var(--acc-ink)}
.offer a,.offer .btn.ghost{color:#20262c}
.top nav a,.more a,.faq p a{display:inline-block;min-height:24px;padding:2px 0;line-height:20px}
.more a{padding:6px 12px}
.result{background:var(--card);border:2px solid var(--acc);border-radius:14px;padding:14px 16px;margin:0 0 16px}
.result .rhead{display:flex;gap:8px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.result .rhead h2{display:inline;margin-right:10px}
.result h2{margin:0;font-size:19px}
.r-kids{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 0}
.r-kids:empty{display:none}
.r-kids .kid{background:transparent;color:var(--ink);border:2px solid var(--line);border-radius:999px;padding:4px 12px;min-height:34px;font-weight:600}
.r-kids .kid.on{border-color:var(--acc-ink);color:var(--acc-ink)}
.r-kids small{font-weight:700}
.r-track{margin:10px 0 8px;overflow-x:auto}
.trk{border-collapse:collapse;width:100%;font-size:14px}
.trk th{font-weight:600;color:var(--muted);font-size:12px;padding:2px 2px 4px;text-align:center}
.trk th.lead{width:38%}
.trk tbody th{color:var(--ink);font-size:14px;text-align:left;padding:2px 8px 2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}
.trk td{padding:2px;text-align:center}
.trk .st{background:transparent;border:2px dashed #a8a197;border-radius:50%;width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.trk .st[aria-pressed="true"]{border-style:solid;border-color:var(--m,#F2B632)}
.trk .st svg{width:20px;height:20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.r-track .none{color:var(--muted);margin:4px 0}
.r-prog{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 8px;font-size:15px}
.r-prog .bar{flex:1 1 160px;height:10px;border-radius:99px;background:var(--line);overflow:hidden}
.r-prog .bar i{display:block;height:100%;width:0;background:var(--m,#F2B632);transition:width .25s}
.ractions{display:flex;gap:6px 14px;align-items:center;flex-wrap:wrap}
button.link{background:none;border:0;color:var(--acc-ink);padding:8px 2px;min-height:36px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
button.link:disabled{color:var(--muted);text-decoration:none;cursor:default}
.result .kb{margin:8px 0 0;font-size:13px}
kbd{font:12px ui-monospace,monospace;border:1px solid var(--line);border-bottom-width:2px;border-radius:4px;padding:0 4px;background:var(--bg)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--acc-ink);outline-offset:2px}
.hero h1{margin-top:20px}
@media (max-width:560px){.hero p{font-size:15px;margin-bottom:12px}.hero h1{font-size:26px;margin-top:14px}.result{padding:12px 10px}.trk{table-layout:fixed}.trk th.lead{width:31%}.trk td{padding:2px 0}.trk .st{width:28px;height:28px}.trk .st svg{width:17px;height:17px}.trk tbody th{max-width:none;white-space:normal;font-size:12.5px;line-height:1.2;padding-right:4px;hyphens:auto}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* printed sheet: small grey text dark enough to read (was #9a958f) */
.sp i{color:#6b665f}.sheet .foot{color:#77726b}
@media (hover:none) and (pointer:coarse){.result .keys{display:none}}
