:root{--font-sans:Inter,"SF Pro Text","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--text-kicker:clamp(.625rem,.62rem + .08vw,.6875rem);--text-nav:clamp(.6875rem,.68rem + .08vw,.75rem);--text-meta:clamp(.75rem,.74rem + .08vw,.8125rem);--text-body:clamp(.875rem,.86rem + .1vw,.9375rem);--text-card-title:clamp(.875rem,.86rem + .1vw,.9375rem);--text-section:clamp(.96875rem,.95rem + .12vw,1.0625rem);--text-header:clamp(1rem,.98rem + .12vw,1.0625rem);--text-display:clamp(1.75rem,1.72rem + .35vw,2rem);--text-metric:clamp(1.3125rem,1.28rem + .25vw,1.5rem);--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--space-section:clamp(1.375rem,1.3rem + .35vw,1.625rem);--space-card:.875rem;--ink:#352e37;--muted:#6e6671;--pink:#ee8f9d;--pink-deep:#d96e80;--cream:#fffaf8;--card:#fff;--line:#f0e7e7;--shadow:0 12px 34px rgba(79,49,61,.06);font-family:var(--font-sans);;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--cream)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{max-width:760px;min-height:100dvh;margin:0 auto;background:var(--cream);padding-bottom:calc(86px + env(safe-area-inset-bottom))}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid rgba(240,231,231,.72);position:sticky;top:0;z-index:5;background:rgba(255,250,248,.94);backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:700;letter-spacing:-.5px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:11px;background:#f9dce0;color:#bf6577;font-family:Georgia,serif;font-size:24px;font-weight:700}.baby-switch select{max-width:150px;border:0;background:transparent;color:var(--ink);font-size:14px;font-weight:600;padding:8px 21px 8px 8px}.avatar-link{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f7e9ec;color:#bf6577;font-size:20px}.main-content{padding:24px 20px 36px}.welcome-row,.section-heading,.page-heading.with-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.welcome-row{margin:4px 0 22px}.welcome-row h1,.page-heading h1,.auth-card h1,.form-page h1,.profile-hero h1{margin:4px 0 7px;font-size:28px;line-height:1.15;letter-spacing:-.8px}.welcome-row p{margin-bottom:0}.eyebrow{text-transform:uppercase;color:#c37c88;letter-spacing:1.25px;font-size:10px;font-weight:700;margin:0 0 7px}.muted{color:var(--muted);font-size:14px;line-height:1.55}.baby-avatar{width:64px;height:64px;flex:0 0 auto;display:grid;place-items:center;border-radius:24px;background:#f8dfe2;color:#bb6e7b;font-family:Georgia,serif;font-size:26px;overflow:hidden}.baby-avatar img{width:100%;height:100%;object-fit:cover}.baby-avatar.small{width:50px;height:50px;border-radius:18px;font-size:21px}.baby-avatar.large{width:104px;height:104px;border-radius:36px;font-size:42px;margin:0 auto 17px}.card,.summary-card,.action-tile,.empty-card{background:var(--card);border:1px solid rgba(240,231,231,.7);border-radius:20px;box-shadow:var(--shadow)}.baby-card{padding:18px;display:flex;justify-content:space-between;align-items:center}.baby-card h2,.section-heading h2{font-size:18px;margin:2px 0 4px;letter-spacing:-.35px}.baby-card p{margin:0}.text-link{font-size:13px;font-weight:700;color:var(--pink-deep);white-space:nowrap}.section-block{margin-top:28px}.section-heading{margin-bottom:13px}.section-heading .eyebrow{margin-bottom:4px}.section-heading h2{margin:0}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-card{min-height:112px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.summary-card .summary-icon{font-size:19px;margin-bottom:1px}.summary-card .muted{font-size:12px}.summary-card strong{font-size:13px}.tint-peach{background:#fff1eb}.tint-blue{background:#eef6fb}.tint-lilac{background:#f5f0fb}.tint-green{background:#eff7f1}.action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.action-tile{min-height:112px;padding:15px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.action-tile>span{font-size:21px;color:#c87988}.action-tile strong{font-size:13px}.action-tile small,.empty-card small{font-size:11px;color:var(--muted);line-height:1.45}.empty-card{text-align:center;padding:25px 18px}.empty-card p{font-weight:700;margin:8px 0 4px}.empty-icon{font-size:22px;color:#d68d9a}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);height:calc(70px + env(safe-area-inset-bottom));padding:8px 8px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(14px)}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#948c94;min-width:52px}.bottom-nav a>span{font-size:21px;line-height:1.1}.bottom-nav small{font-size:10px;font-weight:600}.bottom-nav a.active{color:var(--pink-deep)}.bottom-nav .nav-add>span{width:38px;height:32px;border-radius:13px;background:var(--pink);color:white;display:grid;place-items:center;font-size:23px;box-shadow:0 6px 14px #ee8f9d55}.bottom-nav .nav-add{gap:2px}.messages{padding:10px 20px 0}.message{padding:12px 14px;border-radius:12px;background:#edf8ef;font-size:13px}.message.error{background:#fff0ee;color:#9e4848}.auth-card,.form-page{max-width:480px;margin:22px auto}.auth-card{padding:25px 20px;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.stack-form{display:flex;flex-direction:column;gap:13px;margin-top:20px}.stack-form p{margin:0}.stack-form label,.field label{display:block;font-size:13px;font-weight:700;margin:0 0 7px}.stack-form input,.field input,.field select,.field textarea{width:100%;padding:13px 14px;border:1px solid #e9dfe1;border-radius:13px;background:#fff;color:var(--ink);outline:none}.stack-form input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#e398a4;box-shadow:0 0 0 3px #f9e5e8}.stack-form ul{padding-left:18px;color:var(--muted);font-size:12px}.button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;border:0;border-radius:15px;padding:0 20px;font-weight:700;font-size:14px;cursor:pointer}.button-primary{background:var(--pink);color:white;box-shadow:0 7px 16px #ee8f9d40}.button-secondary{background:#f8e8eb;color:#b45f70;margin-top:10px}.button-quiet{background:#f7f3f3;color:var(--muted)}.button-small{min-height:40px;padding:0 15px;border-radius:13px}.auth-card>.muted{margin-top:18px;font-size:13px}.auth-card .muted a{color:var(--pink-deep);font-weight:700}.page-heading{margin:6px 0 20px}.page-heading h1{margin-bottom:6px}.empty-state{text-align:center;max-width:400px;margin:55px auto 20px}.empty-state h1,.empty-state h2{font-size:25px;margin:8px 0}.empty-state .button{margin-top:12px}.empty-illustration{margin:0 auto 18px;display:grid;place-items:center;width:78px;height:78px;background:#f8e3e6;border-radius:29px;color:#c17482;font-size:35px}.profile-row{display:flex;align-items:center;gap:13px;padding:13px;margin-bottom:10px}.profile-copy{display:flex;flex-direction:column;gap:4px;flex:1}.profile-copy strong{font-size:15px}.profile-copy small{color:var(--muted);font-size:12px}.back-link{display:inline-block;margin-bottom:20px}.profile-hero{text-align:center;padding:12px 0 24px}.profile-hero .eyebrow{margin-top:4px}.profile-hero h1{margin:4px}.detail-card{display:flex;justify-content:space-between;padding:16px;margin:8px 0;color:var(--muted);font-size:13px}.detail-card strong{color:var(--ink)}.notes-card{padding:17px;margin-top:12px}.notes-card p:last-child{font-size:14px;line-height:1.6}.field small{display:block;color:var(--muted);margin-top:5px;font-size:12px}.field .error{color:#bd4d54}.form-actions{display:flex;gap:9px}.form-actions .button-primary{flex:1}.disabled{opacity:.72}.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(min-width:640px){.main-content{padding:32px 32px 42px}.topbar{padding:0 32px}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.welcome-row h1{font-size:32px}.app-shell{box-shadow:0 0 60px rgba(77,51,59,.04)}}.logout-form{margin:0}.logout-button{width:34px;height:34px;border:0;border-radius:50%;background:#f7e9ec;color:#bf6577;font-size:19px;cursor:pointer}
.bottom-nav{height:calc(76px + env(safe-area-inset-bottom));padding-bottom:calc(9px + env(safe-area-inset-bottom))}
.bottom-nav button.nav-add{font:inherit;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#948c94;cursor:pointer;min-width:52px}
.bottom-nav button.nav-add>span{width:42px;height:38px;border-radius:15px;background:var(--pink);color:#fff;display:grid;place-items:center;font-size:27px;line-height:1;box-shadow:0 7px 18px #ee8f9d55}
.bottom-nav button.nav-add small{font-size:10px;font-weight:700;color:var(--pink-deep)}
.quick-add-grid button.action-tile{width:100%;text-align:left;color:var(--ink);cursor:pointer}
.quick-add-grid button.action-tile:active,.sheet-action:active{transform:scale(.98)}
.summary-card small{font-size:10px;line-height:1.35;color:var(--muted)}
.sheet-dialog{position:fixed;inset:auto 0 0;width:min(100%,760px);max-width:760px;max-height:min(82dvh,680px);margin:0 auto;padding:10px 20px calc(22px + env(safe-area-inset-bottom));border:0;border-radius:26px 26px 0 0;background:#fffaf8;color:var(--ink);box-shadow:0 -16px 50px #34253022;overflow-y:auto}
.sheet-dialog::backdrop{background:rgba(43,33,42,.42);backdrop-filter:blur(2px)}
.sheet-handle{width:38px;height:4px;border-radius:9px;background:#e4d8da;margin:2px auto 17px}
.sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.sheet-heading h2{font-size:21px;letter-spacing:-.5px;margin:0}
.sheet-heading .eyebrow{margin-bottom:5px}
.sheet-close{width:42px;height:42px;border:0;border-radius:50%;background:#f5e9ea;color:#755d66;font-size:27px;line-height:1;cursor:pointer}
.sheet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sheet-action{min-height:100px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:9px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink)}
.sheet-action>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:12px;background:#f8e7e9;color:#bd7180;font-size:20px}
.sheet-action strong{font-size:14px}
.sheet-action small{font-size:11px;color:var(--muted);margin-top:3px}
.sheet-action:disabled{opacity:.78}
.filter-row{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;margin:0 -2px 12px;scrollbar-width:none}
.filter-row::-webkit-scrollbar{display:none}
.filter-chip{min-height:38px;flex:0 0 auto;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:700}
.filter-chip.active{border-color:#f1c7cd;background:#f9e8ea;color:#b56271}
.filter-chip:disabled{opacity:.62}
.page-empty{margin-top:14px}
.insight-section .section-heading{align-items:center}
.insight-section .section-heading h2{margin:0}
.insight-section .empty-card{padding:20px 14px}
.profile-links{display:grid;gap:9px;margin-top:16px}
.profile-link-card{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow);color:#c87988}
.profile-link-card>span:first-child{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;background:#f8e8ea;font-size:19px}
.profile-link-card div{flex:1;display:flex;flex-direction:column;gap:4px;color:var(--ink)}
.profile-link-card strong{font-size:14px}
.profile-link-card small{font-size:11px;line-height:1.4;color:var(--muted)}
.delete-profile-form{padding:20px 0;text-align:center}
.text-button-danger{border:0;background:transparent;color:#b84e59;font-size:13px;font-weight:700;padding:12px 18px}
.logout-form{display:flex;align-items:center}
.topbar{gap:8px}
@media(max-width:380px){.topbar{padding-inline:14px}.baby-switch select{max-width:105px;padding-right:10px}.main-content{padding-inline:16px}.sheet-dialog{padding-inline:16px}.bottom-nav a,.bottom-nav button.nav-add{min-width:48px}.bottom-nav small{font-size:9px}}
@media(min-width:640px){.sheet-dialog{border-radius:26px 26px 0 0;padding-inline:28px}.profile-links{grid-template-columns:repeat(2,minmax(0,1fr))}}.timezone-note{color:var(--muted);font-size:11px;line-height:1.45}

.sheet-action{text-decoration:none;color:var(--ink);cursor:pointer;min-height:94px}.sheet-action:hover,.profile-link-card:hover{border-color:#eab8c0}.active-session{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;margin:10px 0;border:1px solid #f2d5d8;border-radius:18px;background:#fff2f2}.active-session>div{display:flex;flex-direction:column;gap:4px}.active-session strong{font-size:13px}.active-session small{font-size:11px;color:var(--muted)}.stop-pump-form{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.stop-pump-form input,.stop-pump-form select{max-width:95px;min-height:38px;border:1px solid var(--line);border-radius:10px;padding:4px;font-size:12px}.timeline{position:relative}.timeline-day{margin:20px 0}.timeline-day h2{font-size:14px;margin:0 0 8px}.timeline-item{display:flex;align-items:center;gap:11px;padding:12px 3px;border-bottom:1px solid var(--line)}.timeline-marker{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#e697a2}.timeline-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.timeline-copy strong{font-size:13px}.timeline-copy small{font-size:11px;line-height:1.4;color:var(--muted)}.timeline-item .text-link{font-size:11px}.pagination{display:flex;justify-content:space-between;align-items:center;padding:18px 0;font-size:12px;color:var(--muted)}.pagination a{color:var(--pink-deep);font-weight:700}.bar-chart{height:190px;display:flex;align-items:stretch;gap:9px;padding:12px 8px;background:#fff;border:1px solid var(--line);border-radius:18px}.bar-chart-column{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:7px}.bar-chart-track{display:flex;align-items:flex-end;justify-content:center;flex:1;width:100%;background:#fbf4f4;border-radius:10px}.bar-chart-bar{width:60%;min-height:2px;background:linear-gradient(180deg,#ee9da7,#d97888);border-radius:8px 8px 2px 2px}.bar-chart-column small{font-size:10px;color:var(--muted)}.error-card{padding:12px;border-radius:12px;background:#fff0ee;color:#9e4848;font-size:12px}.delete-profile-form{margin-top:12px}.filter-chip{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.profile-link-card{display:flex}.profile-link-card div{display:flex;flex-direction:column}
.timer-actions{display:flex;gap:8px;flex-wrap:wrap}.install-app{border:1px solid var(--line);border-radius:11px;background:#fff;padding:8px 10px;color:var(--pink-deep);font-size:12px;font-weight:700}.install-app[hidden]{display:none}
.chart-container{position:relative;height:230px;max-width:100%;padding:12px;background:#fff;border:1px solid var(--line);border-radius:18px}.chart-container canvas{max-width:100%}
.growth-chart{margin-top:12px}
.timeline-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.history-page-heading{margin:0 0 12px}.history-page-heading h1{font-size:32px;letter-spacing:-.9px}.history-page-heading .muted{margin:0;color:#716873}.history-filter-row{gap:7px;margin:0 -2px 7px;padding:2px 0 8px}.history-filter-row .filter-chip{min-height:37px;padding:0 13px;font-size:12px}.history-day{margin:12px 0 0}.history-day h2{margin:7px 3px 8px;font-size:16px;line-height:1.3;font-weight:700;color:var(--ink)}.history-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:68px;margin:0 0 7px;padding:10px 12px;border:1px solid #f0e7e7;border-radius:16px;background:#fff;color:var(--ink);transition:background-color .15s,border-color .15s}.history-row:hover{border-color:#e9d9dc;background:#fffefe}.history-row:focus-visible{outline:3px solid #d97586;outline-offset:2px}.history-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:13px}.history-icon svg{width:20px;height:20px}.history-row-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.history-row-title{font-size:15px;font-weight:700;line-height:1.25}.history-row-meta{overflow:hidden;color:#706873;font-size:12px;font-weight:500;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.history-row-note{overflow:hidden;color:#716873;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.history-row-side{display:flex;align-items:center;gap:5px;color:#655c67}.history-row-side time{font-size:12px;font-weight:600;white-space:nowrap}.history-chevron{width:15px;height:15px;color:#a39aa4}.history-accent-feeding .history-icon,.history-accent-pumping .history-icon{color:#ad6273;background:#f9e9ed}.history-accent-diaper .history-icon{color:#a56f56;background:#faeee7}.history-accent-sleep .history-icon{color:#63748a;background:#edf1f6}.history-accent-growth .history-icon{color:#60806b;background:#edf5ef}.history-accent-milk .history-icon{color:#557c91;background:#edf5f8}.history-milk-freezer .history-icon{color:#47748f;background:#e6f2f7}@media(min-width:640px){.history-page-heading h1{font-size:35px}.history-row{padding:11px 14px}.history-row-title{font-size:16px}.history-row-meta{font-size:13px}.history-row-side time{font-size:13px}}
.detail-back-links,.detail-bottom-links{display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-back-links{margin:4px 0 22px}.detail-back-links .back-link{margin:0}.activity-heading{margin-bottom:15px}.activity-detail-card{padding:6px 16px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.activity-detail-card dl,.history-record-fields{margin:0}.activity-detail-card dl>div,.history-record-fields>div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.activity-detail-card dl>div:last-child,.history-record-fields>div:last-child{border-bottom:0}.activity-detail-card dt,.history-record-fields dt{font-size:12px;color:var(--muted)}.activity-detail-card dd,.history-record-fields dd{margin:0;text-align:right;font-size:13px;font-weight:600;white-space:pre-line}.activity-detail-actions{margin-top:14px}.activity-detail-actions .button{width:100%}.detail-bottom-links{margin-top:16px}.detail-bottom-links .button{flex:1;padding:0 12px;font-size:12px}.history-record{margin:9px 0;padding:14px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.history-record-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-record-heading>div{display:flex;flex-direction:column;gap:4px}.history-record-heading strong{font-size:14px}.history-record-heading small{font-size:11px;color:var(--muted)}.history-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-top:8px}.history-record-fields>div{align-items:flex-start;padding:9px 0}.history-record-fields dd{font-size:12px}@media(max-width:420px){.history-record-fields{grid-template-columns:1fr}.history-record-fields>div{padding:7px 0}}
.settings-section{margin:18px 0;padding:17px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.settings-section h2{margin:0 0 12px;font-size:16px}.settings-section .stack-form{gap:12px}.settings-section .stack-form p{margin:0}.member-list{display:grid;gap:9px}.member-card{display:flex;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:15px;background:#fff}.member-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:14px;background:#f8e8ea;color:#b56271;font-weight:700}.member-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.member-copy strong{font-size:13px;overflow-wrap:anywhere}.member-copy strong small{color:var(--pink-deep);font-size:10px}.member-copy span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.member-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.member-actions form{display:flex;align-items:center;gap:5px}.member-actions select{max-width:110px;min-height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:4px 7px;font-size:11px}.member-actions button{font-size:11px}.settings-logout{margin:18px 0;text-align:center}.record-audit{margin:9px 2px;color:var(--muted);font-size:11px;line-height:1.6}.verification-status{padding:10px 12px;border-radius:12px;background:#fff4e9;color:#865a30;font-size:12px}.verification-status.is-verified{background:#edf5ef;color:#4c7558}.danger-settings{border-color:#f0d4d4}.danger-settings input{min-height:46px;border:1px solid var(--line);border-radius:12px;padding:10px;font:inherit}.danger-settings .text-button-danger{min-height:44px;border:1px solid #f0d4d4;border-radius:12px;background:#fff5f5}@media(max-width:420px){.member-card{align-items:flex-start;flex-wrap:wrap}.member-copy{flex-basis:calc(100% - 50px)}.member-actions{width:100%;padding-left:49px}.member-actions form{flex-wrap:wrap}}

.pwa-install-dialog{width:min(92vw,420px);max-height:min(80dvh,560px);margin:auto;padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--cream);color:var(--ink);box-shadow:0 24px 80px #352e3733}.pwa-install-dialog::backdrop{background:#352e3766;backdrop-filter:blur(3px)}.pwa-install-heading{display:flex;align-items:center;gap:12px}.pwa-install-heading .eyebrow{margin-bottom:3px}.pwa-install-heading h2{margin:0;font-size:19px;line-height:1.25}.pwa-install-dialog>#pwa-install-instructions{margin:18px 0;line-height:1.6}.pwa-install-actions{display:flex;gap:9px}.pwa-install-actions>*{flex:1}.pwa-install-actions form{display:flex}.pwa-install-actions form .button{width:100%}.install-app{min-height:42px;touch-action:manipulation}

/* Shared, phone-first typography and spacing */
html,body,button,input,select,textarea{font-family:var(--font-sans)}
.eyebrow{font-size:var(--text-kicker);font-weight:var(--weight-semibold);letter-spacing:.08em;color:#a85b69}
.muted{font-size:var(--text-body);font-weight:var(--weight-regular);line-height:1.45;color:var(--muted)}
.topbar .brand{font-size:var(--text-header);font-weight:var(--weight-semibold)}
.baby-switch select{font-size:var(--text-card-title);font-weight:var(--weight-medium)}
.welcome-row h1,.page-heading h1,.auth-card h1,.form-page h1,.profile-hero h1{font-size:var(--text-display);font-weight:var(--weight-semibold);line-height:1.1;letter-spacing:-.025em}
.history-page-heading h1{font-size:var(--text-display);letter-spacing:-.025em}
.page-heading{margin-top:4px;margin-bottom:18px}
.welcome-row{margin-bottom:18px}
.section-block{margin-top:var(--space-section)}
.section-heading{margin-bottom:10px}
.section-heading h2,.baby-card h2,.settings-section h2,.history-day h2{font-size:var(--text-section);font-weight:var(--weight-semibold);line-height:1.25}
.summary-grid{gap:10px}
.summary-card{min-height:116px;padding:var(--space-card);gap:7px}
.summary-card .summary-icon{font-size:21px;margin-bottom:0}
.summary-card .summary-label,.summary-label{font-size:var(--text-card-title);font-weight:var(--weight-medium);line-height:1.25;color:var(--ink)}
.summary-card strong{font-size:var(--text-metric);font-weight:var(--weight-semibold);line-height:1.15;letter-spacing:-.02em;color:var(--ink);overflow-wrap:anywhere}
.summary-card strong.metric-compact{font-size:clamp(.9375rem,.93rem + .2vw,1.0625rem);letter-spacing:0;white-space:nowrap}
.summary-card small,.metric-secondary{font-size:var(--text-meta);font-weight:var(--weight-medium);line-height:1.35;color:var(--muted)}
.summary-action{min-height:116px;color:var(--ink);text-decoration:none;cursor:pointer;touch-action:manipulation;transition:transform .12s,box-shadow .12s}
.summary-action:active{transform:scale(.985)}
.summary-action:focus-visible{outline:3px solid var(--pink-deep);outline-offset:3px}
.history-row-title,.timeline-copy strong,.profile-link-card strong{font-size:var(--text-card-title);font-weight:var(--weight-semibold);line-height:1.25}
.history-row-meta,.history-row-note,.history-row-side time,.timeline-copy small,.record-audit,.profile-link-card small{font-size:var(--text-meta);font-weight:var(--weight-medium);line-height:1.4;color:var(--muted)}
.history-page-heading h1{line-height:1.1}
.history-filter-row .filter-chip{min-height:42px;padding-inline:14px;font-size:var(--text-meta);font-weight:var(--weight-medium)}
.history-day h2{margin-top:8px;margin-bottom:8px}
.activity-detail-card dt,.history-record-fields dt{font-size:var(--text-meta);font-weight:var(--weight-medium);color:var(--muted)}
.activity-detail-card dd,.history-record-fields dd{font-size:var(--text-meta);font-weight:var(--weight-semibold);line-height:1.35}
.pagination{font-size:var(--text-meta)}
.bottom-nav{height:calc(78px + env(safe-area-inset-bottom));padding:8px 8px calc(8px + env(safe-area-inset-bottom))}
.bottom-nav a,.bottom-nav button.nav-add{gap:4px;touch-action:manipulation}
.bottom-nav a>span{font-size:22px}
.bottom-nav small,.bottom-nav button.nav-add small{font-size:var(--text-nav);font-weight:var(--weight-medium);line-height:1.15}
.bottom-nav a.active small,.bottom-nav button.nav-add small{font-weight:var(--weight-semibold)}
.bottom-nav a.active,.bottom-nav button.nav-add small{color:#a85b69}
.bottom-nav .nav-add>span{width:44px;height:40px;font-size:26px}
.install-app{min-height:40px;padding:7px 9px;font-size:var(--text-meta);font-weight:var(--weight-semibold);color:#a85b69}
@media(max-width:380px){.bottom-nav small,.bottom-nav button.nav-add small{font-size:var(--text-nav)}.history-filter-row .filter-chip{padding-inline:12px}}

.pwa-update-notice{position:fixed;z-index:20;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 24px),520px);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--shadow);color:var(--ink);font-size:var(--text-body)}
.pwa-update-notice[hidden]{display:none}
.pwa-update-notice .button{flex:0 0 auto}

.timer-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.timer-start-form{min-width:0}.timer-start-form .button{width:100%;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 6px;border:1px solid rgba(240,231,231,.75);border-radius:18px;font-size:clamp(10px,2.8vw,13px);line-height:1.2;text-align:center;white-space:normal}.timer-sleep .button{background:#f5f0fb;color:var(--ink)}.timer-feeding .button{background:#fff1eb;color:var(--ink)}.timer-pumping .button{background:#eff7f1;color:var(--ink)}.timer-icon{width:52px;height:52px;object-fit:contain}.summary-card .summary-icon{display:block;width:44px;height:44px;flex:0 0 auto;object-fit:contain;margin:0 0 1px;font-size:0}

.sheet-action>img{grid-row:1/3;justify-self:center;align-self:center;width:42px;height:42px;object-fit:contain}

.history-date-filter{margin:14px 0 10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.history-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.history-date-fields label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.history-date-fields input{width:100%;min-width:0;min-height:42px;padding:8px 9px;border:1px solid #e9dfe1;border-radius:11px;background:#fff;color:var(--ink);font:inherit;font-size:12px}.history-date-fields input:focus{outline:3px solid #f9e5e8;border-color:#e398a4}.history-date-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}.history-date-actions small{color:var(--muted);font-size:11px}.history-date-actions>div{display:flex;align-items:center;gap:12px}.history-date-actions .button{min-height:38px;padding-inline:13px;font-size:12px}.history-date-actions .text-link{font-size:12px}.history-date-error{margin:10px 0 0;color:#9e4848;font-size:12px}
.stop-feeding-form{display:flex;align-items:center;gap:5px}.stop-feeding-form select{max-width:150px;min-height:38px;border:1px solid var(--line);border-radius:10px;padding:4px;font-size:12px}
.storage-location-tools,.settings-section{margin-top:20px}.storage-location-tools{padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.storage-location-tools summary{font-size:13px;font-weight:700;cursor:pointer}.storage-location-tools>.muted{font-size:12px}.storage-location-row,.storage-location-settings-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid var(--line)}.storage-location-edit{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.storage-location-edit input,.storage-location-add input{min-width:0;width:100%;padding:10px 11px;border:1px solid #e9dfe1;border-radius:11px;background:#fff;color:var(--ink)}.storage-location-edit button,.storage-location-row>form button{font-size:12px}.storage-location-add{display:flex;flex-direction:column;gap:8px;margin-top:13px}.storage-location-add label{font-size:12px;font-weight:700}.storage-location-add>div{display:flex;align-items:center;gap:8px}.storage-location-add .button{flex:0 0 auto;min-height:40px;padding-inline:12px;font-size:12px}.storage-location-settings-row{padding:12px 0}
.milk-stock-actions{display:flex;align-items:center;gap:9px}.storage-location-button{gap:7px}.storage-location-button svg{width:17px;height:17px;flex:0 0 auto}@media(max-width:480px){.milk-stock-actions{flex-direction:column;align-items:stretch}.milk-stock-actions .button{white-space:nowrap}}
.field input[type="datetime-local"]{font-weight:550;color:#423744;border-color:#e8d6d8}
.milk-batch-card{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:12px 14px;border:1px solid rgba(240,231,231,.7);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.milk-batch-details{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.milk-batch-card .button{flex:0 0 auto;margin-top:0;padding-inline:13px;font-size:12px}
.pump-celebration-dialog{position:fixed;width:min(410px,calc(100vw - 32px));max-width:none;margin:auto;padding:30px 26px 24px;border:1px solid #f2dfe0;border-radius:28px;background:radial-gradient(circle at 50% 0,#fff 0,#fff5f2 62%,#fffaf8 100%);color:var(--ink);text-align:center;box-shadow:0 24px 80px rgba(53,46,55,.24);overflow:hidden}.pump-celebration-dialog::backdrop{background:rgba(53,46,55,.42);backdrop-filter:blur(4px)}.pump-celebration-dismiss{position:absolute;top:10px;right:12px;z-index:1}.pump-celebration-dismiss button{width:36px;height:36px;border:0;border-radius:50%;background:#f8e8eb;color:var(--pink-deep);font-size:24px;line-height:1;cursor:pointer}.pump-celebration-sparkles{position:absolute;top:42px;left:0;width:100%;color:#d99953;font-size:22px;letter-spacing:6px;pointer-events:none}.pump-celebration-art{display:block;width:190px;height:190px;max-width:70%;object-fit:contain;margin:0 auto 10px;border-radius:20px}.pump-celebration-dialog>.eyebrow{margin:3px 0 7px}.pump-celebration-dialog h2{margin:0;font-size:23px;letter-spacing:-.45px}.pump-celebration-quote{min-height:48px;margin:12px 0 18px;color:var(--muted);font-size:14px;line-height:1.55}.pump-celebration-dialog .button{width:100%}@media(prefers-reduced-motion:reduce){.pump-celebration-sparkles{display:none}}

.routine-section{margin-top:28px}.routine-explainer{margin:-8px 0 18px}.routine-forecast-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.routine-forecast-card{display:flex;align-items:flex-start;gap:13px;padding:17px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(65,47,52,.04)}.routine-forecast-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#fff0ed}.routine-forecast-icon img{width:27px;height:27px;object-fit:contain}.routine-forecast-icon img[hidden]{display:none}.routine-diaper .routine-forecast-icon{background:#eef7fb}.routine-pumping .routine-forecast-icon{background:#eef8f1}.routine-sleep .routine-forecast-icon{background:#f5f0fb}.routine-forecast-card strong{display:block;margin:1px 0 5px;font-size:14px}.routine-forecast-card p{margin:0 0 4px;color:var(--pink-deep);font-size:15px;font-weight:700}.routine-forecast-card small{color:var(--muted);font-size:11px;line-height:1.45}.routine-empty{margin-bottom:14px}.routine-reminder-panel{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:16px;padding:16px;border:1px solid #f2dfe0;border-radius:19px;background:#fff8f7}.routine-reminder-copy{display:grid;gap:3px;flex:1 1 190px}.routine-reminder-copy strong{font-size:14px}.routine-reminder-copy small,.routine-reminder-status{color:var(--muted);font-size:12px;line-height:1.45}.routine-reminder-options{display:flex;flex-wrap:wrap;gap:7px;border:0;padding:0;margin:0}.routine-reminder-options label{display:flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:11px}.routine-reminder-options input{accent-color:var(--pink-deep)}.routine-reminder-button{flex:0 0 auto}.routine-reminder-status{flex-basis:100%;margin:0}.routine-reminder-panel [data-reminder-status]:empty{display:none}
@media(max-width:600px){.routine-forecast-grid{grid-template-columns:1fr}.routine-reminder-panel{align-items:flex-start}.routine-reminder-options{flex:1 1 100%}.routine-reminder-button{width:100%}}

.field input[type="checkbox"]{width:18px;height:18px;padding:0;margin:0;border:0;border-radius:4px;background:transparent;accent-color:var(--pink-deep);vertical-align:middle}
.field input[type="checkbox"]:focus{box-shadow:none}
.timezone-info{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 13px;border:1px solid #dce5f1;border-radius:14px;background:#f5f8fc;color:#526176;font-size:12px;line-height:1.55}.timezone-info>svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;fill:none;stroke:#7186a2;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.timezone-info>div{min-width:0}.timezone-info strong{color:#35445b}.timezone-info p{margin:3px 0 0}.timezone-info p+p{margin-top:7px}
.form-page>.form-actions{margin-top:16px}

.batch-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:420px;margin:0 0 4px}.batch-action.button{width:100%;min-width:0;min-height:58px;flex-direction:column;gap:3px;padding:6px 4px;border:1px solid var(--line);border-radius:14px;font-size:12px;line-height:1.1;white-space:nowrap;touch-action:manipulation}.batch-action-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.batch-action:focus-visible{outline:3px solid var(--pink-deep);outline-offset:2px}
.batch-action-discard.button{background:#fff0f0;border-color:#f2d0d1;color:#a94b56}.batch-action-adjust.button{background:#fff5e8;border-color:#f2dfbe;color:#946329}.batch-action-transfer.button{background:#edf5fb;border-color:#d2e4f0;color:#47748f}.batch-action:hover{filter:brightness(.98)}.batch-action:active{transform:translateY(1px)}
