/* 관리자 — 쿠팡파트너스 클릭 통계 (2026-10-10) */
.asp { font-size: 13px; max-width: 860px; }
.asp-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 2px 0 12px; }
.asp-rg { display: inline-flex; border: 1px solid var(--border-medium, #cbd5e1); border-radius: 8px; overflow: hidden; }
.asp-rg button { font: inherit; padding: 5px 14px; border: 0; background: var(--bg-surface, #fff); color: inherit; cursor: pointer; }
.asp-rg button + button { border-left: 1px solid var(--border-medium, #cbd5e1); }
.asp-rg button[aria-pressed="true"] { background: var(--accent-cyan, #0284c7); color: #fff; font-weight: 700; }
.asp-csv { font: inherit; padding: 5px 12px; border: 1px solid var(--border-medium, #cbd5e1); border-radius: 8px; background: var(--bg-surface, #fff); color: inherit; cursor: pointer; }
.asp-sum { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.asp-sum > div { flex: 1 1 140px; padding: 10px 14px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 10px; background: var(--bg-surface, #fff); }
.asp-sum b { display: block; font-size: 22px; }
.asp-sum span { color: var(--text-secondary, #475569); font-size: 12px; }
.asp h4 { margin: 14px 0 6px; font-size: 13px; }
.asp-t { width: 100%; border-collapse: collapse; }
.asp-t th, .asp-t td { padding: 5px 8px; border-bottom: 1px solid var(--border-light, #e2e8f0); text-align: left; }
.asp-t th { color: var(--text-secondary, #475569); font-weight: 600; font-size: 12px; }
.asp-t td.r { text-align: right; font-variant-numeric: tabular-nums; width: 70px; }
.asp-t tr.z td { color: var(--text-tertiary, #94a3b8); }
.asp-t small { color: var(--text-secondary, #475569); }
.asp-n { color: var(--text-secondary, #475569); }
.asp-help { margin: 12px 0 0; padding-left: 18px; color: var(--text-secondary, #475569); font-size: 12px; line-height: 1.6; }
.asp h4 small { font-weight: 400; color: var(--text-secondary, #475569); }
.asp-log { max-height: 320px; overflow-y: auto; border-bottom: 1px solid var(--border-light, #e2e8f0); }
.asp-t td.t { width: 170px; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* v3 (2026-10-17) 광고 일괄 켜기·끄기 줄 */
.asp-sw { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px;
  border: 1px solid var(--border-light, #e2e8f0); border-left: 4px solid var(--status-ok, #16a34a); border-radius: 10px; background: var(--bg-surface, #fff); }
.asp-sw.off { border-left-color: var(--status-warn, #d97706); }
.asp-sw-t { flex: 1 1 320px; min-width: 0; }
.asp-sw-t b { display: block; font-size: 14px; margin-bottom: 2px; }
.asp-sw-t span { display: block; color: var(--text-secondary, #475569); font-size: 12px; line-height: 1.5; }
.asp-sw-t .asp-sw-e { color: var(--status-danger, #dc2626); }
.asp-swb { font: inherit; font-weight: 700; padding: 7px 16px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent-cyan, #0284c7); color: #fff; width: auto; margin: 0; }
.asp-swb.hide { background: var(--status-warn, #d97706); }
.asp-swb[disabled] { opacity: .6; cursor: default; }
