:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  font-size: 14px;
  line-height: 1.5;
  color: #1d1d1f;
  background: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5e7;
  --blue: #0071e3;
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: wait; }
button, a, summary { transition: color .15s, background-color .15s; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #0071e380; outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.site-header { height: 56px; background: #f5f5f7; }
.header-inner { max-width: 1264px; height: 100%; padding: 0 48px; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.workspace-label { border-left: 1px solid #d2d2d7; padding-left: 24px; color: var(--muted); font-size: 13px; }
.home-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #515154; }
.home-link:hover { color: var(--blue); }
.home-link .icon { width: 12px; height: 12px; }
main { max-width: 1264px; margin: auto; padding: 43px 48px 24px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 31px; }
h1 { font-size: 36px; font-weight: 650; letter-spacing: -.045em; line-height: 1.15; margin: 0; }
.heading-actions { display: flex; align-items: center; gap: 18px; }
.report-meta { font-size: 12px; color: var(--muted); }
.report-meta p { margin: 0; }
.report-meta[data-error=true] { color: #a44200; }
.primary, .secondary, .text-button { min-height: 36px; border: 1px solid transparent; border-radius: 7px; padding: 7px 13px; font-size: 13px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #0077ed; }
.secondary { background: #f5f5f7; color: var(--ink); }
.secondary:hover { background: #eaeaec; }
.refresh-button { border: 1px solid var(--line); background: #fff; }
.text-button { background: transparent; color: var(--muted); }
.text-button:hover { color: var(--ink); background: #f5f5f7; }
.filter-panel { margin-bottom: 31px; }
.filter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.presets { display: flex; align-items: center; background: #f2f2f4; border-radius: 8px; padding: 3px; gap: 2px; }
.presets button { border: 0; min-height: 30px; padding: 5px 15px; border-radius: 5px; background: transparent; color: #626267; font-size: 12px; font-weight: 500; }
.presets button[aria-pressed=true] { color: var(--ink); background: #fff; box-shadow: 0 1px 3px #00000016; }
.date-tools { display: flex; align-items: center; gap: 12px; }
.date-range { display: flex; align-items: center; gap: 4px; border: 1px solid #dcdce0; border-radius: 7px; padding: 0 5px; }
.date-range label { display: block; }
.date-range input { width: 136px; height: 34px; padding: 5px 7px; border: 0; background: transparent; font-size: 12px; color: #424245; border-radius: 4px; }
.date-divider { color: #86868b; font-size: 12px; }
.filter-toggle { background: #fff; border-color: #dcdce0; }
.filter-toggle[aria-expanded=true] { background: #f5f5f7; }
.filter-count { min-width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-size: 10px; line-height: 1; }
.filter-bottom { display: flex; align-items: end; gap: 16px; padding: 20px; margin-top: 16px; border-radius: 10px; background: #f5f5f7; }
label { display: flex; flex-direction: column; gap: 6px; color: #515154; font-size: 12px; font-weight: 500; }
input, select { min-width: 0; width: 100%; height: 36px; padding: 7px 10px; border: 1px solid #d2d2d7; background: #fff; color: var(--ink); border-radius: 6px; font-size: 13px; }
input::placeholder { color: #76767c; }
.filter-bottom label { flex: 1; max-width: 260px; }
.filter-bottom button[type=submit] { margin-left: auto; background: #1d1d1f; color: #fff; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 4px 0 34px; margin-bottom: 5px; }
.stat-card { padding: 0 28px; min-width: 0; border-left: 1px solid var(--line); }
.stat-card:first-child { border: 0; padding-left: 0; }
.stat-card:last-child { padding-right: 0; }
.stat-card p { margin: 0 0 10px; color: #515154; font-size: 13px; font-weight: 500; }
.stat-card strong { display: block; font-size: 48px; font-weight: 550; letter-spacing: -.055em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-card > span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.report-navigation { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.report-navigation [role=tablist] { display: flex; gap: 30px; }
.report-navigation [role=tab] { position: relative; border: 0; background: transparent; padding: 12px 0 14px; min-height: 47px; font-size: 13px; font-weight: 500; color: var(--muted); }
.report-navigation [aria-selected=true] { color: var(--ink); }
.report-navigation [aria-selected=true]::after { position: absolute; content: ""; height: 2px; left: 0; right: 0; bottom: -1px; background: var(--ink); }
.tab-count { color: var(--muted); font-size: 11px; margin-left: 5px; font-weight: 400; font-variant-numeric: tabular-nums; }
#selection { font-size: 12px; color: var(--muted); }
.panel { min-width: 0; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-heading h2 { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.panel-heading p { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.subtle-badge { color: var(--muted); font-size: 12px; padding-top: 3px; white-space: nowrap; }
.trend-panel { padding-bottom: 32px; }
.trend-chart { display: block; width: 100%; height: 214px; overflow: visible; }
.trend-plot { position: relative; padding-left: 34px; }
.trend-y-axis { position: absolute; left: 0; top: calc(7.5% - 5.5px); bottom: calc(11.25% - 5.5px); width: 25px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; font-size: 11px; line-height: 11px; color: #77777d; font-variant-numeric: tabular-nums; }
.trend-axis { display: flex; justify-content: space-between; font-size: 11px; color: #77777d; margin: 4px 0 0 34px; }
.primary-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 31px; gap: 64px; }
.primary-grid > .panel + .panel { position: relative; }
.primary-grid > .panel + .panel::before { content: ""; position: absolute; top: 0; bottom: 0; left: -32px; width: 1px; background: var(--line); }
.breakdown-list { display: grid; }
.metric { display: grid; grid-template-columns: minmax(100px,1.1fr) minmax(60px,1fr) 72px; gap: 20px; min-height: 43px; align-items: center; }
.metric-label { font-size: 13px; color: #424245; overflow-wrap: anywhere; }
.metric-value { display: flex; justify-content: flex-end; gap: 14px; align-items: baseline; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.metric-value small { font-size: 11px; font-weight: 400; color: var(--muted); min-width: 30px; text-align: right; }
.track { height: 5px; background: #f2f2f4; border-radius: 2px; overflow: hidden; }
.fill { height: 100%; background: #8baecc; border-radius: 2px; min-width: 2px; }
.show-all { background: transparent; border: 0; color: var(--blue); font-size: 12px; padding: 12px 0 0; }
.empty { min-height: 176px; padding: 40px 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.empty strong { font-size: 16px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.empty span { font-size: 13px; color: var(--muted); max-width: 370px; }
.more-breakdowns { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-breakdowns > summary, .counting-note > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; padding: 20px 0; }
summary::-webkit-details-marker { display: none; }
.more-breakdowns > summary::after, .counting-note > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg); margin-left: auto; margin-right: 3px; align-self: center; }
details[open] > summary::after { transform: rotate(225deg); }
.more-breakdowns > summary span { color: var(--muted); font-size: 12px; font-weight: 400; }
.secondary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 64px; padding: 12px 0 32px; }
.secondary-grid .breakdown-list { max-height: 300px; overflow: auto; padding-right: 8px; }
.table-panel .panel-heading { align-items: center; margin-bottom: 24px; }
.table-scroll { overflow: auto; max-height: 650px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
table { width: 100%; text-align: left; border-collapse: separate; border-spacing: 0; }
th { position: sticky; top: 0; z-index: 1; padding: 12px 16px; font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; background: #f5f5f7; border-bottom: 1px solid var(--line); }
td { padding: 16px; border-bottom: 1px solid #ededf0; vertical-align: middle; line-height: 1.5; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafafa; }
td strong { display: block; font-size: 13px; font-weight: 500; color: #303033; }
td small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.accounts-table { min-width: 680px; }
.accounts-table td:first-child { min-width: 250px; }
.activity-table { min-width: 1020px; }
.activity-table td:first-child { min-width: 125px; }
.activity-table td:nth-child(3) { min-width: 200px; max-width: 260px; overflow-wrap: anywhere; }
.activity-table td:nth-child(4) { min-width: 155px; max-width: 230px; overflow-wrap: anywhere; }
.badge { display: inline-block; color: #515154; background: #f2f2f4; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 400; white-space: nowrap; }
.badge.bot, .badge.internal { color: #84632d; background: #f7f3ec; }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; color: var(--muted); font-size: 12px; }
.table-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 44px 20px; }
.counting-note { margin-top: 12px; max-width: 100%; }
.counting-note > summary { color: var(--muted); font-size: 12px; font-weight: 400; padding: 16px 0; }
.counting-note > div { max-width: 850px; color: var(--muted); font-size: 12px; line-height: 1.8; padding-bottom: 12px; }
.counting-note strong { color: #515154; font-weight: 500; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 29px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 11px; color: #77777d; }
.access-panel { padding: 80px 24px 96px; text-align: center; border-top: 1px solid var(--line); }
.access-icon { width: 34px; height: 34px; stroke-width: 1.15; color: #86868b; margin-bottom: 16px; }
.access-panel h2 { font-size: 24px; font-weight: 600; letter-spacing: -.035em; margin: 0 0 10px; }
.access-panel p { font-size: 14px; color: var(--muted); }
.link-button { display: inline-flex; margin-top: 12px; }
.access-panel .access-help { font-size: 12px; margin-top: 20px; }
@media (min-width:1600px) { main, .header-inner { max-width: 1340px; } .trend-chart { height: 245px; } }
@media (max-width:1000px) {
  main, .header-inner { padding-left: 32px; padding-right: 32px; }
  .stat-card { padding: 0 20px; }
  .stat-card strong { font-size: 43px; }
  .stat-card > span { font-size: 11px; }
  .primary-grid { gap: 40px; }
  .primary-grid > .panel + .panel::before { left: -20px; }
  .metric { gap: 12px; grid-template-columns: minmax(95px,1.1fr) minmax(40px,1fr) 66px; }
  .date-range input { width: 126px; }
  .presets button { padding-inline: 12px; }
  .filter-toolbar { gap: 12px; }
}
@media (max-width:800px) {
  .filter-toolbar { flex-wrap: wrap; gap: 16px; }
  .date-tools { margin-left: auto; }
  .heading-actions .report-meta { display: none; }
  .filter-bottom { flex-wrap: wrap; }
  .filter-bottom label { flex: 1; min-width: 150px; max-width: none; }
  .filter-bottom button[type=submit] { margin-left: 0; }
  .primary-grid { grid-template-columns: 1fr; gap: 30px; }
  .primary-grid > .panel + .panel { border-top: 1px solid var(--line); padding-top: 28px; }
  .primary-grid > .panel + .panel::before { display: none; }
  .metric { grid-template-columns: minmax(110px,1fr) minmax(80px,1.3fr) 82px; }
  .secondary-grid { gap: 32px; }
  #selection { max-width: 185px; text-align: right; font-size: 11px; }
}
@media (max-width:540px) {
  .site-header { height: 50px; }
  .header-inner { padding-inline: 22px; gap: 17px; }
  .brand { font-size: 14px; }
  .workspace-label { font-size: 12px; padding-left: 17px; }
  .home-link { font-size: 11px; }
  main { padding: 29px 22px 20px; }
  h1 { font-size: 31px; }
  .page-heading { gap: 12px; margin-bottom: 27px; }
  .refresh-button { padding-inline: 10px; min-height: 34px; font-size: 12px; }
  .filter-toolbar { display: block; }
  .presets { width: 100%; margin-bottom: 12px; }
  .presets button { flex: 1; min-height: 31px; }
  .date-tools { justify-content: space-between; gap: 8px; }
  .date-range { flex: 1; padding: 0 3px; min-width: 0; justify-content: space-between; gap: 0; }
  .date-range label { flex: 1; min-width: 0; }
  .date-range input { width: 100%; padding: 5px 3px; font-size: 11px; }
  .date-range input::-webkit-calendar-picker-indicator { width: 11px; margin: 0; padding: 0; }
  .filter-toggle { padding: 8px 10px; }
  .filter-toggle .filter-label { display: none; }
  .filter-bottom { padding: 16px; gap: 12px; }
  .filter-bottom label { min-width: 105px; }
  .filter-bottom label:first-child { flex-basis: 100%; }
  .filter-bottom button[type=submit] { flex: 1; }
  .filter-panel { margin-bottom: 29px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 0; padding: 0 0 24px; }
  .stat-card { padding: 0 0 0 22px; }
  .stat-card:nth-child(odd) { padding: 0 20px 0 0; border: 0; }
  .stat-card p { font-size: 12px; margin-bottom: 7px; }
  .stat-card strong { font-size: 39px; }
  .stat-card > span { font-size: 11px; line-height: 1.45; margin-top: 7px; }
  .report-navigation { margin-bottom: 27px; }
  .report-navigation [role=tablist] { gap: 28px; width: 100%; }
  .report-navigation [role=tab] { font-size: 12px; }
  #selection { display: none; }
  .panel-heading { gap: 12px; margin-bottom: 20px; }
  .panel-heading h2 { font-size: 18px; }
  .panel-heading p { font-size: 12px; }
  .subtle-badge { font-size: 11px; }
  .trend-chart { height: 188px; }
  .trend-axis { font-size: 10px; }
  .trend-panel { padding-bottom: 25px; }
  .primary-grid { padding-top: 25px; }
  .metric { grid-template-columns: minmax(93px,1fr) minmax(45px,1fr) 75px; gap: 14px; min-height: 44px; }
  .metric-label { font-size: 12px; }
  .metric-value { font-size: 12px; gap: 10px; }
  .secondary-grid { grid-template-columns: 1fr; }
  .more-breakdowns > summary { flex-wrap: wrap; gap: 4px 12px; position: relative; padding-right: 24px; }
  .more-breakdowns > summary span { flex-basis: 100%; font-size: 11px; }
  .more-breakdowns > summary::after { position: absolute; right: 0; top: 26px; }
  .table-panel .panel-heading { flex-wrap: wrap; gap: 16px; }
  .table-footer { flex-wrap: wrap; font-size: 11px; }
  footer { flex-wrap: wrap; gap: 8px; font-size: 10px; margin-top: 22px; }
  .access-panel { padding: 60px 0 70px; }
  .access-panel h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { button, a, summary { transition: none; } }
