:root{color-scheme:light;--bg:#f5f8f3;--surface:#fff;--ink:#263c30;--muted:#68786c;--line:#e4eae1;--green:#346a4c;--green-deep:#27543b;--green-soft:#e9f1e6;--amber:#fcf3e1;--amber-ink:#946326;--lilac:#eeedf8;--lilac-ink:#6d629b;--blue:#eaf3f7;--blue-ink:#416e86;--rose:#faeded;--rose-ink:#9c5a63;--orange:#fbede3;--orange-ink:#9a6038;--danger:#ad3e40;--radius:20px;--shadow:0 12px 48px #2e4d3812;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;font-synthesis:none}
*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior:none}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.6}button,input,textarea,select{font:inherit}button,a,[role=button]{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit;user-select:none;-webkit-user-select:none}button:disabled{opacity:.48;cursor:default}a{color:inherit;text-decoration:none}button,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #7b9a6b}button:active:not(:disabled),.primary:active{opacity:.72}input,select,textarea{min-width:0;max-width:100%;color:var(--ink);font-size:16px;border:1px solid #d7e0d3;border-radius:11px;background:#fff;padding:11px 13px;min-height:46px;outline:0;width:100%}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #346a4c16}input::placeholder,textarea::placeholder{color:#77847b}input[type=checkbox]{width:19px;height:19px;min-height:0;accent-color:var(--green)}textarea{resize:vertical;line-height:1.6}label{display:flex;flex-direction:column;gap:7px;font-weight:500;font-size:14px}label+label,form>label,form>.form-grid{margin-top:17px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.35;font-weight:600;letter-spacing:-.8px}h2{font-size:18px;font-weight:600;letter-spacing:-.3px}h3{font-size:17px}small{font-size:12px}b,strong{font-weight:600}.muted{color:var(--muted)}.icon{display:inline-block;flex-shrink:0;width:22px;height:22px;background:currentColor;mask-image:var(--icon);-webkit-mask-image:var(--icon);mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;vertical-align:middle}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:12px}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;padding:12px 19px;min-height:46px;white-space:nowrap;line-height:1.4;font-weight:500;font-size:14px;transition:background .15s,opacity .15s}.primary{background:var(--green);color:white}.secondary{background:white;color:var(--green-deep);border:1px solid #d8e2d3}.danger{background:var(--danger);color:#fff}.primary .icon,.secondary .icon{width:19px;height:19px}.primary.small{min-height:40px;padding:9px 12px;font-size:13px}.full{width:100%}.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;color:var(--green);font-size:13px;font-weight:500}.text-btn .icon{width:17px;height:17px}.danger-text{display:inline-flex;align-items:center;gap:5px;color:var(--danger);min-height:44px}.danger-text .icon{width:18px;height:18px}.overline{font-size:10px;letter-spacing:2px;font-weight:600;color:var(--muted)}.initial-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;font-size:24px;color:var(--green);gap:16px}.initial-loading span{font-size:14px;color:var(--muted)}
.brand{display:flex;align-items:center;gap:10px;text-align:left;padding:0}.brand>.icon{width:36px;height:36px;color:var(--green)}.brand>span:not(.icon){font-size:24px;line-height:1.25;letter-spacing:2px;font-weight:600}.brand small{display:block;font-size:10px;letter-spacing:1px;margin-top:7px;color:var(--muted);font-weight:400}.welcome{display:grid;grid-template-columns:1.05fr 1fr;min-height:100dvh}.welcome-story{position:relative;display:flex;flex-direction:column;padding:45px 64px;background:#e7efdf;overflow:hidden}.welcome-copy{flex:1;display:flex;flex-direction:column;justify-content:center;padding-top:65px}.welcome-copy .overline{color:#557047}.welcome h1{font-size:60px;line-height:1.3;letter-spacing:1px;font-weight:500;font-family:"Songti SC","STSong",serif;margin:24px 0}.welcome-copy p{font-size:16px;color:#5f725c;line-height:2}.welcome-forest{position:relative;height:220px;width:340px;max-width:100%;margin-top:10px}.forest-orb{position:absolute;width:160px;height:160px;border-radius:50%;background:#dae6cf;right:2px;top:16px}.welcome-forest .icon{position:absolute}.tree-one{width:170px;height:170px;left:2px;bottom:0;color:#719568}.tree-two{width:100px;height:100px;right:58px;bottom:6px;color:#4c7854}.tree-three{width:112px;height:112px;right:-15px;bottom:0;color:#95ad83}.welcome-bottom{display:flex;align-items:center;gap:9px;font-size:12px;color:#5e7358;padding-top:35px}.welcome-bottom .icon{width:17px;height:17px}.welcome-form{display:flex;align-items:center;justify-content:center;padding:44px 32px;background:#fafcf8}.auth-box{width:350px;max-width:100%}.mini-leaf{width:48px;height:48px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--green-soft);color:var(--green);margin-bottom:22px}.mini-leaf .icon{width:28px;height:28px}.auth-box h2{font-size:27px;margin-bottom:8px}.auth-box>.muted{font-size:13px}.auth-tabs{display:flex;background:#edf2e9;border-radius:12px;padding:4px;margin:28px 0 22px}.auth-tabs button{flex:1;min-height:40px;color:var(--muted)}.auth-tabs button.active{background:#fff;box-shadow:0 2px 6px #2f4a3710;border-radius:9px;color:var(--green);font-weight:600}.auth-box form>label:first-child{margin-top:0}.form-error{font-size:13px;color:var(--danger);margin:12px 0;white-space:pre-line}.form-error:empty{margin:10px 0}.demo-button{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:15px;min-height:44px;color:var(--green);font-size:13px}.demo-button .icon{width:16px;height:16px}.auth-foot{color:var(--muted);font-size:11px;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:30px}.auth-foot .icon{width:15px;height:15px}
.app-shell{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fbfcf9;border-right:1px solid var(--line);padding:37px 24px 0;display:flex;flex-direction:column;z-index:10}.sidebar .brand{padding-left:7px}.sidebar .brand>span:not(.icon){font-size:23px}.baby-switch{position:relative;display:flex;align-items:center;gap:10px;background:#eef3e9;border:1px solid #e4ebdd;border-radius:15px;margin:34px 0 29px;padding:14px 10px}.baby-avatar{background:#73935e;width:32px;height:32px}.baby-switch div{display:flex;flex-direction:column;min-width:0}.baby-switch strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:124px}.baby-switch div>span{font-size:11px;color:#66745e;margin-top:2px}.baby-switch select{position:absolute;inset:0;opacity:0;cursor:pointer}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:12px 15px;min-height:49px;margin-bottom:8px;text-align:left;color:#72806f;font-weight:500;font-size:14px;border-radius:11px}.nav-item.active{background:#e6efdf;color:var(--green-deep);font-weight:600}.nav-item .icon{width:21px;height:21px}.nav-item i{width:5px;height:5px;border-radius:50%;background:var(--green);margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar-note{font-size:12px;color:#7a8b70;padding:32px 15px 26px;line-height:1.9}.sidebar-note .icon{display:block;margin-bottom:8px;color:#92a77c}.sidebar-bottom .nav-item{font-size:13px}.account{display:flex;align-items:center;gap:10px;margin:10px -24px 0;padding:20px 17px;border-top:1px solid var(--line)}.avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e5ecdd;color:#55754b;font-size:12px;border:2px solid #fff;flex-shrink:0}.account>div{display:flex;flex-direction:column;flex:1;min-width:0}.account b{font-size:13px}.account small{font-size:10px;color:var(--muted)}.account .icon-btn{color:var(--muted);min-width:35px}.account .icon{width:18px;height:18px}.main-shell{margin-left:235px}.topbar{height:80px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);background:#f8faf6}.breadcrumb{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.breadcrumb>.icon{width:15px;height:15px;color:#81976d}.slash{padding:0 5px;color:#adb8a6}.sync-status{display:flex;align-items:center;gap:7px;color:#607b54;font-size:11px;min-height:44px;white-space:nowrap}.sync-status>.icon{width:17px;height:17px}.sync-status.is-offline{color:#966423}.content{max-width:1440px;margin:auto;padding:36px 42px 60px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.page-heading h1{margin-top:8px;display:flex;align-items:center;gap:9px}.page-heading p{font-size:12px;color:var(--muted);margin-top:10px}.heading-sprout .icon{width:30px;height:30px;color:#709057;vertical-align:bottom}.heading-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.day-picker{display:flex;align-items:center;gap:1px;border:1px solid #dce5d6;border-radius:11px;background:#fff;height:44px}.day-picker .icon-btn{min-width:31px;min-height:40px}.day-picker .icon{width:16px;height:16px}.day-picker label{position:relative;flex-direction:row;align-items:center;gap:9px;cursor:pointer;font-size:12px;min-width:70px;justify-content:center;height:42px}.day-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;min-height:0;padding:0}.day-picker input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.demo-banner,.offline-banner{display:flex;align-items:center;justify-content:center;gap:8px;background:#faf0d9;color:#7d5b24;font-size:12px;padding:8px 20px;line-height:1.6}.offline-banner{background:#e9eff6;color:#425e80}.demo-banner .icon,.offline-banner .icon{width:16px;height:16px}.bottom-nav{display:none}
.greeting-strip{display:flex;align-items:center;gap:12px;border:1px solid #e4ebdc;border-radius:13px;background:#edf3e7;padding:11px 17px;margin-bottom:22px}.greeting-strip>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#e4eddb;color:#7f945f}.greeting-strip p{flex:1;font-size:12px;color:#5a7051}.greeting-strip b{font-weight:400;margin-left:4px}.greeting-strip .text-btn{min-height:28px;font-size:11px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:32px}.summary-card{border-radius:17px;padding:19px 21px 16px;min-height:153px;position:relative;overflow:hidden}.amber{background:var(--amber);color:var(--amber-ink)}.lilac{background:var(--lilac);color:var(--lilac-ink)}.blue{background:var(--blue);color:var(--blue-ink)}.green{background:var(--green-soft);color:var(--green)}.rose{background:var(--rose);color:var(--rose-ink)}.orange{background:var(--orange);color:var(--orange-ink)}.summary-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500}.summary-top .icon{width:21px;height:21px;opacity:.8}.summary-card>strong{display:block;font-size:36px;line-height:1.35;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-1px;margin-top:12px}.summary-card strong small{font-size:12px;font-weight:400;letter-spacing:0;margin:0 4px}.summary-card>p{font-size:10px;margin-top:9px;opacity:.95}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:15px}.section-heading>.icon{width:22px;height:22px;color:#869b72}.section-heading h2{display:flex;align-items:center;gap:8px}.count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:1px 6px;border-radius:6px;background:#edf2e8;color:#738367;font-size:11px;font-weight:400}.quick-section{margin-bottom:31px}.quick-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;background:white;border:1px solid var(--line);padding:20px 10px;border-radius:17px}.quick-add{display:flex;align-items:center;flex-direction:column;padding:8px 3px;border-radius:12px;min-width:0;gap:9px}.quick-icon{display:flex;align-items:center;justify-content:center;width:49px;height:49px;border-radius:16px;flex-shrink:0}.quick-icon .icon{width:25px;height:25px}.quick-add strong{font-size:12px}.quick-add small{color:var(--muted);font-size:10px;white-space:nowrap;margin-top:-5px}.home-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:25px}.timeline-panel,.memory-panel,.records-panel,.chart-panel,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px 23px;min-width:0}.timeline-panel .section-heading,.memory-panel .section-heading{margin-bottom:7px}.timeline-panel h2,.memory-panel h2{font-size:16px}.timeline{display:flex;flex-direction:column}.record-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:16px 0;position:relative;min-height:86px}.record-row+.record-row{border-top:1px solid #edf0e9}.record-time{font-size:11px;color:#7a8776;width:34px;flex-shrink:0;font-variant-numeric:tabular-nums}.record-symbol{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:13px;flex-shrink:0}.record-symbol .icon{width:21px;height:21px}.record-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.record-copy strong{font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.record-copy>span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-author{font-size:10px;color:#73816b;display:flex;align-items:center;gap:6px;max-width:70px;overflow:hidden}.record-author .icon{width:14px;height:14px}.record-chevron{width:13px;height:13px;color:#88967d}.pending-tag{font-size:10px;margin-left:7px;font-style:normal;background:#f8efdc;color:#88632a;padding:2px 5px;border-radius:5px}.memory-panel{display:flex;flex-direction:column}.photo-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:230px;background:#f5f7ef;border:1px dashed #dfe7d6;border-radius:13px;padding:24px 16px;margin-top:9px}.photo-empty>.icon{width:33px;height:33px;color:#8c9d7d}.photo-empty p{font-family:"Songti SC",serif;font-size:17px;color:#6d8060;line-height:1.8;margin:20px 0}.photo-empty .secondary{font-size:12px;padding:10px 15px;min-height:40px}.family-mini{display:flex;align-items:center;gap:10px;margin-top:20px;padding-top:19px;border-top:1px solid var(--line)}.avatar-stack{display:flex;padding-left:0}.avatar-stack .avatar{margin-left:-9px;width:30px;height:30px;font-size:10px}.avatar-stack .avatar:first-child{margin-left:0}.family-mini p{flex:1;display:flex;flex-direction:column;gap:3px}.family-mini strong{font-size:11px}.family-mini p span{font-size:10px;color:var(--muted)}.family-mini .icon-btn{min-width:25px}.family-mini .icon{width:16px;height:16px}.mini-photos{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.mini-photos button{padding:0;overflow:hidden;aspect-ratio:1;border-radius:12px}.mini-photos img{width:100%;height:100%;object-fit:cover}.active-timers{margin-bottom:24px}.running-timer{display:flex;align-items:center;gap:13px;border-radius:16px;padding:18px 20px;margin-bottom:10px}.running-timer>div{display:flex;flex-direction:column;gap:3px;flex:1}.running-timer strong{font-size:13px}.running-timer span{font-size:11px}.running-timer b{font-size:22px;letter-spacing:1px;font-weight:500;font-variant-numeric:tabular-nums;margin-right:12px}.empty-state{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:230px;gap:10px;padding:28px 12px}.empty-state>.icon{width:36px;height:36px;color:#92a57d;margin-bottom:8px}.empty-state p{color:var(--muted);font-size:13px;line-height:1.9}.empty-state h3{font-size:16px}.empty-state.large{min-height:460px;border:1px solid var(--line);border-radius:20px;background:#fff}.empty-state.large>.icon{width:55px;height:55px;margin-bottom:18px}.empty-state.large .primary{margin-top:15px}.empty-state.compact{min-height:140px}.filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.filter-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e1e7db;border-radius:9px;padding:8px 14px;min-height:40px;font-size:12px;color:var(--muted);white-space:nowrap}.chip.selected{border-color:#b8cbb0;background:#edf3e8;color:var(--green-deep);font-weight:500}.chip .icon{width:16px;height:16px}.filter-chips select{width:auto;min-height:40px;font-size:12px;padding:8px;max-width:135px}.search{flex-direction:row;align-items:center;gap:8px;max-width:230px;border:1px solid var(--line);border-radius:10px;padding:0 10px}.search input{border:0;background:none;padding:10px 0;font-size:12px;min-height:40px;box-shadow:none}.search .icon{width:16px;height:16px;color:#8a9782}.records-panel .record-row{padding:18px 0}.records-panel .record-author{max-width:120px}.records-panel .record-copy strong{font-size:14px}.records-panel .record-copy>span{font-size:12px}.records-panel .record-author,.records-panel .record-time{font-size:12px}
.chart-panel{margin-bottom:24px}.segmented{display:flex;border:1px solid var(--line);padding:3px;border-radius:9px}.segmented button{font-size:11px;color:var(--muted);padding:6px 13px;min-height:31px;border-radius:6px}.segmented .selected{background:#e8f0e2;color:var(--green-deep)}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.chart-toolbar p{font-size:12px;color:var(--muted)}.chart-toolbar p strong{font-size:25px;color:var(--green);margin:0 3px}.bar-chart{display:flex;gap:12px;margin:35px 0 15px;height:230px}.chart-y{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:#86907f;padding:13px 0 30px;min-width:27px;text-align:right}.bar-area{display:flex;flex:1;min-width:0;gap:15px;background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),#edf0e9 50%);border-bottom:1px solid var(--line)}.bar-column{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1;min-width:0;position:relative;gap:6px}.bar-track{height:170px;width:100%;display:flex;align-items:flex-end;justify-content:center}.bar{background:var(--bar-color);width:min(100%,36px);border-radius:5px 5px 0 0;opacity:.78;min-height:1px}.bar-column>span{font-size:10px;color:var(--muted);height:25px;white-space:nowrap}.bar-value{font-size:10px;color:var(--muted);height:15px}.chart-foot{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin-top:20px}.chart-foot .icon{width:14px;height:14px}.stats-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.growth-current{display:flex;align-items:baseline;gap:8px;margin-top:20px}.growth-current strong{font-size:33px;color:var(--green);font-weight:500;line-height:1.3}.growth-current>span{color:var(--muted);font-size:12px}.growth-current small{margin-left:auto;color:var(--muted);font-size:10px}.line-chart{width:100%;height:auto;margin-top:10px;display:block;overflow:visible}.grid-line{stroke:var(--line);stroke-width:1}.chart-dates{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.milestone-list{display:flex;flex-direction:column}.milestone-list button{display:flex;align-items:center;gap:12px;text-align:left;min-height:88px}.milestone-list button+button{border-top:1px solid var(--line)}.milestone-stamp{display:flex;align-items:center;justify-content:center;border-radius:50%;width:42px;height:42px;background:#edf3e7;color:#718a56;flex-shrink:0}.milestone-stamp .icon{width:22px;height:22px}.milestone-list button>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.milestone-list strong{font-size:13px}.milestone-list small{color:var(--muted);font-size:10px}.milestone-list button>.icon{width:16px;height:16px;color:#8b9a80}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.photo-card{background:white;border:1px solid var(--line);border-radius:17px;text-align:left;padding:0;overflow:hidden}.photo-wrap{aspect-ratio:1.1;overflow:hidden;background:#ebf0e5}.photo-wrap img{width:100%;height:100%;object-fit:cover}.photo-caption{display:flex;flex-direction:column;gap:7px;padding:17px}.photo-caption strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-caption span{font-size:10px;color:var(--muted)}.lightbox-photo{display:block;max-width:100%;max-height:65dvh;width:auto;margin:auto;border-radius:12px}.lightbox-photo+p{margin-top:18px;white-space:pre-line}.photo-lightbox-footer{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:15px}.photo-lightbox-footer>.muted{font-size:12px;flex:1}.family-hero{display:flex;align-items:center;gap:22px;background:#e9f0e1;border:1px solid #e0e9d7;border-radius:20px;padding:29px;margin-bottom:26px}.family-hero-icon{display:flex;width:69px;height:69px;border:1px solid #cedec2;align-items:center;justify-content:center;border-radius:22px;color:#5d834c;background:#f3f7ee}.family-hero-icon .icon{width:41px;height:41px}.family-hero h2{font-size:24px}.family-hero p{font-size:12px;color:#6a805f;margin-top:8px}.family-private{margin-left:auto;display:flex;align-items:center;gap:6px;color:#677f57;font-size:11px}.family-private .icon{width:16px;height:16px}.family-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;margin-bottom:24px}.member{display:flex;align-items:center;gap:14px;padding:18px 0;min-height:89px}.member+.member{border-top:1px solid var(--line)}.member .avatar{width:42px;height:42px;background:#f0ecde;color:#8b7955}.member .avatar.owner{background:#e9efdf;color:#617f4d}.member>div{display:flex;flex-direction:column;gap:4px;flex:1}.member strong{font-size:13px}.member strong small{display:inline-block;font-size:10px;font-weight:400;background:#edf3e7;color:#6f885f;border-radius:5px;margin-left:8px;padding:0 5px}.member>div>span{font-size:11px;color:var(--muted)}.member>.icon{width:18px;height:18px;color:#81936f}.baby-profile{display:flex;align-items:center;width:100%;gap:13px;text-align:left;padding:17px 0}.profile-leaf{width:46px;height:46px;border-radius:15px;background:#eff4e9;color:#839766;display:flex;align-items:center;justify-content:center}.profile-leaf .icon{width:28px;height:28px}.baby-profile>div{flex:1;display:flex;flex-direction:column;gap:5px}.baby-profile strong{font-size:14px}.baby-profile>div>span{font-size:11px;color:var(--muted)}.baby-profile>.icon{width:17px;height:17px;color:#8b9b7c}.soft-note{background:#f4f7ef;border-radius:12px;padding:16px;font-size:11px;color:#6d805e;line-height:1.9;margin-top:16px;display:flex;align-items:flex-start;gap:9px}.soft-note .icon{width:18px;height:18px;margin-top:2px}.family-list{display:flex;gap:10px;flex-wrap:wrap}.mobile-settings{display:none}.panel>.muted{font-size:12px;line-height:1.9;margin-bottom:12px}.settings-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-list{display:flex;flex-direction:column}.settings-list>button,.settings-list>a{display:flex;align-items:center;gap:13px;padding:17px 0;text-align:left;width:100%;min-height:80px}.settings-list>button+button,.settings-list>button+a,.settings-list>a+button{border-top:1px solid var(--line)}.settings-list>button>.icon:first-child,.settings-list>a>.icon:first-child{color:#81966a;width:23px;height:23px}.settings-list>button>span:not(.icon),.settings-list>a>span:not(.icon){display:flex;flex-direction:column;gap:4px;flex:1}.settings-list strong{font-size:13px}.settings-list small{font-size:10px;color:var(--muted)}.settings-list>button>.icon:last-child,.settings-list>a>.icon:last-child{width:16px;height:16px;color:#8b9a7f}.inventory-list>div{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.inventory-list>div>.icon{color:#a18750}.inventory-list>div>span{display:flex;flex-direction:column;gap:3px;flex:1}.inventory-list strong{font-size:11px}.inventory-list small{font-size:10px;color:var(--muted)}.inventory-list b{font-size:13px;color:var(--green)}.inventory-list+.secondary{margin-top:16px}.custom-list{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.sound-button{display:flex;width:100%;margin-top:12px}.sound-button+small{display:block;text-align:center;font-size:10px}.settings-footer{display:flex;align-items:center;justify-content:space-between;margin-top:28px;color:var(--muted);font-size:11px}
dialog{border:1px solid #e1e8da;border-radius:22px;padding:0;width:540px;max-width:calc(100% - 32px);max-height:calc(100dvh - 64px);color:var(--ink);box-shadow:0 24px 110px #172e3333;background:#fff;overscroll-behavior:contain}dialog::backdrop{background:#23382966;backdrop-filter:blur(3px)}dialog[open]{animation:dialog-in .18s ease-out}.wide-dialog{width:760px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head h2{font-size:18px}.modal-head .icon-btn{margin:-6px -10px -6px 0;color:var(--muted)}.modal-body{padding:24px;overflow-wrap:anywhere}.modal-body>p{font-size:13px;line-height:1.9}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid label+label{margin:0}.form-grid label:first-child{grid-column:1/-1}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;border-top:1px solid var(--line);padding-top:20px}.form-footer>.muted{font-size:10px;display:flex;align-items:center;gap:4px}.form-footer>.muted .icon{width:13px;height:13px}.record-form-intro{display:flex;align-items:center;gap:13px;margin-bottom:18px}.record-form-intro>div{display:flex;flex-direction:column;gap:4px}.record-form-intro strong{font-size:14px}.record-form-intro>div>span{font-size:11px;color:var(--muted)}.record-form-intro .quick-icon{width:44px;height:44px}.timer-start{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f3f6ee;border:1px solid #e4ebdc;border-radius:12px;padding:12px;margin-bottom:18px}.timer-start p{font-size:11px;color:var(--muted)}.timer-start .secondary{font-size:11px;padding:9px 11px;min-height:39px}.timer-start .icon{width:17px;height:17px}.checkbox-row{flex-direction:row;align-items:center;gap:9px;grid-column:1/-1}.photo-input-header{display:flex;align-items:center;justify-content:space-between;margin-top:15px;font-size:13px}.photo-input-header .muted{font-size:10px;font-weight:400;margin-left:4px}.upload-label{cursor:pointer;font-size:12px;flex-direction:row;margin:0}.form-photos{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:9px}.form-photos img{width:81px;height:81px;object-fit:cover;border-radius:10px}.form-photos>div{position:relative;height:81px}.remove-photo{position:absolute;right:-5px;top:-5px;width:27px;height:27px;border-radius:50%;background:#344938;color:white;border:2px solid white;display:flex;align-items:center;justify-content:center}.remove-photo .icon{width:13px;height:13px}.type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.type-grid>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 0;border-radius:12px;font-size:12px;min-height:90px}.type-grid .quick-icon{width:46px;height:46px}.invite-result{margin-top:20px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#f6f8f3}.invite-result label{font-size:12px}.invite-result textarea{font-size:13px}.invite-result .muted{font-size:11px;margin:10px 0}.form-hint{font-size:11px;color:var(--muted);margin-top:13px;line-height:1.8}.install-steps{padding-left:20px}.install-steps li{padding:5px 0 14px;font-size:14px}.install-steps p{font-size:13px;color:var(--muted);margin-top:7px}.queue-row{display:flex;align-items:center;gap:12px;padding:16px 0;width:100%;text-align:left;border-bottom:1px solid var(--line);margin-bottom:10px}.queue-row>span:not(.icon){flex:1;display:flex;flex-direction:column;font-size:13px}.queue-row small{color:var(--muted);font-size:11px}.queue-row>.icon{width:18px;height:18px;color:#7d9465}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#263e31;color:#fff;padding:12px 22px;border-radius:12px;box-shadow:var(--shadow);z-index:1000;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;font-size:13px;max-width:calc(100% - 36px);width:max-content;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes dialog-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){.primary:hover{background:var(--green-deep)}.secondary:hover,.icon-btn:hover{background:#eef3e9}.nav-item:hover:not(.active){background:#f1f5eb;color:var(--green)}.quick-add:hover,.type-grid>button:hover{background:#f5f8f1}.record-row:hover{background:#fafcf7}.chip:hover{background:#f0f5eb}.photo-card:hover img{transform:scale(1.025)}.photo-card img{transition:transform .25s}.text-btn:hover{color:var(--green-deep)}.demo-button:hover{text-decoration:underline}}
@media(min-width:1600px){.content{padding-top:44px}.quick-grid{padding:25px 14px}.summary-card{min-height:165px}.home-columns{grid-template-columns:1.7fr 1fr}.record-row{min-height:91px}}
@media(max-width:1250px){.sidebar{width:208px;padding-left:19px;padding-right:19px}.main-shell{margin-left:208px}.topbar{padding:0 26px}.content{padding:30px 26px 48px}.account{margin-left:-19px;margin-right:-19px}.summary-grid{gap:12px}.summary-card{padding:17px 16px}.summary-card>strong{font-size:31px}.quick-grid{gap:3px}.quick-add small{font-size:9px}.home-columns{gap:17px}.timeline-panel,.memory-panel,.records-panel,.chart-panel,.panel{padding:18px}.record-row{gap:10px}.record-author{max-width:48px}.memory-panel h2{font-size:14px}.filter-toolbar{flex-wrap:wrap;gap:12px}.search{max-width:100%;width:100%}.family-columns,.settings-columns,.stats-columns{gap:17px}.heading-actions{gap:7px}.heading-actions .primary,.heading-actions .secondary{padding:11px 13px;font-size:12px}.photo-grid{gap:15px}}
@media(max-width:1000px) and (min-width:761px){.sidebar{width:175px;padding:29px 13px 0}.sidebar .brand{padding:0}.sidebar .brand>span:not(.icon){font-size:21px}.sidebar .brand>.icon{width:30px;height:30px}.sidebar .brand small{font-size:8px}.main-shell{margin-left:175px}.nav-item{font-size:13px;padding:12px 10px;gap:10px}.account{margin-left:-13px;margin-right:-13px;padding-left:12px;padding-right:8px}.summary-card{padding:15px 13px;min-height:140px}.summary-card>strong{font-size:25px}.summary-card strong small{font-size:10px;margin:0 2px}.summary-card>p{font-size:9px}.summary-top{font-size:11px}.summary-top .icon{width:18px;height:18px}.quick-grid{grid-template-columns:repeat(4,1fr);row-gap:15px}.home-columns{grid-template-columns:1fr}.memory-panel{display:none}.page-heading{align-items:flex-start}h1{font-size:27px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.family-columns,.settings-columns,.stats-columns{grid-template-columns:1fr}.family-private{display:none}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-story{padding:36px}.welcome h1{font-size:48px}}
@media(max-width:760px){:root{font-size:14px}.sidebar{display:none}.main-shell{margin-left:0}.topbar{height:calc(60px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 20px 0;background:var(--bg);border-bottom:0}.breadcrumb{font-size:12px;gap:7px}.breadcrumb .slash,.breadcrumb .slash+span{display:none}.sync-status{font-size:10px;gap:4px}.sync-status .icon{width:15px;height:15px}.content{padding:16px 20px calc(104px + env(safe-area-inset-bottom,0px));max-width:600px}.page-heading{align-items:flex-start;gap:16px;margin-bottom:22px;flex-wrap:wrap}.page-heading>div:first-child{flex:1}.page-heading h1{font-size:26px;letter-spacing:-.5px;margin-top:5px;white-space:normal}.heading-sprout .icon{width:24px;height:24px}.page-heading p{font-size:11px;margin-top:8px;line-height:1.8}.overline{font-size:9px;letter-spacing:1.5px}.heading-actions{gap:8px;justify-content:flex-start}.page-heading:has(.day-picker) .heading-actions{margin-top:21px}.day-picker{height:39px}.day-picker .icon-btn{min-width:27px;min-height:37px}.day-picker label{height:37px;min-width:58px;font-size:11px;gap:5px}.day-picker .icon{width:14px;height:14px}.heading-actions .primary,.heading-actions .secondary{min-height:42px;font-size:11px}.greeting-strip{padding:10px 12px;gap:9px;align-items:flex-start;margin-bottom:17px}.greeting-strip>span{width:27px;height:27px;flex-shrink:0}.greeting-strip>span .icon{width:18px;height:18px}.greeting-strip p{font-size:11px;line-height:1.8}.greeting-strip b{display:block;margin-left:0}.greeting-strip .text-btn{display:none}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:24px}.summary-card{padding:17px 17px 14px;min-height:140px;border-radius:17px}.summary-card>strong{font-size:32px;margin-top:9px;letter-spacing:-.8px}.summary-card strong small{font-size:10px;margin:0 3px}.summary-card>p{font-size:9px;margin-top:7px}.summary-top{font-size:11px}.summary-top .icon{width:19px;height:19px}.section-heading{margin-bottom:12px;min-height:37px}.section-heading h2{font-size:16px}.section-heading .text-btn{font-size:10px;min-height:37px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 3px;padding:16px 7px;border-radius:17px}.quick-add{gap:7px;padding:4px 1px}.quick-icon{width:44px;height:44px;border-radius:14px}.quick-icon .icon{width:23px;height:23px}.quick-add strong{font-size:11px}.quick-add small{font-size:9px}.quick-section{margin-bottom:24px}.home-columns{grid-template-columns:1fr;gap:20px}.timeline-panel,.memory-panel,.records-panel,.chart-panel,.panel{padding:17px;border-radius:17px}.record-row{gap:10px;min-height:80px;padding:15px 0}.record-time{font-size:10px;width:29px}.record-symbol{width:35px;height:35px;border-radius:12px}.record-symbol .icon{width:20px;height:20px}.record-copy strong{font-size:11px}.record-copy>span{font-size:10px}.record-author{font-size:9px;max-width:45px}.record-chevron{width:11px;height:11px}.memory-panel{min-height:250px}.photo-empty{min-height:220px}.family-mini{margin-top:16px}.bottom-nav{display:flex;position:fixed;inset:auto 0 0;padding:7px 10px calc(7px + env(safe-area-inset-bottom,0px));z-index:15;background:#fcfdf9f5;backdrop-filter:blur(16px);border-top:1px solid #e1e8da;justify-content:space-around;gap:4px}.bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#839078;gap:3px;min-width:52px;min-height:49px;flex:1;border-radius:12px;font-size:10px}.bottom-nav button>.icon{width:22px;height:22px}.bottom-nav button.active{color:var(--green-deep);background:#edf3e5}.demo-banner,.offline-banner{font-size:10px;padding:8px 15px;justify-content:flex-start;align-items:flex-start}.demo-banner .icon,.offline-banner .icon{width:14px;height:14px;margin-top:2px}.active-timers{margin-bottom:18px}.running-timer{padding:14px 12px;gap:8px;flex-wrap:wrap}.running-timer>.icon{width:21px;height:21px}.running-timer strong{font-size:12px}.running-timer span{font-size:10px}.running-timer b{font-size:19px;margin-right:0}.running-timer .primary{margin-left:auto;font-size:10px}.filter-toolbar{margin-bottom:18px}.filter-chips{gap:6px}.chip{padding:8px 11px;font-size:11px;min-height:38px}.filter-chips select{font-size:11px;min-height:38px}.search input{font-size:16px}.records-panel .record-row{gap:8px;padding:16px 0}.records-panel .record-copy strong{font-size:12px}.records-panel .record-copy>span{font-size:10px}.records-panel .record-author,.records-panel .record-time{font-size:10px}.records-panel .record-author{max-width:38px}.chart-panel{margin-bottom:19px}.chart-toolbar{align-items:flex-start;flex-wrap:wrap}.chart-toolbar p{margin-left:auto;font-size:11px}.chart-toolbar p strong{font-size:23px}.chart-toolbar .chip{padding:7px 9px}.bar-chart{height:210px;gap:8px;margin-top:20px}.bar-area{gap:8px}.bar-track{height:156px}.bar-value{font-size:8px}.bar-column>span{font-size:8px;transform:rotate(-30deg);transform-origin:center}.chart-y{font-size:9px;min-width:21px}.chart-foot{font-size:9px;align-items:flex-start;line-height:1.9}.stats-columns,.settings-columns,.family-columns{grid-template-columns:1fr;gap:19px}.stats-columns .chart-panel{margin-bottom:0}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-card{border-radius:13px}.photo-caption{padding:12px;gap:5px}.photo-caption strong{font-size:11px}.photo-caption span{font-size:9px}.empty-state.large{min-height:390px}.empty-state.large h2{font-size:19px}.empty-state.large p{font-size:12px}.family-hero{gap:14px;padding:20px;border-radius:18px;margin-bottom:20px}.family-hero-icon{width:51px;height:51px;border-radius:17px;flex-shrink:0}.family-hero-icon .icon{width:31px;height:31px}.family-hero h2{font-size:19px}.family-hero p{font-size:10px}.family-private{display:none}.member{padding:16px 0}.mobile-settings{display:flex;width:100%;margin-top:22px;justify-content:space-between}.settings-footer{flex-direction:column;align-items:center;gap:10px;font-size:10px}.welcome{grid-template-columns:1fr;min-height:100dvh}.welcome-story{padding:28px 26px 25px;min-height:270px}.welcome-story>.brand .icon{width:29px;height:29px}.welcome-story>.brand>span:not(.icon){font-size:22px}.welcome-story .brand small{display:none}.welcome-copy{padding-top:28px;justify-content:flex-start;position:relative}.welcome h1{font-size:35px;line-height:1.4;margin:12px 0 7px}.welcome-copy .overline{font-size:8px;letter-spacing:1.3px}.welcome-copy p{font-size:11px;line-height:1.8}.welcome-forest{position:absolute;right:-23px;bottom:-10px;width:160px;height:140px;margin:0;opacity:.6}.forest-orb{width:100px;height:100px;right:0;top:5px}.tree-one{width:100px;height:100px;left:0}.tree-two{width:60px;height:60px;right:20px}.tree-three{width:66px;height:66px;right:-12px}.welcome-bottom{display:none}.welcome-form{padding:28px 26px calc(32px + env(safe-area-inset-bottom,0px));align-items:flex-start}.auth-box{width:100%;max-width:400px}.mini-leaf{display:none}.auth-box h2{font-size:23px}.auth-box>.muted{font-size:12px}.auth-tabs{margin:22px 0 20px}.auth-foot{font-size:10px;margin-top:20px}dialog{max-width:100%;width:100%;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 24px);margin:auto 0 0;border-radius:22px 22px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px)}.wide-dialog{width:100%}.modal-head{padding:18px 21px 14px}.modal-head h2{font-size:17px}.modal-body{padding:21px 21px 26px}.form-grid{gap:15px 12px}.form-grid label{font-size:13px}.timer-start{padding:10px}.timer-start p{font-size:10px}.type-grid{gap:10px}.type-grid>button{font-size:11px;min-height:85px}.type-grid .quick-icon{width:44px;height:44px}.form-footer .primary{padding:12px 15px;font-size:13px}.form-footer>.muted{font-size:9px}.lightbox-photo{max-height:58dvh}.photo-lightbox-footer{gap:10px}.photo-lightbox-footer>.muted{font-size:10px}.photo-lightbox-footer .text-btn,.photo-lightbox-footer .danger-text{font-size:11px}.invite-result textarea{font-size:16px}#toast{bottom:calc(90px + env(safe-area-inset-bottom,0px));font-size:12px;padding:11px 17px}}
@media(max-width:380px){.content{padding-left:15px;padding-right:15px}.topbar{padding-left:16px;padding-right:16px}.page-heading h1{font-size:23px}.heading-sprout{display:none}.page-heading:has(.day-picker) .heading-actions{margin-top:18px}.day-picker{height:36px}.day-picker .icon-btn{min-width:22px;min-height:34px}.day-picker label{height:34px;min-width:51px;font-size:10px}.day-picker label>.icon{display:none}.summary-card{padding:15px 14px}.summary-card>strong{font-size:29px}.quick-add small{font-size:8px}.record-author{display:none}.records-panel .record-author{display:flex;font-size:9px}.form-footer{flex-wrap:wrap}.form-footer>.muted{display:none}.record-copy strong{font-size:11px}.breadcrumb{font-size:11px}.sync-status{font-size:9px}.type-grid{gap:6px}.type-grid .quick-icon{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.bottom-nav,.heading-actions,.demo-banner,.quick-section,.memory-panel,.greeting-strip,#toast{display:none!important}.main-shell{margin-left:0}.content{padding:0;max-width:none}.page-heading{margin-bottom:20px}.summary-grid{grid-template-columns:repeat(4,1fr)}.home-columns,.stats-columns{display:block}.timeline-panel,.chart-panel{break-inside:avoid}.record-row{break-inside:avoid}body{background:white}}
