:root{color-scheme:light;--ink:#242523;--paper:#fbf2e5;--rust:#92402c;--line:#d9bda4;--navy:#192b36;--soft:#f0decb}
*{box-sizing:border-box}
body{margin:0;background:#e9d8c5;color:var(--ink);font:1rem/1.5 system-ui,sans-serif}
button,select{font:inherit}
button,summary{cursor:pointer}
:focus-visible{outline:3px solid #974320;outline-offset:3px}
.app{max-width:520px;min-height:100dvh;margin:auto;padding:0 18px 16px;background:var(--paper)}
.mast{display:flex;align-items:center;min-height:76px;gap:12px}
.mast strong,.mast small{display:block}.mast strong{font:700 1rem Georgia,serif}
.mast small{margin-top:4px;color:#75492f;font-size:.87rem}
.mark{display:grid;place-items:center;background:var(--rust);color:#fff9ec;width:39px;height:39px;border-radius:50%;font:700 1.24rem Georgia,serif}
.hero{position:relative;isolation:isolate;min-height:205px;display:flex;align-items:flex-end;padding:19px;border-radius:14px;overflow:hidden;color:#fff4dc;background:#68241e}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#201712e8 0%,#321a18c2 44%,#1a120917 100%),linear-gradient(0deg,#1e130db5,transparent 62%)}
h1,h2,p{margin:0}
.hero h1{font-weight:750;font-size:2rem;line-height:1.22;margin:3px 0 7px}
.hero h1{font:700 clamp(2rem,8vw,2.8rem)/1.02 Georgia,serif;letter-spacing:-.055em}
.eyebrow{font-weight:750;font-size:.9rem;color:var(--rust)}.hero .eyebrow{color:#ffe0a5}
#progress{font-size:.91rem;color:#fff2dc}
.days{display:grid;grid-template-columns:44px auto minmax(0,1fr) 44px;align-items:center;gap:8px;margin:14px 0}
.days label{font-size:.9rem;padding:0 4px;color:#543f34}
.days button,.days select{height:40px;border:1px solid var(--line);border-radius:8px;background:#fff9ef;color:#443229}
.days button{font-size:1.5rem;line-height:1}.days button:disabled{opacity:.43;cursor:default}
.days select{padding:0 8px;min-width:0}
.task{background:#fffbf5;border:1px solid var(--line);border-top:3px solid var(--rust);border-radius:12px;padding:17px}
.task h2{font-size:1.53rem;line-height:1.24;margin:7px 0 9px}.task .eyebrow span{margin-left:.26em}
.check{display:flex;align-items:center;gap:9px;background:#f3e7d8;padding:10px;border-radius:7px;margin-top:13px;font-weight:700}
input[type=checkbox]{accent-color:var(--rust);width:20px;height:20px;flex:none;margin:0}
.urgent{width:100%;margin-top:14px;background:var(--rust);border:0;color:#fff8ed;border-radius:9px;min-height:48px;font-weight:760}
.responses{margin-top:12px;padding:12px 13px;background:#f0dfcc;border-radius:9px}
.responses summary{display:list-item;font-size:1.03rem;font-weight:700}
.responses summary span{float:right;font-size:.88rem;color:#744630;font-weight:600}
.responses >p{margin-top:10px}.response{padding:11px 0;border-bottom:1px solid #d1ac8d}
.response h3{font-size:1rem;margin:0 0 3px}
.response p{font:1rem/1.48 system-ui,sans-serif}
.response button,#timer{margin-top:8px;border:1px solid var(--rust);border-radius:7px;background:#fff9ef;color:#72351e;padding:6px 12px;font-weight:700}
footer{margin-top:14px;color:#6a4d3a;font-size:.88rem;text-align:center}
dialog{max-width:min(440px,calc(100% - 28px));border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);padding:20px}
dialog::backdrop{background:#1e1918ac}.close{float:right;border:0;background:none;font-size:1.6rem;color:#5f442f;line-height:1}
dialog ol{padding-left:22px}.close:focus-visible{outline-offset:2px}
#clock{color:var(--rust);font:700 1.6rem Georgia,serif;margin-top:12px;font-variant-numeric:tabular-nums}
#copy-status:empty,#clock:empty,#timer-status:empty{display:none}
@media(min-width:570px){.app{padding-inline:26px}.hero{min-height:245px}}

[hidden]{display:none!important}
:root{--paper:#faf2e9;--rust:#87364a;--line:#d5b4af;--soft:#efded5;--navy:#2c2634}
body{background:#e9d9d6}.app{box-shadow:0 0 45px #39272a20}.mark{background:#702b40}
.mast small,.days label,footer{color:#684455}
.hero{min-height:172px;background:linear-gradient(122deg,#2d2433,#752b47);border:1px solid #723348}
.hero::before{content:none}.hero h1{margin-block:7px 9px}.hero .eyebrow{color:#ffdfb9}
#stage-name{font-weight:600}#progress{margin-top:6px;color:#ffd8c4}
#quiz fieldset{margin:13px 0;padding:9px 11px 11px;border:1px solid var(--line);background:#fffaf4;border-radius:8px;min-width:0}
#quiz legend{font-weight:750;padding-inline:3px}#quiz label{display:flex;align-items:flex-start;gap:.7em;padding:.58em .4em;cursor:pointer}
#quiz label+label{border-top:1px solid #ecdeda}#quiz input{accent-color:var(--rust);margin-top:.33em}
.message,.boundary{background:#efe0d8;padding:11px 13px;border-radius:8px;margin-top:12px;overflow-wrap:anywhere}
.message p{font-size:.94rem;margin-top:4px}.message blockquote{margin:8px 0 4px;font:600 1.02rem/1.4 Georgia,serif}
#copy,.tools button,dialog select,.response button{border:1px solid #af6376;background:#fffaf1;color:#732b3f;border-radius:7px;padding:7px 11px;font-weight:700}
.tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.tools button{flex:1;min-height:40px}
.response{border:0}.response p+p{margin-top:6px}dialog select{display:block;width:100%;margin-top:5px}dialog h2{padding-right:20px}dialog label{display:block;margin-top:12px}
#copy-status{color:#5d2d3f;padding:9px 0;font-size:.93rem}
@media(min-width:570px){.hero{min-height:199px}}
