/* bored. portal - ad results (analytics.js). Tokens come from portal.css; no new colors. */
.an-mount { margin-top: 26px; }
.an { display: grid; gap: 14px; }
.an h2 { font-size: clamp(24px, 3vw, 32px); }
.an h3 { font-size: 18px; margin-bottom: 10px; }
.an h4 { font-size: 14px; margin: 12px 0 6px; color: var(--muted); }
.an-sub { color: var(--muted); font-size: 13px; line-height: 1.4; }
.an-meta { color: var(--muted); font-size: 13px; }
.an-controls { display: grid; gap: 10px; }
.an-chips, .an-filters, .an-custom { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.an-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.an-chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.an-select, .an-custom label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.an-select select, .an-custom input { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font: inherit; background: var(--surface); color: var(--ink); }
.an-banner { border-radius: 14px; padding: 12px 14px; font-weight: 700; background: var(--lavender); }
.an-banner.an-zero_activity, .an-banner.an-unavailable { background: var(--lavender); color: var(--muted); }
.an-banner.an-delayed { background: #fff6d6; }
.an-banner.an-info { background: var(--lavender); color: var(--muted); font-weight: 600; }
.an-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.an-tile, .an-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.an-report { display: grid; gap: 12px; }
.an-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.an-value { font-family: var(--display); font-size: 28px; line-height: 1.1; margin: 4px 0; overflow-wrap: anywhere; }
.an-value.an-na, .an-value.an-sup { font-size: 16px; color: var(--muted); }
.an-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.an-row:first-of-type { border-top: 0; }
.an-row .an-sub { flex-basis: 100%; }
.an-row b.an-na, .an-row b.an-sup { color: var(--muted); font-weight: 600; }
.an-delta { display: block; font-size: 13px; font-weight: 700; }
.an-delta.an-up { color: var(--green); }
.an-delta.an-down { color: #b3261e; }
.an-delta.an-same { color: var(--muted); }
.an-bars { display: flex; align-items: flex-end; gap: 4px; height: 96px; margin: 10px 0 4px; }
.an-bar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.an-bar i { display: block; background: var(--purple); border-radius: 6px 6px 2px 2px; min-height: 2px; }
.an-bar span { font-size: 10px; text-align: center; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-bar.an-hidden i { background: repeating-linear-gradient(45deg, var(--line), var(--line) 4px, var(--lavender) 4px, var(--lavender) 8px); }
.an-loading, .an-error { padding: 16px; border-radius: 14px; background: var(--lavender); }
.an-error { color: #b3261e; }
.an-viewthrough { border-top: 1px dashed var(--line); margin-top: 6px; }
@media (max-width: 520px) { .an-tiles { grid-template-columns: 1fr 1fr; } .an-value { font-size: 24px; } }
