[hidden]{display:none!important}
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#243c38;background:#f5f8f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}a{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #94dcc5;outline-offset:2px}::selection{background:#caeee0}.app{--ink:#263f3b;--muted:#78918b;--accent:#28896e;--accentdeep:#18694f;--tint:#e4f4ed;--page:#f5f8f7;--card:#ffffff;min-height:100vh;background:var(--page);color:var(--ink)}.app.child{--ink:#554435;--muted:#917967;--accent:#e29243;--accentdeep:#a36329;--tint:#fff0dc;--page:#fffaf1;--card:#fff}.layout{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e6eee9;padding:29px 17px 22px;gap:20px}.child .sidebar{background:#fffdf8;border-right-color:#f5eadb}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 18px}.brand-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#3bb58a,#16755d);box-shadow:0 7px 17px #1b926d30}.child .brand-logo{background:linear-gradient(135deg,#f5bd70,#d9784a)}.brand-title{font-size:16px;font-weight:850;letter-spacing:-.6px;line-height:1.15}.brand-sub{font-size:10px;color:#78918b;margin-top:4px}.nav-caption{padding:4px 14px;color:#93a4a0;text-transform:uppercase;font-size:10px;letter-spacing:1.7px;font-weight:800}.nav-list{display:flex;flex-direction:column;gap:5px}.nav-btn{width:100%;padding:12px 13px;border:0;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;color:#667c76;font-size:13px;border-radius:12px;font-weight:650}.nav-btn:hover{background:#f4f8f5}.nav-btn.active{color:#1c795d;background:#eaf5ee}.child .nav-btn.active{color:#a05e22;background:#fff1de}.nav-btn svg{width:19px;height:19px}.nav-btn .nav-count{margin-left:auto;min-width:21px;line-height:21px;text-align:center;border-radius:8px;background:#ecb67c;color:#73461d;font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:12px;border-top:1px solid #edf0ee}.sidebar-profile{border:1px solid #e4ebe7;border-radius:15px;padding:10px;display:flex;align-items:center;gap:8px}.avatar-mini{width:35px;height:35px;flex:none;border-radius:12px;background:#e8f4ed;display:grid;place-items:center;font-size:19px}.sidebar-profile .name{font-weight:800;font-size:12px}.sidebar-profile .caption{font-size:10px;color:#8ba29a;margin-top:2px}.sidebar-bottom button{margin-top:10px}.main{min-width:0}.topbar{height:84px;background:#ffffffd9;border-bottom:1px solid #e7ece9;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,60px);position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}.child .topbar{background:#fffcf5ec;border-bottom-color:#f2e8dc}.topbar-left{display:flex;align-items:center;gap:11px}.topbar-kicker{font-size:11px;color:var(--muted);font-weight:650}.topbar-title{font-size:17px;font-weight:850;letter-spacing:-.4px;margin-top:4px}.topbar-right{display:flex;align-items:center;gap:12px}.today-pill{background:#f0f6f3;border:1px solid #e2ede7;padding:10px 13px;border-radius:12px;color:#52766c;font-size:12px;font-weight:750}.child .today-pill{background:#fff1dd;border-color:#f6e6ce;color:#ad783b}.profile-pill{border:1px solid #e0e9e4;background:white;border-radius:13px;padding:6px 12px 6px 6px;display:flex;align-items:center;gap:8px;font-weight:750;font-size:12px}.child .profile-pill{background:#fff7ea;border-color:#f2dfc9}.content{max-width:1380px;margin:auto;padding:31px clamp(22px,4vw,60px) 92px}.page-intro{margin-bottom:23px}.eyebrow{text-transform:uppercase;color:var(--accent);letter-spacing:1.4px;font-size:10px;font-weight:850}.page-title{font-size:clamp(25px,3vw,33px);letter-spacing:-1.3px;font-weight:850;margin:8px 0 8px}.page-sub{font-size:13px;color:var(--muted);line-height:1.7;max-width:700px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 14px}.section-title{font-size:16px;letter-spacing:-.5px;font-weight:850;margin:0}.section-caption{font-size:12px;color:var(--muted)}.grid{display:grid;gap:17px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--card);border:1px solid #e5eee9;border-radius:19px;padding:20px;box-shadow:0 5px 18px #1a6a4b09}.child .card{border-color:#f4e6d4;box-shadow:0 5px 18px #865c1e08}.stat{display:flex;flex-direction:column;gap:12px;min-height:130px}.stat-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.stat-label{font-size:11px;color:var(--muted);font-weight:700}.stat-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#eaf5ef;color:#369573}.stat-icon.orange{background:#fff2dc;color:#da9448}.stat-icon.blue{background:#e9f0ff;color:#6e8fde}.stat-icon.purple{background:#f5edff;color:#9f78d1}.stat-number{font-size:32px;font-weight:850;letter-spacing:-1px;line-height:1}.stat-foot{font-size:11px;color:var(--muted)}.hero{border-radius:23px;padding:26px 30px;background:linear-gradient(110deg,#216c55 0%,#318968 55%,#6bb190 100%);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:18px;overflow:hidden;position:relative;min-height:173px}.hero::after{content:'✦';font-size:200px;position:absolute;right:35px;top:-95px;color:#ffffff11;transform:rotate(18deg)}.hero h2{font-size:25px;letter-spacing:-.9px;margin:8px 0 9px}.hero p{color:#e8f8f0;font-size:13px;max-width:560px;line-height:1.6;margin:0}.hero-icon{font-size:75px;position:relative;z-index:1;filter:drop-shadow(0 8px 8px #0002)}.child .hero{background:linear-gradient(110deg,#f2aa59,#eda56b 70%,#f6c68e);color:#6c4024}.child .hero p{color:#885c3b}.child .hero::after{color:#ffffff40}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:12px;border:1px solid transparent;font-size:12px;font-weight:800;transition:.15s;background:var(--accent);color:#fff;line-height:1.15;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.98)}.btn svg{width:16px;height:16px}.btn.secondary{background:#fff;color:#426b5e;border-color:#dcebe3}.btn.ghost{background:transparent;color:var(--accentdeep);border-color:#dae9e1}.btn.warn{background:#fff0e9;color:#b4513e;border-color:#f7dccf}.btn.small{padding:8px 10px;font-size:11px;border-radius:9px}.btn.very-small{padding:6px 8px;font-size:10px;border-radius:8px}.btn.full{width:100%}.muted{color:var(--muted)}.light{color:#fff}.tiny{font-size:11px}.flex{display:flex;align-items:center;gap:10px}.flex.between{justify-content:space-between}.flex.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:12px}.progress{height:9px;background:#e8f1ec;border-radius:100px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#34a881,#8bcab1);height:100%;border-radius:100px}.child .progress{background:#ffe6c7}.child .progress-fill{background:linear-gradient(90deg,#e99a4d,#f4c17e)}.member-card{cursor:pointer;transition:box-shadow .2s,transform .2s}.member-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px #135b4820}.member-face{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:29px;background:var(--member-bg,#e4f4ed)}.member-title{font-size:15px;font-weight:850}.member-caption{font-size:11px;color:var(--muted);margin-top:4px}.member-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:var(--muted);margin-top:12px}.task-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf2ee}.child .task-row{border-bottom-color:#faeddd}.task-row:last-child{border-bottom:none}.task-info{flex:1;min-width:0}.task-name{font-size:13px;font-weight:800;margin-bottom:5px;line-height:1.35}.task-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}.task-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:13px;background:#f0f5f2;font-size:20px;flex:none}.child .task-icon{background:#fff1dc}.task-check{border-radius:11px;border:1px solid #d9e4dd;min-width:32px;min-height:32px;display:grid;place-items:center;color:#719b86;background:white}.task-check.completed{background:#deefe5;border-color:#b6dcc6;color:#198360}.task-check.waiting{background:#fff0da;border-color:#f5dbb3;color:#bc843b}.task-check svg{width:17px;height:17px}.chip{display:inline-flex;gap:5px;align-items:center;background:#f0f6f2;color:#527c68;padding:6px 9px;border-radius:8px;font-weight:700;font-size:10px}.chip.orange{background:#fff1e0;color:#ad703d}.chip.blue{background:#eaf0ff;color:#7086b8}.chip.gray{background:#f4f5f4;color:#7a8681}.chip.pink{background:#fbebf0;color:#b56e89}.chip svg{width:12px;height:12px}.empty{padding:28px;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}.empty-icon{font-size:32px;margin-bottom:8px}.rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.reward-icon{height:79px;border-radius:15px;display:grid;place-items:center;background:#f8f2e5;font-size:40px;margin-bottom:14px}.reward-title{font-weight:850;font-size:13px;line-height:1.4;min-height:37px}.reward-points{font-size:12px;color:#c08740;font-weight:850;margin:9px 0 13px}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-day{border:1px solid #e8ebe8;border-radius:14px;background:#fff;padding:11px 6px;text-align:center;cursor:pointer;min-height:100px;display:flex;align-items:center;flex-direction:column;gap:8px}.calendar-day.selected{border:2px solid var(--accent);background:var(--tint);padding:10px 5px}.calendar-day .weekday{font-weight:800;font-size:10px;color:var(--muted)}.calendar-day .daynumber{font-size:20px;font-weight:850}.calendar-day .daycount{font-size:10px;color:var(--muted)}.calendar-day.rest{background:#fbfcfb}.child .calendar-day{background:#fffefd;border-color:#f2e6d5}.child .calendar-day.selected{background:var(--tint);border-color:var(--accent)}.filterbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:17px}.select,.input,.textarea{border:1px solid #e1e8e3;border-radius:11px;background:white;color:#243f3a;padding:11px 12px;min-height:43px;max-width:100%;font-size:12px;outline:0}.select:focus,.input:focus,.textarea:focus{border-color:#52b18d;box-shadow:0 0 0 3px #54b48c21}.textarea{width:100%;min-height:80px;resize:vertical}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:11px;color:#637970;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.span-2{grid-column:span 2}.togglefield{display:flex;gap:10px;align-items:center;padding:13px;border:1px solid #e4ece5;border-radius:12px}.togglefield input{accent-color:var(--accent);width:16px;height:16px}.togglefield label{font-size:12px;line-height:1.5}.weekday-checkboxes{display:flex;gap:7px;flex-wrap:wrap}.weekday-checkboxes label{min-width:38px;display:grid;place-items:center;border-radius:10px;border:1px solid #dce6df;padding:9px;cursor:pointer;color:#83938b;font-size:11px;font-weight:850;background:#fff}.weekday-checkboxes label:has(input:checked){background:#dff1e7;color:#287b5d;border-color:#87c5a9}.weekday-checkboxes input{position:absolute;opacity:0;pointer-events:none}.modal-backdrop{position:fixed;inset:0;background:#153d34aa;z-index:20;display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(3px)}.modal{max-height:min(90vh,850px);overflow-y:auto;width:min(600px,100%);border-radius:22px;background:#fff;padding:25px;box-shadow:0 25px 90px #103e3670}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}.modal-title{font-size:20px;font-weight:850;letter-spacing:-.5px;margin:0}.modal-sub{font-size:12px;color:#81958b;margin-top:7px}.modal-close{border:0;background:#f1f5f2;color:#526b5f;border-radius:10px;width:34px;height:34px;font-size:20px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;bottom:25px;right:25px;z-index:50;background:#244c3f;color:#fff;box-shadow:0 12px 30px #0002;border-radius:12px;padding:13px 18px;font-size:12px;font-weight:700;max-width:min(90vw,350px)}.child-group{margin-top:20px}.group-label{font-size:13px;font-weight:850;margin-bottom:10px;display:flex;gap:10px;align-items:center}.child-task{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #f4e3cf;border-radius:16px;padding:14px;margin-bottom:10px}.child-task .task-icon{width:49px;height:49px;font-size:25px}.child-task .task-name{font-size:14px}.child-task .task-meta{font-size:11px}.child-task .btn{flex:none}.badge-score{display:inline-flex;align-items:center;gap:5px;background:#fff1d9;color:#a46524;font-size:13px;font-weight:850;border-radius:13px;padding:10px 14px}.child .badge-score{background:#fff3d5}.notification{border-radius:15px;border:1px solid #f4d9af;background:#fff8e9;padding:13px;font-size:12px;color:#916b3e;margin-bottom:15px}.bar-chart{display:flex;align-items:end;justify-content:space-between;gap:8px;height:160px;margin:22px 0 6px;border-bottom:1px solid #e7eee8}.bar-col{flex:1;height:100%;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:6px;max-width:70px}.bar{background:linear-gradient(0deg,#51b58c,#9bd6b5);border-radius:7px 7px 0 0;min-height:3px;width:65%}.bar-label{font-size:10px;color:#8da09a;font-weight:700}.bar-value{font-size:10px;color:#527365}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px 18px;background:radial-gradient(circle at 15% 20%,#e6f6ec,transparent 35%),radial-gradient(circle at 85% 70%,#ffefd4,transparent 38%),#f6f9f6}.login-box{width:min(620px,100%);border:1px solid #e6eee8;background:#fff;border-radius:25px;padding:35px;box-shadow:0 23px 90px #1c735015}.login-logo{width:62px;height:62px;border-radius:21px;margin:0 auto 18px;background:linear-gradient(140deg,#56bf91,#22866b);display:grid;place-items:center;color:white;font-size:33px}.login-title{text-align:center;font-size:26px;font-weight:900;letter-spacing:-1px;margin:0 0 8px}.login-desc{text-align:center;font-size:12px;color:#7b9588;line-height:1.7;margin:0 auto 25px;max-width:360px}.login-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.login-person{border:1px solid #e4ece6;border-radius:17px;background:#fff;min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:13px 7px}.login-person:hover{border-color:#77b99c;background:#f4faf6}.login-person-emoji{font-size:33px}.login-person-name{font-weight:850;font-size:13px}.login-person-role{font-size:10px;color:#8ba298}.pin-box{max-width:340px;margin:auto}.pin-box .input{width:100%;text-align:center;letter-spacing:5px;font-size:22px}.text-btn{background:none;border:0;color:var(--accentdeep);font-weight:750;font-size:12px;padding:5px;cursor:pointer}.tips{font-size:11px;color:#889b90;line-height:1.7}.divider{height:1px;background:#edf0eb;margin:16px 0}.mobile-nav{display:none}.more-menu{position:fixed;bottom:72px;right:16px;background:#fff;border:1px solid #e7ece6;box-shadow:0 12px 35px #123c321f;z-index:16;width:225px;border-radius:16px;padding:7px}.more-menu button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:white;text-align:left;padding:12px;color:#476458;border-radius:10px;font-size:12px}.more-menu button:hover{background:#f3f8f4}.status-list{display:flex;flex-direction:column;gap:10px}.status-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px;background:#f9fbf9;border-radius:12px}.child .status-item{background:#fff8ef}.role-note{font-size:10px;color:#93a397;line-height:1.6}.inline-svg{display:inline-flex;vertical-align:middle}svg{flex-shrink:0}.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}@media(max-width:1100px){.layout{grid-template-columns:210px 1fr}.sidebar{padding:20px 12px}.content{padding:26px 27px 90px}.topbar{padding:0 27px}.grid-4{grid-template-columns:repeat(2,1fr)}.rewards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.layout{display:block}.sidebar{display:none}.main{padding-bottom:70px}.topbar{height:67px;padding:0 16px}.topbar-title{font-size:14px}.topbar-kicker{font-size:10px}.today-pill{display:none}.topbar-right{gap:6px}.profile-pill{padding:4px 8px 4px 4px}.content{padding:22px 16px 30px}.page-title{font-size:27px}.hero{padding:21px;min-height:148px}.hero h2{font-size:21px}.hero-icon{font-size:52px}.hero p{font-size:12px}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2{grid-template-columns:1fr}.card{padding:16px}.rewards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reward-icon{height:70px}.reward-title{font-size:12px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fffc;border-top:1px solid #e3eee6;padding:8px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom));z-index:12;justify-content:space-around;backdrop-filter:blur(12px)}.child .mobile-nav{border-top-color:#f4e6d6}.mobile-nav button{flex:1;max-width:100px;background:transparent;border:0;color:#8a9c92;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;font-weight:750;min-height:46px}.mobile-nav button.active{color:var(--accentdeep)}.mobile-nav svg{width:21px;height:21px}.login-box{padding:28px 18px}.login-grid{gap:8px}.login-person{min-height:112px}.login-person-name{font-size:11px}.calendar-week{gap:4px}.calendar-day{padding:8px 2px;min-height:89px;border-radius:10px}.calendar-day.selected{padding:7px 1px}.calendar-day .daynumber{font-size:17px}.calendar-day .weekday{font-size:9px}.calendar-day .daycount{font-size:8px}.child-task{padding:11px;gap:10px}.child-task .task-icon{width:39px;height:39px;font-size:19px}.child-task .task-name{font-size:12px}.child-task .btn{padding:9px 8px;font-size:10px}.modal{padding:18px;max-height:90vh}.form-grid{gap:10px}.section-head{align-items:flex-start}.hide-mobile{display:none}}@media(max-width:420px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:13px;min-height:124px}.stat-number{font-size:27px}.stat-icon{width:32px;height:32px}.login-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.grid-3{grid-template-columns:1fr}.hero-icon{font-size:45px}.topbar-title{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-pill .name{display:none}}


/* V2 · Identidad original de Aprender en Casa */
:root {color:#4b2f20;background:#fff9f1}
body{background:#fff9f1}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#f19a19}
::selection{background:#ffe0ac}
.app{--ink:#432a1b;--muted:#896d5a;--accent:#a3401b;--accentdeep:#7c2d13;--tint:#ffeed9;--page:#fff9f1;--card:#fffefa}
.app.child{--ink:#633b24;--muted:#976f50;--accent:#cf651c;--accentdeep:#8f3a18;--tint:#fff0db;--page:#fff6e7;--card:#fffdf9}
.sidebar{background:#fffdf7;border-right-color:#f1e2d4}.child .sidebar{background:#fff9ed;border-right-color:#efdcc5}
.brand{gap:13px;padding:0 3px 19px}.brand-logo{height:70px;width:70px;flex:none;border:0;border-radius:12px;background:#fff3df;box-shadow:none;padding:4px;display:grid;place-items:center}.brand-logo img{width:100%;height:100%;object-fit:contain}.child .brand-logo{background:#fff0d8}
.brand-title{color:#5b2c19;font-size:15px}.brand-sub{color:#a55c35;font-weight:700}
.nav-btn{color:#806450}.nav-btn:hover{background:#fff3e5}.nav-btn.active,.child .nav-btn.active{color:#8f3716;background:#fff0dc}
.nav-caption{color:#ac8970}.sidebar-bottom{border-top-color:#f0e1d4}.sidebar-profile{border-color:#f1dfce}.avatar-mini{background:#ffead5}.sidebar-profile .caption{color:#947968}
.topbar,.child .topbar{background:#fffcf8ec;border-bottom-color:#f1e2d4}.topbar-kicker{color:#8f725f}.topbar-brand{width:45px;height:45px;object-fit:contain;flex:none;border-radius:8px;background:#fff4e1;padding:3px}
.today-pill,.child .today-pill{background:#fff0dc;border-color:#f1dbbf;color:#965b30}
.profile-pill,.child .profile-pill{background:#fffaf2;border-color:#efdfcc}
.card,.child .card{border-color:#f0dfcd;box-shadow:0 6px 24px #8044220b}
.eyebrow{color:#af5427}.page-title{color:#4b2c1e}.section-title{color:#512c1a}
.stat-icon{background:#fff1df;color:#a4431d}.stat-icon.orange{background:#fff0d4;color:#d77813}.stat-icon.blue{background:#f5e9dd;color:#ae6c4a}.stat-icon.purple{background:#f7ebdf;color:#9e765b}
.hero{background:linear-gradient(112deg,#823318 0%,#ad481e 52%,#e88a1d 100%);color:#fffaf0;min-height:194px}.hero p{color:#fff0d9}.hero::after{color:#ffffff18}.hero .eyebrow{color:#ffe2b4!important}
.child .hero{background:linear-gradient(112deg,#ffe0a6,#ffc978 62%,#f7a754);color:#7f371e}.child .hero p{color:#8c4b28}.child .hero .eyebrow{color:#9f491e!important}
.btn{background:var(--accent)}.btn.secondary{color:#8b3d20;border-color:#ebd4bf;background:#fffdf8}.btn.ghost{border-color:#ebd4bf}.btn.warn{color:#9c4227}
.progress{background:#f2e3d4}.progress-fill{background:linear-gradient(90deg,#ad451d,#f29522)}.child .progress{background:#ffe6be}.child .progress-fill{background:linear-gradient(90deg,#dc7a28,#f2b446)}
.member-face{background:var(--member-bg,#fff0dd)}.task-row,.child .task-row{border-bottom-color:#f5e9df}.task-icon,.child .task-icon{background:#fff1df}
.task-check{border-color:#ead7c5}.task-check.completed{background:#fdf1da;border-color:#e8bd7c;color:#a75123}.task-check.waiting{background:#fff0da;border-color:#f5dbb3;color:#9e5919}
.chip{background:#fff1dd;color:#9e582c}.chip.orange{background:#fff0d3;color:#a96a1c}.chip.blue{background:#f7ebe0;color:#956545}
.login{background:radial-gradient(ellipse at 85% 18%,#ffe4bd,transparent 50%),linear-gradient(160deg,#fffaf2,#fff0dd)}.login-logo{width:114px;height:114px;background:#fff1dd;border-radius:28px;padding:10px;box-shadow:0 10px 26px #a95c2b16}.login-logo img{object-fit:contain;width:100%;height:100%}
.login-title{color:#5b2c19}.login-person{border-color:#eed8bd;background:#fffdfa}.login-person:hover{border-color:#e8a15a;background:#fff6e8}
.family-picture{display:grid;place-items:center;flex-shrink:0;width:62px;height:62px;border-radius:21px;overflow:hidden;background:#fff2d8;border:1px solid #f1ce9f;box-shadow:inset 0 -3px 7px #ab4d1610;color:#a0431a;font-weight:900;font-size:25px}
.family-picture .family-art{width:75%;height:75%}.family-picture.family-initial{background:linear-gradient(140deg,#a54019,#ec9b23);color:#fff8ec;letter-spacing:-2px}.family-picture.family-photo img{width:100%;height:100%;object-fit:cover}
.family-picture.on-login{width:53px;height:53px;border-radius:17px}
.family-picture.on-hero{width:87px;height:87px;border-radius:28px;border:3px solid #ffedcd;background:#fff3dc}
.hero-family{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;gap:5px;min-width:122px;text-align:center}.hero-family span{font-weight:850;font-size:12px;max-width:165px;word-wrap:break-word;color:#fff4db}.child .hero-family span{color:#7d3c21}
.family-identity{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:21px;background:linear-gradient(100deg,#fff7e9,#fffdf8)}.family-identity-main{display:flex;align-items:center;gap:18px;min-width:0}.family-picture.in-profile{width:102px;height:102px;border-radius:28px;flex-shrink:0}.family-identity-text h2{margin:4px 0 5px;font-size:22px;color:#66351e}.family-identity-text p{margin:0;font-size:12px;line-height:1.6;color:#8e6c55}
.family-modal-top{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:16px}.family-picture.preview{width:108px;height:108px;border-radius:30px}.family-mode-options{display:flex;flex-wrap:wrap;gap:8px}.family-mode-options label{padding:10px 13px;background:#fff4e5;border-radius:12px;font-size:12px;cursor:pointer}.family-mode-options input{accent-color:#a54118}
.family-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.family-choice{cursor:pointer;position:relative}.family-choice input{position:absolute;opacity:0;pointer-events:none}.family-choice span{height:91px;border:2px solid #f0deca;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fffdf8;gap:2px}.family-choice .family-art{height:49px;width:55px}.family-choice small{font-size:10px;color:#89614b;text-align:center}.family-choice input:checked +span{background:#fff0da;border-color:#a3421d}.family-choice input:focus-visible +span{outline:3px solid #efa545;outline-offset:2px}.family-photo-upload{padding:12px;border-radius:12px;border:1px dashed #dcab7a;background:#fffbf5;display:flex;flex-direction:column;gap:9px}.family-photo-upload label{font-size:12px;font-weight:750}
.login-family{display:flex;justify-content:center;align-items:center;gap:12px;padding:9px 13px;margin:14px auto;max-width:260px;border-radius:18px;background:#fff5e5;border:1px solid #f2dec2;text-align:left}.login-family strong{font-size:13px;color:#704028}.login-family span{display:block;font-size:11px;color:#9a795b;margin-top:4px}
@media(max-width:760px){.family-identity{flex-direction:column;align-items:stretch}.family-identity-main{gap:12px}.family-picture.in-profile{width:80px;height:80px;border-radius:22px}.family-identity .btn{width:100%}.topbar-brand{width:39px;height:39px}.brand-logo{width:60px;height:60px}.hero-family{min-width:70px}.family-picture.on-hero{width:65px;height:65px;border-radius:21px}}
@media(max-width:390px){.family-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.family-modal-top{grid-template-columns:74px 1fr;gap:12px}.family-picture.preview{width:73px;height:73px;border-radius:23px}.hero-family span{font-size:10px}.family-picture.on-hero{width:56px;height:56px}}


/* V3 avatar SVGs */
.avatar-mini,.member-face{overflow:hidden}
.avatar-img{display:block;width:100%;height:100%;object-fit:contain}
.avatar-img.inside{width:88%;height:88%}
.avatar-img.mini{width:86%;height:86%}
.avatar-img.login{width:68px;height:68px;object-fit:contain}
.login-person .avatar-img.login{margin-bottom:2px;filter:drop-shadow(0 2px 4px rgba(133,55,25,.08))}
.login-person .avatar-fallback,.avatar-mini .avatar-fallback,.member-face .avatar-fallback{font-size:inherit}
.profile-avatar-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.profile-avatar-choice{cursor:pointer;position:relative}
.profile-avatar-choice input{position:absolute;opacity:0;pointer-events:none}
.profile-avatar-choice span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 8px;border:2px solid #f0deca;border-radius:14px;background:#fffdf8;min-height:118px;justify-content:center}
.profile-avatar-choice img{width:62px;height:62px;object-fit:contain}
.profile-avatar-choice small{font-size:11px;color:#89614b;font-weight:700}
.profile-avatar-choice input:checked + span{background:#fff0da;border-color:#a3421d}
.profile-avatar-choice input:focus-visible + span{outline:3px solid #efa545;outline-offset:2px}
.family-choice span{padding:8px}
.family-choice .family-art{height:58px;width:58px;object-fit:contain}
@media(max-width:520px){.profile-avatar-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
