@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&family=DM+Sans:wght@400;500;600;700&family=Kalam:wght@300;400;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f5f4ee;--card:#fffefa;--text:#273e35;--muted:#7d857e;--line:#e5e8de;--accent:#496853;--soft:#e9eee3;--shadow:0 6px 25px #344b3010;--blue:#eaf0fb;--pink:#f9eae7;--purple:#eee9f9;--yellow:#f6efdb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}body.dark{--bg:#101f2b;--card:#192b38;--text:#ebf1eb;--muted:#a3b4b8;--line:#2b404a;--accent:#8bbfa4;--soft:#263d3d;--blue:#243b53;--pink:#49383d;--purple:#38344d;--yellow:#49432f;--shadow:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #c2a456;outline-offset:3px}button{border:0;background:none;color:inherit}header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:25px 40px 20px;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-weight:800;font-size:23px;letter-spacing:-1px}.brandmark{background:var(--accent);color:var(--bg);width:39px;height:39px;border-radius:14px;display:grid;place-items:center;font-size:23px}.brand small{display:block;font-family:'DM Sans',sans-serif;letter-spacing:2px;font-size:9px;color:var(--muted);font-weight:500;margin-top:3px}.header-right{display:flex;align-items:center;gap:15px}.iconbutton{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;font-size:18px}.date{color:var(--muted);font-size:12px}.family-layout{max-width:1440px;margin:auto;padding:29px 40px 105px}.top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}h1{font-family:Manrope,sans-serif;font-size:32px;letter-spacing:-1.4px;margin:0 0 8px;font-weight:700}h2{font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.5px;margin:0}h3{font-size:15px;margin:0 0 5px}p{line-height:1.6;margin:0;color:var(--muted)}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted);margin-bottom:10px}.profiles{display:flex;gap:8px;align-items:center}.profile{padding:7px 12px 7px 7px;border:1px solid transparent;border-radius:30px;display:flex;align-items:center;gap:7px;font-size:12px}.profile.active{background:var(--card);border-color:var(--line);box-shadow:var(--shadow)}.avatar{width:29px;height:29px;border-radius:50%;display:inline-grid;place-items:center;font-size:12px;font-weight:700;color:#45564a;background:var(--soft);flex-shrink:0}.avatar.Sep{background:#dbe6d7}.avatar.Irina{background:#f3ddd3}.avatar.Sasha{background:#dce6f5}.avatar.Mila{background:#eaddf2}.banner{background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.banner h2{font-size:20px;margin-bottom:6px}.banner .plant{font-size:43px}.badge{border-radius:20px;padding:5px 10px;font-size:11px;background:var(--soft);color:var(--accent);white-space:nowrap}.grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:20px}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:23px;box-shadow:var(--shadow);min-width:0}.cardhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.cardhead h2{display:flex;gap:9px;align-items:center}.smallbtn{font-size:12px;color:var(--accent);font-weight:700;min-height:35px}.event{display:flex;gap:13px;padding:15px 12px;border-radius:12px;background:var(--blue);margin-bottom:11px;border-left:3px solid #9bacc8}.event:nth-of-type(2n){background:var(--purple);border-color:#b7a8ca}.event .time{font-size:12px;min-width:48px;line-height:1.6;font-weight:600}.event p{font-size:11px}.event h3{font-size:13px}.eventcontent{flex:1}.row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row .grow{flex:1;min-width:0}.row p{font-size:11px;margin-top:4px}.row strong{font-size:13px;font-weight:500}.check{width:25px;height:25px;border:1.5px solid #c3cbbb;border-radius:8px;flex-shrink:0;display:grid;place-items:center;padding:0}.check.checked{background:var(--accent);color:var(--bg);border-color:var(--accent)}.done strong{text-decoration:line-through;color:var(--muted)}.primary{background:var(--accent);color:var(--bg);padding:12px 19px;border-radius:11px;font-weight:600;min-height:44px}.secondary{background:var(--soft);color:var(--text);padding:12px 18px;border-radius:11px;min-height:44px}.full{width:100%;margin-top:15px}.inlineform{display:flex;gap:8px;margin-top:15px}input,select,textarea{border:1px solid var(--line);background:var(--bg);color:var(--text);padding:12px;border-radius:10px;min-width:0;max-width:100%}.inlineform input{flex:1;width:100%}.note{background:var(--yellow);box-shadow:none;position:relative}.note p{color:var(--text);font-size:17px;line-height:1.7}.meal-art{height:104px;background:var(--soft);border-radius:14px;display:flex;align-items:center;justify-content:center;margin:10px 0 16px;font-size:57px}.bottomgrid{margin-top:20px;display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:20px}.progress{height:7px;border-radius:10px;background:var(--line);overflow:hidden;margin:15px 0 10px}.progress span{height:100%;background:var(--accent);display:block;border-radius:10px}.points{font-family:Manrope,sans-serif;font-size:30px;letter-spacing:-1px}.mini-stat{display:flex;justify-content:space-between;align-items:center;margin:13px 0}.nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;background:var(--card);border:1px solid var(--line);box-shadow:0 7px 40px #152b2020;border-radius:20px;padding:8px;z-index:5;gap:5px}.nav button{display:flex;align-items:center;gap:8px;padding:14px 24px;border-radius:13px;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.nav button.active{color:var(--accent);background:var(--soft)}.nav .navicon{font-size:17px}.demo{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:15px;margin-top:25px}.sectiongrid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.empty{padding:26px 10px;text-align:center;color:var(--muted)}.rewardicon{font-size:38px;background:var(--yellow);border-radius:15px;width:75px;height:75px;display:grid;place-items:center;margin-bottom:18px}.reward{display:flex;flex-direction:column}.reward p{flex:1}.pillrow{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.pillrow button{border:1px solid var(--line);border-radius:25px;padding:10px 15px}.pillrow .active{background:var(--accent);color:var(--bg)}dialog{width:min(480px,92vw);max-height:88vh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:27px;background:var(--card);color:var(--text);box-shadow:0 30px 100px #0003}dialog::backdrop{background:#10251b66;backdrop-filter:blur(3px)}dialog form{display:grid;gap:15px}dialog label{display:grid;gap:7px;font-size:12px;font-weight:600}.dialoghead{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);border-radius:12px;background:var(--text);color:var(--bg);padding:13px 22px;z-index:20;box-shadow:var(--shadow);display:none;max-width:90vw}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:24px}.day{padding:16px 7px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:15px}.day b{display:block;font-size:21px;margin:8px}.day.active{background:var(--soft);border-color:var(--accent)}.day small{font-size:10px;color:var(--muted)}.day .dot{height:5px;width:5px;background:var(--accent);border-radius:50%;margin:auto}.switchline{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);gap:20px}.delete{color:var(--muted);min-width:32px;min-height:32px}.help{font-size:12px;line-height:1.7;color:var(--muted)}.offline{background:#b54a31;color:white;padding:10px;text-align:center}button:disabled{opacity:.45;cursor:default}@media(min-width:1450px){.family-layout{padding-top:40px}.card{padding:28px}}@media(max-width:1050px){.grid{grid-template-columns:1fr 1fr}.grid>.card:last-child{grid-column:1/-1}.bottomgrid{grid-template-columns:1fr 1fr}.bottomgrid>.card:last-child{grid-column:1/-1}.profiles{gap:1px}.profile{padding-right:6px}.top{align-items:flex-start;flex-direction:column}.nav button{padding:13px 20px}}@media(max-width:640px){header{padding:18px 20px}.date{display:none}.family-layout{padding:24px 18px 115px}.brand{font-size:21px}.grid,.bottomgrid,.sectiongrid{grid-template-columns:1fr}.grid>.card:last-child,.bottomgrid>.card:last-child{grid-column:auto}h1{font-size:28px}.card{padding:20px}.profiles{width:100%;justify-content:space-between}.profile{font-size:11px;padding:6px}.profile .avatar{width:26px;height:26px}.banner{padding:19px}.banner h2{font-size:17px}.banner p{font-size:12px}.banner .plant{display:none}.nav{bottom:0;border-radius:18px 18px 0 0;width:100%;justify-content:space-around;padding-bottom:max(10px,env(safe-area-inset-bottom))}.nav button{padding:10px 7px;flex-direction:column;gap:5px;font-size:10px;flex:1}.demo{flex-direction:column;gap:6px}.week{gap:4px}.day{padding:10px 0}.day b{font-size:17px;margin:7px}.header-right{gap:7px}.iconbutton{height:36px;width:36px}.top{gap:18px}.sectiongrid .card{min-width:0}}
/* Explicit layout boundaries prevent host styles from turning the page into a flex row. */
html{width:100%;min-height:100%;overflow-x:hidden}body{display:block;width:100%;min-height:100vh}#app{display:block;width:100%;min-width:0}#app>#family-content{display:block;width:100%;min-width:0;float:none;position:relative}#app .top{display:flex;flex-direction:row}#app .grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;width:100%}#app .bottomgrid{display:grid;grid-template-columns:1fr 1fr 1.1fr;width:100%}#app .sectiongrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}#app .card{display:block;width:auto;min-width:0}#app .card.reward{display:flex}#app .banner{width:100%;min-width:0}#app header{width:100%}@media(max-width:1050px){#app .top{flex-direction:column}#app .grid,#app .bottomgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){#app .grid,#app .bottomgrid,#app .sectiongrid{grid-template-columns:minmax(0,1fr)}}

#app>#family-content{display:block!important;flex:none!important;columns:auto!important}#family-content>.top,#family-content>.banner,#family-content>.grid,#family-content>.bottomgrid,#family-content>.sectiongrid,#family-content>.demo{float:none;position:relative;max-width:100%}
.event .time{min-width:92px}.event-end{display:block;font-size:10px;color:var(--muted);margin-top:3px;font-weight:400}.event-repeat{margin-top:7px!important;font-size:10px!important}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.homework-banner{background:var(--purple)}.homework-item{padding:18px;border:1px solid var(--line);border-radius:15px;margin-bottom:16px;background:var(--bg)}.homework-item h3{font-size:17px;line-height:1.4}.homework-item .cardhead{margin-bottom:12px}.subject-label{font-size:12px;font-weight:600}.due{font-size:11px;margin-top:7px}.urgent{color:#b95635}.dark .urgent{color:#ffb38f}.hw-status{display:inline-block;font-size:11px;padding:7px 10px;background:var(--soft);border-radius:9px;margin:14px 0}.hw-notes{margin-top:10px;white-space:pre-wrap}.hw-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.hw-actions button{font-size:12px}.hw-finished{opacity:.8}.hw-empty{text-align:center;padding:30px 10px}.hw-empty>div{font-size:44px;margin-bottom:20px}.hw-empty button{margin-top:22px}.focus-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 25px;border:1px solid var(--line);background:var(--yellow);border-radius:18px;margin-bottom:20px}.focus-strip strong{font-size:24px;font-variant-numeric:tabular-nums}.focus-strip p{font-size:12px}.food-banner{background:var(--yellow)}.meal-date{display:grid;gap:7px;font-size:11px;flex-shrink:0}.meal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.meal-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:23px;padding:30px;background:linear-gradient(135deg,#fff5dd,#ffe8cd);color:#4e422b;min-width:0}.meal-card.dinner{background:linear-gradient(135deg,#edf3e4,#dce9d0);color:#324b36}.dark .meal-card{background:linear-gradient(135deg,#423b2d,#4f3d2f);color:#f4e5ce}.dark .meal-card.dinner{background:linear-gradient(135deg,#233c38,#2e473c);color:#dbe9df}.meal-card .eyebrow{color:inherit;opacity:.65;margin-bottom:0}.meal-top{display:flex;justify-content:space-between;align-items:center;min-height:80px;margin-bottom:20px}.meal-icon{display:grid;place-items:center;font-size:72px;width:110px;height:110px;flex-shrink:0;border-radius:50%;background:#ffffff65;box-shadow:0 10px 25px #4a382312;border:7px solid #ffffff35;transform:rotate(-8deg)}.meal-card h2{font-size:14px;letter-spacing:1px;text-transform:uppercase;opacity:.65;margin-bottom:9px}.meal-card h3{font-family:Manrope,sans-serif;font-size:27px;line-height:1.3;letter-spacing:-.8px;max-width:90%;margin-bottom:12px}.meal-card p{color:inherit;opacity:.75;font-size:13px}.meal-status{display:inline-block;border:1px solid currentColor;border-radius:20px;font-size:10px;padding:6px 11px;margin-top:17px;opacity:.7}.meal-notes{margin-top:16px;white-space:pre-wrap}.meal-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px}.meal-card details{border-top:1px solid #65744c33;margin-top:24px;padding-top:18px}.meal-card summary{cursor:pointer;min-height:30px;font-size:12px;font-weight:600}.meal-card details p{margin:10px 0 15px}.meal-card .secondary{background:#ffffff88;color:#324b36}.dark .meal-card .secondary{background:#ffffff15;color:#eaf1df}.idea-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.idea-card{text-align:left;padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;gap:12px;transition:transform .15s}.idea-card:hover{transform:translateY(-3px)}.idea-card>span{font-size:40px}.idea-card small{color:var(--muted);font-size:11px}.mini-meals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mini-meals .meal-card{padding:14px;border-radius:15px}.mini-meals .meal-top{min-height:35px;margin-bottom:10px}.mini-meals .eyebrow{display:none}.mini-meals .meal-icon{width:49px;height:49px;font-size:32px;border-width:3px}.mini-meals h2{font-size:10px}.mini-meals h3{font-size:16px;letter-spacing:-.4px;max-width:100%}.mini-meals p{font-size:10px}.mini-meals .meal-actions{margin-top:12px}.mini-meals button{font-size:10px;padding:8px;min-height:36px}.mini-meals .meal-status{font-size:9px;padding:4px 6px}.more-card{text-align:left;display:flex!important;align-items:center;gap:20px;min-height:140px}.more-card>span{font-size:35px}.more-card>div{flex:1}.more-card p{margin-top:8px}.meal-home{grid-column:span 1}@media(max-width:1050px){.mini-meals{grid-template-columns:1fr 1fr}.idea-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.meal-grid{grid-template-columns:1fr}.meal-card{padding:24px}.meal-card h3{font-size:25px}.food-banner{flex-direction:column;align-items:stretch}.meal-date{max-width:100%}.idea-grid{gap:10px}.idea-card{padding:17px}.focus-strip{padding:18px;flex-wrap:wrap}.focus-strip strong{font-size:21px}.event .time{min-width:80px}.form-pair{gap:8px}.mini-meals h3{font-size:16px}}@media(prefers-reduced-motion:reduce){.idea-card{transition:none}}
.meal-creation{display:flex;flex-direction:column;gap:12px}.ai-status{padding:12px 15px;border-radius:12px;background:var(--yellow);font-size:12px;margin-bottom:20px}.ai-status.connected{background:var(--soft)}#creatorForm{display:grid;gap:15px}#creatorForm label{display:grid;gap:7px;font-size:12px;font-weight:600}#creatorError{color:#b95635}.worksheet article{padding:20px 0;border-bottom:1px solid var(--line)}.worksheet h3{font-size:15px;line-height:1.6}.answer-space{height:65px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:10px;padding:10px;margin:12px 0}.worksheet details,.answer-key{font-size:12px;line-height:1.6}.worksheet summary,.answer-key summary,.ai-meal summary{cursor:pointer;min-height:36px;padding-top:8px}.answer-key{background:var(--soft);border-radius:12px;padding:15px;margin-top:20px}.answer-key p{margin:12px 0;color:var(--text)}.ai-meal{margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:17px}.ai-meal h2{margin:15px 0 10px}.ai-meal li{margin-bottom:8px;font-size:13px;line-height:1.5}.ai-meal .primary{margin-top:15px}.explore-suggestion{margin-top:15px;color:var(--accent)}.explorer-panel{margin-top:24px;background:var(--card)}.explorer-panel>.cardhead{align-items:center}.explorer-rules{display:flex;gap:14px;flex-wrap:wrap;align-items:center;background:var(--soft);padding:17px;border-radius:14px;margin:20px 0}.explorer-rules>span{font-size:13px}.explorer-rules b{color:var(--accent)}.explorer-rules small{color:var(--muted);margin-left:auto}.explorer-child{padding:22px;background:var(--bg);border:1px solid var(--line);border-radius:18px}.explorer-child h3{display:flex;align-items:center;gap:8px}.passport-badge{font-size:21px;letter-spacing:-.5px;margin:18px 0 12px;font-family:Manrope,sans-serif}.explorer-mission{padding:18px;background:var(--card);border:1px solid var(--line);border-radius:14px;margin-top:16px}.explorer-mission .cardhead{margin-bottom:8px}.explorer-mission p{font-size:12px}.explorer-mission button{font-size:11px;line-height:1.5}.mission-track{display:flex;gap:6px;margin:15px 0}.mission-track span{font-size:10px;border:1px solid var(--line);padding:6px 8px;border-radius:8px;color:var(--muted);opacity:.55}.mission-track .achieved{background:var(--soft);color:var(--accent);opacity:1}.reaction{padding:12px;background:var(--yellow);border-radius:10px;color:var(--text)}@media(max-width:640px){.explorer-panel>.cardhead{align-items:flex-start;flex-direction:column}.explorer-child{padding:16px}.explorer-rules{gap:10px}.explorer-rules small{margin-left:0}.meal-creation{width:100%}}
/* Family clubhouse */
:root{--bg:#fff9ef;--card:#fffefa;--text:#192348;--muted:#59617b;--line:#e8e4f1;--accent:#7047eb;--soft:#eee6ff;--shadow:0 8px 28px #34295709;--blue:#e2f4ff;--pink:#ffe3e5;--purple:#eee2ff;--yellow:#fff0bb}
body{background:radial-gradient(ellipse at 95% 0,#ffe1d880,transparent 40%),var(--bg)}h1,h2,h3,.brand{font-family:ui-rounded,'Arial Rounded MT Bold',Manrope,system-ui,sans-serif;font-weight:800}h1{font-size:clamp(26px,3vw,38px);letter-spacing:-1px}.brandmark{background:#ffce43;color:#192348;box-shadow:3px 3px 0 #f8b855}.brand small{letter-spacing:1.6px;color:#7047eb;font-weight:800}.top{align-items:center}.profile{flex-direction:column;gap:4px;border-radius:20px;padding:7px;min-width:59px;font-weight:700}.profile.active{border:2px solid var(--accent);background:var(--soft)}.avatar{width:43px;height:43px;vertical-align:middle}.illustrated-avatar{background:transparent!important}.portrait{display:inline-block;position:relative;width:100%;height:100%;aspect-ratio:1;border-radius:50%;isolation:isolate;overflow:hidden;border:3px solid var(--personal,#7047eb);background:#fff8ee;vertical-align:middle}.portrait img{display:block;width:100%;height:100%;object-fit:cover}.avatar-outfit{position:absolute;bottom:-1%;left:10%;width:80%;height:30%;border-radius:45% 45% 0 0;display:flex;justify-content:center;align-items:center;font-size:1.2em;border-top:3px solid #ffffff80;box-shadow:inset 12px 0 #ffffff25,inset -12px 0 #00000012}.avatar-outfit.soccer{background-image:linear-gradient(90deg,transparent 36%,#fff8 36%,#fff8 44%,transparent 44%,transparent 56%,#fff8 56%,#fff8 64%,transparent 64%)!important}.avatar-outfit.space{border:5px solid #d9e8ef}.avatar-outfit.chef{background:#fff!important;border-color:#ddd}.avatar-extra{position:absolute;top:0;right:3%;font-size:1.3em;filter:drop-shadow(0 2px 2px #0002)}.avatar .avatar-extra{font-size:14px}.avatar .avatar-outfit{font-size:10px}.avatar .portrait{border-width:2px}.primary{background:var(--accent);color:#fff;border-radius:16px;box-shadow:0 4px 0 #5230bd;font-weight:800;min-height:44px}.primary:disabled{box-shadow:none}.secondary{background:var(--card);border:1px solid var(--line);border-radius:14px;min-height:42px;font-weight:700}.smallbtn{min-height:36px}.card,.banner{border-radius:25px}.badge{font-weight:800}.nav{border-radius:24px 24px 0 0;box-shadow:0 -4px 22px #34295709}.nav button.active{color:var(--accent);background:var(--soft);border-radius:15px}.club-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 34px;margin-bottom:24px;border-radius:30px;background:linear-gradient(115deg,#d7f7f3,#e8f5ff 70%,#e8ddff);color:#192348;overflow:hidden;min-height:225px;position:relative}.club-welcome h2{font-size:clamp(28px,4vw,44px);line-height:1.15;margin-bottom:12px}.club-welcome p{font-size:18px;color:#384366}.club-welcome .eyebrow{color:#4a5480}.welcome-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.welcome-chips span,.welcome-chips button{padding:11px 16px;border-radius:25px;background:#ffe89d;color:#423514;font-weight:800}.welcome-chips button{background:#fff;color:#5230bd}.hero-avatar{width:190px;height:190px;flex-shrink:0;font-size:45px;padding:0;transform:rotate(3deg)}.hero-avatar .portrait{border-width:5px;box-shadow:0 10px 20px #3852641c}.quest-grid{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:20px;margin-bottom:24px}.homework-quest{background:linear-gradient(140deg,#eadcff,#f5edff)}.little-wins{background:linear-gradient(140deg,#d9f6f1,#effcfa)}.today-plans{background:#fff0ce}.quest-sticker{font-size:42px;transform:rotate(8deg)}.quest-grid .cardhead{margin-bottom:12px}.quest-grid .card{display:flex;flex-direction:column}.quest-grid .full{margin-top:auto}.quest-grid .progress{margin:22px 0}.quest-grid .row{background:#ffffff85;border-radius:14px;margin-bottom:8px;padding:12px;gap:10px}.quest-grid .check{background:#fff;border-radius:8px;width:27px;height:27px}.quest-grid .checked{background:#008b87;color:white}.club-bottom{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin-bottom:24px}.kitchen-feature{display:grid;grid-template-columns:1fr 1fr;padding:0;overflow:hidden;background:#fff0b9}.food-photo{min-height:280px;position:relative}.food-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.food-photo>span{position:absolute;bottom:15px;left:15px;padding:6px 10px;background:#fffdf3e8;color:#373248;border-radius:14px;font-size:11px}.kitchen-copy{padding:28px;align-self:center}.kitchen-copy h2{font-size:27px;margin-bottom:12px}.kitchen-copy .primary{margin-top:18px;background:#d94460;box-shadow:0 4px 0 #a72b43}.passport-teaser{background:#f0e8ff;position:relative}.passport-teaser h2{font-size:23px;margin:10px 0}.big-sticker{float:right;font-size:48px}.badge-shelf{display:flex;justify-content:space-between;gap:12px;margin:20px 0}.badge-shelf>span{width:70px;text-align:center;font-size:34px;background:#fff;border:3px solid #e1c4ff;border-radius:50%;padding:7px;box-shadow:0 4px 0 #d8c8ef}.badge-shelf small{display:block;font-size:10px;color:#4a4264}.studio-settings{margin-bottom:24px}.studio-family{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:24px}.studio-family button{display:flex;align-items:center;flex-direction:column;gap:10px}.studio-family .portrait{width:110px;height:110px;font-size:28px}.studio-family button>span:last-child{font-size:12px;color:var(--accent)}.studio-banner{width:100%;display:flex;align-items:center;gap:20px;text-align:left;background:var(--purple);margin-bottom:20px}.studio-banner>span{font-size:44px}.studio-banner b{margin-left:auto}.studio-preview{text-align:center;padding:15px;border-radius:24px;background:linear-gradient(130deg,#e3f7f3,#efe3ff);margin-bottom:20px;color:#192348}.studio-preview .portrait{width:200px;height:200px;font-size:48px}.studio-preview h3{margin:12px 0 0}fieldset{border:0;margin:18px 0;padding:0;min-width:0}legend{font-weight:800;margin-bottom:12px}.character-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.character-choice{min-width:0;padding:5px;border:2px solid transparent;border-radius:16px;background:var(--soft);display:flex;align-items:center;flex-direction:column;gap:5px}.character-choice img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}.character-choice span{font-size:11px}.character-choice.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--card)}.colour-choices{display:flex;gap:12px}.colour-choices button{width:44px;height:44px;border-radius:50%;font-size:24px;color:#fff;border:3px solid #fff;box-shadow:0 0 0 1px #bbb}.meal-art{height:130px;border-radius:18px;background:radial-gradient(circle at 50% 50%,#fff9 0 30%,transparent 31%),linear-gradient(135deg,#ffe6a5,#ffbcb9);display:grid;place-items:center;margin-bottom:18px;overflow:hidden}.meal-art span{font-size:75px;filter:drop-shadow(0 8px 8px #74482b25);transform:rotate(-8deg)}.dinner .meal-art{background:radial-gradient(circle at 50% 50%,#fff9 0 30%,transparent 31%),linear-gradient(135deg,#d2eec3,#b5e8df)}.meal-icon{display:none}.explorer-panel{background:linear-gradient(145deg,#fff9e8,#f3ebff)}.explorer-child{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px}.passport-badge{background:linear-gradient(110deg,#ffe1a1,#e9d5ff);color:#392b60;border:2px solid #fff;border-radius:24px;padding:16px!important;box-shadow:0 5px 0 #decdea;font-size:20px!important}.explorer-mission{background:var(--card)}.mission-track .achieved{background:#c7f2df;color:#185139}.homework-item{border-top:5px solid #a98aff}.homework-item:nth-child(even){border-top-color:#26b8b0}.rewardicon{background:var(--yellow);width:85px;height:85px;border-radius:24px;display:grid;place-items:center;transform:rotate(-5deg)}.reward{border-bottom:5px solid #e4d7ff}.progress span{background:linear-gradient(90deg,#00a99b,#36cbbd)}.celebration{position:fixed;inset:0;z-index:9999;pointer-events:none;overflow:hidden}.celebration span{position:absolute;top:-40px;color:#ac53ed;font-size:25px;animation:confetti 1.6s ease-in forwards;animation-delay:calc(var(--i)*25ms)}@keyframes confetti{to{transform:translateY(100vh) rotate(340deg);opacity:0}}
body.dark{--bg:#181c32;--card:#252b45;--text:#f6f2ff;--muted:#c0c6de;--line:#414962;--accent:#b7a0ff;--soft:#39344f;--purple:#35304c;--yellow:#453e2d;background:var(--bg)}body.dark .primary{background:#7050d5;color:white}body.dark .club-welcome,body.dark .homework-quest,body.dark .little-wins,body.dark .today-plans,body.dark .kitchen-feature,body.dark .passport-teaser,body.dark .explorer-panel{background:var(--card);color:var(--text)}body.dark .club-welcome p,body.dark .club-welcome .eyebrow{color:var(--muted)}body.dark .quest-grid .row{background:#303953}body.dark .note{background:#3d3545}body.dark .meal-card{background:var(--card)}
@media(min-width:1100px){.top{gap:30px}.profiles{gap:13px}.profile{min-width:65px}.profile .avatar{width:50px;height:50px}}
@media(max-width:1000px){.quest-grid{grid-template-columns:1fr 1fr}.today-plans{grid-column:1/-1}.club-bottom{grid-template-columns:1.3fr 1fr}.kitchen-feature{display:flex;flex-direction:column}.food-photo{min-height:190px}.kitchen-copy{padding:22px}.top{align-items:flex-start;flex-direction:column}.profiles{align-self:flex-start}.club-welcome{padding:24px}.hero-avatar{width:150px;height:150px}}
@media(max-width:600px){.family-layout{padding:20px 16px 105px}header{padding:16px}.top{gap:16px;margin-bottom:18px}h1{font-size:27px}.profiles{width:100%;justify-content:space-between;gap:3px}.profile{padding:5px;min-width:49px;font-size:11px}.profile .avatar{width:42px;height:42px}.club-welcome{padding:22px 18px;min-height:200px;gap:10px;border-radius:24px}.club-welcome h2{font-size:28px}.club-welcome p{font-size:14px}.club-welcome .eyebrow{font-size:8px;letter-spacing:1px}.hero-avatar{width:112px;height:112px;font-size:27px}.welcome-chips{gap:6px;margin-top:13px}.welcome-chips span,.welcome-chips button{font-size:11px;padding:9px 11px}.quest-grid{grid-template-columns:1fr;gap:15px}.quest-grid .today-plans{grid-column:auto}.club-bottom{grid-template-columns:1fr;gap:15px}.kitchen-feature{display:grid;grid-template-columns:42% 58%}.food-photo{min-height:235px}.kitchen-copy{padding:18px}.kitchen-copy h2{font-size:22px}.kitchen-copy p{font-size:12px}.kitchen-copy .eyebrow{font-size:8px}.kitchen-copy .primary{font-size:12px}.card{padding:20px}.kitchen-feature{padding:0}.studio-family{grid-template-columns:repeat(2,1fr);gap:22px}.studio-family .portrait{width:100px;height:100px}.character-grid{gap:6px}.character-choice span{font-size:9px}.studio-preview .portrait{width:170px;height:170px}dialog{padding:20px;max-height:90dvh}.explorer-child{padding:15px}.explorer-panel>.cardhead{align-items:flex-start;flex-direction:column}.club-welcome .portrait{border-width:3px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
.kitchen-cover{height:230px;border-radius:28px;overflow:hidden;position:relative;margin-bottom:20px;background:#fff0b9}.kitchen-cover img{position:absolute;right:0;top:0;width:62%;height:100%;object-fit:cover}.kitchen-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff0b9 30%,#fff0b900 75%);pointer-events:none}.kitchen-cover>div{position:relative;z-index:1;padding:40px 30px;color:#192348}.kitchen-cover h2{font-size:32px;line-height:1.2}.kitchen-cover .eyebrow{color:#605327}@media(max-width:600px){.kitchen-cover{height:180px}.kitchen-cover>div{padding:30px 20px}.kitchen-cover h2{font-size:25px}.kitchen-cover img{width:70%}}
/* Real coordinated avatar layers */
.layered-portrait{background:linear-gradient(145deg,#edf9f3,#e9e1ff);overflow:hidden}.layered-portrait svg{display:block;width:100%;height:100%;overflow:visible}.avatar .layered-portrait svg{width:145%;height:145%;max-width:none;margin-left:-22.5%;margin-top:-5%}.hero-avatar .layered-portrait svg{height:130%;width:130%;margin-left:-15%;margin-top:-3%}.studio-family .layered-portrait svg{height:130%;width:130%;margin-left:-15%;margin-top:-3%}dialog.layered-studio{width:min(960px,96vw);max-width:960px;max-height:min(880px,94dvh);padding:22px;overflow:hidden;color:var(--text);background:var(--card)}.layered-studio .dialoghead{margin-bottom:14px}.layered-studio .dialoghead h2{font-size:22px}.studio-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;height:min(610px,65dvh);min-height:0}.studio-stage{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:linear-gradient(140deg,#e0f7f2,#eee3ff);border-radius:24px;padding:18px;color:#192348}.studio-stage #studioAvatar{width:100%;max-width:210px;height:280px;flex-shrink:0}.studio-stage .portrait{width:100%;height:100%;border:0;border-radius:0;background:none;overflow:visible}.studio-stage-info{width:100%;text-align:center}.studio-stage-info label{text-align:left}.studio-stage-info select{background:#fff;color:#192348;border:1px solid #d4d6e2}.studio-stage-info strong{display:block;margin-top:14px;font-size:17px}.studio-stage-info p{font-size:12px;color:#555c79;margin-top:4px}.studio-controls{display:flex;flex-direction:column;min-height:0;min-width:0}.studio-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px;flex-shrink:0}.studio-tabs button{border:1px solid var(--line);border-radius:12px;min-height:43px;font-weight:800;font-size:13px}.studio-tabs button.active{color:white;background:#7047eb;border-color:#7047eb}.studio-option-scroll{overflow:auto;overscroll-behavior:contain;padding:3px 5px 15px 2px;min-height:0;scrollbar-gutter:stable}.studio-option-scroll h3{margin:15px 0 10px}.studio-option-scroll h3:first-child{margin-top:0}.studio-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 22px}.studio-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50px;padding:8px 5px;border-radius:15px;border:2px solid var(--line);background:var(--card);color:var(--text);position:relative}.studio-choice.selected{border-color:#7047eb;background:var(--soft);box-shadow:0 0 0 1px #7047eb}.studio-choice.selected:after{content:'✓';position:absolute;top:4px;right:5px;color:white;background:#7047eb;font-size:11px;font-weight:900;width:17px;height:17px;border-radius:50%;display:grid;place-items:center}.studio-choice svg{height:105px;width:90px;max-width:100%;margin:0 auto}.studio-choice small{font-size:11px;font-weight:700;margin-top:5px;text-align:center}.studio-choice>span:not(.swatch){font-size:12px;font-weight:700}.studio-swatches{grid-template-columns:repeat(4,minmax(0,1fr))}.swatch{width:34px;height:34px;border-radius:50%;border:2px solid #ffffffaa;box-shadow:0 1px 4px #0002}.studio-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:16px;margin-top:12px;border-top:1px solid var(--line)}.studio-footer .primary{min-width:170px}.dark .studio-stage{background:#35344e;color:#f6f2ff}.dark .studio-stage-info p{color:#cbc5db}.dark .studio-stage-info select{background:#252b45;color:#f6f2ff}.dark .layered-portrait{background:linear-gradient(145deg,#30494b,#3b3553)}
@media(max-width:650px){dialog.layered-studio{width:calc(100vw - 18px);max-width:none;height:min(880px,94dvh);max-height:94dvh;padding:16px 14px;border-radius:24px}.layered-studio .dialoghead{margin-bottom:10px}.layered-studio .dialoghead h2{font-size:19px}.layered-studio .dialoghead .eyebrow{font-size:9px;margin-bottom:4px}.layered-studio .dialoghead .iconbutton{width:36px;height:36px;flex-shrink:0}.studio-workspace{display:flex;flex-direction:column;gap:10px;height:calc(100% - 132px);min-height:0}.studio-stage{flex-direction:row;justify-content:center;gap:15px;padding:8px 14px;height:170px;flex-shrink:0;border-radius:18px}.studio-stage #studioAvatar{height:160px;width:120px;flex-shrink:0}.studio-stage-info{width:auto;min-width:0;flex:1;max-width:210px;text-align:left}.studio-stage-info label{font-size:11px;margin:0}.studio-stage-info select{padding:9px;min-height:40px;width:100%}.studio-stage-info strong{font-size:15px;margin-top:10px}.studio-stage-info p{font-size:10px}.studio-controls{flex:1;min-height:0}.studio-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-bottom:8px}.studio-tabs button{font-size:10px;padding:4px 2px;border-radius:9px;min-height:40px}.studio-options{gap:7px;margin-bottom:15px}.studio-choice svg{height:93px;width:75px}.studio-footer{margin-top:8px;padding-top:10px;justify-content:space-between}.studio-footer .primary{min-width:155px}.studio-option-scroll{scrollbar-gutter:auto}.studio-option-scroll h3{font-size:14px}}@media(max-height:650px){.studio-stage #studioAvatar{height:130px;width:98px}.studio-stage{height:142px}.studio-stage-info p{display:none}.studio-workspace{height:calc(100% - 125px)}}

/* 3D cartoon art replaces flat character drawings. */
.layered-portrait{background:linear-gradient(145deg,#e7faf5,#ede4ff)}.studio-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.studio-choice svg{height:130px;width:100px}.studio-stage #studioAvatar{max-width:230px;height:300px}.studio-stage .portrait{background:transparent}.studio-choice{overflow:hidden}.studio-options{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:650px){.studio-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.studio-tabs button{font-size:11px}.studio-stage #studioAvatar{height:160px;width:124px}.studio-choice svg{height:110px;width:85px}}

.food-challenges{margin-top:25px;background:linear-gradient(145deg,var(--card),var(--soft))}.food-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.food-summary{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.food-summary span{background:var(--card);padding:10px 16px;border-radius:20px;font-weight:700}.food-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.food-challenge{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px;min-width:0}.food-challenge h3{font-size:23px;margin-bottom:10px}.food-challenge .cardhead{margin-bottom:14px;flex-wrap:wrap}.food-point-row{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.food-point-row span{background:var(--soft);padding:8px 11px;border-radius:12px;font-size:12px}.food-child{padding-top:16px;margin-top:16px;border-top:1px solid var(--line)}.food-child>strong{display:flex;align-items:center;gap:10px;margin-bottom:10px}.food-first{margin:12px 0;color:var(--accent);font-weight:800}.food-history,.legacy-food{margin:24px 0}.food-history summary,.legacy-food>summary{cursor:pointer;font-weight:800;padding:12px}.first-confirm{display:flex!important;align-items:center;gap:12px}.first-confirm input{width:22px;height:22px;flex-shrink:0}@media(max-width:700px){.food-board{grid-template-columns:1fr}.food-challenges>.cardhead{align-items:flex-start;flex-direction:column}.food-challenge{padding:16px}.food-challenge h3{font-size:21px}}

/* Approved complete characters: a single image for each look. */
.complete-portrait{background:#f7f5ef}.complete-portrait img{width:100%;height:100%;object-fit:cover}.complete-figure{display:block;width:100%;height:100%;object-fit:contain}.complete-studio{width:min(940px,96vw);max-width:940px;height:min(850px,93dvh);max-height:93dvh;padding:22px;overflow:hidden}.complete-studio .dialoghead{margin-bottom:15px}.complete-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;height:calc(100% - 140px);min-height:0}.complete-stage{border-radius:24px;display:flex;flex-direction:column;align-items:center;padding:12px;min-height:0;color:#192348}.complete-stage .complete-figure{flex:1;min-height:0;border-radius:18px}.complete-stage>strong{padding:12px 0 4px;font-size:18px}.complete-controls{display:flex;flex-direction:column;min-height:0;min-width:0}.complete-controls>label{margin:0 0 15px}.complete-option-scroll{overflow:auto;min-height:0;padding-right:5px;overscroll-behavior:contain}.complete-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 24px}.complete-choice{position:relative;display:flex;flex-direction:column;align-items:center;border:2px solid var(--line);padding:7px;border-radius:18px;background:var(--card);min-width:0}.complete-choice img{display:block;width:100%;height:170px;object-fit:contain;border-radius:12px}.complete-choice strong{font-size:13px;margin-top:8px}.complete-choice small{font-size:10px;color:var(--muted);padding:5px 0}.complete-choice.selected{border-color:var(--accent);background:var(--soft)}.complete-choice.selected:after{content:'✓';position:absolute;right:8px;top:8px;background:var(--accent);color:#fff;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-weight:800}.complete-note{margin:14px 0}.complete-studio .studio-footer{margin-top:12px}.complete-studio .dialoghead h2{font-size:23px}
@media(max-width:650px){dialog.complete-studio{width:calc(100vw - 18px);height:94dvh;max-height:94dvh;padding:15px 13px}.complete-studio .dialoghead{margin-bottom:10px}.complete-studio .dialoghead h2{font-size:19px}.complete-studio .dialoghead .eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:4px}.complete-studio .dialoghead .iconbutton{width:36px;height:36px;flex-shrink:0}.complete-workspace{grid-template-columns:1fr;display:flex;flex-direction:column;height:calc(100% - 128px);gap:10px}.complete-stage{height:180px;flex-shrink:0;flex-direction:row;justify-content:center;padding:5px 14px;gap:15px}.complete-stage .complete-figure{height:170px;width:118px;flex:0 0 118px;min-height:0}.complete-stage>strong{font-size:19px;max-width:150px}.complete-controls{flex:1;min-height:0}.complete-controls>label{font-size:11px;margin-bottom:9px}.complete-controls select{padding:9px}.complete-choices{gap:8px;margin-top:12px}.complete-choice img{height:155px}.complete-studio .studio-footer{padding-top:10px;margin-top:9px}.complete-studio .studio-footer .primary{min-width:155px}}

.base-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0 22px}.base-choices button{border:2px solid var(--line);border-radius:15px;padding:5px;background:var(--card);min-width:0}.base-choices img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px}.base-choices span{display:block;font-size:10px;font-weight:800;margin:5px 0}.base-choices .selected{border-color:var(--accent);background:var(--soft)}.hair-colour-choices{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}.hair-colour-choices button{display:flex;align-items:center;gap:7px;padding:9px 12px;border:2px solid var(--line);border-radius:14px;font-weight:700;font-size:12px;min-height:44px}.hair-colour-choices .selected{border-color:var(--accent);background:var(--soft)}.hair-swatch{width:23px;height:23px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #aaa}.complete-option-scroll h3{margin-top:12px}

.eye-colour-swatch{display:inline-block;width:26px;height:19px;border-radius:70% 20%;transform:rotate(35deg);background:radial-gradient(circle,#141a26 0 17%,var(--iris) 18% 42%,#fff 43%);border:1px solid #b7b8c6;box-shadow:0 1px 3px #0001}
/* Earned wardrobe and family creation studio */
.unlock-banner{background:linear-gradient(125deg,#f7dcff,#e0e9ff 55%,#d8f5ed);color:#252647}.unlock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.unlock-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.unlock-art{height:220px;position:relative;background:radial-gradient(circle at 50% 30%,#eee4ff,#dce9ff);display:grid;place-items:center;overflow:hidden}.unlock-art.revealed{background:radial-gradient(circle at 50% 30%,#fff1c8,#d7f4e6)}.unlock-art>img{height:100%;width:100%;object-fit:contain}.unlock-tag{position:absolute;bottom:12px;left:12px;padding:7px 13px;background:#fff;color:#41336b;border-radius:30px;font-size:12px;font-weight:800}.unlock-copy{padding:22px;display:flex;flex-direction:column;gap:12px;flex:1}.unlock-copy>p{font-size:13px;line-height:1.6}.unlock-copy h2{font-size:20px}.unlock-copy .progress{margin-top:auto}.mystery-avatar{height:170px;width:130px;position:relative;filter:drop-shadow(0 10px 8px #493f6a18)}.mystery-head{display:block;position:absolute;top:0;left:36px;width:58px;height:66px;border-radius:48% 48% 43% 43%;background:#81769f}.mystery-body{position:absolute;top:57px;left:12px;width:106px;height:110px;border-radius:48% 48% 20% 20%;background:linear-gradient(#81769f,#62597d)}.mystery-avatar b{position:absolute;top:83px;left:44px;font-size:35px}.revealed .mystery-head{background:#6d91ab}.revealed .mystery-body{background:linear-gradient(#6d91ab,#397e89)}.art-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:18px;margin-top:20px}.art-gallery article{border:1px solid var(--line,#e6e1ed);padding:12px;border-radius:20px;display:flex;flex-direction:column;gap:10px;min-width:0}.art-gallery img,.art-placeholder{height:240px;width:100%;object-fit:contain;background:#faf7ef;border-radius:14px}.art-gallery p{font-size:12px;overflow-wrap:anywhere}.art-placeholder{display:grid;place-items:center}.art-review{display:block;max-height:58vh;max-width:100%;margin:10px auto 20px;border-radius:22px}.reward-portrait{overflow:hidden}.reward-portrait img{object-fit:cover!important;object-position:50% 0%!important;transform:scale(1.9);transform-origin:50% 15%}.saved-spark{padding:20px 0;border-bottom:1px solid var(--line,#e6e1ed)}.saved-spark p{line-height:1.8;margin-top:14px}.saved-spark summary{cursor:pointer;font-weight:800}.dark .unlock-banner{background:linear-gradient(125deg,#40324f,#273e52);color:#fff}.dark .unlock-art{background:radial-gradient(circle,#493e61,#2b3647)}.dark .unlock-art.revealed{background:radial-gradient(circle,#41554b,#2b3647)}
@media(max-width:1200px){.unlock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.unlock-grid{grid-template-columns:minmax(0,1fr)}.unlock-art{height:240px}.unlock-copy{padding:20px}.art-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.art-gallery img,.art-placeholder{height:190px}.art-gallery button{font-size:12px}.unlock-banner{align-items:stretch}.unlock-banner select{width:100%}}
/* The family table: today, the week and everyone's ideas. */
.today-menu-hero{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:#fff2c9;margin-bottom:24px;min-width:0}.today-menu-copy{padding:32px;color:#262b47}.today-menu-copy h2{font-size:clamp(26px,3vw,42px);line-height:1.12;letter-spacing:-1px;margin-bottom:20px}.today-menu-summary{display:grid;gap:10px;margin-bottom:18px}.today-menu-item{text-align:left;padding:12px 15px;background:#ffffff65;border-radius:16px;border:2px solid transparent;display:grid;gap:4px;min-width:0}.today-menu-item.active{border-color:#b87b38;background:#fff9ed}.today-menu-item span{font-size:12px;font-weight:700;color:#795e36}.today-menu-item strong{font-size:16px;overflow-wrap:anywhere;color:#262b47}.today-menu-photo{position:relative;min-height:340px;overflow:hidden}.today-menu-photo>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.meal-photo-caption{position:absolute;top:15px;right:15px;left:15px;width:fit-content;background:#fffefaeb;color:#3e493b;border-radius:20px;padding:7px 12px;font-size:11px;font-weight:700}.meal-image-button{position:absolute;bottom:20px;left:20px;right:20px;background:#fffdf4ed;color:#3a3158;border-radius:15px;padding:14px;font-weight:800;box-shadow:0 4px 20px #25243b16}.meal-week{margin-bottom:24px}.meal-week-nav{display:flex;align-items:center;gap:8px;flex-shrink:0}.meal-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.week-meal-day{min-width:0;border:1px solid var(--line);border-radius:17px;padding:8px;background:var(--bg)}.week-meal-day.is-today{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.week-meal-day.is-selected{background:var(--soft)}.week-meal-date{width:100%;display:grid;justify-items:center;padding:8px;gap:2px;border-radius:10px;min-height:76px}.week-meal-date small{font-size:11px;text-transform:uppercase;color:var(--muted)}.week-meal-date strong{font-size:23px}.week-meal-date>span{font-size:9px;color:var(--accent);font-weight:800}.week-meal-slot{display:flex;flex-direction:column;gap:8px;text-align:left;border-radius:12px;padding:11px 8px;background:var(--card);width:100%;margin-top:8px;min-height:122px;border:1px solid var(--line);overflow-wrap:anywhere}.week-meal-slot span{font-size:10px;color:var(--muted)}.week-meal-slot b{font-size:12px;line-height:1.5}.week-meal-slot small{font-size:9px;margin-top:auto;color:var(--muted)}.week-meal-slot.lunch.has-plan{background:#fff1cd;color:#574426;border-color:#f2dab0}.week-meal-slot.dinner.has-plan{background:#dff2e9;color:#284d43;border-color:#bfddd0}.week-meal-slot.has-plan span,.week-meal-slot.has-plan small{color:inherit;opacity:.8}.meal-voting,.meal-image-gallery{margin-top:24px}.meal-suggestion-actions,.meal-image-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.meal-review-actions{display:flex;flex-wrap:wrap;gap:6px}.meal-request-list .row{gap:12px}.meal-request-list .grow{min-width:0;overflow-wrap:anywhere}.meal-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.meal-image-grid article{min-width:0;overflow:hidden;border-radius:18px;border:1px solid var(--line);background:var(--bg)}.meal-image-grid article>img{width:100%;aspect-ratio:3/2;object-fit:cover}.meal-image-grid article>div{padding:15px;display:grid;gap:10px}.meal-image-grid article p{font-size:11px}.meal-art-review{width:100%;max-height:55vh;object-fit:contain;border-radius:20px;margin:12px 0 20px}.dark .today-menu-hero{background:#393347}.dark .today-menu-copy,.dark .today-menu-copy .eyebrow{color:#f9efd7}.dark .today-menu-item{background:#ffffff0c}.dark .today-menu-item.active{background:#ffffff16;border-color:#ccb98e}.dark .today-menu-item strong,.dark .today-menu-item span{color:#f9efd7}.dark .week-meal-slot.lunch.has-plan{background:#4a4030;color:#f8e8c9;border-color:#786347}.dark .week-meal-slot.dinner.has-plan{background:#29483f;color:#d9f2e6;border-color:#476b5f}
@media(max-width:1100px){.meal-week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.meal-week-head{flex-wrap:wrap;gap:14px}.meal-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.today-menu-hero{grid-template-columns:minmax(0,1fr)}.today-menu-copy{padding:24px}.today-menu-copy h2 br{display:none}.today-menu-copy h2{font-size:29px}.today-menu-photo{min-height:235px}.today-menu-summary{grid-template-columns:1fr 1fr;gap:8px}.today-menu-item{padding:12px 10px}.today-menu-item strong{font-size:14px}.meal-week{padding:18px}.meal-week-grid{grid-template-columns:minmax(0,1fr);gap:8px}.week-meal-day{display:grid;grid-template-columns:48px 1fr 1fr;gap:7px;padding:7px;align-items:stretch}.week-meal-date{min-height:88px;padding:6px 2px;align-content:center}.week-meal-date strong{font-size:21px}.week-meal-slot{margin:0;min-height:88px;padding:10px 8px}.meal-week-nav{width:100%;justify-content:space-between}.meal-suggestion-actions>button{width:100%}.meal-request-list .row{flex-wrap:wrap}.meal-review-actions{width:100%}.meal-image-grid{grid-template-columns:minmax(0,1fr)}.meal-image-gallery .cardhead,.meal-voting .cardhead{flex-wrap:wrap;gap:12px}}
/* Approved compact home, family adventures, reusable picture library. */
.countdown-strip{display:flex;align-items:stretch;background:var(--card);border:1px solid var(--line);border-radius:21px;padding:10px;margin-bottom:20px;gap:8px;min-width:0}.countdown-mini{flex:1;min-width:0;display:flex;align-items:center;gap:15px;text-align:left;padding:3px 12px 3px 3px}.countdown-mini+.countdown-mini{border-left:1px solid var(--line);padding-left:20px}.countdown-mini>img,.countdown-mini>.countdown-placeholder{width:108px;height:74px;object-fit:cover;border-radius:13px;flex-shrink:0}.countdown-placeholder{background:linear-gradient(125deg,#dcf2ea,#eee5ff);display:grid;place-items:center;font-size:35px}.countdown-mini-copy{flex:1;min-width:0;display:grid;gap:6px}.countdown-mini-copy strong{font:800 16px Manrope,sans-serif;overflow-wrap:anywhere}.countdown-mini-copy small{font-size:11px;color:var(--muted)}.countdown-mini-number{display:flex;gap:8px;align-items:center;color:var(--accent);flex-shrink:0}.countdown-mini-number b{font:800 34px Manrope,sans-serif;letter-spacing:-1px}.countdown-mini-number small{max-width:75px;font-size:11px;line-height:1.4}.countdown-more{display:grid;align-content:center;font-size:20px;color:var(--accent);padding:8px}.countdown-more span{font-size:10px}.countdown-empty{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 18px;border:1px dashed var(--line);border-radius:16px;margin-bottom:20px;color:var(--muted);font-size:12px}.countdown-empty>span{margin-right:auto}.home-daily-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:20px}.home-daily-grid>.card{padding:22px;min-width:0}.home-week-nav{display:flex;align-items:center;gap:5px}.home-week-nav .iconbutton{width:32px;height:32px}.home-week-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.home-week-picker button{background:var(--bg);border-radius:13px;display:grid;gap:5px;justify-items:center;align-content:center;min-height:70px;position:relative;padding:8px 2px}.home-week-picker small{font-size:10px;color:var(--muted)}.home-week-picker b{font-size:20px}.home-week-picker button.active{background:var(--accent);color:white}.home-week-picker button.active small{color:white}.home-week-picker span{position:absolute;bottom:1px;font-size:10px}.home-agenda-date{margin:13px 0 0!important;min-height:35px}.home-agenda-date>strong{font-size:12px}.home-agenda-events .event{padding:13px 0;min-height:64px}.home-agenda-events .event .time{min-width:80px;font-size:11px}.home-agenda-events .event .grow>strong{font-size:13px}.home-agenda-events .event .grow p{font-size:10px}.home-agenda-events .event-repeat{margin-top:3px!important}.home-menu-tiles{display:grid;grid-template-columns:1fr 1fr;gap:13px}.home-meal-tile{min-width:0;display:flex;flex-direction:column;gap:13px}.home-meal-photo{height:205px;position:relative;background:linear-gradient(125deg,#fff1d3,#f5e0ed);border-radius:17px;overflow:hidden;display:grid;place-items:center}.home-meal-photo>span{font-size:68px}.home-meal-photo>img{width:100%;height:100%;object-fit:cover}.home-meal-photo>small{position:absolute;left:10px;top:10px;background:#fffef8ed;color:#4a405a;border-radius:20px;padding:6px 11px;font-size:10px;font-weight:700}.home-meal-tile h3{font:800 17px Manrope,sans-serif;line-height:1.4;overflow-wrap:anywhere;margin-bottom:auto}.home-meal-tile .secondary{font-size:11px;padding:10px}.home-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:18px 0}.home-quick-card{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:19px;padding:23px;text-align:left;min-width:0}.home-quick-card>span{font-size:36px}.home-quick-card>div{flex:1;min-width:0}.home-quick-card h2{font-size:15px}.home-quick-card p{font-size:12px;margin-top:5px}.mint{background:#e1f5ec}.yellow{background:#fff1cb}.lavender{background:#eee7ff}.home-secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.trip-settings-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.countdown-settings{margin-bottom:24px}.countdown-settings>.trip-settings-actions{margin:20px 0 10px}.trip-setting-row{display:flex;align-items:center;gap:13px;width:100%;padding:12px 0;text-align:left;border-top:1px solid var(--line)}.trip-setting-row>img,.trip-setting-row>.countdown-placeholder{width:62px;height:48px;border-radius:10px;object-fit:cover;font-size:24px}.trip-setting-row>span:not(.countdown-placeholder){display:grid;gap:5px;flex:1}.trip-setting-row small{font-size:11px;color:var(--muted)}.adventure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.adventure-card{padding:0;overflow:hidden}.adventure-card-photo{height:190px;position:relative}.adventure-card-photo>img,.adventure-card-photo>.countdown-placeholder{width:100%;height:100%;object-fit:cover}.adventure-card-photo>span:not(.countdown-placeholder){position:absolute;bottom:12px;left:12px;background:#fffef8e8;color:#3e405c;border-radius:20px;padding:7px 12px;font-size:11px}.adventure-card-copy{padding:22px}.adventure-card-copy p{margin-top:7px}.adventure-number{display:flex;align-items:center;gap:12px;margin:15px 0;color:var(--accent)}.adventure-number b{font:800 44px Manrope,sans-serif;letter-spacing:-2px;line-height:1.2}.adventure-number span{font-size:12px;max-width:115px;line-height:1.5}.adventure-card.is-archived{opacity:.7}.adventure-editor{max-width:980px;width:calc(100% - 36px)}.trip-editor-layout{display:grid;grid-template-columns:1.35fr 1fr;gap:25px}.trip-editor-preview{border:1px solid var(--line);border-radius:21px;padding:18px;background:var(--bg);position:sticky;top:0}.trip-editor-preview>h3{font-size:13px;margin-bottom:15px}.trip-preview-photo{height:180px;border-radius:15px;overflow:hidden;margin-bottom:18px}.trip-preview-photo>img,.trip-preview-photo>.countdown-placeholder{height:100%;width:100%;object-fit:cover}.trip-home-toggle{display:flex!important;gap:10px;align-items:center;margin:20px 0!important}.trip-home-toggle input{width:20px!important;height:20px!important;accent-color:var(--accent)}.trip-photo-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.trip-photo-choice{padding:4px;border:2px solid transparent;border-radius:13px;width:100%;background:var(--bg)}.trip-photo-choice.selected{border-color:var(--accent)}.trip-photo-choice img{height:75px;width:100%;object-fit:cover;border-radius:8px}.trip-photo-choice span{display:block;font-size:9px;padding:5px 0}.trip-detail-cover{height:270px;border-radius:19px;overflow:hidden}.trip-detail-cover>img,.trip-detail-cover>.countdown-placeholder{width:100%;height:100%;object-fit:cover}.trip-detail-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:20px 0}.trip-detail-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.trip-detail-photos img{width:100%;height:120px;object-fit:cover;border-radius:13px}.gallery-toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.gallery-toolbar form{display:flex;gap:8px;flex:1;min-width:220px}.gallery-toolbar input{width:100%;min-width:0;padding:13px 16px;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:14px}.gallery-filters{display:flex;gap:5px}.gallery-filters button{border:1px solid var(--line);border-radius:25px;padding:11px 15px;font-size:12px}.gallery-filters button.active{background:var(--accent);color:white}.gallery-save-note{background:#e6f5ed;color:#3b655d;padding:12px 18px;border-radius:15px;font-size:12px;margin-bottom:22px}.saved-gallery-layout{display:grid;grid-template-columns:minmax(0,2.8fr) minmax(260px,1fr);gap:20px;align-items:start}.saved-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.saved-meal-card{border:1px solid var(--line);border-radius:19px;overflow:hidden;background:var(--card);min-width:0}.saved-meal-card.selected{border:2px solid var(--accent)}.gallery-image-select{width:100%;display:block;padding:0;position:relative}.gallery-image-select img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}.gallery-image-select>span{position:absolute;top:10px;right:10px;border-radius:50%;background:var(--accent);color:#fff;width:25px;height:25px;display:grid;place-items:center}.saved-meal-card>div{padding:14px}.saved-meal-card h2{font-size:15px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:12px}.saved-meal-card .cardhead{margin:0;gap:6px;flex-wrap:wrap}.saved-meal-card .secondary{padding:9px 12px;font-size:10px}.saved-meal-card .help{font-size:10px}.gallery-use-panel{position:sticky;top:20px;min-width:0;padding:20px}.gallery-use-preview{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:14px;margin:17px 0}.gallery-use-panel h3{font-size:16px;line-height:1.4;margin-bottom:12px}.gallery-use-panel form{margin-top:16px}.gallery-use-panel .primary{margin-top:15px}.gallery-use-panel .help{font-size:11px;margin:10px 0}.gallery-no-images{grid-column:1/-1;text-align:center;padding:55px 25px}.gallery-no-images>span{font-size:48px;display:block;margin-bottom:20px}.gallery-no-images p{margin-top:12px}.gallery-error{padding:12px 0;color:var(--text)}.dark .home-quick-card{background:var(--card)}.dark .gallery-save-note{background:#263e38;color:#c8e8d9}.dark .countdown-placeholder{background:linear-gradient(125deg,#2c4c44,#443458)}
@media(max-width:1150px){.saved-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.countdown-mini>img,.countdown-mini>.countdown-placeholder{width:77px;height:65px}.countdown-mini-number b{font-size:28px}.countdown-mini-copy strong{font-size:14px}.countdown-mini{gap:10px}.adventure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.saved-gallery-layout{grid-template-columns:minmax(0,1fr)}.gallery-use-panel{position:static}.saved-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-daily-grid{grid-template-columns:minmax(0,1fr)}.home-meal-photo{height:190px}.trip-editor-layout{grid-template-columns:minmax(0,1fr)}.trip-editor-preview{position:static}.trip-preview-photo{height:150px}.countdown-mini-number{display:grid;gap:0}.countdown-mini-copy small{font-size:10px}.home-quick-card{padding:17px;gap:10px}.home-quick-card>span{font-size:27px}.home-quick-card h2{font-size:13px}}
@media(max-width:600px){.countdown-strip{flex-wrap:wrap;padding:7px;gap:0}.countdown-mini{flex-basis:100%;padding:5px;gap:12px;min-height:74px}.countdown-mini+.countdown-mini{border-left:0;border-top:1px solid var(--line);padding:12px 5px 5px;margin-top:5px}.countdown-mini>img,.countdown-mini>.countdown-placeholder{width:75px;height:60px}.countdown-mini-copy strong{font-size:14px}.countdown-mini-copy small{font-size:10px}.countdown-mini-number{display:flex;gap:7px}.countdown-mini-number b{font-size:29px}.countdown-mini-number small{font-size:10px;max-width:70px}.countdown-more{width:100%;font-size:14px;display:flex;justify-content:center;gap:5px}.home-daily-grid{gap:15px}.home-daily-grid>.card{padding:18px}.home-menu-tiles{gap:10px}.home-meal-photo{height:150px}.home-meal-tile h3{font-size:15px}.home-quick-links{grid-template-columns:minmax(0,1fr);gap:9px;margin:15px 0}.home-quick-card{padding:16px 18px}.home-quick-card h2{font-size:15px}.home-quick-card>span{font-size:30px}.home-secondary-grid{grid-template-columns:minmax(0,1fr)}.adventure-grid{grid-template-columns:minmax(0,1fr)}.adventure-editor{width:calc(100% - 22px);padding:18px}.trip-detail-summary{align-items:flex-start;flex-wrap:wrap}.trip-detail-cover{height:200px}.trip-detail-photos{grid-template-columns:repeat(2,1fr)}.trip-photo-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-toolbar{gap:12px}.gallery-toolbar form{flex-basis:100%;min-width:0}.gallery-filters{flex:1}.gallery-toolbar>.primary{font-size:11px;padding:12px}.gallery-filters button{font-size:11px;padding:10px}.saved-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.saved-meal-card>div{padding:11px}.saved-meal-card h2{font-size:13px}.gallery-use-panel{padding:18px}.gallery-save-note{font-size:10px}.countdown-settings .cardhead{flex-wrap:wrap;gap:12px}}
.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}
/* Approved family likenesses; original avatar studio remains available. */
.personalized-portrait .family-face{display:block;width:100%;height:100%;overflow:hidden}.family-figure{display:block;width:100%;height:100%;max-height:64vh}.avatar-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 20px}.avatar-mode-choices>button{padding:16px 10px;border:2px solid var(--line);border-radius:19px;display:grid;justify-items:center;gap:8px;background:var(--card);min-width:0}.avatar-mode-choices>button.selected{border-color:var(--accent);background:var(--soft)}.avatar-mode-choices .portrait{height:80px;width:80px}.avatar-mode-choices strong{font-size:12px}.avatar-mode-choices small{font-size:10px;color:var(--muted)}.approved-family-note{padding:16px;background:var(--soft);border-radius:16px;margin-bottom:20px}.original-avatar-controls[hidden]{display:none!important}.family-look-settings{margin-bottom:24px}.family-look-settings>.trip-settings-actions{margin:20px 0 14px}.family-photo-settings{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;align-items:center;margin-top:24px;background:var(--bg);border:1px solid var(--line);border-radius:20px;overflow:hidden}.family-photo-settings>img{width:100%;height:220px;object-fit:cover}.family-photo-settings>div{padding:20px 20px 20px 0}.family-photo-settings p{font-size:12px;margin:10px 0 17px}.family-photo-full{width:100%;max-height:65vh;object-fit:contain;border-radius:17px;display:block}.family-photo-download{display:inline-block;margin-top:18px;text-decoration:none;padding:12px 18px;color:var(--text)}
@media(max-width:600px){.family-photo-settings{grid-template-columns:minmax(0,1fr);gap:0}.family-photo-settings>img{height:auto;aspect-ratio:3/2}.family-photo-settings>div{padding:20px}.avatar-mode-choices{gap:9px}.avatar-mode-choices .portrait{width:68px;height:68px}.avatar-mode-choices>button{padding:12px 7px}.family-figure{max-height:46vh}}

.family-career-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.family-career-choices button{min-width:0;background:#fffdf8;border:2px solid #ece4f4;border-radius:18px;padding:8px;cursor:pointer;color:#252345}.family-career-choices button.selected{border-color:#7651cc;background:#f3ecff;box-shadow:0 0 0 2px #e5d9ff}.family-career-choices svg{display:block;width:100%;height:150px;max-height:none}.family-career-choices strong{display:block;font-size:14px;margin:7px 0}.family-career-choices button:focus-visible{outline:3px solid #008b87;outline-offset:3px}

.draft-meal-photo{background:#f3eee6;border-radius:16px;overflow:hidden;margin:0 0 14px;padding:12px;min-height:90px;color:#625574}.draft-meal-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px;display:block}.draft-meal-photo small{display:block;margin-top:8px}.meal-photo-option{display:flex;align-items:center;gap:10px}.meal-photo-option input{width:20px;height:20px}.ai-meal ol li,.ai-meal ul li{margin:8px 0;line-height:1.5}

.kid-account .nav{grid-template-columns:repeat(6,minmax(0,1fr))}.kid-choice{display:flex;align-items:center;gap:12px;min-width:130px}.kid-choice .avatar{width:42px;height:42px}.kid-account .home-quick-links{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.kid-account .nav{grid-template-columns:repeat(6,minmax(0,1fr))}.kid-account .nav button{font-size:10px;padding:8px 2px}.kid-account .navicon{font-size:17px}.kid-account .header-right{gap:8px}.kid-account .header-right .date{display:none}.kid-choice{flex:1;min-width:110px}.kid-account .home-quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Warm handwritten type for the family identity and daily note. */
.brand{font-family:'Chewy',system-ui,sans-serif;font-size:29px;letter-spacing:.1px;line-height:1.05}
.daily-note-heading h2,.daily-note-heading time,.daily-note-message,.daily-note-footer,.daily-note-reminder{font-family:'Mali',system-ui,sans-serif}
.daily-note-heading h2{font-weight:700;letter-spacing:0}
.daily-note-message{font-weight:600;letter-spacing:.005em}
.daily-note-heading time{font-size:14px;font-weight:600}
.daily-note-footer,.daily-note-reminder{font-weight:500}
.brand small{font-family:'DM Sans',system-ui,sans-serif;letter-spacing:2px}
@media(max-width:600px){.brand{font-size:26px}}

/* Daily note: a little family message written on a hand-drawn chalkboard. */
.daily-family-note{position:relative;isolation:isolate;overflow:hidden;margin:14px 0 22px;padding:23px 30px 22px 34px;border:2px solid #d6cb9f;border-radius:19px;background-color:#244d43;background-image:radial-gradient(ellipse at 16% 28%,#ffffff0b 0 1px,transparent 2px),radial-gradient(ellipse at 76% 69%,#ffffff0d 0 1px,transparent 2px),linear-gradient(135deg,#1d493f,#2d5a4b 54%,#21483f);box-shadow:inset 0 0 0 4px #ffffff12,inset 0 0 25px #0e2d2850,0 7px 0 #d8cfba;color:#fff9e8}
.daily-family-note:before{content:"";position:absolute;inset:8px;z-index:-1;border:1px dashed #fff4d887;border-radius:12px;pointer-events:none}
.daily-family-note:after{content:"☼  ·  ✦  ·  ♡";position:absolute;right:22px;top:13px;color:#ffe49a;font-family:'Cabin Sketch',cursive;font-size:19px;letter-spacing:4px;opacity:.85;transform:rotate(4deg);pointer-events:none}
.daily-note-decoration{position:absolute;left:15px;top:17px;color:#ffe49a;font-family:'Cabin Sketch',cursive;font-size:24px;text-shadow:0 0 8px #ffeda255;transform:rotate(-12deg)}
.daily-note-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-left:18px;padding-right:115px}
.daily-note-heading .eyebrow{color:#f4d997;font-family:'Kalam',cursive;font-size:12px;font-weight:700;letter-spacing:1.4px}
.daily-note-heading h2{color:#fff9e8;font-family:'Cabin Sketch',cursive;font-size:26px;letter-spacing:.2px}
.daily-note-heading time{flex:none;color:#ddedda;font-family:'Kalam',cursive;font-size:14px;font-weight:400}
.daily-note-message{margin:15px 0 13px;padding-left:18px;color:#fffdf2;font-family:'Kalam',cursive;font-size:19px;font-weight:400;line-height:1.55;letter-spacing:.15px}
.daily-note-footer{display:flex;align-items:center;gap:10px;padding:10px 0 0 18px;border-top:1px dashed #e5d59c99;color:#ffe49a;font-family:'Kalam',cursive;font-size:15px;font-weight:400}
.daily-note-footer .smallbtn{color:#fff1b9;font-family:'Kalam',cursive}
.daily-note-reminder{display:flex;align-items:center;gap:10px;margin:12px 0 0 18px;padding:10px 12px;border:1px dashed #e5d59c88;border-radius:11px;background:#ffffff0a;color:#f7edce;font-family:'Kalam',cursive;font-size:14px}
.daily-note-reminder .smallbtn{color:#fff1b9;font-family:'Kalam',cursive}
.brand{font-family:'Cabin Sketch',cursive;font-weight:700;font-size:29px;letter-spacing:.2px;line-height:1.05}
.brand small{font-family:'DM Sans',system-ui,sans-serif;letter-spacing:2px}
@media(max-width:600px){.daily-family-note{padding:21px 19px 19px 22px;border-radius:17px}.daily-family-note:after{right:14px;top:10px;font-size:15px;letter-spacing:2px}.daily-note-decoration{left:12px;top:15px;font-size:20px}.daily-note-heading{display:block;padding-left:16px;padding-right:78px}.daily-note-heading .eyebrow{font-size:10px}.daily-note-heading h2{font-size:23px}.daily-note-heading time{display:block;margin-top:5px}.daily-note-message{margin:14px 0 12px;padding-left:16px;font-size:17px;line-height:1.5}.daily-note-footer{padding-left:16px;font-size:14px}.daily-note-reminder{margin-left:16px;font-size:13px}.brand{font-size:26px}}

/* Soft crayon illustration theme based on the family's heart-and-star reference. */
.daily-family-note{position:relative;isolation:isolate;overflow:hidden;margin:14px 0 22px;padding:23px 30px 22px 34px;border:2px solid #f0d59c;border-radius:22px;background-color:#fff7e8;background-image:radial-gradient(#dfa96512 0.65px,transparent .8px),linear-gradient(135deg,#fff9ec,#fff2d7 68%,#fff8eb);background-size:8px 8px,auto;box-shadow:0 5px 0 #f0dfbd,0 10px 25px #7f633210;color:#26344c}
.daily-family-note:before{content:"";position:absolute;inset:8px;border:1px dashed #e7c98c;border-radius:15px;pointer-events:none}
.daily-family-note:after{content:none}
.daily-note-doodles{position:absolute;right:18px;top:10px;width:155px;height:112px;overflow:visible;transform:rotate(3deg);filter:drop-shadow(0 2px 1px #b9904430);pointer-events:none}
.daily-note-decoration{display:none}
.daily-note-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding-left:12px;padding-right:145px}
.daily-note-heading .eyebrow{color:#887092;font-family:'Kalam',cursive;font-size:12px;font-weight:700;letter-spacing:1.3px}
.daily-note-heading h2{color:#26344c;font-family:'Cabin Sketch',cursive;font-size:27px;letter-spacing:.2px}
.daily-note-heading time{flex:none;color:#6f819b;font-family:'Kalam',cursive;font-size:14px;font-weight:400}
.daily-note-message{position:relative;margin:15px 0 13px;padding-left:12px;color:#34445e;font-family:'Kalam',cursive;font-size:19px;font-weight:400;line-height:1.55;letter-spacing:.15px}
.daily-note-footer{display:flex;align-items:center;gap:10px;padding:10px 0 0 12px;border-top:1px dashed #e5cd9e;color:#b05d6b;font-family:'Kalam',cursive;font-size:15px;font-weight:400}
.daily-note-footer .smallbtn,.daily-note-reminder .smallbtn{color:#7654bd;font-family:'Kalam',cursive}
.daily-note-reminder{display:flex;align-items:center;gap:10px;margin:12px 0 0 12px;padding:10px 12px;border:1px dashed #e5cd9e;border-radius:12px;background:#fffdfa99;color:#5f6f82;font-family:'Kalam',cursive;font-size:14px}
.brand{font-family:'Cabin Sketch',cursive;font-weight:700;color:#315b4f;font-size:29px;letter-spacing:.2px;line-height:1.05}
.brandmark{box-shadow:0 0 0 2px #f1d89d}
.brand small{font-family:'DM Sans',system-ui,sans-serif;letter-spacing:2px}
.dark .daily-family-note{background-color:#fff7e8;background-image:radial-gradient(#dfa96512 0.65px,transparent .8px),linear-gradient(135deg,#fff9ec,#fff2d7 68%,#fff8eb);border-color:#f0d59c}
.dark .daily-note-heading h2,.dark .daily-note-message{color:#26344c}
.dark .daily-note-heading .eyebrow,.dark .daily-note-heading time,.dark .daily-note-footer,.dark .daily-note-reminder{color:#6f6172}
@media(max-width:600px){.daily-family-note{padding:21px 19px 19px 22px;border-radius:19px}.daily-note-doodles{right:8px;top:11px;width:94px;height:66px}.daily-note-heading{display:block;padding-left:8px;padding-right:68px}.daily-note-heading .eyebrow{font-size:10px;letter-spacing:1px}.daily-note-heading h2{font-size:22px}.daily-note-heading time{display:block;margin-top:5px}.daily-note-message{margin:14px 0 12px;padding-left:8px;font-size:17px;line-height:1.5}.daily-note-footer{padding-left:8px;font-size:14px}.daily-note-reminder{margin-left:8px;font-size:13px}.brand{font-size:26px}}

/* Short, confident handwritten daily-note lines; child callouts stay on their own lines. */
.daily-note-message{white-space:pre-line;font-family:'Kalam',cursive;font-size:19px;font-weight:700;line-height:1.45;letter-spacing:.1px;color:#26344c}
.daily-note-heading h2{font-weight:700}
.dark .daily-note-message{color:#26344c}
@media(max-width:600px){.daily-note-message{font-size:17px;font-weight:700;line-height:1.45}}

/* Meal planner responsive cards restored to the active stylesheet. */
.planner-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:24px 0 16px}.planner-toolbar h2{font-size:clamp(22px,3vw,32px);margin:5px 0 0}.planner-actions{display:flex;gap:9px;flex-wrap:wrap}.planner-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0 0 18px}.planner-day{display:grid;justify-items:center;gap:4px;padding:10px 5px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--text);cursor:pointer}.planner-day small{color:var(--muted);font-size:11px}.planner-day b{font-size:19px}.planner-day.selected{background:var(--accent);border-color:var(--accent);color:white}.planner-day.selected small{color:#fff}.planner-day.today:not(.selected){box-shadow:inset 0 0 0 2px var(--accent)}.planner-meals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.planner-meal{overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:22px;min-width:0}.planner-meal-photo{position:relative;aspect-ratio:16/9;background:#eee8db}.planner-meal-photo img{display:block;width:100%;height:100%;object-fit:cover}.planner-photo-button{position:absolute;right:12px;bottom:12px;padding:10px 14px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:#282543;font-weight:700;font-size:12px;box-shadow:0 3px 14px #15203a24}.planner-meal-copy{padding:17px 19px}.planner-meal-copy h3{font-size:19px;margin:5px 0}.planner-meal-copy p{margin:4px 0 12px;color:var(--muted);font-size:13px}.planner-favourites{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-top:18px;padding:18px}.planner-favourites label{display:grid;gap:7px;flex:1;max-width:540px}.planner-favourites select{max-width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:var(--bg);color:var(--text)}.planner-more{margin-top:12px;padding:16px 19px}.planner-more>summary{font-weight:700;cursor:pointer}.planner-more[open]>summary{margin-bottom:15px}.planner-more .meal-voting{box-shadow:none;margin:0;padding:0}.dark .planner-meal,.dark .planner-day,.dark .planner-favourites{background:var(--card)}.dark .planner-photo-button{background:rgba(35,35,49,.94);color:#fff}
@media(max-width:700px){.planner-toolbar{align-items:flex-start;flex-direction:column}.planner-actions{width:100%}.planner-meals{grid-template-columns:minmax(0,1fr)}.planner-meal-photo{aspect-ratio:16/8}.planner-favourites{align-items:stretch;flex-direction:column}.planner-favourites label{max-width:none}.planner-favourites .smallbtn{align-self:flex-start}}
@media(max-width:420px){.planner-week{gap:4px}.planner-day{padding:9px 2px;border-radius:12px}.planner-day small{font-size:10px}.planner-day b{font-size:17px}.planner-actions>*{flex:1;font-size:12px;padding:12px 9px}}


.planner-meals,.planner-toolbar,.planner-week,.planner-favourites,.planner-more{width:100%;min-width:0;max-width:100%}.planner-meal-photo{overflow:hidden}.planner-meal-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover}.planner-favourites select{width:100%;min-width:0}@media(max-width:700px){.planner-meal-photo{aspect-ratio:16/9;max-height:260px}.planner-photo-button{max-width:calc(100% - 24px)}}
/* Family noticeboard — paper, pastel pins and crayon marks. */
.notice-home header{position:relative;display:grid;grid-template-columns:1fr;justify-items:center;gap:8px;padding-top:28px;padding-bottom:10px;border:0}.notice-home .brand{font-family:'Kalam',cursive;font-size:clamp(38px,6vw,62px);font-weight:700;color:#172c56;position:relative}.notice-home .brand:after{content:'';position:absolute;bottom:3px;left:12%;right:5%;height:7px;border-radius:50%;background:#79c8ee;transform:rotate(-3deg);opacity:.8}.notice-home .brand small,.notice-home .brandmark{display:none}.notice-home header .header-right{justify-content:center;flex-wrap:wrap}.notice-home header .date{display:none}.notice-home .top{justify-content:center;margin-bottom:12px}.notice-home .top>div:first-child{display:none}.notice-home .profiles{justify-content:center;flex-wrap:wrap}.notice-home .profile{display:grid;justify-items:center;font-family:'Kalam',cursive;font-size:16px;padding:8px 13px;gap:5px;border-radius:18px}.notice-home .profile .avatar{width:48px;height:48px}.notice-home .family-layout{padding-top:8px}.notice-home .daily-family-note{padding:15px 24px;border:0;border-radius:25px;background:linear-gradient(115deg,#fff2b5,#fff7d5);box-shadow:none;margin:10px 0 24px}.notice-home .daily-family-note:before{display:none}.notice-home .daily-note-heading{padding:0}.notice-home .daily-note-heading>div{display:none}.notice-home .daily-note-heading time{font-size:12px}.notice-home .daily-note-message{padding:0 100px 0 10px;margin:8px 0;font-size:clamp(19px,2.3vw,25px)}.notice-home .daily-note-footer{display:none}.notice-home .daily-note-doodles{width:100px;height:75px;top:15px;right:14px}
.family-noticeboard{position:relative;min-width:0;margin:0 0 25px;padding:22px 22px 18px;border:2px dashed #c8b9e4;border-radius:25px;background:#fffcf591;color:#192c53}.notice-heading{display:flex;align-items:center;gap:14px;margin-bottom:32px;flex-wrap:wrap}.notice-heading h2{font-family:'Kalam',cursive;font-size:clamp(32px,4.2vw,46px);font-weight:700;letter-spacing:-.6px;color:#172c56;line-height:1.2}.notice-heading p{margin-left:auto;color:#1f3459;font-family:'Kalam',cursive;font-size:17px}.notice-heading p b{color:#d33038}.crayon-doodle{width:54px;height:54px;flex:none}.notice-heading>.crayon-doodle:last-child{width:36px;height:36px}.notice-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.reminder-sticky{position:relative;min-width:0;padding:62px 19px 20px;border-radius:12px 18px 14px 19px;box-shadow:0 7px 8px #28394818;background-color:#dcf3ff;background-image:repeating-linear-gradient(125deg,#ffffff14 0 1px,transparent 1px 4px);display:flex;flex-direction:column;transform:rotate(-1deg)}.reminder-sticky:nth-child(2n){transform:rotate(1deg)}.reminder-sticky.coral{background-color:#ffe0d9}.reminder-sticky.lavender{background-color:#ecdcff}.reminder-sticky>.crayon-doodle{position:absolute;top:13px;right:13px;width:43px;height:43px;opacity:.85}.reminder-sticky h3{font-family:'Kalam',cursive;font-weight:700;font-size:clamp(23px,2.5vw,30px);line-height:1.16;text-transform:uppercase;overflow-wrap:anywhere;color:#172c56;letter-spacing:-.4px;margin:10px 0 16px}.reminder-due{align-self:flex-start;padding:7px 10px;border-radius:17px;background:#98dcff80;color:#18416a;font-family:'Kalam',cursive;font-weight:700;line-height:1.3;font-size:16px;margin:0 0 14px}.coral .reminder-due{background:#ffada370;color:#a92835}.lavender .reminder-due{background:#c9a5ff66;color:#513a86}.reminder-people{font-family:'Kalam',cursive;font-size:16px;color:#213d63;line-height:1.4;margin:0 0 24px}.reminder-card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:auto;gap:8px}.reminder-check{border:2px solid #213455;border-radius:8px;background:#fff9;width:44px;height:44px;display:grid;place-items:center;font-size:26px;flex:none}.reminder-check:disabled{opacity:.4;cursor:default}.reminder-card-actions .smallbtn{color:#34496b;font-size:12px}.notice-pin{position:absolute;top:-15px;left:46%;height:38px;width:23px;border-radius:9px 9px 12px 12px;background:linear-gradient(90deg,#9c6af0,#6034c3);box-shadow:3px 6px 4px #48346642;transform:rotate(12deg)}.notice-pin:before{content:'';position:absolute;width:27px;height:25px;top:-6px;left:-2px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#c19cff,#7951d3 70%);box-shadow:0 2px 1px #60349c}.coral .notice-pin{background:linear-gradient(90deg,#ff805c,#d83d37)}.coral .notice-pin:before{background:radial-gradient(circle at 30% 25%,#ff9b72,#e64e36 70%)}.sky .notice-pin{background:linear-gradient(90deg,#6ab8f0,#2584c9)}.sky .notice-pin:before{background:radial-gradient(circle at 30% 25%,#a4ddff,#2d97e1 70%)}.notice-add{display:block;min-height:52px;width:min(100%,650px);margin:25px auto 0;border-radius:28px;background:linear-gradient(110deg,#8458e8,#6436cc);color:white;font-family:'Kalam',cursive;font-size:24px;box-shadow:inset 0 0 0 1px #ffffff35}.notice-empty{grid-column:1/-1;text-align:center;padding:25px 12px;font-family:'Kalam',cursive}.notice-empty h3{font-size:25px}.notice-empty p{font-size:17px}.completed-reminders{margin-top:20px}.completed-reminders summary{font-family:'Kalam',cursive;font-size:17px;cursor:pointer;margin-bottom:25px}.reminder-done{opacity:.7}.reminder-done h3{text-decoration:line-through}.reminder-urgent-input{display:flex;align-items:center;gap:12px}.reminder-urgent-input input{width:22px;height:22px;min-height:22px}
.dark .family-noticeboard{background:#202e40;border-color:#8a7ca4}.dark .notice-heading h2,.dark .notice-heading p{color:#fff5d9}.dark.notice-home .brand{color:#fff5d9}
@media(max-width:800px){.notice-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.notice-heading h2{font-size:34px}.notice-heading p{font-size:15px}.notice-heading>.crayon-doodle:last-child{display:none}}
@media(max-width:480px){.family-noticeboard{padding:18px 15px;border-radius:20px}.notice-heading{gap:8px;margin-bottom:28px}.notice-heading>.crayon-doodle{width:34px;height:34px}.notice-heading h2{font-size:32px}.notice-heading p{width:100%;margin-left:43px;font-size:16px}.notice-cards{grid-template-columns:minmax(0,1fr);gap:28px}.reminder-sticky{padding:30px 20px 19px}.reminder-sticky h3{max-width:85%;font-size:27px;margin-top:16px}.notice-home .profile{padding:7px 10px}.notice-home .profile .avatar{width:43px;height:43px}.notice-home .daily-note-message{font-size:20px;padding-right:54px}.notice-home .daily-note-doodles{width:67px;height:58px;right:5px}.notice-home .daily-family-note{padding:14px 16px}.notice-add{font-size:23px}.notice-home header .header-right{gap:8px}.notice-home header .header-right .secondary{font-size:12px;padding:8px 12px}}

.prize-icon{font-size:76px;display:grid;place-items:center;min-height:160px}.kid-account .nav{grid-template-columns:repeat(7,minmax(0,1fr))}@media(max-width:700px){.kid-account .nav{grid-template-columns:repeat(7,minmax(0,1fr))}.kid-account .nav button{font-size:10px;padding:8px 1px}.kid-account .navicon{font-size:18px}.unlock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unlock-card{min-width:0}.unlock-copy{overflow-wrap:anywhere}}@media(max-width:420px){.kid-account .unlock-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep earned and locked prize previews equally visible. */
.kid-account .unlock-art{position:relative;overflow:hidden;min-height:210px;background:#f2edfc}.kid-account .unlock-art .kid-prize-preview{display:block;width:100%;height:240px;object-fit:contain;filter:none;opacity:1}.prize-preview-pending{text-align:center;font-size:12px;padding:0 12px 35px;color:#626078}.kid-account .unlock-tag{z-index:1}@media(max-width:480px){.kid-account .unlock-art .kid-prize-preview{height:230px}}

.gift-photo-wrap{width:100%;height:100%;min-height:210px;display:flex;flex-direction:column;background:#fffaf2}.gift-photo-wrap .gift-main-photo{display:block;width:100%;height:160px;min-height:0;object-fit:contain;flex:1}.gift-thumbnails{display:flex;justify-content:center;gap:7px;padding:7px 8px 35px}.gift-thumbnails button{width:40px;height:40px;padding:2px;border:1px solid #bfb0de;border-radius:8px;background:white}.gift-thumbnails img{width:100%;height:100%;object-fit:cover;border-radius:5px}.gift-upload-preview{display:flex;gap:10px;flex-wrap:wrap}.gift-upload-preview>span{display:grid;gap:5px}.gift-upload-preview img{width:85px;height:85px;object-fit:cover;border-radius:12px}.gift-upload-preview button{font-size:12px}.unlock-art:has(.gift-photo-wrap){height:265px}.kid-account .unlock-art:has(.gift-photo-wrap){min-height:265px}

.meal-favourite-label{display:grid;gap:7px;font-weight:700;margin:15px 0 10px;font-size:13px}.meal-favourite{width:100%;max-width:100%;min-width:0;font-weight:500;background:var(--bg);font-size:16px;min-height:46px}.builtin-meal-gallery{margin-bottom:22px}.builtin-meal-gallery .saved-gallery-grid{margin-top:18px}.builtin-meal-photo{display:block;width:100%;height:160px;object-fit:cover}.builtin-meal-gallery h3{font-size:16px}
