/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:"Segoe UI", ui-sans-serif, system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.contents{display:contents}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}}:root{font-family:var(--font-sans);color:#f3f5f7;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#10151c}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .15s,border-color .15s}button:disabled{cursor:not-allowed;opacity:.5}button:not(:disabled):hover{filter:brightness(1.08)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #e2d7ff}h1,h2,p{margin:0}h1{letter-spacing:-.04em;font-size:clamp(1.55rem,4vw,2.25rem);font-weight:700;line-height:1.15}h2{font-size:1.25rem;line-height:1.15}.muted{color:#b8c3d1;font-size:.85rem;line-height:1.5}.eyebrow{color:#b9c6d7;letter-spacing:.15em;font-size:.65rem;font-weight:750}.icon-button{color:#e3e9f0;background:#1b222c;border:1px solid #465262;border-radius:12px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.primary-button,.secondary-button{border-radius:13px;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:10px 18px;font-weight:700;display:flex}.primary-button{color:#132c24;background:#a8e8d3;border:1px solid #a8e8d3;width:100%;margin-top:20px}.primary-button svg{margin-left:auto}.secondary-button{color:#f3f5f7;background:#232c37;border:1px solid #536173}.text-button{color:#fff;background:0 0;border:0;min-height:44px;padding:7px 12px;text-decoration:underline}label,.field-label{color:#e2e7ee;margin:18px 0 7px;font-size:.84rem;font-weight:650;display:block}fieldset{border:0;min-width:0;margin:0;padding:0}input,select{color:#f3f5f7;background:#10161e;border:1px solid #536173;border-radius:11px;width:100%;min-width:0;min-height:48px;padding:10px 13px;font-size:16px}input[readonly]{color:#b8c3d1}input::placeholder{color:#95a2b3}.error-box,.success-box{opacity:0;border-radius:11px;margin-top:12px;padding:10px 13px;font-size:.84rem;line-height:1.45;animation:3s slideup;position:absolute}.error-box{color:#ffd2d3;background:#392329;border:1px solid #895153}.success-box{color:#baf4da;background:#1c322b;border:1px solid #3a6858}@keyframes slideup{0%,75%{opacity:1;top:12px}to{opacity:0;top:-20px}}.field-error{color:#ffd2d3;margin-top:6px;font-size:.78rem}.retry-note{color:#edc2c5;margin-top:6px;font-size:.76rem;display:block}.offline-banner{color:#ffe0a3;text-align:center;background:#463823;padding:8px 16px;font-size:.8rem;line-height:1.4}.update-notice{background:#2e2743;border-bottom:1px solid #695487;justify-content:space-between;align-items:center;gap:18px;padding:12px max(18px,50vw - 500px);display:flex}.update-notice p{color:#ded1f5;margin-top:3px;font-size:.78rem}.app-shell{min-height:100dvh}.dashboard-screen{flex-direction:column;display:flex}.app-header{justify-content:space-between;align-items:center;gap:16px;max-width:1000px;margin:auto;padding:18px 24px;display:flex}.wordmark{color:#f3f5f7;letter-spacing:-.055em;align-items:center;min-height:44px;font-size:1.35rem;font-weight:760;text-decoration:none;display:flex}.wordmark img{width:64px;height:64px;margin-right:8px}.header-right{align-items:center;gap:14px;min-width:0;display:flex}.sync-indicator{justify-content:center;align-items:center;width:22px;height:44px;display:inline-flex}.sync-indicator.stale .sync-dot{background:#f3d782}.logout-button{color:#cbd5e1;text-underline-offset:3px;background:0 0;border:0;min-height:44px;padding:8px 2px;text-decoration:underline}.app-main{width:100%;max-width:1000px;margin:auto;padding:14px 24px 110px}.dashboard-screen .app-main{flex:1;display:flex}.dashboard{flex-direction:column;flex:1;min-width:0;display:flex}.section-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.refresh-button{color:#bdc8d6;white-space:nowrap;background:0 0;border:0;align-items:center;gap:7px;min-height:44px;padding:6px;font-size:.75rem;display:flex}.sync-dot{background:#a8e8d3;border-radius:50%;flex:none;width:6px;height:6px;display:inline-block}.sync-dot.stale{background:#f3d782}.baby-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.baby-grid:not(:empty){flex:1;grid-auto-rows:minmax(min-content,1fr)}.baby-card{border:1px solid #35404d;border-top:3px solid var(--baby-accent);background:#191f28;border-radius:18px;min-width:0;padding:17px;box-shadow:0 10px 34px #00000018}.baby-heading{align-items:center;gap:10px;min-width:0;margin-bottom:14px;display:flex}.baby-heading>div:nth-child(2){min-width:0}.baby-heading h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.baby-avatar{background:var(--baby-accent);color:#10151c;border-radius:12px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;font-size:1.1rem;font-weight:700;display:flex}.baby-color{color:#aeb9c8;margin-top:3px;font-size:.66rem}.state-pill{color:#ccd5df;white-space:nowrap;border:1px solid #465262;border-radius:20px;align-items:center;gap:4px;margin-left:auto;padding:4px 7px;font-size:.62rem;display:inline-flex}.state-pill.sleeping{color:#e0d2ff;background:#30273f;border-color:#695685}.last-events{gap:7px;display:grid}.last-event{align-items:center;gap:8px;min-width:0;display:flex}.last-event>div{min-width:0}.event-icon{border-radius:9px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.event-icon svg{width:18px;height:18px}.event-icon.feeding{color:#a8e8d3;background:#243931}.event-icon.diaper{color:#ffc49c;background:#3e3028}.event-icon.sleep{color:#d2bcff;background:#322a44}.event-label{color:#aebccc;letter-spacing:.08em;text-transform:uppercase;font-size:.55rem;font-weight:750}.event-value{text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;font-weight:600;overflow:hidden}.elapsed{color:#b9c5d5;text-align:right;min-width:64px;margin-left:auto;font-size:.66rem}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px;display:grid}.quick-actions button{border-radius:11px;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:46px;padding:5px;font-size:.76rem;font-weight:700;display:flex}.quick-actions button svg{flex:none;width:18px;height:18px}.feed-button{color:#142e25;background:#a8e8d3;border:1px solid #a8e8d3}.diaper-button{color:#38251a;background:#ffcaab;border:1px solid #ffcaab}.sleep-button{color:#dbc7ff;background:#272333;border:1px solid #665677}.sleep-button.active{color:#2a1f40;background:#c8b6ff;border-color:#c8b6ff}.sleep-error{margin-top:9px}.bottom-nav{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);bottom:max(10px, env(safe-area-inset-bottom));z-index:5;background:#1d2532f5;border:1px solid #536173;border-radius:18px;gap:3px;padding:5px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 10px 35px #0009}.bottom-nav button{color:#b2bfd0;background:0 0;border:0;border-radius:13px;justify-content:center;align-items:center;gap:7px;min-width:125px;min-height:46px;font-size:.8rem;font-weight:650;display:flex}.bottom-nav button[aria-current=page]{color:#d7f9ea;background:#30483f}.mutation-notice,.history-notice{align-items:center;gap:8px;margin:0 0 12px;display:flex}.mutation-notice .icon-button,.history-notice .icon-button{background:0 0;border:0;margin-left:auto}.data-error,.header-error{margin:0 0 12px}.dialog{color:#f3f5f7;background:#191f28;border:1px solid #536173;border-radius:20px;width:min(100% - 28px,470px);max-height:calc(100dvh - 30px);margin:auto;padding:24px;overflow-y:auto;box-shadow:0 20px 90px #0009}.dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#050910c9}.dialog-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.dialog-heading .eyebrow{overflow-wrap:anywhere;margin-bottom:5px}.sheet-handle{background:#667282;border-radius:5px;width:36px;height:4px;margin:-10px auto 18px}.segmented{background:#10161e;border:1px solid #465262;border-radius:12px;gap:3px;padding:4px;display:flex}.segmented button{color:#c3cddd;background:0 0;border:0;border-radius:8px;flex:1;min-height:44px;padding:7px;font-size:.82rem;font-weight:650}.segmented button[aria-pressed=true]{color:#c7f8e5;background:#34473f}.edit-segmented{margin-top:18px}.unit-input{position:relative}.unit-input input{padding-right:52px}.unit-input span{color:#b4c0d0;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.amount-field input{min-height:68px;font-size:1.8rem;font-weight:650}.diaper-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.diaper-choices button{color:#ffcaab;background:#2c2728;border:1px solid #5f5658;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:94px;display:flex}.diaper-choices button[aria-pressed=true]{color:#38251a;background:#ffcaab;border-color:#ffcaab}.delete-zone{border-top:1px solid #3a4553;margin-top:22px;padding-top:16px}.delete-button{color:#ffd2d3;background:0 0;border:1px solid #895153;border-radius:11px;width:100%;min-height:44px;padding:9px 14px}.delete-button.confirm{color:#fff;background:#7b373d}.delete-confirm{background:#392329;border:1px solid #895153;border-radius:12px;padding:13px}.delete-confirm p{color:#edc2c5;margin-top:5px;font-size:.78rem;line-height:1.45}.delete-confirm>div{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.history-filters{background:#191f28;border:1px solid #35404d;border-radius:14px;align-items:flex-end;gap:10px;margin-bottom:16px;padding:12px;display:flex}.history-filters>div{flex:1;min-width:0}.history-filters label{margin:0 0 5px;font-size:.72rem}.timeline{background:#191f28;border:1px solid #35404d;border-radius:17px;overflow:hidden}.timeline-event{color:inherit;text-align:left;background:0 0;border:0;border-bottom:1px solid #35404d;align-items:flex-start;gap:13px;width:100%;padding:17px;display:flex}.timeline-event:last-child{border-bottom:0}.timeline-content{flex:1;min-width:0}.timeline-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;display:flex}.baby-tag{color:var(--baby-accent);overflow-wrap:anywhere;font-size:.78rem;font-weight:700}.timeline-top time{color:#b8c4d3;text-align:right;font-size:.7rem}.timeline-content h2{letter-spacing:-.01em;font-size:.95rem}.timeline-content p{color:#abb6c5;margin-top:5px;font-size:.72rem}.load-more{min-width:230px;margin:18px auto}.empty-state{color:#b9c6d7;text-align:center;padding:35px 18px;font-size:.84rem}.empty-state svg{color:#c8b6ff;margin:0 auto 12px}.login-shell{justify-content:center;align-items:center;min-height:100dvh;padding:24px;display:flex}.login-panel{background:#191f28;border:1px solid #35404d;border-radius:20px;width:100%;max-width:410px;padding:28px}.login-brand{align-items:center;gap:8px;margin-bottom:24px;font-size:1.35rem;display:flex}.brand-symbol{width:64px;height:64px}.login-panel h1{margin-bottom:7px}.loading-shell{color:#b4c1d2;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100dvh;display:flex}.loading-shell img{width:70px;height:70px}@media (width<=760px){.app-header{min-height:76px;padding:6px 12px}.wordmark{font-size:1.14rem}.wordmark img{width:64px;height:64px;margin-right:6px}.header-right{gap:8px}.logout-button{font-size:.72rem}.app-main{max-width:520px;padding:4px 12px 74px}.section-heading{min-height:40px;margin-bottom:7px}.section-heading h1{font-size:1.35rem}.refresh-button>span:nth-child(2){display:none}.baby-grid{grid-template-columns:1fr;gap:7px}.baby-card{border-radius:15px;padding:9px 10px 10px}.baby-heading{margin-bottom:6px}.baby-avatar{border-radius:9px;width:32px;height:32px}.baby-heading h2{font-size:1.04rem}.baby-color{display:none}.last-events{gap:3px}.event-icon{width:28px;height:28px}.event-value{font-size:.69rem}.quick-actions{margin-top:7px}.quick-actions button{min-height:44px}.bottom-nav{bottom:max(6px, env(safe-area-inset-bottom))}.bottom-nav button{min-width:120px;min-height:44px}.dialog.sheet{max-width:520px;max-height:94dvh;padding-bottom:max(22px, env(safe-area-inset-bottom));border-radius:20px 20px 0 0;width:100%;margin:auto auto 0}.update-notice{flex-direction:column;align-items:stretch;gap:9px;padding:12px 16px}}@media (width<=370px){.app-main{padding-left:8px;padding-right:8px}.quick-actions{gap:5px}.quick-actions button{font-size:.7rem}.elapsed{min-width:58px}.dialog{padding:19px}.history-filters{gap:6px;padding:9px}.history-filters select{padding:8px 5px;font-size:.8rem}.timeline-event{gap:9px;padding:13px}}@media (height<=620px),(resolution>=2x) and (width>=761px){.dialog{overscroll-behavior:contain}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
