/* ============================================================
   Clipply — Features page (layered on top of styles.css)
   Clean, calm, matched to the landing page.
   ============================================================ */

:root {
  --feat-card: rgba(255,255,255,0.98);
  --feat-border: rgba(11,20,55,0.08);
  --feat-shadow: 0 30px 70px -28px rgba(20,60,158,0.20), 0 8px 22px -8px rgba(11,20,55,0.06);
  --feat-shadow-sm: 0 8px 22px -10px rgba(11,20,55,0.10);
}

/* ----- Reusable heading rhythm ----- */
.fx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-700);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30,91,230,0.06);
  border: 1px solid rgba(30,91,230,0.14);
}
.fx-eyebrow .pip {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(30,91,230,0.18);
}
.fx-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 18px 0 16px;
  color: var(--ink-900);
}
.fx-h2 .accent {
  background: linear-gradient(120deg, var(--blue-500), var(--blue-700) 50%, var(--violet-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fx-sub {
  font-size: 17px; line-height: 1.55; color: var(--ink-500); max-width: 620px; margin: 0;
}

/* ----- Section scaffolding ----- */
.fx-section {
  position: relative;
  z-index: 2;
  padding: 110px 0;
}
.fx-section .container { position: relative; z-index: 2; }
.fx-section.slab { background: rgba(255,255,255,0.55); }

@media (max-width: 900px) {
  .fx-section { padding: 70px 0; }
}

/* ============================================================
   STICKY CATEGORY PILL NAV
   ============================================================ */
.fx-pillnav-wrap {
  position: sticky;
  top: 78px;
  z-index: 30;
  padding: 12px 0;
  display: flex; justify-content: center;
  pointer-events: none;
}
.fx-pillnav {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 14px 32px -16px rgba(11,20,55,0.18);
  max-width: calc(100% - 32px);
  overflow-x: auto;
}
.fx-pillnav::-webkit-scrollbar { display: none; }
.fx-pillnav button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  white-space: nowrap;
  transition: color 180ms ease, background 200ms ease;
}
.fx-pillnav button:hover { color: var(--ink-900); }
.fx-pillnav button.on {
  color: white;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 6px 16px -6px rgba(30,91,230,0.55);
}

/* ============================================================
   FEATURES HERO — centered copy, full-width dashboard below
   ============================================================ */
.fx-hero {
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
}
.fx-hero-text {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.fx-hero-text .fx-eyebrow { display: inline-flex; }
.fx-hero-text .fx-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 22px 0 22px;
  color: var(--ink-900);
}
.fx-hero-text .fx-h1 .accent {
  background: linear-gradient(120deg, var(--blue-500), var(--blue-700) 50%, var(--violet-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fx-hero-text .fx-sub {
  font-size: 18px;
  margin: 0 auto 28px;
  max-width: 660px;
}

.fx-hero .hero-ctas { justify-content: center; }

.fx-hero-meta {
  display: inline-flex; gap: 40px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px dashed var(--border);
  justify-content: center;
}
.fx-hero-meta .it { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.fx-hero-meta .it b {
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--ink-900), var(--blue-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fx-hero-meta .it span { font-size: 12.5px; color: var(--ink-500); }

/* Full-width dashboard mock w/ browser chrome */
.fx-hero-text-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 60px;
}
.fx-hero-text { /* defined just above; centered */ }

/* Floating feature chips (laptop/desktop only) */
.fx-float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow:
    0 18px 40px -16px rgba(20,60,158,0.30),
    0 4px 12px -4px rgba(11,20,55,0.08);
  z-index: 3;
  will-change: transform;
}
.fx-float-chip .fc-ico {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 6px 14px -6px rgba(30,91,230,0.4);
  flex-shrink: 0;
}
.fx-float-chip .fc-t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.fx-float-chip .fc-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--violet-500);
  margin-top: 2px;
  font-weight: 600;
  white-space: nowrap;
}
.fx-float-chip .fc-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 20px; margin-top: 4px;
}
.fx-float-chip .fc-bars i {
  display: block;
  width: 4px; height: var(--h, 50%);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-700));
  transition: height 0.6s ease;
}
.fx-float-chip .fc-flags {
  font-size: 13px;
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.fx-float-chip .fc-line {
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.fx-float-chip .fc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(31,180,122,0.25);
}

/* Position the chips around the hero text */
.fx-float-chip.fc-tl { top: -10px;   left: -30px; }
.fx-float-chip.fc-tr { top: 14px;    right: -30px; }
.fx-float-chip.fc-bl { bottom: 22px; left: -50px; }
.fx-float-chip.fc-br { bottom: 0;    right: -40px; }

/* Hide chips on mobile/tablet */
@media (max-width: 1100px) {
  .fx-float-chip { display: none !important; }
  .fx-hero-text-wrap { margin-bottom: 40px; }
}

.fx-hero-dash {
  max-width: 1180px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 50px 120px -30px rgba(20,60,158,0.28),
    0 18px 40px -16px rgba(11,20,55,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.5);
  overflow: hidden;
  position: relative;
}
.fx-dash-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #FAFBFE, #F1F4FB);
  border-bottom: 1px solid var(--border);
}
.fx-dash-chrome .dots { display: flex; gap: 6px; }
.fx-dash-chrome .dots i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink-200);
  display: block;
}
.fx-dash-chrome .dots i:nth-child(1) { background: #FF7065; }
.fx-dash-chrome .dots i:nth-child(2) { background: #FFC53A; }
.fx-dash-chrome .dots i:nth-child(3) { background: #28C840; }
.fx-dash-chrome .fx-dash-url {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-500);
  max-width: 460px;
  margin: 0 auto;
}
.fx-dash-chrome .fx-dash-url svg { color: var(--green-500); }
.fx-dash-chrome .fx-dash-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6E5BF0, #E94B8A);
  color: white;
}
.fx-dash-frame {
  padding: 18px;
  background: #F7F8FE;
}
.fx-dash-frame .rd-wrap {
  box-shadow: 0 12px 30px -12px rgba(11,20,55,0.12), 0 4px 12px -4px rgba(11,20,55,0.06);
  border-radius: 16px;
}

@media (max-width: 900px) {
  .fx-hero-meta { gap: 24px; }
  .fx-hero-text { margin-bottom: 40px; }
  .fx-dash-frame { padding: 10px; }
  .fx-dash-chrome { padding: 10px 12px; }
  .fx-dash-chrome .fx-dash-url { font-size: 10.5px; }
}

/* ============================================================
   REAL DASHBOARD (matches the app screenshot)
   ============================================================ */
.rd-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 40px 100px -30px rgba(20,60,158,0.30), 0 12px 30px -12px rgba(11,20,55,0.10);
  overflow: hidden;
  font-size: 12px;
  min-height: 720px;
}

/* Sidebar */
.rd-side {
  background: white;
  border-right: 1px solid var(--border-2);
  padding: 18px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.rd-brand { padding: 4px 10px 14px; }
.rd-brand img { height: 32px; width: auto; display: block; }
.rd-section {
  margin: 18px 10px 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.rd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.rd-item:hover { background: var(--ink-50); color: var(--blue-700); }
.rd-item.on {
  background: rgba(30,91,230,0.08);
  color: var(--blue-700);
}
.rd-item svg { color: var(--ink-400); }
.rd-item.on svg { color: var(--blue-600); }

/* Main */
.rd-main {
  padding: 14px 18px 18px;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}

/* Top bar */
.rd-topbar {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 12px;
  align-items: center;
}
.rd-burger {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  display: grid; place-items: center; gap: 3px;
  cursor: pointer;
}
.rd-burger i {
  display: block;
  width: 14px; height: 1.6px; border-radius: 2px;
  background: var(--ink-700);
}
.rd-search {
  display: flex; align-items: center; gap: 10px;
  height: 36px;
  padding: 0 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink-400);
  font-size: 12px;
  min-width: 0;
  white-space: nowrap; overflow: hidden;
}
.rd-search span { overflow: hidden; text-overflow: ellipsis; }
.rd-avatar {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6E5BF0, #1E5BE6);
  color: white;
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px;
  font-family: var(--font-display);
}
.rd-avatar .rd-online {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 10px; height: 10px;
  background: #1FB47A;
  border: 2px solid white;
  border-radius: 50%;
}

/* Tabs */
.rd-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  color: var(--ink-500);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}
.rd-tab:hover { background: var(--ink-50); color: var(--ink-900); }
.rd-tab.on {
  background: var(--blue-600);
  color: white;
  border-color: var(--blue-600);
  box-shadow: 0 4px 10px -4px rgba(30,91,230,0.45);
}
.rd-tab.on svg { color: white; }

/* KPI grid */
.rd-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.rd-kpi {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
  min-height: 130px;
  position: relative;
}
.rd-kpi-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.rd-kpi-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: grid; place-items: center;
}
.rd-kpi-tag {
  font-size: 9px; font-weight: 800; letter-spacing: 0.1em;
  padding: 3px 7px; border-radius: 6px;
  text-transform: uppercase;
}
.rd-kpi-lbl {
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-400); font-weight: 700;
}
.rd-kpi-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1;
}
.rd-kpi-sub {
  font-size: 10px; color: var(--ink-400); margin-top: 2px;
}
.rd-kpi-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(11,20,55,0.06);
  margin-top: auto;
  overflow: hidden;
}
.rd-kpi-bar i {
  display: block; height: 100%; border-radius: 2px;
  transform-origin: left;
}
.rd-kpi-spark {
  width: 100%; height: 30px;
  margin-top: auto;
}
.rd-kpi-subtag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--orange-500);
  margin-top: 4px;
}
.rd-kpi-delta {
  font-size: 10px; font-weight: 600;
  margin-top: 4px;
}

/* Action row */
.rd-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.rd-act {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  background: white;
  border: 1px solid var(--border);
  color: var(--blue-700);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}
.rd-act:hover { border-color: var(--blue-300); background: var(--blue-50); }
.rd-act.primary {
  background: var(--blue-600); color: white; border-color: var(--blue-600);
  box-shadow: 0 6px 16px -6px rgba(30,91,230,0.45);
}
.rd-act.primary:hover { background: var(--blue-700); }

/* Charts row */
.rd-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 12px;
}
.rd-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.rd-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 8px; flex-wrap: wrap;
}
.rd-card-head h4 {
  margin: 0; font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-900);
}
.rd-card-head h4 svg { color: var(--blue-600); }
.rd-muted { color: var(--ink-400); font-weight: 500; font-size: 12px; }
.rd-tag-soft {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  background: var(--ink-50); color: var(--ink-500);
  padding: 4px 8px; border-radius: 6px; text-transform: uppercase;
}
.rd-link-btn {
  margin-left: auto;
  font-size: 12px; font-weight: 600; color: var(--blue-700);
  background: rgba(30,91,230,0.06);
  border: 1px solid rgba(30,91,230,0.18);
  padding: 5px 10px; border-radius: 8px;
  cursor: pointer;
}

/* Recent activity list */
.rd-recent-list { display: flex; flex-direction: column; gap: 4px; max-height: 220px; overflow: hidden; }
.rd-recent-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--border-2);
}
.rd-recent-row:last-child { border-bottom: none; }
.rd-recent-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.rd-recent-text { min-width: 0; }
.rd-recent-line { font-size: 12px; color: var(--ink-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-recent-line b { color: var(--ink-900); font-weight: 600; }
.rd-recent-sub { font-size: 10.5px; color: var(--blue-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-recent-time { font-size: 10px; color: var(--ink-400); margin-top: 1px; }

/* Bottom row */
.rd-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rd-link-row {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  gap: 10px;
  padding: 8px 6px;
  font-size: 12px;
  border-bottom: 1px solid var(--border-2);
  align-items: center;
}
.rd-link-row:last-child { border-bottom: none; }
.rd-link-rank {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,197,58,0.18); color: #B58400;
  display: grid; place-items: center;
  font-weight: 800; font-size: 10px;
}
.rd-link-ico {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid; place-items: center;
}
.rd-link-url { color: var(--blue-700); font-family: var(--font-mono); font-weight: 600; }
.rd-link-clicks { font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.rd-link-delta { color: var(--green-500); font-weight: 700; }
.rd-link-msg { color: var(--ink-500); font-size: 11.5px; }

/* Responsive dashboard */
@media (max-width: 1200px) {
  .rd-kpis { grid-template-columns: repeat(3, 1fr); }
  .rd-bottom { grid-template-columns: 1fr; }
  .rd-charts { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rd-wrap { grid-template-columns: 1fr; min-height: auto; }
  .rd-side { display: none; }
  .rd-kpis { grid-template-columns: repeat(2, 1fr); }
  .rd-tabs .rd-tab { font-size: 11px; padding: 7px 10px; }
}

/* ============================================================
   SMART TRACKING + CAMPAIGN
   ============================================================ */
.fx-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: 60px;
  align-items: center;
}
.fx-split.rev { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }

@media (max-width: 1100px) {
  .fx-split, .fx-split.rev { grid-template-columns: 1fr; gap: 40px; }
  .fx-split.rev > *:first-child { order: 2; }
  .fx-split.rev > *:last-child { order: 1; }
}

.smart-link-stage {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--feat-shadow);
  overflow: hidden;
  padding: 22px;
  min-height: 460px;
}
.smart-link-stage .stage-hd {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-500); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.smart-link-stage .stage-hd .dots i {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-200); margin-right: 4px;
}
.smart-link-stage .stage-hd .dots i:nth-child(1){background:#FF7065;}
.smart-link-stage .stage-hd .dots i:nth-child(2){background:#FFC53A;}
.smart-link-stage .stage-hd .dots i:nth-child(3){background:#28C840;}

.sl-input {
  background: var(--ink-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-700);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  min-height: 44px;
}
.sl-input .lbl { color: var(--ink-400); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; flex-shrink: 0; }
.sl-input .val { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.sl-output {
  background: linear-gradient(180deg, #EEF3FF, #DDE6FF);
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 22px -10px rgba(30,91,230,0.30);
  margin-bottom: 18px;
}
.sl-output .badge {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em;
  background: var(--blue-600); color: white;
  padding: 4px 8px; border-radius: 6px; flex-shrink: 0;
}
.sl-output .short {
  flex: 1; font-family: var(--font-mono); font-weight: 700;
  font-size: 15px; color: var(--blue-700);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.sl-output .copy {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--blue-200);
  color: var(--blue-700); font-weight: 600; font-size: 11.5px;
  padding: 6px 10px; border-radius: 7px; flex-shrink: 0;
}

.sl-pipes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.sl-pipe {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.sl-pipe .nm {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-400); font-weight: 700;
}
.sl-pipe .vl {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.02em; color: var(--ink-900);
  margin-top: 2px;
}
.sl-pipe .lb {
  height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-700));
  margin-top: 6px;
  transform-origin: left;
}

.sl-campaign-list {
  display: flex; flex-direction: column; gap: 8px;
}
.sl-camp {
  display: grid;
  grid-template-columns: 12px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  font-size: 13px;
}
.sl-camp .dotc { width: 10px; height: 10px; border-radius: 50%; }
.sl-camp .nm { font-weight: 600; color: var(--ink-900); }
.sl-camp .sub { color: var(--ink-400); font-family: var(--font-mono); font-size: 11px; }
.sl-camp .ct { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-900); }
.sl-camp .st { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 999px; }
.sl-camp .st.active { background: rgba(31,180,122,0.12); color: var(--green-500); }
.sl-camp .st.paused { background: rgba(255,167,38,0.12); color: var(--orange-500); }

/* feature bullets */
.fx-bullets { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.fx-bullets li { display: flex; gap: 14px; align-items: flex-start; }
.fx-bullets li .b-ico {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(180deg, #EEF3FF, #DDE6FF);
  color: var(--blue-600);
}
.fx-bullets li .b-t {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em; margin: 0; color: var(--ink-900);
}
.fx-bullets li .b-d { margin: 3px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-500); }

/* ============================================================
   PLATFORM TRACKING — calm organized grid + central node
   ============================================================ */
.platform-stage {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--feat-shadow);
  padding: 36px 28px;
  min-height: 460px;
  overflow: hidden;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.platform-cell {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: var(--feat-shadow-sm);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease, border-color 200ms ease;
  cursor: pointer;
  min-height: 110px;
}
.platform-cell:hover {
  transform: translateY(-4px);
  border-color: var(--blue-300);
  box-shadow: 0 18px 36px -16px rgba(30,91,230,0.30);
}
.platform-cell .pc-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  color: white;
  box-shadow: 0 8px 18px -6px rgba(11,20,55,0.15);
}
.platform-cell .pc-nm {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; color: var(--ink-900); letter-spacing: -0.01em;
}
.platform-cell .pc-ct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 600;
}

.platform-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.platform-summary .ps-card {
  text-align: center;
  padding: 12px;
}
.platform-summary .ps-card .vl {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--ink-900), var(--blue-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.platform-summary .ps-card .lb {
  font-size: 11px; color: var(--ink-500); font-weight: 600;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-summary { grid-template-columns: 1fr; }
}

/* ============================================================
   ANALYTICS — the BIG scene
   ============================================================ */
.an-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
/* Allow grid items to shrink so wide internals (charts/maps) don't push out. */
.an-card, .an-map, .an-trend, .an-class, .an-class-card, .an-visitors { min-width: 0; }
.an-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--feat-shadow-sm);
  padding: 20px 22px;
  overflow: hidden;
}
.an-card .an-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.an-card .an-hd h3 {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: -0.01em; color: var(--ink-900);
  display: flex; align-items: center; gap: 8px;
}
.an-card .an-hd .ico {
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(30,91,230,0.10);
  color: var(--blue-600);
}
.an-card .an-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--ink-50); color: var(--ink-500);
}
.an-card .an-tag.live { background: rgba(31,180,122,0.12); color: var(--green-500); }
.an-card .an-tag.live::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green-500); margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(31,180,122,0.25);
  animation: pulse 1.4s ease-in-out infinite;
}

/* visitor type stat */
.an-visitors {
  grid-column: span 12;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.an-vc {
  position: relative; overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--feat-shadow-sm);
}
.an-vc .ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 12px;
}
.an-vc .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); }
.an-vc .num {
  font-family: var(--font-display); font-weight: 800; font-size: 32px;
  letter-spacing: -0.02em; color: var(--ink-900); margin-top: 4px;
}
.an-vc .delta { font-size: 12px; font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.an-vc .delta.up { color: var(--green-500); }
.an-vc .delta.down { color: var(--red-500); }
.an-vc .spark { position: absolute; bottom: 12px; right: 14px; width: 70px; height: 28px; opacity: 0.85; }

.an-vc.tot .ico { background: rgba(30,91,230,0.10); color: var(--blue-600); }
.an-vc.uni .ico { background: rgba(31,180,122,0.10); color: var(--green-500); }
.an-vc.rep .ico { background: rgba(37,199,218,0.10); color: var(--cyan-500); }
.an-vc.sus .ico { background: rgba(229,72,77,0.10); color: var(--red-500); }
.an-vc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.an-vc.tot::before { background: var(--blue-600); }
.an-vc.uni::before { background: var(--green-500); }
.an-vc.rep::before { background: var(--cyan-500); }
.an-vc.sus::before { background: var(--red-500); }

@media (max-width: 900px) {
  .an-visitors { grid-template-columns: repeat(2, 1fr); }
  .an-vc .num { font-size: 26px; }
}

/* big card layouts */
.an-map { grid-column: span 8; min-height: 420px; }
.an-class { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.an-trend { grid-column: span 12; }

@media (max-width: 1100px) {
  .an-map { grid-column: span 12; }
  .an-class { grid-column: span 12; flex-direction: row; flex-wrap: wrap; }
  .an-class > * { flex: 1 1 240px; }
  .an-trend { grid-column: span 12; }
}

.an-map .map-host {
  position: relative;
  background: var(--ink-50);
  border-radius: 14px;
  padding: 6px;
  min-height: 340px;
  overflow: hidden;
}
.an-map .map-host .wm-image { border-radius: 10px; }

/* classification cards */
.an-class-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: var(--feat-shadow-sm);
  flex: 1;
}
.an-class-card h4 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
  color: var(--ink-900);
}
.an-class-card h4 .ic {
  width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(30,91,230,0.08); color: var(--blue-600);
}
.an-class-list { display: flex; flex-direction: column; gap: 8px; }
.an-class-list .it {
  display: grid; grid-template-columns: 18px 1fr auto auto; gap: 10px;
  align-items: center; font-size: 12.5px;
}
.an-class-list .it .em { font-size: 14px; line-height: 1; }
.an-class-list .it .nm { color: var(--ink-700); font-weight: 500; }
.an-class-list .it .vt {
  flex: 1; height: 6px; border-radius: 3px;
  background: var(--ink-100); overflow: hidden;
  min-width: 60px;
}
.an-class-list .it .vf {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-700));
  transform-origin: left;
}
.an-class-list .it .pc { font-variant-numeric: tabular-nums; color: var(--ink-500); font-weight: 600; min-width: 36px; text-align: right; }

/* Visitor Trends chart host */
.an-trend-host {
  background: white;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid var(--border-2);
}

/* ============================================================
   LINK POWER TOOLS  — grid of interactive cards
   ============================================================ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tool-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: var(--feat-shadow-sm);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease, border-color 200ms ease;
  min-height: 290px;
  display: flex; flex-direction: column;
}
.tool-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-300);
  box-shadow: 0 22px 50px -20px rgba(30,91,230,0.30);
}
.tool-card .tc-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.tool-card .tc-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 10px 22px -8px rgba(30,91,230,0.45);
}
.tool-card .tc-num {
  margin-left: auto;
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: -0.02em;
  color: rgba(11,20,55,0.07);
}
.tool-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.tool-card p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: var(--ink-500); }
.tool-card .tc-viz {
  margin-top: auto; padding-top: 14px;
  border-top: 1px dashed var(--border);
}

@media (max-width: 1024px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .tool-grid { grid-template-columns: 1fr; } }

/* viz: clone */
.viz-clone { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; flex-wrap: wrap; }
.viz-clone .l { background: var(--ink-50); border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; color: var(--ink-700); }
.viz-clone .l b { color: var(--blue-700); }
.viz-clone .ar { color: var(--blue-600); font-weight: 700; }
.viz-clone .l.dup { background: linear-gradient(180deg, #EEF3FF, #DDE6FF); border-color: var(--blue-200); color: var(--blue-700); }

/* viz: rules */
.viz-rules { display: flex; flex-direction: column; gap: 6px; }
.viz-rule {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px;
  align-items: center;
  font-size: 11.5px;
  background: white; border: 1px solid var(--border);
  padding: 6px 10px; border-radius: 8px;
}
.viz-rule .if { font-family: var(--font-mono); color: var(--violet-500); font-weight: 700; }
.viz-rule .cond { color: var(--ink-700); font-family: var(--font-mono); }
.viz-rule .ar { color: var(--blue-600); font-weight: 700; font-family: var(--font-mono); }

/* viz: expiry */
.viz-expiry { display: flex; gap: 8px; }
.viz-expiry .seg {
  flex: 1; text-align: center;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 6px;
}
.viz-expiry .seg b {
  display: block; font-family: var(--font-mono); font-weight: 700;
  font-size: 18px; color: var(--blue-700);
}
.viz-expiry .seg span { font-size: 9.5px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }

/* viz: click limit (progress) */
.viz-limit { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; }
.viz-limit .info { display: flex; justify-content: space-between; color: var(--ink-500); font-weight: 600; }
.viz-limit .info b { color: var(--ink-900); font-family: var(--font-mono); }
.viz-limit .tr { height: 8px; border-radius: 4px; background: var(--ink-100); overflow: hidden; }
.viz-limit .tr .fl {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--orange-500));
  transform-origin: left;
}

/* viz: A/B */
.viz-ab { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.viz-ab .arm {
  border: 1px solid var(--border);
  background: white; border-radius: 10px;
  padding: 10px;
}
.viz-ab .arm.win { border-color: var(--green-500); background: rgba(31,180,122,0.06); }
.viz-ab .arm .nm { font-family: var(--font-mono); font-size: 10px; color: var(--ink-500); font-weight: 700; letter-spacing: 0.08em; }
.viz-ab .arm .cv { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; margin-top: 2px; }
.viz-ab .arm.win .cv { color: var(--green-500); }
.viz-ab .arm .bar { height: 4px; border-radius: 2px; background: var(--ink-100); margin-top: 6px; overflow: hidden; }
.viz-ab .arm .bar i { display: block; height: 100%; background: var(--blue-600); }
.viz-ab .arm.win .bar i { background: var(--green-500); }

/* viz: password */
.viz-pw {
  display: flex; align-items: center; gap: 10px;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-700);
}
.viz-pw .lock {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #ECE7FF, #D9D0FE);
  color: var(--violet-500);
}
.viz-pw .pw { letter-spacing: 0.2em; }
.viz-pw .ok {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  background: rgba(31,180,122,0.12); color: var(--green-500);
  padding: 3px 8px; border-radius: 6px;
}

/* ============================================================
   VISITOR INTELLIGENCE
   ============================================================ */
.intel-stage {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--feat-shadow);
  overflow: hidden;
  padding: 0;
}
.intel-tabs {
  display: flex;
  background: var(--ink-50);
  padding: 12px 16px;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-400); text-transform: uppercase;
  align-items: center;
}
.intel-tabs .tt { font-weight: 700; }
.intel-tabs .dot { width: 10px; height: 10px; border-radius: 50%; background: #FF7065; display: inline-block; }
.intel-tabs .dot.y { background: #FFC53A; }
.intel-tabs .dot.g { background: #28C840; }
.intel-tabs .sp { flex: 1; }
.intel-tabs .live { color: var(--green-500); }

.intel-body { padding: 18px 20px; overflow-x: auto; }
.intel-row {
  display: grid;
  grid-template-columns: 110px 1fr 130px 130px 80px 90px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  border: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
  font-family: var(--font-mono);
  min-width: 700px;
}
.intel-row.head {
  color: var(--ink-400); font-size: 10px; letter-spacing: 0.14em;
  font-weight: 700; text-transform: uppercase; padding: 6px 12px;
}
.intel-row:not(.head):hover { background: var(--ink-50); border-color: var(--border); cursor: pointer; }
.intel-row .ip { color: var(--blue-700); font-weight: 700; }
.intel-row .ag { font-family: var(--font-sans); color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intel-row .loc, .intel-row .br { font-family: var(--font-sans); color: var(--ink-700); display: flex; align-items: center; gap: 6px; }
.intel-row .ts { color: var(--ink-400); font-size: 11px; }
.intel-row .st {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  padding: 4px 8px; border-radius: 999px; text-align: center;
}
.intel-row .st.ok { background: rgba(31,180,122,0.12); color: var(--green-500); }
.intel-row .st.suspect { background: rgba(229,72,77,0.12); color: var(--red-500); }
.intel-row .st.bot { background: rgba(255,167,38,0.12); color: var(--orange-500); }
.intel-row.suspect-row .ip { color: var(--red-500); }

/* IP lookup */
.iplookup {
  margin-top: 18px;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(160deg, #0E2C7A 0%, #143C9E 60%, #1849C2 100%);
  color: white;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.iplookup::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px 240px at 90% 10%, rgba(110,91,240,0.4), transparent 70%);
  pointer-events: none;
}
.iplookup .ip-hd {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  position: relative;
}
.iplookup .ip-val {
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: -0.015em; margin-top: 8px;
  position: relative;
}
.iplookup .ip-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 18px; margin-top: 16px;
  position: relative;
}
.iplookup .ip-grid .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.iplookup .ip-grid .v { font-weight: 600; font-size: 13.5px; margin-top: 2px; }
.iplookup .ip-map {
  position: relative;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  min-height: 160px;
}
.iplookup .ip-map svg { width: 100%; height: 100%; display: block; }
.iplookup .ip-flag {
  position: absolute; top: 10px; right: 10px;
  font-size: 20px;
  background: rgba(255,255,255,0.15);
  padding: 3px 8px; border-radius: 999px;
  z-index: 2;
}

@media (max-width: 760px) {
  .iplookup { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM & PLATFORM MGMT — full-width dashboard mock
   ============================================================ */
.team-dash { max-width: 1280px; }

.tm-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.tm-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--ink-700);
  font-size: 12px; font-weight: 500;
  cursor: pointer;
}
.tm-filter:hover { border-color: var(--blue-300); }
.tm-filter svg { color: var(--ink-400); }

.tm-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 14px;
}

/* Critical: allow grid tracks to shrink so the inner table can scroll
   horizontally instead of pushing the entire dashboard mock past its frame. */
.tm-emp-card,
.tm-feed,
.tm-campaigns,
.tm-right { min-width: 0; }

.tm-emp-card,
.tm-feed,
.tm-campaigns {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.tm-emp-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tm-emp-head h4 {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; color: var(--ink-900);
}
.tm-emp-head h4 svg { color: var(--blue-600); }
.tm-emp-search {
  flex: 1;
  min-width: 180px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink-400);
  font-size: 11.5px;
  background: var(--ink-50);
}
.tm-manage {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(30,91,230,0.06);
  border: 1px solid rgba(30,91,230,0.20);
  color: var(--blue-700);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
}

.tm-emp-tabs {
  display: flex; align-items: center; gap: 4px;
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tm-emp-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--ink-500);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  border: none;
  position: relative;
}
.tm-emp-tab .ic { font-size: 12px; }
.tm-emp-tab.on { color: var(--blue-700); }
.tm-emp-tab.on::after {
  content: ''; position: absolute; left: 6px; right: 6px; bottom: -1px;
  height: 2px; background: var(--blue-600); border-radius: 2px;
}
.tm-emp-tab .n {
  font-size: 10px; font-weight: 800;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(11,20,55,0.08); color: var(--ink-500);
  min-width: 18px; text-align: center;
}
.tm-emp-tab .n-active    { background: rgba(31,180,122,0.18); color: var(--green-500); }
.tm-emp-tab .n-suspended { background: rgba(229,72,77,0.18);  color: var(--red-500); }
.tm-emp-sort {
  margin-left: auto; align-self: center;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; color: var(--ink-400); font-weight: 600;
}
.tm-emp-sort::before {
  content: 'ⓘ'; font-size: 11px;
}

.tm-emp-table {
  overflow-x: auto;
}
.tm-emp-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) minmax(140px, 1.2fr) 80px 80px 100px 60px 70px;
  gap: 12px;
  padding: 12px 6px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--border-2);
  min-width: 720px;
}
.tm-emp-row.hd {
  color: var(--ink-400); font-size: 10px; letter-spacing: 0.14em;
  font-weight: 700; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.tm-emp-row:last-child { border-bottom: none; }
.emp-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.emp-name .av {
  position: relative;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--violet-500));
  display: grid; place-items: center; color: white;
  font-weight: 800; font-size: 10px;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.emp-name .av .dot-online {
  position: absolute; bottom: -1px; right: -1px;
  width: 8px; height: 8px;
  background: var(--green-500);
  border: 2px solid white;
  border-radius: 50%;
}
.emp-name .nm { font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emp-name .sub { font-size: 10px; color: var(--ink-400); margin-top: 1px; }
.tm-emp-row .em { color: var(--blue-700); font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-emp-row .rl {
  font-size: 10.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  text-align: center;
}
.tm-emp-row .rl.admin   { background: rgba(110,91,240,0.10); color: var(--violet-500); }
.tm-emp-row .rl.editor  { background: rgba(30,91,230,0.10);  color: var(--blue-700); }
.tm-emp-row .rl.viewer  { background: rgba(37,199,218,0.12); color: var(--cyan-500); }
.tm-emp-row .st { color: var(--green-500); font-weight: 700; font-size: 11px; }
.tm-emp-row .la { font-size: 11px; color: var(--ink-500); font-family: var(--font-mono); }
.tm-emp-row .lk { font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.tm-emp-row .ck { font-weight: 700; color: var(--blue-700); font-variant-numeric: tabular-nums; }

.tm-emp-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
  font-size: 11.5px; color: var(--ink-500);
}
.tm-view-all {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent;
  color: var(--blue-700); font-weight: 600; font-size: 12px;
  cursor: pointer;
}
.tm-view-all.w {
  margin-top: 10px;
  width: 100%; justify-content: center;
  padding: 8px; border-radius: 8px;
  background: rgba(30,91,230,0.06);
}

.tm-right { display: flex; flex-direction: column; gap: 14px; }

.tm-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.tm-card-head h4 {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; color: var(--ink-900);
}
.tm-card-head h4 svg { color: var(--blue-600); }
.tm-details, .tm-card-head .tm-view-all {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(30,91,230,0.06);
  border: 1px solid rgba(30,91,230,0.18);
  color: var(--blue-700);
  font-size: 11px; font-weight: 600;
  cursor: pointer;
}

.tm-feed-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px; align-items: center;
  padding: 8px 0;
  font-size: 12px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--border-2);
}
.tm-feed-row:last-of-type { border-bottom: none; }
.tm-feed-row b { color: var(--ink-900); font-weight: 700; }
.tm-feed-ic {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
}
.tm-feed-time { font-size: 10.5px; color: var(--ink-400); font-family: var(--font-mono); }

.tm-campaign-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-2);
}
.tm-campaign-row:last-of-type { border-bottom: none; }
.tm-camp-av {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-family: var(--font-display);
  font-size: 11px;
}
.tm-camp-name { font-size: 12px; color: var(--ink-900); font-weight: 600; }
.tm-camp-date { font-size: 10.5px; color: var(--ink-400); font-family: var(--font-mono); margin-top: 1px; }
.tm-camp-st {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(31,180,122,0.12); color: var(--green-500);
}
.tm-camp-st.done {
  background: rgba(110,91,240,0.12); color: var(--violet-500);
}

.tm-bullets-wrap {
  max-width: 1180px;
  margin: 60px auto 0;
}
.tm-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
}
.tm-bullets li {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

@media (max-width: 1100px) {
  .tm-grid { grid-template-columns: 1fr; }
  .tm-bullets { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tm-emp-head { flex-direction: column; align-items: stretch; }
  .tm-emp-head .tm-emp-search { width: 100%; }
}

/* ============================================================
   AI ASSISTANT
   ============================================================ */
.ai-stage {
  background: linear-gradient(160deg, #0E2C7A 0%, #143C9E 60%, #2A2272 100%);
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(14,44,122,0.45);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.ai-stage::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 280px at 12% 18%, rgba(110,91,240,0.45), transparent 60%),
    radial-gradient(500px 280px at 88% 80%, rgba(37,199,218,0.28), transparent 60%);
  pointer-events: none;
}
.ai-stage-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  padding: 40px 44px;
  align-items: stretch;
}
.ai-left { color: white; }
.ai-left .fx-eyebrow { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.18); }
.ai-left .fx-eyebrow .pip { background: white; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.ai-left .fx-h2 { color: white; margin: 18px 0 14px; }
.ai-left .fx-sub { color: rgba(255,255,255,0.75); }
.ai-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ai-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,0.88); }
.ai-points li .pc {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #6E5BF0, #25C7DA);
  color: white; flex-shrink: 0;
}
.ai-points li b { color: white; font-weight: 700; }

.ai-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 460px;
}
.ai-panel .ap-hd {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ai-panel .ap-hd .ts { margin-left: auto; }
.ai-field { display: flex; flex-direction: column; gap: 6px; }
.ai-field label {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 700;
}
.ai-field .input {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: 13px;
  color: white;
  min-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-field .input.typing::after {
  content: '▍'; color: #5CCCFA; margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.ai-suggest {
  background: rgba(110,91,240,0.18);
  border: 1px solid rgba(110,91,240,0.4);
  border-radius: 12px;
  padding: 14px;
}
.ai-suggest .sh {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #BCA9FF; font-weight: 800;
  margin-bottom: 10px;
}
.ai-suggest .sh .pip { width: 7px; height: 7px; border-radius: 50%; background: #BCA9FF; box-shadow: 0 0 0 3px rgba(188,169,255,0.25); animation: pulse 1.4s ease-in-out infinite; }
.ai-suggestion {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 6px;
  border: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
  cursor: pointer;
}
.ai-suggestion:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); }
.ai-suggestion .si {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12); color: white;
}
.ai-suggestion .st {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 12.5px; color: white;
}
.ai-suggestion .sw {
  font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px;
}
.ai-suggestion .stat {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(31,180,122,0.18); color: #6BE3B0;
}

.ai-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.ai-meta-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
}
.ai-meta-card .lb { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 700; }
.ai-meta-card .vl { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: white; margin-top: 4px; }
.ai-meta-card .vl .um { color: #5CCCFA; font-size: 11px; margin-left: 4px; font-family: var(--font-mono); font-weight: 600; }

@media (max-width: 1024px) {
  .ai-stage-inner { grid-template-columns: 1fr; gap: 24px; padding: 30px 26px; }
}

/* ============================================================
   INTERACTIVE DASHBOARD
   ============================================================ */
.fx-dash-tag.live { background: rgba(31,180,122,0.9); }
.fx-dash-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; font-size: 12.5px; font-weight: 600; color: var(--blue-700);
  background: rgba(30,91,230,0.05); border-top: 1px solid var(--border);
}
.fx-dash-hint svg { color: var(--blue-600); }

.idb-wrap {
  display: grid;
  grid-template-columns: 196px 1fr;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  font-size: 12px;
  height: 660px;
  box-shadow: 0 12px 30px -12px rgba(11,20,55,0.12);
}
.idb-side {
  background: white;
  border-right: 1px solid var(--border-2);
  padding: 16px 10px;
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
}
.idb-brand { padding: 4px 10px 14px; }
.idb-brand img { height: 30px; width: auto; display: block; }
.idb-sec { margin: 16px 10px 6px; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); }
.idb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  color: var(--ink-700); font-weight: 500; font-size: 12.5px;
  cursor: pointer; transition: background 150ms ease, color 150ms ease;
}
.idb-item svg { color: var(--ink-400); flex-shrink: 0; }
.idb-item:hover { background: var(--ink-50); color: var(--blue-700); }
.idb-item:hover svg { color: var(--blue-600); }
.idb-item.on { background: var(--blue-600); color: white; box-shadow: 0 6px 14px -6px rgba(30,91,230,0.5); }
.idb-item.on svg { color: white; }

.idb-main { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; background: #FBFCFE; overflow-y: auto; }
.idb-topbar { display: grid; grid-template-columns: 1fr 36px; gap: 12px; align-items: center; position: sticky; top: -14px; background: #FBFCFE; z-index: 5; padding-top: 4px; margin-top: -4px; }
.idb-search {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px;
  background: white; border: 1px solid var(--border); border-radius: 10px;
  color: var(--ink-400); font-size: 12px; overflow: hidden; white-space: nowrap;
}
.idb-search span { overflow: hidden; text-overflow: ellipsis; }
.idb-avatar { position: relative; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#6E5BF0,#1E5BE6); color: white; display: grid; place-items: center; font-weight: 800; font-size: 11px; font-family: var(--font-display); }
.idb-avatar i { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; background: #1FB47A; border: 2px solid white; border-radius: 50%; }

.idb-page { min-width: 0; }
.idb-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.idb-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: white; border: 1px solid var(--border); color: var(--ink-500); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 160ms ease; }
.idb-tab svg { color: currentColor; }
.idb-tab:hover { background: var(--ink-50); color: var(--ink-900); }
.idb-tab.on { background: var(--blue-600); color: white; border-color: var(--blue-600); box-shadow: 0 4px 10px -4px rgba(30,91,230,0.45); }

/* KPI grid */
.idb-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.idb-kpis.four { grid-template-columns: repeat(4, 1fr); }
.idb-kpi { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-height: 112px; position: relative; }
.idb-kpi.sm { min-height: 0; border-top: 3px solid var(--blue-600); }
.idb-kpi-h { display: flex; align-items: center; justify-content: space-between; }
.idb-kpi-ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; }
.idb-kpi-tag { font-size: 8.5px; font-weight: 800; letter-spacing: 0.1em; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; }
.idb-kpi-lbl { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; }
.idb-kpi-val { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--ink-900); line-height: 1; }
.idb-kpi-bar { height: 4px; border-radius: 2px; background: rgba(11,20,55,0.06); margin-top: auto; overflow: hidden; }
.idb-kpi-bar i { display: block; height: 100%; border-radius: 2px; }
.idb-kpi-delta { font-size: 10px; font-weight: 600; margin-top: 2px; }

.idb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.idb-act { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 9px; background: white; border: 1px solid var(--border); color: var(--blue-700); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 160ms ease; }
.idb-act:hover { border-color: var(--blue-300); background: var(--blue-50); }
.idb-act.primary { background: var(--blue-600); color: white; border-color: var(--blue-600); box-shadow: 0 6px 16px -6px rgba(30,91,230,0.45); }
.idb-act.primary:hover { background: var(--blue-700); }
.idb-act.sm { padding: 7px 12px; font-size: 11.5px; }
.idb-act.loading { opacity: 0.7; pointer-events: none; }
.idb-act svg { flex-shrink: 0; }

.idb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.idb-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.idb-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.idb-card-h h4 { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-900); }
.idb-card-h h4 svg { color: var(--blue-600); }
.idb-mut { color: var(--ink-400); font-weight: 500; }
.idb-mono { font-family: var(--font-mono); font-weight: 600; }
.idb-link-btn { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--blue-700); background: rgba(30,91,230,0.06); border: 1px solid rgba(30,91,230,0.18); padding: 5px 10px; border-radius: 8px; cursor: pointer; }
.idb-pill-soft { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--green-500); background: rgba(31,180,122,0.12); padding: 4px 8px; border-radius: 999px; }
.idb-live-dot { font-size: 10px; font-weight: 700; color: var(--green-500); margin-left: 4px; }

/* feed */
.idb-feed { display: flex; flex-direction: column; gap: 2px; }
.idb-feed-row { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-2); font-size: 12px; color: var(--ink-700); }
.idb-feed-row:last-child { border-bottom: none; }
.idb-feed-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.idb-feed-tx b { color: var(--ink-900); font-weight: 700; }
.idb-feed-tm { font-size: 10.5px; color: var(--ink-400); font-family: var(--font-mono); }

/* link rows */
.idb-lk-row { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border-2); font-size: 12px; }
.idb-lk-row:last-child { border-bottom: none; }
.idb-lk-rank { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,197,58,0.18); color: #B58400; display: grid; place-items: center; font-weight: 800; font-size: 10px; }
.idb-lk-ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; }
.idb-lk-url { font-family: var(--font-mono); color: var(--blue-700); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idb-lk-ck { font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.idb-lk-dl { color: var(--green-500); font-weight: 700; }
.idb-lk-msg { color: var(--ink-500); font-size: 11px; }

/* tables */
.idb-table { display: flex; flex-direction: column; }
.idb-table.p { padding: 0 4px; }
.idb-tr { display: grid; grid-template-columns: 1.6fr 80px 80px 80px; gap: 12px; align-items: center; padding: 11px 8px; border-bottom: 1px solid var(--border-2); font-size: 12px; }
.idb-tr.c4 { grid-template-columns: 1.5fr 1.4fr 1fr 90px; }
.idb-tr.c5 { grid-template-columns: 1.8fr 1.2fr 1fr 0.8fr 0.9fr; }
.idb-tr:last-child { border-bottom: none; }
.idb-tr.hd { color: var(--ink-400); font-size: 9.5px; letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase; }
.idb-tr.click { cursor: pointer; border-radius: 8px; transition: background 150ms ease; }
.idb-tr.click:hover { background: var(--blue-50); }
.idb-emp { display: flex; align-items: center; gap: 10px; min-width: 0; }
.idb-emp b { color: var(--ink-900); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idb-emp span span { display: flex; flex-direction: column; }
.idb-emp i { font-style: normal; font-size: 10.5px; color: var(--ink-400); font-family: var(--font-mono); }
.idb-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,var(--blue-400),var(--violet-500)); display: grid; place-items: center; color: white; font-weight: 800; font-size: 10px; font-family: var(--font-display); flex-shrink: 0; }
.idb-role { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-align: center; }
.idb-role.manager { background: rgba(110,91,240,0.10); color: var(--violet-500); }
.idb-role.employee { background: rgba(30,91,230,0.10); color: var(--blue-700); }
.idb-st { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; text-align: center; display: inline-block; }
.idb-st.ok { background: rgba(31,180,122,0.12); color: var(--green-500); }
.idb-st.off { background: rgba(229,72,77,0.12); color: var(--red-500); }
.idb-st.warn { background: rgba(255,167,38,0.14); color: var(--orange-500); }
.idb-st.exp { background: var(--ink-100); color: var(--ink-500); }
.idb-quality { font-family: var(--font-display); font-weight: 800; font-size: 14px; }

.idb-health { font-size: 10px; font-weight: 700; }
.idb-health.healthy { color: var(--green-500); }
.idb-health.warning { color: var(--orange-500); }
.idb-health.critical { color: var(--red-500); }
.idb-trend { font-weight: 700; font-size: 11.5px; }
.idb-trend.up { color: var(--green-500); }
.idb-trend.down { color: var(--red-500); }
.idb-trend.flat { color: var(--ink-400); }

.idb-issue { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.idb-issue.ok { background: rgba(31,180,122,0.12); color: var(--green-500); }
.idb-issue.fix { background: rgba(229,72,77,0.12); color: var(--red-500); }
.idb-issue.renew { background: rgba(110,91,240,0.12); color: var(--violet-500); }
.idb-mini-btn { font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--border); text-align: center; cursor: pointer; }
.idb-mini-btn.fix { color: var(--red-500); border-color: rgba(229,72,77,0.4); }
.idb-mini-btn.renew { color: var(--violet-500); border-color: rgba(110,91,240,0.4); }
.idb-mini-btn.ok { color: var(--ink-600); }

.idb-fraud { display: flex; flex-direction: column; gap: 2px; }
.idb-fraud-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-2); }
.idb-fraud-row:last-child { border-bottom: none; }
.idb-fraud-dot { width: 8px; height: 8px; border-radius: 50%; }
.idb-fraud-nm { font-size: 12px; color: var(--ink-700); font-weight: 500; }
.idb-fraud-v { font-family: var(--font-display); font-weight: 800; font-size: 16px; }

/* subtabs */
.idb-subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-2); margin-bottom: 4px; flex-wrap: wrap; }
.idb-subtab { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; background: transparent; border: none; color: var(--ink-500); font-size: 12px; font-weight: 600; cursor: pointer; position: relative; }
.idb-subtab svg { color: currentColor; }
.idb-subtab.on { color: var(--blue-700); }
.idb-subtab.on::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; background: var(--blue-600); border-radius: 2px; }
.idb-subtab i { font-style: normal; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(11,20,55,0.08); color: var(--ink-500); }
.idb-subtab.on i { background: rgba(30,91,230,0.14); color: var(--blue-700); }

.idb-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 50px 20px; color: var(--ink-400); }
.idb-empty.big { padding: 80px 20px; }
.idb-empty p { margin: 0; text-align: center; font-size: 13px; line-height: 1.5; }
.idb-empty b { color: var(--blue-700); }

/* platforms */
.idb-plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.idb-plat-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform 220ms ease, box-shadow 220ms ease; }
.idb-plat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(30,91,230,0.25); }
.idb-plat-top { display: flex; align-items: flex-start; justify-content: space-between; }
.idb-plat-top b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.idb-plat-top span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); }
.idb-plat-globe { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(30,91,230,0.08); color: var(--blue-600); }
.idb-plat-stats { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border-2); padding-top: 12px; }
.idb-plat-stats > div { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-500); }
.idb-plat-stats b { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink-900); }
.idb-plat-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px; border-radius: 9px; border: 1px solid var(--blue-200); background: white; color: var(--blue-700); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all 160ms ease; }
.idb-plat-btn:hover { background: var(--blue-50); border-color: var(--blue-300); }

/* create-link form */
.idb-form { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.idb-field { display: flex; flex-direction: column; gap: 8px; }
.idb-field label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); display: flex; align-items: center; gap: 6px; }
.idb-field label i { color: var(--red-500); font-style: normal; }
.idb-field label .idb-opt { color: var(--ink-400); font-size: 9px; background: var(--ink-50); padding: 2px 7px; border-radius: 6px; }
.idb-input { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; min-height: 22px; }
.idb-input-tx { flex: 1; font-family: var(--font-mono); font-size: 13px; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idb-input-ic { color: var(--ink-400); }
.idb-caret { color: var(--blue-600); animation: idbBlink 1s steps(1) infinite; }
@keyframes idbBlink { 50% { opacity: 0; } }
.idb-hint { margin: 0; font-size: 11px; color: var(--ink-400); }
.idb-select { display: flex; align-items: center; justify-content: space-between; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--ink-400); transition: all 200ms ease; }
.idb-select.filled { color: var(--ink-900); font-weight: 600; border-color: var(--blue-300); background: var(--blue-50); }
.idb-select svg { color: var(--ink-400); }
.idb-short { display: flex; align-items: center; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-family: var(--font-mono); font-size: 13px; }
.idb-short-base { color: var(--ink-400); }
.idb-short-slug { color: var(--blue-700); font-weight: 700; }
.idb-plats { display: flex; flex-wrap: wrap; gap: 8px; }
.idb-plat-pill { font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--ink-600); background: white; transition: all 250ms ease; }
.idb-plat-pill.on { border-color: var(--blue-500); background: var(--blue-600); color: white; box-shadow: 0 6px 14px -6px rgba(30,91,230,0.5); transform: scale(1.04); }
.idb-form-foot { display: flex; justify-content: flex-end; }
.idb-toast { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(31,180,122,0.1); border: 1px solid rgba(31,180,122,0.3); border-radius: 10px; color: var(--green-500); font-size: 13px; font-weight: 600; animation: idbToast 0.5s ease; }
.idb-toast b { color: var(--ink-900); font-family: var(--font-mono); }
@keyframes idbToast { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---- profile / account settings ---- */
.idb-prof { padding: 22px 24px; }
.idb-prof-title { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--ink-900); margin: 0 0 18px; }
.idb-prof-photo { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 6px; border-bottom: 1px solid var(--border-2); }
.idb-prof-avatar {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: white;
  background: linear-gradient(135deg, #1E5BE6, #6E5BF0);
  box-shadow: 0 12px 26px -10px rgba(30,91,230,0.55);
}
.idb-prof-photo-side { display: flex; flex-direction: column; gap: 7px; }
.idb-prof-sec {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--blue-700);
  margin: 22px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-2);
}
.idb-prof-sec svg { color: var(--blue-600); }
.idb-prof-sec.first { margin-top: 2px; }
.idb-prof-sec.danger { color: #E5484D; }
.idb-prof-sec.danger svg { color: #E5484D; }
.idb-prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.idb-inp {
  width: 100%; box-sizing: border-box;
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; font-size: 13.5px; font-family: inherit; color: var(--ink-900); font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.idb-inp:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(30,91,230,0.12); }
.idb-inp:disabled { background: var(--ink-50); color: var(--ink-400); cursor: not-allowed; }
select.idb-inp { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238089AB' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.idb-inp-ico { display: flex; align-items: center; gap: 9px; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 0 13px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.idb-inp-ico:focus-within { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(30,91,230,0.12); }
.idb-inp-ico svg { color: var(--ink-400); flex-shrink: 0; }
.idb-inp-ico input { flex: 1; border: none; outline: none; background: none; padding: 11px 0; font-size: 13.5px; font-family: inherit; color: var(--ink-900); font-weight: 500; }
.idb-prof-foot { display: flex; justify-content: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-2); }
.idb-prof-foot.left { justify-content: flex-start; }

/* danger zone */
.idb-danger { padding: 22px 24px; border-color: rgba(229,72,77,0.25); }
.idb-danger-warn {
  display: flex; flex-direction: column; gap: 5px;
  background: rgba(255,167,38,0.09); border: 1px solid rgba(255,167,38,0.3);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 16px;
}
.idb-danger-warn b { font-size: 13px; color: #B5651D; }
.idb-danger-warn span { font-size: 12.5px; color: var(--ink-600); line-height: 1.5; }
.idb-danger-warn strong { color: #B5651D; }
.idb-check { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-700); margin-bottom: 16px; cursor: pointer; }
.idb-check input { width: 16px; height: 16px; accent-color: #E5484D; cursor: pointer; }
.idb-danger-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: white;
  background: #F09499; border: none; border-radius: 10px; padding: 11px 18px;
  cursor: not-allowed; transition: background 180ms ease, box-shadow 180ms ease;
}
.idb-danger-btn.armed { background: #E5484D; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(229,72,77,0.6); }
.idb-danger-btn.armed:hover { background: #D13A3F; }
@media (max-width: 720px) {
  .idb-prof-grid { grid-template-columns: 1fr; }
}

/* analytics detail */
.idb-an-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.idb-an-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.idb-an-url { font-family: var(--font-mono); font-size: 11.5px; color: var(--blue-700); margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.idb-an-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.idb-an-chip { font-size: 11.5px; font-weight: 600; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--border); background: white; color: var(--ink-700); cursor: pointer; transition: all 160ms ease; }
.idb-an-chip:hover { border-color: var(--blue-300); background: var(--blue-50); color: var(--blue-700); }
.idb-seg { display: inline-flex; padding: 3px; background: var(--ink-50); border-radius: 9px; gap: 2px; margin-left: auto; }
.idb-seg button { padding: 6px 12px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-500); background: transparent; border: none; cursor: pointer; }
.idb-seg button.on { background: var(--blue-600); color: white; }
.idb-donut-wrap { display: flex; align-items: center; gap: 20px; }
.idb-legend { display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--ink-700); }
.idb-legend span { display: flex; align-items: center; gap: 8px; }
.idb-legend i { width: 10px; height: 10px; border-radius: 3px; }
.idb-map { border-radius: 12px; overflow: hidden; background: var(--ink-50); padding: 8px; }

/* Self-contained interactive pin map (CDN-free) */
.idb-pinmap { position: relative; background: var(--ink-50); border-radius: 12px; padding: 10px; overflow: hidden; }
.idb-pinmap-img { display: block; width: 100%; height: auto; opacity: 0.6; filter: saturate(0) brightness(1.04); pointer-events: none; }
.idb-pin { position: absolute; transform: translate(-50%, -50%); cursor: pointer; z-index: 2; }
.idb-pin-dot { display: block; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(11,20,55,0.3); position: relative; z-index: 2; }
.idb-pin-ring { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid; opacity: 0.5; animation: idbPinPulse 2s ease-out infinite; }
@keyframes idbPinPulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }
.idb-pin-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #0B1437; color: #fff; border-radius: 10px; padding: 9px 12px; min-width: 150px;
  display: flex; flex-direction: column; gap: 3px; opacity: 0; pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease; z-index: 10;
  box-shadow: 0 12px 30px -8px rgba(11,20,55,0.5);
}
.idb-pin:hover .idb-pin-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.idb-pin-tip b { font-size: 13px; font-weight: 700; }
.idb-pin-meta { font-size: 10px; color: #a0a4b8; }
.idb-pin-row { display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: #C7D0EE; margin-top: 2px; }

/* jsVectorMap + regional footer */
.idb-vmap { background: transparent; }
.idb-vmap .jvm-zoom-btn { background: var(--blue-600); border-radius: 6px; }
.idb-region-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.idb-region-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: white; }
.irc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.irc-name { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-900); }
.irc-em { font-size: 17px; }
.irc-count { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.irc-stats { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 8px; }
.irc-v { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.irc-pct { font-weight: 800; font-size: 14px; }
.irc-bar { height: 6px; border-radius: 3px; background: rgba(11,20,55,0.06); overflow: hidden; }
.irc-bar i { display: block; height: 100%; border-radius: 3px; transition: width 0.8s ease; }
@media (max-width: 1100px) { .idb-region-foot { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .idb-region-foot { grid-template-columns: 1fr; } }

/* dashboard bars (charts) */
.idb-bars { display: flex; flex-direction: column; gap: 10px; }
.idb-bar { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 12px; }
.br-label { display: flex; align-items: center; gap: 6px; color: var(--ink-700); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-em { font-size: 14px; }
.br-track { height: 8px; border-radius: 4px; background: var(--ink-100); overflow: hidden; }
.br-fill { display: block; height: 100%; border-radius: 4px; }
.br-val { text-align: right; font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }

/* heatmap */
.idb-heat-grid { display: grid; grid-template-columns: 36px repeat(24, 1fr); gap: 3px; }
.hm-hr { font-size: 8.5px; color: var(--ink-400); text-align: center; }
.hm-dy { font-size: 9.5px; color: var(--ink-500); font-weight: 600; display: flex; align-items: center; }
.hm-c { aspect-ratio: 1; border-radius: 3px; transition: transform 150ms ease; }
.hm-c:hover { transform: scale(1.5); position: relative; z-index: 2; }

/* dashboard responsive */
@media (max-width: 1200px) {
  .idb-kpis { grid-template-columns: repeat(3, 1fr); }
  .idb-row2 { grid-template-columns: 1fr; }
  .idb-plat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .idb-wrap { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 580px; }
  .idb-side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border-2); gap: 4px; padding: 10px; }
  .idb-side .idb-brand, .idb-side .idb-sec { display: none; }
  .idb-item { white-space: nowrap; padding: 8px 10px; }
  .idb-item span { display: none; }
  .idb-item.on span { display: inline; }
  .idb-kpis, .idb-kpis.four { grid-template-columns: repeat(2, 1fr); }
  .idb-plat-grid { grid-template-columns: 1fr; }
  .idb-tr.c5 { grid-template-columns: 1.6fr 1fr 0.8fr; }
  .idb-tr.c5 > span:nth-child(4), .idb-tr.c5 > span:nth-child(5) { display: none; }
  .idb-tr.c4 { grid-template-columns: 1.4fr 1fr 80px; }
  .idb-tr.c4 > span:nth-child(3) { display: none; }
  .idb-tabs .idb-tab { font-size: 11px; padding: 7px 10px; }
  .idb-tab svg { display: none; }
  .idb-donut-wrap { flex-direction: column; }
  .fx-dash-hint { font-size: 11px; }
}

/* ============================================================
   MOBILE RESPONSIVENESS + TEXT-CLIPPING FIXES
   ============================================================ */

/* Prevent descenders (g, p, y, j) from being clipped by reveal animations */
.fx-h1, .fx-h2 {
  padding-bottom: 0.18em;
  overflow: visible;
}
.fx-word, .fx-word > span { padding-bottom: 0; }

/* Images always responsive */
.fx-section img,
.fx-hero img,
.an-card img,
.team-dash img,
.fx-hero-dash img,
.rd-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container side padding scales down */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .fx-section { padding: 60px 0; }
}

/* Hero text + dashboard mock — mobile polish */
@media (max-width: 900px) {
  .fx-hero-text .fx-h1 {
    font-size: clamp(32px, 8.5vw, 48px);
    line-height: 1.06;
    margin: 16px 0 14px;
  }
  .fx-hero-text .fx-sub { font-size: 15.5px; line-height: 1.55; }
  .fx-hero-meta { gap: 18px; padding-top: 18px; }
  .fx-hero-meta .it { align-items: center; text-align: center; }
  .fx-hero-meta .it b { font-size: 22px; }

  .fx-h2 {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.08;
  }
  .fx-sub { font-size: 15.5px; }

  .fx-eyebrow {
    font-size: 10.5px;
    padding: 5px 10px;
    letter-spacing: 0.16em;
  }

  /* Hero CTAs full width on mobile */
  .fx-hero .hero-ctas { flex-wrap: wrap; justify-content: center; }
  .fx-hero .hero-ctas .btn { flex: 1 1 160px; min-width: 0; }

  /* Dashboard chrome smaller */
  .fx-dash-chrome { padding: 8px 10px; gap: 8px; }
  .fx-dash-chrome .fx-dash-url {
    font-size: 9.5px;
    padding: 5px 10px;
    max-width: none;
  }
  .fx-dash-chrome .fx-dash-tag { font-size: 8.5px; padding: 3px 7px; }
  .fx-dash-frame { padding: 8px; background: #F7F8FE; }
}

/* Dashboard internals — mobile shrink */
@media (max-width: 720px) {
  .rd-wrap { font-size: 11px; min-height: auto; }
  .rd-main { padding: 12px 12px; gap: 10px; }
  .rd-topbar { grid-template-columns: 32px 1fr 32px; gap: 8px; }
  .rd-burger { width: 32px; height: 32px; }
  .rd-search { font-size: 11px; padding: 0 10px; height: 32px; }
  .rd-search span { display: none; }
  .rd-search::after { content: 'Search…'; color: var(--ink-400); }
  .rd-avatar { width: 32px; height: 32px; font-size: 11px; }

  .rd-tabs { gap: 6px; }
  .rd-tab { font-size: 10.5px; padding: 6px 10px; }
  .rd-tab svg { display: none; }

  .rd-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rd-kpi { padding: 10px 12px; min-height: 110px; }
  .rd-kpi-val { font-size: 20px; }
  .rd-kpi-lbl { font-size: 8.5px; }
  .rd-kpi-tag { font-size: 8px; }

  .rd-actions { gap: 6px; }
  .rd-act { font-size: 11px; padding: 7px 10px; }
  .rd-act svg { width: 12px; height: 12px; }

  .rd-card { padding: 12px 12px; }
  .rd-card-head h4 { font-size: 12.5px; }
  .rd-card-head h4 svg { width: 12px; height: 12px; }
  .rd-muted { font-size: 11px; }

  .rd-recent-line { font-size: 11px; }
  .rd-recent-sub { font-size: 9.5px; }
  .rd-recent-time { font-size: 9px; }

  .rd-link-row { font-size: 11px; gap: 8px; padding: 7px 4px; }
  .rd-link-url { font-size: 10.5px; }
}

/* Hero stats — keep tidy on tiny screens */
@media (max-width: 480px) {
  .fx-hero-meta { flex-direction: column; gap: 12px; }
  .fx-hero-meta .it { flex-direction: row; gap: 8px; }
  .fx-hero-meta .it b { font-size: 18px; }
}

/* Smart-link stage — mobile polish */
@media (max-width: 720px) {
  .smart-link-stage { padding: 16px; min-height: auto; }
  .sl-input { font-size: 11.5px; padding: 10px 12px; }
  .sl-input .lbl { display: none; }
  .sl-output .short { font-size: 13px; }
  .sl-pipes { grid-template-columns: 1fr; }
  .sl-camp { grid-template-columns: 12px 1fr auto; gap: 10px; }
  .sl-camp .sub { display: none; }
}

/* Tools — make sure visuals don't overflow */
@media (max-width: 720px) {
  .tool-card { min-height: 0; padding: 18px; }
  .tool-card h3 { font-size: 16px; }
  .tool-card p { font-size: 12.5px; }
  .viz-clone .l { font-size: 10.5px; padding: 5px 8px; }
  .viz-expiry .seg b { font-size: 16px; }
}

/* Visitor log table — let it scroll cleanly */
@media (max-width: 720px) {
  .intel-body { padding: 14px 12px; }
  .intel-row { font-size: 11px; gap: 8px; }
  .intel-row.head { font-size: 9px; }
}

/* Analytics map + cards mobile */
@media (max-width: 720px) {
  .an-card { padding: 16px 14px; }
  .an-card .an-hd h3 { font-size: 14px; }
  .an-map .map-host { padding: 4px; min-height: auto; }
  .an-class-card { padding: 14px 14px; }
  .an-class-list .it { font-size: 11.5px; gap: 8px; grid-template-columns: 18px 1fr auto auto; }
  .an-class-list .it .vt { min-width: 40px; }
}

/* Platform grid — tighter on phone */
@media (max-width: 480px) {
  .platform-stage { padding: 22px 16px; }
  .platform-grid { gap: 8px; }
  .platform-cell { min-height: 96px; padding: 12px 8px; }
  .platform-cell .pc-ico { width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
  .platform-cell .pc-nm { font-size: 11px; }
  .platform-cell .pc-ct { font-size: 10px; }
}

/* AI panel mobile */
@media (max-width: 720px) {
  .ai-stage-inner { padding: 24px 18px; gap: 18px; }
  .ai-panel { padding: 14px; min-height: 0; }
  .ai-field .input { font-size: 11.5px; padding: 9px 12px; word-break: break-all; }
  .ai-suggestion { gap: 8px; padding: 8px 10px; }
  .ai-suggestion .st { font-size: 11px; }
  .ai-suggestion .sw { font-size: 10px; }
  .ai-meta { grid-template-columns: 1fr; }
  .ai-meta-card .vl { font-size: 15px; }
}

/* Team dashboard mobile */
@media (max-width: 720px) {
  .tm-filters { gap: 6px; }
  .tm-filter { font-size: 11px; padding: 6px 10px; }
  .tm-emp-head { gap: 8px; }
  .tm-emp-head h4 { font-size: 13px; }
  .tm-emp-search { font-size: 10.5px; height: 30px; }
  .tm-emp-tab { padding: 7px 9px; font-size: 11px; }
  .tm-emp-sort { display: none; }
  .tm-emp-foot { font-size: 11px; flex-direction: column; gap: 6px; align-items: flex-start; }
  .tm-feed-row, .tm-campaign-row { font-size: 11.5px; }
}

/* Footer-area + last sections — keep CTA card padding right */
@media (max-width: 720px) {
  .cta-card { padding: 36px 20px 40px; }
  .cta-card h2 { font-size: 28px; }
}

/* Pill nav scroll-snap nicely on mobile */
@media (max-width: 720px) {
  .fx-pillnav-wrap { top: 64px; padding: 8px 0; }
  .fx-pillnav { padding: 4px; }
  .fx-pillnav button { padding: 7px 10px; font-size: 12px; }
}
