.tool-usage-metrics{margin:0 0 18px}
.tool-usage-filters,.tool-usage-pager{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.tool-usage-filters label,.tool-usage-pager label{display:flex;flex-direction:column;gap:5px;color:var(--bc-muted,#64748b);font-size:12px}
.tool-usage-filters select,.tool-usage-pager select,.tool-usage-pager input{min-height:36px;border:1px solid var(--bc-border,#dfe5e1);border-radius:8px;background:var(--bc-surface,#fff);color:var(--bc-text,#17241e);font:inherit;padding:0 10px}
.tool-usage-filters select{min-width:165px}.tool-usage-filters #toolUsageCount{margin-left:auto;color:var(--bc-muted,#64748b);font-size:13px}
.tool-usage-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--bc-border,#dfe5e1);border-radius:10px;background:var(--bc-surface,#fff)}
.tool-usage-table{width:100%;min-width:1200px;border-collapse:collapse;table-layout:fixed}
.tool-usage-table th,.tool-usage-table td{padding:11px 12px;border-bottom:1px solid var(--bc-border,#e7ece8);text-align:left;vertical-align:top;font-size:13px}
.tool-usage-table tr:last-child td{border-bottom:0}.tool-usage-table th{color:var(--bc-muted,#64748b);font-size:12px;font-weight:600;background:var(--bc-canvas,#f8faf9)}
.tool-usage-table th:nth-child(1){width:15%}.tool-usage-table th:nth-child(2){width:9%}.tool-usage-table th:nth-child(3){width:13%}.tool-usage-table th:nth-child(4),.tool-usage-table th:nth-child(5),.tool-usage-table th:nth-child(6){width:6%}.tool-usage-table th:nth-child(7){width:12%}.tool-usage-table th:nth-child(8){width:14%}.tool-usage-table th:nth-child(9){width:19%}
.tool-usage-table .numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.tool-usage-table td time,.tool-usage-table td strong{white-space:nowrap}.tool-usage-table td small{display:block;margin-top:4px;color:var(--bc-muted,#64748b)}
.tool-usage-state{display:inline-flex;border-radius:5px;padding:3px 7px;background:#eef3ef;color:#415a49;font-size:12px;white-space:nowrap}.tool-usage-state.failed,.tool-usage-state.partial,.tool-usage-state.needs_review{background:#fff0eb;color:#a04d32}.tool-usage-state.done{background:#e8f4eb;color:#25613c}
.tool-usage-errors{color:#9b3831;overflow-wrap:anywhere}.tool-usage-errors summary{cursor:pointer;font-weight:600}.tool-usage-errors summary:focus-visible{outline:2px solid #376b53;outline-offset:2px}.tool-usage-errors ol{margin:8px 0 0;padding-left:20px}.tool-usage-errors li+li{margin-top:6px}
.tool-usage-pager{margin:14px 0 0;align-items:center}.tool-usage-pager label{flex-direction:row;align-items:center}.tool-usage-pager input{width:66px}.tool-usage-pager #toolUsagePageLabel{margin-left:auto;font-size:13px;color:var(--bc-muted,#64748b);font-variant-numeric:tabular-nums}
.tool-audit-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 0}
.tool-audit-preview{margin:0;min-width:0;text-align:center}.tool-audit-preview figcaption{margin-bottom:10px;font-weight:600}
.tool-audit-player{position:relative;width:min(100%,292px);aspect-ratio:9/16;margin:auto;background:#000;border-radius:6px;overflow:hidden}
.tool-audit-player video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.tool-audit-media-status{min-height:20px;margin:8px 0 0;color:var(--bc-muted,#64748b);font-size:12px}
@media(max-width:760px){.tool-usage-filters{align-items:stretch}.tool-usage-filters label{flex:1 1 100%}.tool-usage-filters select{width:100%}.tool-usage-filters #toolUsageCount{margin-left:0}.tool-usage-pager #toolUsagePageLabel{width:100%;margin-left:0}}
