:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b48;background:#f3f6fb;font-synthesis:none;--blue:#2454d7;--line:#e0e7f1;--muted:#586b84}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:#214bb8}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #739bff;outline-offset:3px}[hidden]{display:none!important}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--line);padding:0 max(32px,calc((100vw - 1440px)/2));display:flex;align-items:center;justify-content:space-between}.brand{font-weight:750;font-size:21px;display:flex;align-items:center;gap:12px;letter-spacing:-.4px}.brand-icon{background:var(--blue);color:white;border-radius:10px;width:36px;height:36px;display:grid;place-items:center;font-size:27px}.header-note{font-size:14px;color:var(--muted)}main{max-width:1504px;margin:auto;padding:42px 32px 24px}.intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:32px}.eyebrow{color:var(--blue);font-size:12px;font-weight:750;letter-spacing:1.8px;margin:0 0 12px}h1{font-size:clamp(26px,3vw,36px);font-weight:650;letter-spacing:-1.1px;line-height:1.2;margin:0 0 12px}.intro p:not(.eyebrow){margin:0;color:var(--muted);font-size:16px;line-height:1.6}.privacy{font-size:12px;color:var(--muted);padding-bottom:5px;white-space:nowrap}.workspace{display:grid;grid-template-columns:410px minmax(0,1fr);gap:30px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 5px #13234503}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:24px;border-bottom:1px solid var(--line)}h2{font-size:20px;letter-spacing:-.4px;font-weight:650;margin:0}.panel-heading h2{font-size:18px}.small{font-size:12px;color:var(--muted)}.form-section{padding:24px;border-bottom:1px solid var(--line)}h3{font-size:16px;line-height:1.4;margin:0 0 20px;font-weight:650;display:flex;align-items:center;gap:10px}.step{display:grid;place-items:center;background:#edf2ff;color:var(--blue);border-radius:50%;height:25px;width:25px;font-size:13px}label{font-size:14px;font-weight:550;display:block;margin-bottom:8px}label span{font-size:12px;color:var(--muted);font-weight:400}input,select{width:100%;min-width:0;min-height:45px;background:#fff;color:#172b48;border:1px solid #cdd7e5;border-radius:7px;padding:10px 11px;font-size:15px}input::placeholder{color:#738197;font-size:14px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-section>input+.two-col{margin-top:18px}.field-help{font-size:13px;line-height:1.6;color:var(--muted);margin:10px 0 18px}.section-help{margin-top:-10px}#hold-field{margin-top:18px}.frequency-row{padding:14px;background:#f5f7fc;border:1px solid var(--line);border-radius:9px;margin-bottom:12px}.frequency-top{display:flex;align-items:center;gap:9px;margin-bottom:12px;font-size:14px}.frequency-top label{margin:0}.frequency-top input{width:64px;min-height:34px;padding:6px 8px}.remove{margin-left:auto;background:transparent;border:0;color:#536a89;font-size:13px;padding:6px 0}.extra{margin-top:12px}.weekday-options{display:flex;flex-wrap:wrap;gap:6px}.weekday-options label{cursor:pointer}.weekday-options input{position:absolute;opacity:0;width:1px;min-height:1px;height:1px}.weekday-options span{display:block;padding:9px 8px;background:white;border:1px solid #cdd7e5;border-radius:5px;font-size:12px;color:#38506d}.weekday-options input:checked+span{background:var(--blue);border-color:var(--blue);color:white}.weekday-options input:focus-visible+span{outline:3px solid #739bff}.text-button{background:none;color:var(--blue);border:0;padding:4px 0;font-size:14px;font-weight:600}.form-footer{padding:24px}.primary{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;border-radius:8px;background:var(--blue);color:#fff;padding:15px 18px;font-weight:600;font-size:15px}.primary:hover{background:#1942b7}.form-footer p{font-size:12px;text-align:center;line-height:1.6;color:var(--muted);margin:12px 0 0}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 25px}.result-toolbar .eyebrow{font-size:11px;letter-spacing:1.5px;margin-bottom:8px}.secondary{background:#fff;border:1px solid #ccd7e8;border-radius:7px;padding:11px 14px;color:#304764;font-size:14px;white-space:nowrap}.secondary span{margin-right:6px}.empty-state{min-height:470px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px}.empty-state h3{font-size:21px;letter-spacing:-.5px;margin:28px 0 8px}.empty-state p{color:var(--muted);font-size:15px;line-height:1.8;margin:0 0 28px}.empty-hint{font-size:12px;padding:9px 13px;background:#f3f6fb;border-radius:20px;color:#61738b}.empty-calendar{width:185px;background:#fff;border:1px solid #d6e0ee;box-shadow:0 9px 25px #173d7810;border-radius:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 13px 13px;transform:rotate(-5deg)}.empty-calendar>div{height:30px;margin:0 -13px 5px;border-radius:9px 9px 0 0;background:#edf2ff;border-bottom:1px solid #dce5f7;grid-column:1/-1}.empty-calendar span{font-size:12px;border-radius:4px;padding:7px 2px;color:#8092ae;background:#f4f6fa}.empty-calendar span:nth-child(3n){color:#2454d7;background:#eaf0ff}.care-note{display:flex;gap:13px;padding:22px 4px}.care-symbol{flex-shrink:0;border:1.5px solid #59769f;font-size:12px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;margin-top:1px}.care-note strong{font-size:14px;font-weight:600}.care-note p{font-size:13px;line-height:1.7;color:var(--muted);margin:7px 0 0}.care-note a{white-space:normal}footer{display:flex;justify-content:space-between;gap:20px;color:#6c7e95;font-size:12px;margin-top:32px;border-top:1px solid var(--line);padding-top:20px}.summary{display:grid;grid-template-columns:repeat(3,1fr);background:#eaf0ff;border:1px solid #d7e2ff;border-radius:10px;padding:18px;margin-bottom:24px;gap:15px}.summary span{font-size:12px;color:#53698c;display:block;margin-bottom:7px}.summary strong{font-size:17px;font-weight:650;word-break:break-word}.summary .medicine-summary{grid-column:1/-1;border-bottom:1px solid #d0dcf4;padding-bottom:13px;margin-bottom:0;font-size:16px;color:#244479}.calendar-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}.legend{display:flex;gap:12px;font-size:12px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:6px}.legend i{background:#eaf0ff;border:1px solid #c8d8ff;border-radius:3px;width:12px;height:12px}.legend i.off{background:#f5f6f8;border-color:#dce1e9}.month-nav{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.month-nav button{background:#fff;border:1px solid var(--line);border-radius:5px;width:32px;height:32px;font-size:22px;color:#39526f}.month{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.month-title{font-size:20px;margin:0;padding:22px;font-weight:650}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.day-heading{background:#f8faff;padding:10px 4px;text-align:center;font-size:12px;color:var(--muted);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.day{min-height:98px;padding:10px 8px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);font-size:13px}.day:nth-child(7n){border-right:0}.day .date{color:#4a5f7b;margin-bottom:11px;display:block}.day.active{background:#f5f8ff}.day.off-day{background:#fafbfc}.dose-label{font-size:16px;font-weight:700;color:#2048af;display:block;white-space:nowrap}.day .off-label{font-size:12px;color:#53677f}.day .day-note{display:block;font-size:11px;margin-top:6px;color:#385a94;line-height:1.3}.day.outside .date{color:#b7c1ce}.day.stop{background:#edf5f1}.day.stop .dose-label{color:#296347;font-size:13px;white-space:normal}.plan-details{margin-top:18px;padding:17px}.plan-details summary{cursor:pointer;font-size:14px;font-weight:600}.plan-details table{width:100%;border-collapse:collapse;font-size:13px;margin-top:14px}.plan-details th,.plan-details td{text-align:left;padding:9px 5px;border-bottom:1px solid var(--line)}.plan-details p,.plan-details li{font-size:13px;line-height:1.7;color:var(--muted)}.plan-details ul{padding-left:20px}.print-help{font-size:12px;color:var(--muted);line-height:1.6}.error{margin:20px 24px 0;padding:12px;border:1px solid #edb0b0;border-radius:6px;background:#fff3f3;color:#a52b2b;font-size:14px;line-height:1.5}.stale{padding:13px;margin-bottom:16px;background:#fff6df;border:1px solid #e8d299;border-radius:7px;font-size:14px;color:#775716}#print-output{display:none}
@media(min-width:1450px){.day{min-height:112px}}@media(max-width:1100px){.workspace{grid-template-columns:350px minmax(0,1fr);gap:20px}.privacy{display:none}.form-section,.panel-heading,.form-footer{padding:20px}.result-toolbar{align-items:start;flex-wrap:wrap}.day{padding:8px 5px}.dose-label{font-size:14px}.summary strong{font-size:15px}.calendar-controls{flex-wrap:wrap}}@media(max-width:800px){main{padding:28px 18px}.topbar{height:67px;padding:0 20px}.header-note{display:none}.workspace{grid-template-columns:1fr}.intro{margin-bottom:24px}.results{margin-top:12px}.empty-state{min-height:350px}.result-toolbar{align-items:center}.day{min-height:85px}.privacy{display:none}footer{flex-direction:column;line-height:1.6;gap:8px}}@media(max-width:420px){.two-col{gap:10px}.day{padding:8px 3px}.dose-label{font-size:12px}.legend{font-size:11px}.day .off-label,.day .day-note{font-size:10px}.summary{padding:13px;gap:10px}.summary strong{font-size:14px}h1{font-size:28px}}
@page{size:letter portrait;margin:0.45in}@media print{body{background:white;color:#000}body>header,body>main{display:none!important}#print-output{display:block}.print-page{break-after:page;page-break-after:always}.print-page:last-child{break-after:auto;page-break-after:auto}.print-heading{display:flex;justify-content:space-between;align-items:start;border-bottom:2px solid #172b48;padding-bottom:12px;margin-bottom:12px}.print-heading h1{font-size:23px;margin:0 0 7px}.print-heading p{font-size:12px;margin:3px 0;line-height:1.5}.print-heading span{font-size:11px}.print-plan{font-size:11px;line-height:1.5;margin:10px 0}.month{border-color:#9cacc0;border-radius:0}.month-title{padding:12px;font-size:19px}.day{min-height:77px;padding:6px}.day .date{margin-bottom:7px}.dose-label{font-size:15px}.day .day-note{font-size:10px}.day-heading{font-size:11px;padding:7px}.print-footer{font-size:11px;line-height:1.5;margin-top:13px}.print-footer strong{display:block;margin-bottom:3px}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
fieldset{margin:0;padding:0;border:0;min-width:0}legend{font-size:14px;margin-bottom:10px}.outside-label{color:#8493a8}.phase-help{margin-bottom:0}.month-title{display:block}.print-page .month-title{display:block}@media(min-width:801px){.results{position:sticky;top:20px}}
.export-actions{display:flex;gap:8px;flex-wrap:wrap}#download{color:#fff;background:var(--blue);border-color:var(--blue)}#export-status{font-size:14px;color:var(--muted);line-height:1.6}
#medicine{margin-bottom:18px}.dose-step{background:#f5f7fc;border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:12px}.step-row-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:14px}.step-fields{display:grid;align-items:end;grid-template-columns:1fr .8fr 1fr;gap:10px}.step-fields label{font-size:13px}.tablet-preview{margin:9px 0 0;font-size:12px}.tablet-preview:empty{display:none}.tablet-label{display:block;margin-top:7px;font-size:12px;color:#385a94}.tablet-switch{display:block;margin-top:6px;font-size:11px;font-weight:650;color:#805020}.split-reminder{background:#fff7e9;padding:12px;border-radius:6px}textarea{font:inherit;resize:vertical;width:100%;min-width:0;padding:12px;border:1px solid #cdd7e5;border-radius:7px;font-size:14px;line-height:1.5}.patient-instructions{white-space:pre-wrap;overflow-wrap:anywhere}.instructions-page{font-size:14px;line-height:1.8}.day{min-height:112px}.plan-details{overflow-x:auto}@media(max-width:420px){.tablet-label{font-size:10px}.tablet-switch{font-size:10px}.day{min-height:110px}.step-fields{gap:8px}.step-fields label{font-size:12px}}@media print{.day{min-height:84px}.tablet-label{font-size:10px}.tablet-switch{font-size:9px}.day .day-note{font-size:9px}.instructions-page{padding-top:15px;break-before:page}}

#formulation{margin-bottom:18px}.step-fields.liquid-fields{grid-template-columns:1fr 1fr}.liquid-summary{grid-column:1/-1;margin:0;font-size:13px;line-height:1.5}.dose-key{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.dose-key-item{font-size:12px;line-height:1.4;padding:5px 9px;border-left:4px solid var(--dose-accent);background:var(--dose-fill);color:var(--dose-accent);border-radius:4px}.day.active{background:var(--dose-fill);box-shadow:inset 3px 0 var(--dose-accent)}.day.active .dose-label{color:var(--dose-accent);white-space:normal;overflow-wrap:anywhere}.day.active .tablet-label{color:#30445f}
.dose-color-0{--dose-fill:#e7efff;--dose-accent:#2454a8}.dose-color-1{--dose-fill:#e3f3e7;--dose-accent:#286441}.dose-color-2{--dose-fill:#eee7fa;--dose-accent:#70509b}.dose-color-3{--dose-fill:#fff0df;--dose-accent:#945c21}.dose-color-4{--dose-fill:#def3f5;--dose-accent:#246b76}.dose-color-5{--dose-fill:#f9e5ee;--dose-accent:#994369}.dose-color-6{--dose-fill:#f8f2d5;--dose-accent:#7b6920}.dose-color-7{--dose-fill:#e8edf2;--dose-accent:#4a617b}
@media(max-width:420px){.day.active .dose-label{font-size:11px}.dose-key-item{font-size:11px}}@media print{.dose-key{gap:4px;margin-bottom:7px}.dose-key-item{font-size:9px;padding:3px 6px}.day.active{border-left:3px solid var(--dose-accent);box-shadow:none}.day.active .dose-label{font-size:13px}}

.dosing-label{display:block;font-size:11px;font-weight:650;line-height:1.4;margin-top:4px;color:#30445f}@media(max-width:420px){.dosing-label{font-size:10px}}@media print{.dosing-label{font-size:9px}}
.uniform-preview{padding-left:18px;margin-top:0}
.uniform-preview:empty{display:none}
.summary .last-reduction{grid-column:1/-1;margin:0;padding:10px 12px;background:#fff6df;border:1px solid #e8d299;border-radius:7px;font-size:13px;line-height:1.5;color:#775716}
.legal{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 20px;font-size:12px;line-height:1.6;color:#6c7e95;margin:12px 0 0}
a.brand,a.header-note{color:inherit;text-decoration:none}a.header-note{color:var(--muted)}a.header-note:hover{text-decoration:underline}a:focus-visible{outline:3px solid #739bff;outline-offset:3px}
.terms{max-width:820px;margin:0 auto;padding:40px 44px}.terms h2{font-size:17px;margin:30px 0 8px}.terms p{font-size:15px;line-height:1.7;margin:0 0 12px}.terms .eyebrow{font-size:12px;line-height:1.4;margin:0 0 12px}.terms .terms-date{color:var(--muted);font-size:13px}.terms .terms-back{margin:32px 0 0}.legal-page .legal{max-width:820px;margin:16px auto 0;justify-content:center}
@media(max-width:800px){.terms{padding:26px 20px}}
@media print{body.legal-page>main{display:block!important;padding:0}.legal-page .terms{border:0;box-shadow:none;padding:0;max-width:none}.legal-page .terms-back{display:none}}
.agree{display:flex;align-items:flex-start;gap:10px;padding:13px;margin-bottom:16px;background:#fff;border:1px solid #ccd7e8;border-radius:7px}.agree input{width:18px;height:18px;min-height:0;padding:0;margin:2px 0 0;flex:none;accent-color:var(--blue)}.agree label{margin:0;font-weight:400;line-height:1.5;cursor:pointer}.agree label span{display:block;margin-top:2px}
.print-credit{display:block;font-size:9px;line-height:1.4;margin:5px 0 0;color:#44546a}
