

.reward-price{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:.5rem 0}.reward-price>span:last-child{font-size:1rem;color:#495d54}.reward-target{display:grid;gap:.45rem;margin:.6rem 0 1rem}.reward-target progress{width:100%;height:.65rem;accent-color:#377858}.reward-target small{font-size:.95rem;color:#384f43}.legacy-cash-records{margin-bottom:1.5rem}.legacy-cash-records summary{font-weight:700;font-size:1.1rem;cursor:pointer}.legacy-cash-records>p{margin:1rem 0}.legacy-cash-item{padding:1.2rem 0;border-top:1px solid #dbe5dd}.legacy-cash-item p{margin:.6rem 0}.legacy-cash-item .button-row{flex-wrap:wrap}.legacy-cash-item .check-field{display:flex;align-items:flex-start;gap:.65rem;font-size:1rem}.legacy-cash-item .check-field input{width:1.25rem;height:1.25rem;flex-shrink:0}

/* Daily routines: large touch targets and simple picture-led steps. */
.routine-planner{max-width:1100px;margin:auto}.routine-child{max-width:350px;margin-bottom:20px}.routine-intro,.routine-heading{display:flex;align-items:center;gap:15px}.routine-intro{margin:18px 0 22px}.routine-intro h2{font-size:25px}.routine-intro p,.routine-heading p{color:#657369;margin:6px 0 0}.routine-period-icon{display:grid;place-items:center;flex-shrink:0;background:#fff0cb;color:#82631e;width:52px;height:52px;border-radius:18px}.routine-tabs{display:flex;gap:6px;padding:5px;background:#eaf0e9;border-radius:15px;margin-bottom:24px}.routine-tabs button{flex:1;padding:13px 8px;border:0;background:transparent;color:#536454;font-weight:650;border-radius:11px;font-size:15px;min-height:48px}.routine-tabs button.active{background:white;color:#244f3c;box-shadow:0 2px 8px #2030200b}.routine-today{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.routine-checklist{padding:22px!important;min-width:0}.routine-checklist.night .routine-period-icon{background:#e5ebfa;color:#4d5d8e}.routine-checklist h2{font-size:22px!important;overflow-wrap:anywhere}.routine-checklist ol,.routine-edit-steps{list-style:none;padding:0;margin:20px 0 0}.routine-checklist li+li{margin-top:9px}.routine-step{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e3e8e0;background:#fafbf8;border-radius:15px;padding:13px 12px;min-height:83px;color:#263f30}.routine-step.done{background:#eaf4e7;border-color:#c9dfc5}.routine-step:focus-visible,.routine-tabs button:focus-visible{outline:3px solid #538169;outline-offset:2px}.routine-step-icon{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;color:#56715a}.routine-step-icon svg{width:29px;height:29px}.routine-step-label{flex:1;min-width:0}.routine-step-label small{display:block;font-size:10px;letter-spacing:1px;color:#70806d;margin-bottom:4px}.routine-step-label strong{font-size:17px;line-height:1.4;display:block;overflow-wrap:anywhere}.routine-check{border:1.5px solid #a4b49f;flex-shrink:0;border-radius:7px;width:27px;height:27px;display:grid;place-items:center}.done .routine-check{background:#3f7654;border-color:#3f7654;color:white}.routine-finished{color:#38734c;font-weight:650;margin:17px 0 0}.routine-empty{text-align:center;padding:34px 18px;border:1px dashed #ccd8c8;border-radius:18px;color:#63765f;margin:20px 0}.routine-actions{margin:22px 0}.routine-plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.routine-plan{min-width:0}.routine-plan h3{overflow-wrap:anywhere}.routine-plan p{font-size:14px;line-height:1.6}.routine-plan.paused{background:#f4f5f2}.routine-planner>.panel,.routine-planner .section-heading{margin-top:20px}.routine-editor{max-width:760px;margin:20px auto}.routine-toggle{display:flex;gap:10px;align-items:center;font-size:16px}.routine-toggle input{width:20px;height:20px}.routine-template{background:#f3f6ee;padding:18px;border-radius:14px}.routine-template p{font-size:14px;margin:8px 0 14px;color:#65735f}.routine-edit-steps li{padding:14px;border:1px solid #e0e6dc;border-radius:15px;margin:12px 0}.routine-edit-line{display:flex;gap:12px;align-items:center}.routine-edit-line .field{flex:1;min-width:0}.routine-step-tools{display:flex;align-items:center;gap:4px;margin-top:9px;flex-wrap:wrap}.routine-step-tools label{display:flex;gap:8px;align-items:center;flex:1;font-size:13px}.routine-step-tools select{padding:7px;max-width:115px;border:1px solid #d6dfd2;background:white;border-radius:8px;font-size:14px}.routine-step-tools .icon-button{min-height:44px;min-width:44px}.routine-calendar-editor{margin-top:22px}.routine-calendar-editor fieldset{border:0;padding:0}.routine-calendar-editor legend{font-weight:600;margin-bottom:12px}.routine-weekdays{display:flex;flex-wrap:wrap;gap:8px}.routine-weekdays label{display:flex;align-items:center;gap:5px;min-height:44px;border:1px solid #d5dfcf;border-radius:9px;padding:8px}.routine-weekdays input{height:18px;width:18px}.routine-holiday{padding:16px;background:#f4f6f1;border-radius:14px}.routine-holiday .form-columns{margin:12px 0}.routine-print>p{line-height:1.6;color:#62705c}.routine-print .form-columns{margin:22px 0}.routine-week{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.routine-week>div{background:#f5f7f2;padding:15px;border-radius:12px;overflow-wrap:anywhere}.routine-week>div>span{display:block;color:#63725f;font-size:12px;margin:4px 0 12px}.routine-week p{display:flex;align-items:flex-start;gap:6px;font-size:14px;line-height:1.5;margin:7px 0}.routine-week svg{flex-shrink:0;margin-top:3px}.routine-home-link{width:100%;display:flex;align-items:center;gap:14px;padding:20px 22px;border:1px solid #d9e4cf;background:#f5f8ef;color:#355a3b;border-radius:19px;text-align:left;margin-bottom:23px}.routine-home-link>span:first-of-type{flex:1}.routine-home-link strong{display:block;font-size:18px}.routine-home-link small{display:block;margin-top:6px;color:#637359;font-size:13px}.routine-home-link>svg{flex-shrink:0}
@media(max-width:800px){.routine-today,.routine-plan-list{grid-template-columns:1fr}.routine-checklist{padding:18px!important}.routine-intro h2{font-size:22px}.routine-intro p{font-size:15px;line-height:1.5}.routine-tabs button{font-size:14px}.routine-editor .section-heading,.routine-planner .section-heading{flex-wrap:wrap;gap:12px}.routine-step-label strong{font-size:18px}.routine-week{grid-template-columns:1fr}.routine-home-link{padding:17px}.routine-home-link strong{font-size:17px}.routine-print .button-row>*{width:100%;justify-content:center}}
:root{--ink:#383749;--muted:#626474;--green:#247aaf;--deep:#1d628e;--line:#e9e5e4;--bg:#fffaf5;--gold:#e7b851;--mint:#e8f2e8;font-family:ui-rounded,"SF Pro Rounded","Avenir Next",Avenir,"Segoe UI",sans-serif;font-size:16px;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button,a{ -webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.45;cursor:not-allowed}
button,a,input,select,textarea,summary{outline-offset:4px}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6a977c}
input:focus,select:focus,textarea:focus{outline:2px solid #b0c9b7}
button{border:0;background:none;color:inherit}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:650;letter-spacing:-.035em}
h1{font-size:1.9375rem;line-height:1.25}
h2{font-size:1.1875rem}
h3{font-size:1.0rem}
p{line-height:1.65}
svg{flex-shrink:0}
input,select,textarea{border:1px solid #dce3d9;border-radius:9px;background:white;padding:11px 12px;color:var(--ink);min-width:0;width:100%;font-size:0.875rem}
textarea{resize:vertical;min-height:90px}
select{cursor:pointer}
input[type=range]{padding:0;accent-color:var(--green);height:22px}
input[type=checkbox]{width:auto}
.app-shell{display:flex;min-height:100vh}
.sidebar{position:fixed;top:0;bottom:0;width:236px;background:#fffefb;border-right:1px solid var(--line);padding:29px 18px 18px;display:flex;flex-direction:column;z-index:20}
.brand{display:flex;align-items:center;font-size:1.5625rem;font-weight:760;letter-spacing:-1.2px;padding:0 10px}
.brand-symbol{background:var(--green);color:white;width:34px;height:36px;border-radius:12px 12px 12px 3px;display:grid;place-items:center;margin-right:9px}
.brand-symbol svg{width:23px}
.brand-dot{color:#626474}
.workspace{margin:32px 4px 29px;padding:13px 10px;border:1px solid var(--line);border-radius:11px;display:flex;gap:10px;align-items:center;background:#fbfcf8}
.workspace strong{font-size:0.875rem;display:block}
.workspace small{font-size:0.875rem;color:var(--muted)}
.workspace>svg{margin-left:auto;color:var(--muted)}
.family-icon{display:grid;place-items:center;width:31px;height:32px;background:#eaf0e3;border-radius:8px;color:#68825d}
.nav-label{font-size:0.875rem;letter-spacing:1.3px;color:#626474;font-weight:700;padding:0 13px;margin-bottom:12px}
.nav-item{width:100%;display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:8px;font-size:0.875rem;font-weight:500;margin:3px 0;color:#747c70;text-align:left}
.nav-item:hover{background:#f5f7f0}
.nav-item.active{background:#e9f1e6;color:#326344;font-weight:650}
.nav-item.active svg{stroke-width:2.3}
.nav-badge{font-size:0.875rem;border-radius:5px;padding:2px 6px;background:#d4e3cc;margin-left:auto;color:#386344}
.new-label{font-size:0.875rem;color:#626474;background:#edf1e3;border-radius:4px;padding:3px;margin-left:auto;letter-spacing:.6px}
.sidebar-bottom{margin-top:auto;padding-top:32px}
.side-note{display:flex;gap:10px;align-items:center;padding:18px 10px;color:#626474}
.side-note>span{font-size:2.1875rem;color:#626474}
.side-note p{font-size:0.875rem;line-height:1.7}
.side-note strong{font-weight:500;color:#62785c}
.parent-profile{margin:14px 3px 0;border-top:1px solid var(--line);padding:20px 4px 2px;display:flex;align-items:center;gap:8px}
.parent-avatar,.header-avatar{background:#e9dcc8;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;color:#896d4d;font-size:0.875rem;font-weight:700}
.parent-profile strong{font-size:0.875rem;display:block}
.parent-profile small{font-size:0.875rem;color:var(--muted)}
.parent-profile>svg{color:#626474;margin-left:auto}
.main-wrap{margin-left:236px;min-width:0;flex:1}
.topbar{height:74px;border-bottom:1px solid var(--line);padding:0 39px;display:flex;align-items:center;justify-content:space-between;background:#fffefb}
.breadcrumb{font-size:0.875rem;color:#626474}
.breadcrumb span{margin:0 13px;color:#626474}
.breadcrumb strong{color:#67725e;font-weight:500}
.topbar-actions,.topbar-left{display:flex;align-items:center;gap:21px}
.mode-switch{display:flex;gap:7px;align-items:center;border:1px solid var(--line);padding:8px 12px;border-radius:7px;font-size:0.875rem;color:#626474}
.mode-switch.is-child{background:#fff2ce}
.icon-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:#626474}
.icon-button:hover{background:#edf2e6}
.notification{position:relative}
.notification i{width:5px;height:5px;position:absolute;right:5px;top:3px;background:#d5ac5a;border:1px solid white;border-radius:50%}
.mobile-menu{display:none}
.content{max-width:1380px;margin:auto;padding:24px 39px 0}
.demo-banner{font-size:0.875rem;display:flex;align-items:center;justify-content:space-between;color:#626474;margin-bottom:23px;gap:10px}
.demo-banner span,.demo-banner button{display:flex;align-items:center;gap:6px}
.demo-banner button{font-weight:600;color:#6b795f}
.eyebrow{display:block;font-size:0.875rem;font-weight:700;letter-spacing:1.6px;color:#626474;margin-bottom:9px}
.page-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:27px}
.page-heading p{font-size:0.875rem;color:var(--muted);margin-top:9px}
.child-filter{width:140px;font-size:0.875rem;background:white;padding:10px 12px}
.hero{background:#e6f0e5;border:1px solid #deeadb;min-height:254px;border-radius:15px;position:relative;overflow:hidden;padding:28px 32px;display:flex;align-items:center;margin-bottom:22px}
.hero>div{position:relative;z-index:1}
.hero-label{display:flex;gap:7px;align-items:center;font-size:0.875rem;letter-spacing:1.4px;font-weight:700;color:#626474;margin-bottom:15px}
.hero h2{font-size:2.0rem;line-height:1.22;letter-spacing:-.045em;font-weight:650}
.hero p{font-size:0.875rem;color:#626474;margin:12px 0 18px;line-height:1.6}
.growing-coins{position:absolute;right:14px;bottom:11px;width:37%;max-width:345px;height:auto}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:0.875rem;font-weight:600;padding:11px 16px;border:1px solid transparent;border-radius:8px;white-space:nowrap;min-height:38px;transition:background .15s,transform .15s}
.button:active{transform:translateY(1px)}
.primary{background:var(--green);color:#fff}
.primary:hover:not(:disabled){background:#285e42}
.secondary{background:white;border-color:#e0e6dc;color:#5e7458}
.secondary:hover:not(:disabled){background:#f2f5ec}
.tiny{font-size:0.875rem;min-height:29px;padding:7px 10px;border-radius:6px}
.approve{background:#e4efdf;color:#42743f}
.full{width:100%}
.text-button{display:inline-flex;align-items:center;gap:7px;color:#6a825c;font-size:0.875rem;font-weight:600;padding:5px 0}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}
.stat{background:white;border:1px solid var(--line);border-radius:11px;display:grid;grid-template-columns:44px 1fr;column-gap:13px;padding:19px 20px 16px;align-items:center}
.stat-symbol{width:42px;height:42px;border-radius:12px;display:grid;place-items:center}
.stat-symbol svg{width:20px;stroke-width:1.6}
.gold{background:#fff5dc;color:#626474}
.green{background:#ecf2e7;color:#626474}
.blue{background:#edf2f8;color:#626474}
.stat div>span{display:block;font-size:0.875rem;color:#626474;margin-bottom:4px}
.stat strong{display:block;font-size:1.5625rem;font-weight:600;letter-spacing:-.6px}
.stat strong small{font-size:0.875rem;color:#626474;letter-spacing:0;font-weight:400;margin-left:7px}
.stat-foot{grid-column:1/-1;border-top:1px solid #f1f3ed;padding-top:11px;margin-top:15px;font-size:0.875rem;color:#626474}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}
.section-heading h2{font-size:1.0625rem}
.section-heading h2>span{font-size:0.875rem;font-weight:500;background:#e9eedf;color:#626474;padding:3px 7px;border-radius:5px;margin-left:8px;vertical-align:middle}
.children-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:28px}
.child-card{text-align:left;border:1px solid var(--line);background:white;border-radius:12px;padding:20px;display:grid;grid-template-columns:61px 1fr auto;gap:12px;align-items:center;transition:border-color .2s}
.child-card:hover{border-color:#9fb697}
.avatar{font-size:2.125rem;width:60px;height:61px;border-radius:19px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.avatar.fox{background:#f7eadd}
.avatar.bear{background:#e8eddd}
.avatar.rabbit{background:#f0e7f3}
.avatar.cat{background:#e7eef7}
.avatar.small{font-size:1.375rem;width:41px;height:42px;border-radius:13px}
.child-card h3{font-size:1.0625rem;margin-bottom:7px}
.child-card h3>span{font-size:0.875rem;color:#626474;font-weight:400;margin-left:10px;letter-spacing:0}
.coin-value{display:inline-flex;align-items:center;gap:5px;font-weight:650;font-size:0.875rem;color:#626474;white-space:nowrap}
.coin-icon{display:inline-grid;place-items:center;background:#f7d981;color:#626474;border:2px solid #f0ca6b;border-radius:50%;width:16px;height:16px;font-size:0.875rem;line-height:1}
.child-card-caption{font-size:0.875rem;color:#626474;margin-left:7px}
.child-card>svg{align-self:start;color:#626474;width:15px}
.dot{width:5px;height:5px;display:inline-block;border-radius:50%;flex-shrink:0}
.dot.green{background:#8aa978}
.dot.gold{background:#d8ba64}
.dot.fox{background:#e7b78e}
.dot.bear{background:#96ae77}
.dot.rabbit{background:#b88dc5}
.dot.cat{background:#86aad5}
.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(230px,1fr);gap:20px}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 21px 17px;gap:10px}
.panel-heading h2{font-size:1.0rem}
.panel-heading p{font-size:0.875rem;color:#626474;margin-top:5px}
.task-row{padding:16px 20px;display:flex;gap:11px;align-items:center;border-top:1px solid #eff1eb}
.task-icon{width:34px;height:35px;display:grid;place-items:center;border-radius:9px;background:#f0f3ea;color:#626474;flex-shrink:0}
.task-icon.rule{background:#f7eee3;color:#626474}
.task-info{flex:1;min-width:0}
.task-info strong{font-size:0.875rem;display:block;line-height:1.4;font-weight:600}
.task-info>span{display:flex;gap:6px;align-items:center;font-size:0.875rem;color:#626474;margin-top:6px;flex-wrap:wrap}
.task-info b{font-weight:400;color:#626474}
.task-row>.coin-value{font-size:0.875rem;margin-right:8px}
.task-row .coin-icon{width:13px;height:13px;font-size:0.875rem}
.task-actions{display:flex;align-items:center;gap:3px}
.task-done .task-info strong{color:#626474}
.status{font-size:0.875rem;border-radius:5px;padding:5px 8px;white-space:nowrap}
.status.complete{background:#edf4e7;color:#626474}
.status.pending{background:#fff5da;color:#626474}
.bug-card{padding:23px;background:#fbf0d3;border:1px solid #f1e3bf;border-radius:12px;position:relative;display:flex;flex-direction:column;align-items:start}
.bug-sticker{font-size:2.4375rem;line-height:1;margin-bottom:20px;transform:rotate(-10deg)}
.bug-card .eyebrow{color:#626474;font-size:0.875rem;letter-spacing:1.2px}
.bug-card h2{font-size:1.1875rem;color:#796531;margin-bottom:10px}
.bug-card p{font-size:0.875rem;color:#626474;line-height:1.8;margin-bottom:20px;max-width:240px}
.bug-card p strong{font-weight:600;color:#8c753c}
.dark-gold{background:#a08743;color:white;margin-top:auto;width:100%}
.dark-gold:hover:not(:disabled){background:#8c7134}
.community-callout{margin:26px 0 0;border:1px solid #e4e9df;background:#f0f4eb;border-radius:10px;padding:19px 22px;display:flex;align-items:center;gap:15px}
.callout-icon{width:39px;height:39px;display:grid;place-items:center;background:#e0ead7;border-radius:11px;color:#626474}
.community-callout h3{font-size:0.875rem}
.community-callout p{font-size:0.875rem;color:#626474;margin-top:4px}
.community-callout .text-button{margin-left:auto}
.footer{display:flex;justify-content:space-between;padding:25px 0 20px;margin-top:15px;color:#626474;font-size:0.875rem}
.footer>span{display:flex;gap:5px;align-items:center}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}
.pill{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;background:#f2f4ec;border:1px solid #e9eddf;border-radius:6px;font-size:0.875rem;color:#626474}
.bug-wide{margin-top:25px;background:#fbf1d7;border:1px solid #f1e3bf;border-radius:12px;display:flex;align-items:center;gap:20px;text-align:left;width:100%;padding:23px}
.bug-wide>span{font-size:2.125rem}
.bug-wide strong{font-size:0.875rem;color:#8e7539}
.bug-wide p{font-size:0.875rem;color:#626474}
.bug-wide>svg{margin-left:auto;color:#626474}
.request-row,.activity-row{display:flex;align-items:center;gap:15px;padding:19px 23px;border-top:1px solid #edf0e7}
.request-row>div:nth-child(2){flex:1}
.request-row strong{font-size:0.875rem}
.request-row p{font-size:0.875rem;color:var(--muted)}
.button-row{display:flex;gap:10px}
.muted{font-size:0.875rem;color:var(--muted)}
.padded{padding:25px}
.padded>h2{margin-bottom:24px}
.field{display:flex;flex-direction:column;gap:8px;margin:0;font-size:0.875rem}
.field>span{font-size:0.875rem;font-weight:600;color:#6e7e61}.topic-tabs button{font-size:0.875rem;padding:9px 12px;border:1px solid #e3e9db;border-radius:7px;background:white;color:#626474}.topic-tabs .selected{background:#e3edde;color:#507346;border-color:#d6e4ce}
.field-help{font-size:0.875rem;line-height:1.7;color:#626474;margin:8px 0}
.chart-legend{display:flex;justify-content:center;gap:25px;font-size:0.875rem;color:#626474;margin:10px 0 25px}
.chart-legend span{display:flex;align-items:center;gap:7px}
.studio-grid{display:grid;grid-template-columns:350px minmax(0,1fr);gap:28px}
.studio-controls{display:flex;flex-direction:column;gap:17px;align-self:start}
.studio-controls>h2{margin-bottom:2px}
.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.studio-divider{height:1px;background:var(--line);margin:2px 0}
.studio-controls .field-help{margin:-9px 0 0}
.studio-controls details summary{font-size:0.875rem;cursor:pointer;color:#626474}
.studio-controls details .field{margin-top:12px}
.studio-preview{background:#eef0e8;border:1px solid #e0e5d7;border-radius:12px;padding:22px}
.preview-label{display:flex;justify-content:space-between;font-size:0.875rem;letter-spacing:1.2px;color:#626474;margin-bottom:20px}
.preview-label span:last-child{letter-spacing:0;font-size:0.875rem}
.worksheet{background:white;padding:33px 26px;border:1px solid #e3e5db;box-shadow:0 3px 14px #5266420a}
.sheet-brand{display:flex;align-items:center;gap:5px;font-size:0.875rem;color:#6d8160;font-weight:700}
.sheet-brand>span{font-size:0.875rem;letter-spacing:1px;margin-left:auto;color:#626474}
.worksheet h2{font-size:1.375rem;margin:25px 0 19px}
.sheet-meta{display:flex;justify-content:space-between;font-size:0.875rem;color:#626474;padding-bottom:16px;border-bottom:1px solid #e9ecdf}
.sheet-sentence{font-size:0.875rem;margin:19px 0;color:#626474}
.writing-line{position:relative;border-bottom:1px solid #cfd5c7;margin-top:13px;min-height:56px;display:flex;gap:10px;align-items:center;background:linear-gradient(transparent 49%,#e9ecdf 49%,#e9ecdf 51%,transparent 51%)}
.writing-line small{font-size:0.875rem;color:#626474;align-self:start;margin-top:10px}
.writing-line>span{font-family:"Century Gothic","Avenir Next",sans-serif;font-size:1.25rem;line-height:1.6;letter-spacing:.7px}
.trace-text{color:#626474}
.sheet-footer{font-size:0.875rem;color:#626474;display:flex;justify-content:space-between;margin-top:28px}
.preview-caption{text-align:center;font-size:0.875rem;color:#626474;margin-top:16px}
.print-document{display:none}
.activity-row strong{font-size:0.875rem}
.activity-row p{font-size:0.875rem;color:#626474;margin-top:5px}
.activity-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center}
.activity-amount{margin-left:auto;display:flex;gap:17px;align-items:center;white-space:nowrap}
.activity-amount>strong{color:#626474}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.form-stack{display:flex;flex-direction:column;gap:18px}
.form-stack>p{font-size:0.875rem;color:#626474}
.settings-child{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}
.settings-child strong{font-size:0.875rem}
.settings-child p{font-size:0.875rem;color:var(--muted)}
.settings-child .coin-value{margin-left:auto}
.notice{display:flex;gap:9px;border:1px solid #e4e8d9;background:#f0f3e9;color:#626474;padding:15px;font-size:0.875rem;border-radius:9px;margin:20px 0}
.setup-status{font-size:0.875rem;margin-top:22px}
.setup-status>strong{margin-left:7px}
.setup-status p{font-size:0.875rem;color:#626474;margin-top:8px}
.empty{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:48px 25px;color:#626474}
.empty>svg{width:30px;height:30px;color:#626474;margin-bottom:5px}
.empty p{font-size:0.875rem;max-width:330px}
.empty.compact{padding:35px}
.community-hero{display:flex;justify-content:space-between;gap:30px;background:#e8eee4;border:1px solid #dfe7d7;border-radius:15px;padding:31px;margin-bottom:24px}
.community-hero h2{font-size:1.8125rem;line-height:1.25}
.community-hero p{font-size:0.875rem;color:#626474;margin:12px 0 22px}
.parent-cluster{display:grid;grid-template-columns:repeat(3,55px);position:relative;align-content:center;margin-right:25px;transform:rotate(-5deg)}
.parent-cluster>span{font-size:2.1875rem;width:66px;height:73px;display:grid;place-items:center;border-radius:22px;background:#f8e9bd;box-shadow:0 4px 6px #59754308}
.parent-cluster>span:nth-child(2){background:#bdd0b0;margin-top:-24px;z-index:1}
.parent-cluster>span:nth-child(3){background:#edcdbb}
.parent-cluster small{grid-column:1/-1;text-align:center;font-size:0.875rem;color:#626474;margin-top:22px;transform:rotate(5deg);line-height:1.5}
.community-grid{display:grid;grid-template-columns:1fr 270px;gap:25px}
.topic-tabs{display:flex;gap:7px;margin-bottom:20px;flex-wrap:wrap}
.topic-tabs button{font-size:0.875rem;padding:8px 10px}
.post-composer{margin-bottom:20px;display:flex;flex-direction:column;gap:16px}
.post-composer>h2{margin-bottom:0}
.post-composer .button{align-self:start}
.post-card{padding:24px;margin-bottom:18px}
.post-card header{display:flex;align-items:center;gap:12px}
.post-avatar{width:38px;height:38px;border-radius:50%;background:#efe6d3;color:#626474;display:grid;place-items:center}
.post-card header strong{font-size:0.875rem;display:block}
.post-card header small{font-size:0.875rem;color:#626474}
.post-card header .pill{margin-left:auto;font-size:0.875rem}
.post-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:0.875rem;line-height:1.8;margin:20px 0;color:#6b7a5d}
.post-actions{border-top:1px solid #e9ede2;display:flex;gap:24px;padding-top:15px}
.post-actions button{display:flex;align-items:center;gap:7px;font-size:0.875rem;color:#626474}
.post-actions .liked{color:#458357}
.post-actions .delete-post{margin-left:auto;color:#626474}
.comment{margin-top:15px;border-left:2px solid #dfe8d5;padding:9px 15px;background:#f9faf5}
.comment strong{font-size:0.875rem}
.comment p{font-size:0.875rem;color:#626474;white-space:pre-wrap;overflow-wrap:anywhere}
.reply-form{display:flex;flex-direction:column;gap:10px;margin-top:15px}
.reply-form .button{align-self:flex-end}
.invite-card{background:#f8efd9;border:1px solid #eee1bf;border-radius:12px;padding:25px}
.invite-symbol{width:41px;height:41px;border-radius:13px;display:grid;place-items:center;background:#eee0ba;color:#626474;margin-bottom:17px}
.invite-card h3{font-size:1.1875rem;line-height:1.4;color:#89743d}
.invite-card>p{font-size:0.875rem;color:#626474;margin:12px 0 19px}
.invite-card .button{font-size:0.875rem}
.invite-card>.field-help{font-size:0.875rem;margin:16px 0 0;color:#626474}
.invite-result{border-top:1px solid #e8dcb9;margin-top:17px;padding-top:15px}
.invite-result label{font-size:0.875rem;color:#626474;display:block;margin-bottom:7px}
.invite-result input{font-size:0.875rem;background:#fffdf6}
.invite-result .text-button{margin-top:7px}
.community-guidelines{padding:26px 10px}
.community-guidelines h3{font-size:0.875rem;margin-bottom:17px}
.community-guidelines p{display:flex;gap:9px;align-items:center;font-size:0.875rem;color:#626474;margin:12px 0}
.community-guidelines small{display:block;border-top:1px solid var(--line);padding-top:16px;margin-top:17px;font-size:0.875rem;color:#626474;line-height:1.7}
.community-empty{min-height:280px}
.community-empty h3{font-size:1.0rem}
.modal{border:1px solid #e4e8db;border-radius:17px;padding:0;width:min(470px,calc(100vw - 30px));max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #16332030}
.modal::backdrop{background:#172d2260;backdrop-filter:blur(3px)}
.modal-inner{padding:31px;position:relative}
.modal-inner>h2{font-size:1.4375rem;margin:10px 0 25px}
.modal-close{position:absolute;right:15px;top:13px}
.modal-inner .form-stack .button{margin-top:4px}
.toast{position:fixed;bottom:26px;left:calc(50% + 70px);transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:14px 22px;background:#294d36;color:white;border-radius:10px;font-size:0.875rem;box-shadow:0 8px 24px #23472b20;z-index:100;max-width:90vw}
.toast>span{display:grid;place-items:center;background:#48724d;border-radius:50%;padding:3px}
.error-banner{display:flex;justify-content:space-between;align-items:center;padding:13px 17px;background:#fbeee7;border:1px solid #efd9cb;color:#a26444;font-size:0.875rem;border-radius:8px;margin-bottom:18px}
.error-text{font-size:0.875rem;color:#a75f3e!important}
.welcome{padding:35px;min-height:100vh;background:#f9faf5}
.welcome-card{position:relative;max-width:850px;background:#e6f0e4;border-radius:20px;padding:60px;margin:70px auto}
.welcome-card h1{font-size:3.0rem;line-height:1.1;margin:20px 0}
.welcome-card p{font-size:0.875rem;max-width:350px;color:#626474;margin-bottom:25px}
.welcome-card .growing-coins{width:330px}
.welcome-card .button{position:relative;z-index:1}
.welcome .brand{justify-content:center}
.welcome-card .loading-label{font-size:0.875rem}
.reward-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}
.reward-card{padding:23px;background:white;border:1px solid var(--line);border-radius:12px}
.reward-emoji{font-size:2.6875rem;background:#f7efdb;display:grid;place-items:center;height:105px;border-radius:9px;margin-bottom:19px}
.reward-card h3{font-size:0.9375rem;margin-bottom:9px}
.reward-card p{font-size:0.875rem;color:var(--muted);min-height:34px}
.reward-card .coin-value{margin:18px 0}
.reward-card .button{width:100%}
.reward-card .field-help{min-height:0}
.streak-pill{font-size:0.875rem;color:#626474;background:#fff5d9;border-radius:5px;padding:4px 7px;display:inline-flex;gap:5px}
.progress-bar{height:7px;background:#eaf0e2;border-radius:8px;overflow:hidden;margin-top:10px}
.progress-bar>span{display:block;height:100%;background:#8aaa73;border-radius:8px}
.task-delete{width:22px;color:#626474}
.reward-request-info{flex:1}
.reward-request-info p{font-size:0.875rem;color:var(--muted)}

@media(min-width:1500px){.content{padding:30px 50px 0}
.hero{min-height:280px}
.hero h2{font-size:2.3125rem}
.hero p{font-size:0.875rem}
.growing-coins{right:50px;max-width:380px}
.task-info strong{font-size:0.875rem}
.task-info>span{font-size:0.875rem}
.child-card-caption{font-size:0.875rem}
}

@media(max-width:1200px){.sidebar{width:210px;padding-left:12px;padding-right:12px}
.main-wrap{margin-left:210px}
.topbar{padding:0 25px}
.content{padding:22px 25px 0}
.hero{padding:25px}
.hero h2{font-size:1.8125rem}
.growing-coins{width:34%;right:4px}
.stat{padding:16px 13px;gap:9px}
.stat strong{font-size:1.5rem}
.dashboard-bottom{grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr)}
.task-row{padding:15px 13px;gap:8px}
.task-row>.coin-value{margin-right:0}
.task-info>span{gap:4px}
.child-card{padding:17px 14px}
.child-card-caption{display:none}
.studio-grid{grid-template-columns:310px minmax(0,1fr);gap:19px}
.studio-preview{padding:16px}
.worksheet{padding:25px 18px}
.community-grid{grid-template-columns:1fr 230px;gap:20px}
.community-hero h2{font-size:1.5625rem}
.parent-cluster{margin-right:0;grid-template-columns:repeat(3,43px)}
.parent-cluster>span{width:53px;height:61px;font-size:1.875rem}
}

@media(max-width:1000px){.sidebar{width:190px}
.brand{font-size:1.375rem}
.brand-symbol{width:30px;height:32px}
.nav-item{font-size:0.875rem;padding:12px 9px;gap:9px}
.new-label{font-size:0.875rem}
.main-wrap{margin-left:190px}
.hero h2{font-size:1.6875rem}
.hero p{max-width:300px}
.hero .growing-coins{width:30%}
.stats-grid{gap:10px}
.stat{grid-template-columns:35px 1fr}
.stat-symbol{width:33px;height:34px}
.stat div>span{font-size:0.875rem}
.stat strong{font-size:1.375rem}
.stat-foot{font-size:0.875rem}
.dashboard-bottom{grid-template-columns:1fr}
.bug-card{padding:23px 25px}
.bug-sticker{position:absolute;right:25px;top:25px}
.bug-card p{max-width:400px}
.dark-gold{width:auto}
.hero-label{font-size:0.875rem}
.children-grid{gap:12px}
.child-card{grid-template-columns:45px 1fr 10px;gap:9px}
.avatar{width:45px;height:48px;font-size:1.8125rem;border-radius:15px}
.child-card h3{font-size:0.9375rem}
.community-callout{align-items:start;flex-wrap:wrap}
.community-callout .text-button{margin-left:54px;margin-top:0}
.studio-grid{grid-template-columns:1fr}
.studio-preview{padding:25px;max-width:650px}
.studio-controls{max-width:none}
.worksheet{padding:36px}
.community-grid{grid-template-columns:1fr}
.community-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.community-hero{padding:25px}
.community-hero p{max-width:290px}
.settings-grid{grid-template-columns:1fr}
.reward-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){.sidebar{transform:translateX(-100%);width:235px;box-shadow:20px 0 60px #1c352b20;transition:transform .2s}
.sidebar.mobile-open{transform:translateX(0)}
.main-wrap{margin-left:0}
.topbar{height:65px;padding:0 20px}
.mobile-menu{display:inline-flex}
.topbar-left{gap:9px}
.topbar-actions{gap:13px}
.breadcrumb{font-size:0.875rem}
.breadcrumb>span{margin:0 8px}
.mode-switch{padding:7px;font-size:0.875rem}
.mode-switch svg{width:13px}
.header-avatar{width:29px;height:29px}
.content{padding:18px 20px 0}
.page-heading{margin-bottom:21px}
.page-heading h1{font-size:1.6875rem}
.page-heading p{font-size:0.875rem}
.page-heading .child-filter{width:110px;font-size:0.875rem}
.eyebrow{font-size:0.875rem;letter-spacing:1px}
.hero{min-height:250px;padding:25px}
.hero h2{font-size:1.875rem}
.hero .growing-coins{width:37%;right:0;bottom:20px}
.hero p{max-width:270px;font-size:0.875rem}
.desktop-break{display:none}
.hero .button{font-size:0.875rem}
.stats-grid{gap:10px}
.stat{padding:14px 12px;grid-template-columns:1fr}
.stat-symbol{width:31px;height:31px;margin-bottom:11px}
.stat strong{font-size:1.5rem}
.stat-foot{display:none}
.stat strong small{font-size:0.875rem;margin-left:4px}
.stat div>span{font-size:0.875rem}
.children-grid{margin-bottom:23px}
.task-row{padding:16px 17px}
.task-info strong{font-size:0.875rem}
.task-info>span{font-size:0.875rem}
.task-row>.coin-value{font-size:0.875rem;margin-right:6px}
.hero-label{font-size:0.875rem}
.footer>span:last-child{display:none}
.footer{justify-content:center}
.toolbar{align-items:start;flex-wrap:wrap}
.community-hero h2{font-size:1.5625rem}
.parent-cluster{grid-template-columns:repeat(3,36px)}
.parent-cluster>span{width:47px;height:55px;font-size:1.6875rem}
.parent-cluster small{font-size:0.875rem}
.community-grid>aside{grid-template-columns:1fr}
.community-guidelines{padding:10px}
.toast{left:50%;font-size:0.875rem;min-width:250px;bottom:17px}
.welcome{padding:22px}
.welcome-card{margin:45px auto;padding:30px 25px 190px}
.welcome-card h1{font-size:2.375rem}
.welcome-card .growing-coins{width:220px;right:20px}
.welcome-card p{font-size:0.875rem}
.activity-row{padding:17px 14px;gap:10px}
.activity-row strong{font-size:0.875rem}
.activity-row p{font-size:0.875rem}
.activity-amount{flex-direction:column;gap:5px}
.reward-grid{gap:14px}
}

@media(max-width:450px){.content{padding:15px 15px 0}
.breadcrumb{display:none}
.topbar{padding:0 15px}
.demo-banner{font-size:0.875rem;margin-bottom:20px}
.demo-banner button{font-size:0.875rem}
.page-heading{align-items:start;flex-wrap:wrap}
.page-heading h1{font-size:1.625rem}
.page-heading .child-filter{width:120px;padding:7px 10px}
.hero{padding:22px 20px;min-height:295px}
.hero h2{font-size:1.8125rem;max-width:250px}
.hero p{max-width:210px;font-size:0.875rem}
.hero .growing-coins{width:43%;right:-16px;bottom:11px;opacity:.85}
.hero .button{position:relative;z-index:1}
.hero-label{font-size:0.875rem;letter-spacing:1px}
.stats-grid{gap:7px}
.stat{padding:13px 10px}
.stat strong{font-size:1.4375rem}
.stat div>span{font-size:0.875rem}
.stat strong small{display:block;margin:4px 0 0;font-size:0.875rem}
.children-grid{grid-template-columns:1fr}
.child-card{grid-template-columns:55px 1fr 20px;padding:18px}
.child-card .avatar{width:55px;height:56px;font-size:2.0625rem}
.child-card-caption{display:inline}
.task-row{padding:15px 12px;flex-wrap:wrap}
.task-icon{width:30px;height:31px}
.task-info{min-width:150px}
.task-info strong{font-size:0.875rem}
.task-row>.coin-value{font-size:0.875rem;margin-right:0}
.task-actions{margin-left:41px}
.task-row>.button,.task-row>.status{margin-left:41px}
.panel-heading{padding:18px 16px}
.panel-heading h2{font-size:0.875rem}
.community-callout{padding:18px;gap:12px}
.community-callout h3{font-size:0.875rem}
.community-callout p{font-size:0.875rem}
.request-row{flex-wrap:wrap}
.request-row .button-row{margin-left:55px}
.studio-controls{padding:20px}
.studio-preview{padding:16px}
.worksheet{padding:24px 18px}
.worksheet h2{font-size:1.375rem}
.writing-line>span{font-size:1.0rem}
.sheet-meta{font-size:0.875rem}
.sheet-brand>span{font-size:0.875rem}
.community-hero{padding:23px}
.community-hero h2{font-size:1.5rem}
.parent-cluster{display:none}
.reward-grid{grid-template-columns:1fr}
.form-columns{gap:10px}
.post-card{padding:18px}
.post-card header .pill{font-size:0.875rem;padding:5px}
.post-body{font-size:0.875rem}
.modal-inner{padding:26px 22px}
}

@media print{@page{size:letter;margin:12mm}
body{background:white!important;font-family:Arial,sans-serif!important}
.sidebar,.topbar,.page-heading,.demo-banner,.footer,.studio-grid,.notice,.toast,.error-banner,.modal{display:none!important}
.app-shell,.main-wrap,.content{display:block!important;margin:0!important;padding:0!important;max-width:none!important;min-height:0!important}
.print-document{display:block!important}
.worksheet{break-after:page;page-break-after:always;padding:5mm 3mm!important;margin:0!important;border:0!important;box-shadow:none!important;color:#222;min-height:240mm;position:relative}
.worksheet:last-child{break-after:auto;page-break-after:auto}
.worksheet h2{font-size:24px;margin:16px 0}
.sheet-brand{font-size:12px;color:#333}
.sheet-brand>span{font-size:8px;color:#666}
.sheet-meta{font-size:11px;color:#444}
.sheet-sentence{font-size:16px;color:#333;margin:18px 0 10px}
.writing-line{min-height:60px;margin-top:7px;break-inside:avoid;border-color:#b5b5b5}
.writing-line>span{font-size:23px;line-height:1.45;letter-spacing:.1px}
.writing-line small{font-size:9px;color:#666}
.trace-text{color:#b3b3b3!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.sheet-footer{font-size:9px;color:#777;margin-top:20px}
.reflection{margin-top:20px;font-size:12px;line-height:1.5}
.reflection p{margin:8px 0}
.answer-line{height:24px;border-bottom:1px solid #bbb}
.preview-caption{display:none}
.sheet-footer>span{margin-left:auto}
}

@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}
}


.device-banner{font-size:0.875rem;display:flex;align-items:center;gap:5px;color:#626474;margin-bottom:14px}
.mobile-tabs{display:none}
.native-community{min-height:380px}
.native-community h2{font-size:1.5rem}
.native-community .field-help{max-width:350px}

@media(max-width:760px){.content{padding-bottom:90px}
.mobile-tabs{position:fixed;z-index:25;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fffefcf2;backdrop-filter:blur(16px);border-top:1px solid #e4e9dc;padding:9px 6px max(12px,env(safe-area-inset-bottom));}
.mobile-tabs button{display:flex;flex-direction:column;align-items:center;gap:5px;color:#626474;font-size:0.875rem;min-width:55px;min-height:46px;padding:3px 8px}
.mobile-tabs button.active{color:#347454}
.mobile-tabs .active svg{stroke-width:2.6}
.sidebar{padding-bottom:90px}
.topbar{position:sticky;top:0;z-index:15;background:#fffefcf5;backdrop-filter:blur(10px)}
.toast{bottom:95px}
.mode-switch{font-size:0.875rem;min-height:36px}
.button{min-height:43px;font-size:0.875rem}
.button.tiny{min-height:34px;font-size:0.875rem}
.field input,.field select,.field textarea{font-size:1.0rem}
.hero .button{font-size:0.875rem}
.nav-item{font-size:0.875rem}
.nav-item.active{font-weight:700}
.workspace strong{font-size:0.875rem}
.task-info strong{font-size:0.875rem}
.task-info>span{font-size:0.875rem}
.footer{padding-bottom:10px}
.topbar .header-avatar{display:none}
.mobile-menu{width:36px;height:36px}
.page-heading h1{font-size:1.625rem}
}

@media print{.mobile-tabs,.device-banner{display:none!important}
}


@media(max-width:760px){.sidebar{overflow-y:auto;overscroll-behavior:contain;padding-bottom:120px}
.sidebar-bottom{padding-top:10px}
.side-note{display:none}
}


.sync-panel{margin-bottom:24px}
.sync-panel>p{color:var(--muted);line-height:1.65}
.sync-panel>.field,.sync-panel>.form-stack{max-width:560px;margin-top:20px}
.sync-panel h3{margin:24px 0 12px}
.sync-panel .settings-child>div{min-width:0;flex:1;overflow-wrap:anywhere}
.sync-panel .field-help{max-width:640px}
.invite-result{margin:18px 0;padding:18px;background:#f3f7f2;border-radius:14px}
.import-family{margin:24px 0;border-top:1px solid #e5e9e3;padding-top:20px}
.import-family summary{cursor:pointer;font-weight:650}
.import-family p{line-height:1.6}
.ai-review{background:#f1f7ef;border:1px solid #cfdfcd;border-radius:16px;padding:18px;margin:16px 0}
.ai-review h3{line-height:1.5;margin-top:12px}
.ai-review p{font-size:0.875rem;line-height:1.6}
.ai-review .text-button{margin-top:12px}
.writing-library{margin-top:28px}
.writing-library .settings-child>div{flex:1;min-width:0}
.writing-library .settings-child p{line-height:1.5}
.device-banner{flex-wrap:wrap;gap:8px}
.device-banner .text-button{margin-left:auto;font-size:0.875rem}
.studio-controls>.button.secondary.full{margin-top:10px}

@media(max-width:700px){.sync-panel{padding:20px}
.sync-panel .settings-child{align-items:flex-start;gap:12px}
.writing-library .settings-child{gap:12px;align-items:flex-start}
.writing-library .settings-child strong{font-size:0.875rem}
}

@media print{.writing-library,.sync-panel,.ai-review{display:none!important}
}

/* Spacious, playful phone screens inspired by the family dashboard reference. */
@media screen {
  body {font-size:1rem;line-height:1.5}
  h1 {font-size:2rem} h2 {font-size:1.375rem} h3 {font-size:1.125rem}
  button {touch-action:manipulation}
  input,select,textarea {font-size:1rem;min-height:48px;border-radius:14px;border-color:#cccdd4}
  select {appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23626474' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
  .button,.button.tiny {font-size:1rem;min-height:48px;border-radius:14px;padding:10px 16px;white-space:normal;line-height:1.3}
  .primary:hover:not(:disabled) {background:var(--deep)}
  .secondary {color:#4e5c6b;border-color:#d7dde5}
  .text-button {font-size:.9375rem;min-height:44px;color:#236c98}
  .icon-button {width:44px;height:44px;min-width:44px;border-radius:14px;color:#42657e}
  .field,.field>span {font-size:.9375rem;color:#515362}
  .field-help,.muted {font-size:.875rem;color:var(--muted)}
  .page-heading p,.form-stack>p,.panel-heading p,.bug-card p,.bug-wide p,.community-hero p,.community-callout p,.setup-status p,.invite-card p,.empty p {font-size:1rem;color:var(--muted)}
  .panel,.reward-card,.studio-preview,.invite-card {border-radius:24px}
  .panel-heading h2,.section-heading h2 {font-size:1.375rem}
  .padded {padding:24px}
  .content {max-width:1160px;padding:22px 32px 0}
  .sidebar {width:248px;padding:24px 14px;background:#fffdfb}
  .main-wrap {margin-left:248px}
  .nav-item {font-size:.9375rem;min-height:48px;color:#656174;border-radius:14px}
  .nav-item.active {background:#e2f2fe;color:#246e9f}
  .workspace {margin:24px 4px}
  .workspace strong {font-size:1rem}
  .workspace small,.nav-label,.parent-profile small {font-size:.75rem}
  .nav-label {letter-spacing:1px;color:#6b6776}
  .new-label {display:none}
  .scene-header {position:relative;display:block;height:auto;border:0;overflow:hidden;padding:18px 32px 48px;border-radius:0 0 36px 36px;background:#b6e4fd}
  .family-landscape {position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
  .header-tools {position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px}
  .topbar-left,.topbar-actions {gap:12px}
  .breadcrumb,.breadcrumb strong {font-size:.875rem;color:#294f70}
  .breadcrumb span {color:#486f87}
  .mode-switch {font-size:.875rem;min-height:44px;border-radius:14px;border-color:#ffffff90;background:#ffffff80;color:#254e6b}
  .header-greeting {position:relative;margin:26px 0 6px;color:#254f70}
  .header-greeting>span {font-weight:600;font-size:1rem}
  .header-greeting h1 {font-size:2rem;font-weight:800;margin:3px 0 6px;letter-spacing:-.04em}
  .header-greeting p {font-size:1rem;max-width:440px;line-height:1.5}
  .compact-header {padding-bottom:32px}
  .compact-header .header-greeting {margin-top:12px}
  .compact-header .header-greeting>span {display:none}
  .compact-header .header-greeting h1 {font-size:1.75rem}
  .mobile-brand {display:none}
  .home-heading>div {display:none}
  .home-heading {display:none}
  .home-heading .child-filter {width:auto;max-width:100%;min-height:44px}
  .page-heading .eyebrow,.page-heading h1 {display:none}
  .page-heading {margin-bottom:20px;align-items:flex-start}
  .page-heading p {margin:0;max-width:520px}
  .child-filter {font-size:1rem;min-width:140px}
  .device-banner {font-size:.8125rem;color:#5b6976;gap:8px;margin-bottom:8px}
  .device-banner>svg {width:16px;height:16px}
  .device-banner .text-button {font-size:.8125rem;min-height:36px}
  .demo-banner {font-size:.875rem;color:#675c46;background:#fff1cf;border:1px solid #f7e2ad;border-radius:14px;padding:8px 12px;margin-bottom:12px;flex-wrap:wrap}
  .demo-banner button {color:#72540d;min-height:36px}
  .family-heading {margin:12px 2px 14px;gap:10px}
  .family-heading h2 {font-size:1.125rem;text-transform:uppercase;letter-spacing:.09em;color:#716479;font-weight:800}
  .family-heading h2>span {display:none}
  .children-grid {gap:20px;margin-bottom:22px}
  .child-card {display:block;padding:22px;border-radius:26px;border:1px solid #eee7e2;box-shadow:0 5px 16px #614b4010;background:#fff;--child-color:#e6a724}
  .child-bear {--child-color:#ee8e70}.child-rabbit {--child-color:#a58bd6}.child-cat {--child-color:#71b7d7}
  .child-summary {display:flex;justify-content:space-between;align-items:center;gap:12px}
  .child-identity {display:flex;align-items:center;gap:15px;text-align:left;padding:0;min-width:0}
  .child-identity>span:last-child {min-width:0}
  .child-identity strong {display:block;font-size:1.375rem;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
  .avatar {width:68px;height:68px;border-radius:50%;font-size:2.5rem;border:3px solid #fff;box-shadow:0 0 0 2px #f1ece5}
  .child-identity .coin-value {margin-top:5px;font-size:1.5rem;color:#936811}
  .coin-value {font-size:1rem;color:#8b620f;gap:6px}
  .coin-icon {width:23px;height:23px;font-size:.9375rem;background:#ffe5a0;border-color:#efc86b;color:#9c710e}
  .child-task-count {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;background:#f0f7fd;color:#416581;border-radius:16px;padding:10px;min-width:66px;flex:0 0 66px;font-size:.8125rem}
  .child-task-count strong {font-size:1.125rem}.child-task-count>span {width:100%;text-align:center}
  .child-progress-label {display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:18px 0 8px;font-size:.8125rem;color:#686476}
  .child-progress {appearance:none;display:block;width:100%;height:9px;border:0;border-radius:99px;overflow:hidden;background:#f0edef}
  .child-progress::-webkit-progress-bar {background:#f0edef;border-radius:99px}
  .child-progress::-webkit-progress-value {background:var(--child-color);border-radius:99px}
  .child-progress::-moz-progress-bar {background:var(--child-color);border-radius:99px}
  .child-coin-actions {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
  .add-coins {background:color-mix(in srgb,var(--child-color) 55%,white);color:#493d29}
  .deduct-coins {background:#f0eef2;color:#665f70}.deduct-coins>span {font-size:1.5rem;line-height:1}
  .home-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}
  .home-shortcuts button {display:flex;flex-direction:column;align-items:center;gap:5px;padding:18px 10px;background:#fff0dd;border:1px solid #f4e2c9;border-radius:22px;text-align:center}
  .home-shortcuts button:nth-child(2) {background:#f1eafa;border-color:#e7dcf4}.home-shortcuts button:nth-child(3) {background:#e9f4e6;border-color:#dcebd8}
  .shortcut-icon {font-size:2rem}.home-shortcuts strong {font-size:1rem}.home-shortcuts button>span:last-child {font-size:.8125rem;color:#686476}
  .dashboard-bottom {grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr)}
  .today-panel {min-width:0}.today-panel .panel-heading {padding:8px 2px 16px;align-items:flex-start}
  .task-list {display:grid;gap:14px;padding:16px}
  .today-panel .task-list {padding:0}
  .page-tasks>.panel {background:transparent;border:0;overflow:visible}.page-tasks>.panel .task-list {padding:0}
  .task-row {display:grid;grid-template-columns:48px minmax(0,1fr) auto;column-gap:12px;row-gap:14px;padding:18px;background:#fff;border:1px solid #e9e6ed;border-left:5px solid #89bde8;border-radius:22px;box-shadow:0 4px 12px #59485308}
  .task-row:nth-child(4n+2) {border-left-color:#94c99a}.task-row:nth-child(4n+3) {border-left-color:#eda58e}.task-row:nth-child(4n+4) {border-left-color:#b7a0d7}
  .task-icon,.task-icon.rule {width:48px;height:48px;border-radius:15px;background:#e7f2fd;color:#4a88b9}
  .task-row:nth-child(4n+2) .task-icon {background:#eaf5e9;color:#56825b}.task-row:nth-child(4n+3) .task-icon {background:#fff0e9;color:#b9765e}.task-row:nth-child(4n+4) .task-icon {background:#f1ebfa;color:#8e72ad}
  .task-info {min-width:0}.task-info strong {font-size:1.0625rem;line-height:1.4;overflow-wrap:anywhere;color:#3d3b4b}
  .task-info>span {display:block;font-size:.875rem;line-height:1.5;color:#6a6574;margin-top:4px}
  .task-row>.coin-value {font-size:1rem;margin:0;align-self:start;padding-top:8px}
  .task-row .coin-icon {width:20px;height:20px;font-size:.875rem}
  .task-controls {grid-column:2/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}
  .task-actions {gap:10px;flex-wrap:wrap;margin-left:0}.task-delete {margin-left:auto}
  .status {font-size:.875rem;display:inline-flex;gap:5px;align-items:center;border-radius:10px;padding:8px 10px;white-space:normal}
  .status.complete {color:#416745}.status.pending {color:#80631d}.approve {color:#32623c;background:#e3f1df}
  .bug-card {border-radius:24px;padding:24px;background:#fff1ce;align-self:start}
  .bug-card h2 {font-size:1.5rem}.bug-card p {max-width:none}.bug-card .eyebrow {font-size:.8125rem;color:#7c642d}
  .dark-gold {background:#8b6a23}.bug-sticker {font-size:3rem;margin-bottom:16px}
  .community-callout {border-radius:22px;flex-wrap:wrap;background:#edf3fd;border-color:#dae5f5}
  .community-callout h3 {font-size:1.125rem}
  .toolbar,.button-row {flex-wrap:wrap}.toolbar .pill {font-size:.875rem}.page-tasks .toolbar {gap:10px}.page-tasks .toolbar .pill {padding:8px;font-size:.8125rem}.page-tasks .toolbar .button {font-size:.9375rem;padding:10px 12px}
  .notice {font-size:.9375rem;color:#53644d;align-items:flex-start}
  .settings-child strong,.request-row strong,.activity-row strong {font-size:1rem}
  .settings-child p,.request-row p,.activity-row p {font-size:.875rem;color:var(--muted)}
  .request-row,.activity-row {flex-wrap:wrap}.activity-row>div {min-width:0;overflow-wrap:anywhere}
  .studio-grid {grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:24px}
  .studio-controls details summary {min-height:44px;line-height:1.5;font-size:.9375rem}
  .trace-text {color:#bdc4c9}
  .modal {margin:auto;border-radius:26px;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px)}
  .modal-inner {padding:28px 24px}.modal h2 {font-size:1.625rem;line-height:1.3;padding-right:20px}
  .modal-close {top:12px;right:12px}.modal .eyebrow {font-size:.75rem}
  .footer {font-size:.8125rem;color:#716c7b;gap:12px;flex-wrap:wrap}
  .toast {font-size:1rem;max-width:calc(100% - 32px);white-space:normal}
}
@media screen and (max-width:1100px) {
  .children-grid,.dashboard-bottom,.settings-grid,.studio-grid{grid-template-columns:1fr}
  .content {padding-left:24px;padding-right:24px}
  .bug-card {max-width:none}.topbar-actions {gap:8px}.breadcrumb {display:none}
  .mobile-brand {display:flex;align-items:center;gap:8px;font-size:1.5rem;font-weight:850;color:#254f70;padding:0;min-height:44px}
}
@media screen and (max-width:760px) {
  .main-wrap {margin-left:0}.sidebar {width:280px;z-index:35}
  .scene-header {position:relative;top:auto;z-index:auto;padding:14px 18px 42px;border-radius:0 0 32px 32px;backdrop-filter:none}
  .header-tools {gap:8px}.topbar-left {gap:8px;min-width:0}.topbar-actions {gap:4px}
  .mobile-menu {display:inline-flex;background:#ffffff70;width:44px;height:44px}
  .mobile-brand {font-size:1.5rem;letter-spacing:-.05em;gap:6px}.mobile-brand svg {display:none}
  .mode-switch {font-size:.8125rem;padding:7px 10px;max-width:96px;line-height:1.25;text-align:center}
  .mode-switch svg {display:none}.notification {background:#ffffff70;min-width:40px;width:40px}
  .header-greeting {margin:22px 2px 0}.header-greeting h1 {font-size:1.875rem}.header-greeting p {font-size:.9375rem;max-width:280px}
  .header-greeting>span {font-size:.9375rem}.compact-header {padding-bottom:28px}.compact-header .header-greeting h1 {font-size:1.625rem}
  .content {padding:16px 16px 110px}.device-banner {line-height:1.5}.device-banner .text-button {margin-left:0}
  .demo-banner {gap:4px}.demo-banner span {flex:1 1 170px}
  .home-heading {margin-bottom:0}.home-heading .child-filter {font-size:.875rem;min-height:40px}
  .page-heading {flex-direction:column;gap:12px}.page-heading p {font-size:1rem}
  .page-heading.home-heading {align-items:flex-end}.page-tasks .page-heading>div {display:none}.family-heading {margin-top:8px}
  .children-grid {gap:16px}.child-card {padding:18px}.child-identity {gap:12px}
  .child-identity strong {font-size:1.375rem}.child-identity .coin-value {font-size:1.5rem}
  .home-shortcuts {gap:8px}.home-shortcuts button {padding:14px 6px;border-radius:18px}
  .home-shortcuts strong {font-size:.875rem}.home-shortcuts button>span:last-child {font-size:.8125rem}
  .task-row {padding:16px 12px;grid-template-columns:44px minmax(0,1fr) auto;column-gap:10px}.task-icon,.task-icon.rule {width:44px;height:44px}
  .task-controls {grid-column:1/-1;padding-left:54px}.task-row>.coin-value {gap:3px}.task-row .coin-icon {width:18px;height:18px}
  .task-row .button {font-size:.9375rem}.panel-heading {padding:20px 18px}.panel-heading h2 {font-size:1.25rem}
  .today-panel .panel-heading {gap:12px}.today-panel .text-button {flex-shrink:0}
  .mobile-tabs {padding:8px 4px max(12px,env(safe-area-inset-bottom));background:#ffffffef;border-color:#e6e3e8}
  .mobile-tabs button {font-size:.75rem;min-width:0;flex:1;min-height:48px;gap:4px;padding:3px;color:#696476}
  .mobile-tabs button.active {color:#1f72a8}.mobile-tabs button.active svg {background:#e0f1ff;box-shadow:0 0 0 7px #e0f1ff;border-radius:8px}
  .request-row,.activity-row {padding:18px;gap:10px}.request-row .button-row {width:100%;justify-content:flex-end}
  .form-columns {grid-template-columns:1fr}.padded,.studio-preview {padding:20px}
  .worksheet {padding:24px 16px}.writing-line>span {font-size:1.25rem;overflow-wrap:anywhere}
  .sheet-brand {flex-wrap:wrap}.sheet-brand>span {margin-left:0}.sheet-meta {flex-wrap:wrap;gap:8px}
  .preview-label {flex-wrap:wrap;gap:8px}.preview-label span {font-size:.8125rem;letter-spacing:0}
  .reward-grid{grid-template-columns:1fr}.reward-card h3 {font-size:1.25rem}.reward-card p {font-size:1rem}
  .community-hero {padding:24px}.community-hero h2 {font-size:1.625rem}.topic-tabs {flex-wrap:wrap}
  .topic-tabs button{font-size:.875rem;min-height:44px}
  .settings-child {flex-wrap:wrap}.settings-child .button {margin-left:auto}
  .error-banner {font-size:1rem}.toast {bottom:105px}
}
@media screen and (max-width:360px) {
  .mobile-brand {font-size:1.25rem}.scene-header {padding-left:12px;padding-right:12px}.topbar-actions .mode-switch {max-width:76px;padding:6px;font-size:.75rem}
  .content {padding-left:12px;padding-right:12px}.child-card {padding:16px}.avatar {width:58px;height:58px;font-size:2rem}
  .child-identity {gap:10px}.child-task-count {min-width:56px;flex-basis:56px}.child-coin-actions {gap:8px}
  .child-coin-actions .button {padding:10px 8px;font-size:.9375rem}.header-greeting h1 {font-size:1.75rem}
  .task-row {grid-template-columns:38px minmax(0,1fr) auto;gap:10px 8px}.task-icon,.task-icon.rule {width:38px;height:42px}.task-controls {padding-left:46px}
}


/* Child accounts, device pairing and family progress. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.child-device-panel{margin-bottom:24px}.child-device-panel>p{font-size:1rem;margin:12px 0 18px}.child-device-panel h3{margin-top:24px}.pair-controls{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}.pair-controls .field{flex:1;min-width:180px}.pair-code{max-width:380px;margin:24px auto;padding:20px;background:#f1f7ff;border:1px solid #dbe8f7;border-radius:22px;display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center}.pair-code img{width:min(260px,100%);height:auto;border-radius:12px}.pair-code .field{width:100%;text-align:left}.pair-code p{font-size:.9375rem}
.progress-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.progress-stats>div{background:white;border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:7px}.progress-stats strong{font-size:1.875rem;color:#295e83}.progress-stats span{font-size:.875rem;color:var(--muted)}.progress-bars{display:flex;height:180px;gap:4px;align-items:flex-end;margin-top:24px;border-bottom:1px solid #d8e2eb;padding:0 4px}.progress-bar-cell{height:100%;flex:1;display:flex;align-items:flex-end;min-width:0}.progress-bar-cell>span{display:block;width:100%;background:#65a8cf;border-radius:6px 6px 0 0;min-height:3px}.progress-bar-cell>span[data-empty=true]{background:#e3eaf1}.chart-axis{display:flex;justify-content:space-between;font-size:.8125rem;color:var(--muted);padding-top:8px}.chart-data{margin-top:18px}.chart-data summary{min-height:44px;cursor:pointer;font-size:.9375rem}.chart-data ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;font-size:.875rem;padding-left:20px}.progress-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.task-ring{width:168px;height:168px;border-radius:50%;display:grid;place-items:center;margin:24px auto}.task-ring>span{background:white;width:124px;height:124px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.875rem}.task-ring strong{font-size:1.75rem}.ring-labels{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;font-size:.875rem}.streak-row{display:flex;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);gap:15px;font-size:1rem}
.weekday-picker{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.weekday-picker legend{font-size:.9375rem;font-weight:600;margin-bottom:12px}.weekday-picker label{display:flex;align-items:center;gap:6px;border:1px solid #d7dde5;background:white;border-radius:12px;padding:8px 10px;min-height:44px;font-size:.875rem}.weekday-picker input{min-height:0;width:20px;height:20px;accent-color:#247aaf}.task-ideas{margin-bottom:24px}.suggestion-review{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.suggestion-review .field{max-width:160px}.task-controls>.icon-button{flex-shrink:0}.task-controls>.button{margin-right:auto}
.child-entry{max-width:520px;margin:0 auto;padding:36px 24px 60px;display:flex;flex-direction:column;gap:22px;min-height:100dvh;background:linear-gradient(#e6f6ff 0,#fffaf5 300px)}.child-entry-art{font-size:4rem}.child-entry h1{font-size:2rem;line-height:1.2}.child-entry p{font-size:1rem}.child-entry .field-help{font-size:.875rem}.child-space{min-height:100vh;max-width:860px;margin:auto}.child-sky{padding:22px 24px 30px;background:linear-gradient(155deg,#9bd9fb,#d5f2ff);border-radius:0 0 32px 32px;color:#244c6b}.child-space-brand{font-size:1.375rem;font-weight:800}.child-welcome{display:flex;align-items:center;gap:20px;margin-top:22px}.child-welcome p{font-size:1.25rem}.child-welcome h1{font-size:2.25rem;margin:4px 0}.child-welcome h1 span{font-size:1rem;font-weight:500}.child-welcome>div>span{font-size:.875rem}.child-content{padding:16px 20px 120px}.child-sync{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:#586b7b;margin-bottom:16px}.child-content .task-list{padding:0;margin-bottom:22px}.child-content .section-heading{flex-wrap:wrap;gap:10px}.child-content h2{font-size:1.375rem}.child-notice{display:flex;align-items:center;gap:10px;padding:12px;background:#eaf4e7;border-radius:16px;margin-bottom:18px;font-size:.9375rem}.child-notice .text-button{margin-left:auto;flex-shrink:0}.suggest-task{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}.child-tabs{position:fixed;bottom:0;left:0;right:0;z-index:25;display:flex;justify-content:space-around;background:#fffffff0;backdrop-filter:blur(16px);border-top:1px solid #e6e3e8;padding:10px 8px max(14px,env(safe-area-inset-bottom));}.child-tabs button{display:flex;flex-direction:column;gap:6px;align-items:center;font-size:.8125rem;min-height:48px;min-width:60px;color:#696476}.child-tabs button.active{color:#1f72a8;font-weight:700}.child-content>.reward-grid{margin-top:20px}.child-content .reward-card p{font-size:1rem}.child-content .activity-amount{white-space:normal;font-size:.9375rem}.child-content .error-banner{overflow-wrap:anywhere}
@media(max-width:760px){.progress-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-bottom{grid-template-columns:1fr}.progress-panel>.section-heading{flex-wrap:wrap;gap:12px}.progress-panel .section-heading .field{min-width:160px}.child-content{padding-left:14px;padding-right:14px}.child-content .task-controls{padding-left:0}.child-content .task-info{min-width:0}.child-entry{padding:28px 20px 50px}.child-device-panel .settings-child{align-items:flex-start;flex-wrap:wrap}.child-device-panel .settings-child>div{min-width:0;overflow-wrap:anywhere}.child-device-panel .settings-child .button{margin-left:0}.pair-code{padding:16px}.task-controls{flex-wrap:wrap}.task-controls .task-delete{margin-left:0}}
@media print{.child-device-panel,.progress-panel,.child-tabs,.child-space{display:none!important}}
/* Chore ideas, calendar reports, and earned milestones. */
.notification-panel{margin:24px 0}.notification-actions{display:flex;gap:12px;flex-wrap:wrap}.notification-panel h3:not(:first-child){margin-top:24px}.notification-panel p{line-height:1.6}.template-library{border:1px solid #c9dce9;border-radius:18px;background:#f3f9fd;padding:16px}.template-library summary{cursor:pointer;font-size:1rem;font-weight:750}.template-heading{margin:12px 0}.template-toggle{display:flex;align-items:center;gap:8px;font-size:.9rem}.template-toggle input{width:20px;height:20px}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:280px;overflow:auto;padding:3px}.template-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;border:1px solid #c7d6e2;border-radius:13px;background:white;color:#203d57;padding:13px;cursor:pointer;min-height:112px}.template-card>span{font-size:1.6rem}.template-card strong{font-size:1rem;line-height:1.35}.template-card small{font-size:.875rem;color:#48627c}.template-card.chosen{border:2px solid #287652;background:#eaf8ef;padding:12px}.template-note{background:#e5f3e9;border-radius:12px;padding:12px;line-height:1.5;font-size:.9375rem}.calendar-report{margin-top:26px}.calendar-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:20px 0}.calendar-toolbar .field{margin:0;min-width:0}.calendar-toolbar input{min-width:0;width:100%}.calendar-summary{display:flex;gap:12px;flex-wrap:wrap;padding:14px 0}.calendar-summary span{background:#edf5fa;padding:8px 12px;border-radius:12px;font-size:.9375rem}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.calendar-weekday{text-align:center;font-weight:700;font-size:.875rem;padding:8px 0}.calendar-day{display:flex;min-height:76px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #dce6ee;border-radius:12px;background:#fff;color:#26415d;cursor:pointer;font-size:1rem}.calendar-day.today{border:2px solid #589775}.calendar-day.selected{background:#e6f4ec;border:2px solid #236544}.calendar-day strong{font-size:1.05rem}.calendar-count{color:#246945;font-size:.875rem;font-weight:700}.calendar-mark{color:#356eaa}.calendar-detail{margin-top:20px;border-top:1px solid #dce6ee;padding-top:18px}.calendar-event{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #edf1f5}.calendar-event p{font-size:.875rem;margin:6px 0 0;color:#48627c}.calendar-event>span{flex-shrink:0;font-size:.9375rem;font-weight:650}.achievement-section{margin-top:30px}.achievement-child{margin-top:25px}.achievement-child h3{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.achievement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.achievement-card{padding:20px 14px;border-radius:20px;border:1px solid #d6e2ed;background:#fff;text-align:center}.achievement-card.earned{border-color:#9bc7ad;background:linear-gradient(160deg,#eef9ef,#fff8e6)}.achievement-icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#eef3f8;font-size:2.25rem}.earned .achievement-icon{background:#fff0ba}.achievement-card h4{font-size:1rem;margin:12px 0 8px}.achievement-card p{font-size:.9375rem;line-height:1.5;color:#48627c}.achievement-card>span:last-child,.achievement-date{font-size:.875rem}.achievement-date{color:#286743;display:block;line-height:1.6}.achievement-card progress{width:100%;height:9px;accent-color:#3d8e65}.achievement-celebration{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:16px;background:#fff8dc;border:2px solid #d4b351;border-radius:22px;padding:20px;box-shadow:0 12px 40px #203b5826;width:min(560px,calc(100% - 28px));animation:win-in .4s ease-out}.achievement-celebration p{margin:6px 0 0;font-size:1rem;line-height:1.45}.achievement-celebration button{align-self:flex-start;background:none;border:0;min-width:44px;min-height:44px;font-size:1.6rem;cursor:pointer}.celebration-stars{font-size:1.7rem;animation:win-sparkle 1.1s ease-in-out 3}.child-main .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@keyframes win-in{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}@keyframes win-sparkle{50%{scale:1.15;rotate:6deg}}@media(max-width:700px){.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-day{min-height:60px;border-radius:9px}.calendar-grid{gap:4px}.calendar-toolbar{gap:6px}.calendar-toolbar .button{padding:10px 8px;font-size:.875rem;min-width:0}.calendar-toolbar input{padding:10px 5px;font-size:.9375rem}.calendar-summary{gap:6px}.calendar-summary span{padding:8px;font-size:.875rem}.calendar-event{flex-direction:column;gap:6px}.calendar-report>.section-heading{align-items:flex-start;flex-direction:column;gap:12px}.achievement-card{padding:16px 10px}.notification-actions .button{width:100%}.achievement-celebration{gap:8px;padding:14px}.celebration-stars{font-size:1.3rem}}@media(prefers-reduced-motion:reduce){.achievement-celebration,.celebration-stars{animation:none}}

/* Reward controls stay distinct and easy to tap on a phone. */
.reward-card>.text-button{display:block;min-height:44px;margin:.3rem 0 0;text-align:left;font-size:1rem}.reward-card>.text-button+.text-button{margin-top:0}.toolbar:has(+.reward-grid){flex-wrap:wrap;gap:.8rem}.toolbar:has(+.reward-grid) .pill{white-space:normal;font-size:1rem;line-height:1.45}

/* Everyday family use: readable review cards and guided setup. */
.approval-inbox{margin-bottom:24px;scroll-margin-top:16px;overflow:hidden;border:1px solid #b6d7e6}
.approval-heading{padding:22px 24px;display:flex;gap:16px;align-items:center;justify-content:space-between;background:#eaf6fc;color:#244f62}
.approval-heading h2{font-size:1.3rem;margin:5px 0 0;line-height:1.35}.approval-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;border-radius:50%;background:#fff;color:#244f62;font-size:1rem;margin-left:5px}
.approval-item{display:flex;gap:15px;padding:22px 24px;border-top:1px solid #e1e9eb}.approval-symbol{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#e7f4e8;color:#32634c}.approval-symbol.treat{background:#fff0d4;color:#865916}.approval-detail{min-width:0;flex:1}.approval-detail small{font-size:.875rem;color:#52676d}.approval-detail h3{margin:5px 0;font-size:1.08rem;line-height:1.4}.approval-detail p,.inbox-empty,.setup-step p,.setup-location p{font-size:1rem;line-height:1.55;color:#52676d;margin:5px 0 15px}.approval-actions{display:flex;flex-wrap:wrap;gap:10px}.approval-actions .button{min-height:46px}.inbox-empty{padding:20px 24px;margin:0}.inbox-followup{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e1e9eb}.setup-entry{margin-bottom:20px}.family-setup{max-width:820px;margin:auto}.family-setup h2{margin-top:8px}.setup-location{display:flex;gap:14px;background:#edf5fc;border-radius:16px;padding:18px;margin:22px 0}.setup-location svg{flex-shrink:0}.setup-location p{margin:6px 0 0}.setup-step{display:flex;gap:16px;padding:24px 0;border-bottom:1px solid #e2e9e6}.setup-step h3{margin:0 0 7px}.setup-step-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2f4;color:#52676d}.setup-step-icon.done{background:#e4f4e9;color:#32634c}.setup-connections{margin-top:24px;padding-top:12px}.setup-confirm{display:flex;gap:12px;align-items:flex-start;font-size:1rem;line-height:1.5}.setup-confirm input{width:22px;height:22px;min-width:22px;margin-top:2px}#child-device-settings,#family-sharing-settings{scroll-margin-top:18px}.access-confirm{padding:16px;background:#fff6e6;border-radius:12px;margin:12px 0}.access-confirm p{margin-top:0}
@media(max-width:600px){.approval-heading,.approval-item,.inbox-empty,.inbox-followup{padding:18px 16px}.approval-heading h2{font-size:1.18rem}.approval-item{gap:10px}.approval-symbol{width:34px;height:34px;flex-basis:34px}.approval-actions .button{flex:1;font-size:.94rem;padding:10px 12px}.inbox-followup{flex-direction:column;align-items:flex-start}.setup-location{padding:15px}.setup-step{gap:12px}.family-setup.padded{padding:20px}.approval-heading .eyebrow{font-size:.875rem}}

/* Keep child reward decisions visible before browsing more treats. */
.child-reward-requests{margin-bottom:26px;border-color:#b8d8ed;background:#f4faff;scroll-margin-top:16px}
.child-reward-requests h2{margin:0 0 14px}
.child-request-list{list-style:none;margin:0;padding:0}
.child-reward-request{display:grid;gap:8px;padding:16px 0;border-top:1px solid #d5e5ee;overflow-wrap:anywhere}
.child-reward-request strong,.child-reward-request p,.child-requests-empty{font-size:1rem;line-height:1.5;margin:0}
.child-request-status{width:fit-content;max-width:100%;padding:7px 11px;border-radius:12px;font-size:1rem;line-height:1.4;font-weight:700;color:#244c6b;background:#e0eef9}
.child-request-status.pending{color:#6b4c12;background:#fff0c8}
.child-request-status.approved,.child-request-status.fulfilled{color:#285b37;background:#e1f1e4}
.child-earlier-requests summary{display:flex;align-items:center;min-height:48px;padding:10px 0;font-size:1rem;font-weight:600;color:#285c7b;cursor:pointer}

/* Parent community controls */
.community-privacy{display:flex;gap:12px;align-items:flex-start;padding:18px 20px;background:#edf6f5;border:1px solid #cfe3df;border-radius:18px;margin:20px 0;color:#294b48}
.community-privacy svg{flex:none;margin-top:3px}.community-privacy p{margin:0;font-size:16px;line-height:1.6}
.community-toolbar,.community-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.community-toolbar{margin-bottom:20px}.community-toolbar .button{min-height:46px}
.community-controls button{min-height:44px;font-size:14px}.community-confirm,.report-form{margin-bottom:20px;border:2px solid #b8d6ce}.community-confirm p,.report-form p{font-size:16px;line-height:1.6}.report-form .field{margin:16px 0}
.community-content-status{padding:10px 12px;border-radius:10px;background:#f3eee3;color:#604d2b;font-size:14px}.report-card{margin:16px 0}.report-card blockquote{border-left:3px solid #91b5ad;margin:16px 0;padding:12px 16px;background:#f4f8f7;white-space:pre-wrap;overflow-wrap:anywhere}.report-card .section-heading{align-items:flex-start;gap:10px}.report-card .section-heading h3{margin:0}.reviewed-reports summary{min-height:44px;cursor:pointer;font-weight:700}.blocked-parents{margin:20px 0}.blocked-parent{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #e2e9e5}.post-card,.comment,.report-card{overflow-wrap:anywhere}.community-grid>div,.community-grid>aside{min-width:0}.post-card>header{flex-wrap:wrap}.post-card .post-actions{padding-top:8px}.comment .community-controls{margin-top:8px}.community-guidelines small{font-size:14px;line-height:1.6}.post-body,.comment p{white-space:pre-wrap;font-size:1rem;line-height:1.65;color:#3f5148}.post-card header strong,.comment strong{font-size:1rem}.community-controls button{font-size:1rem}.community-hero p,.invite-card p,.community-guidelines p{font-size:1rem;line-height:1.65}
@media(max-width:600px){.community-privacy{padding:16px}.community-toolbar{gap:8px}.community-toolbar .button{flex:1 1 auto}.community-grid .post-card{padding:18px}.community-confirm,.report-form{scroll-margin-top:16px}.report-card .section-heading{flex-wrap:wrap}.report-card blockquote{padding:10px}.community-controls{gap:8px}}

/* Family recovery */
.family-backups{margin:20px 0;font-size:1rem;line-height:1.55;overflow-wrap:anywhere}
.family-backups h3{margin-top:24px}.family-backups p{margin:12px 0}.backup-file{margin-top:20px}
.family-backups input[type=file]{max-width:100%;padding:12px;font-size:1rem}
.recovery-preview{scroll-margin-top:16px;background:#f1f7f3;border:1px solid #b6cfc0;border-radius:18px;padding:20px;margin:20px 0}
.recovery-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.recovery-comparison>div{background:white;padding:16px;border-radius:12px;min-width:0}
.recovery-comparison h4{margin:0 0 8px}.recovery-comparison ul{padding-left:20px}
.recovery-copy{padding:16px 0;border-top:1px solid var(--line,#dce6df)}
.family-backups .approval-actions{flex-wrap:wrap}.family-backups button{min-height:44px;white-space:normal}
@media(max-width:600px){.recovery-comparison{grid-template-columns:1fr}.recovery-preview{padding:14px}.family-backups .approval-actions>button{flex:1 1 180px}}

.child-profile-edit{min-width:52px;min-height:44px;flex-shrink:0}
.settings-child:has(.child-profile-edit){flex-wrap:wrap;gap:12px}

.writing-reflection-toggle{display:flex;align-items:center;gap:12px;min-height:48px;margin:14px 0;font-size:1rem;cursor:pointer}.writing-reflection-toggle input{width:22px;height:22px;flex:0 0 22px;accent-color:var(--green)}

/* Everyday phone use: one clear choice, readable lists and generous touch space. */
@media screen{
 :root{font-size:106.25%;--ink:#293b50;--muted:#526579;--bg:#f6f9fc;--line:#dfe7ef}
 body{background:var(--bg);color:var(--ink)}
 h1,h2,h3{letter-spacing:-.025em;line-height:1.25}
 .content{max-width:1240px;margin:auto}
 .scene-header{border-radius:0 0 28px 28px;padding-bottom:30px}
 .header-greeting{margin-top:16px}.header-greeting h1{font-size:1.85rem}.header-greeting p{font-size:1rem}
 .header-greeting>span{font-size:1rem}.compact-header{padding-bottom:22px}.compact-header .header-greeting h1{font-size:1.7rem}
 .device-banner,.device-banner .text-button,.demo-banner{font-size:.875rem}.device-banner .text-button,.demo-banner button{min-height:44px}
 .nav-item{font-size:1rem;min-height:48px}.workspace small,.nav-label,.parent-profile small{font-size:.875rem}
 .child-progress-label,.child-task-count,.home-shortcuts button>span:last-child,.routine-home-link small{font-size:.875rem}
 .child-card{border-radius:22px;box-shadow:0 4px 0 #dfe8ef55}.child-identity strong{font-size:1.45rem}.child-progress-label{line-height:1.5}
 .family-heading h2{font-size:1.15rem;letter-spacing:0;text-transform:none;color:var(--ink)}
 .child-task-count{min-width:72px;flex-basis:72px}.child-task-count strong{font-size:1.25rem}
 .child-coin-actions .button{font-size:.94rem}.child-coin-actions{gap:10px}
 .home-shortcuts strong{font-size:1rem}.home-shortcuts button{background:#fff;border-color:var(--line)}
 .home-shortcuts button:nth-child(2){background:#fff6dc;border-color:#f0e0ad}.home-shortcuts button:nth-child(3){background:#edf7ef;border-color:#d5e7d7}
 .home-shortcuts button>span:last-child{line-height:1.4}.dashboard-bottom{display:block}.task-info strong{font-size:1.1rem}.task-info>span,.status{font-size:.9rem}
 .task-row{border-left-width:1px;border-radius:18px;box-shadow:none}.task-row:nth-child(n){border-color:var(--line)}
 .task-controls .button{min-height:48px}.page-tasks .toolbar .pill{font-size:.9rem}.page-tasks .toolbar .button{font-size:1rem}
 .approval-shortcut{display:flex;align-items:center;gap:14px;width:100%;padding:18px;margin:0 0 22px;border:1px solid #cfe5d9;background:#edf7f1;border-radius:20px;text-align:left;color:#285d45}
 .approval-shortcut.has-requests{background:#e7f2ff;border-color:#bad7ed;color:#245c85}
 .approval-shortcut-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff;flex:none}
 .approval-shortcut>span:nth-child(2){flex:1}.approval-shortcut strong{display:block;font-size:1.1rem;line-height:1.4}.approval-shortcut small{display:block;font-size:.9rem;margin-top:3px;line-height:1.4}
 .kindness-shortcut{display:flex;width:100%;align-items:center;gap:14px;padding:20px;border-radius:20px;background:#fff3d5;border:1px solid #efdfb7;text-align:left;margin-top:24px}
 .kindness-shortcut>span:first-child{font-size:2rem}.kindness-shortcut>span:nth-child(2){flex:1}.kindness-shortcut strong,.kindness-shortcut small{display:block;line-height:1.5}.kindness-shortcut small{font-size:.9rem;color:#716044}
 .task-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.task-filter-tabs button{padding:11px 15px;min-height:46px;font-size:.94rem;border:1px solid var(--line);border-radius:14px;background:#fff;color:#486076}
 .task-filter-tabs button.active{background:#246d9e;color:#fff;border-color:#246d9e}
 .more-menu{max-width:780px;margin:auto;display:grid;gap:24px}.more-group{border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden}.more-group h2{padding:20px;font-size:1.05rem;color:#607082;background:#f3f7fb}
 .more-row{width:100%;display:flex;align-items:center;gap:16px;padding:20px;text-align:left;border-top:1px solid var(--line);min-height:90px}
 .more-row>span:last-child{min-width:0}.more-row strong{display:block;font-size:1.1rem;line-height:1.35}.more-row small{display:block;font-size:.9rem;line-height:1.5;color:var(--muted);margin-top:4px}
 .more-icon{display:grid;place-items:center;width:48px;height:48px;background:#e7f2ff;color:#246d9e;border-radius:15px;flex:none}.more-row:nth-child(3n) .more-icon{background:#edf5e8;color:#4b7843}.more-row:nth-child(3n+1) .more-icon{background:#f0ebfa;color:#6b5294}
 .chore-ideas{margin:28px 0 18px;padding:22px;border:1px solid #d4e2ee;border-radius:22px;background:#eef5fb;text-align:left}
 .ideas-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.ideas-heading>div{flex:1;min-width:0}.ideas-heading h2{font-size:1.3rem}.ideas-heading p{font-size:.94rem;color:var(--muted);margin-top:8px;line-height:1.5}.ideas-total{white-space:nowrap;background:white;color:#35658b;border-radius:12px;padding:6px 10px;font-size:.875rem}
 .idea-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #b9cfdf;border-radius:14px;padding:0 12px;margin-bottom:16px;color:#58718a}.idea-search input{background:transparent;border:0;padding-left:0;min-width:0;min-height:50px}.idea-search:focus-within{outline:2px solid #4786b0;outline-offset:2px}.idea-search input:focus{outline:0}
 .idea-ages{display:flex;align-items:center;gap:10px;min-height:48px;font-size:.94rem;margin:8px 0}.idea-ages input{width:22px;height:22px;min-height:22px;accent-color:#246d9e}
 .idea-list{border:1px solid #d9e5ee;background:#fff;border-radius:18px;overflow:hidden}.idea-list:empty{display:none}.idea-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:17px 14px;min-height:82px;border-bottom:1px solid #e4ebf2}.idea-row:last-child{border:0}.idea-row:hover,.idea-row.chosen{background:#f5faff}.idea-row>svg{color:#246d9e;flex:none}
 .idea-emoji{font-size:1.6rem;width:44px;height:46px;display:grid;place-items:center;border-radius:13px;background:#fff4d9;flex:none}.idea-row:nth-child(3n) .idea-emoji{background:#eaf6ec}.idea-row:nth-child(3n+1) .idea-emoji{background:#edf1ff}
 .idea-copy{flex:1;min-width:0}.idea-copy strong{display:block;font-size:1rem;line-height:1.4;overflow-wrap:anywhere}.idea-copy small{display:block;margin-top:4px;font-size:.875rem;color:#5f6c7d;line-height:1.4}.ideas-empty{padding:16px 0}.chore-ideas>.field-help{margin-top:15px}
 .template-library .chore-ideas{margin:10px 0 0;padding:0;border:0;background:transparent}.template-library summary{font-size:1rem;min-height:48px;padding:10px 0;cursor:pointer}.template-note{font-size:.94rem;line-height:1.6;padding:16px;background:#fff7df;border-radius:14px;margin:14px 0}
 .family-welcome{position:relative;min-height:100dvh;overflow:hidden;padding:28px 22px 40px;background:linear-gradient(#d4edfc 0%,#f7fbff 65%);color:#28445e}
 .welcome-top,.welcome-body{position:relative;z-index:1;max-width:520px;margin:auto}.welcome-top{display:flex;align-items:center;justify-content:space-between;min-height:48px}.welcome-top>strong{font-size:1.45rem;font-weight:850;letter-spacing:-.045em}.welcome-top>strong>span{color:#cf971e;margin-left:5px}.welcome-body{padding:56px 0 0}.welcome-family{font-size:.95rem;font-weight:650;margin-bottom:10px}.welcome-body h1{font-size:clamp(2.1rem,8vw,3rem);line-height:1.13;font-weight:800;margin:0 0 18px}.welcome-body>p{font-size:1.06rem;line-height:1.6}
 .welcome-choices{display:grid;gap:16px;margin:30px 0 14px}.welcome-choice{display:flex;align-items:center;gap:18px;width:100%;padding:24px 20px;background:white;border:1px solid #cfe0ed;border-radius:24px;box-shadow:0 5px 0 #c8dae980;text-align:left}.welcome-choice.together{background:#fff6dc;border-color:#eedca5;box-shadow:0 5px 0 #e8d6a880}.choice-symbol{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;flex:none;background:#e3f0fb;color:#296a9a}.together .choice-symbol{background:#ffe6a4;color:#9a6816}.choice-symbol svg{width:27px;height:27px}.welcome-choice strong{display:block;font-size:1.3rem;line-height:1.3;font-weight:800}.welcome-choice small{display:block;font-size:.94rem;line-height:1.45;margin-top:8px;color:#54697c}
 .welcome-sky{position:absolute;inset:0;overflow:hidden;pointer-events:none}.welcome-sun{position:absolute;width:110px;height:110px;border-radius:50%;background:#ffe6a466;top:65px;right:-35px}.welcome-cloud{position:absolute;width:150px;height:30px;border-radius:60%;background:#ffffffad;top:90px;left:-40px}.welcome-cloud.two{top:170px;left:auto;right:40px;width:100px;opacity:.55}.welcome-hill{position:absolute;border-radius:50% 50% 0 0;width:140%;height:140px;bottom:-70px;left:-30%;background:#d7eacc}.welcome-hill.two{background:#bcdcb8;left:40%;bottom:-100px}
 .welcome-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0}.welcome-profiles button{background:white;border:1px solid #cfe0ed;border-radius:22px;padding:22px 12px;display:flex;flex-direction:column;align-items:center;gap:8px}.welcome-profiles button>span{font-size:2.5rem}.welcome-profiles strong{font-size:1.2rem;overflow-wrap:anywhere;max-width:100%}.welcome-profiles small{font-size:.94rem;color:#826116}.welcome-parent-note{display:flex;gap:10px;background:#eaf3fa;padding:16px;border-radius:15px;font-size:.94rem!important}
 .tour-symbol{width:116px;height:116px;display:grid;place-items:center;background:#fff0c5;color:#986819;border-radius:50%;margin:30px auto}.tour-dots{display:flex;justify-content:center;gap:9px;margin:32px 0}.tour-dots span{width:10px;height:10px;border-radius:20px;background:#b6c7d4}.tour-dots .active{width:28px;background:#246d9e}
}
@media screen and (max-width:760px){
 .scene-header{padding:12px 16px 27px}.header-greeting{margin-top:12px}.header-greeting h1{font-size:1.7rem}.header-greeting p{font-size:1rem;max-width:none}.header-tools{flex-wrap:wrap}.topbar-left{flex:1}.topbar-actions{gap:7px}.mobile-menu{display:none}.mode-switch{max-width:124px;font-size:.875rem;padding:9px 12px}.notification{width:44px;min-width:44px}
 .content{padding:16px 16px 120px}.page-heading{margin-bottom:18px}.page-home .device-banner{margin-bottom:4px}.family-heading{margin:12px 0 16px}.home-shortcuts{gap:8px}.home-shortcuts button{padding:16px 6px}.home-shortcuts button>span:last-child{display:none}.home-shortcuts strong{font-size:.94rem}
 .child-identity .avatar{width:60px;height:60px;font-size:2.15rem}.child-identity strong{font-size:1.3rem}.child-identity .coin-value{font-size:1.4rem}.child-card{padding:18px}.approval-shortcut{padding:16px;gap:12px}.approval-shortcut strong{font-size:1.05rem}
 .mobile-tabs{padding:8px 6px max(12px,env(safe-area-inset-bottom));box-shadow:0 -3px 18px #20364c08}.mobile-tabs button{font-size:.875rem;min-height:54px;gap:5px;border-radius:15px}.mobile-tabs button.active{color:#fff;background:#246d9e}.mobile-tabs button.active svg{background:none;box-shadow:none}
 .chore-ideas{padding:18px 14px}.ideas-heading{flex-wrap:wrap}.ideas-heading>div{flex-basis:200px}.ideas-heading h2{font-size:1.2rem}.idea-row{padding:16px 10px;gap:10px}.idea-copy strong{font-size:1rem}.task-filter-tabs{gap:6px}.task-filter-tabs button{padding:10px 12px;font-size:.875rem}.more-row{padding:18px 16px;gap:12px}.more-row strong{font-size:1.06rem}
 .family-welcome{padding:20px 20px 40px}.welcome-body{padding-top:35px}.welcome-choice{padding:22px 16px;gap:14px}.welcome-choice strong{font-size:1.2rem}.welcome-top .icon-button{background:#ffffff90}.welcome-choices{margin-top:26px}
}
@media screen and (max-width:360px){.content{padding-left:12px;padding-right:12px}.mobile-brand{font-size:1.25rem}.mode-switch{max-width:110px}.welcome-body{padding-top:24px}.welcome-choice{gap:10px}.choice-symbol{width:44px;height:48px}.mobile-tabs button{font-size:.875rem}.idea-emoji{width:36px;height:40px;font-size:1.35rem}}

@media screen and (max-width:760px){.sidebar{display:none}}

/* Private pilot invitations use the existing family forms and touch controls. */
.tester-entry{width:min(100%,680px);margin-inline:auto}.tester-entry .panel{text-align:left;width:100%}.tester-entry>p{text-align:left}.tester-entry strong,.tester-invitations strong{overflow-wrap:anywhere}.tester-invitations .settings-child{flex-wrap:wrap;gap:12px}.tester-invitations .settings-child>div{min-width:0;flex:1 1 200px}.tester-invitations .field input{min-width:0;width:100%}.tester-entry .text-button{display:block;margin:12px auto}

/* Calm phone screens and human profile choices. */
.human-avatar{overflow:hidden;isolation:isolate}.human-avatar svg{display:block;width:100%;height:100%}
.avatar-picker{border:0;padding:0;margin:0;min-width:0}.avatar-picker legend{font-size:1rem;font-weight:650;margin-bottom:12px}
.avatar-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.avatar-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:14px 10px 10px;border:2px solid #dde6ed;border-radius:18px;background:#fff;cursor:pointer;font-size:.875rem;color:#3d5166}
.avatar-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.avatar-option .avatar{width:64px;height:64px;border-radius:18px}
.avatar-group + .avatar-group{margin-top:20px}
.avatar-group-title{font-size:1rem;font-weight:650;margin:0 0 10px}.avatar-option:has(input:checked){border-color:#247aaf;background:#edf7ff}
.avatar-option:has(input:focus-visible){outline:3px solid #247aaf;outline-offset:3px}.avatar-selection{font-size:.8125rem;line-height:1.2;color:#24668e;font-weight:700;visibility:hidden}.avatar-option:has(input:checked) .avatar-selection{visibility:visible}
.welcome-profiles .human-avatar{width:76px;height:76px;border-radius:22px}
.connection-settings p{margin:12px 0 16px}.device-banner{flex-wrap:wrap;gap:8px}
@media screen and (max-width:760px){
 .child-identity>span:last-child{min-width:0}.child-identity strong{overflow-wrap:anywhere}
 .home-header{padding-bottom:26px}.page-home{padding-top:22px}.page-home .approval-shortcut{margin-bottom:24px}
 .modal-inner{padding:28px 20px}.modal .form-stack{padding-bottom:8px}.modal .field input,.modal .field select,.modal .field textarea{scroll-margin-block:24px}
 .mobile-tabs button{line-height:1.25}.routine-step-label small{font-size:.8125rem;letter-spacing:.04em}.routine-step-tools select,.calendar-toolbar input{font-size:1rem}
}

@media(max-width:420px){
 .child-summary{flex-wrap:wrap;gap:12px}
 .child-identity{flex:1 1 100%}
 .child-task-count{display:flex;flex-direction:row;flex-wrap:nowrap;flex-basis:auto;min-width:0;padding:8px 12px;gap:6px;margin-left:72px}
 .child-task-count span{width:auto}
}

/* Parent help: readable answers and direct links to the right tool. */
.family-help{max-width:820px;margin:auto;display:grid;gap:24px}.help-intro{display:flex;gap:18px;align-items:flex-start}.help-intro h2,.help-modes h2,.help-answers>h2{font-size:1.35rem;line-height:1.35}.help-intro p{margin:10px 0 18px}.help-symbol{display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:18px;background:#e5f2fc;color:#246d9e}.help-modes{display:grid;grid-template-columns:1fr 1fr;gap:16px}.help-modes article>svg{color:#34785d;margin-bottom:12px}.help-modes p{margin:12px 0;line-height:1.65}.help-answers>h2{margin-bottom:16px}.help-result-count{font-size:.9375rem;color:var(--muted);margin:0 0 12px}.help-answer-list{display:grid;gap:10px}.help-answer{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.help-answer summary{display:flex;gap:14px;align-items:center;justify-content:space-between;cursor:pointer;padding:20px;min-height:56px;list-style:none;font-size:1.0625rem;font-weight:700;line-height:1.45}.help-answer summary::-webkit-details-marker{display:none}.help-answer summary>svg{flex:none;color:#326b91}.help-answer[open] summary>svg{transform:rotate(180deg)}.help-answer summary:focus-visible{outline:3px solid #246d9e;outline-offset:-4px;border-radius:18px}.help-answer-body{padding:0 20px 22px}.help-answer-body p,.help-answer-body li{font-size:1rem;line-height:1.7}.help-answer-body p+p{margin-top:14px}.help-answer-body ol{padding-left:24px;margin:16px 0}.help-answer-body li+li{margin-top:12px}.help-answer-body .button{margin-top:18px;white-space:normal;text-align:left}.help-empty h3{margin:12px 0 8px}.help-empty .button{margin-top:16px}.help-modes .text-button{white-space:normal;text-align:left}#child-device-settings,#family-sharing-settings,#parent-pin-settings,#backup-settings,#reminder-settings,#connection-settings{scroll-margin-top:20px}
@media(max-width:600px){.help-modes{grid-template-columns:1fr}.help-intro{gap:12px}.help-symbol{width:44px;height:44px;border-radius:14px}.help-intro h2{font-size:1.25rem}.help-answer summary{padding:18px 16px}.help-answer-body{padding:0 16px 20px}.family-help .button{max-width:100%;white-space:normal}}

/* Account review stays readable on a small iPhone and at larger text sizes. */
.account-privacy{max-width:760px;margin:0 auto;padding:28px max(20px,env(safe-area-inset-left)) max(40px,env(safe-area-inset-bottom));min-height:100dvh;font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.account-privacy header{margin:24px 0}.account-privacy h1{font-size:clamp(28px,6vw,38px);line-height:1.2}.account-privacy h2{font-size:23px;line-height:1.35}.account-privacy h3{font-size:19px;margin-top:24px}.account-privacy .panel{margin:20px 0}.account-privacy p{margin:12px 0}.account-privacy .button{min-height:48px;white-space:normal;line-height:1.4;text-align:center}.account-privacy .button-row{flex-wrap:wrap;gap:12px}.account-privacy .button-row .button{flex:1 1 200px}.account-privacy .notice{align-items:start}.account-privacy ul{padding-left:22px}.account-confirm{display:flex;align-items:start;gap:12px}.account-confirm input{flex-shrink:0;width:22px;height:22px;min-height:22px;margin-top:4px;accent-color:#247ba1}.account-privacy .account-danger{background:#a42c36;color:white;border-color:#a42c36}.account-privacy .account-danger:disabled{opacity:.5}.deletion-review{border-top:1px solid #d8e3e9;margin-top:24px;padding-top:12px}.account-privacy .field input{font-size:18px;min-height:48px}.account-privacy .text-button{display:inline-flex;align-items:center;gap:8px;min-height:44px}
@media(max-width:420px){.account-privacy .padded{padding:20px}.account-privacy .form-stack>.button{width:100%}}

.parent-access{max-width:580px;margin:auto;padding:30px 20px max(40px,env(safe-area-inset-bottom));min-height:100dvh;font-size:17px;line-height:1.65;overflow-wrap:anywhere}.parent-access h1{font-size:clamp(29px,7vw,38px);line-height:1.2;margin:16px 0}.parent-access h2{font-size:23px;line-height:1.35}.parent-access .panel{margin:24px 0}.parent-access p{margin:12px 0}.parent-access .field input,.parent-access .field select{font-size:17px;min-height:48px;max-width:100%}.parent-access .button{min-height:48px;white-space:normal;line-height:1.4}.parent-access .text-button{display:inline-flex;align-items:center;gap:8px;min-height:44px}.parent-access .setup-confirm{display:flex;gap:12px;align-items:flex-start}.parent-access .setup-confirm input{flex:0 0 22px;width:22px;height:22px;min-height:22px;margin-top:4px;padding:0}.signup-review dt{font-size:15px;font-weight:700;color:var(--muted)}.signup-review dd{margin:2px 0 16px;font-weight:700}.sign-in-help details{padding:16px 0;border-top:1px solid #dce6ea}.sign-in-help summary{font-weight:700;cursor:pointer;line-height:1.4;padding:6px 0}.sign-in-help p{margin-top:12px}.signed-in-email{font-size:16px}.parent-access .form-stack{gap:16px}@media(max-width:420px){.parent-access .padded{padding:20px}}

/* Parent account connection: comfortable phone controls and long emails. */
.parent-connection h2 {display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.parent-connection .signup-review dd,.parent-connection .signed-in-email,.parent-connection .break-email {overflow-wrap:anywhere}
.parent-connection .sign-in-code {font-size:1.5rem;letter-spacing:.22em;font-variant-numeric:tabular-nums}
.parent-connection .connection-notice {padding:1rem;border-radius:1rem;background:#e9f6ef;color:#225b44;font-size:1rem}
.parent-connection .panel {margin-block:1rem}
.parent-connection .setup-confirm {margin-block:1rem}

/* Family plans stay in parent settings, away from children's rewards. */
.family-plan-panel{scroll-margin-top:24px}
.family-plan-panel .section-heading{flex-wrap:wrap;gap:12px}
.plan-status{border-radius:20px;padding:8px 14px;background:#e7f3eb;color:#245439;font-size:1rem;font-weight:700}
.family-plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.family-plan-option{border:1px solid #ccdce4;border-radius:22px;padding:24px;background:#fff;min-width:0}
.family-plan-extra{background:#edf7fc;border-color:#93bfd5}
.family-plan-option h3{font-size:1.5rem;margin:12px 0}
.family-plan-option .plan-cost{font-size:1.125rem;font-weight:700;color:#254f65}
.family-plan-option ul{list-style:none;padding:0;margin:20px 0 0}
.family-plan-option li{display:flex;align-items:flex-start;gap:10px;margin:14px 0;line-height:1.5}
.family-plan-option li svg{flex-shrink:0;margin-top:3px;color:#286e4b}
.plan-feature-notice{display:flex;gap:14px;padding:22px;border:1px solid #b8d7e7;border-radius:20px;background:#eef8fc;margin:18px 0;line-height:1.5}
.plan-feature-notice>svg{flex-shrink:0;color:#276d93}
.plan-feature-notice strong{font-size:1.125rem}
.plan-print-unavailable{display:none!important}
@media(max-width:640px){.family-plan-options{grid-template-columns:1fr}.family-plan-option{padding:20px}.plan-status{font-size:1rem}}

/* Consent controls keep legal text readable without crowding Family settings. */
.child-privacy-panel .privacy-detail,.child-privacy-panel .consent-review{margin-top:24px;padding-top:20px;border-top:1px solid var(--border,#d9e3e6)}
.child-privacy-panel .button-row{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.child-privacy-panel details{padding:14px 0}.child-privacy-panel summary{cursor:pointer;font-weight:700}
.child-privacy-panel details p{font-size:16px;line-height:1.65}
.privacy-check,.privacy-confirm label{display:flex;gap:10px;align-items:flex-start;margin:16px 0}
.privacy-check input,.privacy-confirm input[type=checkbox]{min-width:22px;min-height:22px}
.child-privacy-panel .privacy-confirm{display:block;padding:20px;margin:20px 0}
.child-privacy-panel .privacy-confirm .field{display:block}
.child-privacy-panel input[type=file]{max-width:100%;padding:12px 0;font-size:16px}
.child-privacy-panel .field-help{overflow-wrap:anywhere}

.parent-login{max-width:480px;margin:0 auto;padding:max(32px,env(safe-area-inset-top)) 24px max(32px,env(safe-area-inset-bottom));min-height:100dvh;display:flex;flex-direction:column;justify-content:center;gap:20px}
.parent-login header{text-align:center}.parent-login-mark{display:inline-flex;align-items:center;justify-content:center;background:#dff2e5;color:#287150;width:68px;height:68px;border-radius:22px;margin-bottom:12px}
.parent-login h1{font-size:34px;line-height:1.15;margin:8px 0 16px;color:#173f53}.parent-login h2{font-size:23px;margin:0 0 18px}.parent-login p{line-height:1.55}.parent-login .field input{font-size:18px;min-height:54px}.parent-login .button{min-height:54px;font-size:17px}.parent-login .panel{border-radius:26px;background:#fff}.parent-login-footnote{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:#52646c}.parent-login-footnote svg{flex-shrink:0;margin-top:3px}.parent-login .field-help{font-size:14px;color:#52646c}.parent-login .text-button{min-height:44px}.parent-apple{background:#151515;color:white;margin-top:18px}.parent-session-message{margin:12px auto;max-width:640px}.parent-login strong{overflow-wrap:anywhere}
@media(max-height:700px){.parent-login{justify-content:flex-start;padding-top:24px;gap:14px}.parent-login h1{font-size:30px}}

.public-information{min-height:100vh;background:#f5f9fc;color:#263e4a;font:1rem/1.7 ui-rounded,"SF Pro Rounded","Avenir Next",Avenir,"Segoe UI",sans-serif;overflow-wrap:anywhere}
.public-information *{box-sizing:border-box}
.public-information a{color:#1d648f;text-decoration:underline;text-underline-offset:.18em}
.public-information a:focus-visible,.public-information summary:focus-visible,.public-info-links a:focus-visible{outline:3px solid #1e76a8;outline-offset:4px}
.public-info-header{max-width:64rem;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.5rem;border-bottom:1px solid #dbe7ec}
.public-info-brand{display:inline-flex;align-items:center;gap:.55rem;font-size:1.45rem;font-weight:800;text-decoration:none!important;color:#225671!important}
.public-info-brand svg{color:#3c775e;flex-shrink:0}
.public-info-open{font-size:1rem;font-weight:650;padding:.5rem 0;min-height:2.75rem;display:inline-flex;align-items:center;text-align:right}
.public-information main{max-width:52rem;margin:0 auto;padding:0 1.5rem 2.5rem}
.public-info-intro{padding:2.5rem 0 1.7rem}
.public-info-symbol{display:grid;place-items:center;width:3.75rem;height:3.75rem;background:#deefe6;color:#34745a;border-radius:1.15rem;margin-bottom:1.2rem}
.public-info-kicker{color:#527180;font-size:.875rem!important;font-weight:750;letter-spacing:.075em;margin-bottom:.6rem!important}
.public-info-intro h1{font-size:clamp(1.9rem,5vw,2.6rem);line-height:1.2;letter-spacing:-.035em;margin:0 0 1rem;font-weight:800;color:#224f66}
.public-info-intro>p:last-child{font-size:1.1rem;color:#4b6470;max-width:43rem;margin:0}
.public-info-draft{padding:1.2rem 1.4rem;background:#fff3cf;border:1px solid #ead292;border-radius:1rem;margin-bottom:1.4rem;color:#59471c}
.public-info-draft strong{display:block;font-size:1rem;line-height:1.5}
.public-info-draft p{margin:.45rem 0 0!important;font-size:1rem}
.public-info-status{font-size:.95rem;color:#526670;margin-bottom:1rem}
.public-info-status p{margin:.35rem 0;line-height:1.6}
.public-info-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5rem 1.5rem;margin:1.25rem 0;font-size:1rem;line-height:1.5}
.public-info-links a{display:inline-flex;align-items:center;min-height:2.75rem;color:#245c7a;font-weight:650;text-decoration:underline;text-underline-offset:.2em}
.public-info-links a[aria-current="page"]{color:#253f4b;text-decoration-thickness:.15em}
.public-info-section{margin:1.4rem 0;padding:1.5rem 1.6rem;background:#fff;border:1px solid #dce7ec;border-radius:1.25rem;box-shadow:0 3px 0 #dce7ec55;scroll-margin-top:1.2rem}
.public-info-section h2{font-size:1.4rem;line-height:1.35;letter-spacing:-.025em;font-weight:750;color:#284f62;margin:0 0 .9rem}
.public-info-section p{font-size:1rem;line-height:1.75;margin:.8rem 0}
.public-info-section p:last-child{margin-bottom:0}
.public-info-section ul,.public-info-section ol{margin:.8rem 0;padding-left:1.5rem;font-size:1rem;line-height:1.7}
.public-info-section li{margin:.7rem 0;padding-left:.15rem}
.public-info-contact{padding:1rem 1.15rem;background:#eff6f9;border-radius:.85rem;margin:.9rem 0}
.public-info-contact p:first-child{margin-top:0}
.public-info-contact a{word-break:break-word}
.public-info-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.public-info-shortcuts a{display:flex;align-items:center;border:1px solid #c7dce7;border-radius:.75rem;padding:.9rem 1rem;background:#f3f9fc;font-size:1rem;line-height:1.5;min-height:3.5rem;font-weight:650}
.public-info-faq details{border-top:1px solid #dce7ec;padding:1rem 0;scroll-margin-top:1rem}
.public-info-faq details:last-child{padding-bottom:0}
.public-info-faq summary{cursor:pointer;font-size:1.08rem;font-weight:750;line-height:1.5;padding:.35rem 0;color:#244c64;min-height:2.75rem}
.public-info-faq summary::marker{color:#39739a}
.public-info-faq details>div{padding:.25rem 0 .2rem}
.public-info-faq details:target{background:#f2f8fb;outline:2px solid #a9ccde;outline-offset:.5rem;border-radius:.5rem}
.public-info-footer{max-width:64rem;padding:1.5rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));margin:auto;border-top:1px solid #dbe7ec;text-align:center;color:#526670}
.public-info-footer p{font-size:1rem;line-height:1.65;margin:0}
.public-info-footer .public-info-links{margin-bottom:0}
@media(max-width:480px){.public-info-header{padding:1rem}.public-info-brand{font-size:1.25rem}.public-information main{padding:0 1rem 1.5rem}.public-info-intro{padding-top:1.75rem}.public-info-section{padding:1.2rem 1rem;border-radius:1rem}.public-info-draft{padding:1rem}.public-info-shortcuts{grid-template-columns:1fr}.public-info-links{gap:.3rem 1rem}.public-info-section h2{font-size:1.3rem}}
@media(prefers-reduced-motion:reduce){.public-information *{scroll-behavior:auto}}
@media print{.public-information{background:#fff;color:#000}.public-info-header,.public-info-footer,.public-info-links,.public-info-open{display:none}.public-information main{max-width:none;padding:0}.public-info-section{box-shadow:none;border-color:#ccc;break-inside:avoid}.public-info-intro{padding:0 0 1rem}.public-info-draft{background:#fff;border:2px solid #555}.public-info-section a{color:#000}}
