.report-actions,.report-pagination{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.report-pagination{justify-content:center;margin:20px 0}
#reports button:disabled{opacity:.5;cursor:not-allowed}
.history-report-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #e4eaf3;padding:18px 0}
.history-report-summary p{margin:8px 0;color:#6b7b91}
.history-report-detail{border:1px solid #e4eaf3;border-radius:12px;background:#fbfcff;padding:20px;margin-top:20px}
.history-report-detail[hidden]{display:none}
.history-report-detail h3{margin-top:0}
.history-report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}
.history-report-metrics div{background:#eff5fc;padding:14px;border-radius:9px}
.history-report-metrics b{display:block;font-size:22px;margin-top:6px}
.history-report-table{overflow-x:auto}
.history-report-table table{width:100%;border-collapse:collapse}
.history-report-table th,.history-report-table td{padding:12px;text-align:left;border-bottom:1px solid #e4eaf3;vertical-align:top;overflow-wrap:anywhere}
.history-report-candidate{border-left:4px solid #f4a12e;background:#fff7eb;padding:16px;margin:12px 0;overflow-wrap:anywhere}
@media(max-width:700px){#reports .panel-head{display:block}.report-actions{margin-top:12px}.history-report-summary{align-items:flex-start;flex-direction:column}.history-report-metrics{grid-template-columns:repeat(2,1fr)}.history-report-detail{padding:12px}}
