/* Original approved CSS and bottle asset are kept intact; additions serve the manual's flows. */
.site-filing{text-align:center;padding:16px 20px calc(16px + env(safe-area-inset-bottom));font-size:12px;line-height:1.6;color:#77727c}.site-filing a{color:inherit;text-decoration:none}.site-filing a:hover,.site-filing a:focus-visible{text-decoration:underline}
.prototype-strip{padding:8px 16px;text-align:center;font-size:12px;color:#766870;background:#f5ede8;line-height:1.6}
.device-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-12px 0 22px;color:#766870;font-size:14px}.device-actions{display:flex;gap:14px;align-items:center}.text-button{background:none;border:0;color:#9c375e;min-height:44px;padding:6px 10px;font-size:14px}.warning-banner{background:#fcf0de;border:1px solid #ecd4a9;padding:14px 18px;color:#805c2c;border-radius:14px;margin-bottom:18px;font-size:14px}
.timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.timeline-heading h2{margin:0 0 12px}.window-tabs{display:flex;gap:4px;padding:3px;border-radius:24px;background:#f1e8e8;margin-bottom:12px}.window-tabs button{border:0;background:none;color:#766870;padding:8px 18px;min-height:44px;border-radius:22px;font-size:14px}.window-tabs button[aria-pressed=true]{background:#fff;color:#9c375e;box-shadow:0 2px 8px #6943500a}.footer-note{color:#766870;font-size:12px;text-align:center;line-height:1.8;margin:22px 0 4px}
.entry{width:100%;text-align:left;background:none;color:inherit;border-radius:0;cursor:pointer}.entry:hover{background:#fff7fa}.entry:focus-visible{outline-offset:-3px}.entry-time{display:flex;flex-direction:column}.day-caption{font-size:11px;color:#89828a;margin-top:4px}.entry .note{display:block;line-height:1.6}.status-pill{display:inline-block;font-size:11px;color:#8b652e;background:#f9efd9;padding:2px 7px;border-radius:12px;margin-left:8px;vertical-align:middle}.status-pill.conflict{color:#a33e4d;background:#fae7e9}.next-day{display:block;font-size:18px;letter-spacing:0;margin-top:6px}.stat{overflow-wrap:anywhere}.record:disabled,#wake:disabled{opacity:.45;cursor:not-allowed}
dialog,body[data-theme=glass] dialog{min-height:0;border-radius:18px;padding:28px 36px;max-height:calc(100dvh - 32px);overflow:auto}dialog form{min-height:0}#fields{display:block}.actions{margin-top:18px;padding-top:16px;gap:16px}.actions button,.actions .save{flex:1;max-width:280px;border-radius:8px}.actions .danger{background:#a33e4d;color:white}.field input[type=datetime-local],.time-line input[type=datetime-local]{width:245px;font-size:17px;min-height:44px;padding:8px;border:1px solid #e7dfdc;border-radius:9px;background:#fff;color:#28252a;text-align:left}.field input[type=text]{font-size:15px}.form-group{padding:0;margin-top:20px}.form-group .field{min-height:58px;gap:14px}.form-group .field label{flex:1}.field input[name=note]{width:65%;font-size:15px}.amount-inline input{min-width:110px;width:110px}.amount-inline input::placeholder{font-size:24px;color:#b2a8ae}.bottle-layout{gap:55px;min-height:260px}.bottle-svg{touch-action:none;cursor:ns-resize}.total-number{font-size:36px}.milk-tabs{gap:45px;margin-bottom:12px}.add-milk{min-height:44px;border-radius:8px}.mixed-layout{gap:25px}.mixed-item{flex:1;position:relative}.remove-source{min-height:44px;border:0;background:none;color:#9c375e;font-size:13px}.timer-total{margin:8px 0 15px}.hint{line-height:1.7;font-size:12px;margin-top:15px}.error:empty{margin:0}.error{line-height:1.7}.small-copy{font-size:13px;color:#766870;line-height:1.8}.time-line{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;margin-top:8px}.time-line label{font-size:15px}.sleep-display{min-height:170px;padding:26px;margin:20px 0}.sleep-status{margin-bottom:15px}.sleep-clock{font-size:35px}.sleep-start{line-height:1.8}.note-input{border-bottom:1px solid #e9e0dd;width:100%}.choices{flex-wrap:wrap;gap:10px}.choice{min-width:80px;flex:1;min-height:46px}.section-label{margin-bottom:10px}.choice-section{padding-top:15px}.section-clear{border:0;background:none;color:#9c375e;min-height:44px;font-size:13px;padding:0 8px}.sleep-options button{min-height:44px}.detail-list{margin:12px 0}.detail-row{display:grid;grid-template-columns:100px 1fr;gap:18px;padding:14px 0;border-bottom:1px solid #eee5e1;font-size:15px;line-height:1.6}.detail-label{color:#766870}.detail-row>div:last-child{overflow-wrap:anywhere}.details-note{white-space:pre-wrap}.secondary-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.secondary-actions button,.settings-grid button,.sync-item button{min-height:44px;border:1px solid #e5d7dc;border-radius:8px;background:#fff;color:#9c375e;padding:10px 16px;font-size:14px}.danger-text{color:#a33e4d!important}.empty{line-height:1.9}.pair-page{max-width:630px;margin:7vh auto;padding:38px;background:rgba(255,255,255,.65);border:1px solid #fff;border-radius:26px}.pair-heading{color:#9c375e;font-size:15px}.pair-page h1{font-size:30px;font-weight:500;margin:20px 0}.pair-page p{font-size:15px;line-height:1.8}.pair-form{margin:28px 0}.pair-form label{display:block;font-size:14px;color:#766870;margin-bottom:12px}.pair-form input{width:100%;height:60px;border:1px solid #e5d7dc;background:#fff;border-radius:12px;font-size:26px;letter-spacing:5px;padding:12px 18px}.primary{background:#b64b72;color:#fff;border:0;min-height:50px;padding:12px 24px;border-radius:9px;width:100%;font-size:16px}.demo-note{padding-top:18px;border-top:1px solid #e7dce0;font-size:13px;color:#766870;line-height:1.8}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.settings-grid button{text-align:left;line-height:1.6}.sync-item{border:1px solid #e8dfdb;border-radius:12px;padding:15px;margin-top:12px;font-size:14px;line-height:1.8}.sync-item strong{display:block;color:#28252a}.sync-item small{display:block;color:#766870}.sync-item button{margin-top:10px;margin-right:8px}.view-only{padding:14px;background:#faf6f4;border-radius:10px;font-size:13px;color:#766870;line-height:1.7}.resume-note{padding:10px 14px;background:#f9f0e4;color:#805c2c;border-radius:10px;font-size:13px;margin-bottom:12px}.toast{max-width:calc(100vw - 24px);font-size:14px;text-align:center;line-height:1.6}.duration-preview{font-size:23px;margin-top:14px}.draft-warning{color:#805c2c;font-size:13px;line-height:1.8}
@media(max-width:850px){.device-bar{font-size:12px;margin-top:-10px}.device-actions{gap:0}.text-button{font-size:12px}.next-day{font-size:15px}.field input[type=datetime-local],.time-line input[type=datetime-local]{width:220px;font-size:16px}.bottle-layout{gap:28px}.mixed-layout .amount-inline input{min-width:80px;width:80px}.mixed-layout .amount-inline span{font-size:30px}.count{margin-left:12px}}
@media(max-width:620px){.device-bar{align-items:flex-start;flex-direction:column;gap:0;margin-bottom:15px}.device-actions{width:100%;justify-content:space-between}.timeline-heading{align-items:flex-start;flex-direction:column;gap:4px}.timeline-heading h2{margin-bottom:0;font-size:21px}.window-tabs{align-self:flex-end;margin-bottom:12px}.next-day{font-size:13px;display:inline;margin-left:8px}dialog,body[data-theme=glass] dialog{padding:22px 18px}.field input[type=datetime-local],.time-line input[type=datetime-local]{width:195px;font-size:14px}.field input[name=note]{width:65%}.form-group .field label{font-size:13px}.amount-inline input{min-width:90px;width:90px}.bottle-layout{gap:20px;min-height:240px}.bottle-hint{font-size:12px}.mixed-layout{gap:12px}.mixed-layout .bottle-svg{width:92px;height:190px}.mixed-layout .amount-inline input{min-width:65px;width:65px;font-size:28px}.mixed-layout .amount-inline span{font-size:28px}.milk-tabs{gap:18px}.milk-tabs button{font-size:20px;padding:10px 15px}.pair-page{margin:20px auto;padding:24px}.pair-page h1{font-size:26px}.pair-form input{font-size:22px}.detail-row{grid-template-columns:80px 1fr;gap:12px;font-size:14px}.settings-grid{grid-template-columns:1fr}.time-line label{font-size:13px}.sleep-clock{font-size:30px}.sleep-options{gap:10px}.sleep-display{padding:24px 14px}.prototype-strip{font-size:11px}.entry{grid-template-columns:58px 22px 1fr;gap:12px}.entry:after{left:82px}.footer-note{text-align:left}}

/* Feeding hero: inherit the approved original typography at every breakpoint. */
.hero .hero-meta{display:block;font-size:13px;font-weight:400;color:#89828a;letter-spacing:0;line-height:1.6;margin-top:4px}

/* Larger timeline icons, with the connecting line following the new icon center. */
.history .entry{grid-template-columns:62px 34px minmax(0,1fr);min-height:60px}
.expand{width:auto;min-width:140px;white-space:nowrap;padding:0 18px}
.history .entry .icon{width:34px;height:34px;padding:3px;align-self:center}
.history .entry .icon svg{display:block;width:100%;height:100%}
.history .entry:after{left:93px;top:44px;bottom:-8px}
.milk-composition{margin-top:12px;width:260px;max-width:100%;font-family:"Microsoft YaHei","Noto Sans SC",sans-serif;letter-spacing:0}
.milk-ratio-track{display:flex;width:220px;max-width:100%;height:14px;border-radius:8px;overflow:hidden;background:#f3eee8;border:0}
.milk-ratio-segment{display:block;flex-basis:0;min-width:0}
.milk-ratio-segment+.milk-ratio-segment{border:0}
.milk-ratio-segment.breastMilk,.milk-dot.breastMilk{background:#EBD9AC}
.milk-ratio-segment.formula,.milk-dot.formula{background:#D1E8ED}
.milk-ratio-labels{display:flex;justify-content:flex-start;gap:5px 14px;flex-wrap:wrap;margin-top:8px;font-size:16px;line-height:1.7;color:#766870}
.milk-ratio-labels>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.milk-ratio-labels strong{font-weight:600;color:#5e525a}
.milk-ratio-labels small{font-size:14px;color:#89828a;margin-left:2px}
.milk-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none;border:0}
.hero-preview-note{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#805c2c;font-size:12px;line-height:1.7;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e5d9d1}
.hero-preview-note .text-button{font-size:12px;min-height:38px;padding:4px 8px}

.hero .feeding-amount-column{min-width:0}





.feeding-unit-note{font-size:12px;color:#766870;line-height:1.7;margin-top:10px}
.history .entry{grid-template-columns:62px 34px minmax(0,1fr) minmax(64px,140px)}
.entry-content{min-width:0}
.entry-recorder{justify-self:end;align-self:center;max-width:100%;font-size:14px;line-height:1.6;color:#766870;text-align:right;overflow-wrap:anywhere}
.card .sleep-total{margin-top:5px}
.card #sleep-last{font-size:26px;line-height:1.5}
.sleep-row[hidden],#wake[hidden]{display:none!important}
@media(max-width:1050px){.card #sleep-last{font-size:22px}}
@media(max-width:620px){.history .entry{grid-template-columns:58px 30px minmax(0,1fr) minmax(48px,84px);gap:12px}.entry-recorder{font-size:13px}}
.feeding-design-options{display:grid;gap:14px;margin:20px 0}
.feeding-design-options button{border:1px solid #e5d7dc;background:#fcf9f7;color:#28252a;border-radius:14px;text-align:left;padding:18px;min-height:76px}
.feeding-design-options button strong{display:block;font-size:18px;font-weight:500;color:#9c375e;margin-bottom:7px}
.feeding-design-options button span{display:block;font-size:14px;color:#766870;line-height:1.7}
@media(max-width:1050px){.milk-ratio-labels{font-size:15px;gap:5px 10px}.milk-ratio-labels small{font-size:13px}}
@media(max-width:620px){.history .entry{grid-template-columns:58px 30px minmax(0,1fr);gap:12px}.history .entry .icon{width:30px;height:30px;padding:2px}.history .entry:after{left:85px;top:40px;bottom:-8px}.hero-preview-note{align-items:flex-start;flex-wrap:wrap}.milk-ratio-track{height:12px}.milk-ratio-labels{font-size:14px}.milk-ratio-labels small{font-size:12px}.milk-ratio-labels>span{gap:3px}}
@media(max-width:620px){.history .entry{grid-template-columns:58px 30px minmax(0,1fr) minmax(48px,84px);gap:12px}.entry-recorder{font-size:13px}}
