.charts-subsection{margin-top:16px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.charts-view-tabs--six .charts-view-tabs__list{grid-template-columns:repeat(6,minmax(150px,1fr))}
.executive-dashboard__header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 12px}
.executive-dashboard__header .section__subtitle{margin:0;color:var(--color-text-muted)}
.executive-dashboard__sample{min-width:min(210px,100%);margin:0;color:var(--color-text-muted);font-size:.82rem;font-weight:650;font-variant-numeric:tabular-nums}
.executive-dashboard__sample-skeleton{width:180px;height:14px;margin-left:auto;border-radius:999px}
.executive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.executive-card{position:relative;display:grid;grid-template-rows:auto minmax(260px,1fr) auto;min-width:0;padding:16px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:var(--shadow-card)}
.executive-card--wide{grid-column:span 2;min-height:390px}
.executive-card:not(.executive-card--wide){grid-column:span 2}
.executive-card.executive-card--full{grid-column:1/-1}
.executive-card--specialties{grid-template-rows:auto auto auto minmax(420px,520px) auto;min-height:0}
.executive-card--specialties.has-no-data{grid-template-rows:auto auto auto;min-height:0}
.executive-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;margin-bottom:10px}
.executive-card__head h3{margin:0;color:var(--color-text);font-size:1rem;line-height:1.3}
.executive-card__head p{margin:4px 0 0;color:var(--color-text-muted);font-size:.78rem;line-height:1.4}
.executive-card__actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.executive-card__select{display:flex;align-items:center;gap:6px;color:var(--color-text-muted);font-size:.75rem;font-weight:650}
.executive-card__select select{min-height:34px;padding:5px 28px 5px 8px;border:1px solid var(--color-border);border-radius:6px;background:var(--color-input-bg);color:var(--color-text);font:inherit}
.executive-card__chart{position:relative;min-height:260px}
.executive-card__chart--sankey{min-height:310px}
.executive-card__chart canvas{width:100%;height:100%}
.executive-card__note{margin:8px 0 0;color:var(--color-text-muted);font-size:.72rem}
.executive-card__coverage{min-height:20px;margin:-2px 0 8px;color:var(--color-text-muted);font-size:.76rem;line-height:1.4}
.executive-card__coverage.is-warning{color:var(--color-warning-text,var(--color-text))}
.executive-specialties-size-key{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 8px;color:var(--color-text-muted);font-size:.74rem}
.executive-specialties-size-key[hidden]{display:none}
.executive-specialties-size-key span{display:inline-flex;align-items:center;gap:5px}
.executive-specialties-size-key span:first-child{font-weight:700}
.executive-specialties-size-key i{display:inline-block;width:var(--specialty-bubble-size);height:var(--specialty-bubble-size);border:1.5px solid var(--color-accent);border-radius:50%;background:color-mix(in srgb,var(--color-accent) 58%,transparent)}
.executive-card--specialties .executive-card__chart{height:clamp(420px,42vw,520px);min-height:420px}
.executive-card--specialties .executive-card__empty{min-height:140px;padding:16px}
.executive-specialties-table{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.executive-specialties-table[hidden]{display:none}
.executive-specialties-table table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.executive-specialties-table caption{font-weight:700;text-align:left}
.executive-specialties-table th,.executive-specialties-table td{padding:8px 6px;border-bottom:1px solid var(--color-border);text-align:right}
.executive-specialties-table th:first-child,.executive-specialties-table td:first-child{text-align:left}
.executive-specialties-table small{display:block;margin-top:3px;color:var(--color-text-muted);font-size:.7rem;line-height:1.35;white-space:normal}
.executive-card__empty{display:grid;place-items:center;min-height:220px;padding:24px;border:1px dashed var(--color-border);border-radius:10px;color:var(--color-text-muted);text-align:center}
.executive-mobile-summary{display:none;color:var(--color-text);font-size:.8rem}
.executive-mobile-summary__group+ .executive-mobile-summary__group{margin-top:14px}
.executive-mobile-summary h4{margin:0 0 6px;font-size:.78rem}
.executive-mobile-summary ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.executive-mobile-summary li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--color-border)}
.executive-mobile-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.executive-mobile-table th,.executive-mobile-table td{padding:7px 4px;border-bottom:1px solid var(--color-border);text-align:right}
.executive-mobile-table th:first-child,.executive-mobile-table td:first-child{text-align:left}
.executive-card__skeleton{gap:10px}
.executive-card__skeleton .skeleton--title{max-width:58%}
.executive-card__skeleton .skeleton--caption{max-width:76%}
.executive-card__skeleton .skeleton--chart-area{margin-top:2px}
.skeleton--chart-area--executive-journey{height:clamp(250px,32vh,350px)}
.executive-card[data-loading-visible=true] .executive-card__skeleton{display:flex}
.executive-card[data-loading-visible=true] > :not(.executive-card__skeleton){visibility:hidden}
@media(max-width:1180px){.executive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-card:not(.executive-card--wide){grid-column:span 1}.executive-card--wide{grid-column:span 2}.charts-view-tabs--six .charts-view-tabs__list{grid-template-columns:repeat(6,minmax(138px,1fr));overflow-x:auto}}
@media(max-width:720px){.executive-dashboard__header{align-items:flex-start;flex-direction:column}.executive-dashboard__sample{width:100%}.executive-dashboard__sample-skeleton{margin-left:0}.executive-grid{grid-template-columns:minmax(0,1fr)}.executive-card,.executive-card--wide,.executive-card--full{grid-column:1;min-height:360px}.executive-card--specialties,.executive-card--specialties.has-no-data{grid-template-rows:auto auto auto auto;min-height:0}.executive-card__head{gap:8px}.executive-card__actions{align-items:flex-end;flex-direction:column}.executive-card__select{flex-direction:column;align-items:flex-start}.executive-card__chart{min-height:280px}.executive-card__desktop-visual{position:absolute;left:-10000px;width:900px;height:520px;min-height:0}.executive-card--specialties .executive-card__desktop-visual{height:520px;min-height:0}.executive-specialties-size-key{display:none}.executive-specialties-table{position:static;width:auto;height:auto;max-width:100%;margin:0;padding:0;overflow-x:auto;clip:auto;clip-path:none;white-space:normal}.executive-specialties-table table{min-width:620px}.executive-specialties-table th:first-child,.executive-specialties-table td:first-child{width:220px}.executive-mobile-summary:not([hidden]){display:block;max-width:100%;overflow-x:auto}.executive-mobile-table{min-width:620px}.executive-mobile-table th:first-child,.executive-mobile-table td:first-child{width:190px;overflow-wrap:normal}}
.charts-subsection:first-of-type{margin-top:0}
body[data-page=charts] .section-band--trends{margin-bottom:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.charts-filter-shell{position:relative;flex:1 1 100%;width:100%}
.charts-view-panel[hidden]{display:none}
#chartsHospitalSectionPanel{margin-top:16px;padding:0;border:0;background:transparent;box-shadow:none}
.charts-active-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;align-items:center;padding:10px;border:1px solid var(--filter-border);border-radius:16px;background:color-mix(in srgb,var(--color-surface-alt) 86%,transparent)}
.charts-active-filters__content{display:grid;gap:6px;min-width:0}
.charts-active-filters__label{margin:0;color:var(--color-text-muted);font-size:var(--filter-label-size);font-weight:700}
.charts-active-filter-chips,.charts-active-filters__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.charts-active-filters__actions{justify-content:flex-end}
.charts-active-filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid var(--filter-border);border-radius:999px;background:var(--filter-bg);color:var(--color-text);font:inherit;font-size:.82rem;font-weight:700}
button.charts-active-filter-chip{cursor:pointer}
.charts-active-filter-chip--primary{border-color:color-mix(in srgb,var(--color-accent) 72%,var(--filter-border));background:color-mix(in srgb,var(--color-accent) 14%,var(--filter-bg));color:var(--color-accent)}
.charts-active-filter-chip__reset{color:currentColor;font-size:1rem;line-height:1;opacity:.72}
.charts-filter-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:34;display:grid;grid-template-rows:auto minmax(0,1fr);width:min(700px,calc(100vw - 32px));max-height:min(680px,calc(100dvh - 190px));padding:0;overflow:hidden;border-radius:8px;box-shadow:var(--shadow-popover-soft)}
.charts-filter-panel__header,.charts-filter-panel__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--color-surface-alt)}
.charts-filter-panel__header{border-bottom:1px solid var(--filter-border)}
.charts-filter-panel__title{margin:0;font-size:1rem}
.charts-filter-panel__header-actions{display:flex;align-items:center;gap:4px}
.charts-filter-panel__reset,.charts-filter-panel__close{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:0;background:transparent;color:var(--color-accent);font-size:.84rem;font-weight:700;cursor:pointer}
.charts-filter-panel__reset{padding:0 8px}
.charts-filter-panel__reset:disabled{cursor:default;opacity:.5}
.charts-filter-panel__close{width:36px;padding:0;color:var(--color-text-muted);font-size:1.5rem;line-height:1}
.charts-filter-panel__body{min-height:0;padding:0 16px;overflow-y:auto;overscroll-behavior:contain}
.charts-filter-sections{display:grid}
.charts-filter-section{padding:14px 0;border-bottom:1px solid color-mix(in srgb,var(--filter-border) 76%,transparent)}
.charts-filter-section:last-child{border-bottom:0}
.charts-filter-section__title{margin:0 0 10px;color:var(--color-text-muted);font-size:.72rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.charts-time-range-fields,.charts-filter-panel .chart-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.charts-filter-panel .chart-filter{min-width:0}
.charts-filter-panel .chart-filter:has(#chartCardType){grid-column:1 / -1}
body .charts-filter-panel .segmented-control__button[aria-pressed=true]{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-accent) 78%,transparent);background:color-mix(in srgb,var(--color-accent) 16%,var(--filter-bg));color:var(--color-accent)}
.charts-card-type-options{display:flex;flex-wrap:wrap;gap:8px}
.charts-card-type-option{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:72px;min-height:40px;padding:0 12px;border:1px solid var(--filter-border);border-radius:6px;background:var(--filter-bg);color:var(--color-text-muted);font-size:var(--filter-font-size);font-weight:650;cursor:pointer}
.charts-card-type-option[aria-pressed=true]{border-color:color-mix(in srgb,var(--color-accent) 78%,var(--filter-border));background:color-mix(in srgb,var(--color-accent) 14%,var(--filter-bg));color:var(--color-accent)}
.charts-card-type-option__check{width:14px;color:currentColor;opacity:0;transform:scale(.75);transition:.12s ease}
.charts-card-type-option[aria-pressed=true] .charts-card-type-option__check{opacity:1;transform:scale(1)}
.charts-filter-panel__footer{display:none;border-top:1px solid var(--filter-border)}
.charts-filter-sheet-backdrop{display:none}
body[data-page=charts] .section-band--trends>.section[data-section=chart]{margin-bottom:0}
#chartsMainFiltersPanel[hidden],#chartAggregationFilter[hidden]{display:none}
.charts-subsection .chart-grid{gap:12px}
#chartsOverviewPanel .chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.chart-card--overview-primary{grid-column:1 / -1}
.chart-card--overview-secondary{grid-column:auto}
.chart-card--overview{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);align-items:center}
.chart-card--overview figcaption{grid-column:1;grid-row:1;min-width:0;align-self:center;padding:0}
.chart-card--overview .chart-card__toolbar--chart-controls{grid-column:2;grid-row:1;width:auto}
.chart-card--overview .chart-card__canvas--chart{grid-column:1 / -1;grid-row:2}
.chart-card--overview-primary .chart-card__canvas--chart{height:360px;min-height:360px}
.chart-card--overview-secondary .chart-card__canvas--chart{height:340px;min-height:340px}
.charts-hospital-table-controls{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;align-items:end;gap:12px;margin:8px 0 10px}
.charts-hospital-table-reset{min-height:40px;white-space:nowrap}
.charts-hospital-table-actions{justify-content:flex-end;align-self:end}
.charts-hospital-table-controls__field{display:block;font-size:.9rem;color:var(--color-text-muted)}
.charts-hospital-table-controls__field select,.charts-hospital-table-controls__field input{border-radius:10px;border:1px solid var(--color-border);background:var(--color-input-bg);color:var(--color-text);padding:10px 12px;font-size:.95rem;min-height:40px}
.charts-hospital-table-controls__field .search-field-wrap input[type=search]{padding-left:42px}
.charts-hospital-search .inline-icon-label__icon{color:var(--color-text-subtle)}
.charts-hospital-search:focus-within .inline-icon-label__icon{color:var(--color-accent)}
.charts-hospital-table-hint{margin:0 0 12px;color:var(--color-text-muted);font-size:.88rem}
.charts-hospital-table-hint__mobile,.charts-active-filters[hidden],.charts-hospital-selection-status[hidden]{display:none}
.charts-hospital-selection-status{display:flex;align-items:center;gap:10px;margin:0 0 12px;border:1px solid color-mix(in srgb,var(--color-accent) 22%,var(--color-border));border-radius:8px;padding:8px 10px;font-size:.88rem;justify-content:space-between}
.charts-hospital-selection-status__actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.charts-hospital-selection-status__clear{width:36px;height:36px;min-width:36px;font-size:1.25rem}
.charts-hospital-metrics{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:1px;margin:0 0 12px;overflow:hidden;border:1px solid var(--color-border);border-radius:8px;background:var(--color-border)}
.charts-hospital-metrics>div{min-width:0;padding:7px 10px;background:var(--color-surface-alt)}
.charts-hospital-metrics__primary{box-shadow:inset 3px 0 0 var(--color-accent)}
.charts-hospital-metrics__warning{background:color-mix(in srgb,var(--color-warning, #d97706) 8%,var(--color-surface-alt))}
.charts-hospital-metrics dt{color:var(--color-text-muted);font-size:.78rem}
.charts-hospital-metrics dd{margin:2px 0 0;color:var(--color-text);font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums}
.charts-hospital-metrics__primary dd{font-size:1.15rem}
.charts-hospital-table-wrapper{max-height:none;overflow:visible}
#chartsHospitalTableRoot{min-width:900px}
.charts-hospital-table-wrapper th:not(:first-child){min-width:104px}
.charts-hospital-table-wrapper th[data-charts-hospital-sort=unclassified]{min-width:136px}
.charts-hospital-table-wrapper th[data-charts-hospital-sort=total]{min-width:124px}
.charts-hospital-table-wrapper th:first-child,.charts-hospital-table-wrapper td:first-child{position:sticky;left:0;z-index:3;background:var(--color-surface)}
.charts-hospital-table-wrapper th:first-child{z-index:4;background:var(--color-surface-alt)}
.charts-hospital-table-wrapper th[data-charts-hospital-sort]{padding:0;user-select:none}
.charts-hospital-table-wrapper th[data-charts-hospital-sort].is-sort-active{color:var(--color-text)}
.charts-hospital-sort-button{width:100%;min-height:44px;display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;padding:8px 10px;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:left;transition:background .2s ease,color .2s ease,box-shadow .2s ease}
.charts-hospital-sort-button__label{display:block;line-height:1.2}
.charts-hospital-sort-button__icon{flex:0 0 auto;color:var(--color-text-muted);font-size:.9rem}
.charts-hospital-sort-button:hover,.charts-hospital-sort-button:focus-visible{background:color-mix(in srgb,var(--color-accent-soft) 26%,transparent);color:var(--color-text);outline:none}
.charts-hospital-sort-button.is-sort-active{color:var(--color-text);background:color-mix(in srgb,var(--color-accent-soft) 36%,transparent)}
.charts-hospital-sort-button.is-sort-active .charts-hospital-sort-button__label{font-weight:700}
.charts-hospital-sort-button:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--color-accent) 28%,transparent)}
.charts-hospital-table-wrapper td:first-child{font-weight:600;min-width:220px;box-shadow:8px 0 16px -14px #0f172a73}
.charts-hospital-table-wrapper tbody td{padding-top:5px;padding-bottom:5px}
.charts-hospital-row-button{width:100%;min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;justify-content:stretch;gap:8px;padding:4px 6px;border:0;border-radius:6px;background:transparent;color:var(--color-text);cursor:pointer;font:inherit;text-align:left;transition:background .2s ease,box-shadow .2s ease}
.charts-hospital-row-button__label{font-weight:600;align-self:center}
.charts-hospital-row-button__meta{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:auto;min-width:30px;height:30px;border-radius:6px;color:var(--color-text-muted)}
.charts-hospital-row-button__meta-text{margin-left:5px;color:var(--color-text-muted);font-size:.76rem;font-weight:650;white-space:nowrap}
.charts-hospital-row-button:hover,.charts-hospital-row-button:focus-visible{background:color-mix(in srgb,var(--color-accent-soft) 22%,transparent);outline:none}
.charts-hospital-row-button:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--color-accent) 28%,transparent)}
.charts-hospital-row-button[aria-pressed=true]{background:color-mix(in srgb,var(--color-accent-soft) 32%,transparent)}
.charts-hospital-row-button[aria-pressed=true] .charts-hospital-row-button__meta{color:var(--color-accent)}
.charts-hospital-cell{display:flex;flex-direction:column;gap:2px;align-items:flex-start;justify-content:center;min-width:94px;border-radius:8px;padding:6px 8px;font-variant-numeric:tabular-nums;background:color-mix(in srgb,var(--color-accent-soft) var(--cell-intensity, 0%),transparent)}
.charts-hospital-cell__count{font-weight:600;color:var(--color-text)}
.charts-hospital-cell__pct{font-size:.82rem;color:var(--color-text-muted)}
.charts-hospital-cell--unclassified{background:color-mix(in srgb,var(--color-warning, #d97706) var(--cell-intensity, 0%),transparent)}
.charts-hospital-total{font-weight:700;font-variant-numeric:tabular-nums;color:var(--color-text);white-space:nowrap}
.charts-hospital-table-wrapper tbody tr{cursor:default}
.charts-hospital-table-wrapper tbody tr.is-department-active td{background:color-mix(in srgb,var(--color-accent) 10%,var(--color-surface))}
.charts-hospital-table-wrapper tbody tr.is-department-active td:first-child{box-shadow:inset 3px 0 0 var(--color-accent),8px 0 16px -14px #0f172a73}
.charts-hospital-table-wrapper tbody tr:nth-child(2n):not(.is-department-active) td{background:color-mix(in srgb,var(--color-text) 3%,var(--color-surface))}
.charts-hospital-trend{margin-top:14px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-alt);padding:12px;display:grid;gap:12px}
.charts-hospital-trend[data-state=neutral]{display:none}
.charts-hospital-trend[data-state=neutral] :is(.chart-card__header,#chartsHospitalDeptTrendSkeleton,canvas){display:none}
.chart-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.chart-card__header-main{min-width:0;display:grid;gap:4px}
.charts-hospital-trend__clear{flex:0 0 auto;margin-left:auto}
.chart-card__header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.chart-card__header h3{margin:0;font-size:.98rem;color:var(--color-text)}
.chart-card__header p{margin:0;font-size:.86rem;color:var(--color-text-muted)}
.charts-hospital-trend__state{border-radius:12px;padding:14px 16px;font-size:.9rem;line-height:1.45}
.charts-hospital-trend__state--neutral{border:1px dashed color-mix(in srgb,var(--color-accent) 26%,transparent);background:color-mix(in srgb,var(--color-accent-soft) 18%,transparent)}
.charts-hospital-trend__state--empty{border:1px solid color-mix(in srgb,var(--color-warning, #d97706) 32%,transparent);background:color-mix(in srgb,var(--color-warning, #d97706) 12%,transparent);color:var(--color-text)}
.charts-hospital-trend canvas{width:100%;height:clamp(260px,32vw,320px);min-height:260px;max-height:320px;display:block}
.charts-hospital-trend canvas[hidden],.charts-hospital-trend [hidden]{display:none}
.heatmap-toolbar{width:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px}
.heatmap-scale{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:var(--color-text-muted);font-size:.76rem}
.heatmap-scale__steps{display:inline-flex;gap:3px}
.heatmap-scale__steps i{width:24px;height:8px;border-radius:2px;background:color-mix(in srgb,var(--color-accent) var(--heatmap-scale-intensity, 20%),var(--color-surface-alt))}
.charts-overflow-cue[data-overflowing=true][data-overflow-start=false]{box-shadow:inset 14px 0 14px -14px color-mix(in srgb,var(--color-text) 44%,transparent)}
.charts-overflow-cue[data-overflowing=true][data-overflow-end=false]{box-shadow:inset -14px 0 14px -14px color-mix(in srgb,var(--color-text) 44%,transparent)}
.charts-overflow-cue[data-overflowing=true][data-overflow-start=false][data-overflow-end=false]{box-shadow:inset 14px 0 14px -14px color-mix(in srgb,var(--color-text) 44%,transparent),inset -14px 0 14px -14px color-mix(in srgb,var(--color-text) 44%,transparent)}
.chart-card__toolbar--chart-controls{width:100%;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}
.chart-card__control-group{display:inline-flex;align-items:center;gap:8px;min-width:0}
.chart-card__control-group--aggregation{flex:0 1 auto;min-height:34px}
.chart-card__toolbar--chart-controls .heatmap-toolbar__label{flex:0 0 auto;white-space:nowrap}
.chart-card__toolbar--chart-controls .segmented-control{min-height:34px}
.chart-card__toolbar--chart-controls .segmented-control__button{min-height:34px;line-height:34px;padding-block:0}
.chart-card__toolbar--chart-controls :is(.export-icon-btn,.chart-copy-btn,.chart-download-btn){flex:0 0 auto}
.hourly-toolbar{display:flex;flex-direction:column;gap:8px;width:100%;align-items:stretch}
.hourly-toolbar__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hourly-toolbar [hidden]{display:none}
.hourly-toolbar__details{display:grid}
.hourly-toolbar__details>summary{display:none}
.hourly-toolbar__details:not([open])>.hourly-toolbar__row{display:flex}
.hourly-toolbar__field{display:inline-flex;flex-direction:column;gap:6px;position:relative}
.hourly-toolbar__field--metric{min-width:220px}
.hourly-compare-toggle{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface-alt);color:var(--color-text-muted);font-size:.78rem;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.hourly-compare-toggle input{margin:0;width:14px;height:14px;accent-color:var(--color-accent)}
.hourly-compare-toggle:hover,.hourly-compare-toggle:focus-within{color:var(--color-text);background:var(--color-surface);border-color:#2563eb59}
.hourly-toolbar select,.hourly-toolbar .chip-button,.hourly-toolbar .segmented-control__button,.hourly-toolbar #hourlyDepartment,.hourly-department__toggle{height:34px;min-height:34px}
.segmented-control{min-height:34px;align-items:stretch}
.segmented-control__button,.hourly-toolbar .chip-button{line-height:34px;padding-top:0;padding-bottom:0}
body[data-theme=dark] .hourly-toolbar select{background:#0f172ab3;color:var(--color-text);border-color:#60a5fa40}
body[data-theme=dark] .hourly-toolbar select:hover,body[data-theme=dark] .hourly-toolbar select:focus-visible{background:#2563eb40;border-color:#60a5fa80}
.chart-card--hourly label[for=hourlyDepartment]{flex:1 1 280px;min-width:220px}
.hourly-department{display:inline-flex;align-items:center;gap:0;background:var(--color-input-bg);border:1px solid var(--color-border);border-radius:10px;overflow:visible;position:relative}
.chart-card--hourly #hourlyDepartment{min-width:220px;border:none;background:transparent;color:var(--color-text);padding:8px 12px;font-size:.9rem;font-family:inherit;min-height:36px;border-top-left-radius:10px;border-bottom-left-radius:10px}
.hourly-department__toggle{border:none;background:transparent;color:var(--color-text-muted);padding:8px 12px;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease;border-top-right-radius:10px;border-bottom-right-radius:10px}
.hourly-department__toggle:before{content:"";display:inline-block;width:.45em;height:.45em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .16s ease}
.hourly-department__toggle[aria-expanded=true]:before{transform:rotate(225deg)}
.hourly-department__toggle:hover,.hourly-department__toggle:focus-visible{background:var(--color-input-bg-hover);border-color:#2563eb59;color:var(--color-accent);outline:none}
.chart-card--hourly #hourlyDepartment:hover,.chart-card--hourly #hourlyDepartment:focus-visible{background:var(--color-input-bg-hover);border-color:#2563eb59;outline:none}
.hourly-department:focus-within{border-color:#2563eb59;box-shadow:0 0 0 2px var(--state-accent-bg-12)}
.hourly-suggestions{position:absolute;margin-top:6px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;box-shadow:0 12px 26px -20px #0f172a73;max-height:320px;overflow-y:auto;z-index:20;min-width:220px}
.hourly-department .hourly-suggestions{top:100%;right:0;left:auto;margin-top:6px}
.hourly-suggestions__item{padding:8px 12px;cursor:pointer;font-size:.85rem}
.hourly-suggestions__item[aria-selected=true],.hourly-suggestions__item:hover{background:var(--state-accent-bg-12);color:var(--color-accent)}
body[data-theme=dark] .hourly-suggestions{background:#0f172afa;border-color:#60a5fa40;box-shadow:0 16px 40px -28px #0f172ad9}
.heatmap-toolbar__field{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:var(--color-text-muted);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:14px;padding:6px 10px}
.heatmap-toolbar__label{font-weight:600;letter-spacing:.01em}
.heatmap-toolbar select{appearance:none;background:var(--color-input-bg);border:1px solid var(--color-border);border-radius:10px;padding:6px 28px 6px 12px;font-size:.82rem;font-weight:600;color:var(--color-text);cursor:pointer}
.heatmap-toolbar select:hover,.heatmap-toolbar select:focus-visible{background:var(--color-input-bg-hover);border-color:#2563eb59;outline:none}
.heatmap-toolbar__field,.hourly-compare-toggle{min-height:var(--filter-height);font-size:var(--filter-font-size);padding:0 10px;background:var(--color-surface-alt)}
.hourly-compare-toggle:hover,.hourly-compare-toggle:focus-within,.heatmap-toolbar__field:focus-within{border-color:color-mix(in srgb,var(--color-accent) 35%,var(--filter-border))}
.hourly-department{border:1px solid var(--filter-border);border-radius:var(--filter-radius);background:var(--filter-bg);min-height:var(--filter-height)}
.hourly-department:focus-within{border-color:color-mix(in srgb,var(--color-accent) 35%,var(--filter-border));box-shadow:var(--filter-focus-ring)}
.chart-card--hourly #hourlyDepartment{border:none;background:transparent;color:var(--color-text);min-height:var(--filter-height);height:var(--filter-height)}
@media(max-width:640px){.charts-subsection{padding:12px}
.chart-card__toolbar--chart-controls{flex-wrap:wrap;justify-content:flex-end}
.chart-card__control-group--aggregation{flex:1 1 100%;justify-content:flex-end}
}
@media(max-width:520px){
.charts-view-panel{margin-top:12px}
.charts-mobile-filters__toggle:focus-visible,.charts-filter-panel__close:focus-visible,.charts-active-filter-chip:focus-visible,.heatmap-scroll:focus-visible,.charts-hospital-table-wrapper:focus-visible{outline:3px solid color-mix(in srgb,var(--color-accent) 42%,transparent);outline-offset:2px}
.charts-active-filters{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:60px;max-height:72px;padding:8px}
.charts-active-filters__content{display:block;overflow:hidden}
.charts-active-filters__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.charts-active-filter-chips{flex-wrap:nowrap;max-height:none;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.charts-active-filter-chips::-webkit-scrollbar{display:none}
.charts-active-filter-chip{flex:0 0 auto;min-height:36px}
.charts-active-filters__actions{justify-content:flex-end}
.charts-mobile-filters__toggle{width:44px;min-width:44px;padding-inline:0}
.charts-mobile-filters__toggle .inline-icon-label__text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.charts-filter-panel{position:fixed;top:auto;right:0;bottom:calc(var(--component-mobile-bottom-nav-height, 72px) + env(safe-area-inset-bottom,0px) + 3px);left:0;z-index:82;grid-template-rows:auto minmax(0,1fr) auto;width:100%;max-height:calc(100dvh - var(--component-mobile-bottom-nav-height, 72px) - 72px);margin:0;border-width:1px 0 0;border-radius:16px 16px 0 0;box-shadow:0 -16px 40px #02061747}
.charts-mobile-filters__toggle,.chart-filter__segmented .segmented-control__button,.heatmap-toolbar__field,.heatmap-toolbar .chart-copy-btn,.heatmap-toolbar .chart-download-btn,.hourly-toolbar .segmented-control__button,.hourly-toolbar .chip-button{flex:0 0 auto;min-height:44px;scroll-snap-align:start}
#chartsMainFiltersPanel[data-expanded=false]:not([data-motion-closing=true]){display:none}
.chart-year-chips,.heatmap-toolbar,.hourly-compare-series .segmented-control{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.charts-filter-panel__header{padding:10px 12px}
.charts-filter-panel__body{padding:0 12px}
.charts-filter-panel__footer{display:flex;padding:10px 12px}
.charts-filter-panel__footer .btn{flex:1}
.charts-time-range-fields,.charts-filter-panel .chart-filters{grid-template-columns:minmax(0,1fr)}
.charts-filter-panel .chart-filter:has(#chartCardType){grid-column:auto}
.charts-filter-panel .chart-filter__segmented{display:flex;width:100%;overflow:visible}
.charts-filter-panel .chart-filter__segmented .segmented-control__button{min-width:0;white-space:normal}
.charts-card-type-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.charts-card-type-option{min-width:0;min-height:44px;padding-inline:8px}
.charts-filter-sheet-backdrop:not([hidden]){position:fixed;inset:0 0 calc(var(--component-mobile-bottom-nav-height, 72px) + env(safe-area-inset-bottom,0px));z-index:81;display:block;border:0;background:#02061794}
body.charts-filters-open{overflow:hidden}
.chart-controls,.chart-filters{gap:8px}
.charts-subsection,.chart-card,.charts-hospital-trend{border-radius:10px;padding:10px;gap:8px}
.charts-subsection{margin-top:8px}
.chart-card figcaption{font-size:.76rem;line-height:1.35}
.chart-card__toolbar--actions{flex-direction:row;justify-content:flex-end}
.chart-card__canvas--chart,.chart-card--tall .chart-card__canvas--chart{min-height:var(--chart-height-standard-mobile);height:var(--chart-height-standard-mobile)}
.chart-card--tall{min-height:0}
#chartsOverviewPanel .chart-grid{grid-template-columns:minmax(0,1fr)}
.chart-card--overview-primary{grid-column:auto}
.chart-card--overview{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr)}
.chart-card--overview figcaption{grid-column:1 / -1;grid-row:1;font-size:.82rem}
.chart-card--overview .chart-card__toolbar--chart-controls{grid-column:1 / -1;grid-row:2;justify-self:end}
.chart-card--overview .chart-card__canvas--chart{grid-row:3}
.chart-card--overview-primary .chart-card__canvas--chart,.chart-card--overview-secondary .chart-card__canvas--chart{height:var(--chart-height-standard-mobile);min-height:var(--chart-height-standard-mobile)}
.chart-card__canvas--hourly{min-height:var(--chart-height-analytical-mobile);height:var(--chart-height-analytical-mobile)}
.chart-card--hourly{min-height:0}
.hourly-toolbar__details>summary{display:block}
.hourly-toolbar__details:not([open])>.hourly-toolbar__row{display:none}
.hourly-toolbar__row{width:100%;align-items:stretch;flex-wrap:wrap}
.hourly-toolbar__field--metric,.hourly-toolbar__row--primary>.heatmap-toolbar__field,.hourly-toolbar__row--time>.heatmap-toolbar__field,.hourly-toolbar__row--aggregation>.heatmap-toolbar__field,.hourly-toolbar__row--compare>.heatmap-toolbar__field{width:100%;min-width:0;flex:1 1 100%}
.hourly-toolbar__field--metric .segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
.hourly-toolbar__field--metric .segmented-control__button,.hourly-toolbar select,.chart-card--hourly #hourlyDepartment{width:100%}
.hourly-toolbar__field--metric .segmented-control__button{min-width:0;white-space:normal}
.hourly-toolbar__row--compare .hourly-compare-toggle{min-height:44px}
.heatmap-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;justify-content:stretch;overflow:visible;padding-bottom:2px}
.heatmap-toolbar__field{min-width:0}
.chart-card--heatmap .heatmap-toolbar__field{grid-column:1 / -1;width:100%}
.chart-card--heatmap .heatmap-toolbar__field select{width:100%}
.chart-card--heatmap .heatmap-toolbar>:not(.heatmap-toolbar__field){justify-self:end}
.heatmap-scale{justify-content:center}
.heatmap-scale__steps i{width:18px}
.heatmap-table{min-width:620px;font-size:.72rem}
.charts-hospital-table-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px}
.charts-hospital-table-controls__field{grid-column:1 / -1}
.charts-hospital-table-reset{width:auto;justify-self:start}
.charts-hospital-table-actions{justify-self:end}
.charts-hospital-metrics{display:flex;gap:6px;overflow-x:auto;border:0;background:transparent;scrollbar-width:thin;scroll-snap-type:x proximity}
.charts-hospital-metrics>div{flex:0 0 144px;border:1px solid var(--color-border);border-radius:8px;scroll-snap-align:start}
.charts-hospital-table-hint__mobile{display:inline}
.charts-hospital-selection-status{align-items:flex-start}
.charts-hospital-selection-status__actions{flex:0 0 auto}
.charts-hospital-selection-status__jump{max-width:126px;white-space:normal}
.charts-hospital-trend .chart-card__header{flex-direction:column}
.charts-hospital-trend .chart-card__header-actions{width:100%;justify-content:flex-end}
.charts-hospital-table-controls__field select,.charts-hospital-table-controls__field input{min-height:44px}
.charts-hospital-table-wrapper td:first-child{min-width:220px}
.charts-hospital-row-button__label{overflow-wrap:break-word}
.charts-hospital-row-button__meta-text{display:none}
.charts-hospital-table-wrapper{max-height:none;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;scrollbar-gutter:stable}
#chartsHospitalTableRoot{min-width:860px}
.charts-hospital-table-wrapper tbody td{padding-top:4px;padding-bottom:4px}
.charts-hospital-row-button{min-height:44px;padding:4px 5px}
.charts-view-panel{padding-bottom:calc(var(--component-mobile-bottom-nav-height, 72px) + env(safe-area-inset-bottom,0px) + 20px)}
}
body[data-theme=dark] .hourly-department{background:var(--filter-bg);border-color:var(--filter-border)}
.hourly-department.is-disabled{opacity:.55;filter:grayscale(.15);pointer-events:none}
.heatmap-scroll{overflow-x:auto}
.heatmap-table{width:100%;border-collapse:separate;border-spacing:4px;font-size:.8rem;min-width:960px}
.heatmap-table thead th{text-align:center;font-weight:600;color:var(--color-text-muted);padding:4px 2px;white-space:nowrap}
.heatmap-table tbody th{text-align:left;font-weight:600;color:var(--color-text-muted);padding:6px 8px;white-space:nowrap;position:sticky;left:0;z-index:2;background:var(--color-surface)}
.heatmap-table tbody th.is-weekend{color:var(--color-weekend)}
.heatmap-table thead th:first-child{position:sticky;left:0;z-index:3;background:var(--color-surface)}
.heatmap-table td{padding:0}
.heatmap-cell{display:flex;align-items:center;justify-content:center;min-width:36px;height:32px;border-radius:8px;font-weight:600;transition:.12s ease}
.heatmap-cell:hover,.heatmap-cell:focus-visible{transform:scale(1.02);outline:2px solid rgba(37,99,235,.25);outline-offset:1px}
.heatmap-empty{margin:0;color:var(--color-text-muted);font-size:.9rem}
body[data-charts-view=heatmap] [data-chart-filter-reset=compareGmp],body[data-charts-view=hospital] [data-chart-filter-reset=compareGmp]{display:none}
.charts-view-tabs--five>.workspace-tabs__list{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){.charts-view-tabs--five>.workspace-tabs__list{display:flex;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity}.charts-view-tabs--five .workspace-tab{flex:0 0 min(72vw,230px);scroll-snap-align:start}}
