/* Main-site + AI Page request summary. Independent of overview.css; uses shared cabinet tokens. */
.bot-traffic-summary { display: grid; gap: 16px; min-width: 0; scroll-margin-top: 24px; }
:where(.bot-traffic-summary) a { color: inherit; text-decoration: none; }
.bot-traffic-summary svg.lucide { width: 16px; height: 16px; stroke-width: 1.75; flex: none; }
.bot-traffic-summary .ico-sm { flex: none; }

.bot-traffic-summary .ov4-cardh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 0; min-height: 52px; }
.bot-traffic-summary .ov4-cardh h2 { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; display: flex; align-items: center; gap: 4px; margin: 0; }
.bot-traffic-summary .ov4-cardh small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; text-wrap: pretty; }
.bot-traffic-summary .ov4-cardh .btn { flex: none; }
.bot-traffic-summary .ov5-bots { display: flex; flex-direction: column; }
@media (max-width: 520px) {
.bot-traffic-summary .ov5-bots > .ov4-cardh > .btn { display: none; } }
.bot-traffic-summary .ov5-bots-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border-top: 1px solid var(--hair); }
.bot-traffic-summary .ov5-bc { display: grid; gap: 10px; align-content: start; padding: 14px 20px 16px; text-align: left; width: 100%; min-width: 0; cursor: pointer; transition: background-color .12s ease; }
.bot-traffic-summary .ov5-bc + .ov5-bc { border-left: 1px solid var(--hair); }
.bot-traffic-summary .ov5-bc:hover { background: var(--panel-2); }
.bot-traffic-summary .ov5-bc:first-child { border-bottom-left-radius: var(--r-lg); }
.bot-traffic-summary .ov5-bc:last-child { border-bottom-right-radius: var(--r-lg); }
@media (max-width: 860px) {
.bot-traffic-summary .ov5-bots-row { grid-template-columns: minmax(0, 1fr); }
.bot-traffic-summary .ov5-bc + .ov5-bc { border-left: 0; border-top: 1px solid var(--hair); }
.bot-traffic-summary .ov5-bc:first-child { border-radius: 0; }
.bot-traffic-summary .ov5-bc:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
}
.bot-traffic-summary .ov4-kpi-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.bot-traffic-summary .ov4-kpi-h > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.bot-traffic-summary .ov4-kpi-p { gap: 4px !important; font-size: 12px; }
.bot-traffic-summary .ov4-kpi-p svg.lucide { color: var(--ink-4); transition: transform .15s ease, color .15s ease; }
.bot-traffic-summary .ov5-bc:hover .ov4-kpi-p > svg.lucide { color: var(--ink); transform: translate(1px, -1px); }
.bot-traffic-summary .ov4-kpi-lk { display: inline-flex; align-items: center; gap: 4px; padding: 0 7px 0 6px; height: 20px; border-radius: 6px; background: var(--wash); color: var(--ink-2); font-size: 11.5px; white-space: nowrap; }
.bot-traffic-summary .ov4-kpi-lk svg.lucide { width: 12px; height: 12px; color: var(--ink-3); }
.bot-traffic-summary .ov5-bc:hover .ov4-kpi-lk { color: var(--ink); }
.bot-traffic-summary .ov4-kpi-v { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bot-traffic-summary .ov4-kpi-v .kpi-value { font-size: 30px; }
.bot-traffic-summary .ov4-kpi-v .kpi-value small { font-size: 14px; margin-left: 1px; }
.bot-traffic-summary .ov4-kpi-v .muted { font-size: 12.5px; }
.bot-traffic-summary .ov4-pct { font-size: 13px; }
.bot-traffic-summary .ov4-kpi-viz { display: block; }
.bot-traffic-summary .ov4-cmp { display: grid; gap: 4px; width: 100%; }
.bot-traffic-summary .ov4-cmp span { display: block; height: 8px; border-radius: 4px; background: var(--s1); }
.bot-traffic-summary .ov4-cmp span + span { background: color-mix(in srgb, var(--ink) 18%, var(--panel)); }
.bot-traffic-summary .ov4-cmp span.none, .bot-traffic-summary .ov4-k.none { background: repeating-linear-gradient(135deg, var(--wash-2) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px var(--wash-2); }
.bot-traffic-summary .ov4-stack { display: flex; gap: 2px; height: 12px; width: 100%; border-radius: 6px; overflow: hidden; }
.bot-traffic-summary .ov4-stack span { display: block; height: 100%; }
.bot-traffic-summary .ov4-kpi-f { font-size: 12px; color: var(--ink-3); display: flex; gap: 4px 10px; flex-wrap: wrap; }
.bot-traffic-summary .ov4-kpi-f > span { white-space: nowrap; }
.bot-traffic-summary .ov4-k { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.bot-traffic-summary .ov4-k.s1 { background: var(--s1); }
.bot-traffic-summary .ov4-k.prev { background: color-mix(in srgb, var(--ink) 18%, var(--panel)); }
.bot-traffic-summary .ov4-errbar { gap: 2px; }
.bot-traffic-summary .ov4-errbar .nf, .bot-traffic-summary .ov4-k.nf { background: color-mix(in srgb, var(--warn) 38%, var(--wash-2)); }
.bot-traffic-summary .ov4-errbar .se, .bot-traffic-summary .ov4-k.se { background: color-mix(in srgb, var(--bad) 55%, var(--wash-2)); }
.bot-traffic-summary .ov4-errbar span { min-width: 4px; }
.bot-traffic-summary .ov5-bots-empty { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 12px; padding: 16px 20px 18px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-2); }
.bot-traffic-summary .ov5-bots-empty p { text-wrap: pretty; max-width: 70ch; }
.bot-traffic-summary .ov5-bots-empty b { font-weight: 500; color: var(--ink); }
@media (max-width: 620px) {
.bot-traffic-summary .ov5-bots-empty { grid-template-columns: 44px minmax(0, 1fr); }
.bot-traffic-summary .ov5-bots-empty .btn { grid-column: 1 / -1; justify-self: start; } }
.bot-traffic-summary .ov4-fine { display: flex; align-items: center; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); padding: 0 4px; }
.bot-traffic-summary .ov4-fine > span { display: inline-flex; gap: 7px; align-items: center; min-width: 0; }
.bot-traffic-summary .ov4-fine .btn { padding-right: 0; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.bot-traffic-summary .ov4-fine .btn[hidden] { display: none !important; }
.bot-traffic-summary .ov4-kpi-h { flex-wrap: wrap; row-gap: 4px; }
.bot-traffic-summary .ov4-fine { margin: 0; }
.bot-traffic-summary .ov4-fine .btn { white-space: normal; height: auto; min-height: 32px; text-align: left; line-height: 1.4; max-width: 100%; }
.bot-traffic-summary .ov4-fine .status::before { flex: none; }
@media (max-width: 760px) { .bot-traffic-summary .ov4-fine .btn { min-height: 44px; } }
