/* Сводный и UTM-листы; legacy-таблицы не затрагиваются. */
.rp-consolidated {
  --summary-surface: #162234;
  --summary-head: #1e2d42;
  --summary-line: #334155;
  --summary-muted: #b0bdce;
  --summary-ink: #eef2f8;
  --summary-accent: #f3a1aa;
  color: var(--summary-ink);
  min-width: 0;
  font-size: 12px;
}
html.light-ui .rp-consolidated {
  --summary-surface: #fff;
  --summary-head: #f4f6f9;
  --summary-line: var(--rp-line);
  --summary-muted: var(--rp-muted);
  --summary-ink: var(--rp-ink);
  --summary-accent: var(--rp-red-dark);
}
.rp-consolidated-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.rp-consolidated-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-consolidated-actions button, .rp-consolidated-tabs button {
  min-height: 32px; border: 1px solid var(--summary-line); border-radius: 6px;
  background: var(--summary-surface); color: var(--summary-ink); padding: 5px 10px; font-weight: 600;
}
.rp-consolidated-actions button:disabled { opacity: .6; cursor: default; }
.rp-consolidated button:focus-visible, .rp-consolidated-scroll:focus-visible,
.rp-consolidated input:focus-visible, .rp-consolidated select:focus-visible { outline: 2px solid var(--summary-accent); outline-offset: 2px; }
.rp-consolidated-tabs { display: flex; gap: 8px; }
.rp-consolidated-tabs button[aria-selected="true"] { border-color: var(--summary-accent); color: var(--summary-accent); }
.rp-funnel-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.rp-funnel-heading h1, .rp-funnel-heading h2 { margin: 0; font-size: 16px; font-weight: 700; }
.rp-funnel-heading .rp-last-update { margin: 0; }
.rp-funnel-note { max-width: 82ch; margin: 0 0 12px; color: var(--summary-muted); font-size: 12px; line-height: 1.5; }
.rp-funnel-scroll { overflow: auto; max-height: 75vh; border: 1px solid var(--summary-line); border-radius: 6px; background: var(--summary-surface); scrollbar-gutter: stable; }
.rp-funnel-scroll:focus-visible { outline: 2px solid var(--summary-accent); outline-offset: 2px; }
.rp-funnel-table { width: 100%; min-width: 1080px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.rp-funnel-table.rp-funnel-golden-table { min-width: 1450px; }
.rp-funnel-table th, .rp-funnel-table td { padding: 9px 12px; border-bottom: 1px solid var(--summary-line); color: var(--summary-ink); text-align: right; white-space: nowrap; }
.rp-funnel-table thead th { position: sticky; top: 0; z-index: 2; background: var(--summary-head); color: var(--summary-muted); font-weight: 650; }
.rp-funnel-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--summary-surface); text-align: left; }
.rp-funnel-table thead th:first-child { z-index: 3; background: var(--summary-head); }
.rp-funnel-sort { border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; cursor: pointer; white-space: nowrap; }
.rp-funnel-table tfoot th, .rp-funnel-table tfoot td { position: sticky; bottom: 0; z-index: 2; border-top: 1px solid var(--summary-line); border-bottom: 0; background: var(--summary-head); font-weight: 700; }
.rp-funnel-table tfoot th:first-child { z-index: 3; background: var(--summary-head); }
.rp-funnel-table .rp-funnel-conversion { color: var(--summary-accent); font-weight: 650; }
.rp-funnel-table .rp-funnel-empty { padding: 32px 12px; text-align: center; color: var(--summary-muted); }
.rp-consolidated-scroll { display: flex; flex-direction: column; height: 75vh; max-height: 75vh; max-width: 100%; overflow: auto; overscroll-behavior: contain; overflow-anchor: none; scrollbar-gutter: stable; border: 1px solid var(--summary-line); border-radius: 6px; background: var(--summary-surface); }
.rp-consolidated-scroll > .rp-consolidated-table { flex: 0 0 auto; }
.rp-direct-table { min-width: 1700px; table-layout: fixed; }
.rp-direct-table .rp-column-sort { white-space: normal; }
.rp-direct-table th:first-child { min-width: 120px; }
.rp-direct-table .rp-utm-expand { text-align: left; white-space: normal; }
.rp-direct-table tfoot th, .rp-direct-table tfoot td { position: sticky; bottom: 0; z-index: 2; background: var(--summary-head); border-top: 1px solid var(--summary-line); font-weight: 700; }
.rp-direct-table tfoot th:first-child { z-index: 3; background: var(--summary-head); }
.rp-direct-totals { position: sticky; bottom: 0; z-index: 4; flex: 0 0 auto; margin-top: auto; min-width: 1200px; background: var(--summary-head); box-shadow: 0 -2px 8px rgb(0 0 0 / .08); }
.rp-direct-totals th, .rp-direct-totals td { background: var(--summary-head); border-top: 1px solid var(--summary-line); font-weight: 700; }
.rp-consolidated-table { width: 100%; min-width: 1120px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.rp-summary-table { table-layout: fixed; min-width: 1384px; }
.rp-summary-table col:nth-child(1) { width: 95px; }
.rp-summary-table col:nth-child(2) { width: 52px; }
.rp-summary-table col:nth-child(3) { width: 95px; }
.rp-summary-table col:nth-child(4) { width: 145px; }
.rp-summary-table col:nth-child(5) { width: 100px; }
.rp-summary-table col:nth-child(6) { width: 110px; }
.rp-summary-table col:nth-child(7) { width: 115px; }
.rp-summary-table col:nth-child(8), .rp-summary-table col:nth-child(9) { width: 100px; }
.rp-summary-table col:nth-child(10) { width: 105px; }
.rp-summary-table col:nth-child(11), .rp-summary-table col:nth-child(12) { width: 95px; }
.rp-summary-table col:nth-child(13) { width: 112px; }
.rp-summary-table col:nth-child(14) { width: 65px; }
.rp-consolidated-totals { position: sticky; bottom: 0; z-index: 4; flex: 0 0 auto; margin-top: auto; min-width: 1384px; background: var(--summary-head); box-shadow: 0 -2px 8px rgb(0 0 0 / .08); }
/* Перекрываем плотность общих legacy-стилей в светлой и тёмной теме. */
html .golden-app .ga-main-content .rp-consolidated .rp-consolidated-table th,
html .golden-app .ga-main-content .rp-consolidated .rp-consolidated-table td {
  padding: 6px 8px !important; text-align: right; border-bottom: 1px solid var(--summary-line); color: var(--summary-ink); font-size: 11px !important; line-height: 1.25 !important;
}
.rp-consolidated-table thead th { position: sticky; top: 0; z-index: 2; background: var(--summary-head); color: var(--summary-muted) !important; font-size: 11px !important; line-height: 1.25; min-width: 64px; }
html .golden-app .ga-main-content .rp-consolidated :is(.rp-summary-table,.rp-utm-daily-table,.rp-direct-daily-table) th:nth-child(2),
html .golden-app .ga-main-content .rp-consolidated :is(.rp-summary-table,.rp-utm-daily-table,.rp-direct-daily-table) td:nth-child(2) { width: 48px; min-width: 48px; max-width: 48px; text-align: center !important; white-space: normal; }
.rp-consolidated-table tbody th, .rp-consolidated-table td { white-space: nowrap; }
.rp-consolidated-table th:first-child, .rp-consolidated-table .rp-summary-label { text-align: left !important; }
.rp-consolidated-table th:first-child { position: sticky; left: 0; background: var(--summary-surface); z-index: 1; min-width: 88px; font-weight: 500; }
.rp-consolidated-table thead th:first-child { background: var(--summary-head); z-index: 3; font-weight: 600; }
.rp-consolidated-total-table tbody th, .rp-consolidated-total-table tbody td { background: var(--summary-head); font-weight: 700; border-top: 1px solid var(--summary-line); border-bottom: 0 !important; }
.rp-consolidated-total-table tbody th:first-child { background: var(--summary-head); z-index: 5; }
.rp-utm-daily-table tfoot th, .rp-utm-daily-table tfoot td,
.rp-utm-sources-table tfoot th, .rp-utm-sources-table tfoot td { position: sticky; bottom: 0; background: var(--summary-head); z-index: 2; font-weight: 700; border-top: 1px solid var(--summary-line); border-bottom: 0; }
.rp-utm-daily-table tfoot th:first-child, .rp-utm-sources-table tfoot th:first-child { background: var(--summary-head); z-index: 3; }
.rp-consolidated .rp-column-filter { width: 100%; min-height: 30px; position: relative; padding: 0 16px 0 0; border: 0; border-radius: 3px; background: transparent; color: inherit; text-align: inherit; font: inherit; font-weight: inherit; cursor: pointer; }
.rp-column-filter svg { position: absolute; right: 0; top: 50%; transform: translateY(-50%); opacity: .55; }
.rp-consolidated .rp-column-filter[data-active="true"] { color: var(--summary-accent); }
.rp-column-filter[data-active="true"] svg { opacity: 1; }
.rp-consolidated-table th:nth-child(2) .rp-column-filter { padding: 0 0 14px; }
.rp-consolidated-table th:nth-child(2) .rp-column-filter svg { right: calc(50% - 6px); top: auto; bottom: 0; transform: none; }
.rp-consolidated-filter-panel { margin-bottom: 8px; padding: 10px; background: var(--summary-surface); border: 1px solid var(--summary-line); border-radius: 6px; }
.rp-filter-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.rp-filter-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rp-filter-fields label { display: flex; flex-direction: column; gap: 4px; flex: 0 1 180px; min-width: 0; }
.rp-consolidated .rp-filter-fields input, .rp-consolidated .rp-filter-fields select { min-height: 32px; width: 100%; min-width: 0; padding: 5px 8px; border: 1px solid var(--summary-line); border-radius: 4px; color: var(--summary-ink); background: var(--summary-surface); font: inherit; }
.rp-consolidated-filter-panel button { min-height: 32px; padding: 5px 10px; border: 1px solid var(--summary-line); border-radius: 4px; color: var(--summary-ink); background: var(--summary-head); }
.rp-consolidated-filter-panel input[aria-invalid="true"] { border-color: #e54354; }
.rp-consolidated-filter-panel [role="alert"] { margin: 0 0 8px; color: #e54354; }
.rp-consolidated-filter-status { margin: 0 0 8px; color: var(--summary-muted); font-size: 11px; }
.rp-filter-weekdays { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0 0 8px; }
.rp-filter-weekdays label { display: flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 7px; border: 1px solid var(--summary-line); border-radius: 4px; }
.rp-filter-weekdays input { accent-color: var(--summary-accent); }
.rp-consolidated-loading { height: 160px; padding: 24px; border-radius: 8px; background: var(--summary-surface); color: var(--summary-muted); }
.rp-consolidated-warning, .rp-consolidated-error { padding: 7px 10px; margin: 0 0 8px; border: 1px solid var(--summary-line); border-radius: 6px; color: var(--summary-ink); background: var(--summary-head); }
@media (max-width: 767px) {
  .rp-funnel-scroll { max-height: min(70vh, max(240px, calc(100dvh - 280px))); }
  .rp-consolidated-actions { margin-left: auto; }
  .rp-consolidated-actions button { min-height: 44px; flex: 1; }
  .rp-consolidated-tabs button { min-height: 44px; }
  .rp-consolidated .rp-column-filter, .rp-consolidated-filter-panel button,
  .rp-consolidated .rp-filter-fields input, .rp-consolidated .rp-filter-fields select,
  .rp-filter-weekdays label { min-height: 44px; }
  .rp-filter-fields label { flex: 1 1 130px; }
  .rp-consolidated-scroll { height: min(70vh, max(240px, calc(100dvh - 280px))); max-height: none; }
}
.rp-utm-title { margin: 0; font-size: 15px; font-weight: 650; }
.rp-utm-note { color: var(--summary-muted); font-size: 11px; margin: 0 0 8px; }
.rp-utm-metrics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.rp-utm-metrics button { min-height: 34px; border: 1px solid var(--summary-line); padding: 5px 12px; border-radius: 7px; background: var(--summary-surface); color: var(--summary-ink); font-weight: 600; }
.rp-utm-metrics button[aria-pressed="true"] { border-color: var(--summary-accent); color: var(--summary-accent); background: var(--summary-head); }
.rp-utm-daily-table { min-width: 680px; }
.rp-utm-sources-table { min-width: 1160px; }
html .golden-app .ga-main-content .rp-consolidated .rp-utm-sources-table th:nth-child(2),
html .golden-app .ga-main-content .rp-consolidated .rp-utm-sources-table td:nth-child(2) { width: auto; max-width: none; min-width: 70px; text-align: right !important; white-space: nowrap; }
.rp-utm-expand { display: flex; align-items: center; gap: 7px; background: transparent; color: inherit; border: 0; font: inherit; text-align: left; min-height: 26px; width: 100%; }
.rp-utm-expand span { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1px solid var(--summary-line); border-radius: 4px; color: var(--summary-muted); }
.rp-utm-sources-table th:first-child { max-width: 240px; white-space: normal; overflow-wrap: anywhere; }
.rp-main-report-table { min-width: 2500px; table-layout: fixed; }
.rp-main-report-table th, .rp-main-report-table td { min-width: 105px; }
.rp-main-report-table th:first-child, .rp-main-report-table td:first-child { min-width: 110px; }
.rp-main-report-table thead { position: sticky; top: 0; z-index: 5; background: var(--summary-head); }
.rp-main-report-table thead th { position: static; background: var(--summary-head); }
.rp-main-report-table thead tr:first-child th { background: var(--summary-head); }
html .golden-app .ga-main-content .rp-main-report .rp-main-report-table thead th[scope="colgroup"] { text-align: center !important; font-weight: 700; }
html .golden-app .ga-main-content .rp-main-report .rp-main-report-table th:nth-child(2),
html .golden-app .ga-main-content .rp-main-report .rp-main-report-table td:nth-child(2) { width: auto; min-width: 105px; max-width: none; text-align: right !important; white-space: normal; }
.rp-main-report-table tfoot th, .rp-main-report-table tfoot td { position: sticky; bottom: 0; z-index: 2; background: var(--summary-head); font-weight: 700; border-top: 1px solid var(--summary-line); }
.rp-main-report-table tbody th:first-child, .rp-main-report-table tfoot th:first-child { position: sticky; left: 0; z-index: 3; background: var(--summary-head); }
.rp-main-report-table thead th:first-child { position: sticky; left: 0; z-index: 6; }
.rp-main-report .rp-utm-note { margin-top: 12px; }
.rp-main-report { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.rp-main-report > * { min-width: 0; max-width: 100%; }
.rp-main-report .rp-consolidated-toolbar { margin-bottom: 0; }
.rp-main-product-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.rp-main-product-chip { display: flex; align-items: center; gap: 10px; min-height: 62px; min-width: 0; padding: 9px 12px; border: 1px solid var(--summary-line); border-radius: 14px; background: var(--summary-surface); color: var(--summary-ink); font-weight: 650; text-align: left; }
.rp-main-product-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--summary-head); color: var(--summary-accent); font-size: 22px; line-height: 1; }
.rp-main-product-chip[aria-pressed="true"] { border-color: var(--summary-accent); background: var(--rp-finance); color: var(--summary-accent); }
.rp-main-period-card, .rp-main-content-card { border: 1px solid var(--summary-line); border-radius: 12px; background: var(--summary-surface); padding: 16px; min-width: 0; }
.rp-main-content-card h2 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.rp-main-card-subtitle, .rp-main-pivot-description { margin: 0 0 14px; color: var(--summary-muted); line-height: 1.4; }
.golden-app .ga-main-content .rp-main-period-card .rp-main-period-selector { display: block !important; width: 100%; max-width: 100%; min-width: 0; padding: 0 !important; border: 0 !important; background: transparent !important; box-sizing: border-box; color: var(--rp-filter-ink); }
.rp-main-period-primary { display: grid; grid-template-columns: 62px minmax(0, 1fr) 120px 286px; align-items: center; gap: 8px; min-width: 0; }
.rp-main-year-buttons, .rp-main-month-buttons, .rp-main-weekday-buttons { display: grid; gap: 5px; }
.rp-main-year-buttons { grid-template-columns: 1fr; }
.rp-main-month-buttons { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rp-main-weekday-buttons { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rp-main-period-primary button, .rp-main-period-secondary button { min-height: 34px; border: 1px solid var(--rp-filter-line); border-radius: 7px; background: var(--rp-filter-bg); color: var(--rp-filter-ink); font-size: 11px; font-weight: 600; }
.rp-main-period-primary button[aria-pressed="true"], .rp-main-period-secondary button[aria-pressed="true"] { border-color: var(--rp-red); background: var(--rp-finance); color: var(--rp-red); }
.rp-main-period-primary button:disabled { opacity: .4; cursor: default; }
.rp-main-period-secondary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rp-main-period-secondary > button { padding: 6px 10px; }
.rp-main-period-secondary > .rp-reset-filters { margin-left: auto; font-size: 22px; line-height: 1; }
.rp-main-report .rp-main-report-single { min-width: 950px; }
.rp-main-period-card .rp-period-choice > button { width: 100%; padding: 5px 9px; }
.rp-main-period-card .rp-reset-filters { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; }
.rp-main-report .rp-consolidated-tabs { gap: 5px; width: max-content; max-width: 100%; overflow-x: auto; padding: 5px; border: 1px solid var(--summary-line); border-radius: 10px; background: var(--summary-surface); }
.rp-main-report .rp-consolidated-tabs button { white-space: nowrap; border-radius: 8px; padding: 8px 14px; }
.rp-main-report .rp-consolidated-tabs button[aria-selected="true"] { background: var(--summary-head); }
.rp-main-report .rp-main-report-scroll { height: min(62vh, 640px); }
.rp-main-report-table thead tr:first-child th:nth-child(-n+6) { background: var(--rp-traffic); }
.rp-main-report-table thead tr:first-child th:nth-child(n+7), .rp-main-report-table thead tr:nth-child(2) th { background: var(--rp-finance); }
.rp-main-report .rp-utm-sources-table { min-width: 2300px; }
.rp-main-report .rp-utm-sources-table th:first-child { min-width: 190px; }
.rp-main-pivot-table { min-width: max(680px, 100%); }
.rp-main-pivot-table th:not(:first-child), .rp-main-pivot-table td { min-width: 110px; }
.rp-main-pivot-table tfoot th, .rp-main-pivot-table tfoot td { position: sticky; bottom: 0; z-index: 2; background: var(--summary-head); border-top: 1px solid var(--summary-line); font-weight: 700; }
.rp-main-pivot-table tfoot th:first-child { z-index: 3; }
.rp-main-pivot-drill { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 650; cursor: pointer; }
.rp-main-pivot-drill:hover, .rp-main-pivot-back:hover { color: var(--summary-accent); }
.rp-main-pivot-back { margin: 0 0 8px; padding: 6px 10px; border: 1px solid var(--summary-line); border-radius: 6px; background: var(--summary-surface); color: var(--summary-ink); }
@media (max-width: 767px) { .rp-main-period-card, .rp-main-content-card { padding: 10px; } .rp-main-product-strip { display: flex; overflow-x: auto; } .rp-main-product-chip { flex: 0 0 160px; min-height: 54px; } .rp-main-product-chip, .rp-main-period-primary button, .rp-main-period-secondary button, .rp-main-pivot-back { min-height: 44px; } .rp-main-period-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rp-main-month-buttons, .rp-main-weekday-buttons { grid-column: 1 / -1; } .rp-main-period-primary .rp-period-choice { grid-column: 2; grid-row: 1; width: 100%; } .rp-main-report .rp-main-report-scroll { height: min(60vh, 520px); } }
.rp-main-filter-extras { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.rp-main-filter-extras > button, .rp-main-custom-dates button { border: 1px solid var(--rp-filter-line); border-radius: 6px; padding: 6px 9px; background: var(--rp-filter-bg); color: var(--rp-filter-ink); font-size: 11px; }
.rp-main-filter-extras > button[aria-pressed="true"] { border-color: var(--rp-red); color: var(--rp-red); }
.rp-main-custom-dates { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; }
.rp-main-custom-dates label { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
.rp-main-custom-dates input { border: 1px solid var(--rp-filter-line); border-radius: 6px; padding: 5px; background: var(--rp-filter-bg); color: var(--rp-filter-ink); }
html .golden-app .ga-main-content .rp-consolidated .rp-utm-level-1 th:first-child { padding-left: 22px !important; }
html .golden-app .ga-main-content .rp-consolidated .rp-utm-level-2 th:first-child { padding-left: 42px !important; color: var(--summary-muted); }
.rp-utm-empty { text-align: left !important; color: var(--summary-muted); }
@media (max-width: 767px) { .rp-utm-metrics button, .rp-utm-expand { min-height: 44px; } }

/* Таблицы имеют собственную область прокрутки; ширина страницы от них не зависит. */
.rp-utm-report, .rp-direct-report { width:100%; max-width:100%; min-width:0; }
:is(.rp-utm-report,.rp-direct-report) .rp-consolidated-scroll {
  width:100%; min-width:0; box-sizing:border-box;
  height:var(--rp-table-height,clamp(280px, calc(100dvh - 235px), 800px)); max-height:none;
  isolation:isolate;
}
.rp-consolidated-table.rp-utm-sources-table { table-layout:fixed; min-width:1556px; }
.rp-consolidated-table.rp-direct-table { min-width:1200px; }
.rp-utm-sources-totals {
  position:sticky; bottom:0; z-index:4; flex:0 0 auto; margin-top:auto;
  min-width:1556px; width:100%; background:var(--summary-head);
  box-shadow:0 -2px 8px rgb(0 0 0 / .08);
}
.rp-utm-sources-totals :is(th,td) { font-weight:700; border-top:1px solid var(--summary-line); }
.rp-utm-sources-totals th:first-child { background:var(--summary-head); }
:is(.rp-utm-report,.rp-direct-report) .rp-column-sort { white-space:normal; overflow-wrap:anywhere; min-height:28px; }
:is(.rp-utm-report,.rp-direct-report) .rp-utm-expand { min-width:0; white-space:normal; overflow-wrap:anywhere; }
:is(.rp-utm-report,.rp-direct-report) .rp-utm-expand > span { flex:0 0 15px; }
.rp-direct-clusters-table col:first-child { width:240px; }
.rp-direct-clusters-table th:first-child { max-width:240px; overflow-wrap:anywhere; }
.rp-partial-value { white-space:nowrap; }
.rp-partial-value sup { margin-left:2px; color:var(--summary-accent); font-size:10px; }
.rp-report-coverage {
  margin:0 0 8px; padding:8px 10px; border:1px solid var(--summary-line);
  border-radius:6px; background:var(--summary-head); color:var(--summary-ink); line-height:1.5;
}
.rp-report-info { margin:0 0 8px; color:var(--summary-muted); font-size:11px; }
.rp-report-info summary { width:fit-content; cursor:pointer; padding:4px 0; }
.rp-report-info .rp-utm-note { max-width:105ch; margin:6px 0 8px; line-height:1.5; }
.rp-report-info summary:focus-visible { outline:2px solid var(--summary-accent); outline-offset:2px; }
.rp-consolidated-toolbar .rp-last-update { min-width:0; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
@media(max-width:900px) {
  :is(.rp-utm-report,.rp-direct-report) .rp-consolidated-scroll { height:var(--rp-table-height,clamp(260px, calc(100dvh - 330px), 700px)); }
}
@media(max-width:640px) {
  .rp-consolidated-toolbar .rp-last-update { flex-basis:100%; font-size:10px; }
  :is(.rp-utm-report,.rp-direct-report) .rp-consolidated-scroll { height:var(--rp-table-height,clamp(260px, calc(100dvh - 400px), 600px)); }
  .rp-utm-report .rp-utm-metrics { flex-wrap:nowrap; overflow-x:auto; }
  .rp-utm-report .rp-utm-metrics button { flex:0 0 auto; }
  .rp-direct-clusters-table col:first-child { width:160px; }
  .rp-direct-clusters-table th:first-child { max-width:160px; }
  .rp-utm-sources-table col:first-child { width:150px; }
  .rp-utm-sources-table th:first-child { max-width:150px; }
  :is(.rp-utm-report,.rp-direct-report) .rp-column-sort { min-height:40px; }
}
.rp-direct-daily-table thead th:nth-child(2) { padding-inline: 4px !important; }
.rp-direct-daily-table thead th:nth-child(2) .rp-column-sort { overflow-wrap: normal; word-break: normal; }
