:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d302a;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#f7f8f5;--surface:#fff;--text:#1d302a;--muted:#65716b;--line:#e3e8e1;--accent:#276653;--on-accent:#fff;--soft:#eaf0e8;--sleep:#eaeaf5;--sleep-ink:#5f5b8a;--feeding:#f9edd8;--feeding-ink:#806027;--diaper:#e4eff3;--diaper-ink:#386777;--bath:#e9eee2;--bath-ink:#5f7445;--error:#9d3030;--error-bg:#fceeee;color-scheme:light}:root[data-theme=dark]{--bg:#171e1b;--surface:#202a25;--text:#edf3ee;--muted:#b4c2ba;--line:#35423b;--accent:#a7dcc5;--on-accent:#173c2e;--soft:#2c3d33;--sleep:#343249;--sleep-ink:#c9c4f0;--feeding:#403927;--feeding-ink:#e7c98e;--diaper:#263d47;--diaper-ink:#a4d8e8;--bath:#303c28;--bath-ink:#c2dba2;--error:#ffb8b8;--error-bg:#412b2c;color-scheme:dark;background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button{border:0}a{color:inherit}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}.app-layout{min-height:100dvh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{padding:44px 24px 28px 32px;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.brand{display:flex;align-items:center;text-decoration:none;font-size:30px;font-weight:800;letter-spacing:-1.7px;gap:9px}.brand-mark{background:var(--accent);color:var(--on-accent);width:36px;height:36px;border-radius:12px;font-size:31px;display:grid;place-items:center;line-height:1;padding-bottom:4px}.brand-dot{color:var(--accent);margin-left:-9px}.brand-caption{font-size:13px;line-height:1.8;color:var(--muted);margin:23px 0 43px 2px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.nav-button{display:flex;align-items:center;gap:12px;min-height:48px;text-align:left;background:none;border-radius:10px;padding:12px 14px;color:var(--muted);font-size:14px;font-weight:600;white-space:nowrap}.nav-button svg{width:19px;height:19px;stroke-width:1.7}.nav-button:hover{background:var(--soft)}.nav-button.active{background:var(--soft);color:var(--accent)}.sidebar-bottom{margin-top:auto;padding-left:13px;font-size:12px;color:var(--muted);line-height:1.8}.small-leaf{display:block;margin-bottom:10px;color:var(--accent)}.dev-label{display:block;margin-top:20px;font-size:11px}.workspace{min-width:0;padding:0 52px;max-width:1490px;width:100%;margin:auto}.topbar{height:102px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar-date{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.date-dot{width:3px;height:3px;background:var(--muted);border-radius:50%}.topbar-actions{display:flex;gap:12px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:50%;background:transparent;color:var(--muted)}.icon-button:hover{background:var(--soft)}main{padding:40px 0 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:38px}.eyeline{font-size:13px;color:var(--muted);font-weight:500;margin-bottom:9px}h1{font-size:clamp(25px,2.6vw,34px);line-height:1.25;letter-spacing:-1.3px;font-weight:750}.child-switch{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:40px;padding:7px 15px 7px 7px;text-align:left;max-width:250px}.avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--accent);font-size:19px;font-weight:650}.child-switch>span:nth-child(2){min-width:0}.child-switch strong{font-size:14px;display:block;overflow-wrap:anywhere}.child-switch small{font-size:12px;color:var(--muted);display:block;margin-top:2px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 244px;gap:36px}.diary-column{min-width:0}.section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.section-label h2{font-size:17px;font-weight:700;letter-spacing:-.35px}.section-label>span{font-size:12px;color:var(--muted)}.quick-section{margin-bottom:35px}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quick-action{position:relative;display:flex;align-items:flex-start;flex-direction:column;justify-content:space-between;height:116px;border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:17px 14px;font-size:13px;font-weight:650;gap:10px}.quick-action>span{height:36px;display:flex;align-items:center}.quick-action:hover{border-color:var(--accent)}.quick-plus{position:absolute;right:12px;top:14px;color:var(--muted)}.quick-action.feeding>span{color:var(--feeding-ink)}.quick-action.sleep>span{color:var(--sleep-ink)}.quick-action.diaper>span{color:var(--diaper-ink)}.quick-action.bath>span{color:var(--bath-ink)}.history-section{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:25px 26px 18px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;color:var(--muted);font-size:12px;padding:6px 0;min-height:36px}.text-button:hover{color:var(--accent)}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;border-bottom:1px solid var(--line);padding-bottom:21px;margin-bottom:4px}.week-strip button{display:flex;flex-direction:column;align-items:center;gap:7px;background:transparent;padding:10px 4px 6px;border-radius:12px;font-size:11px;color:var(--muted)}.week-strip strong{font-size:16px;color:var(--text);font-weight:650}.week-strip button.selected{background:var(--accent);color:var(--on-accent)}.week-strip button.selected strong{color:var(--on-accent)}.week-strip i{display:block;width:4px;border-radius:50%;height:4px}.week-strip .today-dot{background:currentColor}.timeline-row{display:grid;grid-template-columns:47px 34px minmax(0,1fr);gap:13px;padding:24px 0;position:relative}.timeline-row time{font-size:12px;color:var(--muted);padding-top:9px;font-variant-numeric:tabular-nums}.timeline-symbol{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;position:relative;z-index:1}.timeline-symbol.feeding{color:var(--feeding-ink);background:var(--feeding)}.timeline-symbol.sleep{color:var(--sleep-ink);background:var(--sleep)}.timeline-symbol.diaper{color:var(--diaper-ink);background:var(--diaper)}.timeline-symbol.bath{color:var(--bath-ink);background:var(--bath)}.timeline>div:not(:last-child) .timeline-row:after{content:"";position:absolute;left:76px;top:58px;bottom:-24px;width:1px;background:var(--line)}.entry-content{min-width:0}.entry-heading{display:flex;justify-content:space-between;gap:10px;align-items:baseline;padding-top:1px}.entry-heading h3{font-size:14px;font-weight:700}.entry-heading>span{font-size:11px;color:var(--muted);max-width:40%;overflow-wrap:anywhere}.entry-content>p{font-size:13px;color:var(--muted);margin-top:5px;line-height:1.6}.entry-content .entry-note{padding:8px 11px;border-radius:7px;margin-top:9px;background:var(--bg);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-date{font-size:13px;color:var(--muted);margin-top:20px;padding-bottom:2px}.day-navigation{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:10px;margin-top:8px}.day-navigation button{font-size:11px}.child-card{background:var(--soft);border-radius:18px;padding:28px 20px 23px;text-align:center}.large-avatar{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:var(--surface);color:var(--accent);font-size:32px;font-weight:500;border:5px solid color-mix(in srgb,var(--accent) 7%,transparent)}.child-card h2{font-size:23px;letter-spacing:-.6px;overflow-wrap:anywhere}.child-card>p{font-size:12px;color:var(--muted);margin-top:6px}.birth-line{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;margin-top:24px;padding-top:20px;border-top:1px solid color-mix(in srgb,var(--accent) 15%,transparent);color:var(--muted)}.gentle-note{display:flex;gap:12px;padding:26px 10px;font-size:12px;line-height:1.8;color:var(--text)}.gentle-note svg{flex-shrink:0;color:var(--accent);margin-top:3px}.gentle-note span{color:var(--muted)}.timezone-note{padding:3px 10px;font-size:11px;color:var(--muted);line-height:1.8}.timezone-note strong{font-weight:500}.page-footer{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin:34px 0 25px}.page-footer>span:first-child{font-weight:800;font-size:16px;letter-spacing:-.8px}.sleep-banner{display:flex;align-items:center;background:var(--sleep);color:var(--sleep-ink);padding:20px;border-radius:16px;gap:16px;margin-bottom:24px}.sleep-moon{width:47px;height:47px;border-radius:50%;background:color-mix(in srgb,var(--surface) 55%,transparent);display:grid;place-items:center}.sleep-banner p{font-size:13px;margin-bottom:4px}.sleep-banner strong{font-size:21px;font-weight:700;font-variant-numeric:tabular-nums}.sleep-banner small{font-size:11px;margin-left:9px}.sleep-banner button{margin-left:auto;background:var(--surface);color:var(--sleep-ink);padding:12px 15px;border-radius:10px;font-size:12px;font-weight:700;min-height:44px}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;border-radius:12px;padding:14px 22px;font-size:14px;font-weight:650}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover{filter:brightness(.95)}.secondary{background:var(--soft);color:var(--accent)}.full-width{width:100%}.welcome{max-width:600px;min-height:60vh;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;margin:0 auto;padding:35px 0 60px}.welcome-symbol{width:74px;height:74px;background:var(--soft);color:var(--accent);border-radius:23px;display:grid;place-items:center;margin-bottom:28px}.welcome h1{font-size:clamp(32px,4vw,48px);letter-spacing:-1.8px;line-height:1.18}.welcome-copy{font-size:15px;line-height:1.9;color:var(--muted);margin:22px 0 28px}.welcome-foot{font-size:11px;color:var(--muted);margin-top:18px}.local-login{margin-top:12px;font-size:13px;color:var(--accent)}.empty-history{padding:40px 10px 46px;text-align:center;color:var(--muted)}.empty-history>svg{margin-bottom:16px;color:var(--accent)}.empty-history h3{color:var(--text);font-size:16px;font-weight:650;margin-bottom:8px}.empty-history p{font-size:13px;line-height:1.8}.loading{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);min-height:170px;font-size:14px}.history-filters{padding:0 0 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;flex-wrap:wrap}.history-filters label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.history-filters input{border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);padding:8px;min-width:0;min-height:44px}.load-more{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;background:var(--soft);border-radius:10px;padding:12px;font-size:13px}.error-banner{display:flex;align-items:center;gap:12px;justify-content:space-between;background:var(--error-bg);color:var(--error);border-radius:12px;padding:12px 15px;font-size:14px;line-height:1.6;margin-bottom:20px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:15px 22px;border-radius:12px;background:var(--accent);color:var(--on-accent);z-index:20;box-shadow:0 4px 25px #0002;font-size:14px;white-space:nowrap}.modal{border:0;background:var(--surface);color:var(--text);border-radius:22px;padding:0;max-width:480px;width:calc(100% - 32px);max-height:90dvh;box-shadow:0 20px 80px #0003}.modal::backdrop{background:#12201866;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-inner{padding:24px}.modal header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.modal h2{font-size:22px;letter-spacing:-.6px}.modal form>label{display:block;font-size:13px;font-weight:650;margin-top:20px}.modal input,.modal select,.modal textarea{display:block;width:100%;min-width:0;padding:13px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--bg);margin-top:8px;font-size:16px;line-height:1.5}.modal textarea{resize:vertical}.modal input:focus,.modal select:focus,.modal textarea:focus{outline:2px solid var(--accent);outline-offset:2px}.modal .primary{margin-top:25px}.form-intro{font-size:14px;line-height:1.7;color:var(--muted)}.field-help{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.7}.optional{font-size:11px;color:var(--muted);font-weight:400;margin-left:5px}.form-error{font-size:13px;color:var(--error);margin-top:16px;line-height:1.7}.profiles-list{display:flex;flex-direction:column;gap:12px}.profiles-list>button{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px;background:var(--bg);text-align:left;min-width:0}.profiles-list strong{display:block;font-size:16px;overflow-wrap:anywhere}.profiles-list small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.profiles-list>button>svg:last-child{margin-left:auto;color:var(--accent)}.profiles-list>.secondary{background:var(--soft);margin-top:8px}.mobile-nav,.mobile-brand{display:none}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.workspace{padding:0 70px}.content-grid{grid-template-columns:minmax(0,1fr) 280px;gap:44px}}@media(max-width:1180px){.app-layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:34px 17px}.workspace{padding:0 30px}.content-grid{grid-template-columns:minmax(0,1fr) 208px;gap:22px}.quick-actions{gap:8px}.quick-action{font-size:12px;padding:14px 10px}.child-switch{max-width:190px}.context-column .child-card{padding:24px 14px}.brand{font-size:28px}.nav-button{font-size:13px;padding:12px 9px}}@media(max-width:980px){.context-column{display:none}.content-grid{display:block}.workspace{padding:0 36px}.page-heading{margin-bottom:30px}.quick-action{font-size:13px;padding:17px 14px}.quick-actions{gap:12px}}@media(max-width:700px){.app-layout{display:block}.sidebar{display:none}.workspace{padding:0 20px}.topbar{height:78px;padding-top:env(safe-area-inset-top);border-bottom:0}.mobile-brand{display:block;font-weight:800;font-size:26px;letter-spacing:-1.5px;color:var(--accent)}.topbar-date{display:none}.topbar-actions{gap:2px}main{padding-top:17px;padding-bottom:85px}.page-heading{display:block;margin-bottom:26px}.eyeline{font-size:12px;margin-bottom:7px}h1{font-size:27px;letter-spacing:-1px}.child-switch{margin-top:20px;padding:5px 13px 5px 5px;max-width:100%;border-radius:30px}.child-switch .avatar{width:34px;height:34px;font-size:17px}.child-switch>span:nth-child(2){display:flex;align-items:center;gap:9px}.child-switch small{margin:0}.child-switch strong{font-size:13px}.child-switch small{font-size:11px}.quick-section{margin-bottom:27px}.section-label{margin-bottom:15px}.section-label h2{font-size:16px}.section-label>span{font-size:11px}.quick-actions{gap:8px}.quick-action{height:99px;padding:11px 9px 13px;border-radius:13px;font-size:12px;align-items:center}.quick-action>span{height:37px}.quick-plus{display:none}.history-section{padding:20px 17px 12px;border-radius:16px}.history-section .section-label h2{font-size:17px}.week-strip{gap:3px;padding-bottom:15px}.week-strip button{padding:8px 0 5px}.week-strip strong{font-size:15px}.timeline-row{grid-template-columns:37px 31px minmax(0,1fr);gap:9px;padding:21px 0}.timeline-row time{font-size:11px}.timeline-symbol{width:31px;height:31px;border-radius:10px}.timeline>div:not(:last-child) .timeline-row:after{left:61px;top:52px;bottom:-21px}.entry-heading{gap:6px;flex-wrap:wrap}.entry-heading h3{font-size:14px}.entry-heading>span{font-size:10px}.entry-content>p{font-size:14px;line-height:1.6}.entry-content .entry-note{font-size:13px}.sleep-banner{padding:15px;gap:11px;margin-bottom:22px}.sleep-moon{width:36px;height:36px}.sleep-moon svg{width:21px}.sleep-banner strong{font-size:19px}.sleep-banner p{font-size:12px}.sleep-banner small{display:block;margin:3px 0 0;font-size:10px}.sleep-banner button{padding:11px;font-size:11px}.page-footer{display:none}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:var(--surface);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:10}.mobile-nav .nav-button{background:transparent;border-radius:8px;flex-direction:column;gap:5px;min-width:80px;min-height:50px;padding:4px 12px;font-size:10px;font-weight:600}.mobile-nav .nav-button svg{width:21px;height:21px}.mobile-nav .nav-button.active{color:var(--accent)}.toast{bottom:92px;font-size:13px;padding:13px 18px}.welcome{min-height:65vh;padding:20px 8px 60px}.welcome h1{font-size:38px}.welcome-copy{font-size:14px}.welcome-foot{font-size:12px}.modal{margin:auto 0 0;width:100%;max-width:none;border-radius:22px 22px 0 0;max-height:92dvh}.modal-inner{padding:20px 22px calc(25px + env(safe-area-inset-bottom))}.modal h2{font-size:21px}.modal .primary{min-height:52px}.day-navigation button{font-size:10px}.text-button{min-height:44px;font-size:11px}.empty-history{padding:30px 0}.empty-history h3{font-size:14px}.empty-history p{font-size:12px}.error-banner{font-size:13px}.history-filters input{max-width:100%}}@media(max-width:370px){.workspace{padding:0 15px}h1{font-size:25px}.section-label>span{display:none}.quick-action{font-size:12px}.history-section{padding:18px 13px 12px}.week-strip{gap:2px}.entry-heading>span{max-width:100%}.day-navigation{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-action.medicine>span{color:var(--diaper-ink)}.quick-action.walk>span{color:var(--bath-ink)}.timeline-symbol.medicine{background:var(--diaper);color:var(--diaper-ink)}.timeline-symbol.walk,.walk-banner{background:var(--bath);color:var(--bath-ink)}.child-switch{max-width:300px}.child-switch small{line-height:1.5}.entry-author{display:block;font-size:10px;color:var(--muted);margin-top:8px}.entry-content .entry-dose{display:flex;align-items:center;gap:7px;background:var(--soft);padding:7px 9px;border-radius:7px;color:var(--text);font-size:12px;overflow-wrap:anywhere}.entry-dose svg{flex-shrink:0}.day-summary{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:0 2px 20px}.day-summary strong{margin-left:5px;color:var(--text);font-size:14px}.day-summary small{flex-basis:100%;font-size:11px}.choice-fieldset{border:0;border-top:1px solid var(--line);padding:18px 0 0;margin:23px 0 0;min-width:0}.choice-fieldset legend{font-size:14px;font-weight:650;padding:0 10px 0 0}.choice-chips{display:flex;flex-wrap:wrap;gap:8px}.modal label.check-option{display:flex;align-items:center;gap:8px;margin:0;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:13px;font-weight:500;background:var(--surface);overflow-wrap:anywhere}.modal label.check-option:has(input:checked){background:var(--soft);border-color:var(--accent)}.modal label.check-option input{width:16px;height:16px;margin:0;padding:0;accent-color:var(--accent);flex-shrink:0}.modal label.check-option small{font-size:11px;color:var(--muted)}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-columns>*{min-width:0}.dose-option{margin-bottom:12px}.dose-option .form-columns label{margin-top:12px}.health-panel,.family-panel{max-width:870px}.health-tabs{display:flex;border-bottom:1px solid var(--line);gap:22px;margin-bottom:25px}.health-tabs button{display:flex;align-items:center;gap:9px;min-height:48px;background:none;color:var(--muted);font-size:14px;padding:0 2px 14px;border-bottom:2px solid transparent}.health-tabs button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.metrics-controls{display:flex;gap:18px;justify-content:space-between;margin-bottom:22px}.metrics-controls label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:7px;min-width:0}.metrics-controls select{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:10px 12px;font-size:14px;color:var(--text);max-width:100%;min-height:44px}.metric-bars{display:flex;gap:10px;height:210px;align-items:stretch;margin-top:25px}.metric-bar-button{display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;background:transparent;padding:0 3px;gap:10px;color:var(--muted);border-radius:5px}.bar-number{font-size:12px;min-height:18px;color:var(--text)}.bar-track{flex:1;width:100%;max-width:42px;display:flex;align-items:flex-end;border-bottom:1px solid var(--line)}.bar-track>span{width:100%;background:var(--accent);border-radius:4px 4px 0 0;opacity:.65}.metric-bar-button[aria-pressed=true] .bar-track>span{opacity:1}.bar-date{font-size:12px;min-height:18px}.month-bars{gap:3px}.month-bars .bar-number{visibility:hidden}.month-bars .metric-bar-button{padding:0;min-width:0}.month-bars .metric-bar-button[aria-pressed=true] .bar-number{visibility:visible}.chart-selection{margin-top:20px;font-size:13px;min-height:22px;color:var(--muted)}.health-section-heading{margin-top:32px}.health-section-heading h2{font-size:17px}.health-list{border-top:1px solid var(--line)}.health-list article{padding:20px 2px;border-bottom:1px solid var(--line)}.health-list h3{font-size:15px;margin:5px 0}.health-list p{font-size:14px;line-height:1.7;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.health-list small{font-size:12px;color:var(--muted)}.health-empty{padding:24px 0;color:var(--muted);font-size:14px;line-height:1.7}.medicine-heading{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.medicine-heading svg{color:var(--accent)}.medicine-actions{display:flex;justify-content:space-between;gap:16px;margin-top:12px}.medicine-actions button:first-child{color:var(--accent)}.archived-medication{opacity:.7}.birthday-card{display:flex;align-items:flex-start;gap:16px;padding:24px;border-radius:18px;background:var(--soft)}.birthday-card>svg{flex-shrink:0;color:var(--accent)}.birthday-card h2{font-size:18px;line-height:1.4}.birthday-card p{font-size:14px;margin:8px 0}.birthday-card small{font-size:12px;color:var(--muted)}.birthday-card>button{margin-left:auto;flex-shrink:0;color:var(--accent)}.people-list{display:flex;flex-wrap:wrap;gap:16px}.people-list>div{display:flex;align-items:center;gap:10px;font-size:14px;padding:8px 0;overflow-wrap:anywhere}.connection-note{display:flex;align-items:flex-start;gap:10px;padding:14px;background:var(--soft);border-radius:10px;margin:18px 0;color:var(--text);font-size:13px;line-height:1.6}.connection-note svg{flex-shrink:0;margin-top:2px}@media(max-width:700px){.child-switch{max-width:100%}.child-switch>span:nth-child(2){flex-wrap:wrap;gap:2px 9px}.child-switch small{font-size:12px}.quick-actions{gap:8px}.quick-action{height:91px}.day-summary{gap:10px 16px;font-size:11px}.health-tabs{gap:20px}.metrics-controls{gap:12px}.metrics-controls select{font-size:13px;padding:10px}.metric-bars{height:170px;gap:7px}.month-bars{gap:2px}.month-bars .bar-date{font-size:10px}.birthday-card{flex-wrap:wrap;padding:20px}.birthday-card>div{flex:1;min-width:0}.birthday-card>button{margin:0;flex-basis:100%;justify-content:flex-start}.health-panel .section-label h2{font-size:15px}.health-list p{font-size:13px}.choice-chips{gap:7px}.modal label.check-option{font-size:13px}.form-columns{gap:10px}.entry-heading>span{max-width:60%;font-size:11px}.entry-author{font-size:10px}}.caregiver-form{margin-top:24px;max-width:560px}.caregiver-form>label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}.caregiver-input-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.caregiver-input-row input{flex:1;min-width:180px;width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:16px}.caregiver-input-row input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.caregiver-input-row .primary{margin:0;flex-shrink:0;min-height:48px}.caregiver-form [role=status]:empty{display:none}.participants-fieldset{padding-top:28px;margin-top:32px}.participants-fieldset .choice-chips{gap:12px}.modal .participants-fieldset>label{display:block;margin-top:28px;font-size:14px;font-weight:600}.current-measurements{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px}.current-measurement{padding:23px 24px;background:var(--soft);border-radius:16px;min-width:0}.current-measurement>div{display:flex;align-items:center;gap:9px;color:var(--accent);font-size:13px;font-weight:600}.current-measurement>strong{display:block;font-size:34px;letter-spacing:-1px;margin:13px 0 8px;font-variant-numeric:tabular-nums}.current-measurement strong small{font-size:17px;font-weight:500;letter-spacing:0;margin-left:8px;color:var(--muted)}.current-measurement p{font-size:12px;color:var(--muted);line-height:1.6}.metrics-calendar{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:22px 24px}.range-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.range-heading>div>span{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}.range-heading h3{font-size:16px;font-weight:650;line-height:1.5}.range-heading>button{flex-shrink:0;color:var(--accent)}.range-week{display:flex;align-items:center;gap:8px}.range-week>.icon-button{min-width:32px;width:32px;min-height:48px;padding:0}.metric-week-strip{flex:1;min-width:0;margin:0;padding:0;border:0}.metric-week-strip button{min-height:67px}.metric-week-strip button.in-range{background:var(--soft);color:var(--accent)}.metric-week-strip button.in-range strong{color:var(--accent)}.range-presets{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.range-presets button{min-height:36px;padding:8px 15px;background:var(--bg);border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--text)}.range-presets button:hover{background:var(--soft)}.metrics-calendar>.field-help{margin-top:13px;line-height:1.7}.range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 0 22px}.range-inputs label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:8px;min-width:0}.range-inputs input{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:10px 12px;min-height:46px;background:var(--bg);color:var(--text);font-size:14px}.metric-section-title{margin-top:32px}.counter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.counter-card{padding:19px 18px;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:grid;grid-template-columns:1fr auto;gap:16px 9px;align-items:center}.counter-icon{display:flex;align-items:center}.counter-card.sleep .counter-icon{color:var(--sleep-ink)}.counter-card.diaper .counter-icon{color:var(--diaper-ink)}.counter-card.bath .counter-icon{color:var(--bath-ink)}.counter-card.feeding .counter-icon{color:var(--feeding-ink)}.counter-card>strong{font-size:28px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.counter-card>span:last-child{grid-column:1/-1;font-size:12px;line-height:1.5;color:var(--muted)}.metric-count-note{margin-top:14px;margin-bottom:28px;line-height:1.8}.metrics-error{padding:14px 0;font-size:13px;color:var(--accent)}.sleep-chart{margin-top:26px;padding-bottom:23px}.sleep-axis,.sleep-row{display:grid;grid-template-columns:72px minmax(0,1fr) 94px;gap:14px;align-items:center}.sleep-axis{font-size:10px;color:var(--muted);padding:9px 0 14px}.sleep-axis>div{display:flex;justify-content:space-between}.sleep-axis>span:last-child{text-align:right}.sleep-rows{max-height:396px;overflow-y:auto;scrollbar-gutter:stable}.sleep-row{width:100%;background:transparent;min-height:44px;padding:10px 0;border-bottom:1px solid var(--line);font-size:11px;text-align:left;border-radius:3px}.sleep-row[aria-pressed=true]{background:var(--soft)}.sleep-row>span:first-child{color:var(--muted);padding-left:2px}.sleep-row>strong{font-size:11px;font-weight:600;text-align:right;padding-right:2px;font-variant-numeric:tabular-nums}.sleep-track{display:block;height:20px;background:repeating-linear-gradient(to right,var(--line) 0,var(--line) 1px,transparent 1px,transparent 25%),var(--bg);border-radius:4px;position:relative;overflow:hidden}.sleep-track>i{position:absolute;top:0;height:100%;background:var(--sleep-ink);opacity:.8;border-radius:3px;min-width:2px}.sleep-track>i.ongoing{background:repeating-linear-gradient(135deg,var(--sleep-ink) 0,var(--sleep-ink) 4px,var(--sleep) 4px,var(--sleep) 7px)}.sleep-detail{padding:18px 0 0;font-size:12px;color:var(--muted);line-height:1.8;display:flex;flex-direction:column;gap:4px}.sleep-detail strong{color:var(--text);font-weight:600}.sleep-chart>.field-help{margin-top:12px}.chart-empty{padding:26px 5px;min-height:175px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;color:var(--muted);font-size:13px;line-height:1.7}.chart-empty>svg,.chart-empty>span>svg{color:var(--accent);opacity:.8}.chart-empty strong{font-size:14px;font-weight:600;color:var(--text)}.growth-charts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:14px}.growth-chart{padding:22px 20px;min-width:0}.growth-chart h3{font-size:15px;font-weight:650}.growth-chart>svg{display:block;width:100%;height:auto;overflow:visible;margin:8px 0 12px}.growth-chart svg text{font-size:14px;fill:var(--muted);font-family:inherit}.growth-grid-line{stroke:var(--line);stroke-dasharray:3 4}.growth-line{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.growth-point{fill:var(--surface);stroke:var(--accent);stroke-width:2}.growth-reading{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin:8px 0 16px}.growth-reading strong{font-size:21px;font-weight:650;letter-spacing:-.5px}.growth-reading>span{font-size:11px;color:var(--muted)}.growth-date-select{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.growth-date-select select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);padding:10px;font-size:12px}@media(max-width:700px){.current-measurements{gap:12px;margin-bottom:22px}.current-measurement{padding:20px 16px}.current-measurement>div{font-size:12px;gap:7px}.current-measurement>strong{font-size:29px}.current-measurement p{font-size:11px}.metrics-calendar{padding:18px 14px}.range-heading{align-items:flex-start;gap:10px}.range-heading h3{font-size:14px}.range-heading>button{font-size:11px;gap:5px}.range-heading>button svg{width:15px}.range-week{gap:2px}.range-week>.icon-button{min-width:24px;width:24px}.metric-week-strip{gap:3px}.metric-week-strip button{min-height:62px}.range-presets{gap:8px;margin-top:17px}.range-presets button{min-height:42px;font-size:11px;padding:8px 13px}.counter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.counter-card{padding:17px 16px;gap:12px}.counter-card>strong{font-size:26px}.counter-card:last-child{grid-column:1/-1;grid-template-columns:auto 1fr auto;gap:14px}.counter-card:last-child>strong{grid-column:3;grid-row:1}.counter-card:last-child>span:last-child{grid-column:2;grid-row:1}.metric-section-title>span{font-size:10px}.sleep-chart{padding:19px 14px}.sleep-axis,.sleep-row{grid-template-columns:48px minmax(0,1fr) 67px;gap:8px}.sleep-row>strong{font-size:10px}.sleep-row>span:first-child{font-size:10px}.sleep-axis{font-size:9px}.sleep-track{height:18px}.sleep-chart .section-label{align-items:flex-start}.sleep-chart .section-label>span{max-width:45%;text-align:right;line-height:1.6}.growth-charts{grid-template-columns:1fr;gap:16px}.growth-chart{padding:20px 18px}.growth-chart>svg{max-height:240px}.growth-reading>span{font-size:12px}.range-inputs input{padding:10px 7px;font-size:13px}.metrics-overview>.field-help{line-height:1.8}}.sleep-stacked{--sleep-night-color:var(--sleep-ink);--sleep-day-color:var(--bath-ink)}.sleep-stacked .section-label{align-items:center}.sleep-key{display:flex;flex-wrap:wrap;gap:9px 18px;margin-bottom:20px;color:var(--muted);font-size:12px}.sleep-key>span{display:flex;align-items:center;gap:6px}.sleep-key i{width:9px;height:9px;border-radius:3px;flex-shrink:0}.sleep-night-dot,.sleep-night-segment{background:var(--sleep-night-color)}.sleep-day-dot,.sleep-day-segment{background:var(--sleep-day-color)}.sleep-period-total{display:flex;flex-direction:column;gap:5px;margin:22px 0 6px}.sleep-period-total>strong{font-size:28px;font-weight:650;letter-spacing:-.6px}.sleep-period-total>span{font-size:12px;color:var(--muted)}.sleep-page-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin:12px 0 0}.sleep-columns-chart{display:grid;grid-template-columns:35px minmax(0,1fr);gap:10px;margin:6px 0 18px}.sleep-hours-axis{height:220px;display:flex;flex-direction:column;justify-content:space-between;padding-top:25px;font-size:11px;color:var(--muted)}.sleep-columns{display:grid;gap:10px;min-width:0}.sleep-column{display:flex;flex-direction:column;align-items:center;gap:11px;padding:0 2px 7px;background:transparent;border-radius:6px;min-width:0}.sleep-column[aria-pressed=true]{background:var(--soft)}.sleep-column-plot{height:220px;width:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px;border-bottom:1px solid var(--line)}.sleep-column-value{font-size:12px;font-variant-numeric:tabular-nums}.sleep-stack{width:100%;max-width:40px;display:flex;flex-direction:column-reverse;border-radius:5px 5px 0 0;overflow:hidden}.sleep-stack>i{display:block;width:100%}.sleep-column-date{font-size:11px;color:var(--muted);text-align:center}.sleep-episodes{margin-top:23px;border-top:1px solid var(--line);padding-top:20px}.sleep-episodes-heading{display:flex;gap:12px;justify-content:space-between;align-items:baseline;flex-wrap:wrap}.sleep-episodes-heading h3{font-size:14px;font-weight:600}.sleep-episodes-heading>strong{font-size:16px;font-weight:650}.sleep-day-breakdown{font-size:12px;color:var(--muted);margin-top:8px}.sleep-episode{margin:23px 0}.sleep-episode>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:9px}.sleep-episode strong{font-weight:600}.sleep-episode-track{height:13px;border-radius:4px;background:var(--bg);overflow:hidden}.sleep-episode-track>span{display:block;height:100%;border-radius:4px;background:var(--sleep-night-color)}.sleep-episode small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.sleep-zone-note{margin-top:18px}.sleep-night-settings{background:var(--soft);padding:16px;border-radius:12px;margin:14px 0 22px}.sleep-night-settings>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sleep-night-settings label{display:flex;flex-direction:column;gap:8px;font-size:12px;min-width:0}.sleep-night-settings input{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:16px;min-height:44px}.sleep-night-settings .primary{min-height:44px;margin-top:14px;padding:10px 18px;font-size:13px}@media(max-width:700px){.sleep-columns-chart{grid-template-columns:28px minmax(0,1fr);gap:5px}.sleep-columns{gap:5px}.sleep-column{padding:0 1px 6px}.sleep-column-value,.sleep-column-date{font-size:11px}.sleep-key{font-size:11px;gap:8px 12px}.sleep-stacked .section-label h2{font-size:16px}.sleep-stacked .section-label .text-button{font-size:11px;gap:5px}.sleep-period-total>strong{font-size:26px}}.range-presets{justify-content:center}.diary-column>.metrics-calendar{margin-bottom:22px}.modal .measurement-fields{margin-top:28px}.modal .measurement-fields>label{display:block;font-size:14px;font-weight:600;margin:0}.modal .measurement-fields input{display:block;margin-top:10px}.growth-chart>svg.growth-interactive{height:240px;max-height:none}.growth-interactive .growth-point-target{cursor:pointer;outline:none}.growth-interactive .growth-point-target:focus-visible .growth-point{stroke-width:3.5;fill:var(--soft)}.growth-interactive .growth-callout rect{fill:var(--surface);stroke:var(--line);stroke-width:1}.growth-interactive .growth-callout line{stroke:var(--accent);stroke-width:1}.growth-chart .growth-interactive text{font-size:12px}.growth-chart .growth-interactive .growth-tooltip-value{fill:var(--text);font-weight:650;font-size:14px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.growth-chart .section-label>span{display:block}.web-login{width:100%;max-width:380px;margin:24px auto 0;text-align:left}.account-tabs{display:flex;gap:6px;background:var(--soft);padding:5px;border-radius:12px;margin:18px 0}.account-tabs button{flex:1;background:transparent;padding:11px 8px;border-radius:8px;font-size:13px;line-height:1.4}.account-tabs button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 1px 3px #0000000b}.credentials-form{display:grid;gap:18px;text-align:left;width:100%;max-width:420px}.credentials-form label{display:block;font-size:13px;font-weight:600;line-height:1.6}.credentials-form input:not([type=checkbox]){display:block;width:100%;min-height:46px;margin-top:8px;padding:11px 13px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;outline-color:var(--accent);font-size:16px}.credentials-form .field-help{margin:0;font-size:12px;line-height:1.65}.credentials-form .account-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400}.account-consent input{flex-shrink:0;margin:5px 0 0;width:17px;height:17px;accent-color:var(--accent)}.account-panel{max-width:760px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:18px;margin-bottom:28px}.account-row{display:flex;gap:15px;margin-top:24px;align-items:flex-start}.account-row>svg{color:var(--accent);flex-shrink:0;margin-top:2px}.account-row>div{min-width:0}.account-row h3{font-size:15px;line-height:1.5}.account-row p{font-size:13px;color:var(--muted);line-height:1.75;margin:6px 0 12px;overflow-wrap:anywhere}.account-row .secondary{margin-top:4px}.modal .account-panel{padding:0;border:0;margin:0}.modal .account-panel>.section-label{display:none}@media(max-width:700px){.account-panel{padding:20px}.account-tabs button{font-size:12px}.account-row{gap:12px}.web-login{max-width:360px}}
