.quick-layout .intro{margin-bottom:18px}.quick-layout .scope-strip{margin-bottom:18px}.next-case{border:0;background:#edf0f4;color:var(--green);border-radius:7px;min-height:36px;padding:6px 9px;font-size:11px}.case-options{border:1px solid var(--line);border-radius:8px;margin:8px 0 15px;background:#f9fafc;padding:10px 12px}.case-options>summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;list-style:none;font-size:11px;color:#676f7d;line-height:1.7}.case-options>summary>span:last-child{color:var(--green);flex-shrink:0}.case-options[open]>summary{padding-bottom:14px}.quick-layout .egfr-field{margin:0 0 12px}.quick-layout .input-actions .primary{display:none}.quick-layout .input-actions{padding-top:8px}.quick-layout .input-actions .ghost{width:100%}.quick-layout .mobile-tabs{display:none!important}
#quick-drug-search{width:100%;border:1px solid #cfd5de;border-radius:8px;background:#f6f8fb;color:var(--ink);min-height:42px;padding:9px 11px;font-size:14px;margin-bottom:10px}.quick-drug-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:300px;overflow:auto}.quick-drug{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding:8px 10px;border:1px solid #d9dee5;border-radius:7px;background:#fff;color:#424f64;line-height:1.5;font-size:11px;text-align:left;overflow-wrap:anywhere}.quick-drug>span:last-child{flex-shrink:0;font-size:17px}.quick-drug.chosen{background:#e5eaf1;color:#173564;border-color:#778baa}.quick-entry-hint{font-size:10px;line-height:1.7;color:var(--muted);margin:9px 0 13px}.quick-layout .med-entry{padding:12px}.quick-layout .med-top{margin-bottom:7px}.purpose-fixed{font-size:10px;color:#727984;line-height:1.7;margin-bottom:8px}.purpose-field{margin-bottom:9px}.med-dose-details{font-size:11px;border-top:1px solid #dce1e8;margin-top:10px;padding-top:8px}.med-dose-details>summary{color:var(--green);cursor:pointer;padding:6px 0;line-height:1.6}.med-dose-details[open]>summary{margin-bottom:9px}.quick-row-result{padding:10px;border:1px solid #d9dee7;border-left:3px solid #8895a9;border-radius:8px;margin:8px 0;background:#fff;font-size:12px;line-height:1.8}.quick-row-result.priority{border-left-color:#c9765f}.quick-row-result.review{border-left-color:#c4a05f}.quick-row-result.incomplete{border-left-color:#a1a5ac}.quick-row-result h3{font-size:13px;margin:7px 0 5px}.quick-rule-text,.quick-layout .result-text{white-space:pre-line}.quick-check-scope{color:#676f7d;font-size:10px;margin:7px 0}.quick-origin{font-size:10px;color:#818790;margin:7px 0;overflow-wrap:anywhere}.quick-supplement{border:1px solid #ccd3dd;border-radius:7px;color:var(--green);background:#eef2f8;min-height:40px;padding:8px 10px;margin:5px 0;font-size:12px;text-align:left}.quick-layout .demo-section{font-size:11px}.quick-layout .result-card .recorded{color:#5f6775}
@media(min-width:761px){.quick-row-result{display:none}.quick-layout .med-dose-details{margin-top:7px}.quick-layout .case-state{margin-bottom:10px}}
@media(max-width:760px){
 .quick-layout .inputs{display:block!important}.quick-layout .results{display:none!important}.quick-layout main{padding-top:12px}.quick-layout .topbar{height:56px}.quick-layout .intro{margin-bottom:10px}.quick-layout .intro .eyebrow,.quick-layout .intro p{display:none}.quick-layout .intro h1{font-size:19px;line-height:1.5}.quick-layout .intro .button{font-size:12px;min-height:36px;padding:6px 8px}.quick-layout .scope-strip{font-size:11px;padding:8px 10px;margin-bottom:12px}.quick-layout .panel{padding:15px;margin-bottom:12px}.quick-layout .panel-heading{margin-bottom:12px}.next-case{font-size:12px;min-height:44px}.quick-layout .egfr-field label{font-size:15px}.quick-layout .egfr-field small{font-size:12px}.case-options>summary{font-size:12px;min-height:34px;align-items:center}.case-options{padding:8px 10px;margin-bottom:0}.case-options[open]{margin-bottom:12px}.quick-layout #crcl-section{margin-top:15px}.quick-layout .egfr-input input{font-size:31px;height:50px}.quick-layout .medication-panel .panel-heading h2{font-size:16px}
 #quick-drug-search{font-size:16px;min-height:46px}.quick-drug-options{max-height:280px;gap:7px}.quick-drug{font-size:13px;min-height:48px;padding:8px 10px}.quick-entry-hint{font-size:12px}.quick-layout .med-entry{padding:12px;background:#f8fafc}.purpose-fixed{font-size:12px}.quick-row-result{font-size:14px;line-height:1.8;padding:12px;margin-top:9px}.quick-row-result h3{font-size:15px}.quick-row-result .status{font-size:11px;white-space:normal}.quick-check-scope,.quick-origin{font-size:12px}.quick-row-result .source-details{font-size:13px}.quick-supplement{font-size:13px;min-height:44px}.med-dose-details{font-size:14px}.med-dose-details>summary{min-height:44px;display:flex;align-items:center}.quick-layout .med-top{margin-bottom:8px}.quick-layout .med-subtitle{font-size:12px}.quick-layout .med-entry .field input,.quick-layout .med-entry .field select{font-size:16px}.quick-layout .input-actions{display:none}.quick-layout .mobile-actionbar{grid-template-columns:100px 1fr}.quick-layout #mobile-review-btn:disabled{opacity:.5}.quick-layout #add-med{font-size:13px;min-height:44px;margin-top:6px}
}
@media(max-width:350px){.quick-layout .intro h1{font-size:17px}.case-options>summary{flex-wrap:wrap;gap:2px}.quick-drug{font-size:12px}}
@media print{.quick-layout .inputs{display:none!important}.quick-layout .results{display:block!important}.quick-layout .summary-panel .cg-result-note{color:#333}}

.phone-report-link{border:0;background:transparent;color:var(--green);font-size:13px;min-height:44px;width:100%;text-align:left;padding:8px 0}.case-options>summary>span:first-child{min-width:0;overflow-wrap:anywhere}@media(min-width:761px){.phone-report-link{display:none}}@media(max-width:760px){.quick-drug-options.has-selection{max-height:104px}.quick-origin{line-height:1.8}}

.quick-notices{white-space:pre-line;line-height:1.8}@media(min-width:761px){.quick-notices{display:none}}

/* Compact phone view: show the selected medicine before the next picker. */
@media(max-width:760px){
 .quick-layout .topbar{height:48px}.quick-layout main{padding-top:8px}.quick-layout .intro{margin-bottom:6px}.quick-layout .intro h1{font-size:17px}.quick-layout .scope-strip{font-size:10px;line-height:1.55;padding:6px 9px;margin-bottom:8px}.quick-layout.has-selected .intro{display:none}.quick-layout .panel{padding:10px 12px;margin-bottom:8px}.quick-layout .panel-heading{margin-bottom:7px}.quick-layout .panel-heading h2{font-size:14px}.quick-layout .step{width:22px;height:22px;font-size:10px}.next-case{min-height:44px;font-size:11px;padding:5px 8px}.quick-layout .egfr-field{margin-bottom:6px}.quick-layout .egfr-field label{font-size:13px}.quick-layout .egfr-field small{font-size:10px}.quick-layout .egfr-input{margin-top:4px;padding:2px 10px}.quick-layout .egfr-input input{height:42px;font-size:28px}.case-options{padding:4px 8px;margin-top:6px}.case-options>summary{font-size:11px;min-height:32px;line-height:1.5}.quick-layout .med-entry{padding:9px;margin-bottom:8px}.quick-layout .med-top{margin-bottom:4px}.quick-layout .mobile-drug-select{min-height:44px;font-size:14px;padding:6px 9px}.quick-layout .remove-med{min-height:44px;height:44px;width:44px}.quick-layout .purpose-fixed{display:none}.quick-row-result{padding:9px 10px;margin:5px 0;font-size:13px;line-height:1.65}.quick-row-result h3{font-size:14px;margin:4px 0}.quick-check-scope{font-size:11px;margin:5px 0}.quick-origin{font-size:11px;line-height:1.5;margin:4px 0}.quick-row-result .source-details{font-size:12px;margin-top:5px;padding-top:3px}.quick-row-result .source-details summary{min-height:36px}.med-dose-details{margin-top:5px;padding-top:4px;font-size:12px}.med-dose-details>summary{min-height:36px}.quick-layout .quick-notices{font-size:12px;line-height:1.55;padding:7px 9px;margin-bottom:8px}.quick-layout .quick-notices.date-only{background:transparent;border:0;padding:0;margin:0 0 7px;font-size:11px;color:#6f7886}.quick-layout #quick-picker-area{margin-top:8px}.quick-layout .quick-entry-hint{font-size:11px;margin:5px 0 7px}.quick-layout #quick-drug-search{min-height:44px;font-size:16px;margin-bottom:7px}.quick-layout .quick-drug{min-height:44px;font-size:12px;padding:6px 8px}.quick-layout .mobile-actionbar{grid-template-columns:80px 80px minmax(0,1fr);padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom,0px));gap:7px}.quick-layout .mobile-actionbar button{min-height:44px;font-size:14px;padding:6px 7px}
}
@media(min-width:761px){#mobile-add-btn{display:none}}

.nav-short-label{display:none}.topbar nav .nav-full-label{font-size:inherit;margin:0}.topbar #about-btn{white-space:nowrap}
@media(max-width:760px){.quick-layout .intro{display:none}.quick-layout .topbar nav{margin-left:auto;gap:6px;flex-shrink:0}.quick-layout .topbar nav button{padding:0 6px;min-width:44px}.quick-layout .topbar .nav-full-label{display:none}.quick-layout .topbar .nav-short-label{display:inline;font-size:inherit;margin:0}.quick-layout .brand{min-width:0;gap:8px}.quick-layout main{padding-top:8px}}

@media(min-width:761px){.med-evidence{display:none}}
@media(max-width:760px){
 .quick-layout .med-entry{padding:6px 8px;margin-bottom:6px;border-radius:9px}.quick-layout .med-top{margin-bottom:0;gap:5px}.quick-layout .mobile-drug-select{border:0;background:transparent;padding:4px 0;font-size:14px;line-height:1.35}.quick-layout .mobile-drug-select span{margin-left:6px}.quick-layout .remove-med{border:0;background:transparent}
 .quick-row-result{padding:5px 8px;margin:0 0 3px;font-size:13px;line-height:1.5;border-top:0;border-right:0;border-bottom:0;border-radius:0;background:transparent}.quick-conclusion h3,.quick-conclusion p{display:inline;font-size:13px;line-height:1.5;margin:0}.quick-row-result .status{display:inline-block;font-size:10px;padding:1px 5px;margin:0 0 3px}.quick-check-scope{font-size:10px;line-height:1.3;margin:4px 0 0;color:#717882}
 .med-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;border-top:1px solid #dee2e8}.med-detail-actions>details{border:0;margin:0;padding:0;min-width:0;font-size:12px}.med-detail-actions>details>summary{min-height:36px;display:flex;align-items:center;padding:3px 0;color:var(--green);line-height:1.4}.med-detail-actions>details[open]{grid-column:1/-1}.med-evidence>div{padding:7px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.med-dose-details[open]{padding-bottom:8px}.med-dose-details[open]>summary{margin-bottom:6px}
}

/* Full catalog by category, with no nested list scrolling. */
.quick-layout .quick-drug-options,.quick-layout .quick-drug-options.has-selection{display:block;max-height:none;overflow:visible}.quick-category-nav{display:flex;gap:5px;overflow-x:auto;max-width:100%;padding:0 0 4px;margin:0 0 7px}.quick-category-nav button{flex-shrink:0;border:1px solid #d8dde4;border-radius:6px;background:#ebeef4;color:var(--green);min-height:36px;padding:4px 8px;font-size:11px;line-height:1.4}.quick-drug-group{margin:0 0 12px;scroll-margin-top:10px}.quick-drug-group h3{display:flex;align-items:center;justify-content:space-between;font-size:12px;line-height:1.5;margin:0 0 5px;color:#525f74}.quick-drug-group h3 span{font-size:10px;font-weight:400;color:var(--muted)}.quick-group-drugs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}.quick-group-drugs .quick-drug{min-width:0}.quick-layout .quick-entry-hint{margin-top:3px}
@media(max-width:760px){.quick-category-nav button{min-height:44px;font-size:12px}.quick-drug-group{margin-bottom:10px}.quick-drug-group h3{font-size:12px}.quick-group-drugs .quick-drug{font-size:12px;min-height:44px;padding:5px 7px}}

.quick-layout .inputs{min-width:0}.quick-group-drugs .quick-drug>span:first-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.quick-layout .workspace{grid-template-columns:minmax(0,1fr)}}

@media(max-width:760px){.quick-layout .med-entry{scroll-margin-top:10px;scroll-margin-bottom:75px}}

.quick-picker-tools{display:flex;gap:6px;align-items:start}.quick-picker-tools #quick-drug-search{flex:1;min-width:0}.quick-picker-tools #close-quick-picker{border:1px solid #d8dde4;border-radius:7px;background:#ebeef4;color:var(--green);min-height:44px;font-size:12px;padding:5px 8px;flex-shrink:0}.quick-layout #quick-picker-area{scroll-margin-top:10px}

.renal-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;line-height:1.4}.renal-summary>span{min-width:0}.renal-summary strong{font-size:21px;color:var(--green);margin:0 3px}.renal-summary small{font-size:10px;color:var(--muted);white-space:nowrap}.renal-summary button{min-width:48px;min-height:44px;border:0;background:#edf0f4;color:var(--green);border-radius:7px;font-size:13px;padding:5px 8px;flex-shrink:0}
@media(max-width:760px){.quick-layout .context-panel.renal-compact{padding:3px 10px;margin-bottom:8px}.quick-layout.has-selected #next-case{display:none}.quick-layout .context-panel{scroll-margin-top:10px}}
