@font-face{font-family:Barlow;src:url('/art/barlow-condensed.ttf');font-weight:800;font-display:swap}
:root{color-scheme:dark;--bg:#0c151c;--card:#192a35;--line:#344651;--ink:#f6efdc;--soft:#b9c7ca;--gold:#ffcf70;--event:#55263b;--deep:#101c25;font:16px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:pan-y}button{color:inherit;cursor:pointer}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}h1,h2,h3,p,figure{margin:0}h1,h2,h3,.condensed{font-family:Barlow,'Arial Narrow',sans-serif;font-weight:800;line-height:1.02}p{line-height:1.45}svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linejoin:round;stroke-linecap:round;flex:none}[hidden]{display:none!important}
.shell{height:100vh;height:100dvh;display:flex;flex-direction:column;max-width:820px;margin:auto;background:linear-gradient(130deg,var(--deep),var(--bg) 68%);box-shadow:0 0 70px #0002}.scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.mast,.welcome-head{background:linear-gradient(90deg,#101b25b5,transparent),url('/art/sky.webp') center 60%/cover}.mast{padding:max(19px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left));position:relative}.mast h1{font-size:clamp(42px,8vw,65px);margin:11px 0 4px}.mast.today h1{text-transform:uppercase;font-size:clamp(60px,15vw,86px);line-height:.92}.mast p{font-size:15px;color:#e1e5e2}.eyebrow,.section-head>span,.tag,.eyeline{font-weight:700;text-transform:uppercase;letter-spacing:.09em;font-size:12px;color:var(--gold)}.topline{display:flex;justify-content:space-between;align-items:center;gap:8px}.icon-link{background:#12222bbd;border:1px solid #53616b;border-radius:22px;min-width:42px;min-height:38px;display:grid;place-items:center}.icon-link svg{width:20px}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;padding:8px 14px;border-bottom:1px solid var(--line)}.week button{background:transparent;border:0;min-height:44px;border-radius:7px;color:var(--soft);font-size:12px}.week b{display:block;font-size:16px;color:var(--ink)}.week .active,.week .active b{background:var(--gold);color:#202521}.body{padding:14px max(17px,env(safe-area-inset-right)) 24px max(17px,env(safe-area-inset-left));display:grid;gap:13px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-head>span{color:var(--soft)}.section-head a,.small-action,.inline{color:var(--gold);font-size:14px;border:0;background:transparent;padding:6px 0;font-weight:650}.card,.row,.notice,.bubble,details,.event-row{border:1px solid var(--line);background:var(--card);border-radius:9px}.card{padding:16px}.card h2,.row h2,.event-row h2{font-size:27px}.card p,.row p,.small,.event-row p,details p{color:var(--soft);font-size:15px}.featured{display:flex;overflow:hidden;padding:0;min-height:102px}.featured img{width:27%;object-fit:cover}.featured>div{flex:1;padding:14px}.featured.child{display:block}.featured.child img{height:134px;width:100%;display:block}.featured.child h2{font-size:34px}.card-action{display:inline-block;margin-top:9px;color:var(--gold);font-size:14px;font-weight:700}.meter{height:5px;background:#3e505a;border-radius:6px;overflow:hidden;margin:9px 0}.meter i{height:100%;display:block;background:var(--gold)}.statrow{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}.statrow b{color:var(--gold)}.event-row,.row{display:flex;align-items:center;gap:11px;padding:12px 14px}.row>div,.event-row>div{flex:1;min-width:0}.event-row{background:var(--event);border:0}.event-row time{white-space:nowrap;font-weight:600}.row strong,.row b{display:block}.row .chev{color:var(--gold);font-size:20px}.nav{flex:none;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);background:var(--deep);padding:7px 7px max(8px,env(safe-area-inset-bottom))}.nav a{display:grid;justify-items:center;align-content:center;min-height:43px;gap:3px;font-size:12px;color:var(--soft)}.nav .current{color:var(--gold)}.primary,.secondary,.danger{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:11px 15px;border-radius:7px;min-height:44px;font-size:16px;font-weight:700}.primary{background:var(--gold);color:#202721;border:0}.secondary,.danger{background:var(--card);color:var(--ink);border:1px solid #5a6971}.danger{color:#ffb5aa}.stack,form{display:grid;gap:13px}.split{display:flex;gap:10px;flex-wrap:wrap}.grow{flex:1}.notice{padding:14px;border-left:3px solid var(--gold);line-height:1.45}.notice b{display:block}.notice p{color:var(--soft);font-size:15px}.photo{width:100%;max-height:260px;object-fit:cover;border-radius:7px}.thumbs{display:flex;gap:8px;flex-wrap:wrap}.thumbs a img{width:84px;height:80px;object-fit:cover;border-radius:6px}.group{border:1px solid var(--line);border-radius:9px;background:var(--card);overflow:hidden}.group summary,details summary{padding:14px;cursor:pointer;font-weight:700;min-height:48px}.checkrow{display:flex;align-items:flex-start;gap:12px;border-top:1px solid var(--line);padding:13px 14px;font-size:16px;line-height:1.4}.checkrow input,.flag input{width:20px;height:20px;flex:none;accent-color:var(--gold)}.checkrow:has(input:checked){color:var(--soft)}label.field{display:grid;gap:5px;color:var(--soft);font-size:14px;font-weight:600}input:not([type=checkbox]),textarea,select{width:100%;min-height:44px;padding:10px 11px;background:var(--deep);border:1px solid #536572;border-radius:7px;color:var(--ink);font-size:16px}textarea{min-height:75px;resize:vertical}.flag{display:flex;align-items:center;gap:8px;min-height:34px;font-size:15px}.empty{border:1px dashed #485b68;border-radius:9px;padding:19px;color:var(--soft);line-height:1.4}.empty a{display:block;color:var(--gold);margin-top:9px;font-weight:650}.welcome{max-width:530px;margin:auto;padding:16px;min-height:100dvh;display:flex;flex-direction:column;justify-content:center}.welcome-head{padding:32px 20px;border-radius:12px 12px 0 0}.welcome-head h1{font-size:54px;margin:13px 0}.welcome-body{padding:20px;background:var(--card);border-radius:0 0 12px 12px}.wrap{white-space:pre-wrap;overflow-wrap:anywhere}.bubble{padding:13px}.bubble small,.timestamp{color:var(--gold);font-size:12px}.bubble p{margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere}.muted{font-size:14px;color:var(--soft)}.back{color:var(--gold);font-size:14px}.subhead{font-size:23px}.tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}dialog{background:var(--deep);color:var(--ink);border:1px solid #5c6c74;border-radius:12px;width:min(460px,calc(100% - 22px));max-height:90dvh;padding:18px}dialog::backdrop{background:#02070bbd}dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}dialog header h2{font-size:29px}dialog header button{font-size:23px;border:0;background:transparent}#toast{position:fixed;z-index:12;left:50%;bottom:max(75px,env(safe-area-inset-bottom));transform:translateX(-50%);color:var(--ink);background:#213641;border:1px solid #a98a50;border-radius:8px;padding:10px 15px;width:max-content;max-width:92vw;font-size:15px}.monitor-page{margin:auto;width:min(100vw,56.25dvh);height:min(100dvh,177.7778vw);container-type:inline-size;display:flex;flex-direction:column;gap:3cqw;background:var(--deep);overflow:hidden}.monitor-wrap{min-height:100dvh;display:grid;place-items:center;background:#080f15}.monitor-page .mast{padding:7cqw 6cqw 4cqw;border-bottom:.5cqw solid var(--gold)}.monitor-page .mast h1{font-size:17cqw}.monitor-page .mast p{font-size:4.6cqw}.monitor-page .body{padding:4cqw 5cqw;display:grid;gap:3cqw;overflow:auto}.monitor-page .section-head>span{font-size:3cqw}.monitor-page .event-row h2,.monitor-page .row h2{font-size:5cqw}.monitor-page .event-row time,.monitor-page .muted{font-size:3.1cqw}.monitor-page footer{margin:auto 5cqw 3cqw;border-top:1px solid var(--line);padding-top:2cqw;font-size:3cqw;color:var(--soft);display:flex;justify-content:space-between}.monitor-page footer button{border:0;background:transparent;color:var(--gold);font-size:inherit}
[data-theme=Forest]{--deep:#152a22;--card:#203b30;--gold:#d1df9d;--bg:#0f201b}[data-theme=Burgundy]{--deep:#291b25;--card:#3c2934;--gold:#f5bcaa;--bg:#1e141c}[data-theme=Ocean]{--deep:#112c38;--card:#1a3e4b;--gold:#95dfda;--bg:#0a202a}[data-theme=Midnight]{--deep:#171a32;--card:#252840;--gold:#c8c1ff;--bg:#101122}[data-theme="High Contrast"]{--bg:black;--deep:black;--card:#111;--line:#b7b7b7;--soft:white;--ink:white;--gold:#ffe438}
.bookpage{display:block;width:100%;height:auto;border-radius:6px}

/* Featured package, the family's selected Today layout. */
.shell:has(.today-body){background:var(--bg)}
.scroll:has(.today-body){display:flex;flex-direction:column}
.scroll:has(.today-body)>.mast,.scroll:has(.today-body)>.week{flex:none}
.mast.today{padding:clamp(18px,5.8vw,26px) 5% 14px;background:linear-gradient(90deg,#0c16244d,transparent),url('/art/sky.webp') center 60%/cover}
.today .topline{height:21px}.today .icon-link{position:absolute;right:4%;top:10px;border:0;background:transparent;min-width:44px;min-height:44px;color:var(--soft)}
.mast.today h1{font-size:clamp(57px,16.5vw,78px);margin:12px 0 4px}
.week{padding:6px 0;margin:0 5%;gap:2px}.week button{font-weight:600}
.today-body{display:flex;flex-direction:column;flex:1 0 auto;gap:20px;padding:10px 5% 11px}
.chore-list,.today-calendar{display:grid;gap:8px}.today-calendar{margin-top:auto}
.today-body .section-head{min-height:24px}.today-body .section-head>span{font-size:12px;letter-spacing:.12em}.today-body .small-action{padding:4px;font-size:13px}
.today-body .featured:not(.child){border-color:#89764e}.featured:not(.child) img{width:30%;min-height:100%;align-self:stretch}
.featured.child img{height:clamp(96px,28vw,145px)}.featured.child .card-action{display:inline-flex;align-items:center;background:var(--gold);color:#1b201e;border-radius:6px;padding:9px 14px;min-height:40px}.today-body .card:not(.featured){padding:13px}.today-body .event-row h2{font-size:20px}.today-body .event-row svg{width:19px}.today-body .event-row time{font-size:14px}.today-body .event-row{min-height:46px}
@media(max-height:690px){.mast.today{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:9px}.mast.today h1{font-size:52px;margin-top:6px}.today-body{gap:12px}.featured.child img{height:84px}.featured.child>div{padding:10px 13px}.statrow{padding:5px 0}}
:root{font-family:-apple-system,BlinkMacSystemFont,Arial,sans-serif;--card:#172630;--event:#532139;--gold:#ffce6c;--bg:#0b141b}
.today-body .statrow{padding:6px 0}.today-body .card p{line-height:1.25}.today-body .featured.child>div{padding:11px 14px}.today-body .featured.child .card-action{min-height:38px}.today-body .featured.child .statrow b{color:#d2bd8c}
@media(max-height:775px){.today-body{gap:10px}.today-body .featured.child img{height:clamp(87px,13vh,103px)}.today-body .section-head{min-height:20px}}
@media(max-height:660px){.mast.today h1{font-size:48px}.mast.today .topline{height:16px}.today-body{gap:7px;padding-top:6px;padding-bottom:7px}.today-body .featured.child img{height:70px}.today-body .statrow{padding:4px 0}.today-body .featured.child>div{padding:8px 12px}.today-body .featured.child h2{font-size:29px}.today-body .featured.child .card-action{margin-top:5px;min-height:34px}.today-calendar,.chore-list{gap:5px}.today .week,.week{padding-block:3px}}
.screen-review{height:100vh;height:100dvh;display:flex;flex-direction:column;background:#0b141b}.screen-review header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:max(4px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-right)) 4px max(9px,env(safe-area-inset-left));border-bottom:1px solid #344651}.screen-review header a{color:#ffce6c;font-size:15px;padding:8px}.screen-review header button{min-height:38px;padding:6px 14px;border:0;background:transparent;border-radius:5px;font-weight:650;color:#c4cfd2}.screen-review header button[aria-pressed=true]{background:#ffce6c;color:#17212b}.screen-review main{flex:1;min-height:0;display:grid;place-items:center;margin-bottom:env(safe-area-inset-bottom)}.screen-review main img{width:100%;height:100%;min-height:0;object-fit:contain;touch-action:pan-y}

html,body{max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none;touch-action:pan-y}
@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:max(16px,1em)}}

.scroll,.monitor-page .body,dialog{overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y}
.shell,.scroll,.body,.stack,.field,.today-body section,.card,form,.screen-review main,.screen-review img{min-width:0}
.body,.topline,.mast,.checkrow,.nav,.bubble,.event-row,dialog{overflow-wrap:anywhere}
.media-open{display:block;padding:0;border:0;background:none;max-width:100%;cursor:pointer}
.media-open img{display:block;max-width:100%}.thumbs .media-open img{width:84px;height:80px;object-fit:cover;border-radius:6px}
dialog:has(.full-photo){width:min(94vw,850px)}.full-photo{width:100%;height:auto;max-height:72dvh;object-fit:contain;display:block}

.setup-children{min-width:0;margin:0;padding:0;border:0}
.setup-children legend{padding:0;margin-bottom:6px;font-size:14px;font-weight:600;color:var(--soft)}
.child-names{display:grid;gap:8px}
.child-name-row{display:grid;gap:6px;min-width:0}
.child-name-row+.child-name-row{border-top:1px solid var(--line);padding-top:10px}
.child-name-line{display:flex;align-items:center;gap:8px}
.child-name-row input{min-width:0;flex:1}
.remove-child,.add-child{min-height:44px;background:transparent;font-weight:650}
.remove-child{border:0;padding:5px 8px;color:var(--soft);font-size:14px}
.add-child{margin-top:6px;border:1px solid var(--line);border-radius:7px;padding:8px 14px;color:var(--gold)}

@media(any-pointer:coarse){
  .welcome{height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;justify-content:safe center}
  .welcome>*{flex:none}
  html[data-phone-editing] .welcome,html[data-phone-editing] .shell{height:var(--editor-bottom)}
  html[data-phone-editing] .welcome,html[data-phone-editing] .scroll{padding-bottom:var(--editor-tail);scroll-padding-block:12px}
  html[data-phone-editing] .welcome-body{flex-shrink:0}
  html[data-phone-editing] .welcome-head{padding:12px 20px}
  html[data-phone-editing] .welcome-head h1{font-size:29px;margin:4px 0}
  html[data-phone-editing] dialog[open]{position:fixed;inset:calc(var(--editor-top) + 8px) 0 auto;margin:0 auto;max-height:calc(var(--editor-height) - 16px);overflow-y:auto;scroll-padding-block:12px}
  html[data-phone-editing="resized"] .shell:has(.scroll :focus) .nav{display:none}
}

/* Let the form column size the native date picker, including its padding. */
label.field,.child-names,.child-name-row{grid-template-columns:minmax(0,1fr)}
label.field>input:is([type=date],[type=time]){
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  width:auto;
  min-width:0;
  max-width:100%;
  margin-inline:0;
  justify-self:stretch;
}

.signup-landing {
  --gutter: clamp(20px, 6vw, 48px);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--card);
}
.signup-sky, .signup-actions {
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.signup-sky {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: clamp(16px, 5dvh, 48px);
  background: linear-gradient(0deg, #09121bd9, transparent 75%), url('/art/sky.webp') center 60% / cover;
}
.signup-sky h1 {
  margin: 0;
  color: #fff3da;
  font-size: clamp(56px, min(17vw, 12dvh), 108px);
  line-height: .97;
}
.signup-actions {
  padding-top: clamp(20px, 4dvh, 36px);
  padding-bottom: max(clamp(20px, 5dvh, 44px), env(safe-area-inset-bottom));
}
.signup-actions .stack { max-width: 32rem; margin-inline: auto; }
.signup-actions a { min-height: 48px; }
@media(min-width: 800px) {
  .signup-landing { grid-template: 1fr / 1.15fr 1fr; }
  .signup-sky { padding-block: max(40px, 6dvh); }
  .signup-actions { display: grid; align-content: center; }
}
@media(max-height: 470px) and (max-width: 799px) {
  .signup-landing { grid-template: 1fr / 1fr 1.15fr; --gutter: 16px; }
  .signup-sky h1 { font-size: clamp(32px, 8vw, 60px); }
}
