*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:smooth}body{--bg:#F2F5F8;--ink:#1B2A37;--muted:#556575;--main:#A8D1F3;--on:#16275A;--strong:#2E5675;--accent:#3F86C8;--light:#E6EEF6;--line:#D3E2EF;margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}body[data-theme=pink]{--bg:#FFF7FA;--ink:#4A1D33;--muted:#7E5A6B;--main:#F8C8DC;--on:#4A1D33;--strong:#B03A6E;--accent:#E06A9C;--light:#FDE9F1;--line:#F9D6E4}body[data-theme=green]{--bg:#F3F5F0;--ink:#1E2C24;--muted:#55665B;--main:#BFE0C9;--on:#1E3A2A;--strong:#3A5A47;--accent:#5A9670;--light:#E8F0E9;--line:#D5E4D8}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.46}button{border:0}a{color:var(--strong)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--strong);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3,.serif{font-family:ui-serif,"Iowan Old Style","Palatino Linotype",Georgia,serif;font-weight:600;letter-spacing:-.025em}h1{font-size:clamp(2.2rem,4vw,3.2rem);line-height:1.12}h2{font-size:1.5rem;line-height:1.25}h3{font-size:1.2rem}p{color:var(--muted)}.skip{position:fixed;top:-100px;padding:12px;background:#fff;z-index:100}.skip:focus{top:4px}.layout{max-width:1150px;margin:0 auto;display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100dvh}.rail{padding:45px 20px 28px;position:sticky;top:0;height:100dvh;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:40px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font:600 1.75rem/1 ui-serif,Georgia,serif;letter-spacing:-.035em}.brand img{border-radius:13px;box-shadow:0 3px 12px #1b2a3712}.brand-small{display:block;font-size:1rem;margin-top:5px;letter-spacing:0}.eyebrow{font-size:.75rem;font-weight:650;letter-spacing:.14em;color:var(--strong)}.rail-note p{font:1.3rem/1.4 ui-serif,Georgia,serif;margin-top:12px;color:var(--ink)}nav{display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:13px;background:transparent;padding:14px 17px;border-radius:15px;font-size:.95rem;text-decoration:none;color:var(--muted)}.nav-item[aria-current=page]{background:var(--light);color:var(--strong);font-weight:650}.icon{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.rail-footer{margin-top:auto}.rail-footer p{font-size:.875rem;line-height:1.6;margin:12px 0}.demo-label{display:inline-block;font-size:.7rem;letter-spacing:.13em;border:1px solid var(--line);padding:5px 9px;border-radius:7px;color:var(--strong)}.text-button{background:transparent;color:var(--strong);text-decoration:underline;text-underline-offset:4px;padding:6px 0;font-size:.875rem}.workspace{padding:26px clamp(20px,4vw,54px) 28px;min-width:0}.preview-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.8rem;padding:10px 14px;background:#ffffffa8;border:1px solid var(--line);border-radius:12px;color:var(--muted);margin-bottom:27px}.preview-notice button{background:transparent;color:var(--strong);font-size:1.1rem;min-width:30px;min-height:30px}.child-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:30px}.child-switch{display:flex;align-items:center;gap:11px;padding:0;background:transparent;min-height:48px;text-align:left}.avatar{border-radius:50%;width:44px;height:44px;display:grid;place-items:center;background:var(--line);color:var(--strong);font:600 1.2rem ui-serif,Georgia,serif;flex-shrink:0}.child-name{font:600 1.35rem ui-serif,Georgia,serif}.child-age{display:block;font-size:.8rem;color:var(--muted);margin-top:2px}.chevron{width:17px;height:17px;margin-left:3px}.date{font-size:.8rem;color:var(--muted);text-align:right}.heading{margin-bottom:27px}.heading p{margin-top:9px;font-size:.95rem;max-width:420px}.heading .eyebrow{display:block;margin-bottom:10px}.card{background:#fff;border:1px solid var(--line);border-radius:25px;padding:25px;margin-bottom:20px}.card p{font-size:.9rem}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.card-head .meta{font-size:.8rem}.card-head h2{font-size:1.25rem}.timer-card{background:var(--main);border-color:transparent;color:var(--on);box-shadow:0 10px 25px color-mix(in srgb,var(--accent) 11%,transparent)}.timer-card p{color:var(--on)}.timer-card .icon{width:27px;height:27px}.timer-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.timer-title{display:flex;align-items:center;gap:11px;font-size:.9rem}.icon-box{width:43px;height:43px;border-radius:14px;background:#ffffff80;display:grid;place-items:center;flex-shrink:0}.timer-amount{font:600 1.8rem/1.15 ui-serif,Georgia,serif;margin-top:6px}.small-label{font-size:.76rem;opacity:.88}.timer-face{margin:26px auto 22px;width:207px;height:207px;border:7px solid #ffffff66;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative}.timer-face::before{content:"";position:absolute;inset:-7px;border:7px solid var(--accent);border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;transform:rotate(-25deg)}.timer-number{font:600 2.3rem/1.15 ui-serif,Georgia,serif;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.timer-caption{font-size:.68rem;letter-spacing:.12em;margin-top:9px}.timer-state{font-size:.8rem;margin-top:9px}.idle-copy{font:500 1.7rem/1.2 ui-serif,Georgia,serif;text-align:center;padding:30px 10px 25px}.idle-copy span{display:block;font:.85rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin-top:8px}.primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border-radius:16px;padding:12px 18px;background:var(--main);color:var(--on);font-weight:650}.timer-card .primary{background:#fff;color:var(--on)}.secondary{border:1px solid var(--line);background:#fff;border-radius:13px;min-height:46px;padding:10px 16px;color:var(--strong)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:28px 0 15px}.section-title h2{font-size:1.4rem}.small-note{font-size:.8rem;color:var(--muted)}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.choice{background:var(--bg);border:1px solid var(--line);border-radius:16px;min-height:68px;display:flex;align-items:center;gap:11px;padding:12px 13px;text-align:left;font-size:.9rem;position:relative}.choice .icon{width:21px;height:21px;color:var(--strong)}.choice[aria-pressed=true]{background:var(--light);border:2px solid var(--strong);padding:11px 12px;color:var(--strong);font-weight:650}.choice .choice-text{flex:1;min-width:0;overflow-wrap:anywhere}.choice .check{width:15px;height:15px}.pills{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0 21px}.pill{min-height:42px;border-radius:11px;padding:9px 13px;background:var(--bg);border:1px solid var(--line);font-size:.875rem}.pill[aria-pressed=true]{background:var(--light);border-color:var(--strong);font-weight:650}.field{display:flex;flex-direction:column;gap:8px;margin:16px 0}.field label{font-size:.875rem;font-weight:600}.field input,.field select{width:100%;min-height:46px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;color:var(--ink)}.sleep-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.sleep-choice{display:flex;flex-direction:column;gap:9px;align-items:flex-start;min-height:140px;padding:20px;border:2px solid var(--line);border-radius:20px;background:#fff;text-align:left}.sleep-choice[aria-pressed=true]{border-color:var(--strong);box-shadow:0 0 0 2px #fff inset}.sleep-choice .icon{width:30px;height:30px}.sleep-choice strong{font:600 1.25rem ui-serif,Georgia,serif}.sleep-choice span{font-size:.8rem;color:var(--muted)}.moment-list{display:flex;flex-direction:column;gap:0}.moment{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.moment:first-child{padding-top:0}.moment:last-child{border:0;padding-bottom:0}.moment .icon-box{background:var(--light);color:var(--strong);width:42px;height:42px;border-radius:13px}.moment-name{font-size:.93rem;font-weight:550;flex:1}.moment-detail{display:block;color:var(--muted);font-size:.75rem;font-weight:400;margin-top:4px}.moment-time{text-align:right;font-size:.875rem;white-space:nowrap}.empty{padding:18px 8px;text-align:center}.empty .icon{width:32px;height:32px;margin-bottom:10px;color:var(--strong)}.empty p{margin-top:5px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.summary{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px 12px}.summary .icon{width:20px;height:20px;color:var(--strong)}.summary strong{display:block;font:600 1.4rem/1.2 ui-serif,Georgia,serif;margin:9px 0 5px;overflow-wrap:anywhere}.summary span{font-size:.75rem;color:var(--muted)}.chart{display:flex;align-items:flex-end;justify-content:space-around;gap:12px;min-height:178px;padding-top:25px}.chart-column{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0}.chart-value{font-size:.7rem;color:var(--muted);white-space:nowrap}.chart-bar{width:min(100%,28px);background:var(--accent);border-radius:8px 8px 4px 4px;min-height:3px}.chart-day{font-size:.75rem;color:var(--muted)}.chart-note{margin-top:16px;font-size:.8rem!important}.row-button{display:flex;align-items:center;gap:12px;width:100%;background:transparent;padding:13px 0;text-align:left;border-bottom:1px solid var(--line)}.row-button:last-child{border-bottom:0}.row-button .row-copy{flex:1}.row-button strong{display:block;font-size:.95rem;font-weight:600}.row-button small{font-size:.8rem;color:var(--muted)}.child-dot{width:10px;height:10px;border-radius:50%;background:var(--accent)}.theme-blue{--accent:#3F86C8;--line:#D3E2EF;--strong:#2E5675}.theme-pink{--accent:#E06A9C;--line:#F9D6E4;--strong:#B03A6E}.theme-green{--accent:#5A9670;--line:#D5E4D8;--strong:#3A5A47}.profile-summary{display:flex;align-items:center;gap:15px}.profile-summary .avatar{width:65px;height:65px;font-size:1.8rem}.profile-summary p{margin-top:5px}.theme-options{display:flex;gap:10px;margin-top:16px}.theme-option{border:2px solid transparent;padding:9px 13px;border-radius:12px;font-size:.8rem}.theme-option.blue{background:#A8D1F3;color:#16275A}.theme-option.pink{background:#F8C8DC;color:#4A1D33}.theme-option.green{background:#BFE0C9;color:#1E3A2A}.theme-option[aria-pressed=true]{border-color:var(--ink)}.info-list{margin:15px 0 0;padding-left:19px;font-size:.9rem;color:var(--muted)}.info-list li{margin:8px 0}.info-panel{background:var(--light);border-radius:16px;padding:17px;margin:17px 0}.info-panel p{font-size:.875rem;line-height:1.6}.page-footer{text-align:center;color:var(--muted);font-size:.75rem;padding:26px 5px 5px}#now-bars{display:flex;flex-direction:column;gap:8px;position:sticky;bottom:18px;z-index:5;margin-top:24px}.now-bar{background:#fff;border:1px solid var(--line);box-shadow:0 5px 22px #1b2a3712;border-radius:15px;padding:12px 16px;text-align:left;display:flex;align-items:center;gap:10px;width:100%;font-size:.85rem}.now-bar strong{flex:1}.now-bar .live-clock{font-variant-numeric:tabular-nums}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}dialog{color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;width:min(460px,calc(100% - 28px));max-height:85dvh;box-shadow:0 20px 90px #1b2a3730}dialog::backdrop{background:#14233260;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.close{background:var(--light);border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:1.5rem}.dialog-actions{display:flex;gap:10px;margin-top:23px}.dialog-actions>*{flex:1}dialog p{font-size:.93rem}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 30px);width:max-content;background:var(--ink);color:#fff;border-radius:14px;padding:14px 20px;font-size:.875rem;opacity:0;pointer-events:none;z-index:40;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}.inline-error{color:var(--strong);font-size:.85rem;margin-top:10px}.running-elsewhere{margin-bottom:17px;border:1px solid var(--line);padding:16px;border-radius:15px;background:var(--light)}.running-elsewhere p{font-size:.875rem}.running-elsewhere button{margin-top:10px}.screen-note{font-size:.8rem!important;margin-top:15px;text-align:center}.row-between{display:flex;align-items:center;justify-content:space-between;gap:10px}.date-input{min-height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:7px;color:var(--ink);font-size:.8rem;max-width:160px}main:focus{outline:none}#main{animation:reveal .2s ease-out}@keyframes reveal{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px){.workspace{max-width:760px}.rail{padding-left:25px;padding-right:30px}.card{padding:28px}.choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.layout{display:block}.rail{height:auto;position:static;padding:18px 22px 0;border:0;display:block}.brand{font-size:1.2rem;gap:9px}.brand img{width:34px;height:34px;border-radius:10px}.brand-small{font-size:.8rem;margin-top:2px}.rail-note,.rail-footer{display:none}.workspace{padding:17px 20px calc(110px + env(safe-area-inset-bottom))}.preview-notice{font-size:.72rem;padding:8px 10px;margin-bottom:22px}.child-header{margin-bottom:27px}.date{font-size:.75rem}.heading{margin-bottom:23px}h1{font-size:2.4rem}.card{padding:21px;border-radius:23px}.card-head{margin-bottom:18px}.timer-face{width:190px;height:190px}.timer-number{font-size:2.1rem}nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:10px 8px calc(10px + env(safe-area-inset-bottom))}.nav-item{flex-direction:column;gap:4px;font-size:.68rem;padding:9px 2px;border-radius:12px;line-height:1.15}.nav-item .icon{width:22px;height:22px}.choices{gap:9px}.choice{font-size:.875rem;padding:12px 10px;gap:8px}.choice[aria-pressed=true]{padding:11px 9px}.choice .icon{width:19px;height:19px}.choice .check{width:13px;height:13px}.sleep-choice{padding:17px;min-height:137px}.summary-grid{gap:8px}.summary{padding:14px 10px}.summary strong{font-size:1.22rem}.summary span{font-size:.73rem}.page-footer{padding-top:20px}#now-bars{bottom:calc(91px + env(safe-area-inset-bottom));margin-bottom:0}#toast{bottom:calc(104px + env(safe-area-inset-bottom))}}
@media(max-width:350px){.workspace{padding-left:14px;padding-right:14px}.card{padding:17px}.choice{font-size:.81rem}.nav-item{font-size:.64rem}.summary strong{font-size:1.1rem}.date{max-width:75px}.pills{gap:6px}.pill{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

[hidden]{display:none!important}.auth-shell{max-width:480px;margin:0 auto;padding:clamp(24px,6vh,70px) 20px 32px}.auth-brand{text-align:center;margin:0 0 24px}.auth-brand img{border-radius:20px;box-shadow:0 6px 24px #1b2a3712}.auth-card{padding:30px}.auth-card h1{font-size:2.35rem;margin-top:12px}.auth-intro{margin:12px 0 23px}.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:20px}.auth-footer{text-align:center;font-size:.875rem}.auth-message:not(:empty){margin:16px 0;background:var(--light);padding:14px;border-radius:12px}.inline-error:not(:empty){color:#9b234b;background:#fff0f3;border-radius:10px;padding:12px;margin:12px 0;font-size:.9rem}.account-email{margin-top:12px;overflow-wrap:anywhere}.account-help{margin-top:20px}.consent-label{display:flex;gap:12px;align-items:flex-start;margin:22px 0;font-size:.9rem}.consent-label input{width:20px;height:20px;flex-shrink:0;margin-top:3px;accent-color:var(--strong)}.moment-remove{font-size:.8rem;min-height:44px}.moment-name,.row-copy{min-width:0;overflow-wrap:anywhere}.moment-detail{font-size:.8125rem}.small-note,.child-age,.small-label{font-size:.875rem}.auth-card .primary{margin-top:18px}.auth-shell~#toast{bottom:24px}@media(max-width:420px){.auth-card{padding:24px}.moment{gap:8px}.moment-time{white-space:normal;font-size:.8125rem}.moment .icon-box{width:32px;height:36px}.auth-card h1{font-size:2.1rem}}

/* Chosen floating capsule navigation; colours follow each child's workspace. */
#navigation{background:var(--light);padding:8px;border:1px solid var(--line);border-radius:26px;gap:5px}
#navigation:empty{display:none}
.nav-item{color:var(--strong);min-height:52px;font-size:.95rem;border-radius:19px}
.nav-item[aria-current=page]{background:#fff;color:var(--strong);box-shadow:0 3px 10px #18394d12;font-weight:700}
.nav-item[aria-current=page] .icon{stroke-width:2.1}
.nav-item[aria-current=page] .icon:first-child{color:var(--strong)}
.sleep-choice{position:relative;background:var(--bg)}
.sleep-choice[aria-pressed=true]{background:var(--light);border-color:var(--strong)}
.sleep-choice .selected-check{position:absolute;right:14px;top:14px;width:20px;height:20px;color:var(--strong)}
.password-field{position:relative}
.password-field input{padding-right:54px}
.password-toggle{position:absolute;right:3px;top:3px;bottom:3px;min-width:44px;display:grid;place-items:center;border-radius:10px;background:transparent;color:var(--strong)}
.password-toggle:hover{background:var(--light)}
.avatar{overflow:hidden}
.avatar img{display:block;width:100%;height:100%;object-fit:cover}
.photo-editor{padding:16px;border-radius:18px;background:var(--bg);border:1px solid var(--line)}
.photo-editor .avatar{width:76px;height:76px}
.photo-editor .field{margin:10px 0}
.photo-editor input[type=file]{padding:9px;max-width:100%;font-size:.875rem}
.photo-editor input[type=file]::file-selector-button{border:0;border-radius:7px;background:var(--light);color:var(--strong);padding:8px;margin-right:8px;font:inherit}
.optional{font-weight:400;color:var(--muted)}
.moment{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px}
.moment-time{max-width:125px;font-variant-numeric:tabular-nums;white-space:normal;font-size:.875rem}
.moment-actions{grid-column:2/4;display:flex;gap:20px;margin-top:-7px}
.moment-actions button{min-height:44px;padding:7px 0}
.chart-value{font-size:.75rem;white-space:normal;text-align:center}
.reminder-setting{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.875rem;padding:14px 0 0}
.reminder-message:not([hidden]){background:#fff;border-radius:12px;padding:12px;margin-top:14px;color:var(--on)}
.danger-text{color:#9b234b}.danger-button{background:#9b234b;color:#fff}
.close{min-width:44px;min-height:44px}
.dialog-actions{flex-wrap:wrap}.dialog-actions>*{min-width:120px}
@media(max-width:700px){
 #navigation{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));border:1px solid var(--line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px;gap:2px;background:var(--light);backdrop-filter:none;box-shadow:0 7px 24px #18394d14;border-radius:28px}
 .nav-item{font-size:.875rem;min-height:64px;padding:9px 1px;gap:6px;border-radius:22px;text-align:center;line-height:1.2}
 .nav-item span{overflow-wrap:normal}.nav-item .icon{width:24px;height:24px}
 .workspace{padding-bottom:calc(130px + env(safe-area-inset-bottom))}
 #now-bars{bottom:calc(104px + env(safe-area-inset-bottom))}
 #toast,.auth-shell~#toast{bottom:calc(114px + env(safe-area-inset-bottom));max-height:25dvh;overflow:auto}
 .auth-shell:not([hidden])~#toast{bottom:20px}
 .moment{grid-template-columns:34px minmax(0,1fr) auto;gap:8px}.moment-time{max-width:96px}
}
@media(max-width:350px){#navigation{left:6px;right:6px}.nav-item{font-size:.8125rem}.nav-item .icon{width:22px;height:22px}.moment-time{max-width:75px}.sleep-choice{padding:14px}.sleep-choice .selected-check{right:8px;top:8px}}

/* Keep the daily total small so the next useful action appears sooner. */
.profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.profile-section-head h2{display:flex;align-items:center;gap:8px}
.profile-count{display:inline-grid;place-items:center;min-width:26px;min-height:26px;padding:2px 7px;border-radius:9px;background:var(--light);color:var(--strong);font:600 .875rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.profile-family .profile-summary>div{min-width:0;overflow-wrap:anywhere}
.profile-family .profile-summary h3{font-size:1.25rem}
.profile-section-head .text-button{min-height:44px;padding:8px 0;text-decoration:none}
.profile-child-actions,.profile-account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}
.profile-child-actions .text-button,.profile-account-actions .text-button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 0}
.profile-child-actions .icon{width:18px;height:18px}
.profile-account .account-email{margin-top:6px;font-size:.9375rem;line-height:1.5}
.profile-account-actions{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.profile-account-actions .secondary{min-width:104px}
.profile-account>.small-note{margin-top:12px}
.profile-help h2{margin-bottom:8px}
.profile-help-row{display:flex;align-items:center;min-height:48px;width:100%;padding:12px 0;text-align:left;font-size:.9375rem;line-height:1.4;color:var(--strong);background:transparent;border-bottom:1px solid var(--line);text-decoration:none}
.profile-help-row:last-child{border-bottom:0;padding-bottom:8px}
.daily-summary{display:flex;align-items:center;gap:12px;padding:12px 18px;min-height:64px}
.daily-label{color:var(--muted);font-size:.875rem;flex:1;min-width:0}
.daily-value{font-size:1rem;font-weight:650;text-align:right;overflow-wrap:anywhere;min-width:0;max-width:52%}
.summary-help{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--light);color:var(--strong);font:600 1rem ui-serif,Georgia,serif}
@media(max-width:700px){
 html{scroll-behavior:auto;scroll-padding-bottom:calc(130px + env(safe-area-inset-bottom))}
 .rail{padding:12px 16px 0}
 .brand{min-height:36px;font-size:1.125rem;gap:9px;flex-wrap:wrap}
 .brand img{width:30px;height:30px;border-radius:9px}
 .brand-small{display:inline;font-size:inherit;margin:0 0 0 4px}
 .workspace{padding:2px 16px calc(140px + env(safe-area-inset-bottom))}
 .preview-notice{padding:0;border:0;background:transparent;min-height:44px;margin:0 0 4px;font-size:.8125rem}
 .preview-notice button{min-width:44px;min-height:44px;border-radius:12px}
 .child-header{margin-bottom:12px;gap:8px;flex-wrap:wrap}
 .child-switch{min-width:0;max-width:100%;gap:9px;min-height:48px}
 .child-switch>span:not(.avatar){min-width:0}
 .child-name{font-size:1.25rem;overflow-wrap:anywhere}
 .child-age,.date{font-size:.8125rem}
 .child-header .avatar{width:38px;height:38px;font-size:1.125rem}
 .heading{margin-bottom:12px}
 #main>.heading h1{font-size:1.875rem;line-height:1.15}
 #main>.heading p{display:none}
 .card{padding:16px;border-radius:20px;margin-bottom:14px}
 .card h2{font-size:1.25rem}
 .card-head{margin-bottom:12px}
 .daily-summary{min-height:52px;padding:4px 10px 4px 14px;gap:8px}
 .daily-label{font-size:.875rem}.daily-value{font-size:1rem}
 .choices{gap:8px;margin:12px 0}
 .choice{min-height:48px;padding:10px;gap:8px;font-size:1rem;border-radius:13px}
 .choice[aria-pressed=true]{padding:9px}
 .choice .icon{width:20px;height:20px}
 .primary{min-height:48px;padding:10px 14px;border-radius:13px}
 .pills{gap:6px;margin:10px 0 14px}
 .pill{min-height:44px;padding:8px 11px}
 .sleep-choices{gap:10px;margin:12px 0}
 .sleep-choice{min-height:94px;padding:12px;gap:5px}
 .sleep-choice strong{font-size:1.125rem}
 .sleep-choice .icon{width:23px;height:23px}
 .sleep-choice .selected-check{width:18px;height:18px;top:10px;right:10px}
 .timer-face{width:132px;height:132px;margin:16px auto}
 .timer-number{font-size:1.65rem}.timer-caption{margin-top:5px}
 .timer-state{font-size:.75rem;margin-top:5px}
 .timer-head{flex-wrap:wrap}.timer-title{font-size:1rem}
 .section-title{margin:20px 0 12px}.section-title h2{font-size:1.25rem}
 .section-title .text-button,.card>.text-button{min-height:44px;display:inline-flex;align-items:center}
 .summary-grid{margin:14px 0}.summary{padding:12px 9px}
 .profile-summary .avatar{width:52px;height:52px}.profile-summary{gap:12px}
 .profile-summary p{margin-top:2px}
 .account-help{margin-top:14px}.dialog-actions{margin-top:16px}
 .reminder-setting{padding-top:8px;flex-wrap:wrap}.reminder-setting button{min-height:44px}
 .screen-note{margin-top:10px}
 #navigation{padding:5px}
 .nav-item{min-height:58px;padding:7px 1px;gap:4px;font-size:.875rem}
 .nav-item .icon{width:22px;height:22px}
 .now-bar{min-height:48px;padding:10px 12px;flex-wrap:wrap}
 #now-bars:empty{display:none}
 #now-bars{bottom:calc(100px + env(safe-area-inset-bottom))}
button,input,select,a{scroll-margin-bottom:calc(130px + env(safe-area-inset-bottom))}
}

/* Approved soft-card design. Family themes stay intact; only activity circles
   and the seven-day chart carry the small pastel accents. */
.mobile-brand,.saved-short{display:none}
.activity-picker{padding:4px 0 0;background:transparent;border:0;border-radius:0;box-shadow:none}
.activity-picker>p{font-size:.9375rem}
.icon-box{border-radius:50%;background:var(--light);color:var(--strong)}
.activity-icon[data-activity="Outdoor"]{background:#C8DFA9;color:#34542A}
.activity-icon[data-activity="Free play"]{background:#F8D5AE;color:#70451C}
.activity-icon[data-activity="Reading"]{background:#BCDDF5;color:#245C8A}
.activity-icon[data-activity="Sensory"]{background:#DFCCF3;color:#603F86}
.activity-icon[data-activity="Tummy time"]{background:#F5E5A4;color:#695018}
.activity-icon[data-activity="Building"]{background:#C5E4DA;color:#265F56}
.activity-icon[data-activity="Music"]{background:#F1CFDC;color:#7A3151}
.activity-icon[data-activity="Other"]{background:#DFE3E8;color:#475463}
.activity-icon .icon{color:inherit}
.choice{background:#fff;min-height:62px;border-radius:18px;padding:8px 10px;gap:10px}
.choice[aria-pressed=true]{background:var(--light);padding:7px 9px}
.choice .icon-box{width:40px;height:40px;flex:none}
.choice .icon-box .icon{width:23px;height:23px;color:inherit}
.choice .check{width:19px;height:19px;padding:3px;border-radius:50%;background:var(--strong);color:#fff;stroke-width:2.4}
.primary{border-radius:19px;min-height:50px}
.daily-summary{background:var(--light);border-radius:22px;min-height:66px;padding:10px 12px;gap:10px}
.daily-summary>.icon-box{width:40px;height:40px;background:#ffffffc9;box-shadow:0 2px 8px #18394d0a}
.daily-label{color:var(--ink)}
.summary-help{background:#ffffffad;border-radius:50%}
.summary-heading{display:flex;align-items:center;gap:7px}
.summary-heading .icon-box{width:32px;height:32px;flex:none}
.summary-heading .icon{width:19px;height:19px}
.summary-heading>span:last-child{font-size:.875rem;color:var(--ink)}
.summary>strong{margin:9px 0 3px}
.summary>span{font-size:.875rem}
.history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:3px;background:#fff;border:1px solid var(--line);border-radius:18px;gap:3px}
.history-filters .pill{background:transparent;border:1px solid transparent;margin:0;padding:9px 5px;border-radius:14px;min-height:44px}
.history-filters .pill[aria-pressed=true]{background:var(--light);border-color:var(--strong)}
.chart{gap:10px;align-items:stretch;min-height:190px}
.chart-column{justify-content:flex-end}
.chart-bar{width:min(100%,44px);border-radius:11px 11px 8px 8px;background:var(--chart-colour)}
.chart-column:nth-child(7n+1){--chart-colour:#C8DFA9}
.chart-column:nth-child(7n+2){--chart-colour:#F5E5A4}
.chart-column:nth-child(7n+3){--chart-colour:#DFCCF3}
.chart-column:nth-child(7n+4){--chart-colour:#F8D5AE}
.chart-column:nth-child(7n+5){--chart-colour:#C5E4DA}
.chart-column:nth-child(7n+6){--chart-colour:#F1CFDC}
.chart-column:nth-child(7n+7){--chart-colour:#BCDDF5}
.chart-day{font-size:.875rem;color:var(--ink)}
.chart-value{font-size:.8125rem;line-height:1.35;min-height:2.7em;display:flex;align-items:flex-end;justify-content:center}
.moment .icon-box{border-radius:50%}
.timer-title .running-kind{font:600 1.375rem/1.25 ui-serif,Georgia,serif;margin:3px 0}
.timer-title .small-label{display:block;margin-top:4px}
.timer-title .eyebrow{color:var(--strong);letter-spacing:.1em;font-size:.75rem}
.timer-card .timer-head{align-items:flex-start}
.illustrated-timer .timer-head{display:grid;grid-template-columns:minmax(0,1fr) 106px;align-items:start;gap:12px}
.illustrated-timer .timer-title{gap:10px;align-items:flex-start;min-width:0}
.illustrated-timer .timer-title>div{min-width:0;overflow-wrap:anywhere}
.illustrated-timer .timer-title>.icon-box{width:42px;height:42px;flex:none}
.illustrated-timer .timer-face{margin:0;width:106px;height:106px;border:5px solid var(--accent);background:#ffffffb8;gap:3px;flex:none}
.illustrated-timer .timer-face::before{content:none}
.illustrated-timer .timer-number{font-size:1.125rem;white-space:nowrap;letter-spacing:-.02em}
.illustrated-timer .timer-caption{display:none}
.illustrated-timer .timer-state{font-size:.8125rem;margin-top:0}
.timer-artwork{height:240px;max-width:420px;margin:-8px auto 4px;pointer-events:none}
.timer-artwork img{display:block;width:100%;height:100%;object-fit:contain}
.timer-clock{min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.illustrated-timer .timer-clock>.timer-state{width:100%;line-height:1.3;overflow-wrap:anywhere;color:var(--on)}
.activity-icon[data-activity="Tablet"]{background:#F8D5AE;color:#70451C}
.activity-icon[data-activity="Phone"]{background:#DFCCF3;color:#603F86}
.activity-icon[data-activity="Games"]{background:#C5E4DA;color:#265F56}
.activity-icon[data-activity="Nap"]{background:#F5E5A4;color:#695018}
.activity-icon[data-activity="Night sleep"]{background:#DFCCF3;color:#603F86}
.nav-icon{display:grid;place-items:center;flex:none}

@media(max-width:700px){
 .rail{padding:0}.rail>.brand{display:none}
 .workspace{padding-top:14px;padding-bottom:calc(140px + env(safe-area-inset-bottom))}
 .workspace:has(#now-bars:not(:empty)){padding-bottom:calc(240px + env(safe-area-inset-bottom))}
 .workspace-topbar{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-bottom:12px}
 .mobile-brand{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--ink);text-decoration:none;font:600 1rem/1.2 ui-serif,Georgia,serif;letter-spacing:-.025em}
 .mobile-brand img{border-radius:9px;flex:none}
 .preview-notice{margin:0;gap:1px;min-height:44px;font-size:.8125rem;flex:0 1 auto}
 .preview-notice>span{max-width:190px;overflow-wrap:anywhere}
 .saved-full{display:none}.saved-short{display:inline}
 .preview-notice button{min-width:38px;min-height:44px;font-size:1.25rem}
 .child-header{margin-bottom:14px}
 .card{border-radius:22px}
 .activity-picker{padding:2px 0 0}
 .choices{margin:12px 0;gap:8px}
 .choice{min-height:58px;padding:7px 8px;gap:7px;font-size:.9375rem;border-radius:17px}
 .choice[aria-pressed=true]{padding:6px 7px}
 .choice .icon-box{width:34px;height:34px}
 .choice .icon-box .icon{width:21px;height:21px}
 .choice .check{position:absolute;top:5px;right:5px;width:15px;height:15px;padding:2px}
 .choice[aria-pressed=true] .choice-text{padding-right:7px}
 .daily-summary{padding:8px 10px;gap:8px;min-height:62px}
 .daily-summary>.icon-box{width:36px;height:36px}
 .daily-label{font-size:.875rem}.daily-value{font-size:1rem;max-width:35%}
 .summary-help{width:44px;height:44px}
 .summary-grid{gap:8px}
 .summary{padding:10px 8px;text-align:center;min-width:0}
 .summary-heading{justify-content:center;gap:5px;flex-wrap:wrap}
 .summary>strong{font-size:1.125rem;line-height:1.3}
 .summary-heading .icon-box{width:28px;height:28px}
 .summary-heading>span:last-child,.summary>span{font-size:.8125rem}
 .history-chart h2{font-size:1.125rem}
 .chart{gap:7px;min-height:178px;padding-top:16px}
 .chart-day{font-size:.8125rem}.chart-value{font-size:.75rem}
 .timer-artwork{height:220px;margin:0 auto 4px}
 .illustrated-timer .timer-head{grid-template-columns:minmax(0,1fr) 96px;gap:8px}
 .illustrated-timer .timer-face{width:96px;height:96px}
 .illustrated-timer .timer-title>.icon-box{width:34px;height:34px}
 .illustrated-timer .timer-title{gap:7px}
 .timer-title .running-kind{font-size:1.125rem}
 .timer-title .small-label{font-size:.8125rem}
 .illustrated-timer .timer-title .eyebrow{font-size:.6875rem;letter-spacing:.05em}
 .illustrated-timer .timer-number{font-size:1.0625rem}
 #navigation{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));padding:7px 4px 10px;background:#fff;border-radius:28px;box-shadow:0 -3px 22px #18394d0d;gap:0}
 .nav-item{position:relative;min-height:66px;gap:2px;padding:0 1px 5px;font-size:.875rem;line-height:1.2;border-radius:0;justify-content:flex-start}
 .nav-item .nav-icon{width:40px;height:40px;border-radius:50%}
 .nav-item[aria-current=page]{background:transparent;box-shadow:none}
 .nav-item[aria-current=page] .nav-icon{background:var(--main)}
 .nav-item[aria-current=page]::after{content:"";position:absolute;width:4px;height:4px;bottom:-3px;left:calc(50% - 2px);border-radius:50%;background:var(--strong)}
 .nav-item .icon{width:23px;height:23px}
 #now-bars{bottom:calc(113px + env(safe-area-inset-bottom))}
 .now-bar{background:#fff;border-radius:17px;box-shadow:0 4px 14px #18394d08}
 #toast{bottom:calc(123px + env(safe-area-inset-bottom))}
}
@media(max-width:370px){
 .mobile-brand{font-size:.9375rem}.mobile-brand img{width:28px;height:28px}
 .preview-notice{font-size:.75rem}.preview-notice button{min-width:32px}
 .choice{font-size:.875rem;gap:6px}.choice .icon-box{width:30px;height:30px}
 .illustrated-timer .timer-title{flex-wrap:wrap}
 .illustrated-timer .timer-head{grid-template-columns:minmax(0,1fr) 94px}
 .illustrated-timer .timer-face{width:94px;height:94px}
 .nav-item{font-size:.8125rem}
 .summary-heading{flex-direction:column}
}

/* Sound preview has a visible play affordance and feedback inside the modal. */
.preview-sound{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--light);font-weight:600}
#preview-status{min-height:1.5em;line-height:1.45}
