/* Generated from usage-explorer.template.css by tools/build-usage-explorer-css.mjs; edit the template.
   quiet, cold, square console surfaces with brief blur-led motion. */
.usage-explorer-page {
  --ux-ink: #111; --ux-ink-2: #2b3230; --ux-muted: #6b7370; --ux-faint: #99a19e;
  --ux-line: #e8ecea; --ux-line-2: #dce2df; --ux-soft: #f5f7f6; --ux-soft-2: #eef2f0; --ux-panel: #fff; --ux-hover: #f7faf9;
  --ux-teal: #1d6f65; --ux-teal-strong: #12554d; --ux-teal-soft: #ebf4f1; --ux-teal-line: rgba(29, 111, 101, .26);
  --ux-danger: #a33c3c; --ux-danger-soft: #fbf0ef; --ux-error-row: #fdf8f7;
  --ux-primary: #111; --ux-primary-hover: #29302d; --ux-primary-fg: #fff; --ux-seg-track: #eef2f0;
  --ux-shadow: 0 22px 54px rgba(17, 24, 39, .06), 0 3px 12px rgba(17, 24, 39, .035);
  --ux-control: 0 .5px 1px rgba(17, 24, 39, .07), 0 2px 5px rgba(17, 24, 39, .045), 0 8px 22px rgba(17, 24, 39, .05);
  --ux-control-hover: 0 1px 2px rgba(17, 24, 39, .08), 0 5px 12px rgba(17, 24, 39, .06), 0 14px 32px rgba(17, 24, 39, .08);
  --ux-control-set: 0 .5px 1px rgba(29, 111, 101, .14), 0 2px 6px rgba(29, 111, 101, .09), 0 10px 26px rgba(29, 111, 101, .11);
  --ux-well: inset 0 1px 2px rgba(17, 24, 39, .08), inset 0 0 1px rgba(17, 24, 39, .05);
  --ux-pop: 0 26px 64px rgba(17, 24, 39, .16), 0 4px 14px rgba(17, 24, 39, .06);
  --ux-menu-bg: #fff; --ux-menu-hover: #f5f7f6;
  --ux-ring: 0 0 0 3px rgba(29, 111, 101, .16), 0 1px 2px rgba(29, 111, 101, .16), 0 10px 26px rgba(29, 111, 101, .14);
  --ux-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ux-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ux-ease: cubic-bezier(.22, 1, .36, 1); --ux-ease-io: cubic-bezier(.65, 0, .35, 1);
  --ux-fast: 140ms; --ux-base: 220ms;
  --ux-h: 40px; --ux-h-sm: 34px; --ux-pad: 28px;
  /* Pre-polish colours for the usage overview and request table, which keep their original look. */
  --uxo-ink: #111; --uxo-muted: #707976; --uxo-soft: #f5f7f6; --uxo-teal: #327869; --uxo-panel: #fff;
  --uxo-shadow: 0 22px 54px #11182712, 0 3px 12px #11182709; --uxo-control-shadow: 0 6px 20px #1118270a, 0 1px 4px #11182708;
}
html[data-console-theme="dark"] .usage-explorer-page {
  /* Aligned with the console-night palette so this page matches every other dark console page. */
  --ux-ink: #e6e6e6; --ux-ink-2: #d5d5d5; --ux-muted: #a0a0a0; --ux-faint: #767676;
  --ux-line: #363636; --ux-line-2: #414141; --ux-soft: #2b2b2b; --ux-soft-2: #303030; --ux-panel: #242424; --ux-hover: #2a2a2a;
  --ux-teal: #76b9a2; --ux-teal-strong: #9ad1bd; --ux-teal-soft: rgba(118, 185, 162, .12); --ux-teal-line: rgba(118, 185, 162, .3);
  --ux-danger: #e9a19d; --ux-danger-soft: rgba(233, 161, 157, .12); --ux-error-row: #2b2524;
  --ux-primary: #d2d2d2; --ux-primary-hover: #e6e6e6; --ux-primary-fg: #222; --ux-seg-track: #303030;
  --ux-shadow: 0 18px 46px rgba(0, 0, 0, .3), 0 3px 10px rgba(0, 0, 0, .18);
  --ux-control: inset 0 1px 0 rgba(255, 255, 255, .035), 0 1px 2px rgba(0, 0, 0, .36), 0 6px 18px rgba(0, 0, 0, .26);
  --ux-control-hover: inset 0 1px 0 rgba(255, 255, 255, .05), 0 2px 4px rgba(0, 0, 0, .4), 0 12px 30px rgba(0, 0, 0, .34);
  --ux-control-set: inset 0 1px 0 rgba(255, 255, 255, .04), 0 1px 2px rgba(0, 0, 0, .36), 0 8px 24px rgba(118, 185, 162, .16);
  --ux-well: inset 0 1px 3px rgba(0, 0, 0, .42), inset 0 0 1px rgba(0, 0, 0, .3);
  /* Menus sit one step lighter than cards (the console's --night-raised): on dark surfaces a shadow alone does not lift them. */
  --ux-pop: inset 0 1px 0 rgba(255, 255, 255, .05), 0 26px 64px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .3);
  --ux-menu-bg: #2b2b2b; --ux-menu-hover: #383838;
  --ux-ring: 0 0 0 3px rgba(118, 185, 162, .2), 0 10px 26px rgba(0, 0, 0, .32);
  --uxo-ink: #e4e9e6; --uxo-muted: #a2aaa6; --uxo-soft: #252a28; --uxo-teal: #a7d5c5; --uxo-panel: #242725;
  --uxo-shadow: 0 18px 46px #0004, 0 3px 10px #0002; --uxo-control-shadow: 0 5px 18px #0003, 0 1px 4px #0002;
}

/* ---------- Page rhythm ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; font-family: var(--ux-font) !important; font-size: 13px; font-weight: 400; line-height: 1.6; }
/* Explorer-owned parts take the new ink; the overview and the table keep the console's own text colour. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > :is(.ux-page-header, .ux-login-notice), .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .ux-details > :not(.ux-table-region) { color: var(--ux-ink); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(button, input, select) { font-family: var(--ux-font) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > * { animation: ux-section-in 560ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .dashboard-card { animation-delay: 50ms; } .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .usage-admin-token-panel { animation-delay: 100ms; } .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .usage-admin-model-panel { animation-delay: 140ms; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .usage-stat-grid { animation-delay: 180ms; } .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .usage-channel-panel { animation-delay: 220ms; } .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .ux-details { animation-delay: 260ms; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-icon { flex: 0 0 auto; display: block; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Header: title left, range + refresh right on one baseline ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .ux-page-header { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 24px; min-height: 0 !important; margin: 0 0 4px !important; padding: 0 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-title { min-width: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-header h1 { margin: 0 !important; color: var(--ux-ink) !important; font-family: var(--ux-font) !important; font-size: clamp(32px, 3.2vw, 44px) !important; font-weight: 500 !important; letter-spacing: -.01em !important; line-height: 1.12 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-header p { margin: 10px 0 0 !important; color: var(--ux-muted) !important; font-size: 14px !important; line-height: 1.6 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-actions { display: flex !important; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 !important; padding: 0 !important; }

/* ---------- Segmented controls with a sliding indicator ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(var(--ux-seg-count), minmax(0, 1fr)); height: var(--ux-h); background: var(--ux-seg-track); box-shadow: var(--ux-well); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented-indicator { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: calc(100% / var(--ux-seg-count)); background: var(--ux-primary); box-shadow: 0 6px 16px rgba(17, 24, 39, .16); transform: translateX(calc(var(--ux-seg-index) * 100%)); transition: transform 320ms var(--ux-ease); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented button { position: relative; z-index: 1; min-width: 0; height: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 0 16px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ux-muted) !important; font-size: 13px !important; font-weight: 450 !important; letter-spacing: 0 !important; white-space: nowrap; cursor: pointer; transform: none !important; transition: color 240ms var(--ux-ease) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented button:hover:not(.active) { color: var(--ux-ink) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented button.active { color: var(--ux-primary-fg) !important; font-weight: 500 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented button:focus-visible { outline: 2px solid var(--ux-teal) !important; outline-offset: -2px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-range { min-width: 282px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-scopes { flex: 0 0 auto; min-width: 200px; }

/* ---------- Buttons ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-refresh, .ux-export-trigger, .ux-state .secondary-button) { display: inline-flex !important; align-items: center !important; justify-content: center; gap: 8px; height: var(--ux-h) !important; min-height: var(--ux-h) !important; margin: 0 !important; padding: 0 16px !important; border: 0 !important; border-radius: 0 !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0 !important; white-space: nowrap; cursor: pointer; transition: background-color var(--ux-fast) ease, box-shadow var(--ux-base) var(--ux-ease), transform var(--ux-fast) ease, opacity var(--ux-base) ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-refresh, .ux-state .secondary-button) { background: var(--ux-panel) !important; color: var(--ux-ink) !important; box-shadow: var(--ux-control) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-refresh, .ux-state .secondary-button):hover:not(:disabled) { box-shadow: var(--ux-control-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-refresh:disabled { cursor: default; opacity: .62; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-refresh[data-busy] .ux-refresh-icon { animation: ux-spin 900ms linear infinite; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-refresh, .ux-export-trigger, .ux-reset, .ux-pager button, .ux-state .secondary-button, .ux-segmented button, .usage-details-scroll-controls button):active:not(:disabled) { transform: scale(.97) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(button, select, input):focus-visible { outline: 2px solid var(--ux-teal); outline-offset: 2px; }

/* ---------- Cards ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .dashboard-card { min-width: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .ux-details { padding: 24px var(--ux-pad) 26px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-range-tabs { display: none !important; }

/* ---------- Usage overview and request table: original look ----------
   At the user's request (2026-11-05) the KPI cards, charts, model distribution, channels and request
   table keep the look they had before the polish. These are the earlier patch's own rules, selectors
   and colours (--uxo-*), so they cascade against the captured console exactly as before. ---------- */
.usage-explorer-page .usage-chart { height: 156px; min-height: 156px; }
.usage-explorer-page .ux-details .usage-details-toolbar { justify-content: flex-end; margin: 0 0 6px; min-height: 0; }
.ux-details .usage-details-scroll-controls button { width: 36px; height: 36px; }
.ux-details .gateway-usage-table-wrap { border: 0; border-radius: 0; }
.ux-details .gateway-usage-table th { background: var(--uxo-soft); font-size: 12px; }
.ux-details .gateway-usage-table tbody tr:hover { background: #f6faf9; }
.ux-details .gateway-usage-table td { padding-top: 13px; padding-bottom: 13px; }
.ux-details .gateway-usage-table th:first-child, .ux-details .gateway-usage-table td:first-child { min-width: 92px; white-space: nowrap; }
.ux-details .gateway-usage-table th:nth-child(3), .ux-details .gateway-usage-table td:nth-child(3) { min-width: 220px; }
html[data-console-theme="dark"] .ux-details .gateway-usage-table tbody tr:hover { background: #1a3034; }
html[data-console-theme="dark"] .ux-details .usage-endpoint-cell code { background: #243538 !important; color: #bad4d5 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page :is(.dashboard-card, .stat-card) {
  margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--uxo-panel) !important; box-shadow: var(--uxo-shadow) !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page > .dashboard-card { padding: 24px 28px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .card-title {
  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 20px; margin: 0 0 12px !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page :is(.card-title h2, .ux-details-head h2) {
  margin: 0 !important; font-family: var(--ux-font) !important; font-size: 20px !important; font-weight: 520 !important; line-height: 1.25 !important; letter-spacing: 0 !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-chart {
  /* Horizontal scrolling also clips vertically: reserve room for the tooltip without shrinking the bars. */
  height: 190px !important; min-height: 190px !important; box-sizing: border-box; padding: 48px 0 22px !important; background: transparent !important; box-shadow: none !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-chart::before { bottom: 40px; right: 0; left: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-bar-column { background: #a7afab !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-bar:hover .usage-bar-column { background: #588b7e !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-stat-grid { margin: 0 !important; gap: 16px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-stat-grid .stat-card { min-height: 116px; padding: 20px 24px !important; gap: 10px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-stat-grid .stat-card span {
  font-family: var(--ux-font) !important; font-size: 12px !important; font-weight: 450 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.4 !important; color: var(--uxo-muted) !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-stat-grid .stat-card strong {
  font-family: var(--ux-font) !important; font-size: 30px !important; font-weight: 520 !important; line-height: 1.15 !important; letter-spacing: -.02em !important; font-variant-numeric: tabular-nums; color: var(--uxo-ink) !important;
}
/* Overview buttons (retry) only; :where() keeps the original specificity. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page > :where(:not(.page-header, .ux-details)) :is(.primary-button, .secondary-button) {
  min-height: 44px !important; padding: 10px 18px !important; border: 0 !important; border-radius: 0 !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0 !important;
}
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page > :where(:not(.page-header, .ux-details)) .secondary-button { background: var(--uxo-panel) !important; color: var(--uxo-ink) !important; box-shadow: var(--uxo-control-shadow) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .text-button { color: var(--uxo-teal) !important; font-weight: 500 !important; box-shadow: none !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-details-toolbar { display: flex !important; justify-content: flex-end !important; margin-bottom: 8px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-details-scroll-controls { margin-left: auto; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-details-scroll-controls button { width: 36px !important; height: 36px !important; border: 0 !important; border-radius: 0 !important; background: var(--uxo-panel) !important; color: var(--uxo-muted) !important; box-shadow: var(--uxo-control-shadow) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .gateway-usage-table { font-family: var(--ux-font) !important; font-size: 13px !important; font-variant-numeric: tabular-nums; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .gateway-usage-table th { height: 42px; padding: 12px 14px !important; background: var(--uxo-soft) !important; color: var(--uxo-muted) !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .gateway-usage-table td { padding: 14px !important; font-size: 13px !important; line-height: 1.6 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .gateway-usage-table strong { font-size: 13px !important; font-weight: 550 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .gateway-usage-table :is(.usage-group-pill, .usage-billing-pill, .usage-type-pill, .status-pill) { border-radius: 0 !important; font-size: 12px !important; font-weight: 500 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-token-cell :is(span, strong) { color: var(--uxo-muted) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-token-cell strong { color: var(--uxo-ink) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-cost-cell strong { color: var(--uxo-teal) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-endpoint-cell code { border-radius: 0 !important; background: var(--uxo-soft) !important; color: var(--uxo-muted) !important; }

/* ---------- Usage overview and request table: motion only (no change to the resting look) ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page[data-ux-pass="odd"] :is(.usage-stat-grid .stat-card > strong, .usage-channel-card-head strong, .usage-model-donut-center strong) { animation: ux-value-a 460ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page[data-ux-pass="even"] :is(.usage-stat-grid .stat-card > strong, .usage-channel-card-head strong, .usage-model-donut-center strong) { animation: ux-value-b 460ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar .usage-bar-column { transform-origin: 50% 100%; animation: ux-bar-rise 460ms var(--ux-ease) backwards; animation-delay: calc(var(--ux-i, 0) * 9ms); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-token-chart-wrap { animation: ux-blur-in 420ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.usage-token-cache-area, .usage-token-series-line) { animation: ux-draw 700ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.usage-token-hover, .usage-model-hover-card) { animation: ux-fade 160ms ease-out; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-model-donut { animation: ux-donut-in 640ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-model-donut-center { animation: ux-donut-counter 640ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-model-table tbody tr { animation: ux-row-in 420ms var(--ux-ease) backwards; animation-delay: calc(var(--ux-r, 0) * 30ms); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-table-region { animation: ux-blur-in 320ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .gateway-usage-table tbody tr { animation: ux-row-in 380ms var(--ux-ease) backwards; animation-delay: calc(var(--ux-r, 0) * 16ms); }

/* ---------- Request details: header ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .ux-details { overflow: visible !important; padding: 24px var(--ux-pad) 22px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-details-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-details-title { min-width: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-heading-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 28px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-time-hint { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; background: var(--ux-soft-2); color: var(--ux-muted); font-size: 12px; font-weight: 450; line-height: 1; white-space: nowrap; animation: ux-swap 320ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-details-head p { margin: 6px 0 0 !important; color: var(--ux-muted) !important; font-size: 13px !important; line-height: 1.6 !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export { position: relative; flex: 0 0 auto; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-trigger { padding: 0 14px 0 16px !important; background: var(--ux-primary) !important; color: var(--ux-primary-fg) !important; box-shadow: 0 8px 20px rgba(17, 24, 39, .16) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-trigger:hover:not(:disabled) { background: var(--ux-primary-hover) !important; box-shadow: 0 12px 26px rgba(17, 24, 39, .2) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-trigger:disabled { cursor: default; opacity: .36; box-shadow: none !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-chevron { margin-left: -2px; opacity: .72; transition: transform 260ms var(--ux-ease); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-trigger[aria-expanded="true"] .ux-export-chevron { transform: rotate(180deg); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: 300px; padding: 6px; border: 0; border-radius: 0; background: var(--ux-menu-bg); box-shadow: var(--ux-pop); transform-origin: 100% 0; animation: ux-pop-in 220ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options[data-state="closing"] { pointer-events: none; animation: ux-pop-out 150ms var(--ux-ease-io) forwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options[data-state="open"] > * { animation: ux-fade-up 260ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options[data-state="open"] > :nth-child(2) { animation-delay: 30ms; } .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options[data-state="open"] > :nth-child(3) { animation-delay: 60ms; } .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options[data-state="open"] > :nth-child(4) { animation-delay: 90ms; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options > strong { display: block; padding: 8px 10px 6px; color: var(--ux-muted); font-size: 12px; font-weight: 450; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options button { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 42px !important; margin: 0 !important; padding: 0 10px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ux-ink) !important; font-size: 13px !important; font-weight: 450 !important; text-align: left; cursor: pointer; transition: background-color var(--ux-fast) ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options button:is(:hover, :focus-visible) { outline: none; background: var(--ux-menu-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-count { color: var(--ux-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options p { margin: 6px 0 0; padding: 10px 10px 6px; border-top: 1px solid var(--ux-line); color: var(--ux-muted); font-size: 12px; line-height: 1.65; }

/* ---------- Request details: toolbar and filters (one 40px rhythm) ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-toolbar { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search { position: relative; display: flex; flex: 1 1 auto; align-items: center; gap: 10px; min-width: 0; height: var(--ux-h); margin: 0; padding: 0 6px 0 14px; background: var(--ux-panel); box-shadow: var(--ux-control); color: var(--ux-muted); cursor: text; transition: box-shadow var(--ux-base) var(--ux-ease), color var(--ux-base) ease; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search:hover { box-shadow: var(--ux-control-hover); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search:focus-within { color: var(--ux-teal); box-shadow: var(--ux-ring), var(--ux-control); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search-icon { transition: transform 260ms var(--ux-ease); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search:focus-within .ux-search-icon { transform: scale(1.08); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search input { flex: 1 1 auto; width: 100% !important; min-width: 0; height: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ux-ink) !important; font-size: 13px !important; font-weight: 400 !important; -webkit-appearance: none; appearance: none; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search input::placeholder { color: var(--ux-faint); opacity: 1; transition: opacity var(--ux-base) ease; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search input:focus::placeholder { opacity: .5; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search input::-webkit-search-cancel-button { display: none; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search-clear { display: grid !important; flex: 0 0 auto; place-items: center; width: 28px !important; height: 28px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ux-muted) !important; cursor: pointer; opacity: 0; filter: blur(3px); pointer-events: none; transform: scale(.7); transition: opacity 160ms ease, transform 240ms var(--ux-ease), filter 240ms var(--ux-ease), background-color var(--ux-fast) ease, color var(--ux-fast) ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search.has-value .ux-search-clear { opacity: 1; filter: none; pointer-events: auto; transform: none; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search-clear:hover { background: var(--ux-soft) !important; color: var(--ux-ink) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; height: var(--ux-h); margin: 0; padding: 0 14px 0 12px; background: var(--ux-panel); box-shadow: var(--ux-control); color: var(--ux-ink-2); font-size: 13px; white-space: nowrap; cursor: pointer; user-select: none; transition: background-color var(--ux-base) ease, color var(--ux-base) ease, box-shadow var(--ux-base) var(--ux-ease); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow:hover { box-shadow: var(--ux-control-hover); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow.is-on { color: var(--ux-teal); box-shadow: var(--ux-control-set); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow input { position: relative; display: grid; flex: 0 0 auto; place-content: center; width: 16px !important; height: 16px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--ux-soft-2) !important; box-shadow: var(--ux-well) !important; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color var(--ux-fast) ease, border-color var(--ux-fast) ease, box-shadow var(--ux-base) ease; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow input::before { content: ""; width: 8px; height: 4px; border-bottom: 2px solid var(--ux-panel); border-left: 2px solid var(--ux-panel); opacity: 0; filter: blur(2px); transform: translateY(-1px) rotate(-45deg) scale(.4); transition: opacity 140ms ease, transform 240ms var(--ux-ease), filter 240ms var(--ux-ease); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow input:checked { background: var(--ux-teal) !important; box-shadow: 0 1px 2px rgba(29, 111, 101, .3), 0 3px 8px rgba(29, 111, 101, .22) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow input:checked::before { opacity: 1; filter: none; transform: translateY(-1px) rotate(-45deg) scale(1); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow input:focus-visible { outline: none; box-shadow: var(--ux-well), 0 0 0 3px rgba(29, 111, 101, .2) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; gap: 12px; margin: 0 0 16px; }
/* Select triggers are buttons (role=combobox); the field variant is the raised filter box. Console buttons carry a
   hover sweep that recolours text and repositions children, so colours, background and the chevron are pinned. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select { position: relative; display: inline-flex; align-items: stretch; min-width: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-filters > .ux-select { height: var(--ux-h); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-trigger { position: relative; display: flex !important; flex: 1 1 auto; align-items: center; width: 100% !important; min-width: 0; height: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 0 34px 0 10px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ux-ink) !important; font-family: var(--ux-font) !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.2 !important; text-align: left !important; white-space: nowrap; cursor: pointer; -webkit-appearance: none; appearance: none; transition: box-shadow var(--ux-base) var(--ux-ease), background-color var(--ux-fast) ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-value { flex: 1 1 auto; min-width: 0; overflow: hidden; color: inherit !important; text-overflow: ellipsis; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-chevron { position: absolute !important; top: 50%; right: 12px; width: 14px; height: 14px; margin-top: -7px; color: var(--ux-muted) !important; pointer-events: none; transition: transform 260ms var(--ux-ease), color var(--ux-base) ease; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select.is-open .ux-select-chevron { color: var(--ux-teal) !important; transform: rotate(180deg); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-field { padding-left: 0 !important; background: var(--ux-panel) !important; box-shadow: var(--ux-control) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-field:hover { box-shadow: var(--ux-control-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-field.is-set { box-shadow: var(--ux-control-set) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-field:focus-visible, .ux-select.is-open > .ux-field) { outline: none; box-shadow: var(--ux-ring), var(--ux-control) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-field-label { flex: 0 0 auto; padding-left: 14px; color: var(--ux-muted) !important; font-size: 12px; white-space: nowrap; transition: color var(--ux-base) ease; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-field.is-set .ux-field-label { color: var(--ux-teal) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-field .ux-select-value { padding-left: 10px; }

/* Select menus: the export menu's surface, shadow and blur-led motion instead of the native popup. */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; box-sizing: border-box; min-width: 100%; width: max-content; max-width: min(420px, calc(100vw - 24px)); max-height: var(--ux-menu-max, 320px); margin: 0; padding: 6px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--ux-menu-bg); box-shadow: var(--ux-pop); outline: none; scrollbar-width: thin; scrollbar-color: var(--ux-line-2) transparent; transform-origin: 0 0; animation: ux-pop-in 200ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-select-quiet, .ux-select-compact) .ux-select-menu { min-width: max(100%, 168px); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-menu[data-align="end"] { right: 0; left: auto; transform-origin: 100% 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-menu[data-side="top"] { top: auto; bottom: calc(100% + 6px); transform-origin: 0 100%; --ux-pop-y: 6px; --ux-pop-out-y: 4px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-menu[data-side="top"][data-align="end"] { transform-origin: 100% 100%; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-menu[data-state="closing"] { pointer-events: none; animation: ux-pop-out 140ms var(--ux-ease-io) forwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding: 0 10px; color: var(--ux-ink-2); font-size: 13px; line-height: 1.3; white-space: nowrap; cursor: pointer; user-select: none; transition: background-color var(--ux-fast) ease, color var(--ux-fast) ease; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-menu[data-state="open"] .ux-select-option { animation: ux-fade-up 220ms var(--ux-ease) backwards; animation-delay: calc(var(--ux-o, 0) * 14ms); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-option[data-active] { background: var(--ux-menu-hover); color: var(--ux-ink); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-option[aria-selected="true"] { color: var(--ux-teal); font-weight: 500; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-option-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-check { flex: 0 0 auto; width: 15px; height: 15px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; height: var(--ux-h) !important; min-height: 0 !important; margin: 0 !important; padding: 0 12px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ux-teal) !important; font-size: 13px !important; font-weight: 500 !important; white-space: nowrap; cursor: pointer; transition: color var(--ux-base) ease, background-color var(--ux-fast) ease, transform var(--ux-fast) ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset:hover:not(:disabled) { background: var(--ux-teal-soft) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset:disabled { color: var(--ux-faint) !important; cursor: default; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset .ux-icon { transition: transform 460ms var(--ux-ease); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset:hover:not(:disabled) .ux-icon { transform: rotate(-150deg); }

/* ---------- Coverage strip, results and states ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-collapse { display: grid; grid-template-rows: 1fr; animation: ux-expand 320ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-collapse[data-state="closing"] { pointer-events: none; animation: ux-collapse 240ms var(--ux-ease-io) forwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-collapse-inner { min-height: 0; overflow: hidden; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-coverage { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 12px; padding: 10px 16px 10px 14px; overflow: hidden; border: 0 !important; border-radius: 0 !important; background: var(--ux-teal-soft); color: var(--ux-ink-2); font-size: 12px; line-height: 1.6; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-coverage.is-warning { background: var(--ux-soft); color: var(--ux-muted); animation: ux-fade-up 320ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-coverage-icon { color: var(--ux-teal); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-coverage-text { flex: 1 1 auto; min-width: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; overflow: hidden; background: var(--ux-teal-line); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-progress::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--ux-teal), transparent); animation: ux-indeterminate 1.1s var(--ux-ease-io) infinite; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-link { display: inline-flex !important; flex: 0 0 auto; align-items: center; gap: 6px; height: 28px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ux-teal) !important; font-size: 12px !important; font-weight: 500 !important; white-space: nowrap; cursor: pointer; transition: color var(--ux-fast) ease, opacity var(--ux-base) ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-link:hover:not(:disabled) { color: var(--ux-teal-strong) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-link:disabled { cursor: default; opacity: .5; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-link-arrow { width: 14px; height: 14px; transition: transform 260ms var(--ux-ease); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-link:hover .ux-link-arrow { transform: translateX(3px); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-link[data-busy]::after { content: ""; width: 9px; height: 9px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ux-spin 700ms linear infinite; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 6px 0; border-top: 1px solid var(--ux-line); scroll-margin-top: 96px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-stats { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; color: var(--ux-muted); font-size: 12px; line-height: 20px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-stats > span { padding: 0 14px; border-left: 1px solid var(--ux-line); white-space: nowrap; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-stats > span:first-child { padding-left: 0; border-left: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-stats strong { display: inline-block; margin: 0 1px; color: var(--ux-ink); font-size: 13px; font-weight: 560; font-variant-numeric: tabular-nums; animation: ux-swap 300ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-stats small { color: var(--ux-muted); font-size: 11px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-sort { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; margin: 0; color: var(--ux-muted); font-size: 12px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-sort .ux-select { height: var(--ux-h-sm); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-quiet .ux-select-trigger { padding: 0 28px 0 8px !important; color: var(--ux-ink-2) !important; font-size: 12px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-quiet :is(.ux-select-trigger:hover, .ux-select-trigger[aria-expanded="true"]) { background: var(--ux-soft) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-quiet .ux-select-chevron { right: 8px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 260px; padding: 32px 16px; border-top: 1px solid var(--ux-line); text-align: center; animation: ux-blur-in 380ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-state-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; background: var(--ux-soft); color: var(--ux-muted); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-state-icon .ux-icon { width: 20px; height: 20px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-state.is-error .ux-state-icon { background: var(--ux-danger-soft); color: var(--ux-danger); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-state strong { color: var(--ux-ink); font-size: 14px; font-weight: 560; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-state p { max-width: 380px; margin: 0; color: var(--ux-muted); font-size: 12px; line-height: 1.65; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-state .secondary-button { height: var(--ux-h-sm) !important; min-height: 0 !important; margin-top: 8px !important; padding: 0 14px !important; font-size: 12px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton { border-top: 1px solid var(--ux-line); animation: ux-fade 220ms ease backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton-row { display: grid; grid-template-columns: 88px 1.2fr 1.5fr .9fr .9fr .6fr; align-items: center; gap: 28px; height: 64px; padding: 0 14px; border-bottom: 1px solid var(--ux-line); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton-row:first-of-type { height: 42px; background: var(--ux-soft); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton-row i { display: block; height: 10px; background: linear-gradient(100deg, var(--ux-soft-2) 30%, var(--ux-hover) 50%, var(--ux-soft-2) 70%); background-size: 240% 100%; animation: ux-shimmer 1.4s linear infinite; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton-row:first-of-type i { width: 46%; height: 8px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton-row:nth-of-type(odd) i:nth-child(3), .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton-row:nth-of-type(even) i:nth-child(2) { width: 72%; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-skeleton-row:nth-of-type(odd) i:nth-child(5) { width: 54%; }

/* ---------- Footer ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; color: var(--ux-muted); font-size: 12px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-coverage-label { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-pagination { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-compact { height: var(--ux-h-sm); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-compact .ux-select-trigger { padding-left: 12px !important; background: var(--ux-panel) !important; box-shadow: var(--ux-control) !important; font-size: 12px !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-compact .ux-select-trigger:hover { box-shadow: var(--ux-control-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-compact .ux-select-trigger[aria-expanded="true"] { box-shadow: var(--ux-ring), var(--ux-control) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-pager { display: flex; align-items: center; gap: 4px; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-pager button { display: grid !important; place-items: center; width: var(--ux-h-sm) !important; height: var(--ux-h-sm) !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--ux-panel) !important; box-shadow: var(--ux-control) !important; color: var(--ux-ink) !important; cursor: pointer; transition: box-shadow var(--ux-base) var(--ux-ease), opacity var(--ux-base) ease, transform var(--ux-fast) ease, background-color var(--ux-base) ease !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-pager button:hover:not(:disabled) { box-shadow: var(--ux-control-hover) !important; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-pager button:disabled { cursor: default; background: var(--ux-soft) !important; box-shadow: none !important; opacity: .45; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-indicator { display: inline-flex; align-items: baseline; justify-content: center; gap: 5px; min-width: 56px; color: var(--ux-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-indicator strong, .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-indicator > span:last-child { display: inline-block; animation: ux-swap 280ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-indicator strong { color: var(--ux-ink); font-size: 13px; font-weight: 560; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-notice { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: 14px 0 0; padding: 8px 12px; background: var(--ux-teal-soft); color: var(--ux-teal); font-size: 12px; line-height: 1.5; animation: ux-pop-in 280ms var(--ux-ease) backwards; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-notice.is-error { background: var(--ux-danger-soft); color: var(--ux-danger); }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-login-notice { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; border: 0 !important; border-radius: 0 !important; background: var(--ux-teal-soft) !important; color: var(--ux-ink-2) !important; }

/* ---------- Dark theme details not covered by tokens ---------- */
html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented-indicator { box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell:has(.usage-explorer-page) .agy-board-topbar .home-brand-logo { color: #e4e9e6 !important; }
.app-shell.agy-console-shell.agy-board-shell:has(.usage-explorer-page) .agy-board-topbar .home-brand-logo {
  padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #111 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "system-ui", "PingFang SC", "Microsoft YaHei", sans-serif !important; font-size: 15px !important; font-weight: 400 !important; letter-spacing: 5.25px !important; line-height: normal !important;
}

/* ---------- Dark theme: the console-night layer forces button, field, card and cell colours with
   !important, which unlayered rules can never outrank. These rules join that layer to keep the design. ---------- */
@layer console-night {
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented button { background-color: transparent !important; color: var(--ux-muted) !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented button:hover:not(.active) { color: var(--ux-ink) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-segmented button.active { color: var(--ux-primary-fg) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-refresh, .ux-state .secondary-button, .ux-pager button) { background-color: var(--ux-soft) !important; color: var(--ux-ink) !important; box-shadow: var(--ux-control) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-refresh, .ux-state .secondary-button, .ux-pager button):hover:not(:disabled) { box-shadow: var(--ux-control-hover) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-pager button:disabled { box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-trigger { background-color: var(--ux-primary) !important; color: var(--ux-primary-fg) !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-trigger:hover:not(:disabled) { background-color: var(--ux-primary-hover) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-reset, .ux-link) { background-color: transparent !important; color: var(--ux-teal) !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset:hover:not(:disabled) { background-color: var(--ux-teal-soft) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset:disabled { color: var(--ux-faint) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-link:hover:not(:disabled) { color: var(--ux-teal-strong) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-search-clear, .ux-export-options button) { background-color: transparent !important; color: var(--ux-ink-2) !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search-clear:hover { background-color: var(--ux-soft-2) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-export-options button:hover, .ux-export-options button:focus-visible) { background-color: var(--ux-menu-hover) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search input { background-color: transparent !important; color: var(--ux-ink) !important; }
  /* Select triggers are buttons and menu options are divs; the layer recolours both by tag, and its generic
     [class$="-menu"] surface rule would flatten the listbox to the card colour. */
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-menu { background-color: var(--ux-menu-bg) !important; box-shadow: var(--ux-pop) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-trigger { background-color: transparent !important; color: var(--ux-ink) !important; box-shadow: none !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-field, .ux-select-compact .ux-select-trigger) { background-color: var(--ux-panel) !important; box-shadow: var(--ux-control) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-field, .ux-select-compact .ux-select-trigger):hover { box-shadow: var(--ux-control-hover) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select .ux-field.is-set { box-shadow: var(--ux-control-set) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-field:focus-visible, .ux-select-trigger.ux-field[aria-expanded="true"], .ux-select-compact .ux-select-trigger[aria-expanded="true"]) { box-shadow: var(--ux-ring), var(--ux-control) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-quiet .ux-select-trigger { color: var(--ux-ink-2) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-quiet :is(.ux-select-trigger:hover, .ux-select-trigger[aria-expanded="true"]) { background-color: var(--ux-soft) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-chevron { color: var(--ux-muted) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select.is-open .ux-select-chevron { color: var(--ux-teal) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-option { color: var(--ux-ink-2) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-option[data-active] { background-color: var(--ux-menu-hover) !important; color: var(--ux-ink) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-select-option[aria-selected="true"] { color: var(--ux-teal) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow input { background-color: var(--ux-soft-2) !important; box-shadow: var(--ux-well) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow input:checked { background-color: var(--ux-teal) !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .4) !important; }
  /* The original overview left three white surfaces in dark mode (chart, model table, donut centre);
     the card colour, with axis text and grid recoloured to match, keeps them readable. Light look unchanged. */
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.usage-token-chart-wrap, .usage-model-table-wrap) { background-color: transparent !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-model-donut-center { background-color: var(--ux-panel) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-token-axis-label:not(.is-rate) { fill: var(--ux-muted) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-token-grid-line { stroke: var(--ux-line) !important; }
  /* Text colours: the layer recolours every div, span, strong, th and td by tag. */
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-time-hint, .ux-footer, .ux-coverage-label, .ux-page-indicator, .ux-result-stats > span, .ux-export-count, .ux-export-options > strong, .ux-state-icon, .ux-field-label) { color: var(--ux-muted) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-result-stats strong, .ux-page-indicator strong) { color: var(--ux-ink) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-field.is-set .ux-field-label, .ux-slow.is-on, .ux-notice) { color: var(--ux-teal) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow { color: var(--ux-ink-2) !important; }
  html[data-console-theme="dark"] .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.ux-notice.is-error, .ux-state.is-error .ux-state-icon) { color: var(--ux-danger) !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-reset { grid-column: 1 / -1; justify-self: end; height: var(--ux-h-sm) !important; }
}
@media (max-width: 900px) {
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .ux-page-header { flex-direction: column; align-items: stretch !important; gap: 16px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-page-actions { align-self: stretch !important; justify-content: space-between; width: 100%; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-range { flex: 1 1 auto; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-toolbar { flex-wrap: wrap; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-search { flex-basis: 100%; order: 3; }
}
@media (max-width: 560px) {
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page { gap: 16px; --ux-pad: 18px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page > .ux-details { padding: 20px var(--ux-pad) !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-range { flex: 1 1 auto; min-width: 0; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-range button { padding: 0 6px !important; font-size: 12px !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-refresh { width: var(--ux-h); padding: 0 !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-refresh-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-details-head { gap: 12px; margin-bottom: 16px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-details-head p { font-size: 12px !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-trigger { padding: 0 12px !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-scopes { flex: 1 1 auto; min-width: 0; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-scopes button { padding: 0 8px !important; font-size: 12px !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-slow { padding: 0 10px; font-size: 12px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-filters { gap: 8px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-field-label { padding-left: 10px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-coverage { flex-wrap: wrap; row-gap: 4px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-coverage .ux-link { margin-left: 26px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-bar { flex-wrap: wrap; align-items: flex-start; gap: 4px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-stats { column-gap: 16px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-result-stats > span { padding: 0; border-left: 0; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-sort { margin-left: auto; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-footer { flex-wrap: wrap; gap: 12px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-pagination { width: 100%; justify-content: space-between; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .ux-export-options { width: min(300px, calc(100vw - 48px)); }
}

@media (max-width: 700px) {
  /* Original small-screen rules for the overview cards. */
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page { gap: 16px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page > .dashboard-card { padding: 20px !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .card-title { flex-wrap: wrap; gap: 14px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-stat-grid .stat-card { min-height: 116px; padding: 18px !important; }
  .app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-explorer-page .usage-stat-grid .stat-card strong { font-size: 28px !important; }
}

/* ---------- Motion ---------- */
/* Use the shell's left/right route direction; nested details only fade. */
@keyframes ux-section-in {
  from { opacity: 0; filter: blur(4px); transform: translate3d(var(--agy-route-travel, 0px), 0, 0); }
  60% { opacity: 1; filter: blur(0); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes ux-blur-in { from { opacity: 0; filter: blur(8px); } }
@keyframes ux-fade-up { from { opacity: 0; filter: blur(4px); } }
@keyframes ux-fade { from { opacity: 0; } }
@keyframes ux-row-in { from { opacity: 0; } }
@keyframes ux-swap { from { opacity: 0; filter: blur(4px); } }
@keyframes ux-value-a { from { opacity: 0; filter: blur(4px); } }
@keyframes ux-value-b { from { opacity: 0; filter: blur(4px); } }
@keyframes ux-bar-rise { from { opacity: 0; filter: blur(3px); transform: scaleY(0); } 55% { opacity: 1; } }
@keyframes ux-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ux-donut-in { from { opacity: 0; filter: blur(10px); transform: rotate(-40deg) scale(.9); } }
@keyframes ux-donut-counter { from { transform: rotate(40deg); } }
@keyframes ux-pop-in { from { opacity: 0; filter: blur(8px); transform: translateY(var(--ux-pop-y, -6px)) scale(.98); } }
@keyframes ux-pop-out { to { opacity: 0; filter: blur(6px); transform: translateY(var(--ux-pop-out-y, -4px)) scale(.985); } }
@keyframes ux-expand { from { grid-template-rows: 0fr; opacity: 0; filter: blur(6px); } }
@keyframes ux-collapse { to { grid-template-rows: 0fr; opacity: 0; filter: blur(6px); } }
@keyframes ux-spin { to { transform: rotate(360deg); } }
@keyframes ux-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes ux-indeterminate { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  .usage-explorer-page *, .usage-explorer-page *::before, .usage-explorer-page *::after, .usage-explorer-page { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}

/* ---------- Index rules: stagger delays ---------- */
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(1) { --ux-i: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(2) { --ux-i: 1; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(3) { --ux-i: 2; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(4) { --ux-i: 3; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(5) { --ux-i: 4; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(6) { --ux-i: 5; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(7) { --ux-i: 6; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(8) { --ux-i: 7; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(9) { --ux-i: 8; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(10) { --ux-i: 9; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(11) { --ux-i: 10; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(12) { --ux-i: 11; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(13) { --ux-i: 12; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(14) { --ux-i: 13; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(15) { --ux-i: 14; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(16) { --ux-i: 15; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(17) { --ux-i: 16; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(18) { --ux-i: 17; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(19) { --ux-i: 18; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(20) { --ux-i: 19; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(21) { --ux-i: 20; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(22) { --ux-i: 21; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(23) { --ux-i: 22; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(24) { --ux-i: 23; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(25) { --ux-i: 24; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(26) { --ux-i: 25; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(27) { --ux-i: 26; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(28) { --ux-i: 27; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(29) { --ux-i: 28; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(30) { --ux-i: 29; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(31) { --ux-i: 30; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page .usage-bar:nth-child(32) { --ux-i: 31; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(1) { --ux-r: 0; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(2) { --ux-r: 1; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(3) { --ux-r: 2; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(4) { --ux-r: 3; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(5) { --ux-r: 4; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(6) { --ux-r: 5; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(7) { --ux-r: 6; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(8) { --ux-r: 7; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(9) { --ux-r: 8; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(10) { --ux-r: 9; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(11) { --ux-r: 10; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(12) { --ux-r: 11; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(13) { --ux-r: 12; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(14) { --ux-r: 13; }
.app-shell.agy-console-shell.agy-board-shell .agy-board-main .usage-page.usage-explorer-page :is(.gateway-usage-table, .usage-model-table) tbody tr:nth-child(n+15) { --ux-r: 14; }
