/* BMITDEE U.S. Health Data Explorer
   Scoped add-on for the V3.4.0 site shell. Existing site files are untouched. */
:root{
  --health-navy:#102d43;
  --health-navy-2:#173f5b;
  --health-blue:#006dcc;
  --health-teal:#0b7c82;
  --health-teal-dark:#075e63;
  --health-cyan:#0ea5a5;
  --health-amber:#c9720a;
  --health-ink:#18313f;
  --health-muted:#5f7380;
  --health-line:#cfdae1;
  --health-soft:#eef7fb;
  --health-soft-2:#f7fafc;
  --health-paper:#fff;
  --health-paper-2:#f4f8fb;
  --health-paper-3:#eaf0f4;
  --health-danger:#9f2d27;
  --health-success:#147d64;
  --health-shadow:0 12px 34px rgba(18,47,66,.08);
}
.page-health-data{background:#f5f8fa;--teal:var(--health-teal);--teal-dark:var(--health-teal-dark);--amber:var(--health-amber);--paper-3:var(--health-paper-3);--shadow-lg:0 18px 45px rgba(20,43,63,.16)}
.page-health-data main{background:#f5f8fa}
.page-health-data .health-hero{padding:clamp(46px,7vw,82px) 0}
.page-health-data .health-hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)}
.page-health-data .health-hero h1{max-width:800px}
.page-health-data .health-hero-note{max-width:760px;margin:16px 0 0;color:#bcd8e5;font-size:.9rem}
.page-health-data .health-query-window{min-width:0}
.page-health-data .health-query-status{display:flex;align-items:center;gap:9px;padding:15px 18px 4px;color:#dff5f4;font-size:.86rem}
.page-health-data .health-status-dot{width:9px;height:9px;border-radius:50%;background:#45d483;box-shadow:0 0 0 5px rgba(69,212,131,.12)}
.page-health-data .health-query-code{padding-top:12px!important;white-space:pre-wrap!important}
.page-health-data .health-query-foot{display:flex;justify-content:space-between;gap:18px;padding:12px 18px 16px;border-top:1px solid rgba(255,255,255,.09);color:#98b7c8;font-size:.76rem}
.page-health-data .health-trust{position:relative;z-index:2}
.page-health-data .health-main{padding-bottom:64px!important}
.page-health-data .health-control-section{scroll-margin-top:90px}
.page-health-data .health-section-head{align-items:center}
.page-health-data .health-reset{white-space:nowrap}
.page-health-data .health-filter-panel{padding:20px}
.page-health-data .health-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.page-health-data .health-field{display:grid;gap:6px;margin:0;color:#344f5f;font-weight:760;font-size:.86rem;min-width:0}
.page-health-data .health-field>span{display:block}
.page-health-data .health-field small{color:var(--health-muted);font-size:.74rem;font-weight:500;line-height:1.35}
.page-health-data .health-control,
.page-health-data .health-field input[type="search"],
.page-health-data .health-field input[list]{width:100%;min-height:44px;border:1px solid #b9c9d3;border-radius:9px;padding:9px 11px;background:#fff;color:var(--health-ink);font:16px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif}
.page-health-data .health-field input[type="range"]{width:100%;min-height:44px;accent-color:var(--health-blue)}
.page-health-data .health-segment{display:grid;grid-template-columns:1fr 1fr;min-height:44px;border:1px solid #b9c9d3;border-radius:9px;overflow:hidden;background:#fff}
.page-health-data .health-segment button{border:0;background:#fff;color:#526878;font-weight:800;cursor:pointer;padding:9px 12px}
.page-health-data .health-segment button+button{border-left:1px solid #b9c9d3}
.page-health-data .health-segment button[aria-pressed="true"]{background:var(--health-teal);color:#fff}
.page-health-data .health-freshness{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:16px;padding-top:15px;border-top:1px solid #dbe5eb;color:var(--health-muted);font-size:.8rem}
.page-health-data .health-freshness .item{display:flex;align-items:center;gap:7px}
.page-health-data .health-freshness .k{text-transform:uppercase;letter-spacing:.08em;font-size:.67rem;color:#738894;font-weight:800}
.page-health-data .health-freshness .v{color:#253f50;font-weight:800}
.page-health-data .health-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:#e8f6f5;color:#0a6667;font-weight:850}
.page-health-data .health-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:#18a27f}
.page-health-data .health-badge.stale{background:#fff5dc;color:#805c00}
.page-health-data .health-badge.stale:before{background:#d08a00}
.page-health-data .health-badge.loading{background:#eaf2f8;color:#456274}
.page-health-data .health-badge.loading:before{background:#7191a5}
.page-health-data .health-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.page-health-data .health-stats .stat{background:#fff;border:1px solid var(--health-line);border-radius:14px;padding:18px;box-shadow:0 7px 22px rgba(18,47,66,.045)}
.page-health-data .health-stats .k{margin:0;color:var(--health-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.075em;font-weight:850}
.page-health-data .health-stats .v{margin-top:4px;color:var(--health-navy);font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.05;font-weight:900;letter-spacing:-.035em}
.page-health-data .health-stats .sub{margin-top:7px;color:var(--health-muted);font-size:.82rem;line-height:1.35}
.page-health-data .health-viz-card,.page-health-data .health-table-card{padding:clamp(18px,3vw,26px)}
.page-health-data .health-viz-card h2,.page-health-data .health-table-card h2{margin:0 0 7px;color:var(--health-ink);font-size:clamp(1.35rem,2.6vw,1.9rem)}
.page-health-data .health-viz-card>p,.page-health-data .health-table-card p{color:var(--health-muted)}
.page-health-data .health-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.page-health-data .health-chart-head p{margin:4px 0 0;color:var(--health-muted)}
.page-health-data .health-chart-actions{display:flex;gap:8px;flex-wrap:wrap}
.page-health-data .health-chart-wrap{position:relative;min-height:220px;overflow-x:auto;overflow-y:hidden;border-top:1px solid #e4ebef;padding-top:14px}
.page-health-data .health-chart-wrap svg{display:block;min-width:640px;overflow:visible}
.page-health-data .health-chart-compact svg{min-width:520px}
.page-health-data .health-source-line{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #e5ecef;color:var(--health-muted);font-size:.76rem}
.page-health-data .health-two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.page-health-data .health-two-column>*{min-width:0}
.page-health-data .health-status{padding:12px 14px;border-radius:9px;background:#eef5f9;color:#375365;font-weight:700}
.page-health-data .health-status.error{background:#fff0ef;color:var(--health-danger);border:1px solid #f0c5c1}
.page-health-data .health-status.empty,.page-health-data .health-empty{padding:18px;border:1px dashed #c5d3dc;border-radius:10px;background:#f8fbfd;color:var(--health-muted);text-align:center}
.page-health-data .health-spinner{display:inline-block;width:15px;height:15px;margin-right:7px;border:2px solid #b8d0dc;border-top-color:var(--health-blue);border-radius:50%;animation:health-spin .75s linear infinite;vertical-align:-2px}
@keyframes health-spin{to{transform:rotate(360deg)}}
.page-health-data .skeleton{border-radius:10px;background:linear-gradient(90deg,#edf2f5 25%,#f8fafb 45%,#edf2f5 65%);background-size:250% 100%;animation:health-shimmer 1.25s linear infinite}
@keyframes health-shimmer{to{background-position:-250% 0}}

/* SVG chart styling */
.page-health-data .axis text{fill:#6b7a88;font-size:11px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.page-health-data .gridline{stroke:#dfe7ec;stroke-width:1}
.page-health-data .bar-fill{fill:var(--health-teal);transition:width .62s cubic-bezier(.22,.75,.25,1),fill .18s}
.page-health-data .bar-fill.sel{fill:var(--health-amber)}
.page-health-data .bar-row{cursor:pointer}
.page-health-data .bar-row:focus .bar-fill{stroke:#f4b400;stroke-width:3px}
.page-health-data .bar-label{fill:#203948;font-size:11.5px;font-weight:700}
.page-health-data .bar-value{fill:#203948;font-size:11px;font-weight:850}
.page-health-data .dist-bar{fill:#75bec2;transition:opacity .15s}
.page-health-data .dist-bar:hover{opacity:.72}
.page-health-data .marker-median{stroke:#18313f;stroke-width:2}
.page-health-data .marker-avg{stroke:#6b7a88;stroke-width:2;stroke-dasharray:5 4}
.page-health-data .marker-state{stroke:var(--health-teal);stroke-width:2;stroke-dasharray:3 3}
.page-health-data .marker-county{stroke:var(--health-amber);stroke-width:3}
.page-health-data .dist-legend{display:flex;gap:12px 18px;flex-wrap:wrap;margin-top:10px;color:var(--health-muted);font-size:.75rem}
.page-health-data .dist-legend .key{display:inline-flex;align-items:center;gap:6px}
.page-health-data .dist-legend .swatch{width:16px;height:3px;border-radius:2px}
.page-health-data .tooltip{position:fixed;left:0;top:0;z-index:2200;max-width:290px;padding:12px;border-radius:10px;background:#0d2232;color:#e8f6fb;box-shadow:0 16px 42px rgba(0,0,0,.27);font-size:.78rem;pointer-events:none;opacity:0;transform:translateY(5px);transition:opacity .12s,transform .12s}
.page-health-data .tooltip.show{opacity:1;transform:none}
.page-health-data .tt-title{margin-bottom:7px;font-weight:900;color:#fff}
.page-health-data .tt-row{display:flex;justify-content:space-between;gap:16px;padding:3px 0}
.page-health-data .tt-k{color:#a8c1cf}
.page-health-data .tt-v{font-weight:800;text-align:right}

/* Comparison */
.page-health-data .health-compare-add{margin-top:16px}
.page-health-data .health-chip-row{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.page-health-data .chip{display:inline-flex;align-items:center;gap:7px;padding:6px 7px 6px 10px;border-radius:999px;background:#e8f5f5;color:#0a6667;font-size:.76rem;font-weight:800}
.page-health-data .chip button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#fff;color:#0a6667;cursor:pointer;font-size:17px;line-height:1}
.page-health-data .health-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.page-health-data .cmp-card{padding:15px;border:1px solid #d9e4ea;border-radius:12px;background:#f8fbfd}
.page-health-data .cmp-card h4{margin:0;color:var(--health-ink);font-size:1rem}
.page-health-data .loc-state{color:var(--health-muted);font-size:.76rem}
.page-health-data .cmp-metric{margin:10px 0 2px;color:var(--health-navy);font-size:2rem;line-height:1;font-weight:900;letter-spacing:-.04em}
.page-health-data .cmp-ci{color:var(--health-muted);font-size:.72rem}
.page-health-data .cmp-delta{margin-top:10px;padding-top:9px;border-top:1px solid #dfe8ed;color:#4f6675;font-size:.75rem}
.page-health-data .cmp-delta .up{color:#a43f22;font-weight:850}
.page-health-data .cmp-delta .down{color:#147d64;font-weight:850}

/* Data table */
.page-health-data .health-table-controls{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,260px);gap:12px;margin:18px 0 12px}
.page-health-data .health-table-wrap{overflow:auto;max-height:650px;border:1px solid #d7e2e8;border-radius:12px;background:#fff}
.page-health-data table{width:100%;min-width:820px;border-collapse:collapse;font-size:.82rem}
.page-health-data th,.page-health-data td{padding:10px 11px;border-bottom:1px solid #e5ecef;text-align:left;vertical-align:middle}
.page-health-data th{position:sticky;top:0;z-index:2;background:#eff5f8;color:#375365;font-size:.7rem;text-transform:uppercase;letter-spacing:.055em;cursor:pointer;white-space:nowrap}
.page-health-data th:hover{background:#e5eff4}
.page-health-data td.num{text-align:right;font-variant-numeric:tabular-nums}
.page-health-data tbody tr{transition:background .12s}
.page-health-data tbody tr:hover{background:#f4f9fb}
.page-health-data tbody tr.sel{background:#fff4dc;box-shadow:inset 4px 0 0 var(--health-amber)}
.page-health-data .health-pagination{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:14px}
.page-health-data .health-pagination .page-info{color:var(--health-muted);font-size:.78rem}
.page-health-data .btn{min-height:38px;padding:7px 11px;border:1px solid #b7c8d2;border-radius:8px;background:#fff;color:#174a6a;font-weight:800;cursor:pointer}
.page-health-data .btn:disabled{opacity:.45;cursor:not-allowed}
.page-health-data .health-pagination .btn[aria-current="page"]{background:var(--health-teal);color:#fff;border-color:var(--health-teal)}

/* Download, methodology and related */
.page-health-data .health-download-callout{grid-template-columns:minmax(0,1fr) minmax(260px,auto)}
.page-health-data .health-download-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.page-health-data .health-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.page-health-data .health-method-grid h3{font-size:1.02rem}
.page-health-data .health-method-grid p{margin-bottom:0}
.page-health-data .health-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.page-health-data .health-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.page-health-data .health-toast{position:fixed;left:50%;bottom:22px;z-index:2500;max-width:min(430px,calc(100vw - 32px));padding:11px 15px;border-radius:9px;background:#0d2232;color:#fff;box-shadow:0 16px 36px rgba(0,0,0,.25);opacity:0;transform:translate(-50%,12px);pointer-events:none;transition:.18s}
.page-health-data .health-toast.show{opacity:1;transform:translate(-50%,0)}
.page-health-data code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}

@media(max-width:900px){
  .page-health-data .health-hero-grid{grid-template-columns:1fr}
  .page-health-data .health-query-window{max-width:680px}
  .page-health-data .health-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-health-data .health-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-health-data .health-two-column{grid-template-columns:1fr}
  .page-health-data .health-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-health-data .health-download-callout{grid-template-columns:1fr}
  .page-health-data .health-download-actions{justify-content:flex-start}
}
@media(max-width:650px){
  .page-health-data .health-hero{padding:38px 0 46px}
  .page-health-data .health-hero h1{font-size:clamp(2.2rem,11vw,3.2rem)}
  .page-health-data .health-query-foot{flex-direction:column;gap:4px}
  .page-health-data .health-filter-grid{grid-template-columns:1fr}
  .page-health-data .health-section-head,.page-health-data .health-chart-head{align-items:flex-start;flex-direction:column}
  .page-health-data .health-reset{width:100%}
  .page-health-data .health-stats{grid-template-columns:1fr 1fr}
  .page-health-data .health-chart-wrap{margin-inline:-8px;padding-inline:8px}
  .page-health-data .health-chart-wrap svg{min-width:580px}
  .page-health-data .health-compare-grid{grid-template-columns:1fr}
  .page-health-data .health-table-controls{grid-template-columns:1fr}
  .page-health-data .health-method-grid,.page-health-data .health-source-grid,.page-health-data .health-related-grid{grid-template-columns:1fr}
  .page-health-data .health-download-actions{display:grid;grid-template-columns:1fr}
  .page-health-data .health-download-actions .dev-button{width:100%}
}
@media(max-width:440px){
  .page-health-data .health-stats{grid-template-columns:1fr}
  .page-health-data .health-filter-panel,.page-health-data .health-viz-card,.page-health-data .health-table-card{padding:16px}
}
@media(prefers-reduced-motion:reduce){
  .page-health-data *, .page-health-data *:before,.page-health-data *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@media print{
  .page-health-data .topbar,.page-health-data .dev-actions,.page-health-data .health-control-section,.page-health-data .health-chart-actions,.page-health-data .health-download-callout,.page-health-data .health-pagination,.page-health-data .footer{display:none!important}
  .page-health-data .health-hero{background:#fff!important;color:#102d43!important;padding:20px 0!important}
  .page-health-data .health-hero h1,.page-health-data .health-hero .lead{color:#102d43!important}
  .page-health-data .health-query-window{display:none}
  .page-health-data .health-main{width:100%!important;max-width:none!important;padding:0!important}
  .page-health-data .dev-card{box-shadow:none!important;break-inside:avoid}
  .page-health-data .health-chart-wrap{overflow:visible}
}

/* Interactive U.S. map */
.page-health-data .health-map-card{padding:clamp(18px,3vw,26px);overflow:hidden}
.page-health-data .health-map-head{align-items:flex-start}
.page-health-data .health-map-wrap{position:relative;width:100%;min-height:430px;margin-top:8px;border:1px solid #d9e4ea;border-radius:14px;background:linear-gradient(180deg,#f8fbfd 0%,#eef5f8 100%);overflow:hidden}
.page-health-data .health-map-wrap>.skeleton{margin:12px}
.page-health-data .health-map-svg{display:block;width:100%;height:auto;min-height:430px}
.page-health-data .health-map-feature{stroke:#fff;stroke-width:1.15;vector-effect:non-scaling-stroke;cursor:pointer;transition:filter .15s,opacity .15s,stroke-width .15s}
.page-health-data .health-map-state:hover,.page-health-data .health-map-state:focus,
.page-health-data .health-map-county:hover,.page-health-data .health-map-county:focus{filter:brightness(.91);stroke:#102d43;stroke-width:2.2;outline:none}
.page-health-data .health-map-feature.selected{stroke:var(--health-amber);stroke-width:3.4;filter:drop-shadow(0 0 2px rgba(201,114,10,.65))}
.page-health-data .health-map-legend{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-top:14px;color:var(--health-muted);font-size:.75rem}
.page-health-data .health-map-key{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.page-health-data .health-map-key i{display:inline-block;width:22px;height:10px;border:1px solid rgba(16,45,67,.12);border-radius:3px}
.page-health-data .health-map-note{margin:11px 0 0;color:var(--health-muted);font-size:.8rem;line-height:1.55}
.page-health-data .health-badge.direct{background:#e8f2fb;color:#155681}
.page-health-data .health-badge.direct:before{background:#287fc2}
.page-health-data .health-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:900px){
  .page-health-data .health-source-grid{grid-template-columns:1fr}
  .page-health-data .health-map-wrap,.page-health-data .health-map-svg{min-height:360px}
}
@media(max-width:650px){
  .page-health-data .health-map-wrap{min-height:290px;border-radius:11px}
  .page-health-data .health-map-svg{min-height:290px}
  .page-health-data .health-map-legend{gap:8px 12px}
  .page-health-data .health-map-key i{width:18px}
  .page-health-data #map-national{width:100%}
}
@media print{
  .page-health-data #map-national{display:none!important}
  .page-health-data .health-map-wrap{min-height:360px;break-inside:avoid}
}

/* V3 resilient map fallback and component isolation */
.page-health-data .health-status.info{background:#eaf5f7;color:#285b63;border:1px solid #c7e2e6}
.page-health-data .health-state-tile-grid{display:grid;grid-template-columns:repeat(12,minmax(44px,1fr));grid-template-rows:repeat(8,58px);gap:7px;min-width:720px;padding:22px;align-content:center}
.page-health-data .health-county-tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:8px;padding:18px;align-content:start;max-height:560px;overflow:auto}
.page-health-data .health-map-tile{appearance:none;border:1px solid rgba(16,45,67,.18);border-radius:8px;color:#102d43;box-shadow:0 1px 0 rgba(255,255,255,.65) inset;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,filter .14s ease}
.page-health-data .health-map-tile:hover,.page-health-data .health-map-tile:focus-visible{transform:translateY(-2px);border-color:#102d43;box-shadow:0 6px 14px rgba(16,45,67,.16);filter:saturate(1.08);outline:3px solid rgba(11,124,130,.22);outline-offset:1px;z-index:2}
.page-health-data .health-state-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:5px 2px;line-height:1.05}
.page-health-data .health-state-tile strong{font-size:.79rem;letter-spacing:.04em}
.page-health-data .health-state-tile span{margin-top:4px;font-size:.67rem;font-weight:800}
.page-health-data .health-county-tile{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:9px 10px;text-align:left}
.page-health-data .health-county-tile strong{overflow:hidden;font-size:.78rem;line-height:1.2;text-overflow:ellipsis}
.page-health-data .health-county-tile span{flex:0 0 auto;font-size:.78rem;font-weight:900}
.page-health-data .health-map-tile.selected{border:3px solid var(--health-amber);box-shadow:0 0 0 3px rgba(201,114,10,.2)}
@media(max-width:760px){
  .page-health-data .health-map-wrap{overflow-x:auto;overscroll-behavior-inline:contain}
  .page-health-data .health-state-tile-grid{min-width:680px;grid-template-rows:repeat(8,52px);padding:16px;gap:6px}
  .page-health-data .health-county-tile-grid{grid-template-columns:repeat(2,minmax(125px,1fr));max-height:500px;padding:12px}
}
@media(max-width:430px){
  .page-health-data .health-county-tile-grid{grid-template-columns:1fr}
}

/* V4 mobile charts and touch-friendly county combobox */
.page-health-data .health-chart-wrap{
  overflow-x:hidden;
  overflow-y:visible;
  overscroll-behavior-inline:none;
}
.page-health-data .health-chart-wrap svg,
.page-health-data .health-chart-compact svg{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  height:auto;
  overflow:visible;
}
.page-health-data .health-field>label{
  display:block;
  color:#344f5f;
  font-weight:760;
}
.page-health-data .health-combobox{position:relative;min-width:0}
.page-health-data .health-combobox input{padding-right:44px;-webkit-appearance:none;appearance:none}
.page-health-data .health-combobox-clear{
  position:absolute;
  top:50%;
  right:8px;
  z-index:2;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  margin:0;
  padding:0;
  transform:translateY(-50%);
  border:0;
  border-radius:50%;
  background:#edf4f7;
  color:#315061;
  font:700 21px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;
  touch-action:manipulation;
}
.page-health-data .health-combobox-clear:hover,
.page-health-data .health-combobox-clear:focus-visible{background:#dceaf0;outline:3px solid rgba(0,109,204,.2)}
.page-health-data .health-combobox-list{
  position:fixed;
  z-index:2900;
  max-height:360px;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  border:1px solid #b8cad4;
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 46px rgba(15,42,59,.22);
}
.page-health-data .health-combobox-option{
  appearance:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 14px;
  width:100%;
  min-height:54px;
  padding:10px 12px;
  border:0;
  border-bottom:1px solid #e4ecef;
  background:#fff;
  color:#18313f;
  text-align:left;
  font:inherit;
  cursor:pointer;
  touch-action:manipulation;
}
.page-health-data .health-combobox-option:last-child{border-bottom:0}
.page-health-data .health-combobox-option:hover,
.page-health-data .health-combobox-option.active,
.page-health-data .health-combobox-option[aria-selected="true"]{background:#eaf6f6;color:#075e63}
.page-health-data .health-combobox-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:850}
.page-health-data .health-combobox-value{font-size:.82rem;font-weight:900;white-space:nowrap}
.page-health-data .health-combobox-meta{grid-column:1/-1;color:#687d89;font-size:.72rem;line-height:1.3}
.page-health-data .health-combobox-message{padding:15px;color:#5f7380;font-size:.82rem;line-height:1.45}
.page-health-data .health-combobox-count{padding:8px 12px;border-bottom:1px solid #e5edef;background:#f4f8fa;color:#5a7180;font-size:.7rem;font-weight:800;letter-spacing:.025em}

@media(max-width:650px){
  .page-health-data .health-chart-wrap{margin-inline:0;padding-inline:0}
  .page-health-data .health-chart-wrap svg,
  .page-health-data .health-chart-compact svg{min-width:0!important}
  .page-health-data .bar-label{font-size:11px}
  .page-health-data .bar-value{font-size:11px}
  .page-health-data .axis text{font-size:10px}
  .page-health-data .dist-legend{gap:8px 12px;font-size:.7rem}
  .page-health-data .health-combobox-list{border-radius:14px;box-shadow:0 16px 40px rgba(15,42,59,.28)}
  .page-health-data .health-combobox-option{min-height:58px;padding:11px 13px}
  .page-health-data .health-combobox-name{font-size:.94rem}
  .page-health-data .health-combobox-meta{font-size:.74rem}
}

@media(max-width:430px){
  .page-health-data .health-chart-wrap{border-top-color:#dfe8ed}
  .page-health-data .health-source-line{gap:7px}
}

@media print{
  .page-health-data .health-combobox-list{display:none!important}
}
