.link-stats-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.link-stats-filters label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; min-width: 140px; }
.link-stats-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 26px; }
.link-stats-summary article { display: grid; gap: 10px; padding: 20px; border: 1px solid rgba(31,42,84,.1); border-radius: 16px; background: #f8f5f0; }
.link-stats-summary span { font-size: 13px; color: var(--muted); }
.link-stats-summary strong { font-size: clamp(20px, 3vw, 32px); overflow-wrap: anywhere; }
.link-stats-table-wrap { overflow-x: auto; margin-bottom: 22px; border: 1px solid rgba(31,42,84,.1); border-radius: 12px; }
.link-stats-daily-wrap { max-height: 480px; overflow-y: auto; }
.link-stats-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.link-stats-table th, .link-stats-table td { text-align: right; padding: 12px 16px; white-space: nowrap; border-bottom: 1px solid rgba(31,42,84,.07); }
.link-stats-table th:first-child, .link-stats-table td:first-child { text-align: left; }
.link-stats-table th { background: #f5f2ed; position: sticky; top: 0; z-index: 1; }
.link-stats-table tr:last-child td { border-bottom: 0; }
.link-stats-table meter { width: 110px; height: 16px; vertical-align: middle; accent-color: #62669b; }
.link-stats-note, #linkStatsStatus { font-size: 13px; color: var(--muted); line-height: 1.6; }
#linkStatsStatus[data-error="true"] { color: #a22d39; }
.admin-link-stats [hidden] { display: none !important; }
@media (max-width: 600px) {
  .link-stats-summary { grid-template-columns: 1fr; gap: 8px; }
  .link-stats-summary article { display: flex; align-items: center; justify-content: space-between; padding: 14px; gap: 12px; }
  .link-stats-filters label { min-width: 0; flex: 1 1 42%; }
  .link-stats-filters button { flex: 1 1 42%; }
  .link-stats-table th, .link-stats-table td { padding: 10px 12px; }
}
