:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--theme-text,#172c28);background:var(--theme-base,#f2f6f4);font:16px/1.5 Inter,system-ui,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--theme-base:#101917;--theme-surface:#182521;--theme-raised:#20302a;--theme-field:#121e1a;--theme-tint:#234337;--theme-text:#eaf4ef;--theme-muted:#b4c8bf;--theme-accent:#9cdec3;--theme-border:#344940;--theme-strong-border:#617e71;--theme-primary:#246d56;--theme-primary-hover:#1c5846;--theme-focus:#92dfbe;--theme-focus-ring:#3f7b65;--theme-nav:#182521f5;--theme-shadow:#00000059;--theme-blue:#bad5f7;--theme-blue-bg:#22374c;--theme-warning:#f2d19b;--theme-warning-bg:#473927;--theme-error:#ffc0ad;--theme-error-bg:#462d28}:root[data-theme=dark] a{color:var(--theme-accent)}*{box-sizing:border-box}body{margin:0}main{width:min(100% - 3rem,88rem);margin:1.75rem auto}header,.section-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}h1,h2{margin:0;line-height:1.15}h1{letter-spacing:-.04em;font-size:clamp(2rem,5vw,3.25rem)}h2{font-size:1.4rem}header p{color:var(--theme-muted,#47655c);margin:.35rem 0 0}section{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#ceddd4);border-radius:1.1rem;margin-top:1.25rem;padding:clamp(1rem,3vw,1.65rem)}.unlock{max-width:32rem}label{gap:.25rem;margin:.65rem 0;display:grid}input,select,textarea,button{font:inherit;color:inherit;border:1px solid var(--theme-strong-border,#94aa9f);border-radius:.5rem;min-width:0;padding:.5rem .7rem}input,select,textarea{background:var(--theme-field,#fbfdfb);width:100%}textarea{min-height:5rem}button{background:var(--theme-primary,#17614e);border-color:var(--theme-primary,#17614e);color:#fff;cursor:pointer}button.secondary,button.attachment{background:var(--theme-tint,#e5f2ea);color:var(--theme-accent,#1b5142);border-color:var(--theme-strong-border,#b5d1c0)}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:3px solid var(--theme-focus,#256f5b);outline-offset:3px}#status:empty{display:none}#status{color:var(--theme-muted,#39594d);overflow-wrap:anywhere;margin:1rem 0}.actions details+details{border-top:1px solid var(--theme-border,#dce7df);margin-top:.75rem;padding-top:.75rem}summary{cursor:pointer;font-weight:650}.filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:0 .85rem;display:grid}.record-list{margin-top:.5rem}.record{border-top:1px solid var(--theme-border,#dce7df);padding:.85rem 0}.meta{color:var(--theme-muted,#47655c);margin-left:1.05rem;font-size:.9rem;font-weight:400;display:block}.notes{white-space:pre-wrap;overflow-wrap:anywhere;padding:.75rem 0 0}.attachment{margin:.6rem .4rem 0 0}.record-edit{max-width:24rem;margin-top:.75rem}.record-edit summary{color:var(--theme-muted,#47655c);font-size:.9rem}.diagnosis-source{padding:.5rem 0}.diagnosis-source small,.link-options small{color:var(--theme-muted,#47655c);display:block}.diagnosis-source p{white-space:pre-wrap;margin:.15rem 0}.link-options{max-height:19rem;padding-right:.25rem;overflow:auto}.link-options label{grid-template-columns:auto 1fr;align-items:baseline}.link-options input{width:auto}.inline-button{margin-left:.5rem}.trend{border-collapse:collapse;text-align:left;width:min(100%,30rem);margin:1rem 0}.trend caption{text-align:left;font-weight:650}.trend td,.trend th{border-bottom:1px solid var(--theme-border,#dce7df);padding:.35rem}.app-shell{width:min(100% - 3rem,78rem);padding-bottom:calc(5.5rem + env(safe-area-inset-bottom));margin-top:.9rem}:root:has(.med-nav){scroll-padding-bottom:calc(5.5rem + env(safe-area-inset-bottom))}.app-content{min-width:0}.app-topbar{border-bottom:1px solid var(--theme-border,#dce7e0);margin-bottom:.9rem;padding-bottom:.55rem}.service-brand{color:var(--theme-accent,#174e3e);letter-spacing:-.025em;background:0 0;border-color:#0000;align-items:center;gap:.5rem;padding:.2rem 0 .2rem .2rem;font-size:clamp(1rem,3.8vw,1.18rem);font-weight:760;display:inline-flex}.service-brand img,.service-logo{border-radius:.55rem;flex:none;display:block}.service-brand:hover{color:var(--theme-accent,#1b7157)}.locked-heading{align-items:center;gap:.7rem;display:flex}.profile-menu{z-index:12;position:relative}.profile-menu>summary{border:1px solid var(--theme-border,#d9e7de);background:var(--theme-surface,#fff);color:var(--theme-accent,#174e3e);border-radius:2rem;align-items:center;gap:.55rem;padding:.25rem .65rem .25rem .25rem;list-style:none;display:flex}.profile-menu>summary::-webkit-details-marker{display:none}.profile-menu[open]>summary{border-color:var(--theme-strong-border,#add3bd);background:var(--theme-raised,#f6fcf8)}.profile-menu-arrow{flex:none}.profile-menu[open] .profile-menu-arrow{transform:rotate(180deg)}.profile-avatar{width:2.35rem;height:2.35rem;color:var(--theme-accent,#17513e);background:var(--theme-tint,#d9f0e4);border-radius:50%;flex:none;place-items:center;display:inline-grid;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-avatar svg{width:58%;height:58%}.profile-menu-panel{border:1px solid var(--theme-border,#d6e3dc);background:var(--theme-surface,#fff);width:max-content;min-width:13.5rem;box-shadow:0 10px 30px var(--theme-shadow,#163e2f23);border-radius:.9rem;gap:.15rem;padding:.35rem;display:grid;position:absolute;top:calc(100% + .45rem);left:0}.profile-menu:not([open]) .profile-menu-panel{display:none}.profile-menu-panel button{color:var(--theme-muted,#21463a);text-align:left;background:0 0;border:0;padding:.65rem .7rem}.profile-menu-panel button:hover{background:var(--theme-tint,#edf5ef)}.theme-toggle{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.theme-toggle-track{border:1px solid var(--theme-strong-border,#799b8b);background:var(--theme-raised,#e8f2eb);border-radius:1rem;flex:none;align-items:center;width:2.25rem;height:1.25rem;padding:.12rem;display:flex}.theme-toggle-track:after{content:"";background:var(--theme-muted,#47655c);border-radius:50%;width:.9rem;height:.9rem}.theme-toggle[aria-checked=true] .theme-toggle-track{border-color:var(--theme-accent);background:var(--theme-tint);justify-content:flex-end}.theme-toggle[aria-checked=true] .theme-toggle-track:after{background:var(--theme-accent)}.profile-menu-panel .close-archive{border-top:1px solid var(--theme-border,#edf3ef)}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.profile-grid .feature-panel{margin:0}.profile-measurements{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.profile-photo-row{flex-wrap:wrap;align-items:center;gap:.85rem;margin-top:.45rem;display:flex}.profile-photo-row .profile-avatar{width:4.4rem;height:4.4rem}.profile-photo-row label{flex:12rem;min-width:0}.meal-reminder{border:1px solid var(--theme-strong-border,#b5d8c5);background:var(--theme-tint,#e7f5ed);border-radius:.85rem;flex-wrap:wrap;align-items:center;gap:.3rem .7rem;margin-bottom:.85rem;padding:.65rem .8rem;display:flex}.meal-reminder strong{margin-right:auto}@media (width<=44rem){.profile-grid{grid-template-columns:1fr}}.brand-mark{width:2.5rem;height:2.5rem;color:var(--theme-accent,#174e3e);background:var(--theme-tint,#cef2df);border-radius:.75rem;flex:none;place-items:center;font-size:1.55rem;line-height:1;display:grid}.medcard-login{place-items:center;min-height:100dvh;padding:1.25rem;display:grid}.medcard-login-panel{border:1px solid var(--theme-border,#d6e4db);background:var(--theme-surface,#fff);width:min(100%,25rem);box-shadow:0 .7rem 2.5rem var(--theme-shadow,#163e2f14);border-radius:1.2rem;padding:clamp(1.25rem,6vw,2rem)}.medcard-login-panel h1{margin:1.1rem 0;font-size:1.6rem}.medcard-login-panel form{gap:.75rem;display:grid}.medcard-login-panel label{margin:0}.medcard-login-panel input,.medcard-login-panel button{min-height:2.75rem}.locked-shell{max-width:37rem;margin-top:10vh}.locked-heading{justify-content:flex-start}.locked-heading h1{font-size:clamp(1.75rem,5vw,2.35rem)}.locked-shell .unlock{max-width:none}.archive-startup{z-index:100;text-align:center;background:radial-gradient(ellipse at 50% 59%, var(--theme-surface,#fff) 0%, var(--theme-raised,#f5faf7) 36%, var(--theme-base,#edf5f0) 85%);place-content:center;place-items:center;gap:.85rem;display:grid;position:fixed;inset:0}.archive-startup[hidden]{display:none}.archive-startup:not([hidden])+#root{visibility:hidden}.archive-startup-person{aspect-ratio:230/512;height:min(56dvh,22rem);color:var(--theme-accent,#26765c);position:relative}.startup-figure-base,.startup-figure-fill,.startup-figure-fill>*{width:100%;height:100%;position:absolute;inset:0}.startup-figure-base{opacity:.24}.archive-startup-person svg{fill:currentColor}.startup-photo{visibility:hidden}.has-photo .startup-photo{visibility:visible}.has-photo .archive-startup-person svg{visibility:hidden}.startup-figure-fill{clip-path:inset(100% 0 0)}.is-filling .startup-figure-fill{animation:2.28s cubic-bezier(.25,.45,.45,1) forwards archive-fill}.is-ready .startup-figure-fill{animation:.22s ease-out forwards archive-finish}@keyframes archive-fill{0%{clip-path:inset(100% 0 0)}to{clip-path:inset(8% 0 0)}}@keyframes archive-finish{0%{clip-path:inset(8% 0 0)}to{clip-path:inset(0)}}.archive-startup p{color:var(--theme-muted,#47655c);margin:0;font-size:.95rem;font-weight:600}@media (prefers-reduced-motion:reduce){.archive-startup .startup-figure-fill{clip-path:inset(0);animation:none}}.med-nav{z-index:20;padding:.45rem max(.35rem, env(safe-area-inset-right)) calc(.45rem + env(safe-area-inset-bottom)) max(.35rem, env(safe-area-inset-left));background:var(--theme-nav,#fffffff2);border-top:1px solid var(--theme-border,#d6e3dc);box-shadow:0 -6px 28px var(--theme-shadow,#163e2f12);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:fixed;inset:auto 0 0}.med-nav-items{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(.08rem,1vw,.55rem);max-width:42rem;margin-inline:auto;display:grid}.med-nav button,.close-archive{color:var(--theme-muted,#4b645b);background:0 0;border-color:#0000;font-weight:640}.med-nav button{white-space:nowrap;border-radius:.8rem;align-content:center;justify-items:center;gap:.18rem;min-height:3.25rem;padding:.18rem 0;font-size:clamp(.625rem,2.8vw,.8rem);line-height:1.15;display:grid}.nav-symbol{border-radius:1rem;place-items:center;width:min(100%,2.85rem);height:1.75rem;display:grid}.nav-symbol svg{width:1.23rem;height:1.23rem}.med-nav button[aria-current=page]{color:var(--theme-accent,#104b37);font-weight:750}.med-nav button[aria-current=page] .nav-symbol{background:var(--theme-tint,#d8f1e3)}@media (hover:hover){.med-nav button:hover,.close-archive:hover{background:var(--theme-tint,#edf5ef);color:var(--theme-accent,#104b37)}}.med-nav button.med-nav-home{background:var(--theme-primary,#17614e);color:#fff;width:3rem;height:3rem;min-height:0;box-shadow:0 3px 9px var(--theme-shadow,#17614e35);border-radius:50%;place-self:center;padding:0}.med-nav .med-nav-home .nav-symbol,.med-nav .med-nav-home[aria-current=page] .nav-symbol{background:0 0;width:auto}.med-nav-home .nav-symbol svg{width:1.5rem;height:1.5rem}.med-nav button.med-nav-home[aria-current=page]{box-shadow:0 0 0 3px var(--theme-focus-ring,#d2eee0)}@media (hover:hover){.med-nav button.med-nav-home:hover{background:var(--theme-primary-hover,#104b37)}}.close-archive{padding:.4rem .6rem;font-size:.85rem}.dashboard{gap:1rem;display:grid}.dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.dashboard-metric{text-align:left;background:var(--theme-surface,#fff);color:var(--theme-text,#172c28);border:1px solid var(--theme-border,#dce7e0);border-radius:1.05rem;gap:.18rem;padding:clamp(.9rem,1.6vw,1.25rem);display:grid}.dashboard-metric:hover{background:var(--theme-raised,#f9fffb);border-color:var(--theme-strong-border,#8bbda7)}.metric-title{justify-content:space-between;align-items:baseline;gap:.5rem;font-weight:680;display:flex}.metric-arrow{color:var(--theme-accent,#327961)}.dashboard-metric strong{letter-spacing:-.04em;font-size:clamp(1.9rem,4vw,2.65rem);font-weight:760;line-height:1.2}.dashboard-metric small{color:var(--theme-muted,#4b645b);font-size:.84rem}.dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1rem;display:grid}.dashboard-panel{border-color:var(--theme-border,#dce7e0);margin:0;padding:clamp(.95rem,2vw,1.4rem)}.panel-title{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem .85rem;display:flex}.panel-title h2{letter-spacing:-.025em;font-size:1.22rem;font-weight:740}.text-button{color:var(--theme-accent,#146047);background:0 0;border:0;padding:.2rem 0;font-size:.86rem;font-weight:700}.text-button:hover{text-decoration:underline}.panel-subtitle,.panel-empty,.trends-panel p{color:var(--theme-muted,#4b645b);margin:.45rem 0 1rem;font-size:.9rem}.dashboard-list{margin:.55rem 0 0;padding:0;list-style:none}.dashboard-list li+li{border-top:1px solid var(--theme-border,#e7eee9)}.dashboard-row{color:var(--theme-text,#172c28);text-align:left;background:0 0;border:0;align-items:center;gap:.55rem;width:100%;min-height:3.5rem;padding:.55rem .15rem;display:flex}.dashboard-row:hover{background:var(--theme-raised,#f2f8f4)}.row-symbol{width:1.9rem;height:1.9rem;color:var(--theme-accent,#216e55);background:var(--theme-tint,#e4f4ea);border-radius:.55rem;flex:none;place-items:center;font-size:1.2rem;font-weight:750;display:grid}.row-title{overflow-wrap:anywhere;flex:1;min-width:0}.row-title strong{font-size:.925rem;line-height:1.3;display:block}.row-title small,.row-date{color:var(--theme-muted,#4b645b);font-size:.79rem;display:block}.row-date{flex:none}.row-chevron{color:var(--theme-accent,#327961);font-size:1.25rem}.history-range{color:var(--theme-muted,#3e5c51);font-size:.825rem}.history-chart{grid-template-columns:repeat(12,minmax(0,1fr));gap:.2rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}.history-chart li{place-items:end center;gap:.2rem;min-width:0;display:grid}.history-count,.history-month{color:var(--theme-muted,#455f55);font-size:.66rem}.history-count{font-variant-numeric:tabular-nums}.history-track{width:100%;height:6.5rem;position:relative}.history-track progress{appearance:none;background:var(--theme-raised,#e9f2ec);border:none;border-radius:.2rem;width:6.5rem;height:.5rem;display:block;position:absolute;top:calc(50% - .25rem);left:calc(50% - 3.25rem);transform:rotate(-90deg)}.history-track progress::-webkit-progress-bar{background:var(--theme-raised,#e9f2ec);border-radius:.2rem}.history-track progress::-webkit-progress-value{background:#389575;border-radius:.2rem}.history-track progress::-moz-progress-bar{background:#389575;border-radius:.2rem}.trends-panel button{font-size:.9rem}#followup-target{scroll-margin-top:1rem}.results-page{background:0 0;border:0;margin-top:0;padding:0}.diagnosis-navigation{top:env(safe-area-inset-top,0px);z-index:10;background:var(--theme-base,#f2f6f4);margin-bottom:.45rem;padding:.5rem 0;position:sticky}.diagnosis-navigation>button{min-height:44px}.results-page .results-heading{margin:.35rem 0 .95rem}.results-heading h2{letter-spacing:-.045em;font-size:clamp(1.75rem,4vw,2.6rem)}.results-heading>span{color:var(--theme-muted,#49645a);font-variant-numeric:tabular-nums;font-size:.88rem}.results-heading-labs{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.15rem .6rem;display:grid}.results-heading-labs h2{white-space:nowrap;font-size:clamp(1.3rem,5.2vw,2.6rem)}.results-heading-labs>span{grid-column:1/-1}.results-heading-labs>button{white-space:nowrap;padding:.45rem .65rem;font-size:clamp(.78rem,3.4vw,1rem)}.results-filters{border:1px solid var(--theme-border,#dce7e0);background:var(--theme-surface,#fff);border-radius:1.05rem 1.05rem 0 0;padding:.55rem 1rem .05rem}.results-filters-compact{border-radius:1rem;gap:.48rem;padding:.65rem;display:grid}.results-filters-compact>input{min-height:2.65rem;padding-block:.45rem}.result-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1.14fr) minmax(0,1.14fr) 2.75rem;gap:.4rem;display:grid;position:relative}.diagnosis-search-row{grid-template-columns:minmax(0,1fr) 2.75rem;margin-bottom:.85rem}.diagnosis-search-row .result-filter-panel{width:min(100%,16rem);padding:.35rem}.diagnosis-search-row .diagnosis-filter-list{max-height:min(20rem,44vh)}.diagnosis-duplicates ul{margin:.5rem 0 0;padding:0;list-style:none}.diagnosis-duplicates li{border-top:1px solid var(--theme-border,#dce7e0);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.55rem 0;display:flex}.diagnosis-duplicates small{color:var(--theme-muted,#48645a);display:block}.result-filter-popup{min-width:0}.result-filter-popup>summary{border:1px solid var(--theme-strong-border,#94aa9f);background:var(--theme-field,#fbfdfb);border-radius:.5rem;justify-content:space-between;align-items:center;gap:.25rem;min-height:2.65rem;padding:.25rem .4rem;font-size:clamp(.77rem,2.85vw,.88rem);font-weight:550;list-style:none;display:flex}.result-filter-popup>summary::-webkit-details-marker{display:none}.result-filter-popup>summary.result-filter-icon{justify-content:center;padding:0}.result-filter-popup>summary>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.filter-chevron{border:1.5px solid;border-width:0 1.5px 1.5px 0;flex:none;width:.42rem;height:.42rem;margin-top:-.18rem;transform:rotate(45deg)}.result-filter-popup[open] .filter-chevron{transform:translateY(.18rem)rotate(225deg)}.result-filter-row [data-selected],.result-filter-popup[open]>summary{background:var(--theme-tint,#edf7f1);border-color:var(--theme-strong-border,#8ab7a2);color:var(--theme-accent,#174d3d)}.result-filter-panel{z-index:5;border:1px solid var(--theme-border,#d6e4db);background:var(--theme-surface,#fff);width:min(100%,25rem);box-shadow:0 6px 24px var(--theme-shadow,#163e2f26);border-radius:.85rem;padding:.75rem .85rem;position:absolute;top:calc(100% + .35rem);right:0}.result-filter-panel>label{margin:0 0 .55rem}.diagnosis-filter-list{overscroll-behavior:contain;grid-template-columns:minmax(0,1fr);gap:.2rem;max-height:min(18rem,34vh);padding:.2rem;display:grid;overflow:hidden auto}.diagnosis-filter-list button{background:var(--theme-surface,#fff);min-width:0;min-height:2.5rem;color:inherit;text-align:left;white-space:nowrap;text-overflow:ellipsis;border-color:#0000;padding:.35rem .55rem;font-size:.88rem;overflow:hidden}.diagnosis-filter-list button:hover,.diagnosis-filter-list button[aria-pressed=true]{background:var(--theme-tint,#edf7f1);color:var(--theme-accent,#174d3d)}.filter-selection-count{vertical-align:baseline;color:var(--theme-accent,#17634c);margin-inline-start:.2rem;font-weight:750}.bacteria-filter>input{margin:0}.filter-choice-tools{flex-wrap:wrap;justify-content:space-between;gap:.15rem .75rem;display:flex}.filter-choice-tools button{min-height:2.35rem;padding-inline:0;font-size:.83rem}.filter-choice-list{overscroll-behavior:contain;max-height:min(12rem,30vh);overflow:auto}.filter-choice{border-top:1px solid var(--theme-border,#e3ede7);gap:.55rem;min-height:2.5rem;margin:0;padding:.25rem .3rem;font-size:.88rem}.filter-choice input{accent-color:var(--theme-focus,#17634c)}.filter-choice .result-kind-icon{color:var(--theme-accent,#17634c)}.bacteria-option-count{background:var(--theme-tint,#edf7f1);color:var(--theme-accent,#245b4b);border-radius:1rem;margin-inline-start:auto;padding:.12rem .4rem;font-size:.75rem}.filter-choice-list>p,.bacteria-filter-note{color:var(--theme-muted,#455f56);margin:.5rem 0;font-size:.8rem}.range-calendar-month{text-align:center;grid-template-columns:2.35rem 1fr 2.35rem;align-items:center;gap:.35rem;display:grid}.range-calendar-month button{min-height:2.35rem;padding:0;font-size:1.35rem;line-height:1}.range-calendar-jump{grid-template-columns:minmax(0,1fr) auto;gap:.3rem;min-width:0;display:grid}.range-calendar-jump select{min-width:0;min-height:2.35rem;padding:.3rem .25rem;font-size:clamp(.77rem,3.2vw,.95rem)}.range-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:.15rem;margin-top:.55rem;display:grid}.range-weekday{text-align:center;color:var(--theme-muted,#49645a);font-size:.72rem;font-weight:650}.range-calendar-day{min-height:2.1rem;color:var(--theme-muted,#21463a);font-variant-numeric:tabular-nums;background:0 0;border-color:#0000;grid-template-rows:.95rem .8rem;align-content:center;place-items:center;padding:.1rem 0;font-size:.88rem;display:grid}.range-day-count{background:var(--theme-tint,#d7eee1);min-width:.9rem;color:var(--theme-accent,#124937);border-radius:1rem;padding:0 .18rem;font-size:.625rem;font-weight:750;line-height:.8rem}.range-calendar-day[aria-pressed=true] .range-day-count{background:var(--theme-tint,#edfff5)}.range-calendar-day[aria-current=date]{border-color:var(--theme-strong-border,#8dbba8)}.range-calendar-day[data-in-range=true]{background:var(--theme-tint,#e4f4eb)}.range-calendar-day[aria-pressed=true]{color:#fff;background:var(--theme-primary,#17614e);font-weight:700}@media (hover:hover){.range-calendar-day:not([aria-pressed=true]):hover{background:var(--theme-raised,#eff7f2)}}.range-calendar-status{min-height:1.3rem;color:var(--theme-muted,#49645a);margin:.45rem 0 0;font-size:.78rem}.result-filter-actions{justify-content:flex-end;gap:.5rem;margin-top:.55rem;display:flex}.results-trends,.results-originals{border:1px solid var(--theme-border,#dce7e0);background:var(--theme-surface,#fff);border-radius:.85rem;margin:.85rem 0;padding:.75rem 1rem}.results-trends>.record{border:0;padding:0}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.result-card{border:1px solid var(--theme-border,#dce7e0);background:var(--theme-surface,#fff);overflow-wrap:anywhere;border-radius:1rem;min-width:0;margin:0 0 .55rem}.results-grid .result-card{margin:0}.results-grid .result-card[open]{grid-column:1/-1}.result-card:hover{border-color:var(--theme-strong-border,#9bc5b3)}.result-card[open]{border-color:var(--theme-strong-border,#8dbba8)}.result-summary{flex-direction:column;gap:.7rem;height:100%;padding:1rem 1rem .8rem;list-style:none;display:flex}.result-summary::-webkit-details-marker{display:none}.result-card[open] .result-summary{height:auto}.result-top,.result-footer{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.45rem .75rem;display:flex}.result-top{color:var(--theme-muted,#48645a);font-size:.81rem;font-weight:550}.result-type{color:var(--theme-accent,#1c6249);background:var(--theme-tint,#e4f5eb);border-radius:.4rem;padding:.13rem .5rem;font-weight:730}.result-type-study{color:var(--theme-blue,#34527b);background:var(--theme-blue-bg,#eaf1fb)}.result-kind-badge{align-items:center;gap:.35rem;max-width:100%;display:inline-flex}.result-kind-icon{flex:none;width:1.15rem;height:1.15rem}.result-title{color:var(--theme-text,#172f29);font-size:1.075rem;font-weight:740;line-height:1.33;display:block}.result-summary-compact{gap:.33rem;padding:.65rem .8rem .6rem}.result-summary-compact .result-top{gap:.18rem .45rem}.result-summary-compact .result-title{font-size:1rem;line-height:1.3}.result-summary-compact .result-footer{padding-top:.25rem}.result-filter-match{color:var(--theme-muted,#48645a);gap:.1rem;font-size:.76rem;display:grid}.result-filter-match>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.result-excerpt,.result-report{background:var(--theme-raised,#f3f7f5);border-radius:.55rem;gap:.12rem;padding:.55rem .65rem;display:grid}.result-excerpt small{color:var(--theme-muted,#365f51);font-size:.77rem;font-weight:700}.result-quote{-webkit-line-clamp:3;color:var(--theme-muted,#425d52);-webkit-box-orient:vertical;font-size:.86rem;font-weight:450;display:-webkit-box;overflow:hidden}.result-empty{color:var(--theme-muted,#52695f);margin:0;font-size:.85rem;font-weight:440}.result-footer{border-top:1px solid var(--theme-border,#ebf1ed);color:var(--theme-muted,#4b645b);margin-top:auto;padding-top:.55rem;font-size:.78rem;font-weight:540}.result-action{white-space:nowrap;color:var(--theme-accent,#176248);font-weight:720}.result-close,.result-card[open]>.result-summary .result-open{display:none}.result-card[open]>.result-summary .result-close{display:inline}.result-body{padding:0 1rem 1rem}.result-source{color:var(--theme-muted,#48645a);margin:0 0 .8rem;font-size:.84rem}.result-report{padding:.75rem}.result-report p{margin:0}.result-table-wrap{border:1px solid var(--theme-border,#e0ebe4);border-radius:.65rem;overflow-x:auto}.result-table{border-collapse:collapse;width:100%;font-size:.88rem}.result-table caption{text-align:left;padding:.65rem .7rem;font-size:.94rem;font-weight:740}.result-table th,.result-table td{text-align:left;vertical-align:top;border-top:1px solid var(--theme-border,#e5eee8);padding:.45rem .65rem}.result-table thead{background:var(--theme-raised,#f3f7f5);color:var(--theme-muted,#395e50)}.result-table tbody th{width:42%;font-weight:580}.result-table td small{color:var(--theme-muted,#4c645a);display:block}.result-original{background:var(--theme-raised,#f5f8f6);border-radius:.5rem;max-width:none;padding:.55rem .65rem}.result-tools{gap:.4rem;margin-top:.75rem;display:grid}.result-tool-bar{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:.35rem;display:grid}.result-tool-bar button{border-color:var(--theme-border,#d6e4db);background:var(--theme-raised,#f3f7f5);min-height:3.25rem;color:var(--theme-muted,#365f51);white-space:nowrap;align-content:center;justify-items:center;gap:.2rem;padding:.32rem .15rem;font-size:.75rem;font-weight:660;display:grid}.result-tool-bar button svg{width:1.2rem;height:1.2rem}.result-tool-bar button:hover,.result-tool-bar button[aria-expanded=true]{border-color:var(--theme-strong-border,#8dbba8);background:var(--theme-tint,#dff2e7);color:var(--theme-accent,#174e3e)}.result-tool-panel{border:1px solid var(--theme-border,#d6e4db);border-radius:.65rem;padding:.55rem .75rem .75rem}.results-no-match{background:var(--theme-surface,#fff);color:var(--theme-muted,#48645a);border-radius:.85rem;padding:.85rem 1rem}.diagnosis-preliminary{color:var(--theme-warning,#714b16);background:var(--theme-warning-bg,#fff1d8)}.diagnosis-badges{flex-wrap:wrap;gap:.3rem;display:flex}.diagnosis-status-controls{flex-wrap:wrap;gap:.6rem 1.15rem;margin:.25rem 0 .75rem;display:flex}.diagnosis-status-controls>label{margin:0;font-weight:650}.diagnosis-card[data-healed=true]{border-color:var(--theme-strong-border,#a8cdb9);background:var(--theme-raised,#eaf6ef)}.diagnosis-card[data-healed=true] .diagnosis-dates{background:var(--theme-raised,#f6fcf8)}.diagnosis-card[data-just-healed=true]{animation:.45s cubic-bezier(.2,.75,.2,1) both diagnosis-settle}@keyframes diagnosis-settle{0%{opacity:.65;transform:translateY(-1.15rem)}to{opacity:1;transform:translateY(0)}}.healed-celebration{z-index:90;pointer-events:none;position:fixed;inset:0;overflow:hidden}.healed-celebration-glow,.healed-celebration-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.healed-celebration-glow{aspect-ratio:1;background:radial-gradient(circle,#61efbb66 0%,#41d0ab33 38%,#0000 70%);width:min(100vmin,32rem);animation:1.65s ease-out both healed-glow}@keyframes healed-glow{0%{opacity:0;transform:translate(-50%,-50%)scale(.25)}30%{opacity:1}to{opacity:0;transform:translate(-50%,-50%)scale(1.65)}}.healed-celebration-label{color:#fff;background:#12614a;border:2px solid #aff8d7;border-radius:2rem;padding:.55rem 1.2rem;font-size:clamp(1.2rem,5.5vw,2rem);font-weight:800;animation:1.65s ease-out both healed-label;box-shadow:0 .35rem 1.2rem #124f4480,0 0 1.6rem #42d9ab66}@keyframes healed-label{0%{opacity:0;transform:translate(-50%,-50%)scale(.7)}19%,70%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-50%)scale(1.08)}}.healed-pill{--pill-color:#04c590;--pill-tip:#baffeb;aspect-ratio:2;background:linear-gradient(180deg, #fff9, transparent 48%, #172c2826), linear-gradient(90deg, var(--pill-color) 50%, var(--pill-tip) 50%);width:clamp(1.6rem,7.5vw,3.15rem);box-shadow:0 2px 8px #10191766, 0 0 8px var(--pill-color);opacity:0;border:1px solid #ffffffe0;border-radius:100px;position:absolute;top:50%;left:50%}.healed-pill:nth-child(5n+1){--pill-color:#ff4f7d;--pill-tip:#ffd0e0}.healed-pill:nth-child(5n+2){--pill-color:#ff9b12;--pill-tip:#fff098}.healed-pill:nth-child(5n+3){--pill-color:#7955ff;--pill-tip:#e0d5ff}.healed-pill:nth-child(5n+4){--pill-color:#16a8fa;--pill-tip:#c5f4ff}@media (prefers-reduced-motion:reduce){.healed-celebration{display:none}.diagnosis-card[data-just-healed=true]{animation:none}}.diagnosis-code{color:var(--theme-blue,#36576a);background:var(--theme-blue-bg,#eef4f7);border-radius:.4rem;padding:.13rem .45rem;font-weight:700}.diagnosis-dates{background:var(--theme-raised,#f3f7f5);color:var(--theme-muted,#22493d);border-radius:.55rem;flex-wrap:wrap;gap:.5rem 1.25rem;padding:.55rem .65rem;font-size:.86rem;display:flex}.diagnosis-dates small{color:var(--theme-muted,#4e675d);font-size:.75rem;font-weight:540;display:block}.diagnosis-body>h3{margin:.9rem 0 .55rem;font-size:1rem}.archive-heading{margin:.35rem 0 .95rem}.archive-actions{border-color:var(--theme-border,#dce7e0);margin:0 0 1rem;padding:.65rem 1rem}.archive-actions>details{padding:.2rem 0}.archive-actions>details>summary{font-size:.9rem}.archive-actions form{padding:.35rem 0 .65rem}.archive-filters{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#dce7e0);border-radius:.85rem;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));margin-bottom:.85rem;padding:.3rem .85rem}.archive-count{color:var(--theme-muted,#49645a);margin-bottom:.4rem;font-size:.88rem}.archive-more{color:var(--theme-muted,#49645a);flex-wrap:wrap;justify-content:center;align-items:center;gap:.7rem;margin-top:.85rem;font-size:.87rem;display:flex}.archive-card[open]>.result-summary .result-excerpt,.archive-card[open]>.result-summary .result-empty{display:none}.body-map{padding:clamp(1rem,2.4vw,1.55rem)}.body-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:1rem;margin-top:.75rem;display:grid}.body-viewer{border:1px solid var(--theme-border,#e0eee7);background:radial-gradient(ellipse at 50% 42%, var(--theme-surface,#fafffc), var(--theme-base,#e8f4ee) 78%);border-radius:.95rem;min-width:0;position:relative;overflow:hidden}.body-canvas{cursor:grab;touch-action:pan-y;width:100%;height:clamp(20rem,41vw,28rem);display:block}.body-canvas:active{cursor:grabbing}.body-canvas:focus-visible{outline-offset:-4px}:is(.body-canvas[tabindex="-1"],.body-viewer:has(.body-unavailable) .body-controls){display:none}.body-controls{flex-wrap:wrap;justify-content:center;gap:.35rem;padding:.4rem .55rem .75rem;display:flex}.body-controls button{padding:.36rem .55rem;font-size:.84rem}.body-controls button[aria-pressed=true]{background:var(--theme-tint,#d4efdf);border-color:var(--theme-strong-border,#82b59d);color:var(--theme-accent,#174e3e)}.body-photo-heading{color:var(--theme-muted,#48645a);justify-content:space-between;gap:.5rem;padding:.8rem 1rem .2rem;font-size:.8rem;display:flex}.body-photo-heading span:first-child{color:var(--theme-accent,#183f32);font-weight:650}.body-photo{touch-action:pan-y;-webkit-user-select:none;user-select:none;width:100%;height:clamp(25rem,47vw,35rem);display:block}.body-original-photo{border-radius:.75rem;width:calc(100% - 2rem);height:clamp(25rem,47vw,35rem);margin:.5rem auto;display:block;overflow:hidden}.body-photo-pin{cursor:pointer;outline:none}.body-pin-halo{fill:#fff8;stroke:#fff;stroke-width:2px}.body-pin-dot{fill:#bf512c;stroke:#fff;stroke-width:2px}.body-photo-pin[aria-pressed=true] .body-pin-halo,.body-photo-pin:focus-visible .body-pin-halo{stroke:#813213;stroke-width:4px;fill:#ffe3cc}.body-photo-footer{justify-content:space-between;align-items:center;gap:.4rem;padding:.2rem .9rem .8rem;display:flex}.body-photo-footer small,.body-photo-note{color:var(--theme-muted,#48645a);font-size:.72rem}.body-photo-footer button{flex-shrink:0;font-size:.78rem}.body-photo-note{text-align:center;margin:0 .8rem .7rem}.body-unavailable{color:var(--theme-muted,#4b645b);margin:0;padding:.8rem}.body-map-side{min-width:0}.body-map-side>p{color:var(--theme-muted,#48645a);margin:0 0 .7rem;font-size:.9rem}.body-region-list{flex-wrap:wrap;gap:.35rem;display:flex}.body-region-list button{text-align:left;background:var(--theme-raised,#f4f9f6);border-color:var(--theme-border,#d8e8de);padding:.28rem .52rem;font-size:.8rem}.body-region-list button[aria-pressed=true]{background:var(--theme-tint,#d4efdf);border-color:var(--theme-strong-border,#82b59d);color:var(--theme-accent,#174e3e)}.body-region-details{background:var(--theme-raised,#f6faf8);border:1px solid var(--theme-border,#e3eee7);border-radius:.7rem;margin:.65rem 0;padding:.65rem .75rem}.body-region-details h3{margin:0;font-size:.9rem}.body-region-details ul,.body-edited-list{margin:.25rem 0 0;padding:0;list-style:none}.body-region-details li+li{border-top:1px solid var(--theme-border,#e1eee6);margin-top:.18rem;padding-top:.18rem}.body-region-details button{text-align:left;overflow-wrap:anywhere}.body-preliminary{color:var(--theme-warning,#785521);display:block}.body-map-side .body-note{font-size:.8rem}.body-editor{max-width:none}.body-editor form{margin-top:.35rem}.body-edited-list li{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}@media (width<=66rem){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.history-panel{order:1}}@media (width<=53rem){.results-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=59rem){.body-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=44rem){main{width:min(100% - 1.2rem,88rem);margin:.65rem auto}.app-shell{width:min(100% - 1.2rem,78rem);margin-top:.45rem}.app-topbar{margin-bottom:.65rem;padding-bottom:.3rem}.dashboard-metrics{gap:.45rem}.dashboard-metric{gap:.14rem;padding:.65rem}.metric-title{gap:.2rem;min-height:2.2rem;font-size:.8rem;line-height:1.2}.dashboard-metric small{font-size:.72rem}.dashboard-row{gap:.4rem}.row-symbol{display:none}.locked-shell{margin-top:7vh}.archive-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-filters>label:first-child{grid-column:1/-1}}.feature-heading{justify-content:space-between;align-items:end;gap:1rem;margin:.3rem 0 1.3rem;display:flex}.feature-heading h1{letter-spacing:-.045em;margin:0;font-size:clamp(1.8rem,4vw,2.65rem)}.feature-heading p{color:var(--theme-muted,#526e62);margin:.35rem 0 0}.feature-heading .eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--theme-accent,#39765f);margin-bottom:.5rem;font-size:.7rem;font-weight:700}.feature-heading>label{min-width:10rem}.feature-panel{border:1px solid var(--theme-border,#dce8e0);background:var(--theme-surface,white);border-radius:1.15rem;min-width:0;margin:0 0 1rem;padding:clamp(1rem,2vw,1.5rem)}.feature-panel h2{margin:0 0 1rem;font-size:1.15rem}.feature-panel form{gap:.65rem;display:grid}.feature-panel textarea{min-height:5rem}.feature-panel .filters{border:0;margin:0;padding:0}.feature-actions{flex-wrap:wrap;align-items:end;gap:.6rem;display:flex}.feature-actions button{margin:0}.field-help{color:var(--theme-muted,#587065);margin:.3rem 0;font-size:.82rem}.form-error{color:var(--theme-error,#9a3823);background:var(--theme-error-bg,#fff2ec);border-radius:.6rem;padding:.65rem;font-size:.9rem}.diagnosis-save-error{z-index:30;inset-inline:1rem;bottom:calc(5rem + env(safe-area-inset-bottom));max-width:35rem;box-shadow:0 4px 18px var(--theme-shadow,#163e2f26);border:1px solid;justify-content:space-between;align-items:center;gap:.7rem;margin-inline:auto;display:flex;position:fixed}.diagnosis-save-error button{color:inherit;flex:none}.success-message{color:var(--theme-accent,#1f674b);background:var(--theme-tint,#eaf8f0);border-radius:.6rem;padding:.65rem;font-size:.9rem}.nutrition-totals{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.nutrition-totals>div{border:1px solid var(--theme-border,#dce8e0);background:var(--theme-surface,#fff);border-radius:1rem;gap:.4rem;padding:1rem;display:grid}.nutrition-totals small{color:var(--theme-muted,#5a7467);font-size:.75rem}.nutrition-totals strong{font-size:1.8rem;line-height:1.2}.nutrition-totals strong span{color:var(--theme-muted,#587065);font-size:.8rem;font-weight:400}.nutrition-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:1rem;display:grid}.nutrition-numbers{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.feature-empty{text-align:center;color:var(--theme-muted,#587065);padding:2.5rem 1rem}.feature-empty>span{color:var(--theme-accent,#5d9b7e);font-size:2.6rem;display:block}.feature-empty h3{color:var(--theme-text,#284c3c)}.meal-card{border-left:3px solid var(--theme-strong-border,#78b697);margin-bottom:1rem;padding:.5rem 0 .9rem 1rem}.meal-card h3{white-space:pre-wrap;overflow-wrap:anywhere;margin:.65rem 0 .3rem;font-size:1.05rem}.meal-card time{color:var(--theme-muted,#607b6b);font-size:.85rem}.meal-macros{color:var(--theme-muted,#446b58);flex-wrap:wrap;gap:.35rem .8rem;margin:.6rem 0;font-size:.75rem;display:flex}.meal-notes{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--theme-raised,#f4f8f5);border-radius:.55rem;padding:.65rem;font-size:.85rem}.deleted-meal{border-top:1px solid var(--theme-border,#e0ebe4);justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem 0;font-size:.8rem;display:flex}.deleted-meal span{overflow-wrap:anywhere}.photo-drop{text-align:center;border:1px dashed var(--theme-strong-border,#8ab69f);background:var(--theme-raised,#f3faf6);border-radius:.9rem;justify-items:center;gap:.65rem;padding:1.6rem 1rem;display:grid}.photo-drop>span:not(.upload-symbol){color:var(--theme-muted,#587065);font-size:.8rem}.photo-drop input{background:var(--theme-surface,#fff);max-width:100%}.upload-symbol{background:var(--theme-tint,#d9f0e3);width:2.7rem;height:2.7rem;color:var(--theme-accent,#326e50);border-radius:50%;font-size:1.7rem;line-height:2.7rem}.photo-upload-panel .feature-actions{justify-content:space-between}.photo-upload-panel .feature-actions label{min-width:12rem}.import-jobs{margin:1rem 0 0;padding:0;list-style:none}.import-jobs li{border-top:1px solid var(--theme-border,#e0ebe4);overflow-wrap:anywhere;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;padding:.75rem 0;font-size:.85rem;display:flex}.import-jobs li span{color:var(--theme-muted,#526e62)}.import-jobs li[data-state=error] span{color:var(--theme-error,#a1402c)}.import-jobs li[data-state=working]{background:var(--theme-raised,#f3faf6)}.imported-report{border:1px solid var(--theme-border,#e0ebe4);border-radius:.8rem;margin:.7rem 0;overflow:hidden}.imported-report>summary{cursor:pointer;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;padding:1rem;display:flex}.imported-report>summary>span:first-child{gap:.3rem;min-width:0;display:grid}.imported-report strong{overflow-wrap:anywhere;font-size:.95rem}.imported-report small{color:var(--theme-muted,#647c6e);overflow-wrap:anywhere;font-size:.75rem}.review-badge{background:var(--theme-warning-bg,#fff2d8);width:fit-content;color:var(--theme-warning,#7b5b21);border-radius:.45rem;padding:.25rem .55rem;font-size:.72rem;font-weight:500;display:inline-block}.review-badge.checked{background:var(--theme-tint,#e6f5eb);color:var(--theme-muted,#2a6748)}.photo-review{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:1rem;padding:0 1rem 1rem;display:grid}.photo-original{color:var(--theme-accent,#356d52);background:var(--theme-raised,#f5f8f5);border-radius:.65rem;gap:.5rem;padding:.65rem;font-size:.8rem;text-decoration:none;display:grid}.photo-original img{object-fit:contain;width:100%;max-height:30rem;display:block}.feature-panel .ocr-text{min-height:15rem;font-family:inherit;line-height:1.5}.check-label{align-items:start;gap:.5rem;font-size:.85rem;display:flex}.check-label input{width:auto;margin:.25rem 0 0}@media (width<=66rem){.nutrition-layout,.photo-review{grid-template-columns:minmax(0,1fr)}}@media (width<=44rem){.feature-heading{flex-direction:column;align-items:start}.nutrition-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-heading>label{width:100%}.nutrition-totals strong{font-size:1.6rem}}.meal-label{border:1px solid var(--theme-border,#d4e5dc);background:var(--theme-raised,#f4f9f6);border-radius:14px;gap:.65rem;min-width:0;padding:1rem;display:grid}.meal-label input[type=file]{width:100%}.meal-label p{margin:0}.label-nutrition{justify-items:start;gap:.5rem;display:grid}.meal-photo{color:var(--theme-accent,#1b6150);overflow-wrap:anywhere;justify-items:start;gap:.35rem;font-size:.875rem;display:grid}.meal-photo img{object-fit:contain;border:1px solid var(--theme-border,#d4e5dc);border-radius:10px;width:auto;max-width:100%;max-height:180px;display:block}.astra-layout{align-items:start;gap:1rem;display:flex}.astra-history{flex:0 15rem;gap:.55rem;min-width:0;display:grid}.astra-history button{text-align:left;overflow-wrap:anywhere}.astra-history button[aria-current=true]{background:var(--theme-primary,#17614e);color:#fff}.astra-chat{flex:30rem;min-width:0}.astra-messages{flex-direction:column;gap:.75rem;display:flex}.astra-message{background:var(--theme-base,#f2f6f4);overflow-wrap:anywhere;border-radius:.85rem;padding:.75rem 1rem}.astra-message p,.astra-excerpt{white-space:pre-wrap;margin:.25rem 0 0}.astra-user{background:var(--theme-tint,#e4f2ea);align-self:end;max-width:90%}.astra-message small{color:var(--theme-muted,#47655c);display:block}.astra-compose{margin-top:1rem}.astra-context{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:0 .75rem;display:grid}.astra-context label{min-width:0}@media (width<=53rem){.astra-layout{display:block}.astra-history{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}.astra-history h2{grid-column:1/-1}}.diagnosis-categories{gap:.65rem;display:grid}.diagnosis-treating{border-color:var(--theme-border,#d6e4db);margin:0 0 .75rem;padding:.68rem}.diagnosis-totals{grid-template-columns:repeat(5,minmax(0,1fr));gap:.4rem;margin:0;display:grid}.diagnosis-totals>button{background:var(--theme-raised,#f3f7f5);min-width:0;color:var(--theme-text,#172c28);text-align:left;border-color:#0000;border-radius:.65rem;align-content:space-between;gap:.15rem;padding:.5rem clamp(.35rem,2vw,.8rem);display:grid}.diagnosis-totals>button>span{color:var(--theme-muted,#47655c);font-size:.75rem;line-height:1.25}.diagnosis-totals>button>strong{font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:750}.diagnosis-totals .diagnosis-totals-current{background:var(--theme-tint,#daf0e4);color:var(--theme-accent,#174e3e)}.diagnosis-totals>.diagnosis-totals-current>span{color:inherit;font-weight:700}.diagnosis-totals>button:hover{background:var(--theme-tint,#e4f2ea)}.diagnosis-totals>button[aria-pressed=true]{border-color:var(--theme-strong-border,#77a991)}@media (width<=26rem){.diagnosis-totals{grid-template-columns:repeat(6,minmax(0,1fr))}.diagnosis-totals>button{grid-column:span 2}.diagnosis-totals>button:nth-child(n+4){grid-column:span 3}}.diagnosis-favorites{margin:.55rem 0 0;padding:0;list-style:none}.diagnosis-favorites li{border-top:1px solid var(--theme-border,#e3ede7);justify-content:space-between;align-items:center;gap:.55rem;display:flex}.diagnosis-favorite-link{color:var(--theme-text,#172c28);text-align:left;overflow-wrap:anywhere;background:0 0;border:0;flex:1;padding:.45rem .18rem;font-size:.87rem;font-weight:650}.diagnosis-favorite-link:hover{color:var(--theme-accent,#146047)}.diagnosis-favorite-link small{color:var(--theme-muted,#47655c);font-weight:450;display:block}.diagnosis-favorites-empty{color:var(--theme-muted,#47655c);margin:.6rem .15rem 0;font-size:.8rem}.diagnosis-card-meta{align-items:center;gap:.35rem;margin-inline-start:auto;display:inline-flex}.diagnosis-card .result-top{align-items:center}.diagnosis-card{position:relative}.diagnosis-heading{margin:0;font-size:1.4rem}.diagnosis-open:after{content:"";position:absolute;inset:0}.diagnosis-card-meta>button{z-index:1;position:relative}.diagnosis-healed-action{border:1.5px solid var(--theme-strong-border,#339073);background:var(--theme-tint,#e6f5ec);min-height:2.75rem;color:var(--theme-accent,#185b46);white-space:nowrap;border-radius:.8rem;align-items:center;gap:.35rem;padding:.35rem .58rem;font-size:.83rem;font-weight:750;display:inline-flex}.diagnosis-healed-action svg{flex:none;width:1.12rem;height:1.12rem}.diagnosis-healed-action[aria-pressed=true]{color:#134332;background:#8ae4b9;border-color:#2c8867}@media (hover:hover){.diagnosis-healed-action:not(:disabled):hover{box-shadow:0 0 0 2px #39a88188}}.diagnosis-favorite{background:var(--theme-warning-bg,#fff4d3);width:2.75rem;height:2.75rem;color:var(--theme-warning,#79490c);border:1.5px solid #ba8334;border-radius:.8rem;flex:none;place-items:center;padding:0;display:grid}.diagnosis-favorite svg{stroke-width:1.9px;width:1.65rem;height:1.65rem}.diagnosis-favorite[aria-pressed=true]{color:#4e2d05;background:#f9c34e;border-color:#b67a19}@media (hover:hover){.diagnosis-favorite:not(:disabled):hover{box-shadow:0 0 0 2px #db9b4080}}.diagnosis-category{border:1px solid var(--theme-border,#d6e4db);background:var(--theme-raised,#f8fcfa);color:var(--theme-text,#172f29);text-align:start;border-radius:1rem;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"title counts arrow";align-items:center;gap:.6rem;min-height:3.4rem;padding:.8rem .95rem;font-weight:730;display:grid}.diagnosis-category-title{grid-area:title;line-height:1.3}.diagnosis-category-counts{flex-wrap:wrap;grid-area:counts;gap:.35rem;display:flex}.diagnosis-category-counts>span{background:var(--theme-warning-bg,#f0eee2);color:var(--theme-warning,#64542d);white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:2rem;padding:.15rem .5rem;font-size:.75rem;font-weight:550}.diagnosis-category-counts>span:last-child{background:var(--theme-tint,#dff2e7);color:var(--theme-accent,#215743)}.diagnosis-category-arrow{color:var(--theme-muted,#3f6656);grid-area:arrow;font-size:1.1rem;line-height:1}@media (width<=35rem){.diagnosis-category{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title arrow""counts counts";row-gap:.4rem}}@media (hover:hover){.diagnosis-category:hover{background:var(--theme-raised,#f8fcfa);color:var(--theme-accent,#14604b)}}
