.admin-page { background: #f6f7fb; }
.admin-header { display: flex; align-items: center; gap: 22px; min-height: 90px; }
.admin-label { background: var(--lilac); color: #514179; padding: 5px 11px; border-radius: 8px; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.admin-header nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 650; }
.admin-header nav button { border: 0; background: transparent; font: inherit; }
.admin-page main { padding-bottom: 60px; }
.admin-title { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 0 25px; }
.admin-title .eyebrow { margin-bottom: 15px; }
.admin-title h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.04; letter-spacing: -2.5px; margin-bottom: 15px; }
.admin-title p { font-size: 14px; margin: 0; }
.admin-title .button { min-height: 44px; font-size: 12px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-stats article { padding: 24px; border-radius: 22px; background: white; border: 1px solid #e6e8f0; }
.admin-stats article:nth-child(2) { background: var(--lilac); border-color: var(--lilac); }
.admin-stats article:nth-child(3) { background: var(--mint); border-color: var(--mint); }
.admin-stats article:nth-child(4) { background: var(--accent); border-color: var(--accent); color: white; }
.admin-stats article:nth-child(4) small { color: #e9edff; }
.admin-stats article:nth-child(5) { background: var(--pink); border-color: var(--pink); }
.admin-stats article > span { font-weight: 650; font-size: 12px; }
.admin-stats strong { display: block; font-size: 44px; line-height: 1.3; letter-spacing: -1.5px; margin: 12px 0 6px; }
.admin-stats small { color: #555367; font-size: 10px; }
.tracking-note, .admin-hint { color: var(--muted); font-size: 11px; line-height: 1.8; }
.tracking-note { margin: 19px 0 28px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 17px; }
.admin-tabs button { border: 0; padding: 11px 20px; border-radius: 99px; font-size: 13px; font-weight: 650; background: transparent; }
.admin-tabs [aria-pressed="true"] { color: white; background: var(--ink); }
.admin-panel { background: white; padding: 24px; border-radius: 24px; border: 1px solid #e6e8f0; }
.admin-filters { display: flex; align-items: end; gap: 13px; margin-bottom: 24px; }
.admin-filters > div:first-child { flex: 1; }
.admin-filters > div { min-width: 0; }
.admin-filters label { display: block; font-size: 11px; font-weight: 650; margin-bottom: 8px; }
.admin-filters input, .admin-filters select { margin: 0 !important; font-size: 12px; min-height: 44px; }
.admin-filters .button { min-height: 44px; padding: 12px 22px; font-size: 12px; }
.admin-table-wrap { overflow-x: auto; }
.admin-page table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.admin-page th { padding: 14px 12px; background: #f6f7fb; font-size: 10px; color: #696778; font-weight: 650; white-space: nowrap; }
.admin-page td { padding: 19px 12px; border-bottom: 1px solid #eff0f5; vertical-align: top; }
.admin-page td > strong { display: block; font-weight: 650; margin-bottom: 4px; }
.admin-page td > small { display: block; color: var(--muted); font-size: 10px; max-width: 250px; overflow-wrap: anywhere; }
.admin-page td code { font-size: 11px; }
.admin-page td .text-link { font-size: 11px; white-space: nowrap; }
.admin-badge { display: inline-block; white-space: nowrap; border-radius: 99px; padding: 5px 10px; font-size: 10px; font-weight: 650; background: #eeeaf7; color: #594a77; }
.admin-badge.checking, .admin-badge.success { background: #e4f9c8; color: #3b561b; }
.admin-badge.verified { background: var(--accent); color: white; }
.admin-badge.failed { background: #ffe5eb; color: #a12c47; }
.admin-badge.blocked { background: #fff0d4; color: #85600f; }
.browser-cell { max-width: 220px; font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.admin-pagination { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 20px; font-size: 11px; color: var(--muted); }
.admin-pagination > div { display: flex; gap: 8px; }
.admin-pagination button { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: white; font-size: 11px; }
.admin-page button:disabled { cursor: not-allowed; }
.admin-empty { padding: 30px 15px; text-align: center; font-size: 13px; }
.admin-status { font-size: 12px; color: #a12c47; }
.admin-status:empty { display: none; }
.admin-access { max-width: 470px; margin: 70px auto; padding: 32px; border: 1px solid #e6e8f0; border-radius: 26px; background: white; }
.admin-access h1 { font-size: 36px; letter-spacing: -1.5px; line-height: 1.1; }
.admin-access > p { font-size: 13px; }
.admin-access .text-link { font-size: 12px; }
.admin-user-details { margin: 20px 0; font-size: 12px; }
.admin-user-details > div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.admin-user-details dt { color: var(--muted); }
.admin-user-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; max-width: 65%; }
.admin-document { padding: 22px; border-radius: 20px; background: #f1eeff; margin: 25px 0; }
.admin-document h3 { font-size: 22px; margin-bottom: 10px; }
.admin-document p { font-size: 12px; }
.approval-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d9d1ec; }
.approval-confirm { display: flex; align-items: start; gap: 10px; font-size: 12px; line-height: 1.7; margin-bottom: 18px; }
.approval-confirm input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.approval-confirm span { overflow-wrap: anywhere; }
.approval-info { padding: 14px; margin-bottom: 0; border-radius: 12px; background: var(--mint); color: var(--ink); }
.admin-stats article { min-width: 0; }
@media (min-width: 851px) and (max-width: 1100px) { .admin-stats { grid-template-columns: repeat(3, 1fr); } }
.admin-ip-list, .admin-user-activity { list-style: none; padding: 0; margin: 0 0 26px; font-size: 12px; }
.admin-ip-list li, .admin-user-activity li { border-bottom: 1px solid var(--line); padding: 12px 0; overflow-wrap: anywhere; }
.admin-ip-list small, .admin-user-activity small { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }
#admin-user-dialog { max-width: 640px; }
#admin-user-dialog h2 { font-size: 34px; letter-spacing: -1.5px; overflow-wrap: anywhere; }
#admin-user-dialog h3 { font-size: 20px; }
#user-detail-email { overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-filters { flex-wrap: wrap; }
  .admin-filters > div:first-child { flex: 1 0 100%; }
  .admin-filters > div { flex: 1; }
}
@media (max-width: 600px) {
  .admin-header { min-height: 78px; gap: 12px; flex-wrap: wrap; padding-block: 15px; }
  .admin-header .brand { font-size: 24px; }
  .admin-header nav { width: 100%; justify-content: space-between; margin-top: 6px; }
  .admin-title { display: block; padding-top: 35px; }
  .admin-title .button { margin-top: 20px; }
  .admin-stats { gap: 10px; }
  .admin-stats article { padding: 18px; }
  .admin-stats strong { font-size: 35px; }
  .admin-stats article > span { font-size: 10px; }
  .admin-panel { padding: 16px; border-radius: 18px; }
  .admin-filters > div { flex-basis: calc(50% - 10px); }
  .admin-pagination { align-items: start; flex-direction: column; }
  .admin-access { padding: 24px; margin-top: 35px; }
}

.admin-credit { padding: 22px; border-radius: 20px; background: #eaf9ee; margin: 25px 0; }
.admin-credit p, .admin-credit h4 { font-size: 12px; }
.credit-address-fields { border: 0; padding: 18px 0; margin: 0; }
.credit-address-fields legend { font-weight: 700; font-size: 13px; }
.credit-address-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-credit input[readonly] { background: #f2f4f2; color: #555367; }
.admin-credit .approval-confirm { margin-top: 20px; }
.admin-credit #credit-history { margin-bottom: 0; }
.admin-badge.active { background: #c6f9df; color: #165639; }
.admin-badge.expired { background: #fff0d4; color: #85600f; }
@media (max-width: 600px) { .credit-address-row { grid-template-columns: 1fr; gap: 0; } }
