:root{--ink:#263e36;--muted:#65766d;--paper:#f6f7f2;--white:#fff;--line:#dce3d9;--green:#426853;--lime:#e5edb9;--peach:#f4d4c2;--red:#9b4734;--radius:18px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.55 Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #bd683f;outline-offset:3px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1{font:400 clamp(34px,4vw,51px)/1.12 Georgia,serif;letter-spacing:-1.6px}h2{font:400 27px/1.2 Georgia,serif;letter-spacing:-.6px}h3{font-size:16px;line-height:1.4}small,.small{font-size:12px}p{color:var(--muted)}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase}.skip{position:fixed;top:-60px;z-index:100;background:white;padding:12px}.skip:focus{top:0}.rail{position:fixed;width:235px;inset:0 auto 0 0;padding:31px 20px;background:#edf0e8;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:10px;font-weight:800;line-height:1.5;letter-spacing:1.3px}.brand b{font-size:38px;font-weight:400;line-height:1}.rail .edition{margin:24px 13px 12px;font-size:10px;letter-spacing:1.8px;color:var(--muted)}.nav{display:flex;flex-direction:column;gap:5px}.nav button{text-align:left;padding:11px 14px;border-radius:9px;font-size:13px;display:flex;gap:12px;align-items:center}.nav button span{font-size:18px;width:22px}.nav button:hover{background:#e2e8dc}.nav button.active{background:var(--ink);color:white}.rail-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 10px 0;font-size:11px}.rail-bottom a{display:block;margin-top:15px}.shell{margin-left:235px}.topbar{height:80px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--paper)}.topbar .trail{font-size:12px;color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:30px;border:1px solid var(--line);font-size:10px;letter-spacing:.3px;background:#fff}.dot{width:6px;height:6px;border-radius:50%;background:#6f8e52}.top-actions{display:flex;align-items:center;gap:15px}.avatar{border-radius:50%;background:var(--peach);width:32px;height:32px;display:grid;place-items:center;font:18px Georgia}.main{max-width:1450px;margin:auto;padding:35px 40px 70px}.pagehead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:27px}.pagehead .eyebrow{margin-bottom:11px}.pagehead p{margin-top:12px;max-width:680px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 17px;border-radius:9px;background:var(--ink);color:white;font-size:12px;font-weight:600;white-space:nowrap;border:1px solid var(--ink);text-decoration:none}.btn:hover{background:#3a5849}.btn.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:#edf1e7}.btn.light{background:white;color:var(--ink);border-color:white}.btn.danger{background:#fff;color:var(--red);border-color:#e6c9bf}.link{font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:5px 0}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.grid{display:grid;gap:20px}.cols2{grid-template-columns:1fr 1fr}.cols3{grid-template-columns:repeat(3,1fr)}.cols4{grid-template-columns:repeat(4,1fr)}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.card h2+.muted,.card h3+p{margin-top:6px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.hero{background:#e5ecdb;border:1px solid #d9e3cd;border-radius:var(--radius);display:grid;grid-template-columns:1.5fr 1fr;overflow:hidden;margin-bottom:23px;min-height:226px}.hero-copy{padding:30px 32px}.hero h2{font-size:32px;max-width:470px;margin:12px 0}.hero p{max-width:450px;font-size:13px}.hero .btn{margin-top:23px}.hero-art{display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(ellipse at bottom right,#d0ddbc,transparent 70%);min-height:200px}.orbit{width:158px;height:158px;border:1px solid #aaba93;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.orbit:before{content:'';position:absolute;inset:21px;border:1px dashed #aaba93;border-radius:50%}.orbit-center{font:70px Georgia;color:#627d4e}.orb{position:absolute;left:var(--x);top:var(--y);font-size:10px;letter-spacing:.2px;background:#f7f8ed;padding:6px 11px;border-radius:20px;box-shadow:0 3px 10px #30482108;white-space:nowrap}.stat{padding:19px 22px}.stat .value{font:35px/1.2 Georgia;margin:10px 0 6px;letter-spacing:-1px}.stat .value small{font:12px Arial;color:var(--muted);letter-spacing:0}.stat .label{font-size:11px;color:var(--muted)}.stat .sub{font-size:11px;color:var(--muted)}.section-space{margin-top:23px}.dashboard-main{grid-template-columns:1.65fr 1fr}.chart{width:100%;height:auto;display:block;overflow:visible}.chart text{fill:#758078;font:10px Arial}.chart .gridline{stroke:#e6eae2;stroke-dasharray:4 4}.chart .line{stroke:#648252;stroke-width:2.5;fill:none}.chart .point{fill:#648252;stroke:#fff;stroke-width:1.4}.legend{display:flex;gap:17px;font-size:11px;align-items:center;margin-top:10px}.swatch{width:18px;height:3px;background:#648252;display:inline-block;margin-right:5px}.empty{padding:30px 20px;text-align:center;background:#f8faf5;border:1px dashed #d7dfcd;border-radius:12px}.empty .symbol{font:38px Georgia;color:#8a9b77;margin-bottom:7px}.empty h3{margin-bottom:7px}.empty p{max-width:450px;margin:0 auto 15px;font-size:13px}.notice{font-size:12px;background:#edf1e7;border:1px solid #dbe4d1;border-radius:10px;padding:13px 16px;margin-bottom:20px;line-height:1.6}.notice.warning{background:#fff3e9;border-color:#f0dbcb;color:#825538}.demo-banner{background:#f8dfc1;color:#62462c;padding:9px 40px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.demo-banner button{font-weight:bold;text-decoration:underline}.tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs button{padding:11px 14px;border-bottom:2px solid transparent;font-size:12px}.tabs button.active{border-color:var(--green);color:var(--green);font-weight:700}.field{display:block;font-size:12px;font-weight:600}.field>small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin:3px 0}.field input,.field select,.field textarea,input.control,select.control,textarea.control{display:block;width:100%;padding:10px 12px;border:1px solid #cfd9cb;border-radius:8px;background:#fff;min-height:42px;margin-top:7px;font-size:14px}.field textarea{min-height:90px;resize:vertical}.control{max-width:100%}.compact{width:auto!important;margin:0!important;min-height:36px!important;padding:7px 10px!important;font-size:12px!important}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.fields.two{grid-template-columns:1fr 1fr}.fields .wide{grid-column:1/-1}.form-section{margin-bottom:17px;border:1px solid var(--line);background:white;border-radius:13px;overflow:hidden}.form-section summary{padding:18px 22px;cursor:pointer;font-size:14px;font-weight:bold;list-style:none;display:flex;align-items:center;justify-content:space-between}.form-section summary:after{content:'＋';font-size:18px;font-weight:400}.form-section[open] summary:after{content:'−'}.form-section .fields{padding:8px 22px 24px}.tag{font-size:10px;background:#edf1e7;padding:4px 9px;border-radius:20px;display:inline-block}.tag.peach{background:#fae7db}.tag.lime{background:var(--lime)}.tag.purple{background:#ebe6f3}.savebar{position:sticky;bottom:16px;border:1px solid var(--line);border-radius:13px;background:#fffffff2;backdrop-filter:blur(10px);padding:15px 20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 6px 25px #233b3210;z-index:5}.progress{height:5px;background:#e6ecdf;border-radius:20px;overflow:hidden;margin-top:9px}.progress i{display:block;height:100%;background:#74935a;border-radius:20px}.filterbar{display:flex;gap:12px;margin-bottom:23px;align-items:end;flex-wrap:wrap}.filterbar .field{flex:1;min-width:140px}.metric-card{padding:20px;display:flex;flex-direction:column;gap:9px}.metric-card .top{display:flex;justify-content:space-between;align-items:start;gap:10px}.metric-card h3{font-size:14px}.metric-card p{font-size:12px}.metric-card .add{font-size:11px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;white-space:nowrap}.metric-card .add.on{background:var(--ink);color:white;border-color:var(--ink)}.timeline{border-left:1px solid var(--line);margin:12px 0 0 6px;padding-left:25px}.event{position:relative;padding:0 0 24px}.event:before{content:'';position:absolute;left:-30px;top:6px;width:9px;height:9px;background:#8ba66f;border:2px solid var(--paper);border-radius:50%}.event .event-body{background:#fff;border:1px solid var(--line);padding:18px 22px;border-radius:12px;margin-top:7px}.event p{font-size:13px;white-space:pre-wrap;margin-top:8px;overflow-wrap:anywhere}.event small{font-size:10px;color:var(--muted)}.event h3{font-size:15px}.iconbtn{border:1px solid var(--line);width:32px;height:32px;border-radius:7px;font-size:16px}.actions{display:flex;gap:8px}.big-number{font:42px Georgia;letter-spacing:-1px}.report table,.data-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:15px}.report th,.report td,.data-table th,.data-table td{padding:11px 10px;text-align:left;border-bottom:1px solid var(--line)}.scroll{overflow:auto}.report h2{margin-top:26px}.report h2:first-child{margin:0}.report h3{margin-top:17px}.report .report-head{padding-bottom:20px;border-bottom:1px solid var(--line)}.report p{font-size:13px;margin-top:7px}.spark{height:30px;width:100%;margin-top:9px}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.checklabel{display:flex;align-items:center;gap:10px;font-size:13px;padding:9px 0}.checklabel input{width:17px;height:17px;accent-color:var(--green)}.badge{border-radius:50%;height:55px;width:55px;background:#e6edcf;display:grid;place-items:center;font-size:25px;margin-bottom:14px}.badge.locked{filter:grayscale(1);opacity:.5}.bottomnote{font-size:11px;color:var(--muted);margin-top:25px;max-width:860px}.mobile-menu{display:none}dialog{border:1px solid var(--line);border-radius:18px;max-width:680px;width:calc(100% - 30px);padding:28px;max-height:88vh;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#132b2466;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-head h2{font-size:27px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;background:var(--ink);color:#fff;box-shadow:0 5px 30px #0002;z-index:90;border-radius:10px;font-size:13px;max-width:90%;display:none}#toast.visible{display:block}.metric-meta{font-size:11px;color:var(--muted)}.goal-line{display:flex;justify-content:space-between;align-items:center;margin:13px 0 6px;font-size:12px}.goal-card h3{font-size:17px}.sources{font-size:12px;margin-top:10px}.legacy{white-space:pre-wrap}.health-note{font-size:11px;margin-top:12px;line-height:1.6;color:var(--muted)}.mini-list{display:flex;flex-direction:column;gap:14px}.mini-item{display:flex;align-items:center;gap:12px}.mini-icon{height:34px;width:34px;background:#eef2e5;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.mini-item p{font-size:11px}.pill:empty{display:none}.section-title{margin-bottom:16px}.counter{font-size:12px;color:var(--muted)}.no-wrap{white-space:nowrap}
@media(min-width:1500px){.main{padding-top:42px}.hero{min-height:250px}}
@media(max-width:1150px){.rail{width:205px;padding:27px 13px}.shell{margin-left:205px}.main{padding:28px}.topbar{padding:0 28px}.cols4{grid-template-columns:repeat(2,1fr)}.dashboard-main{grid-template-columns:1fr}.fields{grid-template-columns:1fr 1fr}.cols3{grid-template-columns:1fr 1fr}.hero-copy{padding:26px}.hero h2{font-size:29px}}
@media(max-width:760px){.rail{display:none;top:65px;width:230px;box-shadow:10px 0 30px #0001}.rail.open{display:flex}.shell{margin-left:0}.topbar{height:65px;padding:0 18px;position:sticky;top:0;z-index:21}.mobile-menu{display:block;font-size:22px}.topbar .trail{display:none}.main{padding:23px 18px 90px}.pagehead{align-items:start;flex-direction:column;gap:17px}.pagehead .btn{align-self:stretch}.top-actions{gap:8px}.top-actions .pill{font-size:9px}.hero{grid-template-columns:1fr}.hero-art{display:none}.hero-copy{padding:25px}.hero h2{font-size:29px}.card{padding:20px}.cols2,.cols3,.fields,.fields.two{grid-template-columns:1fr}.cols4{gap:11px}.stat{padding:16px}.stat .value{font-size:30px}.savebar{padding:13px;bottom:10px;gap:12px}.savebar small{font-size:10px}.savebar .btn{padding:10px 13px}.form-section .fields{padding:5px 18px 20px}.form-section summary{padding:17px 18px}.demo-banner{padding:9px 18px;gap:15px}.filterbar{gap:10px}.filterbar .field{min-width:120px}.tabs button{padding:10px 11px}.card-head{align-items:start;flex-wrap:wrap}.main h1{font-size:37px}.row.between{gap:15px}.chart text{font-size:11px}.report th,.report td{padding:9px 5px}.nav button{padding:10px 14px}}
@media(prefers-reduced-motion:no-preference){.btn,.nav button,.metric-card{transition:background .15s ease}.main{animation:appear .2s ease}@keyframes appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}}
@media print{.rail,.topbar,.pagehead,.no-print,.demo-banner,.bottomnote,#toast,dialog{display:none!important}.shell{margin:0}.main{padding:0;max-width:none}.report{border:0;padding:0}.report h2{break-after:avoid}.report tr{break-inside:avoid}body{background:white;color:black;font-size:11px}.report p{color:#333}.report th,.report td{padding:6px}.report .tag{border:1px solid #ccc}a{color:inherit;text-decoration:none}@page{margin:17mm}}
.symptom-picker{min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px}.symptom-picker p{font-size:.88rem;margin-bottom:8px}.symptom-picker svg{height:230px;width:100%;display:block;margin:4px auto}.symptom-picker g{fill:#afc5a6;stroke:#34523e;stroke-width:.8;cursor:pointer}.symptom-picker g[aria-pressed=true],.symptom-picker g:hover,.symptom-picker g:focus-visible{fill:#e6aa6e;stroke:#233d30;stroke-width:1.8}

.med-slots{list-style:none;margin:1rem 0 0;padding:0}
.med-slots li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;padding:.85rem 0;border-top:1px solid #d4dfd8}
.med-slots li>div{min-width:0;overflow-wrap:anywhere}
.med-slots small,.med-slots strong{display:block}
.med-slots small{margin:.25rem 0}
.med-slots p{margin:.25rem 0;white-space:pre-wrap}
#med-times{min-width:0}
#med-times[hidden]{display:none}
#med-times .tools-row input{max-width:10rem}
