@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;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-semibold:600;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--app-font-sans);--default-mono-font-family:var(--app-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;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}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));font-family:var(--app-font-sans);color:hsl(var(--foreground));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-2{margin:calc(var(--spacing) * 2)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.table{display:table}.min-h-screen{min-height:100vh}.w-1{width:var(--spacing)}.w-2{width:calc(var(--spacing) * 2)}.w-full{width:100%}.max-w-lg{max-width:var(--container-lg)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-900{background-color:var(--color-gray-900)}.p-3{padding:calc(var(--spacing) * 3)}.p-6{padding:calc(var(--spacing) * 6)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-left{text-align:left}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-gray-600{color:var(--color-gray-600)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-white{color:var(--color-white)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.paused{animation-play-state:paused}.running{animation-play-state:running}@media(hover:hover){.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}}input[type=search]::-webkit-search-cancel-button{display:none}[contenteditable][data-placeholder]:empty:before{content:attr(data-placeholder);color:hsl(var(--muted-foreground));pointer-events:none}.toggle-elevate:before,.toggle-elevate-2:before{content:"";pointer-events:none;border-radius:inherit;z-index:-1;position:absolute;inset:0}.toggle-elevate.toggle-elevated:before{background-color:var(--elevate-2)}.border.toggle-elevate:before{inset:-1px}.hover-elevate:not(.no-default-hover-elevate),.active-elevate:not(.no-default-active-elevate),.hover-elevate-2:not(.no-default-hover-elevate),.active-elevate-2:not(.no-default-active-elevate){z-index:0;position:relative}.hover-elevate:not(.no-default-hover-elevate):after,.active-elevate:not(.no-default-active-elevate):after,.hover-elevate-2:not(.no-default-hover-elevate):after,.active-elevate-2:not(.no-default-active-elevate):after{content:"";pointer-events:none;border-radius:inherit;z-index:999;position:absolute;inset:0}.hover-elevate:hover:not(.no-default-hover-elevate):after,.active-elevate:active:not(.no-default-active-elevate):after{background-color:var(--elevate-1)}.hover-elevate-2:hover:not(.no-default-hover-elevate):after,.active-elevate-2:active:not(.no-default-active-elevate):after{background-color:var(--elevate-2)}.border.hover-elevate:not(.no-hover-interaction-elevate):after,.border.active-elevate:not(.no-active-interaction-elevate):after,.border.hover-elevate-2:not(.no-hover-interaction-elevate):after,.border.active-elevate-2:not(.no-active-interaction-elevate):after{inset:-1px}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--button-outline:#0000001a;--badge-outline:#0000000d;--opaque-button-border-intensity:-8;--elevate-1:#00000008;--elevate-2:#00000014;--background:210 38% 97%;--foreground:218 28% 19%;--border:213 28% 88%;--card:0 0% 100%;--card-foreground:218 28% 19%;--card-border:213 28% 90%;--sidebar:210 35% 95%;--sidebar-foreground:218 28% 19%;--sidebar-border:213 28% 88%;--sidebar-primary:215 75% 48%;--sidebar-primary-foreground:0 0% 100%;--sidebar-accent:211 45% 90%;--sidebar-accent-foreground:218 28% 19%;--sidebar-ring:215 75% 48%;--popover:0 0% 100%;--popover-foreground:218 28% 19%;--popover-border:213 28% 88%;--primary:215 75% 48%;--primary-foreground:0 0% 100%;--secondary:210 34% 93%;--secondary-foreground:218 28% 22%;--muted:210 32% 94%;--muted-foreground:215 13% 46%;--accent:163 39% 91%;--accent-foreground:164 41% 27%;--destructive:2 64% 51%;--destructive-foreground:0 0% 100%;--input:213 23% 84%;--ring:215 75% 48%;--chart-1:215 75% 48%;--chart-2:161 43% 39%;--chart-3:34 76% 55%;--chart-4:275 40% 58%;--chart-5:5 66% 61%;--app-font-sans:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--app-font-serif:Georgia, "Times New Roman", serif;--app-font-mono:ui-monospace, "SFMono-Regular", Consolas, monospace;--radius:.5rem;--shadow-2xs:0px 2px 0px 0px #1da1f200;--shadow-xs:0px 2px 0px 0px #1da1f200;--shadow-sm:0px 2px 0px 0px #1da1f200, 0px 1px 2px -1px #1da1f200;--shadow:0px 2px 0px 0px #1da1f200, 0px 1px 2px -1px #1da1f200;--shadow-md:0px 2px 0px 0px #1da1f200, 0px 2px 4px -1px #1da1f200;--shadow-lg:0px 2px 0px 0px #1da1f200, 0px 4px 6px -1px #1da1f200;--shadow-xl:0px 2px 0px 0px #1da1f200, 0px 8px 10px -1px #1da1f200;--shadow-2xl:0px 2px 0px 0px #1da1f200;--tracking-normal:0em;--spacing:.25rem;--sidebar-primary-border:hsl(from hsl(var(--sidebar-primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha);--sidebar-accent-border:hsl(from hsl(var(--sidebar-accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha);--primary-border:hsl(from hsl(var(--primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha);--secondary-border:hsl(from hsl(var(--secondary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha);--muted-border:hsl(from hsl(var(--muted)) h s calc(l + var(--opaque-button-border-intensity)) / alpha);--accent-border:hsl(from hsl(var(--accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha);--destructive-border:hsl(from hsl(var(--destructive)) h s calc(l + var(--opaque-button-border-intensity)) / alpha)}.dark{--button-outline:#ffffff1a;--badge-outline:#ffffff0d;--opaque-button-border-intensity:9;--elevate-1:#ffffff0a;--elevate-2:#ffffff17;--background:218 28% 14%;--foreground:210 30% 92%;--border:215 20% 27%;--card:218 25% 18%;--card-foreground:210 30% 92%;--card-border:215 20% 27%;--sidebar:218 25% 17%;--sidebar-foreground:210 30% 92%;--sidebar-border:215 20% 27%;--sidebar-primary:213 75% 63%;--sidebar-primary-foreground:218 28% 14%;--sidebar-accent:215 22% 24%;--sidebar-accent-foreground:210 30% 92%;--sidebar-ring:213 75% 63%;--popover:218 25% 18%;--popover-foreground:210 30% 92%;--popover-border:215 20% 27%;--primary:213 75% 63%;--primary-foreground:218 28% 14%;--secondary:215 22% 24%;--secondary-foreground:210 30% 92%;--muted:215 22% 24%;--muted-foreground:213 15% 68%;--accent:162 32% 26%;--accent-foreground:158 39% 83%;--destructive:2 62% 58%;--destructive-foreground:0 0% 100%;--input:215 20% 30%;--ring:213 75% 63%;--chart-1:213 75% 63%;--chart-2:161 43% 59%;--chart-3:34 76% 65%;--chart-4:275 40% 68%;--chart-5:5 66% 68%;--shadow-2xs:0px 2px 0px 0px #1da1f200;--shadow-xs:0px 2px 0px 0px #1da1f200;--shadow-sm:0px 2px 0px 0px #1da1f200, 0px 1px 2px -1px #1da1f200;--shadow:0px 2px 0px 0px #1da1f200, 0px 1px 2px -1px #1da1f200;--shadow-md:0px 2px 0px 0px #1da1f200, 0px 2px 4px -1px #1da1f200;--shadow-lg:0px 2px 0px 0px #1da1f200, 0px 4px 6px -1px #1da1f200;--shadow-xl:0px 2px 0px 0px #1da1f200, 0px 8px 10px -1px #1da1f200;--shadow-2xl:0px 2px 0px 0px #1da1f200}:root{color-scheme:light;--radius:14px}*{box-sizing:border-box}body{min-width:320px;font-family:var(--app-font-sans);background:#f3f7fa;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #77a8e8}.app-shell{min-height:100dvh;padding-bottom:76px}.topbar{background:#fff;border-bottom:1px solid #e1eaf1}.topbar-inner{justify-content:space-between;align-items:center;gap:20px;max-width:1120px;margin:auto;padding:15px 24px;display:flex}.brand{color:inherit;align-items:center;gap:11px;text-decoration:none;display:flex}.brand-mark{color:#2763b7;background:#e8f1fc;border-radius:12px;place-items:center;width:36px;height:36px;display:grid}.brand-name{letter-spacing:-.45px;font-size:19px;font-weight:700;line-height:1.05;display:block}.brand-sub{color:#586d82;letter-spacing:.01em;margin-top:4px;font-size:12px;display:block}.top-meta{color:#738196;font-size:13px}.desktop-nav{align-items:center;gap:5px;display:flex}.nav-link{color:#65758a;border-radius:10px;align-items:center;gap:8px;padding:9px 13px;font-size:13px;font-weight:600;text-decoration:none;transition:background .18s,color .18s;display:flex}.nav-link:hover,.nav-link.active{color:#225eaf;background:#edf4fc}.main-content{max-width:1120px;margin:0 auto;padding:26px 24px 36px}.page-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px;display:flex}.eyebrow{color:#637b97;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:700}h1,h2,h3,p{margin-top:0}h1{font-family:var(--app-font-serif);letter-spacing:-.04em;color:#203550;margin:5px 0 0;font-size:29px;font-weight:600;line-height:1.1}h2{letter-spacing:-.02em;color:#243950;margin:0;font-size:17px}h3{color:#31485e;margin:0;font-size:14px}.subtle{color:#718096;font-size:13px}.today-grid{grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);align-items:start;gap:16px;display:grid}.stack{gap:14px;display:grid}.card{background:#fff;border:1px solid #e4ebf1;border-radius:16px;padding:18px;box-shadow:0 3px 12px #22415e09}.card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.card-title{align-items:center;gap:9px;display:flex}.icon-wash{color:#316bb5;background:#eff5fc;border-radius:10px;place-items:center;width:30px;height:30px;display:grid}.dose-list{gap:8px;display:grid}.dose-row{background:#f8fafc;border:1px solid #edf1f5;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;display:flex}.dose-main{align-items:center;gap:10px;min-width:0;display:flex}.dose-check{color:#fff;background:#fff;border:1px solid #bdcbd9;border-radius:10px;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.dose-label{color:#334b63;font-size:13px;font-weight:650}.dose-detail{color:#7b8999;margin-top:2px;font-size:11px}.tag{color:#427b65;white-space:nowrap;background:#edf5f1;border-radius:999px;align-items:center;gap:5px;padding:5px 9px;font-size:11px;font-weight:650;display:inline-flex}.tag.neutral{color:#768292;background:#f0f3f6}.metric-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.metric-card{background:#f9fbfd;border:1px solid #e8eff5;border-radius:13px;min-width:0;padding:13px}.metric-head{justify-content:space-between;align-items:center;gap:5px;margin-bottom:14px;display:flex}.metric-value{font-family:var(--app-font-mono);letter-spacing:-.06em;color:#263e58;font-size:22px;font-weight:500;line-height:1.2}.metric-unit{color:#75859a;margin-left:5px;font-size:11px}.metric-time{color:#8190a0;margin-top:6px;font-size:11px}.metric-empty{color:#8794a2;padding:10px 0 8px;font-size:13px}.button{color:#fff;background:#2d69b8;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:9px 13px;font-size:13px;font-weight:650;text-decoration:none;transition:background .15s,transform .15s;display:inline-flex}.button:active{transform:translateY(1px)}.button.secondary{color:#315e91;background:#edf4fb;border:1px solid #dbe8f5}.button.ghost{color:#63768b;background:0 0}.button.danger{color:#fff;background:#b84d49}.button.small{min-height:44px;padding:6px 10px;font-size:12px}.button.full{width:100%}.button-row{flex-wrap:wrap;gap:8px;display:flex}.note-box{resize:vertical;width:100%;min-height:74px}.field-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field{gap:5px;min-width:0;display:grid}.field.wide{grid-column:1/-1}.field label{color:#455a70;font-size:12px;font-weight:650}.field input,.field select,.field textarea,.control{color:#2d4054;background:#fff;border:1px solid #dce5ed;border-radius:9px;width:100%;height:40px;padding:8px 10px;font-size:13px}.field textarea{height:auto;min-height:76px}.field-help{color:#8190a0;font-size:11px}.error-text{color:#a73e3b;margin:0;font-size:12px}.form-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.modal-backdrop{z-index:40;background:#1a2e446b;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:18px;width:min(100%,520px);max-height:calc(100dvh - 32px);padding:20px;overflow:auto;box-shadow:0 22px 70px #192f4640}.modal-head{justify-content:space-between;align-items:start;gap:12px;margin-bottom:17px;display:flex}.close-button{color:#5f7286;background:#f0f4f7;border:0;border-radius:9px;place-items:center;width:44px;height:44px;display:grid}.section-divider{border:0;border-top:1px solid #edf1f4;margin:14px 0}.note-status{color:#688370;align-items:center;gap:6px;font-size:11px;display:flex}.history-layout{grid-template-columns:1fr;gap:14px;display:grid}.filter-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-pill{color:#526579;background:#fff;border:1px solid #dfe8ef;border-radius:999px;min-height:44px;padding:6px 11px;font-size:12px}.filter-pill.selected{color:#265f9f;background:#eaf2fb;border-color:#bfd5ed;font-weight:650}.chart-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.chart-wrap{width:100%;overflow:hidden}.chart-svg{width:100%;height:180px;display:block;overflow:visible}.legend{color:#718096;flex-wrap:wrap;gap:13px;margin-top:2px;font-size:11px;display:flex}.legend-item{align-items:center;gap:6px;display:flex}.legend-dot{background:#3974bd;border-radius:50%;width:8px;height:8px}.legend-dot.green{background:#4b9278}.data-list{gap:0;margin-top:10px;display:grid}.data-row{border-top:1px solid #edf1f4;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.data-row:first-child{border-top:0}.data-copy{min-width:0}.data-copy strong{color:#344a60;font-size:13px;display:block}.data-copy span{color:#526579;overflow-wrap:anywhere;margin-top:3px;font-size:12px;display:block}.row-actions{flex:none;align-items:center;gap:4px;display:flex}.icon-button{color:#728196;background:0 0;border:0;border-radius:9px;place-items:center;width:44px;height:44px;display:grid}.app-shell :is(.subtle,.dose-detail,.field-help,.metric-time,.metric-empty,.note-status,.top-meta,.bottom-link,.nav-link,.legend-item),.app-shell .tag.neutral{color:#526579}.chart-svg text{fill:#526579}.empty-state{text-align:center;color:#758498;padding:24px 12px;font-size:13px}.empty-icon{color:#4e78a6;background:#eff5fb;border-radius:13px;place-items:center;width:38px;height:38px;margin:0 auto 10px;display:grid}.settings-grid{grid-template-columns:1fr 1fr;align-items:start;gap:14px;display:grid}.med-setting{border-top:1px solid #edf1f4;grid-template-columns:minmax(0,1fr) 120px 44px;align-items:end;gap:8px;padding:10px 0;display:grid}.status-callout{color:#697b8e;background:#f2f6f9;border-radius:11px;padding:11px 12px;font-size:12px;line-height:1.5}.danger-zone{background:#fff9f8;border:1px solid #f1d6d4;border-radius:12px;padding:13px}.privacy-note{color:#607489;background:#f4f8fb;border-radius:11px;gap:9px;padding:12px;font-size:12px;line-height:1.5;display:flex}.bottom-nav{z-index:20;padding:6px max(12px,var(--safe-area-inset-left,env(safe-area-inset-left))) calc(6px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-top:1px solid #e1e9ef;display:none;position:fixed;bottom:0;left:0;right:0}.bottom-nav-inner{grid-template-columns:repeat(4,1fr);max-width:480px;margin:auto;display:grid}.bottom-link{color:#738196;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:5px;font-size:10px;text-decoration:none;display:flex}.bottom-link.active{color:#2a65ad;font-weight:700}.toast-message{color:#fff;z-index:60;background:#263e58;border-radius:10px;max-width:calc(100vw - 28px);padding:10px 15px;font-size:13px;position:fixed;bottom:86px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #20355030}.print-only{display:none}@media(max-width:760px){.topbar-inner{padding:12px 16px}.desktop-nav,.top-meta{display:none}.main-content{padding:21px 15px 22px}.today-grid,.settings-grid,.chart-grid{grid-template-columns:1fr}.bottom-nav{display:block}.page-heading{margin-bottom:15px}h1{font-size:26px}.card{padding:15px}.metric-card{padding:11px}.metric-value{font-size:20px}}@media(max-width:390px){.metric-grid,.field-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.med-setting{grid-template-columns:minmax(0,1fr) 105px 44px}.page-heading{flex-direction:column;align-items:flex-start}}@media print{body{background:#fff}.topbar,.desktop-nav,.bottom-nav,.no-print,.button,.icon-button{display:none!important}.main-content{max-width:none;padding:0}.card{box-shadow:none;break-inside:avoid;border-color:#cdd5dd}.print-only{display:block}.page-heading{margin-bottom:12px}}:root{--app-font-serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif}body{color:#14263f;background:linear-gradient(#dfeafa 0,#eaf1fb 260px,#eef3fa) fixed}.app-shell .topbar{background:linear-gradient(135deg,#17428a,#1f5bb5);border-bottom:0;box-shadow:0 4px 18px #17428a47}.app-shell .brand{color:#fff}.app-shell .brand-mark{color:#1b4f9f;background:#fff;box-shadow:0 2px 6px #081e4640}.app-shell .brand-sub,.app-shell .top-meta{color:#d6e5fb}.app-shell .nav-link{color:#e3eeff}.app-shell .nav-link:hover{color:#fff;background:#ffffff24}.app-shell .nav-link.active{color:#17428a;background:#fff}h1{color:#102a52;font-size:32px}h2{color:#14315e}h3{color:#1c3a66}.eyebrow{color:#1f5bb5}.app-shell .subtle{color:#44597a}.card{background:#fff;border:1px solid #cddcf0;border-top:3px solid #2d69b8;box-shadow:0 6px 20px #17428a17}.icon-wash{color:#fff;background:#1f5bb5}.dose-row{background:#f2f7fe;border-color:#cddcf0}.dose-check{border:2px solid #7f9cc6}.dose-check.taken{background:#1f7a5c;border-color:#1f7a5c}.dose-label{color:#14315e;font-weight:700}.app-shell .dose-detail{color:#44597a}.tag{color:#15553f;background:#dcf1e8}.app-shell .tag.neutral{color:#3d516e;background:#e4ebf5}.metric-card{background:#f2f7fe;border-color:#cddcf0}.metric-value{color:#102a52;font-weight:600}.button{background:linear-gradient(#2f6fc4,#1f5bb5);box-shadow:0 2px 6px #17428a47}.button:hover{background:#184a97}.button.secondary{color:#17428a;box-shadow:none;background:#e3eefc;border:1px solid #a9c4ea}.button.secondary:hover{background:#d3e4fa}.button.ghost{color:#2c4a75;box-shadow:none;background:0 0}.button.ghost:hover{background:#e3eefc}.button.danger{background:#a9403c}.field label{color:#1c3a66}.field input,.field select,.field textarea,.control{color:#14263f;border:1.5px solid #9fb6d6}.field input:focus,.field select:focus,.field textarea:focus{border-color:#1f5bb5}.app-shell .field-help{color:#44597a}.modal-backdrop{background:#0c20428c}.modal{border-top:4px solid #1f5bb5;box-shadow:0 24px 70px #0c204266}.close-button{color:#17428a;background:#e3eefc}.filter-pill{color:#2c4a75;border:1.5px solid #a9c4ea}.filter-pill.selected{color:#fff;background:#1f5bb5;border-color:#1f5bb5}.data-row{border-top-color:#d9e4f3}.data-copy strong{color:#14315e}.app-shell .data-copy span{color:#3d516e}.icon-button{color:#2c4a75}.icon-button:hover{color:#17428a;background:#e3eefc}.app-shell .chart-svg text{fill:#3d516e}.empty-icon{color:#1f5bb5;background:#dbe8fa}.privacy-note,.status-callout{color:#2c4a75;background:#e8f0fc}.app-shell .note-status{color:#15553f}.bottom-nav{background:#fff;border-top:1px solid #b9cde9;box-shadow:0 -6px 18px #17428a1a}.app-shell .bottom-link{color:#44597a;font-size:11px;font-weight:600}.app-shell .bottom-link.active{color:#17428a;background:#e0ebfb;font-weight:800}.toast-message{background:#102a52}@media(max-width:760px){h1{font-size:28px}}@media(min-width:761px){.app-shell .top-meta{white-space:nowrap;align-items:center;display:inline-flex}}@media print{body{background:#fff}.card{box-shadow:none;border:1px solid #cdd5dd}}.warning-callout{color:#6b4a06;background:#fff8e6;border:1px solid #e3c27a;border-radius:11px;padding:11px 12px;font-size:12px;line-height:1.5}.warning-callout ul{margin:4px 0 6px;padding-left:18px}.card.backup-card{border-top-color:#c08a1e}.backup-card .icon-wash{background:#c08a1e}.backup-card p{color:#2c4a75;margin:0 0 12px;font-size:13px;line-height:1.55}.install-tip{margin-top:10px}.dose-time{flex:none;width:auto;height:40px}.button:disabled{opacity:.5;cursor:not-allowed}.toast-message{align-items:center;gap:14px;display:flex}.toast-action{color:#9cc4ff;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;min-height:32px;padding:6px 4px;font-size:13px;font-weight:700;text-decoration:underline}:root{--chart-systolic:#1f5bb5;--chart-diastolic:#1f7a5c;--chart-glucose:#a85a1f;--chart-grid:#d9e4f3;--chart-target:#8a5a00;--chart-band:#1f7a5c1c;--chart-point-ring:#fff}.chart-grid-line{stroke:var(--chart-grid);stroke-dasharray:3 4}.chart-target-line{stroke:var(--chart-target);stroke-dasharray:6 4;stroke-width:1.5px}.chart-target-band{fill:var(--chart-band)}.chart-point{stroke:var(--chart-point-ring);stroke-width:1.5px}.legend-target{border-top:2px dashed var(--chart-target);width:14px;display:inline-block}.averages{background:#f7faff;border:1px solid #cddcf0;border-radius:13px;margin-bottom:14px;padding:12px 13px}.averages h3{margin-bottom:9px}.average-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.average-item{gap:2px;display:grid}.average-label{color:#1c3a66;font-size:12px;font-weight:650}.average-value{font-family:var(--app-font-mono);color:#102a52;font-size:20px;font-weight:600}.error-callout{color:#93413d;border:1px solid #e9b7b2}.privacy-icon{color:#4e816c;flex:none;margin-top:1px}.danger-title{color:#934541;margin-bottom:5px}.metric-sep{color:#91a0ad}.app-shell a:not(.button):not(.nav-link):not(.bottom-link):not(.brand){color:#1f5bb5}@media screen and (prefers-color-scheme:dark){:root{color-scheme:dark;--chart-systolic:#6ea2ef;--chart-diastolic:#4cc29a;--chart-glucose:#e39a5c;--chart-grid:#2a3f5f;--chart-target:#e2b65a;--chart-band:#4cc29a26;--chart-point-ring:#152238}body{color:#e3ecf8;background:#0e1726}:root .app-shell .topbar{background:linear-gradient(135deg,#0f2a57,#173f7d);box-shadow:0 4px 18px #00000073}:root .app-shell .brand-mark{color:#173f7d;background:#e3ecf8}:root .app-shell .nav-link.active{color:#0f2a57;background:#e3ecf8}:root .app-shell h1{color:#f0f5fc}:root .app-shell h2,:root .app-shell h3{color:#dbe7f7}:root .app-shell .eyebrow{color:#8fb6ec}:root .app-shell :is(.subtle,.field-help,.dose-detail,.metric-time,.metric-empty,.legend-item,.empty-state,.data-copy span){color:#a7b7cc}:root .app-shell .card{background:#152238;border-color:#4a86d6 #263a5a #263a5a;box-shadow:0 6px 20px #00000059}:root .app-shell .icon-wash{color:#fff;background:#2f6fc4}:root .app-shell :is(.dose-row,.metric-card,.averages){background:#1a2a44;border-color:#2a4166}:root .app-shell .dose-check{background:#0f1b2e;border-color:#5f7da8}:root .app-shell .dose-check.taken{background:#2a9a73;border-color:#2a9a73}:root .app-shell :is(.dose-label,.data-copy strong,.average-label,.field label){color:#dbe7f7}:root .app-shell :is(.metric-value,.average-value){color:#f0f5fc}:root .app-shell .metric-unit,:root .app-shell .metric-sep{color:#8a9bb2}:root .app-shell .tag{color:#9fe0c4;background:#173a2e}:root .app-shell .tag.neutral{color:#b3c2d6;background:#24324a}:root .app-shell .button.secondary{color:#d6e5f8;background:#1f3557;border-color:#3a5a88}:root .app-shell .button.secondary:hover{background:#28426b}:root .app-shell .button.ghost{color:#b9cbe4}:root .app-shell .button.ghost:hover{background:#1f3557}:root .app-shell :is(.field input,.field select,.field textarea,.control){color:#e3ecf8;background:#0f1b2e;border-color:#3a5378}:root .app-shell :is(.field input,.field select,.field textarea)::placeholder{color:#7f91aa}:root .app-shell .error-text{color:#ff9b94}:root .app-shell :is(.status-callout,.privacy-note){color:#c3d3e8;background:#1a2a44}:root .app-shell .error-callout{color:#ffb3ad;border-color:#7a3a38}:root .app-shell .privacy-icon{color:#7fd1ad}:root .app-shell .warning-callout{color:#f3d9a0;background:#3a2c0b;border-color:#7a5a14}:root .app-shell .danger-zone{background:#2a1618;border-color:#5a2a2c}:root .app-shell .danger-title{color:#ff9b94}:root .app-shell .backup-card p{color:#c3d3e8}:root .app-shell .section-divider{border-top-color:#263a5a}:root .app-shell .note-status{color:#7fd1ad}:root .app-shell .modal-backdrop{background:#0000009e}:root .app-shell .modal{background:#152238}:root .app-shell .close-button{color:#d6e5f8;background:#1f3557}:root .app-shell .filter-pill{color:#cfe0f7;background:0 0;border-color:#3a5a88}:root .app-shell .filter-pill.selected{color:#fff;background:#2f6fc4;border-color:#2f6fc4}:root .app-shell .data-row{border-top-color:#263a5a}:root .app-shell .icon-button{color:#b9cbe4}:root .app-shell .icon-button:hover{color:#fff;background:#1f3557}:root .app-shell .empty-icon{color:#8fb6ec;background:#1f3557}:root .app-shell .chart-svg text{fill:#a7b7cc}:root .app-shell .bottom-nav{background:#111c2e;border-top-color:#263a5a}:root .app-shell .bottom-link{color:#a7b7cc}:root .app-shell .bottom-link.active{color:#fff;background:#1f3557}:root .app-shell a:not(.button):not(.nav-link):not(.bottom-link):not(.brand){color:#8fb6ec}:root .toast-message{background:#2b4a78}:root .toast-action{color:#cfe3ff}}.app-shell .topbar{padding-top:var(--safe-area-inset-top,env(safe-area-inset-top));padding-left:var(--safe-area-inset-left,env(safe-area-inset-left));padding-right:var(--safe-area-inset-right,env(safe-area-inset-right))}.main-content{padding-left:max(24px,var(--safe-area-inset-left,env(safe-area-inset-left)));padding-right:max(24px,var(--safe-area-inset-right,env(safe-area-inset-right)))}@media(max-width:760px){.main-content{padding-left:max(15px,var(--safe-area-inset-left,env(safe-area-inset-left)));padding-right:max(15px,var(--safe-area-inset-right,env(safe-area-inset-right)))}}.toast-message{bottom:calc(86px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)))}.modal-backdrop{padding:max(16px,var(--safe-area-inset-top,env(safe-area-inset-top))) max(16px,var(--safe-area-inset-right,env(safe-area-inset-right))) max(16px,var(--safe-area-inset-bottom,env(safe-area-inset-bottom))) max(16px,var(--safe-area-inset-left,env(safe-area-inset-left)))}.sub-copy{margin:0 0 12px;line-height:1.5}.sub-active{color:#15553f;background:#dcf1e8;margin-bottom:12px}.plan-list{gap:10px;display:grid}.plan-option{text-align:left;color:#102a52;background:#f2f7fe;border:1.5px solid #a9c4ea;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:12px 14px;display:flex}.plan-option:hover:not(:disabled){background:#e3eefc;border-color:#1f5bb5}.plan-option:disabled{opacity:.6;cursor:not-allowed}.plan-option strong,.plan-option small{display:block}.plan-option small{color:#44597a;margin-top:2px;font-size:11px;font-weight:400}.plan-price{text-align:right;font-weight:700;font-family:var(--app-font-mono)}.plan-skeleton{gap:10px;display:grid}.plan-skeleton span{background:#e3eefc;border-radius:12px;height:56px}.sub-status{color:#17428a;background:#e8f0fc;border-radius:11px;margin:10px 0 0;padding:10px 12px;font-size:13px;font-weight:600}.sub-fine{margin:12px 0 0;line-height:1.5}.sub-fine a{color:#17428a}.lock-note{margin:0 0 12px}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.app-shell{overflow-x:clip}.field input,.field select,.field textarea,.control{min-width:0;max-width:100%}.field input[type=date],.field input[type=time],.control[type=time]{appearance:none;text-align:left;display:block}.field input[type=date]::-webkit-date-and-time-value{text-align:left}.control[type=time]::-webkit-date-and-time-value{text-align:left}@media(max-width:760px),(pointer:coarse){.field input,.field select,.field textarea,.control,.note-box{font-size:16px}}.dose-main{flex:auto;min-width:0}.dose-main>div{overflow-wrap:anywhere;min-width:0}.dose-time{width:118px;max-width:40%}@media(max-width:390px){.dose-row.has-time{flex-wrap:wrap}.dose-time{width:calc(100% - 54px);max-width:none;margin-left:54px}}.data-row,.metric-head,.card-head,.card-head>*{min-width:0}@media(max-width:480px){.card-head{flex-wrap:wrap;row-gap:10px}}@media screen and (prefers-color-scheme:dark){:root .app-shell .med-setting{border-top-color:#263a5a}}.page-detail{margin-top:6px}.app-shell .card{border-top-width:1px;border-top-color:#cddcf0}.app-shell .modal{border-top:0}@media screen and (prefers-color-scheme:dark){:root .app-shell .card{border-top-color:#263a5a}}@media(max-width:760px){.app-shell .brand-sub{display:none}.topbar-inner{padding-top:9px;padding-bottom:9px}.brand-mark{border-radius:10px;width:32px;height:32px}.main-content{padding-top:14px}.page-heading{margin-bottom:12px}.page-heading .eyebrow{display:none}.page-heading>div:first-child{flex-wrap:wrap;align-items:baseline;column-gap:12px;display:flex}.page-heading h1{margin:0;font-size:26px}.page-heading .page-detail{margin-top:2px}.card{padding:12px}.card-head{margin-bottom:8px}.stack,.history-layout,.settings-grid{gap:10px}.dose-list{gap:6px}.dose-row{padding:8px 10px}.metric-card{padding:10px}.metric-head{margin-bottom:6px}.metric-head h3{font-size:13px}.metric-card .btn-text{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.metric-card .button.small{min-width:40px;min-height:40px;padding:6px}.metric-card .button-row{gap:4px;margin-top:4px!important}}@media(min-width:340px)and (max-width:390px){.metric-grid{grid-template-columns:1fr 1fr;gap:8px}}@media(max-width:760px){.med-setting{grid-template-columns:minmax(0,1fr) 136px 40px;gap:6px}.med-setting .field input[type=time]{padding-left:8px;padding-right:6px}}.recipe-row{text-align:left;cursor:pointer;width:100%;font:inherit;color:inherit;background:0 0;border-bottom:0;border-left:0;border-right:0}.recipe-row:first-child{border-top:0}.recipe-carbs{color:#17428a;background:#e3eefc;border-radius:999px;flex:none;align-items:center;gap:5px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.back-link{align-items:center;gap:6px;min-height:40px;margin-bottom:10px;font-size:13px;font-weight:650;text-decoration:none;display:inline-flex}.recipe-layout{grid-template-columns:1fr;gap:14px;display:grid}@media(min-width:900px){.recipe-layout{grid-template-columns:1fr 1fr}.recipe-layout>:first-child{grid-column:1/-1}}.recipe-nutrition{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.recipe-nutrition>div{text-align:center;background:#f2f7fe;border:1px solid #cddcf0;border-radius:11px;padding:10px 6px}.recipe-nutrition strong{font-family:var(--app-font-mono);color:#102a52;font-size:18px;display:block}.recipe-nutrition span{color:#44597a;font-size:11px}.servings{align-items:center;gap:4px;font-size:13px;font-weight:650;display:flex}.servings .icon-button:disabled{opacity:.4;cursor:not-allowed}.recipe-ingredients,.recipe-steps{margin:0;padding-left:20px;font-size:14px;line-height:1.6}.recipe-ingredients li,.recipe-steps li{margin-bottom:6px}@media(max-width:760px){.bottom-link{font-size:10px}}@media screen and (prefers-color-scheme:dark){:root .app-shell .recipe-carbs{color:#d6e5f8;background:#1f3557}:root .app-shell .recipe-nutrition>div{background:#1a2a44;border-color:#2a4166}:root .app-shell .recipe-nutrition strong{color:#f0f5fc}:root .app-shell .recipe-nutrition span,:root .app-shell .servings{color:#a7b7cc}}.recipe-nutrition small{font-family:var(--app-font-sans);font-size:12px;font-weight:600}@media(max-width:760px){.recipe-filter-row{scrollbar-width:none;flex-wrap:nowrap;margin-right:-12px;padding-bottom:2px;padding-right:12px;overflow-x:auto}.recipe-filter-row::-webkit-scrollbar{display:none}.recipe-filter-row .filter-pill{flex:none;min-height:40px}}.app-shell .brand-mark{background:0 0;border-radius:10px;width:36px;height:36px;padding:0;display:block;box-shadow:0 2px 8px #081e4659}@media(max-width:760px){.app-shell .brand-mark{width:32px;height:32px}}:root{--ui-bg:#f2f2f7;--ui-card:#fff;--ui-fill:#f2f4f8;--ui-fill-strong:#e7ebf2;--ui-text:#0b1220;--ui-text-2:#5b6676;--ui-text-3:#8a94a3;--ui-sep:#3c3c4324;--ui-tint:#1f5bb5;--ui-tint-soft:#e6eefa;--ui-green:#1f8a5e;--ui-red:#c9372c;--ui-input:#fff;--ui-input-border:#d4d9e1;--ui-tabbar:#f9f9fbe0;--app-font-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;--app-font-serif:var(--app-font-sans)}@media screen and (prefers-color-scheme:dark){:root{--ui-bg:#000;--ui-card:#1c1c1e;--ui-fill:#2c2c2e;--ui-fill-strong:#3a3a3c;--ui-text:#f2f4f8;--ui-text-2:#a1a8b3;--ui-text-3:#7c838e;--ui-sep:#54545899;--ui-tint:#5b9cf5;--ui-tint-soft:#1b2c48;--ui-green:#35c27e;--ui-red:#ff6a5f;--ui-input:#2c2c2e;--ui-input-border:#3a3a3c;--ui-tabbar:#161618db}}html body{background:var(--ui-bg);color:var(--ui-text);font-family:var(--app-font-sans)}:root .app-shell,:root .app-shell :is(h1,h2,h3){font-family:var(--app-font-sans);color:var(--ui-text)}:root .app-shell h1{letter-spacing:-.025em;font-size:34px;font-weight:700;line-height:1.1}:root .app-shell h2{letter-spacing:-.015em;font-size:19px;font-weight:650}:root .app-shell h3{color:var(--ui-text-2);font-size:14px;font-weight:600}:root .app-shell :is(.subtle,.field-help,.dose-detail,.metric-time,.metric-empty,.legend-item,.empty-state,.data-copy span,.page-detail){color:var(--ui-text-2)}:root .app-shell .eyebrow{display:none}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:root .app-shell .topbar{background:var(--ui-card);box-shadow:none;border-bottom:1px solid var(--ui-sep)}:root .app-shell .brand{color:var(--ui-text)}:root .app-shell .brand-sub,:root .app-shell .top-meta,:root .app-shell .nav-link{color:var(--ui-text-2)}:root .app-shell .nav-link:hover{background:var(--ui-fill);color:var(--ui-text)}:root .app-shell .nav-link.active{background:var(--ui-tint-soft);color:var(--ui-tint)}@media(max-width:760px){:root .app-shell .topbar{display:none}:root .app-shell .main-content{padding-top:calc(var(--safe-area-inset-top,env(safe-area-inset-top)) + 18px)}:root .app-shell .page-heading{flex-direction:row;align-items:flex-end;margin-bottom:16px}:root .app-shell .page-heading>div:first-child{display:block}:root .app-shell .page-heading h1{font-size:34px}:root .app-shell .page-heading .page-detail{margin-top:4px;font-size:15px}}:root .app-shell .card{background:var(--ui-card);border:0;border-radius:18px;padding:18px;box-shadow:0 1px 2px #0f172a0a}:root .app-shell .card-head{align-items:center;margin-bottom:12px}:root .app-shell .card-title{gap:0}:root .app-shell .icon-wash{display:none}:root .app-shell .stack,:root .app-shell .history-layout,:root .app-shell .settings-grid{gap:14px}.card-link{align-items:center;gap:2px;min-height:36px;font-size:15px;font-weight:500;text-decoration:none;display:inline-flex}:root .app-shell a.card-link{color:var(--ui-tint)}:root .app-shell .metric-grid{gap:10px}:root .app-shell .metric-card{background:var(--ui-fill);border:0;border-radius:14px;flex-direction:column;padding:12px 12px 14px;display:flex}:root .app-shell .metric-head h3{font-size:14px}.add-button{border:0;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;padding:0;display:grid;position:relative}.add-button:after{content:"";position:absolute;inset:-6px}:root .app-shell .add-button{background:var(--ui-tint);color:#fff}.metric-body{text-align:left;color:inherit;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:0;display:flex}:root .app-shell .metric-value{font-family:var(--app-font-sans);letter-spacing:-.03em;color:var(--ui-text);font-variant-numeric:tabular-nums;font-size:34px;font-weight:700;line-height:1.1}:root .app-shell .metric-sep{color:var(--ui-text-3);margin:0 2px;font-weight:400}:root .app-shell .metric-unit{color:var(--ui-text-2);margin:0;font-size:13px}:root .app-shell .metric-time{margin-top:6px;font-size:13px}:root .app-shell .metric-empty{padding:8px 0 4px;font-size:14px}:root .app-shell .dose-list{gap:0}:root .app-shell .dose-row{border:0;border-top:1px solid var(--ui-sep);background:0 0;border-radius:0;padding:12px 0}:root .app-shell .dose-row:first-child{border-top:0;padding-top:4px}:root .app-shell .dose-main{gap:14px}:root .app-shell .dose-check{border:2px solid var(--ui-text-3);background:0 0;border-radius:50%;width:30px;height:30px;position:relative}:root .app-shell .dose-check:after{content:"";position:absolute;inset:-8px}:root .app-shell .dose-check.taken{background:var(--ui-green);border-color:var(--ui-green);color:#fff}:root .app-shell .dose-label{color:var(--ui-text);font-size:16px;font-weight:600}:root .app-shell .dose-detail{margin-top:2px;font-size:13px}@media(max-width:390px){:root .app-shell .dose-time{width:calc(100% - 44px);margin-left:44px}}:root .app-shell .button{background:var(--ui-tint);color:#fff;box-shadow:none;border:0;border-radius:12px;min-height:44px;padding:10px 16px;font-size:15px;font-weight:600}:root .app-shell .button:hover{filter:brightness(.95);background:var(--ui-tint)}:root .app-shell .button.secondary{background:var(--ui-tint-soft);color:var(--ui-tint);border:0}:root .app-shell .button.ghost{color:var(--ui-tint);background:0 0}:root .app-shell .button.ghost:hover{background:var(--ui-fill)}:root .app-shell .button.danger{background:var(--ui-red);color:#fff}:root .app-shell .button.small{min-height:40px;padding:8px 14px;font-size:14px}:root .app-shell .button.destructive-text{color:var(--ui-red)}:root .app-shell .field label{color:var(--ui-text-2);font-size:13px;font-weight:600}:root .app-shell :is(.field input,.field select,.field textarea,.control){background:var(--ui-input);border:1px solid var(--ui-input-border);color:var(--ui-text);border-radius:11px;height:44px;padding:10px 12px}:root .app-shell .field textarea{height:auto}:root .app-shell :is(.field input,.field select,.field textarea,.control):focus{border-color:var(--ui-tint);box-shadow:0 0 0 3px var(--ui-tint-soft);outline:none}:root .app-shell .field textarea.note-box{background:var(--ui-fill);border-color:#0000;min-height:88px}:root .app-shell .note-status{color:var(--ui-text-3);font-size:13px}:root .app-shell .filter-pill{background:var(--ui-fill);color:var(--ui-text);border:0;min-height:36px;padding:6px 14px;font-size:14px;font-weight:500}:root .app-shell .filter-pill.selected{background:var(--ui-tint);color:#fff}:root .app-shell .recipe-filter-row .filter-pill{min-height:36px}:root .app-shell .data-row{border-top:1px solid var(--ui-sep)}:root .app-shell .data-row:first-child{border-top:0}:root .app-shell .data-copy strong{color:var(--ui-text);font-size:15px;font-weight:600}:root .app-shell .data-copy span{font-size:13px}:root .app-shell .icon-button{color:var(--ui-text-3)}:root .app-shell .icon-button:hover{background:var(--ui-fill);color:var(--ui-tint)}:root .app-shell .tag{background:var(--ui-fill);color:var(--ui-text-2);font-weight:600}:root .app-shell .recipe-carbs{background:var(--ui-tint-soft);color:var(--ui-tint);font-size:13px}:root .app-shell :is(.status-callout,.privacy-note,.averages){background:var(--ui-fill);color:var(--ui-text-2);border:0;border-radius:12px}:root .app-shell .privacy-icon{color:var(--ui-green)}:root .app-shell .average-value{font-family:var(--app-font-sans);font-variant-numeric:tabular-nums;color:var(--ui-text);font-weight:700}:root .app-shell .average-label{color:var(--ui-text-2)}:root .app-shell .recipe-nutrition>div{background:var(--ui-fill);border:0}:root .app-shell .recipe-nutrition strong{font-family:var(--app-font-sans);color:var(--ui-text)}:root .app-shell .plan-option{background:var(--ui-fill);color:var(--ui-text);border:2px solid #0000}:root .app-shell .plan-option:hover:not(:disabled){border-color:var(--ui-tint);background:var(--ui-fill)}:root .app-shell .plan-price{font-family:var(--app-font-sans)}:root .app-shell .plan-option small{color:var(--ui-text-2)}:root .app-shell .section-divider,:root .app-shell .med-setting{border-top-color:var(--ui-sep)}:root .app-shell .empty-icon{background:var(--ui-fill);color:var(--ui-text-3)}:root .app-shell .chart-svg text{fill:var(--ui-text-2)}:root .app-shell a:not(.button):not(.nav-link):not(.bottom-link):not(.brand){color:var(--ui-tint)}:root .app-shell .card.backup-card{background:#fff6e5}:root .app-shell .backup-card h2{font-size:16px}:root .app-shell .backup-card p{color:#5c4410;margin:0 0 10px;font-size:14px;line-height:1.45}:root .app-shell .backup-card .button.ghost{color:#7a5a14}@media screen and (prefers-color-scheme:dark){:root .app-shell .card.backup-card{background:#2e2410}:root .app-shell .backup-card p{color:#ecd6a6}:root .app-shell .backup-card .button.ghost{color:#f3d9a0}}@media(max-width:760px){:root .app-shell .med-setting{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"name name""time remove"}:root .app-shell .med-setting>.field:first-child{grid-area:name}:root .app-shell .med-setting>.field:nth-child(2){grid-area:time}:root .app-shell .med-setting>.icon-button{grid-area:remove}}:root .app-shell .modal{background:var(--ui-card);border:0;border-radius:22px}:root .app-shell .modal-backdrop{background:#0006}:root .app-shell .close-button{background:var(--ui-fill);color:var(--ui-text-2);border-radius:50%;width:36px;height:36px}:root .app-shell .modal h2{font-size:22px}:root .app-shell .bottom-nav{background:var(--ui-tabbar);border-top:1px solid var(--ui-sep);box-shadow:none;-webkit-backdrop-filter:saturate(180%)blur(20px);backdrop-filter:saturate(180%)blur(20px);padding-top:6px}:root .app-shell .bottom-link{color:var(--ui-text-3);background:0 0;gap:3px;padding:4px;font-size:10.5px;font-weight:500}:root .app-shell .bottom-link svg{width:24px;height:24px}:root .app-shell .bottom-link.active{color:var(--ui-tint);background:0 0;font-weight:600}:root .toast-message{background:#1e1e20f0;border-radius:14px}:root .app-shell .average-value .metric-unit{margin-left:5px;font-weight:500}:root .app-shell .med-setting:first-child,:root .app-shell .card-head+.med-setting{border-top:0}:root .app-shell .page-heading .button{min-height:36px;padding:6px 12px;font-size:14px}:root .app-shell textarea.note-box{resize:none}@media screen and (prefers-color-scheme:dark){:root .app-shell :is(.button:not(.secondary):not(.ghost):not(.danger),.add-button,.filter-pill.selected){background:#2f6fd8}}@media(min-width:761px){:root .app-shell .topbar-inner,:root .app-shell .main-content{max-width:760px}:root .app-shell .topbar-inner{padding-top:12px;padding-bottom:12px}:root .app-shell .brand-sub,:root .app-shell .top-meta{display:none}:root .app-shell .main-content{padding-top:40px;padding-bottom:64px}:root .app-shell :is(.today-grid,.settings-grid,.chart-grid){grid-template-columns:1fr;gap:16px}:root .app-shell .today-grid>.stack{gap:16px}:root .app-shell .page-heading{margin-bottom:24px}:root .app-shell .page-heading .page-detail{margin-top:6px;font-size:15px}:root .app-shell .card{padding:22px 24px}:root .app-shell .metric-grid{gap:12px}:root .app-shell .metric-card{padding:16px 16px 18px}:root .app-shell .metric-value{font-size:40px}}:root .app-shell .metric-body.is-empty .metric-value{color:var(--ui-text-3);font-weight:600}:root .app-shell .metric-body.is-empty .metric-time{color:var(--ui-tint);font-weight:600}:root .app-shell .metric-body:hover .metric-time{text-underline-offset:3px;text-decoration:underline}:root .app-shell .card .field-help{font-size:13px}:root{--bp:#e0445e;--bp-soft:#fdeef1;--glu:#e5891f;--glu-soft:#fff3e3;--chart-systolic:#e0445e;--chart-diastolic:#f39aab;--chart-glucose:#e5891f}@media screen and (prefers-color-scheme:dark){:root{--bp:#ff6b81;--bp-soft:#3a1d24;--glu:#ffad4d;--glu-soft:#3a2a14;--chart-systolic:#ff6b81;--chart-diastolic:#c9798a;--chart-glucose:#ffad4d}}.today-hero{color:#fff;background:radial-gradient(120% 140% at 100% 0,#3aa0ff,#3aa0ff00 55%),linear-gradient(140deg,#1a4fa8,#1f5bb5 45%,#2477d6);border-radius:22px;margin-bottom:14px;padding:20px 20px 18px;position:relative;overflow:hidden;box-shadow:0 10px 30px #1f5bb547}.today-hero:after{content:"";background:#ffffff12;border-radius:50%;width:200px;height:200px;position:absolute;bottom:-60px;right:-40px}.today-hero-date{opacity:.85;font-size:14px;font-weight:600}:root .app-shell .today-hero h1{color:#fff;margin:2px 0 16px;font-size:32px}.today-hero-stats{z-index:1;flex-wrap:wrap;gap:12px;display:flex;position:relative}.hero-stat{background:#ffffff24;border-radius:16px;flex:140px;align-items:center;gap:10px;min-width:0;padding:10px 14px 10px 10px;display:flex}.hero-stat strong{font-size:17px;line-height:1.15;display:block}.hero-stat span{font-size:13px;line-height:1.3}.hero-stat>span:last-child{opacity:.95}.hero-count{background:#fff3;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;font-weight:700;display:grid;font-size:19px!important}.progress-ring{flex:none;width:44px;height:44px;transform:rotate(-90deg)}.progress-ring circle{fill:none;stroke-width:5px}.progress-ring-track{stroke:#ffffff40}.progress-ring-fill{stroke:#7ef0b4;stroke-linecap:round;transition:stroke-dashoffset .4s}@media screen and (prefers-color-scheme:dark){.today-hero{box-shadow:none;background:radial-gradient(120% 140% at 100% 0,#2c6fd0,#2c6fd000 55%),linear-gradient(140deg,#123a7c,#174892)}}@media(max-width:760px){:root .app-shell .today-hero{margin-top:4px}}:root .app-shell .metric-card.bp{background:var(--bp-soft)}:root .app-shell .metric-card.glucose{background:var(--glu-soft)}.metric-icon{color:#fff;border-radius:11px;place-items:center;width:34px;height:34px;display:grid}.metric-card.bp .metric-icon{background:var(--bp)}.metric-card.glucose .metric-icon{background:var(--glu)}:root .app-shell .metric-card.bp .add-button{background:var(--bp)}:root .app-shell .metric-card.glucose .add-button{background:var(--glu)}:root .app-shell .metric-card>h3{white-space:nowrap;text-overflow:ellipsis;margin:0 0 2px;font-size:14px;overflow:hidden}:root .app-shell .metric-head{margin-bottom:10px}:root .app-shell .metric-card.bp .metric-body.is-empty .metric-time{color:var(--bp)}:root .app-shell .metric-card.glucose .metric-body.is-empty .metric-time{color:var(--glu)}@media screen and (prefers-color-scheme:dark){:root .app-shell :is(.metric-card.bp,.metric-card.glucose) .add-button{background:var(--ui-fill-strong)}:root .app-shell .metric-card.bp .add-button{color:var(--bp)}:root .app-shell .metric-card.glucose .add-button{color:var(--glu)}}.chart-hint{color:var(--ui-text-2);margin:4px 0 6px;font-size:13px}:root .app-shell .legend-dot{width:10px;height:10px}:root .app-shell .metric-card.bp .add-button{background:var(--bp)!important;color:#fff!important}:root .app-shell .metric-card.glucose .add-button{background:var(--glu)!important;color:#fff!important}:root .app-shell .chart-svg{height:180px}.hero-stat strong{white-space:nowrap}.hero-stat{padding-right:12px}@supports (font:-apple-system-body){html{font:-apple-system-body}}:root{--ui-green-soft:#e3f5ea}@media screen and (prefers-color-scheme:dark){:root{--ui-green-soft:#163222}}:root .app-shell{font-size:1rem;line-height:1.4}:root .app-shell h1{font-size:1.8rem}:root .app-shell h2{font-size:1.25rem;font-weight:700}:root .app-shell h3{font-size:1rem}:root .app-shell :is(.subtle,.field-help,.dose-detail,.metric-unit,.metric-time,.data-copy span,.note-status,.legend,.empty-state,.page-detail,.chart-hint),:root .app-shell .field label{font-size:.94rem}:root .app-shell :is(.field input,.field select,.field textarea,.control,.note-box){height:auto;min-height:46px;font-size:1rem}:root .app-shell .button{min-height:46px;font-size:1rem}:root .app-shell .button.small{min-height:44px;font-size:.94rem}:root .app-shell .filter-pill{min-height:40px;font-size:.94rem}:root .app-shell .card-link{min-height:44px;font-size:1rem}:root .app-shell .icon-button{width:44px;height:44px}:root .app-shell .data-copy{overflow-wrap:anywhere;flex:auto;min-width:0}:root .app-shell .data-copy strong{font-size:1rem}:root .app-shell .data-copy strong small{color:var(--ui-text-2);font-size:.85rem;font-weight:500}:root .app-shell .empty-state{color:var(--ui-text-2);padding:20px 8px}:root .app-shell .bottom-link{font-size:.7rem}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}@media(max-width:760px){.app-shell:before{content:"";z-index:25;height:var(--safe-area-inset-top,env(safe-area-inset-top));background:var(--ui-bg);position:fixed;top:0;left:0;right:0}:root .app-shell .main-content{padding-bottom:calc(88px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)))}:root .app-shell{padding-bottom:0}:root .app-shell .page-heading h1{font-size:1.8rem}}:root .app-shell .today-hero{border-radius:20px;padding:16px 18px}.today-hero-date{font-size:.85rem}:root .app-shell .today-hero h1{margin:0 0 12px;font-size:1.45rem}.hero-stat{flex:150px;padding:8px 12px 8px 8px}.hero-stat strong{white-space:normal;font-size:1.06rem}.hero-stat span{font-size:.85rem}.progress-ring,.hero-count{width:40px;height:40px}:root .app-shell .metric-value{font-size:2.2rem}:root .app-shell .metric-time{align-items:center;gap:2px;display:inline-flex}:root .app-shell .metric-time svg{color:var(--ui-text-3)}:root .app-shell .metric-unit{color:var(--ui-text-2)}:root .app-shell .metric-card>h3{color:var(--ui-text-2);white-space:normal;font-size:.94rem}:root .app-shell .dose-label{font-size:1.06rem}:root .app-shell .field textarea.note-box{min-height:64px}:root .app-shell .backup-card .card-head{margin-bottom:2px}:root .app-shell .backup-card .icon-button{color:#7a5a14;margin:-8px -8px -8px 0}:root .app-shell .backup-card p{font-size:.94rem}.segmented{background:var(--ui-fill);border-radius:12px;gap:2px;padding:3px;display:inline-flex}.segmented.wide{display:flex}.segmented.wide .filter-pill{flex:1}:root .app-shell .segmented .filter-pill{color:var(--ui-text);background:0 0;border-radius:10px;min-height:40px;padding:6px 14px;font-weight:600}:root .app-shell .segmented .filter-pill.selected{background:var(--ui-card);color:var(--ui-text);box-shadow:0 1px 3px #00000024}@media screen and (prefers-color-scheme:dark){:root .app-shell .segmented .filter-pill.selected{background:var(--ui-fill-strong);color:var(--ui-text)}}:root .app-shell .card-head:has(.segmented){flex-wrap:wrap;row-gap:10px}.scroll-row,:root .app-shell .recipe-filter-row{scrollbar-width:none;overscroll-behavior-x:contain;flex-wrap:nowrap;margin-right:-4px;padding-right:28px;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),#0000)}.scroll-row::-webkit-scrollbar{display:none}.recipe-filter-row::-webkit-scrollbar{display:none}.scroll-row .filter-pill,.recipe-filter-row .filter-pill{flex:none}.summary-head{justify-content:space-between;align-items:center;margin:14px 0 6px;display:flex}:root .app-shell .summary-head h3{color:var(--ui-text-2);font-size:.94rem;font-weight:600}.info-pop{position:relative}.info-pop summary{width:44px;height:44px;color:var(--ui-tint);place-items:center;margin-right:-10px;display:grid}.info-pop p{z-index:5;background:var(--ui-card);width:min(280px,80vw);color:var(--ui-text);border-radius:14px;margin:0;padding:12px 14px;font-size:.94rem;line-height:1.45;position:absolute;top:44px;right:0;box-shadow:0 10px 30px #0003}.summary-tiles{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.summary-tile{border-radius:16px;flex-direction:column;gap:2px;min-width:0;padding:14px;display:flex}.summary-tile.bp{background:var(--bp-soft)}.summary-tile.glucose{background:var(--glu-soft)}.summary-label{color:var(--ui-text-2);font-size:.94rem;font-weight:600}.summary-value{letter-spacing:-.02em;color:var(--ui-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:1.75rem;font-weight:800;line-height:1.15}.summary-value small{color:var(--ui-text-2);letter-spacing:0;margin-left:5px;font-size:.9rem;font-weight:600}.summary-meta{color:var(--ui-text-2);font-size:.94rem}.context-rows{border-top:1px solid var(--ui-sep);gap:4px;margin:8px 0 0;padding-top:8px;display:grid}.context-rows div{flex-wrap:wrap;justify-content:space-between;gap:2px 8px;display:flex}.context-rows dt{color:var(--ui-text-2);font-size:.94rem}.context-rows dd{color:var(--ui-text);margin:0;font-size:.94rem;font-weight:700}.context-rows dd small,.context-rows dd span{color:var(--ui-text-2);font-weight:500}:root .app-shell .chart-grid{grid-template-columns:1fr;gap:0;margin-top:6px;display:grid}.chart-card{border-top:1px solid var(--ui-sep);min-width:0;margin-top:12px;padding:14px 0 6px}.chart-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}:root .app-shell .chart-head h3{color:var(--ui-text);font-size:1.06rem}.chart-unit{color:var(--ui-text-2);font-size:.94rem}:root .app-shell .chart-svg{width:100%;max-width:100%;height:auto;overflow:visible}:root .app-shell .chart-svg .chart-axis{fill:var(--ui-text-2);font-size:14px}.chart-hit{fill:#0000;cursor:pointer;outline:none}.chart-hit:focus-visible{fill:#1f5bb51f;stroke:var(--ui-tint);stroke-width:2px}:root .app-shell .chart-hint{color:var(--ui-text-2);margin:4px 0 8px}:root .app-shell .legend{gap:16px}:root .app-shell .legend-item{color:var(--ui-text-2);align-items:center;gap:6px;display:inline-flex}.legend-line{border-top:3px solid;border-radius:2px;width:22px;display:inline-block}.legend-line.dashed{border-top-style:dashed}.chart-list summary{min-height:44px;color:var(--ui-tint);align-items:center;font-size:.94rem;display:inline-flex}.chart-list ul{color:var(--ui-text-2);margin:0;padding-left:20px;font-size:.94rem;line-height:1.6}:root .app-shell .date-header{letter-spacing:.06em;text-transform:uppercase;color:var(--ui-text-2);margin:16px 0 2px;font-size:.8rem;font-weight:700}:root .app-shell .data-list{margin-top:4px}:root .app-shell .data-list .data-row{border-top:0;justify-content:flex-start;gap:12px;padding:8px 0}:root .app-shell .row-actions{margin-left:auto}.row-icon{color:#fff;border-radius:11px;flex:none;place-items:center;width:36px;height:36px;display:grid}.row-icon.bp{background:var(--bp)}.row-icon.glucose{background:var(--glu)}.row-icon.meds{background:var(--ui-green)}.row-icon.muted{background:var(--ui-fill-strong);color:var(--ui-text-2)}.row-icon.note{background:var(--ui-tint)}details.disclosure>summary{min-height:44px;color:var(--ui-text);justify-content:space-between;align-items:center;gap:12px;font-size:1.06rem;font-weight:650;display:flex}details.disclosure[open]>summary{margin-bottom:12px}.disclosure-chevron{color:var(--ui-text-2);flex:none;transition:transform .2s}details.disclosure[open] .disclosure-chevron{transform:rotate(180deg)}.info-line{margin:12px 2px 0}.info-line summary{min-height:44px;color:var(--ui-tint);align-items:center;gap:6px;font-size:.94rem;font-weight:600;display:inline-flex}.info-line p{color:var(--ui-text-2);margin:0 0 4px;font-size:.94rem;line-height:1.5}.recipe-filters{gap:8px;margin-bottom:12px;display:grid}:root .app-shell .recipe-list-card{padding-top:4px;padding-bottom:4px}:root .app-shell .recipe-row{border-top:1px solid var(--ui-sep);align-items:center;gap:14px;padding:12px 0;display:flex}:root .app-shell .data-list .recipe-row:first-child{border-top:0}.recipe-art{flex:none;place-items:center;line-height:1;display:grid}.recipe-art.thumb{border-radius:16px;width:60px;height:60px;font-size:32px}.recipe-art.hero{border-radius:22px;width:100%;height:172px;font-size:86px}.recipe-art.hero span{filter:drop-shadow(0 8px 14px #0000002e)}.recipe-art.meal-breakfast{background:linear-gradient(135deg,#fff3dc,#ffd99c)}.recipe-art.meal-lunch{background:linear-gradient(135deg,#e6f7e3,#bde6b4)}.recipe-art.meal-dinner{background:linear-gradient(135deg,#e6edff,#c3d3ff)}.recipe-art.meal-side{background:linear-gradient(135deg,#e0f6f0,#b5e6d8)}.recipe-art.meal-snack{background:linear-gradient(135deg,#ffecdf,#ffc9a6)}.recipe-art.meal-dessert{background:linear-gradient(135deg,#ffe6ee,#ffc0d3)}@media screen and (prefers-color-scheme:dark){.recipe-art.meal-breakfast{background:linear-gradient(135deg,#3b2f17,#5a4114)}.recipe-art.meal-lunch{background:linear-gradient(135deg,#1b3320,#24492a)}.recipe-art.meal-dinner{background:linear-gradient(135deg,#1a2643,#243766)}.recipe-art.meal-side{background:linear-gradient(135deg,#16332c,#1f4a3f)}.recipe-art.meal-snack{background:linear-gradient(135deg,#3b2618,#5a361d)}.recipe-art.meal-dessert{background:linear-gradient(135deg,#3b1d27,#5a2638)}}.recipe-meta{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex!important}:root .app-shell .recipe-carbs{background:var(--glu-soft);color:#8f5208;border-radius:12px;flex-direction:column;align-items:flex-end;gap:0;padding:6px 10px;font-size:1.06rem;font-weight:800;line-height:1.1;display:flex}:root .app-shell .recipe-carbs small{font-size:.72rem;font-weight:600}@media screen and (prefers-color-scheme:dark){:root .app-shell .recipe-carbs{color:var(--glu)}}:root .app-shell .back-link{min-height:44px;color:var(--ui-tint);align-items:center;gap:2px;margin:-6px 0 6px -8px;padding-right:10px;font-size:1.06rem;font-weight:600;display:inline-flex}.recipe-hero{margin-bottom:14px}.recipe-hero-copy{padding:14px 4px 0}.recipe-hero-meta{color:var(--ui-text-2);align-items:center;gap:4px;font-size:.94rem;font-weight:600;display:inline-flex}:root .app-shell .recipe-hero h1{margin:4px 0 6px;font-size:1.6rem}.recipe-hero p{color:var(--ui-text-2);margin:0;font-size:1rem;line-height:1.45}:root .app-shell .recipe-nutrition{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:360px){:root .app-shell .recipe-nutrition{grid-template-columns:1fr 1fr}}:root .app-shell .recipe-nutrition>div{border-radius:14px;padding:12px 4px}:root .app-shell .recipe-nutrition .carbs{background:var(--glu-soft)}:root .app-shell .recipe-nutrition .fiber{background:var(--ui-green-soft)}:root .app-shell .recipe-nutrition .protein{background:var(--ui-tint-soft)}:root .app-shell .recipe-nutrition .kcal{background:var(--ui-fill)}:root .app-shell .recipe-nutrition strong{font-size:1.35rem}:root .app-shell .recipe-nutrition span{color:var(--ui-text-2);font-size:.85rem}.recipe-actions{grid-template-columns:1fr auto;gap:8px;margin-top:14px;display:grid}.recipe-actions .button{min-height:50px}:root .app-shell .recipe-ingredients{margin:0;padding:0;list-style:none}:root .app-shell .recipe-ingredients li{border-top:1px solid var(--ui-sep);margin:0}:root .app-shell .recipe-ingredients li:first-child{border-top:0}.check-item{cursor:pointer;align-items:center;gap:12px;min-height:48px;padding:4px 0;font-size:1rem;line-height:1.4;display:flex}.check-item input{width:24px;height:24px;accent-color:var(--ui-green);flex:none;margin:0}.check-item input:checked+span{color:var(--ui-text-3);text-decoration:line-through}:root .app-shell .recipe-steps{counter-reset:step;margin:0;padding:0;list-style:none}:root .app-shell .recipe-steps li{counter-increment:step;margin:0;padding:2px 0 14px 44px;font-size:1rem;line-height:1.5;position:relative}:root .app-shell .recipe-steps li:before{content:counter(step);background:var(--ui-tint);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:.94rem;font-weight:700;display:grid;position:absolute;top:0;left:0}:root .app-shell .servings{gap:2px;font-size:1rem}:root .app-shell .servings .icon-button{background:var(--ui-fill);color:var(--ui-text);border-radius:50%}:root .app-shell .group-title{align-items:center;gap:10px;margin-bottom:12px;font-size:1.25rem;display:flex}.group-icon{color:#fff;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid}.group-icon.meds{background:var(--ui-green)}.group-icon.glucose{background:var(--glu)}.group-icon.brand{background:var(--ui-tint)}.group-icon.neutral{background:#7c8696}.settings-row{background:var(--ui-fill);width:100%;min-height:60px;color:var(--ui-text);text-align:left;border:0;border-radius:14px;align-items:center;gap:12px;padding:12px 14px;display:flex}.settings-row:active{filter:brightness(.97)}.settings-row-copy{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.settings-row-copy strong{font-size:1.06rem}.settings-row-copy span{color:var(--ui-text-2);font-size:.94rem}.settings-row-action{color:var(--ui-tint);flex:none;align-items:center;font-weight:600;display:flex}:root .app-shell .group-note{color:var(--ui-text-2);margin:10px 0 0;font-size:.94rem;line-height:1.45}:root .app-shell .subgroup-title{color:var(--ui-text);margin:0 0 10px;font-size:1rem}:root .app-shell .button-row.two{grid-template-columns:1fr 1fr;gap:8px;display:grid}@media(max-width:360px){:root .app-shell .button-row.two{grid-template-columns:1fr}}.fact-list{color:var(--ui-text);gap:6px;margin:0;padding-left:20px;font-size:1rem;line-height:1.45;display:grid}:root .app-shell .button.danger-outline{color:var(--ui-red);box-shadow:none;background:0 0;border:1.5px solid}:root .app-shell .sheet-backdrop{z-index:35}:root .app-shell .modal.sheet h2{font-size:1.4rem}@media(max-width:760px){:root .app-shell .sheet-backdrop{padding:var(--safe-area-inset-top,env(safe-area-inset-top)) 0 0;place-items:end stretch}:root .app-shell .modal.sheet{width:100%;max-height:calc(100dvh - var(--safe-area-inset-top,env(safe-area-inset-top)) - 10px);padding:18px 18px calc(18px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));border-radius:22px 22px 0 0}}:root .app-shell .med-setting{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"name name""time remove"}:root .app-shell .med-setting>.field:first-child{grid-area:name}:root .app-shell .med-setting>.field:nth-child(2){grid-area:time}:root .app-shell .med-setting>.icon-button{grid-area:remove}:root .app-shell .modal-context{color:var(--ui-text-2);margin:6px 0 0;font-size:.94rem;line-height:1.4}:root .app-shell :is(.button,.add-button,.filter-pill,.metric-body,.dose-check,.settings-row,.recipe-row){transition:transform .12s,filter .12s}:root .app-shell :is(.button,.add-button,.filter-pill,.dose-check,.settings-row):active{transform:scale(.97)}:root .app-shell .dose-check.taken{animation:.25s check-pop}@keyframes check-pop{0%{transform:scale(.8)}60%{transform:scale(1.12)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){:root .app-shell *{transition:none!important;animation:none!important}}:root .app-shell :is(.history-layout,.stack,.settings-grid,.today-grid,.recipe-layout,.chart-grid)>*{min-width:0}:root .app-shell .chart-wrap{width:100%;min-width:0;overflow:hidden}:root .app-shell .chart-svg{width:100%;display:block}.summary-tiles{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.summary-value{white-space:nowrap}.summary-tile:has(.context-rows){grid-template-columns:auto 1fr;align-items:start;column-gap:16px;display:grid}.summary-tile:has(.context-rows)>:not(.context-rows){grid-column:1}.summary-tile:has(.context-rows) .context-rows{border-top:0;border-left:1px solid var(--ui-sep);grid-area:1/2/span 3;align-self:center;margin:0;padding:0 0 0 16px}.context-rows div{flex-direction:column;gap:0}@media(max-width:340px){.summary-tile:has(.context-rows){display:flex}.summary-tile:has(.context-rows) .context-rows{border-left:0;border-top:1px solid var(--ui-sep);margin-top:8px;padding:8px 0 0}}.context-rows dd .context-count{font-size:.85rem;display:block}:root .app-shell .source-line{color:var(--ui-text-2);margin:10px 0 0;font-size:.94rem;line-height:1.45}.source-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.source-list li{border-top:1px solid var(--ui-sep);flex-direction:column;gap:2px;padding-top:12px;display:flex}.source-list li:first-child{border-top:0;padding-top:0}.source-list a{align-items:center;gap:5px;min-height:32px;font-size:1.06rem;font-weight:600;text-decoration:none;display:inline-flex}.source-list span{color:var(--ui-text-2);font-size:.94rem;line-height:1.45}.source-list .source-publisher{font-weight:600}:root .app-shell .sources-card{margin-top:14px}.benefit-list{gap:10px;margin:0 0 10px;padding:0;list-style:none;display:grid}.benefit-list li{color:var(--ui-text);align-items:center;gap:12px;font-size:1rem;line-height:1.35;display:flex}.benefit-icon{background:var(--ui-tint-soft);width:32px;height:32px;color:var(--ui-tint);border-radius:10px;flex:none;place-items:center;display:grid}:root .app-shell .free-line{margin:0 0 14px}:root .app-shell .plan-option.best{border-color:var(--ui-tint);background:var(--ui-tint-soft)}.save-badge{background:var(--ui-green);color:#fff;vertical-align:2px;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:.75rem;font-weight:700;display:inline-block}:root .app-shell .plan-option small{font-size:.85rem}:root .app-shell .welcome-card{gap:12px;margin-bottom:14px;display:grid}:root .app-shell .welcome-card h2{margin:0}:root .app-shell .welcome-card .group-note{margin:-6px 0 0}.welcome-step{gap:8px;display:grid}.welcome-step strong{font-size:1.06rem}:root .app-shell .welcome-card .button.ghost{justify-self:start;margin-left:-10px}.reminder-list{gap:8px;margin:0 0 10px;padding:0;list-style:none;display:grid}.reminder-row{background:var(--ui-fill);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto 44px;align-items:center;gap:10px;padding:10px 12px;display:grid}.reminder-row.dose{grid-template-columns:minmax(0,1fr) auto;min-height:60px}.reminder-row input[type=time]{background:var(--ui-card);min-height:40px;color:var(--ui-text);font:inherit;border:0;border-radius:10px;padding:6px 8px;font-size:1rem;font-weight:600}.reminder-row .segmented{background:var(--ui-fill-strong);justify-self:start}@media screen and (prefers-color-scheme:dark){.reminder-row .segmented{background:var(--ui-card)}}:root .app-shell .reminder-row .filter-pill{min-height:34px;padding:4px 10px;font-size:.88rem}.reminder-dose{overflow-wrap:anywhere;cursor:pointer;flex-direction:column;gap:2px;min-width:0;display:flex}.reminder-dose strong{color:var(--ui-text);font-size:1.02rem}.reminder-dose span{color:var(--ui-text-2);font-size:.94rem}:root .app-shell .reminder-heading{margin-top:2px}:root .app-shell .reminder-empty{margin:0 0 10px}.switch{appearance:none;background:var(--ui-fill-strong);cursor:pointer;border-radius:999px;flex:none;width:51px;height:31px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:27px;height:27px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 2px 4px #0003}.switch:checked{background:var(--ui-green)}.switch:checked:after{transform:translate(20px)}.switch:focus-visible{outline:2px solid var(--ui-tint);outline-offset:2px}@media(max-width:520px){.reminder-row:not(.dose){grid-template-columns:auto 1fr 44px;grid-template-areas:"time switch remove""what what what"}.reminder-row:not(.dose) input[type=time]{grid-area:time}.reminder-row:not(.dose) .segmented{grid-area:what;justify-self:stretch;display:flex}.reminder-row:not(.dose) .segmented .filter-pill{flex:1}.reminder-row:not(.dose) .switch{grid-area:switch;justify-self:end}.reminder-row:not(.dose) .icon-button{grid-area:remove}}@media(prefers-reduced-motion:reduce){.switch,.switch:after{transition:none}}.log-actions{z-index:1;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px;display:grid;position:relative}.log-actions:empty{display:none}.log-button{min-height:54px;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:12px 14px;font-size:1.02rem;font-weight:700;display:flex;box-shadow:0 2px 8px #0000001f}.log-button.bp{color:var(--bp)}.log-button.glucose{color:var(--glu)}.log-button:active{transform:scale(.97)}@media(prefers-color-scheme:dark){.log-button{background:#1c1c1e}}.check-mark{color:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;display:grid}.check-row.bp .check-mark{background:var(--bp)}.check-row.glucose .check-mark{background:var(--glu)}.check-mark:not(.done){border:2px solid;background:0 0!important}.check-row.bp .check-mark:not(.done){color:var(--bp)}.check-row.glucose .check-mark:not(.done){color:var(--glu)}.check-action{flex:none}:root .app-shell .check-row .button.small{min-height:36px;padding:6px 16px}:root .app-shell .metric-grid.single{grid-template-columns:1fr}:root .app-shell .routine-prompt{margin-top:10px;text-decoration:none}:root .app-shell .check-row button.card-link{color:var(--ui-tint);font:inherit;cursor:pointer;background:0 0;border:0;padding:6px 4px;font-size:15px;font-weight:600}:root .app-shell .week-lead{margin:-4px 0 12px}.week-day{color:var(--ui-tint);font-size:15px;font-weight:700}.week-dots{grid-template-columns:repeat(7,1fr);gap:6px;margin:4px 0 12px;padding:0;list-style:none;display:grid}.week-dot{aspect-ratio:1;background:var(--ui-fill);width:100%;max-width:44px;color:var(--ui-text-2);border-radius:50%;justify-self:center;place-items:center;font-size:.88rem;font-weight:700;display:grid}.week-dot.complete{background:var(--ui-green);color:#fff}.week-dot.partial{background:var(--ui-tint-soft);color:var(--ui-tint);box-shadow:inset 0 0 0 2px var(--ui-tint)}.week-dot.future{color:var(--ui-text-3);box-shadow:inset 0 0 0 1.5px var(--ui-sep);background:0 0}.week-dot.current{outline:2px solid var(--ui-tint);outline-offset:2px}.week-today{color:var(--ui-text-2);margin:0 0 4px;font-size:.98rem;line-height:1.45}.week-today strong{color:var(--ui-text);font-weight:650}:root .app-shell .week-tips{color:var(--ui-text-2);margin:4px 0 8px;font-size:.94rem}.week-card .source-link{color:var(--ui-tint);align-items:center;gap:4px;margin-bottom:6px;font-size:.94rem;display:inline-flex}.week-card>.button.ghost{margin-top:8px}.week-averages{gap:8px;margin:0 0 4px;display:grid}.week-averages>div{background:var(--ui-fill);border-radius:12px;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 12px;display:flex}.week-averages dt{color:var(--ui-text-2);font-size:.94rem}.week-averages dd{text-align:right;flex-direction:column;margin:0;display:flex}.week-averages dd strong{color:var(--ui-text);font-variant-numeric:tabular-nums;font-size:1.12rem}.week-averages dd span{color:var(--ui-text-3);font-size:.82rem}.visit-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}@media(max-width:760px){.visit-grid{grid-template-columns:1fr}}.period-chips{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.chip-detail{opacity:.85;font-weight:400}:root .app-shell .visit-lead{margin:-4px 0 12px}:root .app-shell .visit-subtitle{margin:16px 0 8px}.visit-questions{border:1px solid var(--ui-sep);background:var(--ui-fill);width:100%;min-height:110px;color:var(--ui-text);font:inherit;resize:vertical;border-radius:12px;margin-top:10px;padding:10px 12px;font-size:1rem;line-height:1.45}.check-option{cursor:pointer;align-items:flex-start;gap:12px;display:flex}.check-option input{width:22px;height:22px;accent-color:var(--ui-tint);flex:none;margin:2px 0 0}.check-option>span{flex-direction:column;gap:2px;display:flex}.check-option strong{color:var(--ui-text);font-size:1rem}.check-option>span>span{color:var(--ui-text-2);font-size:.94rem}.group-icon.health{background:var(--bp)}:root .app-shell .health-lead{margin:-4px 0 12px}:root .app-shell a.settings-row{text-decoration:none}.week-averages dd strong.visit-dose{font-size:.98rem;font-weight:650}:root .app-shell .visit-empty p{margin:0 0 8px}:root .app-shell .visit-empty a.card-link{color:var(--ui-tint);font-weight:600}.week-compare{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin-top:14px}.week-compare caption{text-align:left;color:var(--ui-text-2);caption-side:top;padding-bottom:6px;font-size:.86rem}.week-compare th,.week-compare td{border-top:1px solid var(--ui-sep);text-align:right;padding:8px 4px;font-size:.94rem}.week-compare thead th{color:var(--ui-text-2);border-top:0;font-size:.82rem;font-weight:600}.week-compare tbody th{text-align:left;color:var(--ui-text-2);font-weight:500}.week-compare td{color:var(--ui-text);white-space:nowrap;font-weight:650}@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}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
