@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@500;600;700;800&display=swap";:root{color:#2b3940;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#2b3940;--muted:#87969a;--cyan:#6bbbc9;--cyan-dark:#438f9f;--cyan-soft:#e8f6f8;--warm:#e8b95c;--warm-dark:#a87922;--warm-soft:#fff4df;--line:#edf1f1;--white:#fff;--shadow:0 12px 34px #3a5b6213;background:#f7fbfc;font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f7fbfc;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #5db1c059}::selection{background:#d5eef2}.app-shell{width:100%;max-width:540px;min-height:100dvh;padding-bottom:calc(81px + env(safe-area-inset-bottom));background:#f7fbfc;margin:0 auto}.topbar{z-index:5;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#f7fbfcf0;border-bottom:1px solid #e6eff0b3;align-items:center;gap:11px;height:72px;padding:10px 21px;display:flex;position:sticky;top:0}.brand-mark{color:#fff;background:linear-gradient(145deg,#8fd3df,#61b5c4);border-radius:15px;place-items:center;width:43px;height:43px;display:grid;box-shadow:0 5px 13px #58a9b733}.brand-mark span{font-size:24px;line-height:1;transform:rotate(-18deg)}.brand-title{gap:1px;display:grid}.brand-title strong{color:#34464d;letter-spacing:-.3px;font:800 17px/1.1 Nunito,sans-serif}.brand-title span{color:#9aa9ac;letter-spacing:.15px;font-size:10px}.cloud-status{color:#a3b0b2;background:0 0;border:0;border-radius:14px;justify-content:center;align-items:center;gap:5px;width:40px;height:40px;margin-left:auto;display:flex;position:relative}.status-dot{background:#e4b95e;border-radius:50%;width:7px;height:7px;display:inline-block}.status-dot.is-online{background:#79c3a5;box-shadow:0 0 0 3px #79c3a526}.status-dot.is-syncing{background:#6bbbc9;animation:1s infinite pulse}@keyframes pulse{50%{opacity:.4}}.content{padding:24px 20px 32px;animation:.22s ease-out enter}@keyframes enter{0%{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.welcome-row{justify-content:space-between;align-items:center;min-height:94px;margin:2px 0 21px;display:flex}.eyebrow{color:#a1afb1;letter-spacing:1.35px;margin:0 0 7px;font-size:9px;font-weight:700;line-height:1.3}h1,h2,p{margin-top:0}h1,h2{letter-spacing:-.55px;font-family:Nunito,DM Sans,sans-serif}.welcome-row h1{color:#34464c;margin:0 0 4px;font-size:clamp(22px,5.3vw,27px);font-weight:800;line-height:1.15}.welcome-row h1 span{color:#61aebb}.muted,.welcome-row .muted{color:#95a2a5;margin:0;font-size:12px;line-height:1.55}.baby-orbit{color:#c0e5ea;background:#edf8fa;border:1px solid #e4f3f5;border-radius:50%;place-items:center;width:68px;height:68px;margin-right:2px;display:grid;position:relative}.baby-orbit span{font-size:28px;transform:translate(-7px,2px)}.baby-orbit b{color:#80c4cf;font:700 19px Nunito;position:absolute;top:10px;right:13px;transform:rotate(-15deg)}.sleep-card{box-shadow:var(--shadow);background:linear-gradient(150deg,#fff 10%,#f1fbfc 100%);border:1px solid #eaf3f4;border-radius:24px;padding:19px 19px 14px;position:relative;overflow:hidden}.sleep-card--active{background:linear-gradient(150deg,#fff 0%,#ebf8fa 100%)}.sleep-card__top{justify-content:space-between;align-items:center;display:flex}.tag{letter-spacing:.8px;border-radius:9px;align-items:center;gap:6px;padding:7px 9px;font-size:8px;font-weight:800;line-height:1;display:inline-flex}.tag--sleep{color:#5299a7;background:#e8f6f8}.soft-dot{color:#c1e5e9;font-size:17px}.sleep-empty{align-items:center;gap:15px;min-height:104px;display:flex}.cloud-moon{color:#78bdc8;background:#e9f7f9;border-radius:19px;flex:0 0 59px;place-items:center;width:59px;height:59px;font-size:31px;display:grid}.sleep-empty h2{color:#3a5056;margin:0 0 3px;font-size:16px;font-weight:800}.sleep-empty p{color:#93a1a4;margin:0;font-size:11px}.sleep-action{justify-content:center;align-items:center;gap:9px;width:100%;min-height:48px;margin-top:4px;display:flex}.button{cursor:pointer;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:45px;padding:0 16px;font-size:12px;font-weight:700;transition:transform .14s,filter .14s,background .14s;display:inline-flex}.button:active{transform:scale(.98)}.button:disabled{opacity:.5;cursor:not-allowed}.button--primary{color:#fff;background:#61b3c1;box-shadow:0 6px 14px #5cb1be30}.button--primary:hover{filter:brightness(.97)}.button--secondary{color:#4b929f;background:#e9f6f8;border-color:#e1f0f2}.button--quiet{color:#829195;background:0 0}.button--danger{color:#c36c65;background:#fff1ef;border-color:#f9e5e2}.button--diaper-save{color:#fff;background:#e7b653;width:100%;box-shadow:0 6px 14px #dbae552e}.stop-square{background:currentColor;border-radius:3px;width:11px;height:11px}.card-foot-link{color:#98a8aa;text-align:center;cursor:pointer;background:0 0;border:0;border-top:1px solid #edf4f5;width:100%;margin:12px 0 0;padding:12px 0 1px;font-size:10px}.card-foot-link span,.text-button span{color:#65b2bf;margin-left:4px}.timer-wrap{place-items:center;padding:17px 0 18px;display:grid}.timer-ring{--progress:20%;background:conic-gradient(#67bac7 var(--progress), #e4f2f4 0);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:170px;height:170px;display:flex;position:relative;box-shadow:0 6px 20px #59a7b31c}.timer-ring:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:7px}.timer-ring>*{position:relative}.timer-moon{color:#6db7c2;margin-bottom:2px;font-size:22px;line-height:1}.timer-ring strong{color:#3e5960;letter-spacing:-.3px;font:800 25px/1.25 Nunito,sans-serif}.timer-ring small{color:#91a3a6;margin-top:4px;font-size:10px}.sleep-card--page{margin:22px 0}.quick-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:13px;display:grid}.quick-action{text-align:left;cursor:pointer;border:1px solid #0000;border-radius:17px;align-items:center;gap:9px;min-height:72px;padding:10px;transition:transform .14s;display:flex}.quick-action:active{transform:scale(.985)}.quick-action--diaper{background:#fff6e6;border-color:#f8efd9}.quick-action--sleep{background:#edf8fa;border-color:#e4f1f3}.quick-icon{background:#fffc;border-radius:12px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:17px;display:grid}.quick-action b,.quick-action small{display:block}.quick-action b{color:#46585c;font-size:10px;line-height:1.3}.quick-action small{color:#9da7a5;margin-top:3px;font-size:9px}.quick-arrow{color:#b3c4c4;margin-left:auto;font-size:15px}.section-block{margin-top:26px}.section-heading{justify-content:space-between;align-items:center;gap:12px;min-height:37px;margin-bottom:13px;display:flex}.section-heading .eyebrow{margin-bottom:3px}.section-heading h2{color:#394b51;margin:0;font-size:17px;font-weight:800}.today-pill,.count-pill{color:#65a9b4;background:#eaf6f7;border-radius:10px;padding:7px 10px;font-size:10px;font-weight:700}.count-pill--warm{color:#b18a43;background:#fff4df}.day-stats{grid-template-columns:1fr 1fr;gap:10px;display:grid}.day-stats>div{background:#fff;border:1px solid #eff3f2;border-radius:16px;grid-template-rows:21px 14px;grid-template-columns:34px 1fr;align-items:center;column-gap:9px;min-height:68px;padding:11px 13px;display:grid}.stat-icon{border-radius:11px;grid-row:1/3;place-items:center;width:32px;height:32px;font-size:15px;display:grid}.stat-icon--sleep{color:#63aebc;background:#edf8fa}.stat-icon--diaper{background:#fff7e7;font-size:13px}.day-stats strong{color:#45595f;align-self:end;font:800 16px/1 Nunito,sans-serif}.day-stats small{color:#9ba7a8;align-self:start;font-size:9px}.recent-block{margin-top:28px}.text-button{color:#829497;cursor:pointer;background:0 0;border:0;padding:6px 0;font-size:10px}.record-list{background:#fff;border:1px solid #edf1f1;border-radius:17px;overflow:hidden}.record-row{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #f1f4f3;align-items:center;gap:10px;width:100%;min-height:67px;padding:10px 12px;display:flex}.record-row:last-child{border-bottom:0}.record-row:active{background:#f8fbfb}.record-symbol{border-radius:13px;flex:0 0 37px;place-items:center;width:37px;height:37px;font-size:16px;display:grid}.record-symbol--sleep{color:#67aebb;background:#edf8fa}.record-symbol--diaper{background:#fff6e6;font-size:14px}.record-info{flex:1;gap:3px;min-width:0;display:grid}.record-info b{color:#46575c;font-size:11px}.record-info small{color:#a1acad;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.record-time{color:#859699;white-space:nowrap;justify-items:end;gap:5px;min-width:58px;font-size:9px;display:grid}.record-row>svg{color:#c1cccd}.sync-mark{background:#e5ba63;border-radius:50%;width:5px;height:5px}.sync-mark--synced{background:#80c2a4}.sync-mark--conflict{background:#e78b73}.empty-state{color:#b6c3c4;text-align:center;background:#fff9;border:1px dashed #dce9e9;border-radius:17px;align-content:center;place-items:center;gap:8px;min-height:105px;padding:20px;display:grid}.empty-state span{color:#9dccd3;font:24px Nunito,sans-serif}.empty-state p{color:#9eacad;max-width:230px;margin:0;font-size:11px;line-height:1.5}.page-heading{background:#edf8fa;border-radius:21px;margin:5px 0 22px;padding:21px 18px}.page-heading--diaper{background:#fff5e4}.page-heading--neutral{background:#f0f7f7}.page-heading h1{color:#3b5157;margin:0 0 4px;font-size:27px;font-weight:800;line-height:1.1}.page-heading p:last-child{color:#91a2a5;margin:0;font-size:11px;line-height:1.5}.page-heading--diaper .eyebrow{color:#c2a36b}.page-heading--sleep .eyebrow{color:#79b6c0}.form-card,.diaper-form{background:#fff;border:1px solid #edf1f1;border-radius:20px;padding:18px 17px;box-shadow:0 7px 24px #3a5b6209}.form-badge{color:#62aab7;background:#edf8fa;border-radius:12px;place-items:center;width:34px;height:34px;font-size:17px;display:grid}.form-badge--diaper{color:#c59b4e;background:#fff5e4}.stack-form{gap:13px;display:grid}.stack-form label,.notes-field{color:#617176;gap:7px;font-size:10px;font-weight:700;display:grid}.stack-form input,.stack-form select,.stack-form textarea,.notes-field textarea{color:#526469;background:#fbfdfd;border:1px solid #e7eeee;border-radius:12px;width:100%;min-height:44px;padding:11px 12px;font-size:12px;font-weight:500}.stack-form input:focus,.stack-form textarea:focus,.stack-form select:focus,.notes-field textarea:focus{border-color:#a6d7df;outline:3px solid #60b6c51f}.stack-form textarea,.notes-field textarea{resize:vertical;min-height:78px}.stack-form .button{margin-top:2px}.diaper-form{border-color:#f4eee3;margin:6px 0 25px}.diaper-types{grid-template-columns:repeat(4,1fr);gap:7px;margin:14px 0 17px;display:grid}.diaper-type{color:#879393;cursor:pointer;background:#fff;border:1px solid #f0f1ee;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:76px;padding:9px 4px;display:flex;position:relative}.diaper-type>span{font-size:21px;line-height:1}.diaper-type b{font-size:9px;font-weight:600}.diaper-type--selected{color:#a77c2c;background:#fff9ed;border-color:#e8bd68;box-shadow:0 0 0 2px #e8b95c1a}.diaper-type i{color:#fff;background:#dfb04e;border-radius:50%;place-items:center;width:17px;height:17px;font-style:normal;display:grid;position:absolute;top:5px;right:5px}.notes-field{margin-bottom:15px}.notes-field span{color:#b1babb;font-size:9px;font-weight:500}.notes-field textarea{background:#fffdf9;border-color:#f0eee8;margin-top:-2px;font-weight:400}.hint-center{color:#a8b4b5;text-align:center;margin:11px 0 0;font-size:10px}.history-day{margin:24px 0 0}.history-day__heading{align-items:center;gap:8px;min-height:26px;margin:0 2px 10px;display:flex}.history-day__heading h2{color:#53666b;text-transform:capitalize;margin:0;font-size:14px}.history-day__heading small{color:#a2adae;margin-left:auto;font-size:9px}.day-marker{background:#70becb;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #e8f6f8}.settings-profile{background:#fff;border:1px solid #e9f1f1;border-radius:18px;align-items:center;gap:12px;min-height:75px;padding:14px;display:flex}.profile-avatar{color:#559ba8;background:#e8f6f8;border-radius:15px;place-items:center;width:44px;height:44px;font:800 21px Nunito,sans-serif;display:grid}.settings-profile>div:nth-child(2){gap:4px;display:grid}.settings-profile strong{color:#45595e;font:800 14px Nunito,sans-serif}.settings-profile span{color:#a0adae;font-size:9px}.settings-profile .profile-sparkle{color:#dfbd76;margin-left:auto;font-size:18px}.sync-panel{background:#fff;border:1px solid #eaf0ef;border-radius:20px;padding:17px}.sync-emblem{color:#a7b2b2;background:#f1f5f4;border-radius:13px;place-items:center;width:37px;height:37px;display:grid}.sync-emblem--ok{color:#5ca896;background:#edf8f4}.setup-note{background:#f7faf9;border-radius:13px;padding:13px}.setup-note b{color:#607275;font-size:11px}.setup-note p{color:#8c9a9b;margin:6px 0 0;font-size:10px;line-height:1.6}.setup-note code{color:#6494a0;background:#edf5f5;border-radius:4px;padding:1px 4px;font-size:9px}.setup-copy{margin:0 0 14px}.sync-account{color:#859396;margin:0 0 12px;font-size:10px}.sync-account b{color:#52696d}.sync-summary{color:#849395;background:#f7faf9;border-radius:10px;align-items:center;gap:8px;min-height:34px;padding:8px 10px;font-size:10px;display:flex}.settings-actions{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.settings-actions .button{min-height:38px;font-size:10px}.auth-form{margin-top:13px}.auth-buttons{align-items:center;gap:9px;display:flex}.auth-buttons>.button{flex:1}.auth-signup{color:#9d987f;cursor:pointer;background:0 0;border:0;min-height:43px;padding:0 8px;font-size:10px;font-weight:700}.inline-message{color:#648a8d;background:#f1f8f7;border-radius:10px;margin:12px 0 0;padding:10px;font-size:10px;line-height:1.5}.conflict-panel{background:#fffaf7;border:1px solid #f4e4dc;border-radius:18px;padding:16px}.conflict-count{color:#bf775f;background:#fff0e9;border-radius:10px;place-items:center;width:28px;height:28px;font-size:11px;font-weight:700;display:grid}.conflict-card{background:#fff;border:1px solid #f1e7df;border-radius:13px;margin-top:10px;padding:12px}.conflict-card>strong{color:#875e51;font-size:10px}.conflict-versions{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;display:grid}.conflict-versions>div{gap:4px;display:grid}.conflict-versions small{color:#a8adab;font-size:8px}.conflict-versions span{color:#687779;font-size:9px;line-height:1.4}.conflict-actions{gap:6px;display:flex}.conflict-actions button{color:#8a7668;cursor:pointer;background:#fffaf7;border:1px solid #f0e8e2;border-radius:9px;flex:1;min-height:32px;padding:4px;font-size:9px;font-weight:700}.conflict-actions button:last-child{color:#5e9185;background:#f4fbf8;border-color:#e8f0ed}.about-card{background:#f0f7f7;border-radius:16px;padding:15px}.about-card p:nth-child(2){color:#75888b;margin:0 0 7px;font:700 12px Nunito,sans-serif}.about-card span{color:#a2afb0;font-size:9px}.tabbar{width:min(100%,540px);min-height:67px;padding:7px 9px calc(7px + env(safe-area-inset-bottom));z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;border-top:1px solid #eaf0f0;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tab{color:#a6b2b3;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;padding:4px 2px 3px;display:flex}.tab span{font-size:8px;font-weight:600}.tab--active{color:#55a5b2}.tab--active svg{filter:drop-shadow(0 3px 4px #56aab82e)}.modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#283b404d;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.editor-modal{background:#fff;border-radius:23px;width:min(100%,430px);max-height:min(88dvh,680px);padding:19px;overflow:auto;box-shadow:0 18px 60px #1a31352e}.modal-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.modal-heading .eyebrow{margin-bottom:3px}.modal-heading h2{color:#3f5358;margin:0;font-size:20px}.icon-button{color:#95a3a4;cursor:pointer;background:#f4f8f7;border:0;border-radius:12px;place-items:center;width:36px;height:36px;display:grid}.field-hint{color:#9da9aa;margin:-5px 0 0;font-size:9px}.editor-actions{grid-template-columns:1fr auto;gap:8px;margin-top:5px;display:grid}.toast{z-index:50;max-width:min(90vw,420px);bottom:calc(79px + env(safe-area-inset-bottom));color:#fff;text-align:center;background:#526d72;border-radius:14px;padding:12px 16px;font-size:11px;animation:.2s ease-out toast-in;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 25px #2b3f4330}.toast--error{background:#ac655b}.toast--neutral{background:#737f7d}.update-banner{z-index:20;width:min(100% - 30px,500px);min-height:48px;bottom:calc(75px + env(safe-area-inset-bottom));color:#52777e;background:#f5ffff;border:1px solid #d8ecee;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px 7px 14px;font-size:10px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 6px 22px #2b575e1f}.update-banner button{color:#fff;cursor:pointer;background:#62adba;border:0;border-radius:10px;min-height:34px;padding:0 12px;font-size:10px;font-weight:700}@keyframes toast-in{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0}}@media (min-width:600px){body{background:#eef4f5;padding:17px 0}.app-shell{border:1px solid #e8eeee;border-radius:28px;min-height:calc(100dvh - 34px);overflow:hidden;box-shadow:0 15px 55px #304e531a}.topbar{border-radius:27px 27px 0 0}.tabbar{border-radius:0 0 27px 27px;bottom:17px}.toast{bottom:98px}}@media (max-width:360px){.content{padding-left:15px;padding-right:15px}.quick-action{gap:7px;padding:8px}.quick-action b{font-size:9px}.quick-icon{flex-basis:31px;width:31px;height:31px}.diaper-types{gap:5px}.diaper-type b{font-size:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
