/* Studio analytics density layer — after workspace-refit. Stat panels only. */

.an-metric-primary strong { color: var(--blue, #214f80); }

.an-metrics,
.an-metrics-dense {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line, #dce2e5);
  border-radius: 6px;
  background: #fff;
  margin: 0 0 28px;
  overflow: hidden;
}

.an-metrics .an-metric {
  min-height: 108px;
  padding: 19px 22px;
  border: 0;
  border-right: 1px solid var(--line, #dce2e5);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.an-metrics-dense .an-metric:nth-child(6n) { border-right: 0; }
.an-metrics-dense .an-metric:nth-child(n+7) { border-top: 1px solid var(--line, #dce2e5); }

.an-density {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 0;
  margin: 0 0 20px;
  border: 1px solid var(--line, #dce2e5);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.an-density-second { margin-bottom: 28px; }

.an-density-card {
  min-width: 0;
  padding: 18px 20px 20px;
  border-right: 1px solid var(--line, #dce2e5);
}
.an-density-card:last-child { border-right: 0; }

.an-density-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 16px;
}
.an-density-head strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #202629);
}
.an-density-head .an-quiet { margin-left: auto; }

.an-mix-bar {
  display: flex;
  height: 10px;
  border-radius: 3px;
  overflow: hidden;
  background: #e9eff3;
  margin-bottom: 16px;
}
.an-mix-bar-lg { height: 12px; margin-bottom: 14px; }
.an-mix-seg { display: block; height: 100%; min-width: 0; transition: width .35s ease; }
.an-mix-seg.is-home { background: #21644d; }
.an-mix-seg.is-enterprise { background: #214f80; }
.an-mix-seg.is-bot { background: #8a96a0; }
.an-mix-seg.is-scraper { background: #a23838; }
.an-mix-seg.is-unknown { background: #c5ced4; }

.an-mix-legend {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px;
}
.an-mix-legend li {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--muted, #657076);
}
.an-mix-legend i {
  width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; background: #c5ced4;
}
.an-mix-legend i.is-home { background: #21644d; }
.an-mix-legend i.is-enterprise { background: #214f80; }
.an-mix-legend i.is-bot { background: #8a96a0; }
.an-mix-legend i.is-scraper { background: #a23838; }
.an-mix-legend i.is-unknown { background: #c5ced4; }
.an-mix-legend strong {
  margin-left: auto; font-size: 12px; font-weight: 600;
  color: var(--ink, #202629); font-variant-numeric: tabular-nums;
}

.an-ratio-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px; font-size: 11px; color: var(--muted, #657076);
}
.an-ratio-row strong {
  font-size: 22px; font-weight: 600; color: var(--ink, #202629);
  font-variant-numeric: tabular-nums;
}
.an-ratio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
}
.an-ratio-grid article {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 8px; border-top: 1px solid #e9eef1;
}
.an-ratio-grid span { font-size: 10px; text-transform: uppercase; font-weight: 600; color: #74818b; }
.an-ratio-grid strong {
  font-size: 16px; font-weight: 600; color: var(--ink, #202629);
  font-variant-numeric: tabular-nums;
}

.an-vp-tracks { display: grid; gap: 12px; }
.an-vp-row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 48px; gap: 10px;
  align-items: center; font-size: 11px; color: var(--muted, #657076);
}
.an-vp-row strong {
  text-align: right; font-size: 12px; font-weight: 600;
  color: var(--ink, #202629); font-variant-numeric: tabular-nums;
}

.an-track {
  display: block; height: 7px; border-radius: 3px; background: #e9eff3; overflow: hidden;
}
.an-track-fill {
  display: block; height: 100%; width: 0; border-radius: 3px;
  background: #296c9a; transition: width .35s ease;
}
.an-track-fill.is-mid { background: #5d8dba; }
.an-track-fill.is-soft { background: #8baaca; }
.an-track-fill.is-muted { background: #b7c3cb; }

.an-spark {
  position: relative; display: flex; align-items: flex-end; gap: 3px;
  height: 96px; padding: 4px 0 0;
}
.an-spark-bar {
  flex: 1 1 0; min-width: 0; height: var(--h, 4%); min-height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #214f80 0%, #5d8dba 100%);
  opacity: .88; transition: height .3s ease, opacity .2s ease;
}
.an-spark-bar.is-empty { opacity: .22; background: #c8d3da; }
.an-spark-empty {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 12px; color: var(--muted, #657076); pointer-events: none;
}
.an-spark:has(.an-spark-bar) .an-spark-empty { display: none; }

.an-real {
  border-top: 1px solid var(--line, #dce2e5);
  margin: 0 0 28px; padding: 0;
}
.an-real-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  margin: 0 0 16px; border: 1px solid var(--line, #dce2e5);
  border-radius: 6px; background: #fff; overflow: hidden;
}
.an-real-stats article {
  padding: 14px 18px; border-right: 1px solid var(--line, #dce2e5);
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.an-real-stats article:last-child { border-right: 0; }
.an-real-stats span { font-size: 10px; text-transform: uppercase; font-weight: 600; color: #74818b; }
.an-real-stats strong {
  font-size: 22px; font-weight: 600; color: var(--ink, #202629);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}

.an-ip-table-wrap {
  border: 1px solid var(--line, #dce2e5); border-radius: 5px;
  background: #fff; overflow: auto; max-width: 100%; scrollbar-width: thin;
}
.an-ip-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.an-ip-table th {
  position: sticky; top: 0; z-index: 1; background: #f8fafb; color: #6d7b83;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  padding: 12px 15px; border-bottom: 1px solid var(--line, #dce2e5);
  text-align: left; white-space: nowrap;
}
.an-ip-table td {
  padding: 13px 15px; border-bottom: 1px solid #e9eef1;
  vertical-align: middle; color: #37464f; overflow-wrap: anywhere;
}
.an-ip-table tr:last-child td { border-bottom: 0; }
.an-ip-table tbody tr:hover { background: #f7fafc; }
.an-ip-table .an-empty { text-align: center; color: var(--muted, #657076); padding: 24px 18px; }
.an-ip-addr {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px; font-weight: 600; color: var(--ink, #202629);
}
.an-ip-ptr {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px; color: var(--muted, #657076);
}
.an-ip-hits, .an-ip-seen {
  font-variant-numeric: tabular-nums; white-space: nowrap;
  color: var(--muted, #657076); font-size: 11px;
}

.an-rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0 0 28px;
  border-top: 1px solid var(--line, #dce2e5);
}
.an-rank-panel {
  min-width: 0;
  border-top: 1px solid var(--line, #dce2e5);
  padding: 0 0 8px;
}
.an-rank-panel .an-feed-head { padding-top: 20px; }
.an-rank-panel .an-list {
  background: #fff; border: 1px solid var(--line, #dce2e5);
  border-radius: 5px; padding: 4px 0; max-height: 360px; overflow: auto;
  scrollbar-width: thin;
}
.an-rank-panel .an-list li {
  padding: 10px 14px; border-bottom: 1px solid #e9eef1; margin: 0;
}
.an-rank-panel .an-list li:last-child { border-bottom: 0; }

.an-track-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(48px, 28%) 44px;
  gap: 10px; align-items: center;
}
.an-track-list .an-list-label {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 11px; color: var(--muted, #657076);
}
.an-track-list .an-list-value {
  text-align: right; font-variant-numeric: tabular-nums;
  font-size: 12px; font-weight: 600; color: var(--ink, #202629);
}

.an-kind {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px;
  border: 1px solid var(--line, #dce2e5); border-radius: 4px;
  font-size: 10px; font-weight: 600; white-space: nowrap;
  background: #f0f4f7; color: #37546a;
}
.an-kind-home_user { color: var(--green, #21644d); background: var(--green-soft, #edf6f1); border-color: #c8dfd1; }
.an-kind-enterprise_user { color: var(--blue, #214f80); background: var(--blue-soft, #edf3f8); border-color: #c5d7e8; }
.an-kind-bot { color: #536873; background: #f0f3f5; }
.an-kind-scraper_bot { color: var(--red, #a23838); background: #fdf0ef; border-color: #ecd1cd; }

.an-kind-metrics {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 0 14px; margin: 0 0 4px;
  border-bottom: 1px solid var(--line, #dce2e5);
}
.an-kind-filter {
  background: #fff; border: 1px solid var(--line, #dce2e5); border-radius: 4px;
  padding: 6px 8px; font-size: 10px; color: #536873; min-width: 0; cursor: pointer;
}
.an-kind-filter strong { font-size: 11px; margin-left: 5px; color: var(--ink, #202629); }
.an-kind-filter.is-active { color: var(--blue, #214f80); border-color: #8baaca; background: #edf4f9; }

.an-meta {
  border-top: 1px solid var(--line, #dce2e5);
  margin: 28px 0 0; padding: 0;
}
.an-meta-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin: 0; border: 1px solid var(--line, #dce2e5); border-radius: 5px;
  background: #fff; overflow: hidden;
}
.an-meta-grid > div {
  padding: 14px 16px; border-right: 1px solid var(--line, #dce2e5);
  border-bottom: 1px solid var(--line, #dce2e5); min-width: 0;
}
.an-meta-grid dt { font-size: 10px; text-transform: uppercase; color: #74818b; font-weight: 600; margin: 0 0 6px; }
.an-meta-grid dd { margin: 0; font-size: 12px; color: var(--ink, #202629); overflow-wrap: anywhere; }

/* Hide leftover globe styles if base CSS still defines them */
.an-stage, .an-globe-card, .an-map, .an-map-3d, .an-map-canvas, .an-map-empty { display: none !important; }

@media (max-width: 1400px) {
  .an-metrics-dense { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .an-metrics-dense .an-metric:nth-child(6n) { border-right: 1px solid var(--line, #dce2e5); }
  .an-metrics-dense .an-metric:nth-child(4n) { border-right: 0; }
  .an-metrics-dense .an-metric:nth-child(n+5) { border-top: 1px solid var(--line, #dce2e5); }
}
@media (max-width: 1250px) {
  .an-density { grid-template-columns: 1fr 1fr; }
  .an-density-pulse { grid-column: 1 / -1; border-top: 1px solid var(--line, #dce2e5); }
  .an-real-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .an-real-stats article { border-bottom: 1px solid var(--line, #dce2e5); }
  .an-meta-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .an-rank-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  .an-metrics-dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-metrics-dense .an-metric:nth-child(4n) { border-right: 1px solid var(--line, #dce2e5); }
  .an-metrics-dense .an-metric:nth-child(2n) { border-right: 0; }
  .an-metrics-dense .an-metric:nth-child(n+3) { border-top: 1px solid var(--line, #dce2e5); }
  .an-density { grid-template-columns: 1fr; }
  .an-density-card { border-right: 0; border-bottom: 1px solid var(--line, #dce2e5); }
  .an-density-card:last-child { border-bottom: 0; }
  .an-real-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-ip-table { min-width: 520px; }
  .an-track-list li { grid-template-columns: minmax(0, 1fr) 40px; }
  .an-track-list .an-track { display: none; }
  .an-meta-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .an-mix-seg, .an-track-fill, .an-spark-bar { transition: none; }
}

.an-host {
  border-top: 1px solid var(--line, #dce2e5);
  margin: 0 0 28px;
  padding: 0;
}
.an-host-bp .an-feed-head code {
  font-size: 11px;
  background: #eef2f4;
  border: 1px solid var(--line, #dce2e5);
  border-radius: 3px;
  padding: 1px 6px;
}
.an-metrics-host {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}
.an-metrics-host .an-metric:nth-child(4n) { border-right: 0; }
.an-metrics-host .an-metric:nth-child(n+5) { border-top: 1px solid var(--line, #dce2e5); }
.an-density-host { margin-bottom: 16px; }
.an-rank-grid-host {
  border-top: 0;
  margin-bottom: 16px;
}
.an-real-bp {
  border-top: 1px solid var(--line, #dce2e5);
  margin-bottom: 0;
  padding-top: 8px;
}
@media (max-width: 1400px) {
  .an-metrics-host { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .an-metrics-host { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-metrics-host .an-metric:nth-child(4n) { border-right: 1px solid var(--line, #dce2e5); }
  .an-metrics-host .an-metric:nth-child(2n) { border-right: 0; }
}

.an-bots-bp {
  border-top: 1px solid var(--line, #dce2e5);
  margin-top: 18px;
  padding-top: 8px;
}
.an-bot-stats article strong { color: #536873; }
.an-bot-table .an-kind-bot,
.an-bot-table .an-kind-scraper_bot { font-size: 10px; }
.an-ua-class {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  color: #536873;
  max-width: 280px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.an-bot-path {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  color: var(--muted, #657076);
  overflow-wrap: anywhere;
}

/* Pulse + visitor ledger overhaul */
.an-sources-wide {
  border-top: 1px solid var(--line, #dce2e5);
  margin: 0 0 28px;
}
.an-pulse,
.an-visitors {
  border-top: 1px solid var(--line, #dce2e5);
  margin: 0 0 28px;
  padding: 0;
}
.an-panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0 0 14px;
}
.an-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line, #dce2e5);
  border-radius: 5px;
  background: #f0f3f5;
}
.an-seg-btn {
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #667986;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  min-height: 30px;
  cursor: pointer;
}
.an-seg-btn strong {
  margin-left: 5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.an-seg-btn.is-active {
  background: #fff;
  color: var(--blue, #214f80);
  border-color: #d9e1e7;
  box-shadow: 0 1px 3px #18303e08;
}
.an-toolbar-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted, #657076);
  font-weight: 500;
  margin: 0;
}
.an-toolbar-check input { accent-color: var(--blue, #214f80); }
.an-toolbar-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 auto;
  font-size: 11px;
  color: var(--muted, #657076);
  font-weight: 600;
}
.an-toolbar-search input {
  width: min(260px, 52vw);
  min-height: 34px;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}
.an-table-wrap {
  border: 1px solid var(--line, #dce2e5);
  border-radius: 5px;
  background: #fff;
  overflow: auto;
  max-width: 100%;
  scrollbar-width: thin;
}
.an-pulse-wrap { max-height: 440px; }
.an-ledger-wrap { max-height: 560px; }
.an-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.an-data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafb;
  color: #6d7b83;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line, #dce2e5);
  text-align: left;
  white-space: nowrap;
}
.an-data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e9eef1;
  vertical-align: middle;
  color: #37464f;
  overflow-wrap: anywhere;
}
.an-data-table tr:last-child td { border-bottom: 0; }
.an-data-table tbody tr:hover { background: #f7fafc; }
.an-data-table .an-empty {
  text-align: center;
  color: var(--muted, #657076);
  padding: 28px 16px;
}
.an-mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}
.an-ip-addr { font-weight: 600; color: var(--ink, #202629); }
.an-path { color: var(--ink, #202629); }
.an-org, .an-via {
  font-size: 11px;
  color: var(--muted, #657076);
}
.an-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--muted, #657076);
  font-size: 11px;
}
.an-dash { color: #b0bac1; }
.an-repeat {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 3px;
  background: #edf3f8;
  color: var(--blue, #214f80);
  border: 1px solid #c5d7e8;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.an-kind-row-bot { background: #fafbfc; }
.an-kind-row-scraper_bot { background: #fdf8f8; }
.an-kind-row-home_user td:first-child,
.an-kind-row-enterprise_user td:first-child { box-shadow: inset 2px 0 0 #21644d33; }
.an-kind-row-enterprise_user td:first-child { box-shadow: inset 2px 0 0 #214f8033; }
.an-kind-row-bot td:first-child { box-shadow: inset 2px 0 0 #8a96a055; }
.an-kind-row-scraper_bot td:first-child { box-shadow: inset 2px 0 0 #a2383855; }
.an-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted, #657076);
}
.an-pager > div { display: flex; gap: 7px; }
@media (max-width: 900px) {
  .an-toolbar-search { margin-left: 0; width: 100%; }
  .an-toolbar-search input { width: 100%; flex: 1; }
  .an-data-table { min-width: 860px; }
}

.an-bot-activity {
  margin: 0 0 18px;
  padding: 4px 0 8px;
}
.an-bot-act-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line, #dce2e5);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  margin: 0 0 16px;
}
.an-bot-act-kpis article {
  padding: 12px 14px;
  border-right: 1px solid var(--line, #dce2e5);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.an-bot-act-kpis article:last-child { border-right: 0; }
.an-bot-act-kpis span { font-size: 10px; text-transform: uppercase; font-weight: 600; color: #74818b; }
.an-bot-act-kpis strong { font-size: 20px; font-weight: 600; color: var(--ink, #202629); font-variant-numeric: tabular-nums; }
.an-bot-act-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 16px;
}
.an-bot-act-split h3 { font-size: 12px; margin: 0 0 8px; }
.an-bot-act-split .an-list {
  background: #fff;
  border: 1px solid var(--line, #dce2e5);
  border-radius: 5px;
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 4px 0;
}
.an-bot-act-split .an-list li { padding: 8px 12px; }
.an-bot-act-feed { display: grid; gap: 10px; }
.an-bot-card {
  background: #fff;
  border: 1px solid var(--line, #dce2e5);
  border-radius: 6px;
  padding: 12px 14px;
}
.an-bot-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.an-bot-card header strong { font-size: 13px; font-weight: 600; color: var(--ink, #202629); }
.an-bot-card-path {
  margin: 0 0 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  color: var(--ink, #202629);
  overflow-wrap: anywhere;
}
.an-bot-card-meta { margin: 0 0 8px; font-size: 11px; color: var(--muted, #657076); }
.an-bot-card-paths { display: flex; flex-wrap: wrap; gap: 6px; }
.an-bot-card-paths span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid var(--line, #dce2e5);
  border-radius: 4px;
  background: #f8fafb;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.an-bot-card-paths strong { font-variant-numeric: tabular-nums; }
.an-scope {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  border: 1px solid var(--line, #dce2e5);
  font-size: 10px;
  font-weight: 600;
  color: #37546a;
  background: #f0f4f7;
  white-space: nowrap;
}
.an-scope-boundproof { color: #214f80; background: #edf3f8; border-color: #c5d7e8; }
.an-scope-site { color: #21644d; background: #edf6f1; border-color: #c8dfd1; }
.an-scope-both { color: #8b662c; background: #fcf5e8; border-color: #e8d9b9; }

@media (max-width: 900px) {
  .an-bot-act-kpis, .an-bot-act-split { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .an-bot-table-wrap { overflow: visible; border: 0; background: transparent; }
  .an-bot-table { min-width: 0; display: block; }
  .an-bot-table thead { display: none; }
  .an-bot-table tbody { display: grid; gap: 10px; }
  .an-bot-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
    border: 1px solid var(--line, #dce2e5);
    border-radius: 6px;
    background: #fff;
    padding: 12px;
  }
  .an-bot-table td {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 0;
    padding: 6px 0;
    min-width: 0;
  }
  .an-bot-table td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #74818b;
  }
  .an-bot-table td.an-bot-lead { grid-column: 1 / -1; padding-bottom: 2px; }
  .an-bot-table td.an-bot-lead:first-child { padding-top: 0; }
  .an-bot-table .an-empty { display: block; grid-column: 1 / -1; }
  .an-bot-table .an-ua-class { max-width: none; white-space: normal; }
  .an-bot-act-kpis { grid-template-columns: 1fr 1fr; }
  .an-bot-act-kpis article:nth-child(odd) { border-bottom: 1px solid var(--line, #dce2e5); }
  .an-bot-act-split { grid-template-columns: 1fr; }
}
