/* =====================================================================
   Live tracker — public site styles
   ===================================================================== */
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #eef2f7;
  --border: #e3e8f0;
  --border-strong: #cfd8e6;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --primary-soft-ink: #3730a3;
  --accent: #10b981;
  --success: #047857;
  --success-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --ink-on-primary: #ffffff;
  --nav-bg: linear-gradient(120deg, #0b1226 0%, #1e1b4b 55%, #312e81 100%);
  --hero-bg: linear-gradient(135deg, #ffffff 35%, #eef2ff 100%);
  --icon-chip: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 28px rgba(15, 23, 42, .07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .22);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a0f1d;
  --surface: #111827;
  --surface-2: #0f172a;
  --surface-3: #1b2436;
  --border: #233047;
  --border-strong: #31405c;
  --text: #e8ecf6;
  --text-2: #c4cbdb;
  --muted: #93a0b8;
  --faint: #66738f;
  --primary: #8b92ff;
  --primary-hover: #a5abff;
  --primary-soft: #1e2246;
  --primary-soft-ink: #c7cbff;
  --success: #34d399;
  --success-soft: #0c2a22;
  --warn: #fbbf24;
  --warn-soft: #2a2110;
  --danger: #f87171;
  --danger-soft: #2c1414;
  --hero-bg: linear-gradient(135deg, #111827 35%, #1a1f45 100%);
  --icon-chip: #f1f5f9;
  --shadow: 0 8px 28px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0a0f1d; --surface: #111827; --surface-2: #0f172a; --surface-3: #1b2436; --border: #233047; --border-strong: #31405c;
    --text: #e8ecf6; --text-2: #c4cbdb; --muted: #93a0b8; --faint: #66738f; --primary: #8b92ff; --primary-hover: #a5abff;
    --primary-soft: #1e2246; --primary-soft-ink: #c7cbff; --success: #34d399; --success-soft: #0c2a22; --warn: #fbbf24; --warn-soft: #2a2110;
    --danger: #f87171; --danger-soft: #2c1414; --hero-bg: linear-gradient(135deg, #111827 35%, #1a1f45 100%); --icon-chip: #f1f5f9;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; max-width: 100%; }
body { overflow-x: hidden; overflow-x: clip; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; color: var(--text); }
p { margin: 0; }
small { font-size: 12px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
main { min-height: 60vh; padding: 22px 0 56px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; white-space: nowrap; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: #4f46e5; color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, .28); }
.btn--primary:hover { background: #4338ca; }
.btn--cta { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .4); padding: 9px 16px; font-size: 13.5px; }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }
.btn--success { background: #059669; color: #fff; }
.btn--success:hover { background: #047857; }
.btn--sm { padding: 7px 11px; font-size: 12.5px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.iconBtn { width: 40px; height: 40px; min-width: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .15s; }
.iconBtn:hover { background: rgba(255, 255, 255, .18); }

/* ---------------- top bar ---------------- */
.topbar { position: sticky; top: 0; z-index: 100; background: var(--nav-bg); color: #fff; box-shadow: 0 4px 22px rgba(11, 18, 38, .35); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, #6366f1, #10b981, #f59e0b, #6366f1); background-size: 300% 100%; animation: accentSlide 8s linear infinite; }
@keyframes accentSlide { from { background-position: 0 0; } to { background-position: 300% 0; } }
.topbar__in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; min-width: 0; }
.brand__icon { width: 40px; height: 40px; min-width: 40px; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #4f46e5); display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 4px 14px rgba(99, 102, 241, .5); color: #fff; }
.brand__txt { display: flex; flex-direction: column; font-weight: 800; font-size: 17px; letter-spacing: .4px; line-height: 1.1; }
.brand__txt small { font-size: 9px; letter-spacing: 2.2px; color: #a5b4fc; font-weight: 700; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: nowrap; }
.nav__link { color: #e0e7ff; font-weight: 700; font-size: 13px; padding: 8px 13px; border-radius: 999px; text-decoration: none !important; white-space: nowrap; transition: background .15s; }
.nav__link:hover { background: rgba(255, 255, 255, .1); }
.nav__link.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
.nav__link i { opacity: .85; margin-right: 3px; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.menuBtn { display: none; }
.mobileMenu { position: fixed; top: 66px; left: 10px; right: 10px; z-index: 99; background: #111633; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lg); animation: drop .16s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobileMenu a { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-weight: 700; font-size: 14px; padding: 13px 14px; border-radius: 12px; text-decoration: none !important; }
.mobileMenu a i { width: 20px; text-align: center; color: #a5b4fc; }
.mobileMenu a:hover, .mobileMenu a.is-active { background: rgba(255, 255, 255, .08); }
.mobileMenu__cta { background: linear-gradient(135deg, #6366f1, #4f46e5); justify-content: center; margin-top: 6px; }
.mobileMenu__cta i { color: #fff !important; }
@media (max-width: 980px) {
  .nav { display: none; }
  .menuBtn { display: inline-flex; }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .btn--cta span { display: none; }
  .btn--cta { width: 40px; height: 40px; padding: 0; }
  .brand__txt { font-size: 15px; }
}

/* ---------------- announcement bar ---------------- */
.annBar { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; justify-content: center; position: relative; z-index: 101; }
.annBar__in { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; text-align: center; }
.annBar a { font-weight: 800; text-decoration: underline; color: inherit; }
.annBar__x { background: transparent; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; opacity: .7; padding: 0 6px; }
.annBar__x:hover { opacity: 1; }
.annBar--info { background: #e0f2fe; color: #075985; }
.annBar--success { background: #dcfce7; color: #14532d; }
.annBar--warning { background: #fef3c7; color: #78350f; }
.annBar--danger { background: #fee2e2; color: #7f1d1d; }
.annBar--brand { background: linear-gradient(90deg, #4f46e5, #7c3aed); color: #fff; }

/* ---------------- cards & sections ---------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.section { margin-top: 22px; }
.secHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.secHead h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.secHead h2 i { color: var(--primary); }
.secHead small { color: var(--muted); font-size: 12.5px; }

/* ---------------- hero ---------------- */
.hero { background: var(--hero-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(99, 102, 241, .16), transparent 65%); pointer-events: none; }
.livePill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; border: 1px solid rgba(16, 185, 129, .25); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; display: inline-block; box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); animation: pulse 1.8s infinite; flex: none; }
.dot--off { background: var(--faint); animation: none; box-shadow: none; }
.dot--warn { background: #f59e0b; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 850; margin: 14px 0 8px; background: linear-gradient(90deg, var(--text), var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { color: var(--text-2); font-size: 16px; max-width: 640px; margin: 0 auto; }
.heroFeatures { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 18px; }
.feature { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.feature__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.statGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 22px auto 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 13px 8px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 22px; font-weight: 850; background: linear-gradient(90deg, #4f46e5, #059669); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .stat b { background: linear-gradient(90deg, #a5b4fc, #34d399); -webkit-background-clip: text; background-clip: text; }
.stat small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.about { max-width: 720px; margin: 18px auto 0; font-size: 13.5px; line-height: 1.7; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 13px 18px; }
.about strong { color: var(--text); }
.toolCards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 18px auto 0; text-align: left; }
.toolCard { display: flex; gap: 12px; align-items: center; padding: 13px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; color: var(--text); text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.toolCard:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.toolCard__icon { width: 40px; height: 40px; min-width: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.toolCard b { display: block; font-size: 13.5px; }
.toolCard small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 760px) {
  .hero { padding: 24px 16px; }
  .statGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolCards { grid-template-columns: 1fr; }
  .heroFeatures { gap: 14px; }
  .heroFeatures { display: none; }
  .about { font-size: 13px; padding: 11px 13px; }
  .hero .lead { font-size: 15px; }
}

/* ---------------- ticker ---------------- */
.ticker { margin-top: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; align-items: stretch; box-shadow: var(--shadow-sm); }
.ticker__label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--success); background: var(--success-soft); border-right: 1px solid var(--border); }
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; gap: 26px; width: max-content; padding: 11px 0; animation: tick 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; color: var(--text-2); }
.tick img, .tick .emo { width: 16px; height: 16px; font-size: 14px; }
.tick b { color: var(--text); }
.tick em { font-style: normal; color: var(--success); font-weight: 700; }

/* ---------------- leaders ---------------- */
.leaderGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.leader { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; cursor: pointer; text-align: left; }
.leader:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.leader__top { display: flex; gap: 10px; align-items: flex-start; }
.leader__rank { font-size: 11px; font-weight: 900; color: var(--primary-soft-ink); background: var(--primary-soft); border-radius: 8px; padding: 3px 7px; }
.leader__name { font-size: 13px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); }
.leader__nums { display: flex; gap: 8px; flex-wrap: wrap; }
.leader__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .leaderGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .leaderGrid { grid-template-columns: 1fr; } }

/* ---------------- tabs, toolbar, chips ---------------- */
.tabs { display: flex; gap: 10px; margin: 26px 0 14px; flex-wrap: wrap; }
.tab { flex: 1; min-width: 220px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; font-weight: 800; font-size: 14px; cursor: pointer; color: var(--text); transition: .15s; box-shadow: var(--shadow-sm); }
.tab:hover { border-color: var(--border-strong); }
.tab.is-active { background: #4f46e5; border-color: #4f46e5; color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .3); }
.tab .count { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--muted); }
.tab.is-active .count { background: rgba(255, 255, 255, .2); color: #fff; }
.viewOnly .tabs { display: none; }
.toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.toolbar__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.chips::-webkit-scrollbar { height: 6px; }
.chips::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-weight: 700; font-size: 12.5px; cursor: pointer; color: var(--text-2); transition: .15s; }
.chip img, .chip .emo { width: 16px; height: 16px; font-size: 13px; line-height: 1; }
.chip:hover { border-color: var(--border-strong); }
.chip.is-active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-soft-ink); }
.chip .n { font-size: 10.5px; color: var(--muted); font-weight: 800; }
.search { position: relative; flex: 1 1 260px; min-width: 200px; }
.search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 13px; }
.input, .search input, .select { width: 100%; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px; padding: 10px 13px; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.search input { padding-left: 36px; }
.input:focus, .search input:focus, .select:focus, textarea.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, .16); }
.select { width: auto; padding-right: 30px; cursor: pointer; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); cursor: pointer; user-select: none; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.toggle input { accent-color: #4f46e5; width: 16px; height: 16px; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 9px 13px; font-weight: 800; font-size: 13px; cursor: pointer; color: var(--muted); }
.seg button.is-active { background: var(--primary-soft); color: var(--primary-soft-ink); }

/* ---------------- data table ---------------- */
.tableWrap { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.dt { width: 100%; border-collapse: collapse; }
.dt th { background: var(--surface-2); color: var(--muted); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; padding: 13px 14px; text-align: left; white-space: nowrap; font-weight: 800; border-bottom: 1px solid var(--border); }
.dt td { padding: 13px 14px; border-top: 1px solid var(--border); font-size: 13.5px; vertical-align: middle; }
.dt tbody tr:first-child td { border-top: 0; }
.dt tbody tr { transition: background .15s; }
.dt tbody tr:hover { background: var(--surface-2); }
.dt tr.is-new { animation: flash 2.4s ease; }
@keyframes flash { 0% { background: rgba(16, 185, 129, .22); } 100% { background: transparent; } }
.svc { display: flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.svc__icon { width: 40px; height: 40px; min-width: 40px; border-radius: 12px; background: var(--icon-chip); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.svc__icon img { width: 22px; height: 22px; }
.svc__icon .emo { font-size: 18px; }
.svc__body { min-width: 0; }
.svc__name { font-weight: 700; line-height: 1.4; color: var(--text); word-break: break-word; }
.svc:hover .svc__name { color: var(--primary); }
.svc__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; align-items: center; }
.idBadge { display: inline-block; font-family: var(--mono); background: var(--primary-soft); color: var(--primary-soft-ink); padding: 3px 8px; border-radius: 8px; font-weight: 800; font-size: 12px; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: 11.5px; white-space: nowrap; background: var(--surface-3); color: var(--text-2); }
.badge--ok { background: var(--success-soft); color: var(--success); }
.badge--off { background: var(--surface-3); color: var(--muted); }
.badge--hot { background: #fff1f2; color: #be123c; }
:root[data-theme="dark"] .badge--hot { background: #3a1420; color: #fda4af; }
.badge--feat { background: #fef3c7; color: #92400e; }
:root[data-theme="dark"] .badge--feat { background: #332508; color: #fcd34d; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; padding: 6px 10px; border-radius: 10px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill--speed { background: var(--success-soft); color: var(--success); }
.pill--qty { background: var(--primary-soft); color: var(--primary-soft-ink); }
.pill--rate { background: #fff7ed; color: #9a3412; }
:root[data-theme="dark"] .pill--rate { background: #2d1a0b; color: #fdba74; }
.ago { font-weight: 700; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.when { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.acts { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.actBtn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .15s; }
.actBtn:hover { color: var(--primary); border-color: var(--primary); }
.actBtn.is-on { color: #f59e0b; border-color: #f59e0b; }
.actBtn.is-done { color: var(--success); border-color: var(--success); }
.buyBtn { display: inline-flex; align-items: center; gap: 6px; background: #4f46e5; color: #fff !important; padding: 8px 12px; border-radius: 10px; font-weight: 800; font-size: 12.5px; text-decoration: none !important; white-space: nowrap; box-shadow: 0 4px 12px rgba(79, 70, 229, .25); }
.buyBtn:hover { background: #4338ca; }
.emptyRow td { text-align: center; padding: 34px 14px !important; color: var(--muted); }
.skel { display: inline-block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (max-width: 860px) {
  .tableWrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .dt, .dt tbody { display: block; }
  .dt thead { display: none; }
  .dt tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
  .dt tbody tr:hover { background: var(--surface); }
  .dt td { border: 0 !important; padding: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .dt td[data-label]::before { content: attr(data-label); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--faint); }
  .dt td.col-svc, .dt td.col-acts { grid-column: 1 / -1; }
  .dt td.col-svc::before { display: none; }
  .dt td.col-acts::before { display: none; }
  .dt td.col-acts .acts { justify-content: stretch; }
  .dt td.col-acts .buyBtn { flex: 1; justify-content: center; padding: 10px; }
  .dt td > .pill, .dt td > .ago { align-self: flex-start; }
  .dt .emptyRow { display: block; }
}

/* ---------------- pager ---------------- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pager__info { font-size: 13px; color: var(--muted); font-weight: 600; }
.pager__btns { display: flex; gap: 8px; align-items: center; }

/* ---------------- modal ---------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__bg { position: absolute; inset: 0; background: rgba(2, 6, 23, .62); backdrop-filter: blur(3px); animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__box { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); animation: pop .18s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; gap: 12px; align-items: flex-start; padding: 18px 18px 12px; position: sticky; top: 0; background: var(--surface); z-index: 2; border-bottom: 1px solid var(--border); }
.modal__title { flex: 1; min-width: 0; }
.modal__title h3 { font-size: 16px; line-height: 1.35; word-break: break-word; }
.modal__title small { color: var(--muted); font-weight: 700; }
.modal__x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; font-size: 18px; color: var(--muted); }
.modal__body { padding: 16px 18px 20px; }
.miniStats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.miniStat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; }
.miniStat b { display: block; font-size: 15px; font-weight: 850; font-variant-numeric: tabular-nums; }
.miniStat small { color: var(--muted); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; }
.chartBox { position: relative; height: 220px; margin-top: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
.histList { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.histRow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; font-size: 13px; }
.histRow i { color: var(--faint); margin-right: 5px; }
.modal__foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 560px) {
  .miniStats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .histRow { grid-template-columns: 1fr 1fr; }
  .histRow > :first-child { grid-column: 1 / -1; }
}

/* ---------------- toasts ---------------- */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: #0f172a; color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow-lg); animation: pop .18s ease; display: flex; gap: 8px; align-items: center; }
.toast--ok i { color: #34d399; }
.toast--err i { color: #f87171; }

/* ---------------- footer ---------------- */
.footer { background: #0b1226; color: #cbd5e1; padding: 34px 0 0; margin-top: 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.footer h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.footer a { display: block; color: #cbd5e1; font-size: 13.5px; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer p { font-size: 13px; line-height: 1.6; color: #94a3b8; margin-top: 10px; max-width: 360px; }
.brand--footer { display: flex !important; padding: 0 !important; }
.syncState { display: flex !important; align-items: center; gap: 8px; color: #a7f3d0 !important; font-weight: 700; font-size: 12.5px !important; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 26px; padding: 16px; text-align: center; font-size: 12.5px; color: #64748b; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------------- floating buttons ---------------- */
.support { position: fixed; left: 16px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.support__btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 24px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); text-decoration: none !important; transition: transform .15s; }
.support__btn:hover { transform: scale(1.06); }
.support__btn--wa { background: #25d366; }
.support__btn--tg { background: #229ed9; }
.scrollBtns { position: fixed; right: 16px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrollBtns.is-on { opacity: 1; pointer-events: auto; }
.scrollBtns button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); box-shadow: var(--shadow); cursor: pointer; }
.scrollBtns button:hover { color: var(--primary); border-color: var(--primary); }

/* ---------------- forms (tools) ---------------- */
label.lbl { display: block; font-size: 12.5px; font-weight: 800; margin: 14px 0 6px; color: var(--text-2); }
textarea.input { min-height: 130px; resize: vertical; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.warn { display: none; font-size: 12.5px; font-weight: 700; color: var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 8px 11px; margin-top: 8px; }
.warn.is-on { display: block; }
.pageHead { margin-bottom: 18px; }
.pageHead h1 { font-size: clamp(22px, 3.4vw, 28px); font-weight: 850; }
.pageHead p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }

/* ---------------- service picker (tools) ---------------- */
.picker { position: relative; }
.picker__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 360px; overflow-y: auto; z-index: 50; padding: 6px; }
.picker__item { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; width: 100%; text-align: left; padding: 10px; border-radius: 10px; background: transparent; border: 0; cursor: pointer; color: var(--text); }
.picker__item:hover, .picker__item.is-hl { background: var(--primary-soft); }
.picker__name { font-size: 13px; font-weight: 700; line-height: 1.35; }
.picker__cat { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.picker__rate { text-align: right; font-size: 12.5px; white-space: nowrap; }
.picker__rate b { display: block; color: var(--text); }
.picker__rate small { color: var(--muted); }
.picker__more { text-align: center; color: var(--muted); font-size: 12px; padding: 8px; }
.svcInfo { margin-top: 12px; border: 1px solid var(--border); background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.svcInfo__name { font-weight: 800; font-size: 14px; line-height: 1.4; }
.svcInfo__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.svcInfo__grid div { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.svcInfo__grid small { display: block; color: var(--muted); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; }
.svcInfo__grid b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .svcInfo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------- mass order ---------------- */
.toolGrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.toolGrid .card { padding: 20px; }
.card h2 { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.card h2 i { color: var(--primary); }
.line { border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-top: 14px; background: var(--surface-2); position: relative; }
.line__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.line__title { font-size: 12px; font-weight: 900; color: var(--primary-soft-ink); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; }
.line__rm { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; padding: 6px; border-radius: 8px; }
.line__rm:hover { color: var(--danger); background: var(--danger-soft); }
.line__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.opts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.totals div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; }
.totals b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.totals small { color: var(--muted); font-weight: 700; font-size: 10.5px; text-transform: uppercase; }
.outPre { background: #0b1226; color: #e2e8f0; border-radius: 14px; padding: 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow: auto; max-height: 360px; white-space: pre; margin: 0; }
.outEmpty { text-align: center; padding: 38px 10px; color: var(--muted); }
.outEmpty i { font-size: 30px; color: var(--faint); display: block; margin-bottom: 10px; }
.outIssues { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.issue { font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.btnRow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 900px) { .toolGrid { grid-template-columns: 1fr; } }

/* ---------------- calculator ---------------- */
.priceBox { text-align: center; padding: 22px 12px; border-radius: 16px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; margin-top: 14px; }
.priceBox small { display: block; opacity: .85; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: 11px; }
.priceBox b { display: block; font-size: 34px; font-weight: 900; margin: 6px 0; font-variant-numeric: tabular-nums; }
.priceBox span { opacity: .9; font-size: 13px; }
input[type="range"] { width: 100%; accent-color: #4f46e5; margin-top: 10px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quick button { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--text-2); }
.quick button:hover { border-color: var(--primary); color: var(--primary); }

/* ---------------- service page ---------------- */
.svcHero { padding: 22px; }
.svcHero__top { display: flex; gap: 16px; align-items: flex-start; }
.svcHero__icon { width: 58px; height: 58px; min-width: 58px; border-radius: 16px; background: var(--icon-chip); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.svcHero__icon img { width: 32px; height: 32px; }
.svcHero__icon .emo { font-size: 28px; }
.svcHero h1 { font-size: clamp(18px, 2.6vw, 24px); font-weight: 850; line-height: 1.35; word-break: break-word; }
.svcHero__cat { color: var(--muted); font-size: 13px; margin-top: 6px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.kpi { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 13px; }
.kpi small { display: block; color: var(--muted); font-weight: 800; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; }
.kpi b { display: block; font-size: 19px; font-weight: 850; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12px; color: var(--muted); }
.twoCol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.twoCol .card { padding: 18px; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .twoCol { grid-template-columns: 1fr; } }

/* ---------------- blog ---------------- */
.blogHero { text-align: center; padding: 28px 20px; }
.blogHero h1 { font-size: clamp(24px, 4vw, 32px); font-weight: 850; }
.blogHero p { color: var(--muted); margin: 8px auto 0; max-width: 640px; }
.blogSearch { display: flex; gap: 8px; max-width: 560px; margin: 18px auto 0; }
.blogSearch .search { flex: 1; }
.catBar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.postGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.postCard { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.postCard:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.postCard h2 { font-size: 16px; font-weight: 800; line-height: 1.4; }
.postCard h2 a { color: var(--text); }
.postCard p { color: var(--text-2); font-size: 13.5px; line-height: 1.6; flex: 1; }
.postCard__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.postCard__more { font-weight: 800; font-size: 13px; }
@media (max-width: 960px) { .postGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .postGrid { grid-template-columns: 1fr; } }
.blogLayout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.blogSide { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.blogSide .card { padding: 16px; }
.blogSide h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; font-size: 13px; padding: 5px 0; color: var(--text-2); }
.toc a.lvl3 { padding-left: 12px; font-size: 12.5px; }
@media (max-width: 1000px) { .blogLayout { grid-template-columns: 1fr; } .blogSide { position: static; } }
.article { padding: 30px 34px; }
.article h1 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 850; line-height: 1.3; }
.byline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); margin: 12px 0 18px; }
.byline i { margin-right: 4px; }
.quickAnswer { background: var(--primary-soft); border: 1px solid rgba(99, 102, 241, .28); border-radius: 14px; padding: 14px 16px; margin: 6px 0 20px; }
.qaLabel { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; color: var(--primary-soft-ink); margin-bottom: 6px; }
.quickAnswer p { color: var(--text); font-size: 15px; line-height: 1.7; }
.prose { font-size: 16.5px; line-height: 1.85; color: var(--text-2); }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 30px 0 12px; color: var(--text); scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; font-weight: 800; margin: 24px 0 10px; color: var(--text); scroll-margin-top: 90px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; }
.prose blockquote { margin: 0 0 18px; padding: 12px 16px; border-left: 4px solid var(--primary); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.prose img { border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 9px 11px; text-align: left; }
.prose th { background: var(--surface-2); }
.faq { margin-top: 26px; }
.faq h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--surface-2); }
.faq summary { cursor: pointer; font-weight: 800; color: var(--text); }
.faq details p { margin-top: 10px; color: var(--text-2); line-height: 1.7; }
.mdLink { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; margin-top: 8px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.share b { font-size: 13px; color: var(--muted); margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none !important; }
.share a:hover, .share button:hover { color: var(--primary); border-color: var(--primary); }
.ctaBox { margin-top: 22px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; text-align: center; }
.ctaBox b { display: block; font-size: 17px; }
.ctaBox p { opacity: .92; font-size: 13.5px; margin-top: 4px; }
.ctaBox a { display: inline-flex; margin-top: 14px; background: #fff; color: #3730a3; font-weight: 800; padding: 10px 18px; border-radius: 12px; text-decoration: none !important; }
.related a { display: block; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text-2); line-height: 1.45; }
.related a:first-of-type { border-top: 0; }
.related a:hover { color: var(--primary); }
@media (max-width: 620px) { .article { padding: 22px 18px; } .prose { font-size: 16px; } }

/* ---------------- 404 ---------------- */
.nf { text-align: center; padding: 50px 20px; max-width: 560px; margin: 0 auto; }
.nf b { display: block; font-size: 72px; font-weight: 900; background: linear-gradient(90deg, #4f46e5, #10b981); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.nf h1 { font-size: 22px; margin: 12px 0 8px; }
.nf p { color: var(--muted); }

/* ---------------- embed mode (?embed=1) ---------------- */
.is-embed .topbar, .is-embed .footer, .is-embed .hero, .is-embed .annBar, .is-embed .support, .is-embed .scrollBtns,
.is-embed .ticker, .is-embed .leadersSec, .is-embed .mobileMenu, .is-embed .skip { display: none !important; }
.is-embed main { padding-top: 10px; }
.is-embed .tabs { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}
@media print {
  .topbar, .footer, .support, .scrollBtns, .annBar, .share, .ctaBox, .blogSide { display: none !important; }
  body { background: #fff; }
}

/* chart table twins */
.chartTable { margin-top: 10px; max-width: 100%; overflow-x: auto; }
.chartTable summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.chartTable table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.chartTable th, .chartTable td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; }
.chartTable th:first-child, .chartTable td:first-child { text-align: left; }
.chartTable th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }

/* =====================================================================
   v2.1 additions: split hero, pulse card, platform grid, compare,
   stats heatmap, search palette, FAQ, how-it-works, reading bar
   ===================================================================== */
.hero--split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr); gap: 26px; text-align: left; align-items: center; }
.hero--tool { text-align: left; padding: 24px 26px; }
.hero--tool h1 { margin: 12px 0 6px; }
.hero--tool .lead { margin: 0; max-width: 820px; font-size: 15px; }
.hero--tool .statGrid { margin-top: 18px; }
.hero--tool .hero__cta { justify-content: flex-start; margin-top: 18px; }
.hero--split h1 { margin: 12px 0 8px; }
.hero--split .lead { margin: 0; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.statGrid--left { margin: 22px 0 0; max-width: none; }
.statGrid--4wide { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin: 0 0 18px; }
.stat small .up { color: var(--success); } .stat small .down { color: var(--danger); }
.pulse { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; position: relative; }
.pulse__head { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--success); }
.pulse__big b { display: block; font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.pulse__big small { display: block; color: var(--muted); font-weight: 600; margin-top: 6px; font-size: 12.5px; }
.pulse__last { display: flex; gap: 12px; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.pulse__lastBody { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pulse__lastBody small { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.pulse__lastBody b { font-size: 13.5px; line-height: 1.35; word-break: break-word; }
.pulse__lastBody span { font-size: 12.5px; color: var(--text-2); }
.pulse__foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pulse__foot a { font-weight: 800; }
.platGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; color: var(--text); text-decoration: none !important; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.plat:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.plat__top { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.plat__nums { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); }
.plat__nums b { color: var(--text); font-size: 15px; }
.plat__foot { display: flex; justify-content: space-between; align-items: center; color: var(--primary); }
.toolCards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin-top: 16px; }
.howGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.how__n { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-soft-ink); display: grid; place-items: center; font-weight: 900; }
.how b { font-size: 15px; }
.how p { color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.faqList { display: flex; flex-direction: column; gap: 8px; }
.faqItem2 { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.faqItem2 summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faqItem2 summary::after { content: "+"; color: var(--muted); font-weight: 700; }
.faqItem2[open] summary::after { content: "–"; }
.faqItem2 p { margin-top: 10px; color: var(--text-2); line-height: 1.7; }
.chipsRow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.trend { font-size: 11px; font-weight: 800; }
.trend.up, .up { color: var(--success); } .trend.down, .down { color: var(--danger); }
.actBtn.is-sel { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.compareBar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 12px; border-radius: 12px; background: var(--primary-soft); border: 1px solid rgba(99, 102, 241, .3); font-size: 13.5px; }
.btn--disabled { opacity: .5; pointer-events: none; }
.cmpPickers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cmpSlot .lbl { margin-top: 0; }
.cmpSlot .svcInfo { display: none; }
.cmpWrap { padding: 0; }
.cmpTable { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmpTable th, .cmpTable td { padding: 11px 12px; border-top: 1px solid var(--border); text-align: center; font-size: 13.5px; vertical-align: middle; }
.cmpTable thead th { border-top: 0; background: var(--surface-2); vertical-align: top; }
.cmpTable tbody th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; font-weight: 800; white-space: nowrap; }
.cmpTable td.is-best { background: var(--success-soft); font-weight: 800; }
.cmpHead { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cmpHead a { color: var(--text); font-size: 13px; line-height: 1.35; }
.cmpHead .svc__icon { margin: 0 auto; }
.chartBox--tall { height: 280px; }
.heat { display: grid; gap: 3px; margin-top: 10px; font-size: 10.5px; color: var(--muted); }
.heat__row { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.heat__row--head { margin-bottom: 2px; }
.heat__h { text-align: left; font-weight: 700; }
.heat__d { font-weight: 800; }
.heat__c { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--primary) calc(var(--a) * 100%), var(--surface-3)); min-height: 10px; }
.priceBox--eta { background: linear-gradient(135deg, #0f766e, #059669); }
.priceBox--eta b { font-size: 30px; }
.badgePreview { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.badgePreview img { height: 22px; }
.copyRow { display: flex; gap: 8px; align-items: center; }
.copyRow .input { flex: 1; font-size: 12px; }
.readBar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6366f1, #10b981); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; pointer-events: none; }
.palette { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.palette__bg { position: absolute; inset: 0; background: rgba(2, 6, 23, .62); backdrop-filter: blur(3px); }
.palette__box { position: relative; width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .16s ease; }
.palette__input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.palette__input i { color: var(--faint); }
.palette__input input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--text); min-width: 0; }
.palette__input kbd { font-size: 11px; border: 1px solid var(--border-strong); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.palette__results { max-height: 60vh; overflow: auto; padding: 6px; }
.palette__hint { padding: 18px 14px; color: var(--muted); font-size: 14px; text-align: center; }
.palette__group { font-size: 10.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--faint); padding: 10px 10px 4px; }
.palette__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
.palette__item:hover, .palette__item.is-hl { background: var(--primary-soft); }
.palette__item img { width: 18px; height: 18px; flex: none; }
.palette__ico { width: 18px; text-align: center; color: var(--muted); flex: none; }
.palette__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.palette__main b { font-size: 13.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette__main small { color: var(--muted); font-size: 12px; }
.platHero { display: flex; gap: 14px; align-items: center; }
.platHero h1 { margin: 6px 0 0; font-size: clamp(22px, 3.4vw, 30px); }
.hero--platform { text-align: left; }
@media (max-width: 1000px) { .platGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .toolCards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cmpPickers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .hero--split { grid-template-columns: 1fr; } .howGrid { grid-template-columns: 1fr; } .statGrid--4wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .platGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .toolCards--4 { grid-template-columns: 1fr; } .cmpPickers { grid-template-columns: 1fr; } .pulse__big b { font-size: 34px; } .heat__row { grid-template-columns: 28px repeat(24, minmax(0, 1fr)); gap: 2px; } .heat__c { min-height: 7px; } }
.is-embed .pulse, .is-embed .platGrid, .is-embed .howSec, .is-embed .faqSec, .is-embed .toolCards, .is-embed .compareBar { display: none !important; }

/* ---------------- all services, grouped by category ---------------- */
.select--cat { max-width: 340px; min-width: 0; text-overflow: ellipsis; }
.catSummary { color: var(--muted); font-size: 13px; margin: 2px 2px 10px; }
.catSummary b { color: var(--text); }
.dt--cats .catRow th { padding: 0; background: var(--surface-2); border-top: 1px solid var(--border); text-transform: none; letter-spacing: 0; font-size: inherit; color: var(--text); white-space: normal; }
.dt--cats .catGrp:first-of-type .catRow th { border-top: 0; }
.catHead { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--text); font: inherit; }
.catHead .svc__icon { width: 30px; height: 30px; min-width: 30px; border-radius: 9px; }
.catHead .svc__icon img { width: 18px; height: 18px; }
.catName { flex: 1; min-width: 0; font-weight: 800; font-size: 14px; line-height: 1.35; word-break: break-word; }
.catHead:hover .catName { text-decoration: underline; }
.catMeta { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.catHead .chev { color: var(--muted); transition: transform .15s; }
.catGrp.is-closed .chev { transform: rotate(-90deg); }
.catGrp.is-closed tr:not(.catRow) { display: none; }
.rate2 { display: inline-flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.rate2 b { font-size: 13.5px; font-weight: 800; color: var(--text); }
.rate2 small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.n24 { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.badge--pick { background: var(--primary-soft); color: var(--primary-soft-ink); box-shadow: inset 0 0 0 1px var(--border-strong); }
.moreRow { text-align: center; padding: 16px 0 4px; }
@media (max-width: 860px) {
  .dt--cats tr.catRow { display: block; padding: 0; margin: 20px 0 8px; background: transparent; border: 0; box-shadow: none; }
  .dt--cats tr.catRow th { display: block; background: transparent; border: 0; }
  .catHead { display: grid; grid-template-columns: auto 1fr auto; padding: 2px; row-gap: 2px; }
  .catMeta { grid-column: 2; white-space: normal; }
  .catHead .chev { grid-column: 3; grid-row: 1; }
  .select--cat { max-width: 100%; width: 100%; flex: 1 1 100%; }
}

/* ---------------- one page per list: links instead of pop-ups ---------------- */
a.svc { color: inherit; text-decoration: none !important; }
a.svc:hover .svc__name { text-decoration: underline; }
a.leader { color: inherit; text-decoration: none !important; text-align: left; }
a.ticker__label { text-decoration: none !important; }
.secHead > a { font-size: 13px; font-weight: 700; white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; }
.facts > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.facts b { color: var(--text); }
.tipBox { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.tipBox i { margin-top: 3px; color: var(--muted); }

/* ---------------- about the brand (home) ---------------- */
.aboutGrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.aboutText { padding: 20px 22px; }
.aboutText p { color: var(--text-2); font-size: 15px; line-height: 1.7; }
.factList { margin: 0; padding: 8px 18px; }
.factList > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.factList > div:last-child { border-bottom: 0; }
.factList dt { color: var(--muted); font-weight: 600; flex: none; }
.factList dd { margin: 0; font-weight: 700; text-align: right; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) { .aboutGrid { grid-template-columns: 1fr; } }

/* =====================================================================
   Black & white theme — on when <html class="mono"> (admin → Settings → Colour style).
   Brand colours turn black on white (light) and white on black (dark); green, amber
   and red stay only where they report a status (live dot, badges, trend arrows).
   ===================================================================== */
html.mono {
  --bg: #f5f5f5; --surface: #ffffff; --surface-2: #fafafa; --surface-3: #f0f0f0; --border: #e5e5e5; --border-strong: #d4d4d4;
  --text: #0a0a0a; --text-2: #262626; --muted: #666666; --faint: #a3a3a3;
  --primary: #0a0a0a; --primary-hover: #333333; --primary-soft: #f0f0f0; --primary-soft-ink: #0a0a0a; --accent: #0a0a0a;
  --ink-on-primary: #ffffff; --nav-bg: #000000; --hero-bg: #ffffff; --icon-chip: #ffffff;
  --mono-line: transparent; --focus-ring: rgba(0, 0, 0, .14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05); --shadow: 0 8px 28px rgba(0, 0, 0, .06); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .2);
}
html.mono[data-theme="dark"] {
  --bg: #000000; --surface: #0f0f0f; --surface-2: #0a0a0a; --surface-3: #1a1a1a; --border: #262626; --border-strong: #3a3a3a;
  --text: #fafafa; --text-2: #d4d4d4; --muted: #a3a3a3; --faint: #6b6b6b;
  --primary: #fafafa; --primary-hover: #d4d4d4; --primary-soft: #1a1a1a; --primary-soft-ink: #fafafa; --accent: #fafafa;
  --ink-on-primary: #0a0a0a; --hero-bg: #0f0f0f; --icon-chip: #f5f5f5;
  --mono-line: #262626; --focus-ring: rgba(255, 255, 255, .2);
  --shadow: 0 8px 28px rgba(0, 0, 0, .5); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  html.mono:not([data-theme]) {
    --bg: #000000; --surface: #0f0f0f; --surface-2: #0a0a0a; --surface-3: #1a1a1a; --border: #262626; --border-strong: #3a3a3a;
    --text: #fafafa; --text-2: #d4d4d4; --muted: #a3a3a3; --faint: #6b6b6b;
    --primary: #fafafa; --primary-hover: #d4d4d4; --primary-soft: #1a1a1a; --primary-soft-ink: #fafafa; --accent: #fafafa;
    --ink-on-primary: #0a0a0a; --hero-bg: #0f0f0f; --icon-chip: #f5f5f5;
    --mono-line: #262626; --focus-ring: rgba(255, 255, 255, .2);
    --shadow: 0 8px 28px rgba(0, 0, 0, .5); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .7);
  }
}
/* header, menu and footer stay black in both modes */
html.mono .topbar { box-shadow: none; }
html.mono .topbar::after { background: var(--mono-line); animation: none; height: 1px; bottom: -1px; }
html.mono .brand__icon { background: #ffffff; color: #000000; box-shadow: none; }
html.mono .brand__icon i { color: #000000; }
html.mono .brand__txt small, html.mono .mobileMenu a i { color: #a3a3a3; }
html.mono .nav__link { color: #d4d4d4; }
html.mono .nav__link.is-active, html.mono .nav__link:hover { color: #ffffff; }
html.mono .btn--cta, html.mono .mobileMenu__cta { background: #ffffff; color: #000000 !important; box-shadow: none; }
html.mono .btn--cta:hover { background: #e5e5e5; }
html.mono .mobileMenu__cta i { color: #000000 !important; }
html.mono .mobileMenu { background: #0a0a0a; }
html.mono .annBar--brand { background: #000000; color: #ffffff; border-bottom: 1px solid var(--mono-line); }
html.mono .footer { background: #000000; border-top: 1px solid var(--mono-line); }
html.mono .outPre, html.mono .toast { background: #0a0a0a; }
/* filled brand surfaces follow the primary colour */
html.mono .btn--primary, html.mono .buyBtn, html.mono .tab.is-active, html.mono .priceBox, html.mono .priceBox--eta, html.mono .ctaBox {
  background: var(--primary); border-color: var(--primary); color: var(--ink-on-primary) !important; box-shadow: none;
}
html.mono .btn--primary:hover, html.mono .buyBtn:hover { background: var(--primary-hover); }
html.mono .tab.is-active .count { background: var(--ink-on-primary); color: var(--primary); }
html.mono .ctaBox a { background: var(--ink-on-primary); color: var(--primary); }
html.mono .toolCard__icon { background: var(--primary) !important; color: var(--ink-on-primary); }
html.mono .readBar { background: var(--primary); }
html.mono .hero::before { background: none; }
html.mono .stat b, html.mono[data-theme] .stat b, html.mono .nf b {
  background: none; -webkit-text-fill-color: currentColor; color: var(--text);
}
html.mono .input:focus, html.mono .search input:focus, html.mono .select:focus, html.mono textarea.input:focus { box-shadow: 0 0 0 3px var(--focus-ring); }
html.mono .toggle input, html.mono input[type="range"] { accent-color: var(--primary); }
html.mono .quickAnswer, html.mono .compareBar { border-color: var(--border-strong); }
/* decorative colour labels become neutral */
html.mono .pill--speed, html.mono .pill--rate { background: var(--surface-3); color: var(--text); }
html.mono .badge--hot, html.mono[data-theme] .badge--hot { background: var(--primary); color: var(--ink-on-primary); }
html.mono .badge--feat, html.mono[data-theme] .badge--feat, html.mono[data-theme] .pill--rate { background: var(--surface-3); color: var(--text); }
