/* ================================================
   W0lf Broadcast — Admin Panel CSS
   ================================================ */

:root {
  --primary:      #2563eb;
  --primary-h:    #1d4ed8;
  --primary-light:#eff6ff;
  --success:      #16a34a;
  --danger:       #dc2626;
  --warning:      #d97706;
  --info:         #0891b2;
  --blocked:      #6b7280;
  --retry:        #7c3aed;

  --bg:           #f1f5f9;
  --surface:      #ffffff;
  --border:       #e2e8f0;
  --text:         #1e293b;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;

  --sidebar-bg:   #1e2d40;
  --sidebar-text: #94a3b8;
  --sidebar-active-bg: #2563eb;
  --sidebar-hover-bg:  rgba(255,255,255,.07);
  --sidebar-w:    230px;

  --radius:  7px;
  --shadow:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─────────────────────────────────── */
.app-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* ─── Sidebar ────────────────────────────────── */
.sidebar {
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-logo {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff;
  flex-shrink: 0;
  letter-spacing: -.5px;
}
.brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.brand-ver {
  font-size: 10px;
  color: var(--sidebar-text);
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--sidebar-text);
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s, color .15s;
  font-size: 13.5px;
}
.nav-item:hover  { background: var(--sidebar-hover-bg); color: #fff; }
.nav-item.active {
  background: var(--sidebar-active-bg);
  color: #fff;
  font-weight: 600;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  flex-shrink: 0;
}
.nav-item.active .nav-dot { opacity: 1; background: #fff; }

.sidebar-section {
  padding: 16px 10px 6px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(148,163,184,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sidebar-footer {
  padding: 14px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ─── Main Content ───────────────────────────── */
.main-content {
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}
.page-header h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}
.page-desc { color: var(--text-muted); font-size: 13px; margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ─── Cards ──────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
}
.card-header h3 { font-size: 13.5px; font-weight: 600; color: var(--text); }
.card-body { padding: 16px; }

/* ─── Stats Grid ─────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
}
.stat-success::before { background: var(--success); }
.stat-danger::before  { background: var(--danger); }
.stat-warning::before { background: var(--warning); }
.stat-blocked::before { background: var(--blocked); }

.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.stat-success .stat-value { color: var(--success); }
.stat-danger  .stat-value { color: var(--danger); }
.stat-warning .stat-value { color: var(--warning); }
.stat-blocked .stat-value { color: var(--blocked); }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, opacity .15s;
  white-space: nowrap;
  line-height: 1;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary   { background: var(--primary);  color: #fff; }
.btn-primary:hover   { background: var(--primary-h); }
.btn-success   { background: var(--success);  color: #fff; }
.btn-success:hover   { opacity: .88; }
.btn-danger    { background: var(--danger);   color: #fff; }
.btn-danger:hover    { opacity: .88; }
.btn-secondary { background: #f1f5f9; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: #e2e8f0; }
.btn-sm   { padding: 5px 11px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }
.btn-logout {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--sidebar-text);
  text-align: left;
  transition: background .15s, color .15s;
}
.btn-logout:hover { background: rgba(220,38,38,.15); color: #f87171; border-color: rgba(220,38,38,.3); }

/* ─── Forms ──────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 500; color: #374151; }
.form-row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.form-control {
  padding: 8px 11px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  width: 100%;
  outline: none;
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
select.form-control { cursor: pointer; }
.form-control-sm {
  padding: 5px 8px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  outline: none;
  background: #fff;
}
.form-control-inline {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 12px;
  width: 180px;
  outline: none;
}
.form-hint { font-size: 12px; color: var(--text-muted); }
textarea.form-control { resize: vertical; font-family: 'Consolas', monospace; font-size: 12.5px; }

/* ─── Tables ─────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: #f8fafc; }

/* ─── Badges ─────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.badge-success  { background: #dcfce7; color: #15803d; }
.badge-danger   { background: #fee2e2; color: #b91c1c; }
.badge-warning  { background: #fef9c3; color: #92400e; }
.badge-info     { background: #e0f2fe; color: #075985; }
.badge-blocked  { background: #f3f4f6; color: #4b5563; }
.badge-retry    { background: #ede9fe; color: #6d28d9; }
.badge-primary  { background: #eff6ff; color: #1d4ed8; }
.badge-online   { background: #dcfce7; color: #15803d; }
.badge-offline  { background: #fee2e2; color: #b91c1c; }

/* ─── Status Badge (bot) ─────────────────────── */
.bot-status-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  background: var(--surface);
  font-weight: 500;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blocked);
  transition: background .3s;
  flex-shrink: 0;
}
.status-dot.online   { background: var(--success); box-shadow: 0 0 0 2px #dcfce7; }
.status-dot.offline  { background: var(--danger); }
.status-dot.connecting { background: var(--warning); animation: blink .9s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ─── Log Panel ──────────────────────────────── */
.log-panel {
  background: #0f172a;
  color: #e2e8f0;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12.5px;
  padding: 12px 14px;
  height: 400px;
  overflow-y: auto;
  border-radius: 0 0 var(--radius) var(--radius);
  line-height: 1.6;
}
.log-panel.mini { height: 200px; }
.log-empty { color: #475569; padding: 24px; text-align: center; font-style: italic; }

.log-entry {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.log-entry:last-child { border-bottom: none; }
.log-ts    { color: #475569; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
.log-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.log-badge.success    { background: #14532d; color: #4ade80; }
.log-badge.failed     { background: #7f1d1d; color: #f87171; }
.log-badge.flood_wait { background: #78350f; color: #fbbf24; }
.log-badge.blocked    { background: #1f2937; color: #9ca3af; border: 1px solid #374151; }
.log-badge.retry      { background: #3b0764; color: #c4b5fd; }
.log-badge.info       { background: #0c4a6e; color: #7dd3fc; }
.log-group { color: #64748b; font-size: 11px; flex-shrink: 0; max-width: 160px;
             overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-msg   { color: #cbd5e1; flex: 1; word-break: break-word; }

/* ─── Status text in table ───────────────────── */
.status-text.sukses   { color: var(--success); font-weight: 600; }
.status-text.gagal    { color: var(--danger);  font-weight: 600; }
.status-text.blocked  { color: var(--blocked); }
.status-text.flood    { color: var(--warning); font-weight: 600; }
.status-text.sending  { color: var(--primary); font-weight: 600; }
.status-text.waiting  { color: var(--text-muted); }

/* ─── Filter Bar ─────────────────────────────── */
.filter-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filter-bar label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.filter-btn {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  background: var(--surface);
  color: var(--text-muted);
  transition: all .15s;
}
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-btn:hover:not(.active) { background: #f8fafc; color: var(--text); }

/* ─── Wizard Steps ───────────────────────────── */
.wizard-steps { display: flex; margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.wizard-step {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: #f8fafc;
  font-size: 13px;
  color: var(--text-muted);
  flex: 1; justify-content: center;
  border-right: 1px solid var(--border);
}
.wizard-step:last-child { border-right: none; }
.wizard-step.active { background: var(--primary); color: #fff; font-weight: 600; }
.step-num {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.1); font-weight: 700; font-size: 12px;
}
.wizard-step.active .step-num { background: rgba(255,255,255,.25); }
.wizard-panel .form-group { max-width: 400px; }

/* ─── Alerts ─────────────────────────────────── */
.alert {
  padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-top: 8px;
}
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-warning { background: #fef9c3; color: #92400e; border: 1px solid #fde68a; }

/* ─── Misc ───────────────────────────────────── */
.hidden        { display: none !important; }
.text-center   { text-align: center; }
.text-muted    { color: var(--text-muted); }
.text-sm       { font-size: 12px; }
.text-success  { color: var(--success); }
.text-danger   { color: var(--danger); }
.info-box {
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: 6px; padding: 13px 16px; font-size: 13px; line-height: 1.7;
}
.info-list { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.info-list li { font-size: 13px; }
.info-list a  { color: var(--primary); }
code {
  background: #f1f5f9; padding: 2px 6px;
  border-radius: 4px; font-size: 12px;
  font-family: 'Consolas', monospace;
}
.table-controls { display: flex; gap: 8px; align-items: center; }

/* ─── Toast ──────────────────────────────────── */
#toastContainer {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 500;
  min-width: 240px; max-width: 360px;
  animation: toastIn .2s ease;
  cursor: pointer;
}
@keyframes toastIn { from { transform: translateX(110%); opacity:0 } to { transform: none; opacity:1 } }
.toast.success { background: var(--success); color: #fff; }
.toast.error   { background: var(--danger);  color: #fff; }
.toast.info    { background: var(--primary); color: #fff; }
.toast.warning { background: var(--warning); color: #fff; }

/* ─── Modal ──────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
}
.modal {
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  width: 420px; max-width: 90vw;
}
.modal-header  { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 15px; font-weight: 600; }
.modal-body    { padding: 16px 20px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.modal-footer  { padding: 14px 20px; border-top: 1px solid var(--border);
                 display: flex; gap: 8px; justify-content: flex-end; }

/* ─── Login Page ─────────────────────────────── */
.login-body {
  background: linear-gradient(145deg, #1e2d40 0%, #1e3a5f 50%, #1d4ed8 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
}
.login-container { width: 100%; max-width: 380px; padding: 20px; }
.login-card {
  background: #fff;
  border-radius: 12px;
  padding: 38px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
}
.login-brand { text-align: center; margin-bottom: 30px; }
.login-logo {
  width: 52px; height: 52px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #fff;
  margin: 0 auto 14px;
  letter-spacing: -1px;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.login-brand h1 { font-size: 20px; font-weight: 700; color: var(--text); }
.login-brand p  { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.login-footer   { text-align: center; margin-top: 22px; font-size: 12px; color: var(--text-light); }

.login-error {
  background: #fee2e2; color: #991b1b;
  border: 1px solid #fecaca; border-radius: 6px;
  padding: 10px 13px; font-size: 13px;
  margin-bottom: 16px; display: none;
}
.btn-login {
  width: 100%; padding: 11px;
  background: var(--primary);
  color: #fff; border: none; border-radius: 7px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  margin-top: 10px; letter-spacing: .01em;
  transition: background .15s, transform .1s;
}
.btn-login:hover   { background: var(--primary-h); }
.btn-login:active  { transform: scale(.99); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; }

/* ─── Telegram Group Checklist (Add Group Panel) ── */
.tg-group-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.tg-group-row:last-child { border-bottom: none; }
.tg-group-row:hover      { background: var(--primary-light); }
.tg-group-row.checked    { background: #eff6ff; }
.tg-group-row input[type="checkbox"] {
  width: 16px; height: 16px; cursor: pointer; flex-shrink: 0;
  accent-color: var(--primary);
}
.tg-group-name { flex: 1; font-size: 13.5px; color: var(--text); }

/* ─── Message Preview Cards ──────────────────── */
.msg-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 10px 10px 0;
  padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s;
}
.msg-card:hover { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.msg-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.msg-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.msg-num  { font-size: 12px; color: var(--text-muted); min-width: 20px; }
.msg-id   { font-size: 12px; background: #f1f5f9; padding: 2px 6px; border-radius: 4px; }
.msg-date { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.msg-card-body  { font-size: 13.5px; line-height: 1.65; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.msg-preview    { max-height: 200px; overflow: hidden; }
.btn-text-expand {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-weight: 500;
}
.btn-text-expand:hover { text-decoration: underline; }
.msg-card-actions { margin-top: 12px; }

/* ─── Bot Management Cards ───────────────────── */
.bot-card .card-body { padding: 16px 20px; }
.bot-avatar {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.btn-xs {
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 4px;
  font-weight: 500;
}

/* ─── Message Card — Assigned Groups ─────────── */
.msg-assigned-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 6px 0 4px;
  border-top: 1px solid var(--border);
}
.assigned-label { font-size: 12px; color: var(--text-muted); }
.badge-assigned {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 11.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid #bfdbfe;
}

/* ─── Message Card — Assign Panel ────────────── */
.msg-assign-panel {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}
.msg-assign-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  flex-wrap: wrap;
}
.msg-assign-header > div { display: flex; gap: 6px; }
.msg-assign-search {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  font-size: 13px;
  background: #fff;
  outline: none;
}
.msg-assign-search:focus { background: #f0f9ff; }
.msg-assign-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 0;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid #f1f5f9;
  transition: background .1s;
}
.check-row:last-child { border-bottom: none; }
.check-row:hover { background: #eff6ff; }
.check-row input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.check-label { flex: 1; }
.assign-other-msg {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}
.msg-assign-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
  font-size: 12px;
}

/* ─── Misc improvements ──────────────────────── */
.card-header h3 { font-size: 14.5px; font-weight: 600; }
.page-header h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.stat-value     { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.nav-item       { font-size: 13.5px; font-weight: 500; transition: background .15s, color .15s; }
.btn            { font-weight: 500; transition: opacity .15s, transform .08s, background .15s; }
.btn:active     { transform: scale(.98); }
