:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173c52;background:#f3faf9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #f2ae32;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.7rem,4vw,2.35rem);line-height:1.13}h2{font-size:1.28rem;line-height:1.25}h3{font-size:1.05rem}p{line-height:1.55;color:#5c7180}.shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.sidebar{background:#173c52;color:white;min-height:100vh;padding:29px 19px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:1.45rem;letter-spacing:-.04em}.brand small{display:block;font-weight:500;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:#add0d3}.brand-mark{font-size:2rem}.companion{background:#28536a;border-radius:23px;text-align:center;padding:20px 10px;margin:38px 0 24px}.creature{font-size:4rem;filter:drop-shadow(0 8px 8px #173c5255)}.companion span,.companion small{display:block}.companion span{font-weight:800}.companion small{color:#c9dfe1;margin-top:5px}.nav-list{display:grid;gap:7px}.nav-item{border:0;background:transparent;color:#d4e7e9;border-radius:13px;text-align:left;display:flex;align-items:center;gap:12px;padding:13px 14px;font-weight:700;width:100%}.nav-item.active,.nav-item:hover{background:#365f73;color:white}.nav-item span:first-child{font-size:1.2rem}.main{max-width:1140px;width:100%;padding:33px clamp(20px,4vw,55px) 70px;margin:0 auto}.top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.top h1{margin:0}.eyebrow{font-size:.69rem!important;letter-spacing:.16em;font-weight:900;color:#5e8e93!important;margin-bottom:7px;text-transform:uppercase}.top-suns{display:flex;align-items:center;gap:8px;background:#fff8db;padding:12px 18px;border-radius:18px;box-shadow:0 7px 25px #265a6910}.top-suns span{font-size:1.4rem}.top-suns strong{font-size:1.4rem}.top-suns small{align-self:end;margin-bottom:4px;color:#947039}.card{background:#fff;border:1px solid #e0edec;border-radius:23px;box-shadow:0 8px 32px #2a677610;padding:26px;margin-bottom:20px}.gradient{background:linear-gradient(115deg,#176077,#20957f);color:white;border:0}.gradient p{color:#d8f5ed}.gradient .eyebrow{color:#bbf2e4!important}.greeting{display:flex;align-items:center;justify-content:space-between;min-height:155px;padding:30px 34px}.greeting h2{font-size:1.7rem;margin:12px 0 6px}.greeting p{margin:0}.sparkle{font-size:5rem;color:#ffdb7b;line-height:1}.pill{display:inline-block;background:#e5f6f1;color:#287664;border-radius:99px;padding:5px 12px;font-size:.73rem;font-weight:800}.pill.light{background:#ffffff26;color:white}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.section-head{display:flex;align-items:center;gap:14px;margin-bottom:19px}.section-head h2{margin:0}.section-head .eyebrow{margin-bottom:3px}.section-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;font-size:1.4rem;flex:none}.section-icon.night{background:#e7ecff}.section-icon.day{background:#fff2dd}.night-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.night-choice,.choice{background:#f7faf9;border:2px solid #e6efed;border-radius:16px;color:#173c52;display:flex;align-items:center;justify-content:center;gap:6px;transition:.15s}.night-choice{min-height:116px;flex-direction:column}.night-choice span{font-size:2.1rem}.night-choice:hover,.choice:hover{border-color:#8fd2c6}.night-choice.selected,.choice.selected{border-color:#20a68e;background:#e9f9f1}.help{font-size:.81rem;color:#81929c;margin:16px 0 0}.field-label{font-size:.8rem;font-weight:900;color:#516a78;margin:17px 0 8px}.options{display:flex;gap:7px;flex-wrap:wrap}.choice{min-height:49px;padding:7px 10px;font-size:.79rem;flex:1}.choice span{font-size:1.15rem}.counter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-bottom:1px solid #eaf0f0}.counter-row b,.counter-row small{display:block}.counter-row b{font-size:.9rem}.counter-row small{color:#8796a0;font-size:.72rem;margin-top:3px}.counter{display:flex;align-items:center;gap:5px}.counter button{width:31px;height:31px;border:0;background:#e9f7f2;color:#227768;border-radius:10px;font-weight:900;font-size:1.1rem}.counter output{min-width:20px;text-align:center;font-weight:900}.counter button.clear{background:transparent;color:#8b9ba2}.notes-label,label{display:block;font-size:.85rem;font-weight:700;color:#365465}.notes-label{margin:18px 0}input,textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #cfdedc;border-radius:11px;background:white;color:#173c52;margin-top:7px}textarea{min-height:72px;resize:vertical}.primary,.secondary{border:0;border-radius:12px;padding:12px 17px;font-weight:900}.primary{background:#20a68e;color:#fff}.primary:hover{background:#178a75}.secondary{background:#e3f4ee;color:#226e5d}.full{width:100%}.banner{background:#fff7dc;color:#745d19;border-radius:14px;padding:13px 17px;margin-bottom:20px;font-size:.88rem}.segmented{display:flex;gap:3px;background:#edf4f3;border-radius:12px;padding:4px}.segmented button{border:0;background:transparent;color:#607786;border-radius:9px;padding:8px 11px;font-weight:800;font-size:.78rem}.segmented button.on{background:white;color:#176b64;box-shadow:0 2px 8px #1e596117}.calendar-top,.calendar-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.calendar-controls{margin:20px 0}.period{display:flex;align-items:center;gap:9px}.period strong{font-size:.84rem;text-align:center}.period button{border:0;background:#eef7f3;border-radius:10px;width:32px;height:32px;font-size:1.35rem;color:#287664}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday{text-align:center;color:#8c9ca5;font-weight:900;font-size:.75rem;padding:7px 0}.date-cell{min-width:0;min-height:70px;border:1px solid #e2ecea;background:#fff;border-radius:12px;color:#455d6a;display:flex;flex-direction:column;align-items:center;justify-content:space-around}.date-cell:hover{border-color:#20a68e}.date-cell b{font-size:1.2rem;white-space:nowrap}.date-cell.outside{opacity:.28}.date-cell.today-cell{background:#f0fbf5;border-color:#7acdb4}.legend{margin-top:16px;color:#6d818d;font-size:.76rem;line-height:1.6}.detail .section-head{justify-content:space-between}.text-btn{border:0;background:transparent;color:#188f7b;font-weight:800;padding:7px}.adventure-hero{display:flex;align-items:center;gap:25px}.creature.big{font-size:5.5rem}.adventure-hero h2{font-size:1.65rem;margin:12px 0 6px}.adventure-hero p{margin:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat{text-align:center;padding:19px 12px}.stat span,.stat strong,.stat small{display:block}.stat span{font-size:1.8rem}.stat strong{font-size:2rem;margin:2px 0}.stat small{color:#768b96;font-size:.78rem}.sun-wall{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0}.wall-sun{width:49px;height:49px;background:#f1f5f4;border-radius:50%;display:grid;place-items:center;font-size:1.65rem;color:#bdc9c7}.wall-sun.earned{background:#fff4c8}.bar-chart{display:flex;align-items:end;gap:25px;min-height:130px;margin:10px 0}.bar-chart>div{display:flex;flex-direction:column;align-items:center;gap:5px}.bar-chart .bar{width:38px;border-radius:9px 9px 3px 3px;background:#ffc95e}.bar-chart small{color:#8597a0}.list-row{border-bottom:1px solid #edf1f0;padding:12px 0;display:flex;justify-content:space-between;gap:12px;margin:0}.list-row b{white-space:nowrap;color:#176b64}.reward-list{display:grid;gap:12px;margin-top:22px}.reward{display:flex;align-items:center;gap:14px;border:1px solid #e5efed;border-radius:17px;padding:14px}.reward-icon{font-size:2rem;background:#fff6df;border-radius:14px;padding:9px}.reward h3{margin:0 0 3px}.reward p{margin:0;font-size:.83rem}.reward small{color:#80939d}.reward .badge{margin-left:auto}.badge{font-size:.72rem;font-weight:800;color:#7d8d96;background:#eff2f1;padding:7px 9px;border-radius:99px;white-space:nowrap}.badge.won{color:#1c786b;background:#e3f5eb}.parent-lock{max-width:520px;text-align:center;margin:0 auto}.parent-lock form{text-align:left;margin-top:22px}.parent-lock button{margin-top:15px}.lock-visual{font-size:3rem}.metric,.goal-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ebf1ef;font-size:.88rem}.metric b{white-space:nowrap}.goal-row small{display:block;color:#7c909b;margin-top:3px}.goal-form{margin-top:23px}.goal-form label{margin-bottom:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{display:flex;align-items:flex-start;gap:9px;font-weight:500;line-height:1.4}.check input{width:auto;margin-top:3px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:linear-gradient(145deg,#173c52,#1f9b85);color:white;padding:clamp(40px,9vw,120px);display:flex;flex-direction:column;justify-content:center}.auth-art h1{font-size:clamp(2rem,5vw,3.8rem);max-width:530px}.auth-art p{color:#d1efed}.hero-sun{font-size:6rem;margin-bottom:24px}.auth-card{max-width:500px;width:calc(100% - 40px);align-self:center;justify-self:center;padding:38px}.auth-card label{margin:16px 0}.auth-card .primary{width:100%}.auth-card .check{font-size:.8rem}.auth-card #auth-error{color:#bd3434}.mobile-nav{display:none}.toast{position:fixed;bottom:24px;right:24px;background:#173c52;color:white;padding:13px 18px;border-radius:14px;box-shadow:0 8px 30px #1238;z-index:20}@media(max-width:900px){.shell{display:block}.sidebar{display:none}.main{padding:25px 20px 95px}.mobile-nav{display:block;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #dce9e8;z-index:10;padding:6px 4px env(safe-area-inset-bottom)}.mobile-nav .nav-list{display:grid;grid-template-columns:repeat(5,1fr);gap:0}.mobile-nav .nav-item{display:flex;flex-direction:column;gap:2px;text-align:center;padding:5px 0;font-size:.62rem;border-radius:9px}.mobile-nav .nav-item span:first-child{font-size:1.25rem}.mobile-nav .nav-item.active{background:#e5f5ef;color:#167b6d}.two-col{grid-template-columns:1fr}.toast{bottom:80px}}@media(max-width:600px){.main{padding:21px 14px 95px}.top{margin-bottom:17px}.top-suns{padding:8px 10px}.top-suns small{display:none}.card{padding:19px;border-radius:18px}.greeting{padding:22px;min-height:135px}.greeting h2{font-size:1.36rem}.sparkle{font-size:3rem}.section-head h2{font-size:1.1rem}.stats-grid{gap:7px}.stat{padding:13px 5px}.stat strong{font-size:1.55rem}.stat small{font-size:.65rem}.date-cell{min-height:56px}.date-cell b{font-size:.91rem}.calendar-grid{gap:3px}.reward{flex-wrap:wrap}.reward .badge{margin-left:0}.auth{grid-template-columns:1fr}.auth-art{min-height:235px;padding:30px}.auth-art h1{font-size:1.8rem;margin-bottom:3px}.auth-art p{margin:0}.hero-sun{font-size:3rem;margin:0}.auth-card{margin:18px 0;padding:24px}.form-grid{grid-template-columns:1fr}.choice{font-size:.7rem;padding:5px}.choice span{font-size:1rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.reward-icon img{width:52px;height:52px;object-fit:cover;border-radius:10px;display:block}
.moisture-list{border-top:1px solid #eaf0f0}.moisture-name{display:flex;align-items:center;gap:10px}.moisture-name span{font-size:1.45rem}.date-cell small{display:block;font-size:.68rem;font-weight:500;line-height:1.1}.date-cell b{font-size:.9rem;line-height:1.15}.options:has([data-field="stoolType"]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.options:has([data-field="stoolType"]){grid-template-columns:repeat(2,minmax(0,1fr))}.date-cell b{font-size:.69rem}.date-cell small{font-size:.58rem}}
.period{flex-wrap:wrap}.period .today-button{width:auto;height:32px;padding:0 12px;font-size:.78rem;font-weight:900;background:#e2f5ec;color:#177963}
.top-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.logout-button{border:1px solid #c9dfdb;background:white;color:#176b64;border-radius:12px;padding:11px 14px;font-size:.82rem;font-weight:800;white-space:nowrap}.logout-button:hover{background:#e9f7f2}@media(max-width:600px){.top{flex-wrap:wrap;align-items:flex-start}.top-actions{width:100%;justify-content:space-between}.logout-button{padding:9px 12px}}
.parent-overview{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.profile-card form>label{margin:0 0 18px}.profile-card form>.field-label{margin:4px 0 10px}.profile-card .secondary{margin-top:3px}.avatar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:19px}.avatar-option{position:relative;min-width:0;min-height:130px;border:2px solid #dcebe7;border-radius:18px;background:#f7fbf9;color:#254d5f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:13px 9px;transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.avatar-option:hover{transform:translateY(-3px);border-color:#86cdbb;box-shadow:0 8px 18px #1b72621c}.avatar-option.selected{border-color:#159b84;background:#e8f8f0;box-shadow:0 0 0 3px #d5f2e7}.avatar-emoji{display:block;font-size:3.05rem;line-height:1.1;filter:drop-shadow(0 5px 5px #173c5222);animation:avatar-float 3.1s ease-in-out infinite;animation-delay:var(--avatar-delay)}.avatar-label{font-size:.88rem;font-weight:850}.avatar-check{display:none;position:absolute;top:8px;right:9px;width:22px;height:22px;border-radius:50%;background:#159b84;color:#fff;font-size:.78rem;font-weight:900;line-height:22px;text-align:center}.avatar-option.selected .avatar-check{display:block}@keyframes avatar-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}@media(max-width:900px){.parent-overview{grid-template-columns:1fr}}@media(max-width:600px){.avatar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.avatar-option{min-height:117px}.avatar-emoji{font-size:2.75rem}}@media(prefers-reduced-motion:reduce){.avatar-emoji{animation:none}.avatar-option{transition:none}}
