:root{--navy:#14213d;--ink:#172033;--paper:#f4f7fb;--white:#fff;--blue:#4966dc;--green:#13795b;--amber:#b45309;--red:#b42318;--line:#dce3ef;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:17px}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}.top{min-height:76px;background:var(--navy);color:white;padding:12px clamp(18px,4vw,46px);display:flex;align-items:center;justify-content:space-between}.top strong{display:block;font-size:1.35rem}.top span{opacity:.75;font-size:.88rem}.parent-btn,.admin-head a{background:#fff1;border:1px solid #ffffff40;color:white;border-radius:12px;padding:12px 16px}.kiosk{max-width:1100px;margin:auto;padding:22px}.overview{background:white;border-radius:20px;padding:18px 22px;box-shadow:0 4px 20px #12213d0d;display:grid;grid-template-columns:auto 1fr;gap:25px;align-items:center}.overview span,.overview small{display:block;color:#657188}.overview strong{font-size:2rem}.bar{height:16px;background:#e6ebf3;border-radius:20px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#4966dc,#25a878);transition:width .2s}.children{display:flex;gap:12px;overflow:auto;padding:20px 2px}.children button{min-width:130px;padding:16px;border:3px solid transparent;border-radius:16px;background:white;font-weight:750;box-shadow:0 2px 10px #12213d0c}.children button.active{border-color:var(--kid);background:color-mix(in srgb,var(--kid) 10%,white)}.reward{background:linear-gradient(135deg,#23396f,#4966dc);color:white;border-radius:20px;padding:22px;display:flex;flex-direction:column;margin-bottom:24px}.reward span{font-size:.78rem;letter-spacing:.12em}.reward strong{font-size:2rem;margin:4px 0}.reward small{opacity:.8}.section-title{display:flex;align-items:end;justify-content:space-between}.section-title h1{margin-bottom:8px}.section-title span{color:#657188}.chores{display:grid;gap:14px}.chore{background:white;border:2px solid transparent;border-radius:18px;padding:18px;display:grid;grid-template-columns:1fr minmax(190px,270px);gap:16px;align-items:center;box-shadow:0 4px 18px #12213d0b}.chore h2{font-size:1.08rem;margin:0 0 5px}.chore p{margin:0;color:#657188}.chore small{display:block;margin-top:8px}.chore button,.auth button,.grid-form button{min-height:58px;border:0;border-radius:14px;background:var(--blue);color:white;font-weight:800}.chore.waiting{border-color:#edbd62}.chore.waiting button{background:#fff4d6;color:#855b10}.chore.approved{border-color:#6cc6a7}.chore.approved button,.chore.excused button{background:#e0f6ed;color:#126347}.chore.rejected{border-color:#f09a93}.chore.rejected button{background:var(--red)}.modal,.parent-panel{position:fixed;inset:0;background:#0d1739d9;z-index:10;display:grid;place-items:center}.modal[hidden],.parent-panel[hidden]{display:none}.dialog{background:white;border-radius:24px;padding:28px;width:min(420px,92vw);text-align:center;position:relative}.close{position:absolute;right:12px;top:12px;border:0;background:none;font-size:2rem}.pin-dots{font-size:2rem;letter-spacing:.3em;margin:20px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.keypad button{min-height:64px;border:0;border-radius:14px;background:#edf1f7;font-size:1.35rem}.parent-panel{display:block;background:var(--paper);overflow:auto}.parent-panel>header,.admin-head{background:var(--navy);color:white;display:flex;justify-content:space-between;align-items:center;padding:16px 24px}.parent-panel>header strong,.parent-panel>header small{display:block}.parent-panel>header button{background:white;color:var(--navy);border:0;border-radius:12px;padding:14px 18px;font-weight:800}.parent-panel main{padding:20px;max-width:950px;margin:auto}.review{background:white;padding:18px;border-radius:16px;margin:12px 0;display:grid;grid-template-columns:1fr 180px 180px;gap:12px;align-items:center}.review h2,.review h3{margin:4px 0}.review button{min-height:58px;border:0;border-radius:12px;color:white;font-weight:800}.yes{background:var(--green)}.no{background:var(--red)}.manage-link{display:block;text-align:center;padding:20px;color:var(--blue);font-weight:bold}.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(140deg,#14213d,#263b70)}.auth{background:white;border-radius:24px;padding:30px;width:min(500px,95vw);box-shadow:0 20px 80px #0004}.auth .mark{width:58px;height:58px;border-radius:18px;background:var(--blue);color:white;display:grid;place-items:center;font-size:2rem}.auth label,.grid-form label{display:grid;gap:6px;margin:12px 0;color:#465268;font-weight:650}.auth input,.grid-form input,.grid-form select{width:100%;min-height:48px;border:1px solid #bbc5d5;border-radius:10px;padding:9px;background:white}.auth button{width:100%;margin-top:12px}.error{color:var(--red);padding:10px}.admin-head span{display:block;opacity:.7}.admin-head nav{display:flex;gap:8px}.admin-head a{text-decoration:none}.admin-main{max-width:1050px;margin:auto;padding:18px}.tabs{display:flex;overflow:auto;gap:6px;margin-bottom:20px}.tabs button{border:0;border-radius:10px;background:#e5eaf2;padding:12px 16px;white-space:nowrap}.tabs button.active{background:var(--navy);color:white}.tab{display:none}.tab.active{display:block}.grid-form{background:white;border:1px solid var(--line);border-radius:16px;padding:18px;display:grid;grid-template-columns:repeat(2,1fr);gap:0 16px}.grid-form .wide,.grid-form fieldset{grid-column:1/-1}.grid-form fieldset{border:1px solid var(--line);border-radius:10px;display:flex;flex-wrap:wrap;gap:15px}.grid-form fieldset label{display:flex}.grid-form input[type=checkbox]{width:24px;min-height:24px}.row,.table>div{background:white;border-bottom:1px solid var(--line);padding:14px;display:flex;gap:12px;align-items:center}.row i{width:18px;height:18px;border-radius:50%}.row b,.row div,.table b{flex:1}.row small,.table span{display:block;color:#647087}.row button,.table button{border:1px solid var(--line);background:white;border-radius:9px;padding:8px}.table{border:1px solid var(--line);border-radius:14px;overflow:hidden}.empty{padding:30px;text-align:center;color:#667085;background:white;border-radius:14px}@media(max-width:680px){.kiosk{padding:14px}.overview{grid-template-columns:1fr}.chore,.review{grid-template-columns:1fr}.chore button{min-height:64px}.reward strong{font-size:1.6rem}.section-title{align-items:start;flex-direction:column}.grid-form{grid-template-columns:1fr}.grid-form .wide,.grid-form fieldset{grid-column:auto}.admin-main{padding:10px}.admin-head{align-items:flex-start}.admin-head nav{flex-direction:column}.row{flex-wrap:wrap}}
.toasts{position:fixed;right:18px;bottom:18px;z-index:50;display:grid;gap:8px;max-width:min(420px,calc(100vw - 36px))}.toast{background:#173d31;color:white;padding:14px 18px;border-radius:12px;box-shadow:0 8px 30px #0003;font-weight:750}.toast.error{background:var(--red)}.due{font-weight:800;color:#394b73!important;margin:0 0 7px!important}.due.anytime{font-weight:650;color:#657188!important}.grid-form label small{font-weight:400;color:#657188}.grid-form label[hidden]{display:none}button:disabled{opacity:.72}

/* v1.0.5: child-friendly 24-hour time learning hint */
.due-wrap{display:flex;flex-direction:column;gap:.1rem;margin:.15rem 0 .35rem}.due-wrap .due{margin:0}.due-hint{display:block;font-size:.82em;opacity:.78;font-weight:500}

/* v1.0.6: per-child end-of-chores countdown */
.child-countdowns{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin-top:12px}.child-countdown{border-left:5px solid var(--kid);background:#f5f7fb;border-radius:10px;padding:8px 11px;display:flex;justify-content:space-between;gap:10px;align-items:center}.child-countdown b{white-space:nowrap}.child-countdown span{font-size:.86rem;color:#526078;text-align:right}.child-countdown.done{background:#e9f7f1}.child-countdown.done span{color:#126347;font-weight:750}.tab-tick{display:inline-grid;place-items:center;margin-left:7px;width:23px;height:23px;border-radius:50%;background:#13795b;color:white;font-weight:900}@media(max-width:680px){.child-countdowns{grid-template-columns:1fr}.child-countdown{font-size:.94rem}}

/* v1.0.8 compact kiosk header */
.kiosk-top{min-height:42px;display:flex;align-items:center;justify-content:flex-end;padding:6px clamp(14px,3vw,28px);background:var(--paper)}
.parent-date-btn{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#657188;padding:7px 9px;border-radius:10px;font-weight:650;line-height:1.1}
.parent-date-btn:active,.parent-date-btn:focus-visible{background:#e5eaf2;color:var(--ink);outline:none}
.parent-date-btn .lock-icon{font-size:1rem}
.kiosk-top+.kiosk{padding-top:4px}
@media(max-width:680px){.kiosk-top{min-height:38px;padding:4px 10px}.kiosk-top+.kiosk{padding-top:2px}.parent-date-btn{font-size:.88rem;padding:6px 7px}}

/* v1.0.9: read-only prepared-week browsing */
.week-nav{display:flex;align-items:center;gap:7px;margin:2px 0 10px}.day-strip{display:grid;grid-template-columns:repeat(7,minmax(54px,1fr));gap:6px;flex:1}.day-btn,.week-arrow,.today-jump{border:1px solid var(--line);background:white;border-radius:12px;color:#536078;font-weight:750}.day-btn{min-height:54px;padding:5px 4px;display:grid;place-items:center;line-height:1}.day-btn span{font-size:.72rem;text-transform:uppercase}.day-btn b{font-size:1rem}.day-btn.today{box-shadow:inset 0 0 0 2px #9eaceb}.day-btn.active{background:var(--navy);border-color:var(--navy);color:white}.week-arrow{width:42px;min-width:42px;height:54px;font-size:1.8rem}.week-arrow:disabled{opacity:.3}.today-jump{height:54px;padding:0 12px;color:var(--blue)}.read-status{min-height:58px;border-radius:14px;display:grid;place-items:center;text-align:center;padding:10px 14px;font-weight:800;background:#edf1f7;color:#536078}.read-status.approved,.read-status.excused,.read-status.skipped{background:#e0f6ed;color:#126347}.read-status.waiting{background:#fff4d6;color:#855b10}.read-status.rejected{background:#fde8e7;color:var(--red)}
@media(max-width:680px){.week-nav{gap:4px}.day-strip{gap:3px}.day-btn{min-width:0;min-height:49px;border-radius:9px;padding:4px 2px}.day-btn span{font-size:.62rem}.day-btn b{font-size:.9rem}.week-arrow{width:34px;min-width:34px;height:49px}.today-jump{height:49px;padding:0 8px;font-size:.78rem}}

/* v1.0.10: parent game bans */
.reward strong.banned{font-size:2.35rem;letter-spacing:.08em}.tab#bans>p{color:#657188;max-width:760px}

/* v1.0.11: time-of-day chore groups and selected-date game status */
.chore-period{display:grid;gap:9px}.chore-period+.chore-period{margin-top:20px}.period-heading{margin:0;padding:0 4px;font-size:1rem;color:#536078;letter-spacing:.03em}.period-jobs{display:grid;gap:14px}.reward.banned-day{background:linear-gradient(135deg,#7f1d1d,#b42318);box-shadow:0 5px 22px #b4231830}.reward.banned-day strong.banned{color:white}.reward.banned-day small{color:white;opacity:.9}
.summary-card{margin:1rem 0;padding:1rem;border:1px solid #d9dce3;border-radius:14px;background:#fff}.summary-miss{display:flex;gap:.6rem;align-items:center;padding:.55rem 0;border-top:1px solid #eee}.summary-miss span{flex:1}.weekly-money{margin-top:.8rem;padding-top:.8rem;border-top:1px solid rgba(0,0,0,.12);display:grid;gap:.15rem}.weekly-money strong{font-size:1.35rem}
.three-strike{margin:10px 0;padding:11px 13px;border:1px solid #f0a29b;border-radius:10px;background:#fff0ef;color:#8f1d16}.strike-tag{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:6px;background:#b42318;color:#fff;font-size:.72rem;letter-spacing:.03em}
