/* ===================== TOKENS ===================== */
:root {
  --accent: #00a884;
  --accent-600: #008f6f;
  --accent-700: #017a5f;
  --accent-glow: rgba(0, 168, 132, 0.28);

  --bg: #eceff1;
  --bg-2: #e2e8eb;
  --surface: #ffffff;
  --surface-2: #f4f7f8;
  --border: #d6dde1;
  --border-soft: #e5eaed;
  --text: #0b141a;
  --text-2: #4a5a63;
  --text-3: #7c8a93;
  --shadow: 0 1px 2px rgba(11,20,26,.06), 0 8px 24px rgba(11,20,26,.08);
  --shadow-lg: 0 12px 40px rgba(11,20,26,.16);
  --radius: 16px;
  --radius-sm: 10px;
  --ok: #1fa855;
  --bad: #e5484d;
  --skip: #d98c1f;
  --side-w: 248px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", "Noto Sans Arabic", "Segoe UI Arabic", Roboto, Arial, sans-serif;
}
:root[data-theme="dark"], :root.dark {
  --bg: #0b141a;
  --bg-2: #0a1116;
  --surface: #202c33;
  --surface-2: #1a252c;
  --border: #2a3942;
  --border-soft: #26333b;
  --text: #e9edef;
  --text-2: #aab8bf;
  --text-3: #8696a0;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 16px 50px rgba(0,0,0,.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b141a; --bg-2: #0a1116; --surface: #202c33; --surface-2: #1a252c;
    --border: #2a3942; --border-soft: #26333b; --text: #e9edef; --text-2: #aab8bf; --text-3: #8696a0;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
    --shadow-lg: 0 16px 50px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--bg); font-size: 14.5px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow: hidden;
}
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
code { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 5px; padding: 1px 5px; font-size: .85em; color: var(--accent); }
.muted { color: var(--text-2); }
.small { font-size: 12.5px; }
.center { text-align: center; }

/* ===================== BOOT ===================== */
.boot { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--bg); transition: opacity .35s ease; }
.boot.gone { opacity: 0; pointer-events: none; }
.boot-mark { animation: pop .5s cubic-bezier(.2,.9,.3,1.2); }
.boot-spin { width: 30px; height: 30px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ===================== TOASTS ===================== */
.toasts { position: fixed; top: 18px; right: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
[dir="rtl"] .toasts { right: auto; left: 18px; }
.toast { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; animation: toastIn .3s cubic-bezier(.2,.9,.3,1.1); }
.toast.err { border-left-color: var(--bad); }
.toast.ok { border-left-color: var(--ok); }
.toast .t-ico { flex: 0 0 auto; margin-top: 1px; }
@keyframes toastIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }
[dir="rtl"] @keyframes toastIn { from { transform: translateX(-20px); } }

/* ===================== BUTTONS ===================== */
.primary-btn, .secondary-btn, .danger-btn {
  border-radius: var(--radius-sm); padding: 11px 18px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s; white-space: nowrap;
}
.primary-btn { background: var(--accent); color: #fff; box-shadow: 0 2px 8px var(--accent-glow); }
.primary-btn:hover:not(:disabled) { background: var(--accent-600); transform: translateY(-1px); box-shadow: 0 6px 18px var(--accent-glow); }
.primary-btn:active:not(:disabled) { transform: translateY(0); }
.secondary-btn { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.secondary-btn:hover:not(:disabled) { background: var(--bg-2); border-color: var(--text-3); }
.danger-btn { background: transparent; color: var(--bad); border-color: var(--bad); }
.danger-btn:hover:not(:disabled) { background: var(--bad); color: #fff; }
.primary-btn:disabled, .secondary-btn:disabled, .danger-btn:disabled { opacity: .45; cursor: not-allowed; }
.ghost-btn { background: transparent; border: 1px solid var(--border); color: var(--text-2); border-radius: 9px; padding: 7px 12px; font-weight: 600; font-size: 13px; transition: .15s; }
.ghost-btn:hover { color: var(--text); border-color: var(--text-3); }
.mini-btn { background: transparent; border: 1px solid var(--border); color: var(--text-2); border-radius: 8px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; transition: .15s; }
.mini-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--text-2); transition: .15s; font-weight: 700; font-size: 12px; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-ico { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(120deg, var(--accent) 50%, transparent 50%); border: 2px solid currentColor; display: inline-block; }

/* ===================== AUTH ===================== */
.auth { position: fixed; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; z-index: 40; }
.auth-art { position: relative; overflow: hidden; background: linear-gradient(150deg, #017a5f, #00a884 60%, #06c39c); color: #fff; display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.1), transparent 40%); }
.auth-art::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); bottom: -220px; right: -160px; }
.auth-art-inner { position: relative; max-width: 420px; }
.auth-logo { filter: drop-shadow(0 8px 22px rgba(0,0,0,.25)); }
.auth-brand { font-size: 34px; margin: 18px 0 8px; font-weight: 800; letter-spacing: -.5px; }
.auth-tag { font-size: 16px; opacity: .92; line-height: 1.55; margin: 0 0 26px; }
.auth-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; opacity: .95; }
.auth-points .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); flex: 0 0 auto; }
.auth-form-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; background: var(--bg); position: relative; }
.auth-topbar { position: absolute; top: 20px; right: 24px; display: flex; gap: 8px; }
[dir="rtl"] .auth-topbar { right: auto; left: 24px; }
.auth-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 30px; }
.seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.seg-btn { flex: 1; border: none; background: transparent; padding: 9px; border-radius: 9px; font-weight: 600; color: var(--text-2); font-size: 13.5px; transition: .18s; }
.seg-btn.active { background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
:root[data-theme="dark"] .seg-btn.active, :root.dark .seg-btn.active { background: var(--accent); color: #fff; }
.auth-fields { display: flex; flex-direction: column; gap: 8px; }
.auth-fields label { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-top: 8px; }
.auth-fields input { padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); color: var(--text); font-size: 14.5px; transition: .15s; }
.auth-fields input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--surface); }
.auth-fields .primary-btn { margin-top: 18px; padding: 13px; }
.hint { font-size: 12px; color: var(--text-3); margin: 12px 0 0; text-align: center; }
.auth-foot { margin-top: 20px; color: var(--text-3); font-size: 12px; }

/* ===================== PENDING ===================== */
.pending { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: var(--bg); padding: 20px; }
.pending-card { max-width: 420px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 40px 32px; }
.pending-ico { width: 76px; height: 76px; border-radius: 50%; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }
.pending-card h2 { margin: 0 0 10px; }
.pending-card p { color: var(--text-2); margin: 0 0 22px; }

/* ===================== APP LAYOUT ===================== */
.app { display: grid; grid-template-columns: var(--side-w) 1fr; height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 18px 14px; z-index: 20; }
[dir="rtl"] .sidebar { border-right: none; border-left: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 20px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.4px; }
.nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; border: none; background: transparent; color: var(--text-2); font-weight: 600; font-size: 14px; text-align: left; transition: .15s; position: relative; }
[dir="rtl"] .nav-item { text-align: right; }
.nav-item svg { width: 20px; height: 20px; flex: 0 0 auto; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active { background: var(--accent); color: #fff; box-shadow: 0 4px 14px var(--accent-glow); }
.side-foot { padding-top: 12px; border-top: 1px solid var(--border-soft); }

.wa-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--text-2); width: 100%; justify-content: center; }
.wa-pill.sm { width: auto; padding: 6px 11px; }
.wa-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); transition: .3s; flex: 0 0 auto; }
.wa-pill[data-s="connected"] { color: var(--ok); border-color: var(--ok); }
.wa-pill[data-s="connected"] .wa-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(31,168,85,.18); }
.wa-pill[data-s="linked"] { color: var(--ok); }
.wa-pill[data-s="linked"] .wa-dot { background: var(--ok); }
.wa-pill[data-s="connecting"], .wa-pill[data-s="scan"] { color: var(--skip); border-color: var(--skip); }
.wa-pill[data-s="connecting"] .wa-dot, .wa-pill[data-s="scan"] .wa-dot { background: var(--skip); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.main { display: flex; flex-direction: column; min-width: 0; height: 100vh; }
.topbar { height: 66px; flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 0 22px; border-bottom: 1px solid var(--border); background: var(--surface); z-index: 10; }
.menu-btn { display: none; }
.view-title { font-size: 18px; font-weight: 700; flex: 1; margin: 0; }
.top-right { display: flex; align-items: center; gap: 8px; }
.usage-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.usage-chip svg { width: 15px; height: 15px; color: var(--accent); }

.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 10px; background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 5px 8px 5px 5px; transition: .15s; color: var(--text); }
.acct-btn:hover { background: var(--surface-2); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-700)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: 0 0 auto; text-transform: uppercase; }
.acct-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
[dir="rtl"] .acct-meta { align-items: flex-end; }
.acct-email { font-size: 13px; font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-plan { font-size: 11.5px; color: var(--text-3); }
.chev { width: 16px; height: 16px; color: var(--text-3); }
.acct-drop { position: absolute; top: 52px; right: 0; width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 30; animation: dropIn .16s ease; }
[dir="rtl"] .acct-drop { right: auto; left: 0; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.drop-head { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); margin-bottom: 6px; }
.drop-email { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; }
.drop-plan { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.drop-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: none; background: transparent; border-radius: 9px; color: var(--text); font-size: 13.5px; font-weight: 500; transition: .13s; }
.drop-item:hover { background: var(--surface-2); color: var(--bad); }
.drop-item svg { width: 17px; height: 17px; }

.scroll { flex: 1; overflow-y: auto; padding: 24px; }
.view { display: none; animation: viewIn .28s ease; }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===================== CARDS / GRID ===================== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.card-head h3 { margin: 0; font-size: 15.5px; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-2 > .card { margin-bottom: 0; }
.grid-compose { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.grid-compose > .card { margin-bottom: 0; }

.count-badge { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 11px; font-size: 12.5px; font-weight: 700; }

/* ===================== CONNECT ===================== */
.connect-card { min-height: 420px; }
.connect-body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 10px; min-height: 340px; }
.connect-illus { width: 92px; height: 92px; border-radius: 24px; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); margin-bottom: 20px; }
.connect-illus svg { width: 46px; height: 46px; }
.connect-body h4 { margin: 0 0 8px; font-size: 18px; }
.connect-body p { color: var(--text-2); margin: 0 0 22px; max-width: 340px; }
.qr-frame { padding: 14px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.qr-frame img { width: 240px; height: 240px; display: block; image-rendering: pixelated; border-radius: 6px; }
.qr-caption { margin-top: 16px; font-size: 13.5px; color: var(--text-2); }
.qr-caption b { color: var(--text); }
.success-badge { width: 96px; height: 96px; border-radius: 50%; background: rgba(31,168,85,.14); color: var(--ok); display: grid; place-items: center; margin-bottom: 18px; animation: pop .45s cubic-bezier(.2,.9,.3,1.3); }
.success-badge svg { width: 50px; height: 50px; }
.spin-inline { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin-bottom: 20px; }

.log-card { min-height: 420px; display: flex; flex-direction: column; }
.log { flex: 1; overflow-y: auto; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px; font-family: "Cascadia Code", "Consolas", monospace; font-size: 12px; line-height: 1.7; color: var(--text-2); min-height: 320px; }
.log .l-row { display: flex; gap: 8px; padding: 1px 0; }
.log .l-time { color: var(--text-3); flex: 0 0 auto; }
.log .l-empty { color: var(--text-3); text-align: center; padding: 40px 0; }

/* ===================== CONTACTS ===================== */
.drop { border: 2px dashed var(--border); border-radius: 14px; padding: 34px 20px; text-align: center; color: var(--text-2); transition: .2s; cursor: pointer; margin-bottom: 12px; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-glow); color: var(--text); }
.drop svg { color: var(--accent); margin-bottom: 8px; }
.drop-title { font-weight: 700; margin: 4px 0 4px; color: var(--text); }
.drop-sub { font-size: 12.5px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--accent); cursor: pointer; transition: .14s; }
.chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-1px); }
.chip.static { cursor: default; color: var(--text-2); }
.chip.static:hover { background: var(--surface-2); color: var(--text-2); transform: none; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: 12px; margin-top: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; padding: 11px 14px; background: var(--surface-2); color: var(--text-2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid var(--border-soft); white-space: nowrap; }
[dir="rtl"] .tbl th { text-align: right; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: .12s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl td.msg { color: var(--text-2); max-width: 380px; }

.inline-form { display: flex; gap: 8px; margin: 12px 0; }
.inline-form input { flex: 1; padding: 10px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); color: var(--text); }
.inline-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.optout-list { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
.optout-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 13px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 10px; font-size: 13.5px; font-weight: 500; }
.optout-row .num { font-variant-numeric: tabular-nums; }

/* ===================== COMPOSE ===================== */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field input[type="text"], textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px;
  background: var(--surface-2); color: var(--text); font-size: 14.5px; resize: vertical; transition: .15s;
}
.field input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--surface); }
textarea { line-height: 1.6; min-height: 120px; }
.seg.small { display: inline-flex; }
.seg.small .seg-btn { padding: 8px 16px; }
.compose-actions { display: flex; gap: 10px; margin-top: 8px; }
.preview-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.preview-item { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; padding: 11px 14px; }
.preview-item .p-phone { font-size: 12px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.preview-item .p-msg { font-size: 13.5px; color: var(--text); margin-top: 3px; white-space: pre-wrap; }

/* ===================== SEND HERO ===================== */
.send-hero { position: sticky; top: 0; }
.chip-status { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.chip-status[data-s="running"] { color: var(--accent); border-color: var(--accent); }
.chip-status[data-s="paused"] { color: var(--skip); border-color: var(--skip); }
.chip-status[data-s="done"] { color: var(--ok); border-color: var(--ok); }
.chip-status[data-s="error"], .chip-status[data-s="stopped"] { color: var(--bad); border-color: var(--bad); }
.not-connected { display: flex; align-items: center; gap: 9px; background: rgba(217,140,31,.12); border: 1px solid rgba(217,140,31,.35); color: var(--skip); border-radius: 10px; padding: 10px 13px; font-size: 12.5px; font-weight: 600; margin-bottom: 16px; }

.gauge { position: relative; width: 200px; height: 200px; margin: 8px auto 20px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .5s cubic-bezier(.4,0,.2,1); filter: drop-shadow(0 0 6px var(--accent-glow)); }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-pct { font-size: 42px; font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.gauge-sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.counter { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px 8px; text-align: center; }
.counter .c-num { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.counter .c-lbl { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.counter.ok .c-num { color: var(--ok); }
.counter.bad .c-num { color: var(--bad); }
.counter.skip .c-num { color: var(--skip); }
.send-controls { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }

/* ===================== BADGES ===================== */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.running, .badge.sending { color: var(--accent); background: var(--accent-glow); }
.badge.done, .badge.finished, .badge.completed { color: var(--ok); background: rgba(31,168,85,.14); }
.badge.paused { color: var(--skip); background: rgba(217,140,31,.14); }
.badge.failed, .badge.error, .badge.stopped { color: var(--bad); background: rgba(229,72,77,.14); }
.badge.draft, .badge.created, .badge.pending, .badge.idle { color: var(--text-2); background: var(--surface-2); }
.badge.scheduled { color: var(--skip); background: rgba(217,140,31,.14); }
.link-btn { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.link-btn:hover { text-decoration: underline; }
.link-btn svg { width: 15px; height: 15px; }

.empty { text-align: center; color: var(--text-3); padding: 40px 20px; font-size: 14px; }

/* ===================== ANALYTICS ===================== */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.tile-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.tile-ico svg { width: 22px; height: 22px; }
.tile-ico.ok { background: rgba(31,168,85,.14); color: var(--ok); }
.tile-ico.bad { background: rgba(229,72,77,.14); color: var(--bad); }
.tile-ico.skip { background: rgba(217,140,31,.14); color: var(--skip); }
.tile-ico.accent { background: var(--accent-glow); color: var(--accent); }
.tile-num { font-size: 30px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.tile-lbl { font-size: 12.5px; color: var(--text-3); font-weight: 600; margin-top: 2px; }
.meter { height: 12px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--border-soft); margin-bottom: 8px; }
.meter-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #06c39c); border-radius: 999px; transition: width .6s cubic-bezier(.4,0,.2,1); }
.meter-fill.warn { background: linear-gradient(90deg, var(--skip), #eab04a); }
.meter-fill.full { background: linear-gradient(90deg, var(--bad), #f0696d); }

/* ===================== ADMIN ===================== */
.plan-select { padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text); font-size: 13px; }
.plan-select:focus { outline: none; border-color: var(--accent); }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: .2s; cursor: pointer; }
.slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.role-tag { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); }
.role-tag.admin { color: var(--accent); background: var(--accent-glow); }

.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 15; }

/* ===================== ROW ACTIONS ===================== */
.row-actions { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.retry-btn { display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 1px solid var(--skip); color: var(--skip); border-radius: 8px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; transition: .14s; }
.retry-btn:hover { background: var(--skip); color: #fff; }
.retry-btn svg { width: 14px; height: 14px; }
.tbl tbody tr.clickable { cursor: pointer; }

/* ===================== CAMPAIGN DETAIL MODAL ===================== */
.modal-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { width: 100%; max-width: 760px; max-height: 86vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); animation: dropIn .22s cubic-bezier(.2,.9,.3,1.05); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-soft); }
.modal-title-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.modal-title-wrap h3 { margin: 0; font-size: 16.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border-soft); background: var(--surface-2); flex-wrap: wrap; }
.mini-counters { display: flex; gap: 16px; font-size: 13px; }
.mini-counters .mc { color: var(--text-2); font-weight: 500; }
.mini-counters .mc b { font-variant-numeric: tabular-nums; margin-right: 3px; }
[dir="rtl"] .mini-counters .mc b { margin-right: 0; margin-left: 3px; }
.mini-counters .mc.ok b { color: var(--ok); }
.mini-counters .mc.bad b { color: var(--bad); }
.mini-counters .mc.skip b { color: var(--skip); }
.modal-body { padding: 16px 20px 20px; overflow-y: auto; }
.modal-body .table-wrap { margin-top: 0; }
.badge.sent { color: var(--accent); background: var(--accent-glow); }
.badge.skipped { color: var(--text-2); background: var(--surface-2); }
.modal-body .badge.pending { opacity: .55; }
.tbl td.reason { color: var(--text-2); max-width: 220px; }

/* delivery-receipt badge variants */
.badge.delivered { color: #06c39c; background: rgba(6,195,156,.16); }
.badge.read { color: #3a97f6; background: rgba(58,151,246,.16); }
.mini-counters .mc.recv { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); }
.mini-counters .mc.recv .dbl-check { color: #3a97f6; flex: 0 0 auto; }
.mini-counters .mc.recv b { color: var(--text); }

/* ===================== COMPOSE PHOTO ===================== */
.photo-box { margin-top: 14px; padding: 14px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; }
.photo-box > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.photo-drop { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px dashed var(--border); border-radius: 11px; background: var(--surface); color: var(--text-2); cursor: pointer; transition: .18s; }
.photo-drop:hover, .photo-drop.over { border-color: var(--accent); background: var(--accent-glow); color: var(--text); }
.photo-drop svg { color: var(--accent); flex: 0 0 auto; }
.photo-drop.has-file { border-style: solid; border-color: var(--accent); color: var(--text); }
.photo-drop-txt { font-size: 13.5px; font-weight: 500; word-break: break-all; }
.photo-box .muted { margin: 8px 0 0; }
.mode-cell { text-transform: capitalize; }
.photo-tag { display: inline-flex; align-items: center; margin-left: 7px; color: var(--accent); vertical-align: middle; }
[dir="rtl"] .photo-tag { margin-left: 0; margin-right: 7px; }

/* ===================== NUMBERS / DEVICES ===================== */
.devices-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.device-row { border: 1px solid var(--border-soft); border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.device-main { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.device-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-soft); color: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.device-ico svg { width: 21px; height: 21px; }
.device-meta { min-width: 0; flex: 1; }
.device-label { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.device-default-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--accent); background: var(--accent-glow); border-radius: 5px; padding: 2px 7px; }
.device-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.device-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.device-qr { padding: 0 16px 16px; display: flex; flex-direction: column; align-items: center; }
.device-qr .qr-frame img { width: 190px; height: 190px; }
.device-qr .qr-caption { margin-top: 12px; }
.dev-del { background: transparent; border: 1px solid var(--border); color: var(--text-3); border-radius: 9px; width: 34px; height: 34px; display: grid; place-items: center; transition: .14s; }
.dev-del:hover:not(:disabled) { border-color: var(--bad); color: var(--bad); }
.dev-del:disabled { opacity: .35; cursor: not-allowed; }
.dev-del svg { width: 16px; height: 16px; }
.full-select { width: 100%; }
.seg.small.full-seg { display: flex; width: 100%; }
.seg.small.full-seg .seg-btn { flex: 1; }
.perrow-hint { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--accent-glow); border: 1px solid var(--accent); border-radius: 12px; color: var(--text); font-size: 13.5px; font-weight: 500; }
.perrow-hint svg { color: var(--accent); flex: 0 0 auto; }

/* ===================== BILLING ===================== */
.plan-hero { padding: 18px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 14px; margin-bottom: 16px; }
.plan-hero-name { font-size: 22px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 14px; }
.plan-hero-usage .meter { margin-bottom: 6px; }
.billing-disabled { display: flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1px solid var(--border-soft); color: var(--text-2); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.billing-disabled svg { flex: 0 0 auto; color: var(--text-3); }
.plan-cards { display: flex; flex-direction: column; gap: 12px; }
.plan-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; transition: .16s; }
.plan-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px var(--accent-glow); }
.plan-card.current { border-color: var(--accent); background: var(--accent-glow); }
.plan-card-info { min-width: 0; }
.plan-card-name { font-weight: 700; font-size: 15.5px; text-transform: capitalize; }
.plan-card-price { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.plan-card-badge { font-size: 11.5px; font-weight: 700; color: var(--accent); }

/* ===================== ADMIN CAPACITY ===================== */
.cap-tiles { grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.tile.headline { position: relative; border-color: var(--accent); box-shadow: 0 4px 18px var(--accent-glow); }
.tile.headline .tile-num { color: var(--accent); }
.tile-sub { font-size: 12px; color: var(--text-3); margin-top: 4px; font-variant-numeric: tabular-nums; }
.cap-resources { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: center; padding-top: 4px; }
.cap-ram-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cap-ram-lbl { font-size: 13px; font-weight: 600; color: var(--text-2); }
.cap-ram .meter { height: 14px; margin-bottom: 8px; }
.cap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-chips.solo { margin-top: 4px; }
.cap-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.cap-chip svg { color: var(--accent); flex: 0 0 auto; }
.cap-note { margin-top: 12px; }
@media (max-width: 760px) { .cap-tiles { grid-template-columns: 1fr; } .cap-resources { grid-template-columns: 1fr; } }

/* ===================== NAV BADGE ===================== */
.nav-badge { margin-left: auto; background: var(--bad); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 7px; min-width: 18px; text-align: center; }
[dir="rtl"] .nav-badge { margin-left: 0; margin-right: auto; }
.nav-item.active .nav-badge { background: #fff; color: var(--accent); }

/* ===================== SCHEDULE ===================== */
.schedule-box { margin-top: 14px; padding: 14px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; }
.schedule-box > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.schedule-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.schedule-row input[type="datetime-local"] { flex: 1; min-width: 150px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 13.5px; }
.schedule-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.secondary-btn.sm, .primary-btn.sm { padding: 8px 14px; font-size: 13px; }
.schedule-box .muted { margin: 8px 0 0; }
.sched-time { font-size: 12px; color: var(--skip); font-weight: 600; white-space: nowrap; }

/* ===================== INBOX ===================== */
.inbox-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; max-height: 62vh; overflow-y: auto; }
.inbox-item { display: flex; gap: 12px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; animation: viewIn .25s ease; }
.inbox-item.fresh { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.inbox-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-700)); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.inbox-avatar svg { width: 19px; height: 19px; }
.inbox-main { min-width: 0; flex: 1; }
.inbox-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.inbox-phone { font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.inbox-at { font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.inbox-text { font-size: 13.5px; color: var(--text-2); margin-top: 3px; white-space: pre-wrap; word-break: break-word; }

/* ===================== API KEYS ===================== */
.new-key { margin: 4px 0 14px; border: 1px solid var(--skip); border-radius: 12px; overflow: hidden; }
.new-key-head { display: flex; align-items: center; gap: 8px; padding: 10px 13px; background: rgba(217,140,31,.12); color: var(--skip); font-size: 12.5px; font-weight: 600; }
.copy-box { display: flex; align-items: center; gap: 10px; padding: 12px 13px; background: var(--surface-2); }
.copy-box code { flex: 1; background: transparent; border: none; padding: 0; color: var(--text); font-size: 13px; word-break: break-all; white-space: pre-wrap; }
.copy-box.code-block { border: 1px solid var(--border-soft); border-radius: 12px; align-items: flex-start; }
.copy-box.code-block code { color: var(--accent); font-family: "Cascadia Code", "Consolas", monospace; font-size: 12.5px; line-height: 1.6; }
.keys-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 10px; }
.key-meta { min-width: 0; }
.key-label { font-weight: 600; font-size: 13.5px; }
.key-masked { font-size: 12.5px; color: var(--text-3); font-family: "Cascadia Code", "Consolas", monospace; margin-top: 1px; }
.key-del { background: transparent; border: 1px solid var(--border); color: var(--text-3); border-radius: 8px; width: 32px; height: 32px; display: grid; place-items: center; transition: .14s; flex: 0 0 auto; }
.key-del:hover { border-color: var(--bad); color: var(--bad); }
.key-del svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .modal-sub { flex-direction: column; align-items: flex-start; } }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .grid-compose { grid-template-columns: 1fr; }
  .send-hero { position: static; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  [dir="rtl"] .sidebar { left: auto; right: 0; transform: translateX(100%); }
  .sidebar.open { transform: none; }
  .menu-btn { display: grid; }
  .acct-meta { display: none; }
  .usage-chip { display: none; }
  .scroll { padding: 16px; }
  .send-controls { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .tiles { grid-template-columns: 1fr; }
  .compose-actions { flex-direction: column; }
  .compose-actions .primary-btn, .compose-actions .secondary-btn { width: 100%; }
}

/* ===================== CONTACTS MANAGEMENT ===================== */
.head-actions { display: inline-flex; gap: 8px; margin-left: auto; }
[dir="rtl"] .head-actions { margin-left: 0; margin-right: auto; }
.contacts-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.search-wrap { position: relative; flex: 1 1 220px; display: flex; align-items: center; }
.search-wrap svg { position: absolute; left: 11px; color: var(--text-3); pointer-events: none; }
[dir="rtl"] .search-wrap svg { left: auto; right: 11px; }
.search-wrap input { width: 100%; padding-left: 34px; }
[dir="rtl"] .search-wrap input { padding-left: 12px; padding-right: 34px; }
.filter-input { max-width: 130px; }
.contacts-toolbar select.plan-select { max-width: 190px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.pager button { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-weight: 600; color: var(--text); }
.pager button:disabled { opacity: .4; cursor: default; }
.c-actions { display: inline-flex; gap: 6px; }
.icon-mini { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-2); transition: .14s; }
.icon-mini:hover { color: var(--accent); border-color: var(--accent); }
.icon-mini.danger:hover { color: var(--bad); border-color: var(--bad); }
.icon-mini svg { width: 15px; height: 15px; }
.dup-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(240,180,40,.12); border: 1px solid var(--skip); border-radius: 12px; margin-bottom: 12px; font-size: 13px; color: var(--text); }
.dup-banner .mini-btn, .dup-banner .secondary-btn { margin-left: auto; }
[dir="rtl"] .dup-banner .mini-btn, [dir="rtl"] .dup-banner .secondary-btn { margin-left: 0; }
.dup-banner span { flex: 1 1 auto; }

/* ===================== IMPORT MAPPING + CONTACT MODALS ===================== */
.modal.sm { max-width: 460px; }
.map-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
.map-field { display: flex; flex-direction: column; gap: 5px; }
.map-field label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.map-field select { width: 100%; }
.map-preview-wrap { margin-top: 8px; }
.map-preview-head { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.map-preview-wrap .tbl th, .map-preview-wrap .tbl td { font-size: 12px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.map-actions .grow, .grow { flex: 1 1 auto; }
.check-row { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.check-row input { width: auto; }
.stack-form { display: flex; flex-direction: column; gap: 12px; }
.grid-2-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-preview { display: block; max-width: 160px; max-height: 120px; border-radius: 10px; margin-top: 10px; border: 1px solid var(--border); }
@media (max-width: 560px) { .map-fields { grid-template-columns: 1fr; } }

/* --- contacts bulk actions, delay, status icons, detail image (batch 2) --- */
.bulk-bar{display:flex;align-items:center;gap:10px;padding:8px 12px;margin:8px 0;
  background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);}
.bulk-bar .grow{flex:1;}
.bulk-bar .check-row{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2);}
th.chk-col,td.chk-col{width:36px;text-align:center;padding-left:6px;padding-right:6px;}
.delay-row{display:flex;align-items:center;gap:10px;}
.delay-row input{width:96px;}
.delay-sep{color:var(--text-3);font-size:13px;}
.detail-photo{max-width:220px;max-height:220px;border-radius:12px;margin:0 0 14px;
  display:block;object-fit:cover;border:1px solid var(--border);}
.status-cell{display:flex;align-items:center;gap:7px;}
.st-ico{display:inline-flex;align-items:center;}
.st-ico.sent,.st-ico.delivered,.st-ico.read{color:var(--ok);}
.st-ico.failed{color:var(--bad);}
.st-ico.skipped,.st-ico.pending{color:var(--skip);}
.inbox-sub{font-size:12px;color:var(--text-3);margin-top:1px;}
