/* =========================================================================
   LIQRADAR.COM — PEPPERSTONE MT5 COPY TRADE SUBSCRIBER PLATFORM
   Full Responsive (360px Mobile -> 1440px+ Desktop) · Zero External Deps
   ========================================================================= */
:root {
  --bg-deep: #050a14;
  --bg-surface: #0b1426;
  --bg-card: #0f1b33;
  --bg-card-hover: #142342;
  --bg-elev: #16284c;
  --border-dim: rgba(56, 89, 148, 0.34);
  --border-bright: rgba(0, 229, 255, 0.48);
  --txt-main: #f8fafc;
  --txt-sec: #cbd5e1;
  --txt-muted: #8ea0be;
  --cyan: #00e5ff;
  --green: #00e676;
  --green-soft: rgba(0, 230, 118, 0.14);
  --red: #ff5252;
  --red-soft: rgba(255, 82, 82, 0.15);
  --gold: #ffd54f;
  --gold-soft: rgba(255, 213, 79, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --max-w: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  background: var(--bg-deep);
  color: var(--txt-main);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(900px 440px at 15% -5%, rgba(0, 229, 255, 0.10), transparent 65%),
    radial-gradient(850px 420px at 88% 4%, rgba(0, 230, 118, 0.08), transparent 65%),
    var(--bg-deep);
}

.site-hdr,
main,
.site-ftr {
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--cyan);
  color: #04101f;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.mono, .tabular {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.pos { color: var(--green) !important; }
.neg { color: var(--red) !important; }
.gold-txt { color: var(--gold) !important; }
.cyan-txt { color: var(--cyan) !important; }
.hidden { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ======================== STICKY HEADER & MOBILE NAV ======================== */
.site-hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 20, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dim);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.13);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.38);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.8px;
  font-weight: 600;
  color: var(--txt-sec);
}
.nav-links a:hover {
  color: var(--cyan);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  padding: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--txt-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-btn.active {
  background: var(--bg-elev);
  color: var(--cyan);
}

.mob-menu-btn {
  display: none;
  background: var(--bg-card);
  color: var(--txt-main);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 16px;
  cursor: pointer;
}

/* ======================== BUTTONS & BADGES ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s, box-shadow 0.14s, background 0.14s, border-color 0.14s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  padding: 7px 13px;
  font-size: 12.8px;
  border-radius: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, #00e676, #00bfa5);
  color: #031510;
  box-shadow: 0 6px 22px rgba(0, 230, 118, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 26px rgba(0, 230, 118, 0.36);
}
.btn-cyan {
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.48);
}
.btn-cyan:hover {
  background: rgba(0, 229, 255, 0.24);
  color: #fff;
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--txt-sec);
  border-color: var(--border-dim);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: #fff;
}

/* ======================== HERO SECTION ======================== */
.hero-sec {
  padding: 54px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: center;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(0, 230, 118, 0.42);
  color: #69f0ae;
  font-size: 12px;
  font-weight: 700;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseAnim 1.8s infinite;
}
@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(15, 27, 51, 0.9);
  border: 1px solid var(--border-dim);
  color: var(--txt-sec);
  font-size: 12px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(28px, 4.1vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
.hero-title .grad {
  background: linear-gradient(92deg, #00e5ff, #00e676 62%, #ffd54f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 16.5px;
  color: var(--txt-sec);
  margin: 0 0 24px;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.2px;
  color: var(--txt-muted);
  background: rgba(11, 20, 38, 0.85);
  border: 1px solid var(--border-dim);
  padding: 6px 11px;
  border-radius: 8px;
}

.hero-kpi-card {
  background: linear-gradient(165deg, rgba(15, 27, 51, 0.96), rgba(9, 17, 34, 0.96));
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}
.hero-grid > *,
.copy-hub-top > *,
.sim-grid > *,
.tiers-grid > *,
.steps-grid > *,
.pairs-grid > *,
.stats-grid > *,
.weeks-grid > *,
.hero-kpi-grid > *,
.sim-out-grid > *,
.form-grid-2 > * {
  min-width: 0;
  max-width: 100%;
}

.hero-kpi-hdr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-dim);
  font-size: 13px;
  font-weight: 700;
  color: var(--txt-sec);
}
.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hkpi-box {
  background: rgba(6, 12, 24, 0.72);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  padding: 13px 14px;
}
.hkpi-val {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}
.hkpi-lbl {
  font-size: 12px;
  color: var(--txt-muted);
  margin-top: 3px;
}
.hero-pair-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--border-dim);
  font-size: 12.2px;
  color: var(--txt-muted);
}

/* ======================== SECTIONS ======================== */
.sec {
  padding: 44px 0;
}
section[id],
main[id] {
  scroll-margin-top: 78px;
}
section[id]:focus,
main[id]:focus {
  outline: none;
}
.sec-hdr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 22px;
}
.sec-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 4px;
}
.sec-title {
  font-size: clamp(22px, 2.8vw, 31px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.sec-desc {
  color: var(--txt-muted);
  font-size: 14.5px;
  margin: 6px 0 0;
  max-width: 680px;
}

.sample-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 9px;
  background: var(--gold-soft);
  border: 1px solid rgba(255, 213, 79, 0.42);
  color: #ffe082;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ======================== COPY TRADE PARTNER & CODE CARD ======================== */
.copy-hub-card {
  background: linear-gradient(155deg, rgba(16, 31, 61, 0.94), rgba(10, 19, 37, 0.96));
  border: 1px solid rgba(0, 230, 118, 0.36);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.copy-hub-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: center;
}
.copy-cta-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

/* ======================== DEDICATED PEPPERSTONE PARTNER QR SHOWCASE ======================== */
.partner-qr-sec {
  padding: 12px 0 36px;
}
.partner-qr-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 28, 56, 0.96) 0%, rgba(7, 15, 30, 0.98) 100%);
  border: 1px solid rgba(0, 229, 255, 0.42);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(0, 230, 118, 0.12);
}
.partner-qr-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.partner-qr-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-size: 11.6px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.44);
  color: var(--green);
}
.partner-qr-heading {
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--txt-main);
}
.partner-qr-lead {
  margin: 0;
  font-size: 14.6px;
  color: var(--txt-sec);
  max-width: 640px;
  line-height: 1.58;
}
.partner-qr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.partner-qr-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  background: rgba(5, 11, 22, 0.82);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  padding: 8px 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.partner-qr-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 14px;
  border-radius: 18px;
  background: rgba(5, 10, 20, 0.82);
  border: 1px solid rgba(0, 229, 255, 0.36);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.partner-qr-figure:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 14px 34px rgba(0, 230, 118, 0.2);
}
.partner-qr-native-box {
  width: 200px;
  height: 200px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-qr-img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.partner-qr-caption {
  font-size: 12.2px;
  font-weight: 700;
  color: var(--cyan);
  text-align: center;
}

@media (max-width: 860px) {
  .partner-qr-showcase {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    padding: 22px 18px;
    gap: 20px;
  }
  .partner-qr-copy {
    align-items: center;
  }
  .partner-qr-eyebrow {
    align-self: center;
  }
  .partner-qr-actions {
    justify-content: center;
    width: 100%;
  }
  .partner-qr-actions .btn {
    width: 100%;
  }
}
.code-copy-box {
  background: rgba(5, 10, 20, 0.85);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.code-copy-lbl {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--txt-muted);
  margin-bottom: 6px;
}
.code-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.code-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.code-sub-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-dim);
  font-size: 12.4px;
  color: var(--txt-sec);
  overflow-wrap: anywhere;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  transition: border-color 0.16s, transform 0.16s;
}
.tier-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.tier-card.recommended {
  border-color: rgba(0, 230, 118, 0.6);
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.18);
}
.rec-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10.8px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.45);
}
.tier-pct {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--cyan);
}
.tier-pct small {
  font-size: 13px;
  color: var(--txt-muted);
  font-weight: 600;
}
.tier-title {
  font-size: 17px;
  font-weight: 800;
  margin: 4px 0 6px;
}
.tier-desc {
  font-size: 13.4px;
  color: var(--txt-sec);
  margin: 0;
}

/* ======================== BALANCE SHEET & EQUITY CHART ======================== */
.period-tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}
.period-tab {
  background: var(--bg-card);
  color: var(--txt-sec);
  border: 1px solid var(--border-dim);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.6px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s;
}
.period-tab:hover {
  color: #fff;
  border-color: var(--cyan);
}
.period-tab.active {
  background: rgba(0, 229, 255, 0.16);
  color: var(--cyan);
  border-color: var(--cyan);
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.chart-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.svg-chart-wrap {
  position: relative;
  width: 100%;
  height: 255px;
  background: rgba(5, 10, 20, 0.62);
  border: 1px solid rgba(56, 89, 148, 0.25);
  border-radius: 12px;
  overflow: hidden;
  touch-action: pan-y;
}
.equity-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.chart-tooltip {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -112%);
  background: rgba(5, 11, 24, 0.95);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11.8px;
  font-family: var(--font-mono);
  color: #f8fafc;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.08s;
  z-index: 8;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.winbar-wrap {
  margin-top: 14px;
}
.winbar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12.4px;
  font-weight: 700;
  margin-bottom: 6px;
}
.winbar-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 82, 82, 0.28);
  overflow: hidden;
}
.winbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #00e676);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  padding: 14px 16px;
}
.stat-lbl {
  font-size: 12px;
  color: var(--txt-muted);
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 800;
  margin-top: 4px;
}
.stat-sub {
  font-size: 11.4px;
  color: var(--txt-muted);
  margin-top: 2px;
}

.pairs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pair-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pair-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  background: rgba(0, 229, 255, 0.13);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
  flex-shrink: 0;
}

/* ======================== TRADES TABLE & 8080-STYLE PAGINATION ======================== */
.panel-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(9, 17, 33, 0.8);
  border-bottom: 1px solid var(--border-dim);
}
.ctrl-select, .ctrl-input {
  background: var(--bg-deep);
  color: var(--txt-main);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12.6px;
  font-family: inherit;
}
.ctrl-select:focus, .ctrl-input:focus {
  outline: none;
  border-color: var(--cyan);
}
.ctrl-select:disabled, .ctrl-input:disabled, input[type="checkbox"]:disabled + span {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.45);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}
.data-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.8px;
}
.data-tbl th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11.4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--txt-muted);
  background: rgba(8, 15, 29, 0.94);
  border-bottom: 1px solid var(--border-dim);
  white-space: nowrap;
}
.data-tbl td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(56, 89, 148, 0.18);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.data-tbl th.num-col,
.data-tbl td.num-col {
  text-align: right;
}
.data-tbl tbody tr:nth-child(even) td {
  background: rgba(8, 16, 32, 0.36);
}
.data-tbl tbody tr:hover td {
  background: rgba(0, 229, 255, 0.07);
}
.res-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.4px;
  font-weight: 800;
}
.res-tp { background: var(--green-soft); color: var(--green); border: 1px solid rgba(0, 230, 118, 0.4); }
.res-sl { background: var(--red-soft); color: var(--red); border: 1px solid rgba(255, 82, 82, 0.4); }

.pager-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 16px;
  background: rgba(8, 15, 29, 0.88);
  border-top: 1px solid rgba(56, 89, 148, 0.26);
  font-size: 12.3px;
  color: var(--txt-sec);
}
.pager-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 12px;
  margin-left: auto;
}
.pager-right > label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.pager-right .ctrl-select {
  min-height: 32px;
  padding: 5px 28px 5px 10px;
  font-size: 12.2px;
}
.pager-btns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.pg-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  color: var(--txt-muted);
  user-select: none;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: var(--bg-card);
  color: var(--txt-sec);
  border: 1px solid var(--border-dim);
  border-radius: 7px;
  padding: 0 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.14s, color 0.14s, background 0.14s;
}
.pg-btn:hover:not(:disabled) {
  border-color: var(--cyan);
  color: #fff;
}
.pg-btn.active {
  background: rgba(0, 229, 255, 0.18);
  color: var(--cyan);
  border-color: var(--cyan);
}
.pg-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

/* ======================== WEEKLY CARDS ======================== */
.weeks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 12px;
}
.week-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 13px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.week-card:hover, .week-card.active {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
}

/* ======================== SIMULATOR SECTION ======================== */
.sim-box {
  background: linear-gradient(160deg, rgba(15, 27, 51, 0.96), rgba(8, 16, 32, 0.96));
  border: 1px solid rgba(0, 229, 255, 0.36);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.chip-btn {
  background: var(--bg-deep);
  color: var(--txt-sec);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 12.6px;
  font-weight: 700;
  cursor: pointer;
}
.chip-btn.active {
  background: rgba(0, 229, 255, 0.16);
  color: var(--cyan);
  border-color: var(--cyan);
}
.sim-out-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

/* ======================== HOW IT WORKS & FAQ ======================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 22px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  margin-bottom: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--cyan);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-ans {
  padding: 0 18px 16px;
  color: var(--txt-sec);
  font-size: 14.2px;
  border-top: 1px solid rgba(56, 89, 148, 0.2);
  padding-top: 12px;
}

/* ======================== FOOTER & LEGAL DISCLAIMER ======================== */
.site-ftr {
  margin-top: 44px;
  padding: 34px 0 42px;
  background: #040811;
  border-top: 1px solid var(--border-dim);
  font-size: 12.8px;
  color: var(--txt-muted);
}
.risk-box {
  background: rgba(15, 27, 51, 0.55);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* ======================== ADMIN FORM GRID ======================== */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.form-lbl {
  display: block;
  font-size: 11.6px;
  font-weight: 700;
  color: var(--txt-muted);
  margin-bottom: 4px;
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 400;
  background: #0c1d38;
  color: #fff;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13.4px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

/* ======================== FULL RESPONSIVE BREAKPOINTS ======================== */
@media (max-width: 980px) {
  .hdr-inner {
    gap: 8px;
    min-height: 58px;
    min-width: 0;
  }
  .hdr-cta-desktop {
    display: none !important;
  }
  .hero-grid,
  .copy-hub-top,
  .sim-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tiers-grid,
  .steps-grid,
  .pairs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 58px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: rgba(6, 12, 24, 0.98);
    border-bottom: 1px solid var(--border-dim);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.68);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(56, 89, 148, 0.16);
  }
  .mob-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 38px;
    height: 36px;
    padding: 0 10px;
    line-height: 1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 68px;
  }
  section[id],
  main[id] {
    scroll-margin-top: 68px;
  }
  .container {
    padding: 0 12px;
  }
  .hdr-inner {
    gap: 6px;
    min-height: 56px;
  }
  .brand-link {
    gap: 7px;
    font-size: 16px;
    min-width: 0;
    flex: 0 1 auto;
  }
  .brand-link img {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }
  .hdr-actions {
    gap: 6px;
    flex: 0 0 auto;
    min-width: 0;
  }
  .lang-switch {
    padding: 2px;
    flex-shrink: 0;
  }
  .lang-btn {
    padding: 4px 7px;
    font-size: 11.5px;
  }
  .mob-menu-btn {
    min-width: 36px;
    height: 34px;
    padding: 0 9px;
    font-size: 16px;
  }
  .hero-sec {
    padding: 28px 0 22px;
  }
  .sec {
    padding: 34px 0;
  }
  .hero-kpi-grid,
  .stats-grid,
  .sim-out-grid,
  .form-grid-2,
  .weeks-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.32;
    max-width: 100%;
    padding: 10px 14px;
    font-size: 13.4px;
  }
  .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
  }
  .hero-cta-row .btn,
  .tg-community-card .btn {
    width: 100%;
  }
  .live-pill,
  .meta-chip,
  .trust-badge,
  .sample-notice,
  .chip-btn {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  .copy-hub-card,
  .hero-kpi-card,
  .sim-box,
  .chart-card,
  .step-card,
  .tier-card,
  .tg-community-card {
    padding: 16px;
  }
  .code-copy-box {
    padding: 13px 14px;
  }
  .code-val {
    font-size: 19px;
  }
  .svg-chart-wrap {
    height: 205px;
  }
  .filter-toolbar {
    padding: 12px;
  }
  .filter-toolbar .ctrl-select {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    max-width: 100%;
  }
  .pager-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
  }
  .pager-right {
    width: 100%;
    justify-content: space-between;
  }
  .toast {
    left: 12px;
    right: 12px;
    bottom: 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-sub,
  .brand-pill {
    display: none;
  }
}

@media (max-width: 350px) {
  .container {
    padding: 0 9px;
  }
  .hdr-actions {
    gap: 4px;
  }
  .lang-btn {
    padding: 4px 5px;
    font-size: 11px;
  }
  .mob-menu-btn {
    min-width: 33px;
    padding: 0 7px;
  }
}


/* ======================== ADMIN LOGIN GATE & FULL EDITOR (v1.2.0) ======================== */
.pager-btns {
  flex-wrap: wrap;
}
.adm-login-card {
  max-width: 420px;
  margin: 12px auto 6px;
  padding: 22px 20px;
  border-radius: 14px;
  background: rgba(8, 17, 34, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.28);
  text-align: center;
}
.adm-session-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.09);
  border: 1px solid rgba(0, 230, 118, 0.32);
  font-size: 12.8px;
}
.adm-details {
  margin-top: 14px;
  border-radius: 12px;
  background: rgba(8, 17, 34, 0.72);
  border: 1px solid var(--border-dim);
  padding: 12px 14px;
}
.adm-details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 13.4px;
  color: var(--cyan);
  user-select: none;
}
.adm-details[open] summary {
  margin-bottom: 12px;
}


/* ======================== LO-FI MUSIC PILL & TELEGRAM COMMUNITY (v1.3.0) ======================== */
.music-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 18, 36, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--txt-sec);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12.2px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s;
}
.music-pill:hover {
  border-color: var(--cyan);
  color: #fff;
}
.music-pill.playing {
  background: rgba(0, 230, 118, 0.14);
  border-color: rgba(0, 230, 118, 0.48);
  color: #00e676;
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.18);
}
.tg-hdr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 136, 204, 0.16);
  border: 1px solid rgba(41, 182, 246, 0.42);
  color: #38bdf8;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12.2px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s;
}
.tg-hdr-pill:hover {
  background: rgba(0, 136, 204, 0.28);
  color: #fff;
}
.tg-community-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.16) 0%, rgba(12, 24, 46, 0.94) 100%);
  border: 1px solid rgba(56, 189, 248, 0.38);
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .tg-hdr-pill span {
    display: none;
  }
  .music-pill .music-txt {
    display: none;
  }
  .music-pill,
  .tg-hdr-pill {
    padding: 0 8px;
    min-width: 34px;
    height: 34px;
    justify-content: center;
    gap: 0;
    flex-shrink: 0;
  }
}
@media (max-width: 350px) {
  .music-pill,
  .tg-hdr-pill {
    min-width: 31px;
    padding: 0 6px;
  }
}

/* ======================== v2.0.0 MINIMAL HEADER, VISUAL HERO, SPARKLINES & INBOX ======================== */
.hdr-inner {
  min-height: 60px;
}

.nav-pill-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(11, 20, 38, 0.82);
  border: 1px solid rgba(56, 89, 148, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.nav-pill-bar > a {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-sec);
  transition: background 0.15s, color 0.15s;
}
.nav-pill-bar > a:hover,
.nav-pill-bar > a.active-route {
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
}

.nav-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--txt-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-more-btn:hover,
.nav-more-wrap.open .nav-more-btn {
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
}
.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 176px;
  padding: 6px;
  border-radius: 13px;
  background: rgba(8, 16, 32, 0.98);
  border: 1px solid rgba(0, 229, 255, 0.34);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.62);
  flex-direction: column;
  gap: 2px;
  z-index: 140;
}
.nav-more-wrap.open .nav-more-menu {
  display: flex;
}
.nav-more-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-sec);
}
.nav-more-menu a:hover {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.icon-only-pill {
  width: 34px;
  height: 34px;
  padding: 0 !important;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
}

.hero-sec {
  padding: 36px 0 28px;
}
.hero-title {
  font-size: clamp(25px, 3.3vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.hero-lead {
  font-size: 15px;
  line-height: 1.52;
  color: var(--txt-sec);
  margin: 0 0 18px;
  max-width: 530px;
}
.hero-cta-row {
  margin-bottom: 18px;
  gap: 10px;
}

.hero-visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.hv-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(11, 21, 40, 0.82);
  border: 1px solid rgba(56, 89, 148, 0.32);
  font-size: 12px;
  font-weight: 700;
  color: var(--txt-sec);
  min-width: 0;
}
.hv-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(5, 11, 22, 0.85);
  border: 1px solid rgba(56, 89, 148, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hkpi-fee-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.38);
  color: #00e676;
  font-size: 11.6px;
}

.hkpi-spark-box {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(6, 13, 27, 0.88), rgba(4, 9, 19, 0.94));
  border: 1px solid rgba(0, 229, 255, 0.24);
  padding: 12px 14px 4px;
  margin-bottom: 11px;
  overflow: hidden;
}
.hkpi-spark-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}
.hkpi-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.6px;
  font-weight: 800;
  background: rgba(0, 230, 118, 0.12);
  color: #69f0ae;
  border: 1px solid rgba(0, 230, 118, 0.32);
}
.hkpi-spark-svg {
  width: 100%;
  height: 68px;
  display: block;
}

.hero-kpi-grid-3 {
  grid-template-columns: 1.25fr 0.88fr 0.88fr;
  gap: 9px;
}
.hkpi-ring-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
}
.wr-ring-svg {
  flex-shrink: 0;
}

.hkpi-pair-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pair-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.4px;
  font-weight: 700;
  background: rgba(0, 229, 255, 0.11);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--txt-main);
}

/* Tier visual meters & sparklines */
.tier-meter-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(56, 89, 148, 0.24);
  overflow: hidden;
  margin: 10px 0 8px;
}
.tier-meter-fill {
  height: 100%;
  border-radius: 999px;
}
.tier-sim-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  margin-top: 10px;
  border-radius: 10px;
  background: rgba(5, 11, 22, 0.72);
  border: 1px solid rgba(56, 89, 148, 0.24);
}
.tier-spark-svg {
  width: 96px;
  height: 30px;
  flex-shrink: 0;
}

/* QR Visual Badges */
.qr-visual-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qr-vbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: var(--txt-main);
}

/* Sim basis bar & Stat card accents */
.sim-basis-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 9px 14px;
  border-radius: 11px;
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.24);
  font-size: 12.6px;
  color: var(--txt-sec);
}
.stat-acc-cyan { border-top: 2px solid rgba(0, 229, 255, 0.55); }
.stat-acc-green { border-top: 2px solid rgba(0, 230, 118, 0.55); }
.stat-acc-gold { border-top: 2px solid rgba(255, 213, 79, 0.55); }
.stat-acc-red { border-top: 2px solid rgba(255, 82, 82, 0.55); }

.pair-ratio-bar {
  height: 5px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 82, 82, 0.34);
  overflow: hidden;
  margin-top: 6px;
}
.pair-ratio-fill {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #00e676);
  border-radius: 999px;
}

.side-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11.2px;
  font-weight: 800;
}
.side-long {
  background: rgba(0, 230, 118, 0.13);
  color: var(--green);
}
.side-short {
  background: rgba(255, 82, 82, 0.14);
  color: var(--red);
}

/* Weekly sparklines */
.week-spark-svg {
  width: 100%;
  height: 36px;
  display: block;
  margin: 6px 0;
}
.week-tpsl-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 82, 82, 0.32);
  overflow: hidden;
  margin-top: 7px;
}
.week-tpsl-fill {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
}

/* 3-Step Visual Stage */
.step-visual-card {
  position: relative;
  overflow: hidden;
}
.step-svg-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56, 89, 148, 0.22);
}
.step-svg-stage .step-num {
  margin-bottom: 0;
}

/* Dual Contact & 2-Column FAQ */
.contact-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.compact-contact-card {
  margin-bottom: 0 !important;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-lg);
}
.email-contact-card {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.12) 0%, rgba(12, 24, 46, 0.95) 100%);
  border: 1px solid rgba(0, 230, 118, 0.36);
}
.contact-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.contact-svg-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tg-badge-bg {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.36);
}
.mail-badge-bg {
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.36);
}
.dept-mail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.dept-mail-pill {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(5, 11, 22, 0.72);
  color: var(--txt-sec);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.dept-mail-pill:hover,
.dept-mail-pill.active {
  border-color: rgba(0, 230, 118, 0.55);
  background: rgba(0, 230, 118, 0.14);
  color: #eafff5;
}
.addr-sender-map-box {
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(6, 14, 28, 0.85);
  border: 1px dashed rgba(0, 229, 255, 0.34);
}
.addr-map-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.addr-map-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(12, 24, 46, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 12.2px;
}
.gmail-reader-sender-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(0, 230, 118, 0.07);
  border: 1px solid rgba(0, 230, 118, 0.25);
}

/* Authenticator TOTP 2FA UI */
.totp-status-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}
.totp-status-pill.on {
  background: rgba(0, 230, 118, 0.16);
  border: 1px solid rgba(0, 230, 118, 0.45);
  color: #00e676;
}
.totp-status-pill.off {
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--txt-sec);
}
.totp-code-input {
  letter-spacing: 0.22em;
  font-size: 17px !important;
  font-weight: 800;
  text-align: center;
  border-color: rgba(0, 230, 118, 0.48) !important;
}
.totp-setup-card,
.totp-manage-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(5, 12, 24, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.34);
}
.totp-setup-grid {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.totp-qr-stage {
  width: 196px;
  height: 196px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.totp-qr-stage svg {
  width: 100%;
  height: 100%;
  display: block;
}
.totp-secret-pill {
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.32);
  color: var(--cyan);
  font-size: 12.6px;
  letter-spacing: 0.08em;
  word-break: break-all;
}
.totp-backups-card {
  margin-top: 12px;
  padding: 13px;
  border-radius: 12px;
  background: rgba(255, 213, 79, 0.07);
  border: 1px dashed rgba(255, 213, 79, 0.48);
}
.totp-backup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 7px;
}
.totp-backup-item {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(5, 11, 22, 0.88);
  border: 1px solid rgba(255, 213, 79, 0.3);
  color: #fff8e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 640px) {
  .totp-setup-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
}

.faq-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

/* Admin Gmail-Grade Webmail UI (v2.1) */
.gmail-top-hdr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.gmail-top-search-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 360px;
  justify-content: flex-end;
}
.gmail-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 240px;
  max-width: 420px;
  background: rgba(5, 11, 22, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  padding: 0 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gmail-search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.14);
}
.gmail-search-ico {
  font-size: 13px;
  opacity: 0.75;
  margin-right: 7px;
}
.gmail-search-inp {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--txt-main);
  font-size: 12.6px;
  padding: 8px 4px;
}
.gmail-search-clr {
  background: transparent;
  border: none;
  color: var(--txt-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 5px;
}
.gmail-shell {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.gmail-sidebar {
  background: rgba(5, 11, 23, 0.78);
  border: 1px solid var(--border-dim);
  border-radius: 14px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gmail-compose-cta {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 230, 118, 0.5);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.22), rgba(0, 229, 255, 0.16));
  color: #eafff5;
  font-weight: 800;
  font-size: 13.2px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s, box-shadow 0.15s;
}
.gmail-compose-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 230, 118, 0.18);
}
.gmail-folder-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gmail-folder-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--txt-sec);
  font-size: 12.6px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, color 0.12s;
}
.gmail-folder-btn:hover {
  background: rgba(56, 189, 248, 0.08);
  color: var(--txt-main);
}
.gmail-folder-btn.active {
  background: rgba(0, 229, 255, 0.14);
  border-color: rgba(0, 229, 255, 0.34);
  color: #ffffff;
  font-weight: 800;
}
.gmail-folder-cnt {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--txt-sec);
}
.gmail-folder-btn.active .gmail-folder-cnt {
  background: rgba(0, 230, 118, 0.24);
  color: #00e676;
}
.gmail-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gmail-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 11px;
  background: rgba(5, 11, 22, 0.78);
  border: 1px solid var(--border-dim);
}
.gmail-bulk-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gmail-chk-wrap {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 2px 4px;
}
.gmail-bulk-btns {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.gmail-icon-btn {
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 26, 46, 0.75);
  color: var(--txt-sec);
  font-size: 11.7px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.gmail-icon-btn:hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(0, 229, 255, 0.12);
}
.gmail-icon-btn.primary {
  border-color: rgba(0, 230, 118, 0.45);
  background: rgba(0, 230, 118, 0.14);
  color: #00e676;
}
.gmail-icon-btn.danger:hover {
  border-color: #ff5252;
  color: #ff8a80;
  background: rgba(255, 82, 82, 0.12);
}
.gmail-filter-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.gmail-chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: transparent;
  color: var(--txt-muted);
  font-size: 11.4px;
  font-weight: 600;
  cursor: pointer;
}
.gmail-chip.active {
  background: rgba(0, 229, 255, 0.16);
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--cyan);
}
.gmail-sort-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(7, 15, 29, 0.78);
  border: 1px solid rgba(56, 89, 148, 0.28);
}
.gmail-sf-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.gmail-sf-select {
  padding: 5px 9px;
  font-size: 11.8px;
  border-radius: 7px;
}
.gmail-sf-right {
  font-size: 11.6px;
  color: var(--txt-muted);
  white-space: nowrap;
}
.gmail-pager-bar {
  border-radius: 10px;
  border: 1px solid var(--border-dim);
  padding: 9px 13px;
}
.inbox-list.gmail-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 540px;
  overflow-y: auto;
}
.inbox-item {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(6, 13, 26, 0.82);
  border: 1px solid var(--border-dim);
  cursor: pointer;
  transition: border-color 0.14s, background 0.14s;
}
.inbox-item:hover,
.inbox-item.active {
  border-color: var(--cyan);
  background: rgba(14, 28, 54, 0.94);
}
.inbox-item.unread {
  border-left: 3px solid var(--green);
  background: rgba(10, 24, 46, 0.95);
}
.gmail-row-grid {
  display: grid;
  grid-template-columns: auto auto minmax(120px, 185px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}
.gmail-star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 2px;
  color: #64748b;
  transition: transform 0.12s, color 0.12s;
}
.gmail-star-btn.starred {
  color: #fbbf24;
}
.gmail-star-btn:hover {
  transform: scale(1.18);
}
.gmail-row-sender {
  font-size: 12.6px;
  color: var(--txt-sec);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-item.unread .gmail-row-sender,
.inbox-item.unread .gmail-row-subj {
  font-weight: 800;
  color: #ffffff;
}
.gmail-row-center {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gmail-row-line1 {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.gmail-row-subj {
  font-size: 12.6px;
  color: var(--txt-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  max-width: 56%;
}
.gmail-row-snip {
  font-size: 12px;
  color: var(--txt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gmail-att-pills-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.gmail-att-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #bae6fd;
  font-size: 11px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gmail-row-date {
  font-size: 11.2px;
  color: var(--txt-muted);
  white-space: nowrap;
  text-align: right;
}

/* Gmail Reader Pane */
.gmail-reader {
  padding: 15px;
  border-radius: 13px;
  background: rgba(6, 13, 26, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gmail-reader-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dim);
}
.gmail-reader-subj-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.gmail-reader-subj {
  margin: 0;
  font-size: 17px;
  color: #ffffff;
  word-break: break-word;
}
.gmail-folder-tag {
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--cyan);
}
.gmail-reader-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(11, 22, 42, 0.72);
}
.gmail-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff, #00e676);
  color: #04101f;
  font-weight: 900;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gmail-meta-lines {
  flex: 1;
  min-width: 180px;
}
.gmail-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}
.gmail-meta-date {
  font-size: 11.4px;
  color: var(--txt-muted);
}
.gmail-meta-sub {
  font-size: 11.8px;
  color: var(--txt-muted);
  margin-top: 2px;
  word-break: break-all;
}
.gmail-reader-body-wrap {
  border-radius: 10px;
  background: rgba(4, 9, 19, 0.78);
  border: 1px solid var(--border-dim);
  padding: 14px;
  overflow-x: auto;
}
.gmail-html-frame {
  width: 100%;
  min-height: 240px;
  border: none;
  border-radius: 8px;
  background: #ffffff;
}
.gmail-plain-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13.3px;
  line-height: 1.62;
  color: var(--txt-main);
}

/* Reader Attachment Cards */
.gmail-att-section {
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(10, 22, 43, 0.85);
  border: 1px dashed rgba(0, 229, 255, 0.38);
}
.gmail-att-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12.4px;
  color: var(--cyan);
  margin-bottom: 9px;
}
.gmail-att-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 9px;
}
.gmail-att-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(5, 11, 22, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  transition: border-color 0.14s;
}
.gmail-att-card:hover {
  border-color: var(--cyan);
}
.gmail-att-thumb {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.gmail-att-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.gmail-att-ico {
  font-size: 20px;
  flex-shrink: 0;
}
.gmail-att-name {
  font-size: 12.2px;
  font-weight: 700;
  color: var(--txt-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gmail-att-sz {
  font-size: 11px;
  color: var(--txt-muted);
}
.gmail-att-actions {
  display: flex;
  gap: 6px;
}
.gmail-att-actions .gmail-icon-btn {
  flex: 1;
  text-align: center;
}

/* Gmail Rich Compose Drawer */
.gmail-compose {
  padding: 15px;
  border-radius: 13px;
  background: rgba(5, 11, 22, 0.95);
  border: 1px solid rgba(0, 230, 118, 0.42);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gmail-compose-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-dim);
}
.gmail-compose-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gmail-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(11, 21, 40, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.gmail-field-row label {
  min-width: 58px;
  font-size: 11.8px;
  font-weight: 700;
  color: var(--txt-muted);
}
.gmail-field-inp {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--txt-main);
  font-size: 12.8px;
  padding: 4px 2px;
}
.gmail-cc-toggles {
  display: inline-flex;
  gap: 6px;
}
.gmail-link-btn {
  background: transparent;
  border: none;
  color: var(--cyan);
  font-size: 11.8px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 5px;
}
.gmail-link-btn:hover {
  text-decoration: underline;
}
.gmail-fmt-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(12, 24, 46, 0.85);
  border: 1px solid var(--border-dim);
}
.gmail-fmt-btn {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--txt-sec);
  font-size: 12px;
  cursor: pointer;
}
.gmail-fmt-btn:hover {
  background: rgba(0, 229, 255, 0.14);
  border-color: rgba(0, 229, 255, 0.3);
  color: #fff;
}
.gmail-fmt-sep {
  width: 1px;
  height: 16px;
  background: var(--border-dim);
  margin: 0 3px;
}
.gmail-rich-editor {
  min-height: 150px;
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  border-radius: 9px;
  background: rgba(3, 8, 18, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: var(--txt-main);
  font-size: 13.4px;
  line-height: 1.58;
  outline: none;
}
.gmail-rich-editor:focus {
  border-color: var(--cyan);
}
.gmail-rich-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--txt-muted);
  pointer-events: none;
}
.gmail-rich-editor blockquote {
  margin: 6px 0;
  padding-left: 10px;
  border-left: 3px solid var(--cyan);
  color: var(--txt-sec);
}
.gmail-quoted-wrap {
  font-size: 12px;
  color: var(--txt-muted);
}
.gmail-quoted-wrap summary {
  cursor: pointer;
  user-select: none;
  color: var(--cyan);
  margin-bottom: 6px;
}
.gmail-quoted-body {
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(9, 18, 34, 0.8);
  border-left: 3px solid rgba(0, 229, 255, 0.4);
  max-height: 150px;
  overflow-y: auto;
  white-space: pre-wrap;
  font-size: 12px;
}
.gmail-dropzone {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 229, 255, 0.38);
  background: rgba(8, 18, 36, 0.65);
  transition: border-color 0.15s, background 0.15s;
}
.gmail-dropzone.dragover {
  border-color: #00e676;
  background: rgba(0, 230, 118, 0.12);
}
.gmail-drop-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.2px;
  color: var(--txt-sec);
  cursor: pointer;
}
.gmail-compose-atts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.gmail-compose-atts:empty {
  margin-top: 0;
}
.gmail-compose-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  font-size: 12px;
  color: #e0f7fa;
  max-width: 100%;
}
.gmail-compose-chip-name {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.gmail-compose-chip-rm {
  background: transparent;
  border: none;
  color: #ff8a80;
  cursor: pointer;
  font-weight: 800;
  padding: 0 3px;
}
.gmail-compose-ftr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
}

/* Attachment Lightbox Modal */
.gmail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.gmail-modal.hidden {
  display: none !important;
}
.gmail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.84);
  backdrop-filter: blur(5px);
}
.gmail-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #071122;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
  overflow: hidden;
}
.gmail-modal-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-dim);
}
.gmail-modal-body {
  padding: 14px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  max-height: calc(90vh - 68px);
}
.gmail-modal-body img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 8px;
  object-fit: contain;
}
.gmail-modal-body iframe {
  width: 100%;
  height: 75vh;
  border: none;
  border-radius: 8px;
  background: #fff;
}
.gmail-modal-body pre {
  width: 100%;
  max-height: 72vh;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: rgba(3, 8, 18, 0.95);
  color: #e2e8f0;
  font-size: 12.2px;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 980px) {
  .gmail-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .gmail-folder-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .gmail-folder-btn {
    width: auto;
    flex: 1 1 auto;
  }
  .gmail-row-grid {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }
  .gmail-row-center {
    grid-column: 1 / -1;
    padding-left: 26px;
  }
  .gmail-row-subj {
    max-width: 100%;
  }
  .nav-links,
  .nav-pill-bar {
    display: none;
    border-radius: 0;
    background: rgba(6, 12, 24, 0.98);
  }
  .nav-links.open,
  .nav-pill-bar.open {
    display: flex;
  }
  .nav-pill-bar > a,
  .nav-more-menu a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.8px;
  }
  .nav-more-btn {
    display: none !important;
  }
  .nav-more-wrap,
  .nav-more-menu {
    display: contents !important;
  }
  .hero-visual-strip,
  .contact-visual-grid,
  .faq-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .qr-visual-badges {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-kpi-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .compact-contact-card {
    padding: 15px;
  }
}

/* =========================================================================
   v2.8.0 FULL-SITE RESPONSIVE AMBIENT BACKDROP (ZERO CARD IMAGES · 60FPS FIXED)
   Desktop/Landscape -> site-bg-desktop.webp (16:9, 1920x1080)
   Mobile/Portrait   -> site-bg-mobile.webp  (9:16, 900x1600)
   ========================================================================= */
body {
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -2;
  pointer-events: none;
  background-color: var(--bg-deep);
  background-image: url("/assets/img/site-bg-desktop.webp?v=2.9.0");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.92;
  transform: translateZ(0);
  will-change: transform;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.04) 0%, rgba(5, 10, 20, 0.22) 100%);
}

/* Translucent sapphire-glass card surfaces (zero card-level images) */
.hero-kpi-card,
.copy-hub-card,
.partner-qr-showcase,
.sim-box,
.step-card,
.tier-card,
.compact-contact-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-kpi-card {
  background: linear-gradient(165deg, rgba(13, 25, 48, 0.82), rgba(7, 14, 29, 0.88));
}
.copy-hub-card {
  background: linear-gradient(155deg, rgba(14, 28, 56, 0.80), rgba(9, 17, 34, 0.86));
}
.partner-qr-showcase {
  background: linear-gradient(145deg, rgba(12, 26, 52, 0.80) 0%, rgba(7, 15, 30, 0.88) 100%);
}
.step-card,
.tier-card {
  background: rgba(13, 24, 46, 0.80);
}

/* Portrait phones & portrait tablets -> native 9:16 vertical composition (zero horizontal crop) */
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  body::before {
    background-image: url("/assets/img/site-bg-mobile.webp?v=2.9.0");
    background-position: center top;
    background-size: cover;
    opacity: 0.92;
  }
}

/* Ultrawide 21:9+ displays -> keep upper glass horizon gracefully framed */
@media (min-aspect-ratio: 21/9) {
  body::before {
    background-position: center 20%;
  }
}

/* =========================================================================
   v2.8.1 FULL RESPONSIVE PAGINATION BAR (TABLET 2-ZONE & MOBILE SYMMETRICAL)
   ========================================================================= */
@media (max-width: 880px) {
  .pager-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
  }
  .pager-right {
    display: contents;
  }
  .pager-right > label {
    justify-self: end;
  }
  .pager-bar .pager-btns {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding-top: 9px;
    border-top: 1px solid rgba(56, 89, 148, 0.2);
  }
}

@media (max-width: 560px) {
  .pager-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }
  #trd-pager-info,
  #adm-mail-pager-info {
    text-align: center;
    font-size: 12px;
    line-height: 1.42;
  }
  .pager-right > label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    justify-self: stretch;
    width: 100%;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(5, 11, 22, 0.58);
    border: 1px solid rgba(56, 89, 148, 0.26);
  }
  .pager-right > label .ctrl-select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 220px;
  }
  .pager-bar .pager-btns {
    padding-top: 2px;
    border-top: none;
    flex-wrap: nowrap;
    gap: 4px;
    max-width: 100%;
  }
  .pg-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 8px;
    flex: 0 1 auto;
  }
}

@media (max-width: 440px) {
  .pg-btn.pg-edge {
    display: none;
  }
  .pg-btn {
    min-width: 31px;
    height: 32px;
    padding: 0 6px;
    font-size: 11.6px;
  }
  .pg-ellipsis {
    padding: 0 2px !important;
    font-size: 11px;
  }
}
