:root {
  --report-slice-1: #f73b00;
  --report-slice-2: #f7bb07;
  --report-slice-3: #4aaa4d;
  --report-slice-4: #1872cb;
  --report-slice-5: #3444a3;
  --report-slice-6: #13c2c2;
  --report-slice-7: #722ed1;
  --report-slice-8: #eb2f96;
  --report-slice-9: #a0d911;
  --report-slice-10: #34d399;
  --report-slice-11: #d946ef;
  --report-slice-12: #ff85c0;
  --report-slice-13: #b37feb;
  --report-slice-14: #9d174d;
  --report-slice-15: #ffa39e;
  --report-slice-16: #69b1ff;
  --chart-other: #d3d5db;
  --chart-tokens: #faad14;
  --chart-cache-trend: #1677ff;
  --chart-cache: #729d96;
  --report-average: #a7adb8;
  --hm-0: var(--ui-surface-2);
  --hm-1: color-mix(in srgb, var(--primary) 18%, var(--ui-card));
  --hm-2: color-mix(in srgb, var(--primary) 38%, var(--ui-card));
  --hm-3: color-mix(in srgb, var(--primary) 62%, var(--ui-card));
  --hm-4: var(--primary);
}

:root[data-theme='dark'] {
  --chart-other: #54565f;
  --chart-tokens: #d89614;
  --chart-cache-trend: #1668dc;
  --chart-cache: #84b4ab;
  --report-average: #727985;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme='system'] {
    --chart-other: #54565f;
    --chart-tokens: #d89614;
    --chart-cache-trend: #1668dc;
    --chart-cache: #84b4ab;
    --report-average: #727985;
  }
}

/* 外层 content 保留全站留白；报表内侧额外留 4px，避免卡片贴住滚动条。 */
.report-page { display: grid; gap: 16px; min-width: 0; width: 100%; padding: 0 4px 16px; }
.report-page-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.report-page-heading [data-slot='page-title'] { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: 0; }
.report-page-heading [data-slot='page-description'] { margin-top: 2px; font-size: 12px; }
.report-period-control { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 100%; }
.report-period-control [data-slot='segmented-control'] { flex-wrap: wrap; }
.report-page [data-slot='segmented-item'] { height: 24px; padding: 0 10px; }
.report-date-caption { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.report-date-range { display: inline-flex; align-items: center; gap: 8px; }
.report-date-sep { color: var(--text-3); font-size: 12px; }
.report-card, .report-overview-block { border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--ui-card); box-shadow: none; }
.report-card-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px 8px; border-bottom: 0; }
.report-card-header [data-slot='card-title'] { flex: none; margin: 0; font-size: 13px; line-height: 20px; font-weight: 500; }
.report-card-meta { color: var(--text-3); font-size: 11px; }
.report-card-content { padding: 0 16px 12px; }
.report-header-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.report-overview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.report-stat { position: relative; border: 0; border-radius: 0; background: transparent; padding: 12px 16px; box-shadow: none; }
.report-stat + .report-stat::before { content: ''; position: absolute; top: 16px; bottom: 16px; left: 0; width: 1px; background: var(--hairline); }
.report-stat [data-slot='metric-label'] { margin-bottom: 4px; color: var(--text-3); font-size: 11px; line-height: 16px; }
.report-stat [data-slot='metric-value'] { font-size: 26px; line-height: 30px; font-weight: 500; font-variant-numeric: tabular-nums; word-break: normal; overflow-wrap: anywhere; }
.report-stat [data-slot='metric-value'] small { margin-left: 4px; font-size: 14px; font-weight: 400; }
.report-chart-reading strong small { margin-left: 4px; font-size: 12px; font-weight: 400; }
.donut-center-value small, .report-cache-window [data-slot='metric-value'] small { margin-left: 4px; font-size: 13px; font-weight: 400; }
.report-stat-caption { margin-top: 2px; font-size: 11px; line-height: 16px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.report-overview-grid > .empty { grid-column: 1 / -1; }
.report-overview-secondary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; padding: 8px 16px; border-top: 1px solid var(--hairline); color: var(--text-3); font-size: 11px; line-height: 16px; }
.report-overview-secondary > span { display: flex; align-items: baseline; gap: 6px; }
.report-overview-secondary strong { color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.report-overview-secondary small { font-size: inherit; white-space: nowrap; }
.report-overview-secondary .report-top-model { min-width: 0; margin-left: auto; }
.report-top-model strong { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-rank-grid, .report-donut-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; min-width: 0; }
.report-rank-grid > :only-child, .report-donut-grid > :only-child { grid-column: 1 / -1; }
.report-rank-grid:empty { display: none; }
.report-rank-select { width: 100px; height: 26px; font-size: 11px; }
.report-rank-card .report-card-content { padding-bottom: 10px; }
.report-rank-list { display: grid; grid-template-columns: 20px minmax(0, 1.7fr) minmax(64px, .8fr) 60px 44px; column-gap: 10px; max-height: 272px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.report-rank-list > [data-slot='empty'] { grid-column: 1 / -1; }
.report-rank-row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; column-gap: 10px; min-height: 34px; padding: 6px 0; border-radius: var(--r-xs); }
.report-rank-row:hover, .report-rank-row:focus-visible { background: var(--surface-2); }
.report-rank-row:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.report-rank-order { color: var(--text-3); font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.report-rank-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; }
.report-rank-name > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-rank-name .pbadge { flex: 0 1 auto; max-width: 110px; padding: 0 4px; font-size: 10px; font-weight: 400; line-height: 16px; color: var(--text-3); background: transparent; border-color: var(--hairline); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-rank-meter { min-width: 0; }
.report-rank-amount { color: var(--text-2); font-size: 12px; font-weight: 500; }
.report-rank-share { color: var(--text-3); font-size: 11px; }
.report-rank-amount, .report-rank-share { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-rank-track { height: 4px; background: var(--surface-2); }
.report-rank-fill { background: var(--report-slice-1); opacity: .85; }
.report-rank-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--hairline); padding-top: 8px; margin-top: 6px; color: var(--text-3); font-size: 11px; line-height: 16px; }
.report-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; margin-bottom: 8px; }
.report-section-heading > div { display: flex; align-items: baseline; gap: 12px; }
.report-section-heading h2 { margin: 0; font-size: 14px; font-weight: 500; }
.report-section-heading > div > span { color: var(--text-3); font-size: 11px; }
.report-donut-settings-button { height: 28px; gap: 8px; color: var(--text-3); font-size: 12px; font-weight: 400; }
.report-donut-settings { width: min(320px, calc(100vw - 24px)); padding: 20px; }
.report-setting-title { font-size: 14px; font-weight: 500; }
.report-donut-settings p { color: var(--text-3); font-size: 12px; line-height: 1.6; margin: 8px 0 16px; }
.report-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.report-donut-content { padding: 0 16px 12px; }
.donut-layout { display: grid; grid-template-columns: minmax(152px, .75fr) minmax(224px, 1.35fr); align-items: center; gap: 12px; min-width: 0; }
.donut-column { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.donut-wrap { position: relative; width: 100%; max-width: 188px; aspect-ratio: 1; }
.donut-wrap .recharts-sector { transition: fill-opacity 140ms ease-out; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 34px 24px; text-align: center; pointer-events: none; }
.donut-center-value { font-size: 24px; line-height: 28px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.donut-center-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.donut-caption { max-width: 100%; margin: 0; color: var(--text-3); font-size: 11px; line-height: 16px; text-align: center; text-wrap: balance; }
.donut-label { fill: #fff; font-size: 11px; font-weight: 600; font-family: var(--font-sans); font-variant-numeric: tabular-nums; paint-order: stroke; stroke: rgb(0 0 0 / 10%); stroke-width: 2px; pointer-events: none; }
.donut-label[data-other] { fill: var(--text-2); stroke: var(--chart-other); }
.donut-legend { display: flex; flex-direction: column; align-self: stretch; min-width: 0; }
.donut-legend-head, .donut-legend-row { display: grid; grid-template-columns: minmax(0, 1fr) 62px 46px; align-items: center; gap: 6px; }
.donut-legend-head { flex: none; height: 24px; padding: 0 6px; font-size: 11px; color: var(--text-3); }
.donut-legend-head > :not(:first-child) { text-align: right; }
.donut-legend-scroll { max-height: 204px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.donut-legend-row { min-height: 24px; padding: 3px 6px; border-radius: var(--r-xs); font-size: 11px; line-height: 18px; }
.donut-legend-row[data-highlighted] { background: var(--surface-2); }
.donut-legend-row:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ring); }
.donut-legend-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.donut-legend-name > :last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.donut-legend-tokens, .donut-legend-percent { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.donut-legend-tokens { color: var(--text-3); }
.donut-legend-percent { color: var(--text-2); }
.report-distribution-note { margin: 0; padding-top: 6px; color: var(--text-3); font-size: 11px; line-height: 16px; }
.report-activity-summary { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-bottom: 12px; color: var(--text-3); font-size: 11px; }
.report-activity-summary strong { color: var(--text-2); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.heat-wrap { width: 100%; max-width: 1100px; margin: 0 auto; overflow-x: auto; overflow-y: hidden; padding: 2px 0 4px; scrollbar-width: thin; }
.report-svg { display: block; }
.hm-cell { fill: var(--hm-0); stroke: var(--ui-card); stroke-width: 1; }
.hm-cell:hover { stroke: var(--text-3); }
.hm-cell.l1 { fill: var(--hm-1); }
.hm-cell.l2 { fill: var(--hm-2); }
.hm-cell.l3 { fill: var(--hm-3); }
.hm-cell.l4 { fill: var(--hm-4); }
.hm-axis { fill: var(--text-3); font-family: var(--font-sans); font-size: 11px; font-variant-numeric: tabular-nums; }
.report-activity-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--text-3); font-size: 11px; }
.heat-legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.heat-legend-item { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.heat-legend-item i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--hm-0); }
.heat-legend-item .l0 { box-shadow: inset 0 0 0 1px var(--hairline); }
.heat-legend-item .l1 { background: var(--hm-1); }
.heat-legend-item .l2 { background: var(--hm-2); }
.heat-legend-item .l3 { background: var(--hm-3); }
.heat-legend-item .l4 { background: var(--hm-4); }
.report-cache-window-content { padding: 0 0 12px; }
.report-cache-window-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.report-cache-window { position: relative; padding: 8px 16px 4px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.report-cache-window + .report-cache-window { border-left: 1px solid var(--hairline); }
.report-cache-window [data-slot='metric-label'] { color: var(--text-3); font-size: 11px; margin-bottom: 4px; }
.report-cache-window [data-slot='metric-value'] { color: var(--chart-cache); font-size: 24px; line-height: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.report-cache-window-reading { margin-top: 4px; color: var(--text-3); font-size: 11px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.report-trend-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.report-trend-select { min-width: 148px; max-width: 300px; height: 26px; font-size: 11px; }
.report-chart-reading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 32px; }
.report-chart-reading > div { display: flex; align-items: baseline; gap: 8px; }
.report-chart-reading strong { font-size: 20px; line-height: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.report-chart-reading span { color: var(--text-3); font-size: 11px; }
.chart-wrap { position: relative; width: 100%; min-width: 0; min-height: 216px; }
.report-chart-area { position: relative; width: 100%; height: 216px; min-width: 0; }
.report-chart-empty { display: grid; place-items: center; min-height: 216px; }
.report-chart-area .recharts-surface { font-family: var(--font-sans); }
.report-chart-area .recharts-cartesian-axis-tick-value { font-variant-numeric: tabular-nums; }
/* 折线点上的读数：填充色由代码按所属折线给，这里只管字与「挖空」用的描边
   （描边取卡片底色，标签压到折线上时把线挖开，密集处也读得清） */
.report-line-label { font-size: 11px; font-variant-numeric: tabular-nums; paint-order: stroke; stroke: var(--ui-card); stroke-width: 3px; stroke-linejoin: round; }
.report-chart-area .recharts-wrapper:focus-visible, .donut-wrap .recharts-wrapper:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.report-chart-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 8px; color: var(--text-3); font-size: 11px; line-height: 16px; }
.report-model-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; max-width: 100%; }
.report-model-legend-item { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 200px; }
.report-model-legend-dot { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.report-model-legend-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-average-swatch { width: 12px; height: 0; border-top: 1px dashed var(--report-average); }
.report-cache-inline-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 12px; }
.report-cache-inline-stats > div { display: flex; flex-direction: column; gap: 2px; }
.report-cache-inline-stats span { color: var(--text-3); font-size: 11px; }
.report-cache-inline-stats strong { font-size: 20px; line-height: 28px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.report-cache-legend, .report-cache-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.report-cache-legend { gap: 20px; flex-wrap: wrap; }
.report-rate-swatch { width: 12px; height: 0; border-top: 2px solid var(--chart-cache-trend); }
.report-token-swatch { width: 12px; height: 0; border-top: 2px solid var(--chart-tokens); }
.report-source-panel { min-width: 0; }
.report-source-content { padding-top: 0; }
.report-source-table-wrap { overflow-x: auto; max-height: 400px; }
.report-source-table { min-width: 1080px; width: 100%; font-size: 12px; white-space: nowrap; }
.report-source-table thead { position: sticky; top: 0; z-index: 1; background: var(--surface-2); }
.report-source-table th { font-size: 11px; font-weight: 400; color: var(--text-3); height: 32px; }
.report-source-table td { height: 36px; }
.report-source-table :is(th, td) { padding: 6px 10px; border-color: var(--hairline); }
.report-source-num { text-align: right; font-variant-numeric: tabular-nums; }
.report-source-note { margin-top: 8px; color: var(--text-3); font-size: 11px; }
.report-error { color: var(--danger); }

/* 图表提示通过组件库传送到 body，不能依赖 report-page 祖先。 */
.report-chart-tooltip[data-slot='tooltip-content'] { width: min(400px, calc(100vw - 24px)); max-width: min(400px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--ui-card); box-shadow: var(--shadow-2); color: var(--text); font-size: 11px; line-height: 16px; pointer-events: auto; }
.report-chart-tooltip-compact[data-slot='tooltip-content'] { width: min(320px, calc(100vw - 24px)); }
.report-tooltip-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--hairline); font-size: 12px; font-weight: 500; line-height: 18px; overflow-wrap: anywhere; }
.report-tooltip-title > span { color: var(--text-3); font-size: 11px; font-weight: 400; white-space: nowrap; }
.report-tooltip-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 0; font-size: 11px; line-height: 16px; }
.report-tooltip-row strong { font-weight: 500; }
.report-tooltip-name { display: flex; align-items: baseline; gap: 6px; min-width: 0; overflow-wrap: anywhere; color: var(--text-2); }
.report-tooltip-name i { width: 8px; height: 8px; border-radius: 50%; flex: none; align-self: center; }
.report-tooltip-row > :last-child, .report-tooltip-model > :not(:first-child) { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.report-tooltip-value { display: inline-flex; flex-direction: row; align-items: baseline; flex-wrap: nowrap; justify-content: flex-end; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-tooltip-value strong { font-size: 11px; font-weight: 500; }
.report-tooltip-value small { color: var(--text-3); font-size: 11px; }
.report-tooltip-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.report-tooltip-pairs .report-tooltip-row { flex-wrap: wrap; }
.report-tooltip-pairs .report-tooltip-row > :last-child { margin-left: auto; }
.report-tooltip-pairs .report-tooltip-name { flex-shrink: 0; }
.report-tooltip-requests { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; padding: 4px 0 2px; color: var(--text-3); font-size: 11px; line-height: 16px; font-variant-numeric: tabular-nums; }
.report-tooltip-requests > span { white-space: nowrap; }
.report-tooltip-requests strong { color: var(--text-2); font-weight: 500; }
.report-tooltip-cache-rate { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 4px; color: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.report-tooltip-cache-rate > span:first-child { white-space: nowrap; }
.report-tooltip-cache-rate strong { color: var(--chart-cache-trend); font-size: 14px; line-height: 20px; font-weight: 500; }
.report-tooltip-breakdown { margin-top: 6px; padding-top: 4px; border-top: 1px solid var(--hairline); }
.report-tooltip-section-title, .report-tooltip-model { display: grid; grid-template-columns: minmax(0, 1fr) minmax(106px, max-content) 38px; gap: 8px; align-items: baseline; font-size: 11px; }
.report-tooltip-section-title { margin-bottom: 2px; color: var(--text-3); line-height: 20px; }
.report-tooltip-section-title > :not(:first-child) { text-align: right; }
.report-tooltip-model { padding: 2px 0; line-height: 16px; }
.report-tooltip-model .report-tooltip-name { align-items: center; }
.report-tooltip-model .report-tooltip-name > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-tooltip-model > strong { font-size: 11px; font-weight: 500; }
.report-tooltip-model > small { font-size: 11px; color: var(--text-3); }
.report-tooltip-rest { margin-top: 2px; padding-top: 4px; border-top: 1px solid var(--hairline); color: var(--text-3); }
.report-tooltip-note { color: var(--text-3); font-size: 11px; line-height: 16px; margin: 6px 0 0; }

@media (max-width: 1400px) {
  .donut-layout { grid-template-columns: minmax(136px, .7fr) minmax(200px, 1.3fr); gap: 8px; }
  .report-rank-list { grid-template-columns: 16px minmax(0, 1.8fr) minmax(48px, .6fr) 54px 40px; column-gap: 8px; }
  .report-rank-row { column-gap: 8px; }
  .report-rank-name .pbadge { max-width: 100px; }
}

@media (max-width: 1180px) {
  .report-rank-grid, .report-donut-grid { grid-template-columns: minmax(0, 1fr); }
  .donut-layout { grid-template-columns: minmax(164px, .75fr) minmax(248px, 1.3fr); gap: 20px; }
  .report-rank-list { grid-template-columns: 20px minmax(0, 1.7fr) minmax(64px, 1fr) 64px 48px; }
  .report-overview-secondary .report-top-model { margin-left: 0; }
}

@media (max-width: 767px) {
  .report-page { padding-top: 8px; }
  .report-page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .report-period-control { align-items: flex-start; gap: 8px; }
  .report-overview-grid, .report-cache-window-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-stat:nth-child(3)::before { display: none; }
  .report-stat:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .report-stat [data-slot='metric-value'] { font-size: 24px; }
  .report-overview-secondary { gap: 8px 16px; }
  .report-top-model { flex-wrap: wrap; }
  .report-section-heading { flex-wrap: wrap; gap: 8px; }
  .report-section-heading > div > span { display: none; }
  .donut-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .donut-wrap { width: 188px; }
  .report-header-actions { flex-wrap: wrap; margin-left: 0; }
  .report-trend-select { max-width: 100%; }
  .report-cache-window:nth-child(3) { border-left: 0; }
  .report-cache-window:nth-child(n+3) { border-top: 1px solid var(--hairline); padding-top: 12px; }
  .report-cache-inline-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .report-cache-inline-stats strong { font-size: 18px; }
  .report-chart-area, .report-chart-empty, .chart-wrap { min-height: 200px; }
  .report-chart-area { height: 200px; }
  .report-rank-list { grid-template-columns: 16px minmax(0, 1fr) 48px 52px 40px; column-gap: 6px; }
  .report-rank-row { column-gap: 6px; }
  .report-rank-name .pbadge { display: none; }
  .report-tooltip-model, .report-tooltip-section-title { grid-template-columns: minmax(0, 1fr) minmax(96px, max-content) 36px; gap: 6px; }
  .report-tooltip-pairs { gap: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .donut-wrap .recharts-sector { transition: none; }
}
