/* The reference's clinical sections (v1.54.0, owner 2026-10-22): normal values, fluid therapy, toxic agents.
   Served at /refs/clinical.css on the public pages and loaded by the app's /reference/ pages too, so every colour
   falls back for the app's tokens. Mobile first; no positioned or z-indexed wrapper around the hero or search. */
.refs-clin-h1{min-width:0;overflow-wrap:anywhere}
.refs-clin h2{margin:0 0 12px;font-size:19px;line-height:1.3;min-width:0;overflow-wrap:anywhere}
.refs-clin h2 .info-pop{vertical-align:middle}
.refs-clin-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.refs-clin-table{width:100%;border-collapse:collapse}
.refs-clin-table th[scope=row]{font-weight:600;text-align:left;vertical-align:top;min-width:120px}
.refs-clin-table td{vertical-align:top}
.refs-clin-param{overflow-wrap:anywhere}
.refs-clin-val+.refs-clin-val{margin-top:6px}
.refs-clin-q{color:var(--muted,#667085);font-size:13px}
.refs-clin-note{margin-top:2px;color:var(--muted,#667085);font-size:13px;line-height:1.4}
.refs-clin-none{color:var(--muted,#667085);font-size:13px}
.refs-clin-lead,.refs-clin-foot{color:var(--muted,#667085);font-size:14px;margin:0 0 12px}
.refs-clin-foot{margin:12px 0 0}
.refs-clin-sources{margin:0;padding-left:18px}
.refs-clin-sources li{margin:0 0 8px;overflow-wrap:anywhere}
.refs-clin-kind{color:var(--muted,#667085)}
.refs-clin-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:18px 0 0}
.refs-clin-links a{font-weight:600}
.refs-clin-links-home{margin:12px 0 4px}
.refs-clin-src .info-pop-body{max-width:min(360px,80vw)}
@media (max-width:600px){
  .refs-clin-table th,.refs-clin-table td{padding:9px 6px}
  .refs-clin-table th[scope=row]{min-width:96px}
}
/* Fluid therapy (v1.55.0): the calculator form and its answer. */
.refs-fl-form [hidden]{display:none!important}
.refs-fl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin:0 0 14px}
.refs-fl-field{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:14px}
.refs-fl-field>span{color:var(--muted,#667085);font-size:13px;font-weight:600}
.refs-fl-field select,.refs-fl-field input[type=text]{width:100%;min-height:42px;padding:8px 10px;border:1px solid var(--line,#d8e0eb);border-radius:10px;background:var(--surface,#fff);color:inherit;font:inherit}
.refs-fl-wide{grid-column:1/-1}
.refs-fl-check{flex-direction:row;align-items:flex-start;gap:8px;grid-column:1/-1}
.refs-fl-check input{margin-top:3px}
.refs-fl-submit{min-height:42px;padding:0 22px}
.refs-fl-out{margin:16px 0 0;padding:14px 16px;border:1px solid var(--line,#d8e0eb);border-radius:12px;background:var(--soft,#f5f8fc)}
.refs-fl-lines{margin:0;display:grid;gap:6px}
.refs-fl-lines div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.refs-fl-lines dt{color:var(--muted,#667085)}
.refs-fl-lines dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.refs-fl-formula{margin:10px 0 0;font-size:13px;color:var(--muted,#667085);overflow-wrap:anywhere}
.refs-fl-warn{margin:8px 0 0;font-weight:600;color:var(--bad,#b42318)}
.refs-fl-note{margin:6px 0 0;font-size:13px}
.refs-fl-error{margin:0;font-weight:600;color:var(--bad,#b42318)}
.refs-fl-list{margin:10px 0 0;padding-left:18px}
.refs-fl-list li{margin:0 0 6px}
.refs-fl-formula-box{margin:0 0 10px;padding:10px 12px;border-left:3px solid var(--blue,#1d93a3);background:var(--soft,#f5f8fc);font-weight:600;overflow-wrap:anywhere}
.refs-fl-h3{margin:16px 0 8px;font-size:16px}
.refs-clin-fluid-link{margin:0 0 16px;font-weight:600}
@media (max-width:600px){.refs-fl-grid{grid-template-columns:1fr}}
/* Blood transfusion: threshold guard, calculator mode and clinical checklist. */
.refs-bt-alert{border-left:4px solid var(--warn,#b7791f)}
.refs-bt-alert p{margin:0;line-height:1.6}
.refs-bt-mode{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 14px}
.refs-bt-mode label{display:flex;align-items:center;gap:7px;font-weight:600}
.refs-bt-list{margin:0;padding-left:20px}
.refs-bt-list li{margin:0 0 9px;line-height:1.55}
.refs-bt-list li:last-child{margin-bottom:0}
.refs-bt-positive li::marker{color:var(--good,#15803d)}
.refs-bt-negative li::marker{color:var(--bad,#b42318)}
.refs-bt-checklist{border-top:3px solid var(--blue,#1d93a3)}
.refs-bt-severity th,.refs-bt-severity td{text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap}
.refs-bt-severity th[scope=row]{white-space:normal}
.refs-bt-hydration{margin:14px 0 0;padding:10px 12px;border-left:3px solid var(--blue,#1d93a3);background:var(--soft,#f5f8fc);line-height:1.55}
.refs-bt-xeno{border-top:3px solid var(--bad,#b42318)}
/* Toxic agents (v1.56.0): the hub list and an agent's page. */
.refs-tx-filter{display:block;margin:12px 0 0}
.refs-tx-filter input{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line,#d8e0eb);border-radius:12px;background:var(--surface,#fff);color:inherit;font:inherit}
.refs-tx-list{list-style:none;margin:0;padding:0}
.refs-tx-list li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 14px;padding:10px 0;border-bottom:1px solid var(--line,#d8e0eb)}
.refs-tx-list li:last-child{border-bottom:0}
.refs-tx-list li[hidden],[data-toxin-group][hidden]{display:none}
.refs-tx-list a{min-width:0;overflow-wrap:anywhere;text-decoration:none}
.refs-tx-name{font-weight:600}
.refs-tx-aka{display:block;color:var(--muted,#667085);font-size:13px}
.refs-tx-badges{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.refs-tx-badges .pill{font-size:12px}
.refs-tx-see{color:var(--muted,#667085);font-size:12px}
.refs-tx-medicine-links{margin:8px 0 0}
.refs-tx-aka-line{margin:-4px 0 8px;color:var(--muted,#667085);overflow-wrap:anywhere}
.refs-tx-links{margin:10px 0 0}
