@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/atkinson-hyperlegible-next-latin-ext-400-normal-BalHKn7d.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-ext-400-normal-qxMiU51n.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/atkinson-hyperlegible-next-latin-400-normal-FfmJh7DR.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-400-normal-DPp7N0cD.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/atkinson-hyperlegible-next-latin-ext-600-normal-kZZEtAc7.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-ext-600-normal-BBAQIogt.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/atkinson-hyperlegible-next-latin-600-normal-BBuhw47K.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-600-normal-BhgCag5w.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/atkinson-hyperlegible-next-latin-ext-700-normal-CBw-mJf_.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-ext-700-normal-292QVhS1.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/atkinson-hyperlegible-next-latin-700-normal-Dpiyiu63.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-700-normal-C2qZD_Q9.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/atkinson-hyperlegible-next-latin-ext-800-normal-CCpWmrAz.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-ext-800-normal-DJxWoX6k.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/atkinson-hyperlegible-next-latin-800-normal-D32lleIF.woff2)format("woff2"),url(/assets/atkinson-hyperlegible-next-latin-800-normal-DtRtCSx4.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#ecf0f3;--surface:#fff;--surface-2:#f2f5f7;--ink:#13202b;--ink-2:#435260;--ink-3:#64737f;--line:#d3dbe1;--ibu:#b4470c;--ibu-fill:#ee7322;--ibu-soft:#fdeee3;--para:#0b66a1;--para-fill:#2a92da;--para-soft:#e4f0fa;--ibu-strong:#c2500c;--para-strong:#0d6fb2;--ok:#227335;--ok-dot:#2f9e44;--ok-soft:#e2f3e6;--warn:#8f5600;--warn-dot:#e5a000;--warn-soft:#fcf0d6;--hot:#b02424;--hot-dot:#e03131;--hot-soft:#fbe6e6;--hot-strong:#c3272b;--vhot:#8c1a1a;--scrim:#0a121a8c;--shadow:0 1px 2px #13202b0f, 0 6px 18px #13202b12;--toast-bg:#13202b;--toast-ink:#fff;--nav-h:56px;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1117;--surface:#141c25;--surface-2:#1b2531;--ink:#e6ecf1;--ink-2:#a8b5c1;--ink-3:#8292a1;--line:#273443;--ibu:#ff9f5e;--ibu-fill:#f27a26;--ibu-soft:#f27a2629;--para:#6bbaf3;--para-fill:#2e98e0;--para-soft:#2e98e02b;--ok:#6bd481;--ok-dot:#40c057;--ok-soft:#40c05726;--warn:#f6c453;--warn-dot:#f0b429;--warn-soft:#f0b42926;--hot:#ff8080;--hot-dot:#f03e3e;--hot-soft:#f03e3e29;--vhot:#ffb3b3;--scrim:#000000a6;--shadow:none;--toast-bg:#e6ecf1;--toast-ink:#0b1117}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1117;--surface:#141c25;--surface-2:#1b2531;--ink:#e6ecf1;--ink-2:#a8b5c1;--ink-3:#8292a1;--line:#273443;--ibu:#ff9f5e;--ibu-fill:#f27a26;--ibu-soft:#f27a2629;--para:#6bbaf3;--para-fill:#2e98e0;--para-soft:#2e98e02b;--ok:#6bd481;--ok-dot:#40c057;--ok-soft:#40c05726;--warn:#f6c453;--warn-dot:#f0b429;--warn-soft:#f0b42926;--hot:#ff8080;--hot-dot:#f03e3e;--hot-soft:#f03e3e29;--vhot:#ffb3b3;--scrim:#000000a6;--shadow:none;--toast-bg:#e6ecf1;--toast-ink:#0b1117}body[data-sub=ibuprofen]{--acc:var(--ibu);--acc-fill:var(--ibu-fill);--acc-soft:var(--ibu-soft);--acc-strong:var(--ibu-strong)}body[data-sub=paracetamol]{--acc:var(--para);--acc-fill:var(--para-fill);--acc-soft:var(--para-soft);--acc-strong:var(--para-strong)}*,:before,:after{box-sizing:inherit}html{background:var(--bg);scroll-padding-top:env(safe-area-inset-top,0px);-webkit-text-size-adjust:100%;overscroll-behavior-y:none}html:before{content:"";z-index:80;height:env(safe-area-inset-top,0px);background:var(--bg);pointer-events:none;position:fixed;top:0;left:0;right:0}body{background:var(--bg);color:var(--ink);-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none;margin:0;font-family:Atkinson Hyperlegible Next,Atkinson Hyperlegible,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.45;overflow-x:hidden}body.sheet-open{overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;margin:0;padding:0}input{font:inherit;color:inherit}h2,h3,p{margin:0}:focus-visible{outline:3px solid var(--acc);outline-offset:2px}[hidden]{display:none!important}.num{font-variant-numeric:tabular-nums}svg{display:block}.topbar{top:env(safe-area-inset-top,0px);z-index:30;background:var(--surface);border-bottom:1px solid var(--line);position:sticky}.child-bar{align-items:center;gap:8px;max-width:480px;margin:0 auto;display:flex}.chip-dot{background:var(--kid);border-radius:50%;flex:none;width:10px;height:10px}.icon-btn{background:var(--surface-2);border:1px solid var(--line);width:44px;height:44px;color:var(--ink-2);border-radius:12px;flex:none;place-items:center;font-size:20px;display:grid}.icon-btn[aria-pressed=true]{background:var(--ink);color:var(--surface);border-color:#0000}.icon-btn svg{width:22px;height:22px}.child-bar{gap:12px;padding:4px 12px 6px}.child-id{border-left:5px solid var(--kid);text-align:left;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;min-width:0;min-height:52px;padding:2px 0 2px 12px;display:flex}.child-name{align-items:center;gap:6px;max-width:100%;font-size:18px;font-weight:800;line-height:1.15;display:flex}.child-name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.child-name svg{width:16px;height:16px;color:var(--ink-3);flex:none}.child-meta{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:16px;overflow:hidden}.btn-switch{background:var(--surface-2);border:1px solid var(--line);height:48px;color:var(--ink);border-radius:14px;flex:none;padding:0 14px;font-size:16px;font-weight:800}main{max-width:480px;padding:10px 12px calc(var(--nav-h) + 28px);margin:0 auto}.view{flex-direction:column;gap:10px;display:flex}.section-title{font-size:18px;font-weight:800}.head-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px}.pad{padding:12px}.stack-12>*+*{margin-top:12px}.seg{background:var(--surface-2);border:1px solid var(--line);border-radius:16px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.seg-4{grid-template-columns:repeat(4,1fr)}.seg button{min-height:48px;color:var(--ink-2);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;padding:6px 4px;font-size:15px;font-weight:700;line-height:1.2;display:flex}.seg button small{color:var(--ink-3);font-size:14px;font-weight:600}.seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow);outline:2px solid var(--acc);outline-offset:-2px}.seg button[aria-pressed=true] small{color:var(--acc)}.seg-sub button{min-height:52px;font-size:18px;font-weight:800}.seg-sub button[aria-pressed=true]{background:var(--acc-strong);color:#fff;outline:none}.row{justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px;display:flex}.row+.row{border-top:1px solid var(--line)}.row-label{color:var(--ink-2);font-size:15px;font-weight:700}.stepper{align-items:center;gap:6px;display:flex}.step-btn{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;place-items:center;width:48px;height:48px;font-size:26px;font-weight:700;line-height:1;display:grid}.step-btn:active,.step-grid button:active{background:var(--line)}.num-field{border:2px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;gap:4px;width:126px;height:52px;padding:0 10px;display:flex}.num-field:focus-within{border-color:var(--acc)}.num-field input{text-align:right;font-variant-numeric:tabular-nums;background:0 0;border:0;outline:none;width:100%;min-width:0;height:100%;font-size:23px;font-weight:800}.num-field span{color:var(--ink-3);font-size:16px;font-weight:700}.drug-btn{text-align:left}.drug-text{flex-direction:column;flex:1;min-width:0;display:flex}.drug-name{overflow-wrap:anywhere;font-size:18px;font-weight:800;line-height:1.25}.drug-conc{color:var(--acc);font-size:16px;font-weight:700}.change-link{color:var(--acc);flex:none;align-items:center;gap:2px;font-size:16px;font-weight:700;display:inline-flex}.change-link svg{width:18px;height:18px}.row-seg{display:block}.warn-line{background:var(--hot-soft);color:var(--hot);border-radius:12px;margin:0 12px 12px;padding:10px 12px;font-size:16px;font-weight:700}.result{background:var(--surface);border:2px solid var(--acc-fill);box-shadow:var(--shadow);border-radius:22px;padding:12px}.result-label{color:var(--ink-2);font-size:15px;font-weight:700}.dose{flex-wrap:wrap;align-items:baseline;column-gap:8px;margin-top:2px;display:flex}.dose-ml{letter-spacing:-.02em;color:var(--acc);font-variant-numeric:tabular-nums;font-size:clamp(52px,18vw,72px);font-weight:800;line-height:1}.dose-unit{color:var(--acc);font-size:34px;font-weight:800}.dose-mg{color:var(--ink-2);margin-left:4px;font-size:19px;font-weight:700}.syringe{background:var(--surface-2);border-radius:14px;margin-top:12px;padding:8px 6px 6px}.syringe svg{width:100%;height:auto}.syringe-caption{text-align:center;color:var(--ink-3);font-size:14px;font-weight:600}.prompt{background:var(--warn-soft);color:var(--warn);border-radius:12px;margin-top:10px;padding:10px 12px;font-size:16px;font-weight:600}.prompt strong{font-weight:800}.facts{margin:12px 0 0}.facts>div{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;display:flex}.facts dt{color:var(--ink-2);flex:none;font-size:16px}.facts dd{text-align:right;margin:0;font-size:15px;font-weight:700}.dd-sub{color:var(--ink-2);font-size:15px;font-weight:600;display:block}.view>.btn-primary{margin-top:0}.btn-primary{background:var(--acc-strong);color:#fff;border-radius:16px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:56px;margin-top:14px;font-size:18px;font-weight:800;display:flex}.btn-primary svg{width:22px;height:22px}.btn-primary:active,.btn-switch:active,.child-picker-item:active,.icon-btn:active,.step-btn:active{transform:scale(.97)}.btn-hot{background:var(--hot-strong)}.syr-metal{fill:var(--ink-3)}.syr-shoulder{fill:var(--ink-2)}.syr-barrel{fill:var(--surface);stroke:var(--ink-3);stroke-width:2px}.syr-liquid{fill:var(--acc-fill);opacity:.92;transition:width .35s cubic-bezier(.4,0,.2,1),x .35s cubic-bezier(.4,0,.2,1)}.syr-stopper{fill:var(--ink);stroke:var(--acc-fill);stroke-width:1.5px;transition:x .35s cubic-bezier(.4,0,.2,1)}.syr-rod{fill:var(--line)}.syr-handle{fill:var(--ink-3)}.syr-plunger{transition:transform .35s cubic-bezier(.4,0,.2,1)}.syr-tick{stroke:var(--ink-2);stroke-width:1px}.syr-tick.major{stroke-width:1.8px}.syr-num{fill:var(--ink-2);text-anchor:middle;font-size:13px;font-weight:700}.syr-target{stroke:var(--warn-dot);stroke-width:2.5px;stroke-dasharray:4 3}.btn-sm{border-radius:12px;flex:none;align-items:center;gap:6px;min-height:44px;padding:0 14px;font-size:16px;font-weight:800;display:inline-flex}.btn-sm.hot{background:var(--hot-strong);color:#fff}.btn-sm.ghost{background:var(--surface-2);border:1px solid var(--line);color:var(--hot)}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat{background:var(--surface-2);border-radius:14px;padding:10px 12px}.stat-label{color:var(--ink-2);font-size:14px;font-weight:600;display:block}.stat-value{font-variant-numeric:tabular-nums;font-size:18px;font-weight:800;display:block}.chart{background:var(--surface-2);border-radius:14px;padding:4px;overflow:hidden}.chart svg{width:100%;height:auto}.ch-grid{stroke:var(--line);stroke-width:1px}.ch-time{stroke:var(--line);stroke-width:1px;stroke-dasharray:2 3}.ch-axis{fill:var(--ink-3);font-size:11px;font-weight:600}.ch-fever{stroke:var(--hot-dot);stroke-width:1.5px;stroke-dasharray:5 4}.ch-fever-label{fill:var(--hot);font-weight:800}.ch-line{fill:none;stroke:var(--hot-dot);stroke-width:2.4px;stroke-linejoin:round;stroke-linecap:round}.ch-pt{stroke:var(--surface);stroke-width:2px}.ch-pt.ok{fill:var(--ok-dot)}.ch-pt.warn{fill:var(--warn-dot)}.ch-pt.hot{fill:var(--hot-dot)}.ch-pt.vhot{fill:var(--vhot)}.ch-pt-label{text-anchor:middle;font-size:12px;font-weight:800}.ch-pt-label.ok{fill:var(--ok)}.ch-pt-label.warn{fill:var(--warn)}.ch-pt-label.hot,.ch-pt-label.vhot{fill:var(--hot)}.ch-med.ibu{stroke:var(--ibu-fill)}.ch-med.para{stroke:var(--para-fill)}.ch-med{stroke-width:1.6px;stroke-dasharray:3 3}.ch-tag rect{fill:var(--surface);stroke-width:1.5px}.ch-tag.ibu rect{stroke:var(--ibu-fill)}.ch-tag.para rect{stroke:var(--para-fill)}.ch-tag text{text-anchor:middle;font-size:11px;font-weight:800}.ch-tag.ibu text{fill:var(--ibu)}.ch-tag.para text{fill:var(--para)}.ch-empty{fill:var(--ink-3);text-anchor:middle;font-size:13px;font-weight:600}.legend{color:var(--ink-2);flex-wrap:wrap;gap:6px 14px;font-size:14px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.lg-dot{border-radius:50%;width:10px;height:10px}.lg-bar{border-radius:2px;width:4px;height:14px}.link-btn{min-height:44px;color:var(--para);text-underline-offset:3px;font-size:16px;font-weight:700;text-decoration:underline}.list{flex-direction:column;gap:8px;display:flex}.item{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;min-height:68px;padding:10px 6px 10px 12px;display:flex}.item-badge{font-variant-numeric:tabular-nums;border-radius:12px;flex:none;place-items:center;min-width:64px;height:46px;padding:0 6px;font-size:19px;font-weight:800;display:grid}.item-badge.ok{background:var(--ok-soft);color:var(--ok)}.item-badge.warn{background:var(--warn-soft);color:var(--warn)}.item-badge.hot{background:var(--hot-soft);color:var(--hot)}.item-badge.vhot{background:var(--hot-strong);color:#fff}.item-badge.ibu{background:var(--ibu-soft);color:var(--ibu);font-size:16px}.item-badge.para{background:var(--para-soft);color:var(--para);font-size:16px}.item-main{flex:1;min-width:0}.item-title{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:800;overflow:hidden}.item-title .muted{color:var(--ink-2);font-weight:600}.item-sub{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.del-btn{width:44px;height:44px;color:var(--ink-3);border-radius:12px;flex:none;place-items:center;display:grid}.del-btn svg{width:20px;height:20px}.del-btn:active{background:var(--hot-soft);color:var(--hot)}.empty{text-align:center;color:var(--ink-2);background:var(--surface);border:1px dashed var(--line);border-radius:16px;padding:18px 12px;font-size:16px}.timer{background:var(--surface);border:1px solid var(--line);border-left:6px solid var(--tc);border-radius:18px;padding:12px 12px 10px}.timer[data-sub=ibuprofen]{--tc:var(--ibu-fill);--tt:var(--ibu)}.timer[data-sub=paracetamol]{--tc:var(--para-fill);--tt:var(--para)}.timer-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.timer-name{color:var(--tt);font-size:18px;font-weight:800}.timer-rule{color:var(--ink-3);font-size:14px;font-weight:600}.timer-status{font-variant-numeric:tabular-nums;margin-top:2px;font-size:28px;font-weight:800;line-height:1.15}.timer[data-state=ready] .timer-status{color:var(--ok)}.timer[data-state=wait] .timer-status{color:var(--warn)}.timer-sub{color:var(--ink-2);margin-top:2px;font-size:15px}.timer-usage{color:var(--ink-2);margin:8px 0 0;font-size:15px;font-weight:700}.usage-lines{flex-direction:column;gap:6px;margin-top:14px;display:flex}.usage-line{color:var(--ink-2);flex-wrap:wrap;gap:6px;margin:0;font-size:15px;font-weight:700;display:flex}.usage-drug{color:var(--ink);font-weight:800}.tip{background:var(--surface);border:1px solid var(--line);border-radius:16px}.tip summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:52px;padding:0 12px;font-size:15px;font-weight:700;list-style:none;display:flex}.tip summary::-webkit-details-marker{display:none}.tip summary:after{content:"+";color:var(--ink-3);font-size:24px;font-weight:600}.tip[open] summary:after{content:"−"}.tip p{color:var(--ink-2);padding:0 12px 10px;font-size:16px}.sos{background:var(--hot-soft);border:1px solid var(--hot-dot);border-radius:20px;padding:12px}.sos h2{color:var(--hot);font-size:18px;font-weight:800}.sos ul{flex-direction:column;gap:8px;margin:10px 0 0;padding-left:20px;font-size:16px;display:flex}.sos li::marker{color:var(--hot)}.btn-call{background:var(--hot-strong);color:#fff;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;margin-top:14px;font-size:18px;font-weight:800;text-decoration:none;display:flex}.text-input{border:2px solid var(--line);background:var(--surface);width:100%;height:52px;color:var(--ink);border-radius:14px;padding:0 14px;font-size:18px}.text-input::placeholder{color:var(--ink-3)}.text-input:focus{border-color:var(--acc);outline:none}.group-title{color:var(--ink-2);margin:6px 0 -2px;font-size:16px;font-weight:800}.med{background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--mc);border-radius:14px;padding:10px}.med[data-sub=ibuprofen]{--mc:var(--ibu-fill);--mt:var(--ibu)}.med[data-sub=paracetamol]{--mc:var(--para-fill);--mt:var(--para)}.med-name{font-size:15px;font-weight:800}.med-conc{color:var(--mt);font-size:16px;font-weight:700}.med-meta{color:var(--ink-2);font-size:15px}.tabbar{z-index:40;background:var(--surface);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px);position:fixed;bottom:0;left:0;right:0}.tabbar-inner{max-width:480px;height:var(--nav-h);grid-template-columns:repeat(4,1fr);margin:0 auto;display:grid}.tab{color:var(--ink-3);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:13px;font-weight:700;display:flex;position:relative}.tab svg{width:24px;height:24px}.tab[aria-current=page]{color:var(--acc)}.tab[aria-current=page]:before{content:"";background:var(--acc);border-radius:0 0 3px 3px;height:3px;position:absolute;top:0;left:28%;right:28%}.badge-dot{background:var(--ok-dot);border:2px solid var(--surface);border-radius:50%;width:10px;height:10px;position:absolute;top:9px;left:calc(50% + 9px)}.sheet{z-index:50;background:var(--scrim);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-panel{overscroll-behavior:contain;background:var(--surface);width:100%;max-width:480px;max-height:90dvh;padding:6px 12px calc(20px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;animation:.22s ease-out sheet-up;overflow-y:auto}.sheet.sheet-full{background:var(--surface)}.sheet-panel.sheet-panel-full{width:auto;max-width:none;height:auto;max-height:none;padding:calc(12px + env(safe-area-inset-top,0px)) 12px calc(20px + env(safe-area-inset-bottom,0px));border-radius:0;animation:none;position:absolute;inset:0}.child-picker-list{flex-direction:column;gap:8px;display:flex}.child-picker-item{border:1px solid var(--line);background:var(--surface-2);text-align:left;border-radius:16px;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px;font-size:18px;font-weight:800;display:flex}.child-picker-item[aria-pressed=true]{border:2px solid var(--kid);background:var(--surface)}.child-picker-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.child-picker-weight{color:var(--ink-2);flex:none;margin-left:auto;font-size:16px;font-weight:700}.sheet-grip{background:var(--line);border-radius:3px;width:40px;height:5px;margin:4px auto 6px}.sheet-head{justify-content:space-between;align-items:center;gap:12px;padding:4px 0 10px;display:flex}.sheet-head h3{font-size:18px;font-weight:800}.sheet-sub{color:var(--ink-2);font-size:15px}.disclaimer-copy{flex-direction:column;gap:12px;display:flex}.close-btn{background:var(--surface-2);width:44px;height:44px;color:var(--ink-2);border-radius:50%;flex:none;place-items:center;display:grid}.close-btn svg{width:20px;height:20px}.sheet-sticky{z-index:1;background:var(--surface);padding-bottom:10px;position:sticky;top:-6px}.field{margin-top:16px;display:block}.field-label{color:var(--ink-2);margin-bottom:6px;font-size:15px;font-weight:700;display:block}.field-label.is-invalid{color:var(--hot)}.text-input.is-invalid,.num-field.is-invalid,.text-input.is-invalid:focus,.num-field.is-invalid:focus-within{border-color:var(--hot)}.big-temp{text-align:center;font-variant-numeric:tabular-nums;padding:4px 0 10px;font-weight:800;line-height:1}.big-temp #feverDisplayNumber{letter-spacing:-.02em;font-size:72px}.big-temp-unit{margin-left:2px;font-size:32px}.big-temp.ok{color:var(--ok)}.big-temp.warn{color:var(--warn)}.big-temp.hot,.big-temp.vhot{color:var(--hot)}.step-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.step-grid button{background:var(--surface-2);border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:14px;height:52px;font-size:18px;font-weight:800}input[type=range]{appearance:none;background:0 0;width:100%;height:40px;margin:8px 0 0}input[type=range]::-webkit-slider-runnable-track{background:var(--line);border-radius:4px;height:8px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--hot-strong);border:3px solid var(--surface);border-radius:50%;width:30px;height:30px;margin-top:-11px;box-shadow:0 1px 4px #0000004d}input[type=range]::-moz-range-track{background:var(--line);border-radius:4px;height:8px}input[type=range]::-moz-range-thumb{background:var(--hot-strong);border:3px solid var(--surface);border-radius:50%;width:24px;height:24px}.item:has(.time-edit){align-items:flex-start}.time-edit{flex:1 0 100%;min-width:0}.time-edit .warn-line,.dose-save .warn-line{margin:12px 0 0}.time-edit .btn-row{margin-top:10px}.dt-field{border:0;min-inline-size:0;margin:12px 0 0;padding:0}.dt-field legend{padding:0}.dt-controls{align-items:center;gap:8px;display:flex}.dt-controls input[type=datetime-local]{border:2px solid var(--line);background:var(--surface);width:100%;min-width:0;height:44px;color:var(--ink);font:inherit;font-variant-numeric:tabular-nums;border-radius:12px;flex:auto;padding:0 8px}.dt-now{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;min-height:44px;padding:0 14px;font-weight:800}.swatches{flex-wrap:wrap;gap:12px;display:flex}.swatch{background:var(--sw);border-radius:50%;width:44px;height:44px}.swatch[aria-pressed=true]{box-shadow:0 0 0 3px var(--surface), 0 0 0 6px var(--sw)}.btn-row{gap:10px;margin-top:20px;display:flex}.btn-row .btn-primary{flex:1;margin-top:0}.btn-secondary{background:var(--surface-2);border:1px solid var(--line);border-radius:16px;min-height:56px;padding:0 18px;font-size:15px;font-weight:700}.btn-danger{color:var(--hot)}.drug-item{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:14px;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px;display:flex}.drug-item+.drug-item{margin-top:8px}.drug-item[aria-pressed=true]{border:2px solid var(--acc-fill);background:var(--acc-soft)}.drug-item .check{width:24px;height:24px;color:var(--acc);flex:none}.dialog{align-items:center;padding:12px}.dialog-card{background:var(--surface);text-align:center;border-radius:22px;width:100%;max-width:360px;padding:20px;animation:.18s ease-out sheet-up}.dialog-card h4{margin:0;font-size:18px;font-weight:800}.dialog-card p{color:var(--ink-2);margin-top:6px;font-size:16px}.dialog-card .btn-row{margin-top:18px}.dialog-card .btn-row>*{flex:1}.btn-delete{background:var(--hot-strong);color:#fff;border-radius:14px;min-height:52px;font-size:15px;font-weight:800}.dialog-card .btn-secondary{min-height:52px}.settings-install{flex-direction:column;gap:12px;padding-bottom:8px;font-size:16px;display:flex}.settings-install p{color:var(--ink-2)}.settings-appearance{flex-direction:column;gap:8px;display:flex}.settings-heading{color:var(--ink-2);margin:0;font-size:15px;font-weight:800}.settings-row{border:1px solid var(--line);background:var(--surface-2);width:100%;min-height:48px;color:var(--ink);font:inherit;text-align:left;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;font-weight:700;display:flex}.settings-row[aria-pressed=true]{border-color:var(--ink)}.item-author{color:var(--ink-3);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.pull-refresh{overscroll-behavior:contain}.pull-indicator{color:var(--ink);justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex;overflow:hidden}.pull-chevron{border-bottom:2px solid;border-right:2px solid;flex:none;width:10px;height:10px;transform:rotate(45deg)}.pull-chevron[data-ready=true]{transform:rotate(225deg)}.sync-chrome{flex-direction:column;gap:2px;padding:0;display:flex}.sync-chrome .btn-primary{border-radius:16px;width:100%;min-height:56px;margin-top:0;font-size:18px;font-weight:800}.sync-meta{color:var(--ink-2);font-variant-numeric:tabular-nums;margin:0;font-size:13px}.sync-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite sync-spin;display:inline-block}@keyframes sync-spin{to{transform:rotate(360deg)}}.btn-primary:disabled,.btn-secondary:disabled{opacity:.45}.google-sign-in-slot{position:relative}.google-sign-in{margin-top:14px;background:0 0;border-radius:999px;width:280px;max-width:100%;margin-inline:auto;overflow:hidden}.google-sign-in.google-sign-in-ready{max-height:72px}.google-sign-in:not(.google-sign-in-ready){opacity:0;pointer-events:none;width:280px;max-width:100%;position:absolute;top:14px;left:0;right:0;overflow:hidden}.login-status{justify-content:center;align-items:center;gap:8px;margin-top:14px;font-weight:700;display:flex}.google-login-pending .google-sign-in.google-sign-in-ready{pointer-events:none;opacity:.45}.consent{align-items:flex-start;gap:10px;margin-top:16px;font-size:15px;line-height:1.4;display:flex}.consent input{flex:none;width:22px;height:22px;margin-top:2px}.consent-links{margin:8px 0 0;font-size:14px}.consent-links a{color:var(--ink);font-weight:700}.settings-links{flex-direction:column;gap:8px;display:flex}.settings-link{border:1px solid var(--line);background:var(--surface-2);min-height:48px;color:var(--ink);border-radius:14px;align-items:center;padding:0 14px;font-weight:700;text-decoration:none;display:flex}.share-choices,.share-actions,.share-household{flex-direction:column;gap:8px;display:flex}.share-choices .btn-secondary,.share-actions .btn-secondary{width:100%}.share-choices .btn-secondary{color:var(--ink)}.share-choices .btn-secondary[aria-pressed=true]{background:var(--acc-strong);color:#fff;border-color:#0000}.invite-row{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;align-items:stretch;gap:10px;padding:12px;display:flex}.invite-code{letter-spacing:.12em;font-variant-numeric:tabular-nums;color:var(--ink);font-size:24px;font-weight:800;line-height:1.2}.invite-actions{flex-wrap:wrap;gap:8px;display:flex}.invite-actions .btn-sm{text-align:center;white-space:nowrap;flex:1 1 0;justify-content:center;min-width:0;padding-inline:6px}.btn-share{background:var(--para-strong);color:#fff;border-color:#0000}.btn-destroy{background:var(--hot-strong);color:#fff;border-color:#0000}.btn-quiet,.btn-copy{background:var(--surface-2);border:1px solid var(--line);color:var(--ink)}.share-actions>.btn-share,.share-actions>.btn-secondary{width:100%}.share-actions>.btn-share{border-radius:16px;justify-content:center;align-items:center;min-height:56px;padding:0 18px;font-size:18px;font-weight:800;display:flex}.household-name-row{align-items:center;gap:8px;display:flex}.household-name-row .text-input{flex:auto;width:auto;min-width:0}.household-name-row .text-input[readonly]{background:var(--surface-2)}.household-name-row .text-input[readonly]:focus{border-color:var(--line)}.household-name-edit{background:var(--surface-2);border:2px solid var(--line);width:52px;height:52px;color:var(--ink-2);border-radius:14px;flex:none;place-items:center;display:grid}.household-name-edit svg{width:20px;height:20px}.settings-separator{background:var(--line);border:0;flex:none;height:1px;margin:4px 0}.share-household>.btn-secondary{width:100%;color:var(--ink)}.btn-secondary.btn-destroy{background:var(--hot-strong);color:#fff;border-color:#0000}.member-actions{flex:none;gap:8px;display:flex}.install-offer{width:min(448px,100% - 24px);left:50%;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 76px);z-index:45;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:10px;padding:12px 10px;display:flex;position:fixed;transform:translate(-50%)}.install-offer p{font-size:15px;font-weight:700}.install-offer-actions{gap:8px;display:flex}.install-offer .btn-primary,.install-offer .btn-secondary{flex:1;width:auto;min-height:48px;margin-top:0}.storage-note{width:min(448px,100% - 24px);left:50%;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 14px);z-index:46;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:10px;padding:12px 10px;display:flex;position:fixed;transform:translate(-50%)}.storage-note p{font-size:15px;font-weight:700}.storage-note-actions{gap:8px;display:flex}.storage-note .btn-primary{flex:1;width:auto;min-height:48px;margin-top:0}.toast{z-index:60;left:50%;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 14px);background:var(--toast-bg);max-width:calc(100% - 32px);color:var(--toast-ink);white-space:nowrap;text-overflow:ellipsis;opacity:0;pointer-events:none;border-radius:999px;align-items:center;gap:8px;padding:12px 18px;font-size:16px;font-weight:700;transition:opacity .25s;display:flex;position:fixed;overflow:hidden;transform:translate(-50%)}.toast.show{opacity:1}.toast.update-prompt{pointer-events:auto;white-space:normal;text-overflow:unset;overflow:visible}body.sheet-open .toast{bottom:auto;top:calc(env(safe-area-inset-top,0px) + 12px)}.toast span:last-child{text-overflow:ellipsis;overflow:hidden}@keyframes sheet-up{0%{opacity:.4;transform:translateY(28px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (width<=359px){.num-field{width:110px}.num-field input{font-size:21px}.invite-actions .btn-sm{padding-inline:4px;font-size:14px}}
