/* Compact browsing; formulation-specific records stay intact. */
.brand-icon .brand-leaf{position:absolute;right:-5px;top:-6px;width:20px;height:20px;background:#28795a;filter:drop-shadow(0 1px 1px #ffffffc9)}
.steroid-family-card .product-name{align-items:flex-start}
.steroid-family-card .product-name h3{min-width:0}
.steroid-family-card .product-name button{font-size:22px;line-height:1.3;letter-spacing:-.65px;overflow-wrap:normal;hyphens:auto}
.steroid-family-card .open-arrow{padding-top:4px}
.formulation-label{display:block;margin:17px 0 7px;color:#718579;font-size:12px;line-height:1.5}
.formulation-select-wrap{position:relative;width:100%;min-width:0}
.formulation-select-wrap select{appearance:none;-webkit-appearance:none;width:100%;max-width:100%;min-height:48px;border:1px solid #d8e4db;border-radius:10px;background:#f8faf7;padding:11px 32px 11px 12px;font-family:inherit;font-size:14px;line-height:1.5;font-weight:500;color:#365d48;text-overflow:ellipsis;cursor:pointer}
.formulation-select-wrap>span{position:absolute;right:12px;top:50%;transform:translateY(-60%);pointer-events:none;color:#688975;font-size:18px}
.formulation-select-wrap select:hover{border-color:#9fbfac;background:#f3f8f1}
.formulation-select-wrap select:focus-visible{outline:2px solid #3c7c64;outline-offset:2px}
.formulation-meta{margin:11px 0 0;color:#718579;font-size:12px;line-height:1.5}
.steroid-family-card .product-content{padding-bottom:17px}
.steroid-family-card .product-cues{margin-top:auto;padding-top:0}
.steroid-family-card .product-actions.details-only{min-height:0}
/* Captions have their own row, never overlap the photograph. */
.product-visual{height:226px;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;gap:6px;padding:40px 16px 12px}
.product-visual img{height:100%;max-height:150px;max-width:100%;width:100%;object-fit:contain;min-height:0}
.photo-caption{position:static;display:block;grid-row:2;width:100%;max-width:100%;font-size:11px;line-height:1.4;text-align:center;color:#577261;opacity:1;overflow-wrap:normal;word-break:normal}
.detail-photo{min-width:0;text-align:center}
.detail-photo .photo-caption{margin-top:10px;max-width:300px;margin-inline:auto}
.product-visual .visual-type{grid-row:1}
.product-visual .class-badge{font-size:10px;line-height:1.35}
/* The potency spectrum stays visible at every screen size. */
.potency-range{height:48px;touch-action:pan-y}
.potency-range::-webkit-slider-thumb{width:28px;height:28px;margin-top:-11px;transition:background-color .14s,box-shadow .14s}
.potency-range::-moz-range-thumb{width:20px;height:20px;transition:background-color .14s,box-shadow .14s}
.potency-range:active::-webkit-slider-thumb{box-shadow:0 0 0 6px #64967b21,0 3px 9px #214c4126}
.potency-range:active::-moz-range-thumb{box-shadow:0 0 0 6px #64967b21,0 3px 9px #214c4126}
.potency-explorer .potency-context{margin-top:15px}
.potency-explorer .vehicle-filter{margin:14px 0;padding:12px 0}
.product-dialog,.clinical-dialog,.cost-dialog,.sources-dialog,.slit-screen-dialog{overflow-wrap:normal;word-break:normal}
.detail-hero>div{min-width:0}
.close-button{width:44px;height:44px}
.product-card:focus-within{border-color:#94b8a5}
@media(max-width:780px){
 .topbar{height:auto;min-height:0;flex-wrap:wrap;gap:12px;padding:16px 20px 10px}
 .topbar .clinician-label{margin-left:auto}
 .topbar nav{order:3;width:100%;height:40px;justify-content:space-between;gap:20px}
 .topbar nav a,.topbar nav button{display:flex;align-items:center;min-height:40px;height:auto}
 .app-shell{display:block}
 .sidebar{position:static;padding:16px 20px;min-height:0;max-height:none;border:0;border-bottom:1px solid #dae6dc;background:#f0f5f2;overflow:visible}
 .sidebar>.overline{display:none}
 .sidebar>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;overflow:visible}
 .sidebar .category{min-width:0;min-height:48px;padding:10px 12px;gap:8px;white-space:normal;font-size:14px;line-height:1.4;border:1px solid #dbe6df;border-radius:10px;background:#ffffffa8}
 .sidebar .category.active{background:#173f41;border-color:#173f41;color:#fff}
 .sidebar .category-icon{font-size:15px;min-width:20px;flex:0 0 20px}
 .sidebar .category>span:nth-child(2){min-width:0;overflow-wrap:normal;word-break:normal}
 .sidebar .category .count{display:none}
 .sidebar .category:focus-visible{outline:2px solid #3c7c64;outline-offset:2px}
 #catalogue{padding:26px 20px 32px;min-width:0;scroll-margin-top:80px}
 .page-heading{margin-bottom:23px}
 .page-heading h1{font-size:36px;line-height:1.15}
 .page-heading .overline{font-size:10px;line-height:1.5}
 .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:14px}
 .search{grid-column:1/-1;width:100%;min-width:0;height:49px}
 .search input,.age-filter input,.sort select{font-size:16px}
 .age-filter{width:fit-content;min-height:44px;height:44px;font-size:13px}
 .age-filter input{width:57px}
 .filter-button{font-size:13px;min-height:44px;padding:10px 8px;justify-self:end}
 .filter-row{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
 .chips{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:2px 0 7px;max-width:100%}
 .chip{flex-shrink:0;min-height:44px;white-space:nowrap;font-size:13px;padding:9px 13px;border-radius:9px}
 .sort{justify-self:end;min-height:36px;font-size:12px}
 .sort select{min-height:36px}
 .catalogue-meta{margin-top:14px;font-size:12px;line-height:1.5;align-items:flex-start}
 .catalogue-meta>p:last-child{max-width:125px;text-align:right;font-size:11px}
 .product-grid{gap:17px}
 .product-content{min-width:0}
 .product-actions .details-button{min-height:44px;font-size:14px}
 .product-actions.details-only .details-button{padding:13px 16px}
 .formulation-select-wrap select{font-size:16px}
 .clinical-chip{min-height:40px;font-size:12px}
 .potency-explorer{padding:22px 17px;gap:20px}
 .potency-bottom button,.vehicle-filter button{min-height:44px}
 .potency-slider-wrap{padding:12px 15px}
 .potency-range{min-height:44px}
 .collection-note{padding:16px}
 .collection-note p{font-size:13px}
 .detail-hero h2{font-size:30px;line-height:1.2}
 .detail-hero{gap:19px}
 .detail-body{padding:24px 20px}
 .detail-columns{gap:12px}
 .detail-section p,.detail-section li{font-size:15px}
 .regimen-navigation button,.indication-tabs button{min-height:44px}
 footer{font-size:11px;line-height:1.6;align-items:center;flex-wrap:wrap;gap:8px}
 .footer-disclaimer{min-height:44px}
}
@media(max-width:600px){
 .topbar{padding:17px 20px 10px;gap:12px;min-height:0}
 .topbar .brand{font-size:22px;gap:9px}
 .topbar .brand-icon{width:36px;height:36px;font-size:29px}
 .topbar .brand small{font-size:7px;letter-spacing:1.2px}
 .topbar .clinician-label{font-size:11px;max-width:125px;margin-left:auto;gap:6px}
 .topbar .canada-leaf{width:19px;height:19px;flex-basis:19px}
 .topbar nav{justify-content:space-between;gap:20px;width:100%;height:40px}
 .topbar nav a,.topbar nav button{font-size:12px;min-height:40px;height:auto;display:flex;align-items:center}
 .product-grid{grid-template-columns:minmax(0,1fr)}
 .steroid-family-card .product-name button{font-size:24px}
 .product-visual{height:229px}
 .product-visual img{max-height:153px}
 .photo-caption{font-size:11px}
 .detail-hero{grid-template-columns:minmax(0,1fr);padding:54px 22px 23px}
 .detail-photo img{max-width:290px}
 .detail-columns{grid-template-columns:minmax(0,1fr)}
 .product-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
 .sources-dialog,.clinical-dialog,.cost-dialog,.slit-screen-dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
 .dose-weight-details{overflow-x:auto}
 .sources-detail a,.source-line a{overflow-wrap:normal;word-break:normal}
 .schedule-options{grid-template-columns:minmax(0,1fr)}
 .maintenance-fields input,.maintenance-fields select,.mix-settings select{font-size:16px;min-height:44px;max-width:100%}
}
@media(max-width:360px){.topbar .brand{font-size:20px}.topbar .clinician-label{max-width:112px;font-size:10px}#catalogue{padding-inline:16px}.sidebar{padding-inline:16px}}
@media(min-width:601px) and (max-width:780px){.sidebar>nav{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media print{.potency-explorer{break-inside:avoid}}
.slit-screen-inline{margin:8px 0 28px;padding:24px;border:1px solid #d5e3da;border-radius:22px;background:linear-gradient(130deg,#eef6ef,#fafcf9 65%);box-shadow:0 6px 24px #254a3710;transition:border-color .2s}
.slit-inline-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}.slit-inline-kicker{font-size:10px;font-weight:650;letter-spacing:1.5px;color:#62856b}.slit-inline-header h2{font-size:26px;font-weight:500;letter-spacing:-.7px;color:#284d3e;margin:7px 0}.slit-inline-header p{font-size:13px;color:#65796a;margin:0;line-height:1.5}.slit-screen-inline .slit-screen-progress{padding:0;flex:0 0 185px}.slit-screen-inline .slit-screen-progress>div:first-child{gap:12px}.slit-screen-inline .slit-screen-progress>div:first-child>span:last-child{display:none}.slit-screen-inline .slit-progress-track{height:5px;background:#dde9df}
.slit-screen-inline .slit-checks{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0}.slit-screen-inline .slit-check-row{padding:13px 14px;border:1px solid #dfe9df;background:#ffffffb8;border-radius:14px;min-width:0}.slit-screen-inline .slit-check-row.confirmed{background:#e9f3e8;border-color:#cbdcc8}.slit-screen-inline .slit-check-row.needs-review{background:#faf4e7;border-color:#e7d9b8}.slit-screen-inline .slit-check-main{align-items:center;flex-wrap:nowrap}.slit-screen-inline .slit-check-main label{min-height:44px;flex-basis:auto}.slit-screen-inline .slit-check-main label strong{font-size:13px;line-height:1.45}.slit-screen-inline .slit-review-button{min-height:44px;font-size:11px;margin:0;white-space:normal;flex:0 0 75px;padding:7px 9px;background:#fff8}.slit-screen-inline .slit-check-row details{margin-top:0}.slit-screen-inline .slit-check-row summary{font-size:11px;min-height:28px;align-items:center}.slit-screen-inline .slit-check-row details p{color:#5c7061}.slit-screen-inline .slit-product-checks{margin:16px 0 12px;padding:0;border:0;background:none}.slit-screen-inline .slit-screen-result{margin:14px 0 0;padding:13px 16px}.slit-screen-inline .slit-screen-result p{margin-top:2px}.slit-inline-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#6e8071;margin-top:10px}.slit-inline-footer button{min-height:44px;font-size:12px}.slit-screen-inline.reviewed{border-color:#a9c7aa}.slit-screen-inline.flagged{border-color:#d9caa9}.slit-screen-inline input:focus-visible{outline:2px solid #275b48;outline-offset:3px}
@media(max-width:980px){.slit-screen-inline .slit-checks{grid-template-columns:1fr}.slit-screen-inline .slit-check-row{padding:9px 13px}}
@media(max-width:600px){.slit-screen-inline{padding:18px 14px;border-radius:18px}.slit-inline-header{align-items:flex-start;gap:16px;flex-direction:column}.slit-inline-header h2{font-size:24px}.slit-screen-inline .slit-screen-progress{flex:auto;width:100%}.slit-screen-inline .slit-check-main label strong{font-size:13px}.slit-inline-footer>span{max-width:210px;line-height:1.5}}

/* Two-column mobile browsing, with room for clinical labels and touch targets. */
@media (min-width:22.5em) and (max-width:780px){
 .product-grid.mobile-pairs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
 .mobile-pairs .product-card{min-width:0;border-radius:14px}
 .mobile-pairs .product-visual{height:180px;padding:38px 10px 10px;gap:5px}
 .mobile-pairs .product-visual img{max-height:115px}
 .mobile-pairs .product-visual .class-badge{left:9px;right:9px;max-width:calc(100% - 18px);width:fit-content;font-size:12px;white-space:normal}
 .mobile-pairs .photo-caption{font-size:12px;line-height:1.35}
 .mobile-pairs .product-content{padding:15px 12px 12px}
 .mobile-pairs .product-name{gap:0}
 .mobile-pairs .product-name h3{min-width:0;width:100%}
 .mobile-pairs .product-name button{font-size:1rem;line-height:1.35;letter-spacing:-.2px;overflow-wrap:anywhere;min-height:44px;text-align:left}
 .mobile-pairs .open-arrow{display:none}
 .mobile-pairs .generic,.mobile-pairs .product-strength{font-size:.875rem;line-height:1.45;min-height:0;overflow-wrap:normal;word-break:normal}
 .mobile-pairs .product-dose{font-size:.875rem;line-height:1.5;min-height:0}
 .mobile-pairs .dose-caption{font-size:.75rem;line-height:1.45}
 .mobile-pairs .pill-row{flex-wrap:wrap;gap:5px}
 .mobile-pairs .pill{font-size:.75rem;line-height:1.4;max-width:100%}
 .mobile-pairs .clinical-badges,.mobile-pairs .product-cues{padding:0 12px 12px;gap:6px}
 .mobile-pairs .clinical-chip{min-height:44px;font-size:.875rem;max-width:100%;overflow-wrap:normal;word-break:normal}
 .mobile-pairs .product-actions{flex-direction:column;align-items:stretch;gap:8px;padding:12px;margin-top:auto}
 .mobile-pairs .cost-trigger{width:100%;min-height:48px;font-size:.875rem;text-align:left;gap:7px;white-space:normal}
 .mobile-pairs .cost-trigger>span:last-child{min-width:0;overflow-wrap:normal;word-break:normal}
 .mobile-pairs .cost-trigger small,.mobile-pairs .unit-cost{font-size:.75rem!important;line-height:1.4}
 .mobile-pairs .currency-icon{flex-shrink:0}
 .mobile-pairs .product-actions .details-button{width:100%;min-height:44px;font-size:.875rem;line-height:1.4;white-space:normal;text-align:left}
 .mobile-pairs .product-actions.details-only .details-button{padding:11px 9px;gap:6px}
 .mobile-pairs .formulation-label,.mobile-pairs .formulation-meta{font-size:.75rem;line-height:1.5;overflow-wrap:normal;word-break:normal}
 .mobile-pairs .formulation-select-wrap select{padding:10px 24px 10px 8px;min-height:48px;font-size:1rem}
 .mobile-pairs .formulation-select-wrap>span{right:8px}
 .product-grid.mobile-pairs>.empty{grid-column:1/-1}
}
@media(max-width:780px){.product-grid:not(.mobile-pairs){grid-template-columns:minmax(0,1fr)}}
/* Give narrow cards a full text measure instead of squeezing text between icons. */
@media (min-width:22.5em) and (max-width:780px){
 .product-grid.mobile-pairs{gap:12px}
 .mobile-pairs .product-content{padding:17px 12px 14px;flex:0 0 auto}
 .mobile-pairs .product-name button{min-height:0;padding:0;font-size:1.0625rem;line-height:1.4;letter-spacing:0}
 .mobile-pairs .generic{margin:9px 0 12px;line-height:1.55}
 .mobile-pairs .product-strength{margin:0 0 10px;line-height:1.5}
 .mobile-pairs .product-dose{margin:0 0 14px;line-height:1.6}
 .mobile-pairs .dose-caption{display:block;margin-top:6px;line-height:1.5}
 .mobile-pairs .pill-row{margin-top:0;gap:7px}
 .mobile-pairs .pill{padding:6px 7px;line-height:1.45}
 .mobile-pairs .clinical-badges,.mobile-pairs .product-cues{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:0 12px 12px}
 .mobile-pairs .clinical-chip{display:block;width:100%;padding:10px;min-height:44px;font-size:.8125rem;font-weight:500;line-height:1.5;letter-spacing:0;text-align:left;white-space:normal;overflow-wrap:normal;border-radius:9px}
 .mobile-pairs .clinical-chip>span[aria-hidden=true]{display:none}
 .mobile-pairs .product-actions{padding:14px 12px;gap:10px}
 .mobile-pairs .cost-trigger{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;padding:12px 10px;min-width:0;max-width:100%;font-size:1rem;line-height:1.4}
 .mobile-pairs .cost-trigger .currency-icon{display:block;border:0;background:none;box-shadow:none;border-radius:0;width:auto;height:auto;min-width:0;padding:0;font-size:.75rem;line-height:1.3;font-weight:650}
 .mobile-pairs .cost-trigger>span:last-child{display:block;width:100%;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal}
 .mobile-pairs .cost-trigger small{display:block;margin-top:6px;line-height:1.5;white-space:normal}
 .mobile-pairs .cost-trigger .unit-cost{white-space:normal!important;font-size:.75rem!important;margin-top:8px;line-height:1.5;letter-spacing:0;overflow-wrap:normal;word-break:normal}
 .mobile-pairs .details-button{padding:9px 0;line-height:1.5}
 .mobile-pairs .details-button>span{font-family:Arial,sans-serif;font-variant-emoji:text}
}

/* Paediatric formulations: a separate, quiet group after adult tablets. */
.paediatric-divider{grid-column:1/-1;display:flex;align-items:end;justify-content:space-between;gap:20px;padding:32px 0 8px;border-top:1px solid #d5e3dc;margin-top:20px}.paediatric-divider span{font-size:11px;letter-spacing:.12em;color:#4f7664}.paediatric-divider h2{font-size:26px;letter-spacing:-.03em;margin:8px 0 0}.paediatric-divider p{font-size:13px;color:#60766b;max-width:260px;line-height:1.6;margin:0}.paediatric-card{border:1px solid #dce6e1;border-radius:24px;overflow:hidden;background:white;display:flex;flex-direction:column;min-width:0}.paediatric-visual{background:var(--tint);height:165px;position:relative;display:flex;align-items:center;justify-content:center;padding:16px 16px 30px}.paediatric-visual img{max-width:100%;max-height:118px;object-fit:contain}.paediatric-visual .photo-caption{font-size:9px;line-height:1.25;bottom:6px}.paediatric-content{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}.paediatric-age{color:#32634f;background:#edf5ef;border-radius:8px;padding:7px 9px;font-size:12px;line-height:1.5;align-self:start}.paediatric-content h3{font-size:20px;line-height:1.3;margin:3px 0 0}.paediatric-content h3 button{padding:0;border:0;background:none;font:inherit;text-align:left;color:inherit;cursor:pointer}.paediatric-content p{margin:0;font-size:14px;line-height:1.5;color:#61756a}.paediatric-strength{font-size:14px;line-height:1.5}.paediatric-form{font-size:12px;color:#687d72;line-height:1.4}.paediatric-content .details-button{margin-top:auto;padding:17px 0 0;text-align:left;font-size:14px}.paediatric-dose-panel{padding:22px;border:1px solid #d7e5dc;background:#f3f8f4;border-radius:20px;margin-bottom:24px}.paediatric-dose-panel table{width:100%;border-collapse:collapse;font-size:14px}.paediatric-dose-panel th,.paediatric-dose-panel td{text-align:left;padding:12px 8px;border-bottom:1px solid #d9e6de;line-height:1.6;vertical-align:top}.paediatric-dose-panel thead th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#587365}.paediatric-dose-panel tbody th{font-weight:500;width:48%}.paediatric-dose-panel p,.paediatric-dose-panel small{line-height:1.65;color:#526d5e}.paediatric-dose-panel small{display:block;font-size:12px}
@media(max-width:780px){.paediatric-divider{align-items:start;flex-direction:column;gap:10px}.paediatric-divider h2{font-size:23px}.paediatric-divider p{max-width:none}.paediatric-content{padding:14px;gap:9px}.paediatric-content h3{font-size:16px}.paediatric-content p,.paediatric-strength{font-size:13px}.paediatric-visual{height:140px;padding:12px 10px 28px}.paediatric-visual img{max-height:100px}.paediatric-content .details-button{font-size:13px}.paediatric-dose-panel{padding:16px}.paediatric-dose-panel th,.paediatric-dose-panel td{padding:12px 5px;font-size:13px}}

.ingredient-search-match{margin:0 22px 16px;padding:10px 12px;background:#edf5f0;border:1px solid #d5e6db;border-radius:10px;color:#35634a;font-size:12px;line-height:1.6;overflow-wrap:normal;word-break:normal}.ingredient-search-match>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#6b8876;margin-bottom:2px}.paediatric-content .ingredient-search-match{margin:0}.product-grid:focus{outline:none}@media(max-width:780px){.ingredient-search-match{margin:0 12px 12px;padding:9px;font-size:12px}}

/* Image metadata occupies a full-width row below every paediatric photo. */
.paediatric-visual{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;justify-items:center;align-items:center;gap:8px;height:190px;padding:18px 14px 12px}
.paediatric-visual img{grid-column:1;grid-row:1;width:100%;height:100%;max-height:138px;min-width:0;min-height:0;object-fit:contain}
.paediatric-visual .photo-caption{grid-column:1;grid-row:2;position:static;width:100%;font-size:12px;line-height:1.45;overflow-wrap:normal;word-break:normal;bottom:auto;margin:0}
.photo-caption{hyphens:none}
@media(max-width:780px){.paediatric-visual{height:170px;padding:14px 10px 10px;gap:7px}.paediatric-visual img{max-height:116px}.paediatric-visual .photo-caption{font-size:12px;line-height:1.4}.paediatric-content .details-button{font-size:14px;line-height:1.5}.paediatric-strength{font-size:14px}.paediatric-age{font-size:12px}}
