/* Progressive disclosure for Arena tables: top 10 by default, expand on demand. */
.arena-progressive-control{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  padding:14px 16px 16px !important;
  border-top:1px solid #eef1f5 !important;
  background:linear-gradient(180deg,#fff,#fbfcfe) !important;
  direction:rtl !important;
}
.arena-progressive-control[hidden]{display:none !important}
.arena-progressive-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  min-height:38px !important;
  padding:0 16px !important;
  border:1px solid #d9e2f0 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#36506f !important;
  box-shadow:0 2px 8px rgba(16,24,40,.035) !important;
  cursor:pointer !important;
  font:750 11px/1 Vazirmatn,Tahoma,sans-serif !important;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease !important;
}
.arena-progressive-button:hover{
  border-color:#9dbaf6 !important;
  background:#f7faff !important;
  box-shadow:0 5px 14px rgba(37,99,235,.08) !important;
  transform:translateY(-1px) !important;
}
.arena-progressive-button:focus-visible{
  outline:2px solid #93b4f5 !important;
  outline-offset:2px !important;
}
.arena-progressive-button i{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:20px !important;
  height:20px !important;
  border-radius:6px !important;
  background:#eef4ff !important;
  color:#2563eb !important;
  font:850 11px/1 Arial,sans-serif !important;
  font-style:normal !important;
}
.arena-dashboard .arena-table tbody tr[hidden],
.arena-agent-table tbody tr[hidden],
.arena-text-table tbody tr[hidden]{display:none !important}

/* Per-section source/timestamp lines are intentionally hidden for a cleaner Arena UX. */
.arena-citation,
.arena-agent-citation,
.arena-text-citation{display:none !important}

/* Artificial Analysis /models is website-scraped, not the legacy API schema.
   Do not show misleading empty metric cards when the current public page does
   not publish a standalone metric (e.g. legacy Coding/Math/Multilingual indexes). */
body:has(.provider-toggle[data-source="artificial-analysis"].active)
#provider-dashboard .pd-section:has(.pd-error){display:none !important}

/* Hide the Artificial Analysis source / generated-at footer in the UI while
   keeping source metadata available in the dashboard API response. */
body:has(.provider-toggle[data-source="artificial-analysis"].active)
#provider-dashboard .pd-citation{display:none !important}

@media(max-width:620px){
  .arena-progressive-control{padding:12px 12px 14px !important}
  .arena-progressive-button{width:100% !important;max-width:320px !important}
}
