/* ==========================================================================
   باسلام بات — Design System
   Orange palette · RTL · Vazirmatn
   ========================================================================== */

:root {
  --o-50: #FFF6EE;
  --o-100: #FFE8D5;
  --o-200: #FFD0AA;
  --o-300: #FFB47A;
  --o-400: #FF8C3A;
  --o-500: #FF6A00;
  --o-600: #E85D00;
  --o-700: #BF4A00;
  --o-800: #8F3800;

  --ink: #1C1410;
  --ink-2: #2B201A;
  --ink-3: #3D3029;
  --text: #2B201A;
  --muted: #7C6B60;
  --line: #F1E3D6;
  --bg: #FFFAF5;
  --card: #FFFFFF;

  --green: #12A150;
  --green-bg: #E7F7EE;
  --red: #E5383B;
  --red-bg: #FDECEC;
  --blue: #2F6BFF;
  --blue-bg: #EAF0FF;
  --amber: #C98A00;
  --amber-bg: #FFF5DB;

  --grad: linear-gradient(135deg, #FF9A3D 0%, #FF6A00 55%, #F04E00 100%);
  --grad-soft: linear-gradient(135deg, #FFF1E4 0%, #FFE2C8 100%);
  --glow: 0 10px 30px -8px rgba(255, 106, 0, .55);
  --shadow-sm: 0 1px 2px rgba(28, 20, 16, .06), 0 1px 1px rgba(28, 20, 16, .04);
  --shadow: 0 10px 30px -12px rgba(28, 20, 16, .18), 0 2px 6px rgba(28, 20, 16, .05);
  --shadow-lg: 0 30px 60px -20px rgba(28, 20, 16, .28);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  /* Surfaces (switch in dark mode) */
  --surface: #FFFFFF;
  --surface-2: #FFFAF6;
  --app-bg: #FFF8F2;
  --sel-bg: #FFF7F0;
  --muted-bg: #F2ECE7;
  --line-strong: #DCCBBE;
  --dark: #1C1410;
  --dark-2: #150F0C;
  --nav-bg: rgba(255, 250, 245, .75);
  --topbar-bg: rgba(255, 248, 242, .82);
  --glass: rgba(255, 255, 255, .85);
  color-scheme: light;
}

/* ---------- Dark theme: explicit choice, or the OS preference when no choice was made ---------- */
:root[data-theme="dark"] {
  --o-50: rgba(255, 106, 0, .12); --o-100: rgba(255, 106, 0, .22); --o-200: rgba(255, 140, 58, .38);
  --ink: #F6EDE6; --ink-2: #EADFD6; --ink-3: #D9CBC0; --text: #E6DAD0; --muted: #A8978A;
  --line: #33261E; --bg: #120D0A; --card: #1D1511;
  --green: #3DD68C; --green-bg: rgba(18, 161, 80, .16); --red: #FF6B6E; --red-bg: rgba(229, 56, 59, .16);
  --blue: #86A7FF; --blue-bg: rgba(47, 107, 255, .16); --amber: #F2C14E; --amber-bg: rgba(201, 138, 0, .16);
  --grad-soft: linear-gradient(135deg, rgba(255, 140, 58, .16), rgba(255, 106, 0, .08));
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
  --surface: #1D1511; --surface-2: #241A15; --app-bg: #120D0A; --sel-bg: #2A1D14; --muted-bg: #2A201A; --line-strong: #4A382C;
  --dark: #0B0806; --dark-2: #070504; --nav-bg: rgba(18, 13, 10, .8); --topbar-bg: rgba(18, 13, 10, .85); --glass: rgba(29, 21, 17, .88);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --o-50: rgba(255, 106, 0, .12); --o-100: rgba(255, 106, 0, .22); --o-200: rgba(255, 140, 58, .38);
    --ink: #F6EDE6; --ink-2: #EADFD6; --ink-3: #D9CBC0; --text: #E6DAD0; --muted: #A8978A;
    --line: #33261E; --bg: #120D0A; --card: #1D1511;
    --green: #3DD68C; --green-bg: rgba(18, 161, 80, .16); --red: #FF6B6E; --red-bg: rgba(229, 56, 59, .16);
    --blue: #86A7FF; --blue-bg: rgba(47, 107, 255, .16); --amber: #F2C14E; --amber-bg: rgba(201, 138, 0, .16);
    --grad-soft: linear-gradient(135deg, rgba(255, 140, 58, .16), rgba(255, 106, 0, .08));
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
    --surface: #1D1511; --surface-2: #241A15; --app-bg: #120D0A; --sel-bg: #2A1D14; --muted-bg: #2A201A; --line-strong: #4A382C;
    --dark: #0B0806; --dark-2: #070504; --nav-bg: rgba(18, 13, 10, .8); --topbar-bg: rgba(18, 13, 10, .85); --glass: rgba(29, 21, 17, .88);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--o-200); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
[data-lucide] { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding-inline: 22px; border-radius: 14px; border: 0;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 106, 0, .65); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--o-300); color: var(--o-600); background: var(--o-50); }
.btn-light { background: var(--surface); color: var(--o-600); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-soft { background: var(--o-50); color: var(--o-600); }
.btn-soft:hover { background: var(--o-100); }
.btn-sm { height: 38px; padding-inline: 14px; font-size: 13.5px; border-radius: 11px; }
.btn-lg { height: 56px; padding-inline: 30px; font-size: 16px; border-radius: 16px; }
.btn-icon { width: 42px; padding: 0; }

/* ---------- Chips & badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink-3);
}
.pill b { background: var(--grad); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-green { background: var(--green-bg); color: var(--green); }
.chip-red { background: var(--red-bg); color: var(--red); }
.chip-amber { background: var(--amber-bg); color: var(--amber); }
.chip-blue { background: var(--blue-bg); color: var(--blue); }
.chip-orange { background: var(--o-50); color: var(--o-600); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--o-600); font-weight: 800; font-size: 13.5px; letter-spacing: .2px;
  background: var(--o-50); border: 1px solid var(--o-100); padding: 5px 14px; border-radius: 99px;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; filter: drop-shadow(0 6px 12px rgba(255, 106, 0, .35)); }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-top: -4px; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--dark); color: #fff; font-size: 13.5px; text-align: center; padding: 9px 16px;
}
.announce a { color: var(--o-300); font-weight: 700; margin-inline-start: 6px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(28, 20, 16, .4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--ink-3); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--o-50); color: var(--o-600); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: float 14s ease-in-out infinite; }
.blob-1 { width: 520px; height: 520px; background: #FFB47A; top: -160px; left: -120px; }
.blob-2 { width: 420px; height: 420px; background: #FFD9B8; bottom: -160px; right: -80px; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: #FF8C3A; top: 40%; left: 40%; opacity: .25; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(.95); }
}
.grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -.5px; margin: 22px 0 18px; line-height: 1.3; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust [data-lucide] { color: var(--green); width: 18px; height: 18px; }
.avatars { display: flex; }
.avatars i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--bg); margin-inline-start: -10px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; color: #fff; }
.avatars i:first-child { margin-inline-start: 0; }

/* Hero visual — transfer scene (fixed 540×480 stage, scaled by JS to fit) */
.scene-wrap { position: relative; height: 480px; }
.scene { position: absolute; top: 0; right: 0; width: 540px; height: 480px; transform-origin: top right; }
.bot-face .eye { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.scene-card {
  position: absolute; width: 232px; background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 16px;
}
.scene-src { top: 0; right: 0; animation: bob 6s ease-in-out infinite; }
.scene-dst { bottom: 0; left: 0; animation: bob 6s ease-in-out infinite -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scene-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 800; font-size: 14px; }
.scene-head .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.scene-head small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.s-row { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.s-row + .s-row { margin-top: 4px; }
.s-row.on { background: var(--o-50); }
.s-check { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; }
.s-row.on .s-check { background: var(--o-500); border-color: var(--o-500); color: #fff; }
.s-row.on .s-check [data-lucide] { width: 12px; height: 12px; stroke-width: 3.5; }
.thumb { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.thumb [data-lucide] { width: 18px; height: 18px; }
.t1 { background: linear-gradient(135deg, #FF9A3D, #FF6A00); }
.t2 { background: linear-gradient(135deg, #6B7CFF, #3E4CD6); }
.t3 { background: linear-gradient(135deg, #2EC4A0, #12A150); }
.t4 { background: linear-gradient(135deg, #FF6B9A, #E0356C); }
.t5 { background: linear-gradient(135deg, #8E6BFF, #6A3FE0); }
.t6 { background: linear-gradient(135deg, #37B6FF, #0B84D6); }
.s-row .price { margin-inline-start: auto; color: var(--muted); font-size: 11.5px; }
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-grid .thumb { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; }
.s-grid .thumb.new { animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.s-grid .ghost { aspect-ratio: 1; border-radius: 14px; border: 2px dashed var(--line); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.scene-bot {
  position: absolute; top: 194px; left: 214px;
  width: 112px; height: 112px; border-radius: 32px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 30px 60px -18px rgba(255, 106, 0, .7), inset 0 2px 0 rgba(255, 255, 255, .35);
  z-index: 2;
}
.scene-bot svg { width: 74px; height: 74px; }
.scene-bot::before, .scene-bot::after {
  content: ""; position: absolute; inset: -14px; border-radius: 46px; border: 2px solid rgba(255, 106, 0, .35);
  animation: ring 2.4s ease-out infinite;
}
.scene-bot::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.scene-path { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scene-path path { fill: none; stroke: var(--o-300); stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.packet {
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 10px; z-index: 3;
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow);
  offset-path: path("M 400 170 C 340 200, 300 220, 270 250 S 190 300, 130 330");
  offset-rotate: 0deg;
  animation: travel 3.6s cubic-bezier(.45, .05, .35, 1) infinite;
}
.packet [data-lucide] { width: 16px; height: 16px; }
.packet:nth-of-type(2) { animation-delay: -1.2s; }
.packet:nth-of-type(3) { animation-delay: -2.4s; }
@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; transform: scale(.6); }
  12% { opacity: 1; transform: scale(1); }
  85% { opacity: 1; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(.6); }
}
.float-badge {
  position: absolute; background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; z-index: 4;
  animation: bob 5s ease-in-out infinite;
}
.float-badge .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; line-height: 1.3; }
.fb-1 { top: 6px; left: 30px; animation-delay: -1s; }
.fb-2 { bottom: 40px; right: 10px; animation-delay: -2.5s; }

/* ---------- Logos strip ---------- */
.strip { padding: 26px 0; border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip p { color: var(--muted); font-weight: 600; font-size: 14px; }
.strip-items { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.strip-items span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #B7A597; font-size: 16px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 38px; font-weight: 900; line-height: 1.2; }
.stat span { color: var(--muted); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; right: 12%; left: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--o-300) 0 8px, transparent 8px 16px); z-index: 0;
}
.step { position: relative; text-align: center; padding: 0 10px; z-index: 1; }
.step-num {
  width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--shadow); position: relative; color: var(--o-500);
}
.step-num [data-lucide] { width: 34px; height: 34px; }
.step-num em {
  position: absolute; top: -8px; left: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad);
  color: #fff; font-style: normal; font-weight: 900; display: grid; place-items: center; font-size: 14px; box-shadow: var(--glow);
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 58, .18), transparent 70%); opacity: 0; transition: opacity .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--o-200); }
.feature:hover::after { opacity: 1; }
.feature-ic {
  width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); color: var(--o-600);
  display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--o-100);
}
.feature-ic [data-lucide] { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }

/* Dark band */
.band {
  background: var(--dark); color: #fff; border-radius: var(--r-xl); padding: 64px; position: relative; overflow: hidden; isolation: isolate;
}
.band::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; top: -300px; left: -200px; z-index: -1;
  background: radial-gradient(circle, rgba(255, 106, 0, .5), transparent 65%);
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; margin: 14px 0; }
.band p { color: #D8C9BE; }
.band .eyebrow { background: rgba(255, 106, 0, .15); border-color: rgba(255, 106, 0, .3); color: var(--o-300); }
.band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #EFE3D9; }
.check-list [data-lucide] { color: var(--o-400); margin-top: 4px; }
.price-demo { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 24px; backdrop-filter: blur(6px); }
.price-demo h4 { color: #fff; font-size: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.pd-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.pd-row + .pd-row { margin-top: 8px; }
.pd-row small { display: block; color: #B8A89C; font-size: 11.5px; }
.pd-row b { color: #fff; font-size: 15px; }
.pd-row .to { color: var(--o-400); }
.pd-row .res b { color: var(--o-300); }
.pd-rule { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pd-rule span { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 106, 0, .15); color: var(--o-200); font-weight: 600; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px 30px; position: relative;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .desc { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan .amount { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 6px; }
.plan .amount b { font-size: 42px; font-weight: 900; color: var(--ink); line-height: 1; }
.plan .amount span { color: var(--muted); font-weight: 600; }
.plan .per { font-size: 13px; color: var(--o-600); font-weight: 700; background: var(--o-50); padding: 4px 10px; border-radius: 8px; align-self: flex-start; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.plan li [data-lucide] { color: var(--green); width: 18px; height: 18px; }
.plan.featured { background: var(--dark); color: #fff; border: 0; transform: scale(1.04); box-shadow: 0 40px 80px -30px rgba(255, 106, 0, .55); }
.plan.featured:hover { transform: scale(1.04) translateY(-6px); }
.plan.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan.featured h3, .plan.featured .amount b { color: #fff; }
.plan.featured .desc, .plan.featured .amount span { color: #C9B8AB; }
.plan.featured .per { background: rgba(255, 106, 0, .18); color: var(--o-300); }
.plan.featured li [data-lucide] { color: var(--o-400); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff;
  font-size: 12.5px; font-weight: 800; padding: 5px 16px; border-radius: 99px; box-shadow: var(--glow); white-space: nowrap;
}
.plans-note { text-align: center; margin-top: 34px; color: var(--muted); display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.plans-note span { display: inline-flex; align-items: center; gap: 6px; }
.plans-note [data-lucide] { color: var(--o-500); width: 18px; height: 18px; }

/* Testimonials marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.quote { width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; flex-shrink: 0; }
.quote .stars { color: #FFB020; display: flex; gap: 2px; margin-bottom: 12px; }
.quote .stars [data-lucide] { width: 16px; height: 16px; fill: currentColor; }
.quote p { font-size: 14.5px; color: var(--ink-3); min-height: 78px; }
.quote .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 800; font-size: 14px; }
.quote .who small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; line-height: 1.4; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--o-200); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 10px; background: var(--o-50); color: var(--o-600); display: grid; place-items: center; transition: transform .3s; flex-shrink: 0; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--o-500); color: #fff; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* CTA */
.cta {
  background: var(--grad); border-radius: var(--r-xl); padding: 64px; color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; isolation: isolate;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: radial-gradient(#fff 1.4px, transparent 1.4px); background-size: 20px 20px;
  mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .15); left: -120px; bottom: -200px; z-index: -1; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; }
.cta p { color: #FFE8D5; margin-top: 10px; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* Footer */
.footer { background: var(--dark); color: #CDBDB1; padding: 80px 0 28px; margin-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.1fr; gap: 36px; }
.footer .logo { color: #fff; }
.footer .logo small { color: #A8978A; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--o-300); }
.footer p { font-size: 14px; margin-top: 16px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--o-500); color: #fff; }
.trust-seals { display: flex; gap: 10px; }
.trust-seals > .seal-empty { width: 88px; height: 100px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; color: var(--muted); font-size: 11px; text-align: center; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding-top: 24px; font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   APP (dashboard)
   ========================================================================== */
.app { display: grid; grid-template-columns: 272px 1fr; min-height: 100vh; background: var(--app-bg); }
.sidebar {
  background: var(--dark); color: #CDBDB1; padding: 22px 16px; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; overflow-y: auto;
}
.sidebar .logo { color: #fff; padding: 4px 8px 22px; }
.sidebar .logo small { color: #A8978A; }
.side-label { font-size: 11.5px; font-weight: 800; color: #8B7A6E; padding: 16px 12px 8px; letter-spacing: .3px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  transition: background .2s, color .2s; position: relative;
}
.side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a.active { background: linear-gradient(90deg, rgba(255, 106, 0, .08), rgba(255, 106, 0, .22)); color: #fff; }
.side-nav a.active::before { content: ""; position: absolute; right: -16px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px 0 0 4px; background: var(--o-500); }
.side-nav a.active [data-lucide] { color: var(--o-400); }
.side-nav .count { margin-inline-start: auto; background: var(--o-500); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 99px; }
.side-card {
  margin-top: auto; background: linear-gradient(160deg, #3A2A20, #241913); border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--r); padding: 18px; position: relative; overflow: hidden;
}
.side-card::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 0, .45), transparent 70%); top: -70px; left: -50px; }
.side-card h4 { color: #fff; font-size: 14.5px; position: relative; }
.side-card p { font-size: 12.5px; margin: 6px 0 14px; position: relative; }
.side-card .btn { width: 100%; position: relative; }

.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 28px;
  background: var(--topbar-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 20px; font-weight: 900; }
.topbar .crumb { font-size: 12.5px; color: var(--muted); }
.search {
  margin-inline-start: auto; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 12px; height: 42px; width: 280px; color: var(--muted);
}
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; }
.credit-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; box-shadow: var(--glow);
}
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; color: var(--ink-3); }
.icon-btn .badge { position: absolute; top: 9px; left: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--o-500); box-shadow: 0 0 0 2px #fff; }
.me { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.me .av { width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; }
.me small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.3; }
.side-toggle { display: none; }

.content { padding: 28px; display: grid; gap: 22px; }
.welcome {
  background: var(--dark); border-radius: var(--r-lg); padding: 28px 32px; color: #fff; display: flex; align-items: center; gap: 24px;
  position: relative; overflow: hidden; isolation: isolate;
}
.welcome::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 0, .55), transparent 65%); left: -120px; top: -200px; z-index: -1; }
.welcome::after { content: ""; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 18px 18px; z-index: -1; }
.welcome h2 { color: #fff; font-size: 22px; font-weight: 900; }
.welcome p { color: #D8C9BE; margin-top: 6px; }
.welcome .actions { margin-inline-start: auto; display: flex; gap: 10px; }
.welcome .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.welcome .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; position: relative; overflow: hidden; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.kpi-ic.o { background: var(--o-50); color: var(--o-600); }
.kpi-ic.g { background: var(--green-bg); color: var(--green); }
.kpi-ic.b { background: var(--blue-bg); color: var(--blue); }
.kpi-ic.a { background: var(--amber-bg); color: var(--amber); }
.delta { font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: 8px; }
.delta.up { color: var(--green); background: var(--green-bg); }
.delta.down { color: var(--red); background: var(--red-bg); }
.delta [data-lucide] { width: 14px; height: 14px; }
.kpi b { display: block; font-size: 30px; font-weight: 900; margin-top: 14px; line-height: 1.2; color: var(--ink); }
.kpi span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.kpi .spark { position: absolute; left: 0; bottom: 0; width: 55%; height: 48px; opacity: .9; }
.meter { height: 8px; background: var(--o-50); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }

.row { display: grid; gap: 22px; }
.row-2-1 { grid-template-columns: 2fr 1fr; }
.row-1-1 { grid-template-columns: 1fr 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h3 { font-size: 16.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.card-head h3 [data-lucide] { color: var(--o-500); }
.seg { display: inline-flex; background: var(--o-50); border-radius: 11px; padding: 4px; gap: 2px; }
.seg button { white-space: nowrap; border: 0; background: transparent; padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--o-600); box-shadow: var(--shadow-sm); }
.chart { width: 100%; height: auto; }
.chart .grid-line { stroke: var(--line); stroke-dasharray: 4 6; }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .area { fill: url(#areaGrad); }
.chart .line { fill: none; stroke: var(--o-500); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2s ease forwards .3s; }
.chart .line2 { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 5 6; opacity: .35; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart .pt { fill: #fff; stroke: var(--o-500); stroke-width: 3; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

.booth { text-align: center; }
.booth-logo { width: 76px; height: 76px; border-radius: 22px; margin: 6px auto 12px; background: var(--grad-soft); border: 1px solid var(--o-100); display: grid; place-items: center; color: var(--o-600); position: relative; }
.booth-logo [data-lucide] { width: 34px; height: 34px; }
.booth-logo .ok { position: absolute; bottom: -4px; left: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.booth-logo .ok [data-lucide] { width: 14px; height: 14px; stroke-width: 3; }
.booth h4 { font-size: 17px; font-weight: 900; }
.kv { display: grid; gap: 0; margin: 18px 0; text-align: start; }
.kv div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.kv div:last-child { border: 0; }
.kv dt, .kv span:first-child { color: var(--muted); }
.kv b { font-weight: 800; }

.table-wrap { overflow-x: auto; margin: 0 -22px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th { text-align: start; font-size: 12.5px; color: var(--muted); font-weight: 700; padding: 10px 22px; background: var(--surface-2); border-block: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.chart { direction: ltr; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--surface-2); }
.prod { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.prod small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.prog-mini { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.prog-mini .meter { flex: 1; margin: 0; height: 6px; }
.prog-mini span { font-size: 12.5px; font-weight: 800; color: var(--ink-3); }

.live { background: linear-gradient(160deg, var(--surface), var(--o-50)); border-color: var(--o-100); }
.live-ring { width: 150px; height: 150px; margin: 4px auto 14px; position: relative; }
.live-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.live-ring circle { fill: none; stroke-width: 12; }
.live-ring .bg { stroke: var(--o-100); }
.live-ring .fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 402; stroke-dashoffset: 402; transition: stroke-dashoffset 1s ease; }
.live-ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.live-ring .val b { font-size: 32px; font-weight: 900; color: var(--ink); line-height: 1; }
.live-ring .val small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 161, 80, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(18, 161, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); } }
.feed { display: grid; gap: 8px; max-height: 180px; overflow: hidden; }
.feed div { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.feed [data-lucide] { width: 16px; height: 16px; }
.feed .ok { color: var(--green); }
.feed .err { color: var(--red); }
.feed time { margin-inline-start: auto; color: var(--muted); font-size: 11.5px; }

.ref-card { background: var(--grad); color: #fff; border: 0; position: relative; overflow: hidden; }
.ref-card::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .14); left: -60px; bottom: -90px; }
.ref-card h3 { color: #fff; font-size: 18px; font-weight: 900; }
.ref-card p { color: #FFE8D5; font-size: 14px; margin: 6px 0 16px; }
.ref-link { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .18); border: 1px dashed rgba(255, 255, 255, .5); border-radius: 12px; padding: 6px 6px 6px 12px; position: relative; z-index: 1; }
.ref-link code { font-family: ui-monospace, monospace; font-size: 13px; direction: ltr; flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Transfer page ---------- */
.stepper { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 22px; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.st { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; }
.st i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; background: var(--o-50); color: var(--o-600); border: 1px solid var(--o-100); }
.st.done i { background: var(--green); color: #fff; border-color: var(--green); }
.st.done i [data-lucide] { width: 16px; height: 16px; stroke-width: 3; }
.st.cur { color: var(--ink); }
.st.cur i { background: var(--grad); color: #fff; border: 0; box-shadow: var(--glow); }
.st-line { flex: 1; min-width: 30px; height: 2px; background: var(--line); border-radius: 2px; }
.st-line.done { background: var(--green); }

.source-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.source-tabs button { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.source-tabs button.on { background: var(--o-50); border-color: var(--o-300); color: var(--o-600); }
.url-box { display: flex; gap: 10px; }
.field {
  display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; height: 52px;
  transition: border-color .2s, box-shadow .2s; flex: 1; color: var(--muted);
}
.field:focus-within { border-color: var(--o-400); box-shadow: 0 0 0 4px rgba(255, 106, 0, .12); }
.field input, .field select { border: 0; outline: 0; background: transparent; width: 100%; height: 100%; color: var(--ink); font-size: 14.5px; }
.field input.ltr { direction: ltr; text-align: left; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.hint [data-lucide] { width: 15px; height: 15px; }

.seller { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--o-50); border: 1px solid var(--o-100); margin-top: 18px; flex-wrap: wrap; }
.seller .sl { width: 56px; height: 56px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; color: var(--o-600); box-shadow: var(--shadow-sm); }
.seller h4 { font-size: 16px; font-weight: 900; }
.seller .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 2px; }
.seller .meta span { display: inline-flex; align-items: center; gap: 4px; }
.seller .meta [data-lucide] { width: 15px; height: 15px; }
.seller .stat-inline { margin-inline-start: auto; display: flex; gap: 20px; }
.seller .stat-inline div { text-align: center; }
.seller .stat-inline b { display: block; font-size: 20px; font-weight: 900; color: var(--ink); }
.seller .stat-inline small { color: var(--muted); font-size: 12px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .field { height: 42px; border-radius: 12px; flex: 0 1 260px; }
.toolbar .spacer { flex: 1; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--ink-3); }
.toggle input { display: none; }
.toggle i { width: 38px; height: 22px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; }
.toggle i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s; }
.toggle input:checked + i { background: var(--o-500); }
.toggle input:checked + i::after { transform: translateX(-16px); }

.cb { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-strong); cursor: pointer; display: grid; place-items: center; transition: all .15s; margin: 0; background: var(--surface); }
.cb:checked { background: var(--o-500); border-color: var(--o-500); }
.cb:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.cb:indeterminate { background: var(--o-500); border-color: var(--o-500); }
.cb:indeterminate::after { content: ""; width: 10px; height: 2.5px; background: var(--surface); border-radius: 2px; }
.table tr.sel td { background: var(--sel-bg); }
.inline-input { width: 100%; min-width: 140px; border: 1px solid transparent; background: transparent; border-radius: 8px; padding: 6px 8px; font-weight: 700; font-size: 13.5px; transition: all .15s; }
.inline-input:hover { border-color: var(--line); background: var(--surface); }
.inline-input:focus { outline: 0; border-color: var(--o-400); background: var(--surface); box-shadow: 0 0 0 3px rgba(255, 106, 0, .1); }
.price-cell small { display: block; color: var(--muted); font-size: 12px; text-decoration: line-through; }
.price-cell b { color: var(--o-600); font-weight: 900; }
.cat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.cat [data-lucide] { width: 14px; height: 14px; }
.dup { opacity: .55; }

.action-bar {
  position: sticky; bottom: 18px; z-index: 15; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 14px 16px 14px 14px; box-shadow: var(--shadow-lg);
}
.action-bar .count { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-weight: 900; font-size: 18px; box-shadow: var(--glow); }
.action-bar b { font-size: 15px; }
.action-bar small { display: block; color: #C9B8AB; font-size: 12.5px; }
.action-bar .actions { margin-inline-start: auto; display: flex; gap: 10px; }
.action-bar .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .2); }
.action-bar .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Drawer & modal */
.overlay { position: fixed; inset: 0; background: rgba(28, 20, 16, .5); backdrop-filter: blur(4px); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(440px, 100%); background: var(--surface); z-index: 70; box-shadow: var(--shadow-lg);
  /* clip-path instead of an off-screen translate: in RTL, content pushed left of the viewport widens the scroll area */
  clip-path: inset(0 100% 0 0); visibility: hidden;
  transition: clip-path .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s; display: flex; flex-direction: column;
}
.drawer.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; font-weight: 900; }
.drawer-body { padding: 22px; overflow-y: auto; flex: 1; display: grid; gap: 20px; align-content: start; }
.drawer-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.drawer-foot .btn { flex: 1; }
.fgroup label { display: block; font-weight: 800; font-size: 13.5px; margin-bottom: 8px; }
.fgroup .field { height: 46px; border-radius: 12px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rules { display: grid; gap: 8px; }
.rule { display: grid; grid-template-columns: 1fr auto 70px; gap: 8px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.rule b { color: var(--o-600); text-align: center; background: var(--o-50); border-radius: 8px; padding: 4px 0; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-cards label { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; font-size: 13px; transition: all .15s; margin: 0; font-weight: 600; }
.radio-cards label b { display: block; font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.radio-cards input { display: none; }
.radio-cards input:checked + label { border-color: var(--o-500); background: var(--o-50); box-shadow: 0 0 0 3px rgba(255, 106, 0, .1); }

.modal {
  position: fixed; top: 50%; left: 50%; width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface); border-radius: var(--r-xl); z-index: 70; box-shadow: var(--shadow-lg); padding: 28px;
  transform: translate(-50%, -46%) scale(.96); opacity: 0; pointer-events: none; transition: all .35s cubic-bezier(.2, .8, .2, 1);
}
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.run-head { display: flex; align-items: center; gap: 16px; }
.run-head .bot { width: 64px; height: 64px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--glow); flex-shrink: 0; }
.run-head .bot svg { width: 44px; height: 44px; }
.run-head .bot.working svg { animation: wobble 1s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.run-head h3 { font-size: 19px; font-weight: 900; }
.big-prog { margin: 22px 0 8px; height: 14px; background: var(--o-50); border-radius: 99px; overflow: hidden; position: relative; }
.big-prog i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .5s ease; position: relative; overflow: hidden; }
.big-prog i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shine 1.4s linear infinite; }
@keyframes shine { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
.run-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.run-stats div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.run-stats b { display: block; font-size: 22px; font-weight: 900; }
.run-stats small { color: var(--muted); font-size: 12px; font-weight: 600; }
.run-log { display: grid; gap: 6px; max-height: 220px; overflow-y: auto; padding-inline-end: 4px; }
.run-log div { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); animation: slidein .35s ease both; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.run-log .ok [data-lucide] { color: var(--green); }
.run-log .err [data-lucide] { color: var(--red); }
.run-log .work [data-lucide] { color: var(--o-500); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.run-log small { margin-inline-start: auto; color: var(--muted); font-size: 11.5px; }
.run-warn { display: flex; gap: 10px; align-items: flex-start; background: var(--amber-bg); color: #7A5400; border-radius: 12px; padding: 12px; font-size: 13px; margin-top: 16px; }
.run-warn [data-lucide] { width: 18px; height: 18px; margin-top: 2px; }
.run-listing { display: flex; gap: 10px; align-items: center; background: var(--blue-bg, #EAF2FF); color: var(--blue, #2563EB); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-top: 14px; }
.run-listing [data-lucide] { width: 18px; height: 18px; flex: none; }
.bulk-all { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.bulk-all small { color: var(--muted); }
.run-actions { display: flex; gap: 10px; margin-top: 18px; }
.run-actions .btn { flex: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .row-2-1, .row-1-1 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-ghost:not(.nav-toggle) { display: none; }
  .nav.menu-open .nav-links {
    display: grid; position: absolute; top: 76px; right: 16px; left: 16px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 10px; box-shadow: var(--shadow-lg);
  }
  .hero-grid, .band-grid, .cta { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .scene-wrap { max-width: 540px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 2; grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-6px); }
  .band, .cta { padding: 40px 28px; }
  .cta-actions { justify-content: flex-start; }

  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; right: 0; top: 0; z-index: 80; width: 280px; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .app.side-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  .side-toggle { display: grid; }
  .search { display: none; }
  .me > div { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .section { padding: 72px 0; }
  .container { padding-inline: 16px; }
  .nav-actions .btn-primary { height: 40px; padding-inline: 14px; font-size: 13.5px; }
  .hero-lead { font-size: 16px; }
  .hero-cta .btn { flex: 1; }
  .features, .steps { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .stat b { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote { width: 290px; }

  .topbar { padding: 0 16px; gap: 10px; }
  .topbar h1 { font-size: 17px; }
  .topbar .crumb { display: none; }
  .credit-pill span { display: none; }
  .content { padding: 16px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi { padding: 16px; }
  .kpi b { font-size: 24px; }
  .welcome { flex-direction: column; align-items: flex-start; padding: 22px; }
  .welcome .actions { margin: 0; width: 100%; }
  .welcome .actions .btn { flex: 1; }
  .url-box { flex-direction: column; }
  .seller .stat-inline { margin: 0; width: 100%; justify-content: space-around; }
  .action-bar .actions { width: 100%; margin: 0; }
  .action-bar .actions .btn { flex: 1; }
  .fgrid, .radio-cards { grid-template-columns: 1fr; }
  .modal { padding: 20px; }
}

/* ==========================================================================
   v2.4 — Home redesign, pricing, comparison
   ========================================================================== */
[hidden] { display: none !important; }

/* Hero mockup (pure CSS, scales with its column) */
.mock-wrap { position: relative; padding: 28px 10px 40px; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: bob 7s ease-in-out infinite; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: 12px; color: var(--muted); font-weight: 700; }
.mock-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock-top i:first-child { background: #FF6B6E; } .mock-top i:nth-child(2) { background: #F2C14E; } .mock-top i:nth-child(3) { background: #3DD68C; }
.mock-top span { margin-inline-start: 8px; }
.mock-body { padding: 16px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.mock-kpis small { display: block; color: var(--muted); font-size: 11px; }
.mock-kpis b { display: block; font-size: 20px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.mock-kpis em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 700; }
.mock-kpis em.up, .mock-row .up { color: var(--green); }
.mock-chart { height: 90px; display: flex; align-items: flex-end; gap: 6px; padding: 8px 4px 0; border-bottom: 1px dashed var(--line); }
.mock-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); opacity: .85; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.mock-chart i:nth-child(odd) { opacity: .55; }
@keyframes grow { from { transform: scaleY(.1); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
.mock-rows { display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); font-size: 12.5px; font-weight: 700; }
.mock-row small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; line-height: 1.4; }
.mock-row > div { flex: 1; min-width: 0; }
.mock-row b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.mock-row b.ok { background: var(--green-bg); color: var(--green); }
.mock-row b [data-lucide] { width: 15px; height: 15px; }
.mr-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.mr-ic [data-lucide] { width: 16px; height: 16px; }
.mr-ic.o { background: var(--grad); } .mr-ic.b { background: linear-gradient(135deg, #6B7CFF, #3E4CD6); } .mr-ic.g { background: linear-gradient(135deg, #2EC4A0, #12A150); }
.hero-v2 .fb-1 { top: 0; left: -6px; }
.hero-v2 .fb-2 { bottom: 6px; right: -6px; }

/* Pains → solutions */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-q { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--surface-2); border-bottom: 1px dashed var(--line); }
.pain-q span { width: 36px; height: 36px; border-radius: 12px; background: var(--red-bg); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.pain-q b { font-weight: 800; color: var(--ink); font-size: 15px; line-height: 1.6; }
.pain-a { display: flex; gap: 12px; padding: 18px 20px; }
.pain-a span { width: 36px; height: 36px; border-radius: 12px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.pain-a p { color: var(--muted); font-size: 14.5px; }

/* Feature tabs */
.ftabs-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 18px; scrollbar-width: thin; justify-content: center; flex-wrap: wrap; }
.ftabs-nav button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 9px 16px; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; color: var(--ink-3); transition: all .2s; }
.ftabs-nav button [data-lucide] { width: 18px; height: 18px; color: var(--o-500); }
.ftabs-nav button em { font-style: normal; font-size: 11.5px; background: var(--o-50); color: var(--o-600); border-radius: 99px; padding: 0 8px; }
.ftabs-nav button.on { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: var(--shadow); }
.ftabs-nav button.on [data-lucide] { color: var(--o-400); }
.ftabs-nav button.on em { background: rgba(255, 106, 0, .25); color: #fff; }
.ftabs-panel { display: none; }
.ftabs-panel.on { display: block; animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.feature .ftier { display: inline-block; margin-top: 12px; font-size: 11.5px; font-weight: 800; padding: 2px 10px; border-radius: 99px; background: var(--o-50); color: var(--o-600); }
.feature .ftier.free { background: var(--green-bg); color: var(--green); }
.feature-hl { border-color: var(--o-200); }
.feature-hl::before { content: "★"; position: absolute; top: 16px; left: 18px; color: var(--o-500); font-size: 16px; }

/* Spotlights */
.spots .container { display: grid; gap: 34px; }
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 44px; }
.spot-rev .spot-text { order: 2; }
.spot h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; margin: 14px 0 6px; }
.check-list.dark li { color: var(--text); }
.check-list.dark [data-lucide] { color: var(--o-500); }
.spot-visual { display: grid; place-items: center; background: var(--grad-soft); border-radius: var(--r-lg); padding: 30px 20px; min-height: 280px; }
.mk-label { width: 100%; max-width: 300px; background: #fff; color: #111; border: 2px solid #111; border-radius: 10px; padding: 12px; font-size: 12px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.mk-l-head { display: flex; justify-content: space-between; background: #111; color: #fff; margin: -12px -12px 10px; padding: 6px 12px; border-radius: 7px 7px 0 0; font-weight: 800; }
.mk-l-to small { display: block; color: #666; }
.mk-l-to b { display: block; font-size: 14px; }
.mk-l-to span { color: #444; }
.mk-l-code { display: flex; gap: 3px; direction: ltr; margin: 10px 0; }
.mk-l-code i { flex: 1; border: 1.5px solid #111; border-radius: 3px; text-align: center; font-style: normal; font-weight: 800; font-size: 12px; }
.mk-l-bar { display: flex; gap: 2px; height: 34px; align-items: stretch; justify-content: center; }
.mk-l-bar i { background: #111; }
.mk-l-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 11px; color: #444; }
.mk-stamp { display: inline-flex; align-items: center; gap: 4px; color: #12A150; border: 2px solid #12A150; border-radius: 6px; padding: 0 6px; font-weight: 900; transform: rotate(-6deg); }
.mk-stamp [data-lucide] { width: 14px; height: 14px; }
.mk-sales, .mk-chat, .mk-rank { width: 100%; max-width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-lg); }
.mk-s-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-s-kpis small { display: block; color: var(--muted); font-size: 11px; }
.mk-s-kpis b { font-size: 18px; font-weight: 900; color: var(--ink); }
.mk-s-kpis b.g { color: var(--green); }
.mk-s-chart { width: 100%; height: 110px; margin: 10px 0; }
.mk-s-chart .area { fill: rgba(255, 106, 0, .14); }
.mk-s-chart .line { fill: none; stroke: var(--o-500); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.mk-s-top { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-top: 1px dashed var(--line); }
.mk-s-top b { color: var(--o-600); }
.mk-chat { display: grid; gap: 10px; }
.mk-c-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.7; }
.mk-c-msg.in { background: var(--surface-2); border: 1px solid var(--line); justify-self: start; border-bottom-right-radius: 4px; }
.mk-c-msg.out { background: var(--grad); color: #fff; justify-self: end; border-bottom-left-radius: 4px; }
.mk-c-msg em { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; font-weight: 800; opacity: .9; margin-bottom: 2px; }
.mk-c-msg em [data-lucide] { width: 13px; height: 13px; }
.mk-c-note { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 12px; color: var(--muted); }
.mk-c-note [data-lucide] { width: 15px; height: 15px; color: var(--blue); }
.mk-r-row { display: grid; grid-template-columns: 1fr auto 52px; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.mk-r-row:last-child { border-bottom: 0; }
.mk-r-row b { font-weight: 800; color: var(--ink); }
.mk-r-row em { font-style: normal; font-weight: 800; font-size: 12px; text-align: center; border-radius: 8px; padding: 2px 0; }
.mk-r-row em.up { background: var(--green-bg); color: var(--green); }
.mk-r-row em.eq { background: var(--muted-bg); color: var(--muted); }
.mk-src, .mk-ai { width: 100%; max-width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-lg); }
.mk-src-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.mk-src-row:last-child { border-bottom: 0; }
.mk-src-row .mr-ic { width: 30px; height: 30px; border-radius: 10px; color: #fff; display: grid; place-items: center; }
.mk-src-row .mr-ic [data-lucide] { width: 16px; height: 16px; }
.mk-src-row b { font-weight: 800; color: var(--ink); }
.mk-src-row em { font-style: normal; font-size: 12px; color: var(--muted); }
.mk-src-row .ok { color: var(--green); display: grid; }
.mk-src-row .ok [data-lucide] { width: 16px; height: 16px; }
.mk-ai { display: grid; gap: 8px; }
.mk-ai small { display: block; font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 2px; }
.mk-ai-before { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line); color: var(--muted); text-decoration: line-through; font-size: 13.5px; }
.mk-ai-arrow { justify-self: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.mk-ai-arrow [data-lucide] { width: 16px; height: 16px; }
.mk-ai-after { padding: 12px; border-radius: 12px; background: var(--o-50); border: 1px solid var(--o-200); }
.mk-ai-after b { display: block; font-weight: 900; color: var(--ink); font-size: 14px; line-height: 1.7; }
.mk-ai-after p { margin: 4px 0 0; font-size: 12.5px; color: var(--text); line-height: 1.8; }

/* All features at a glance */
.glance { columns: 3 260px; column-gap: 18px; }
.glance-col { break-inside: avoid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 18px; }
.glance-col h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; margin: 0 0 10px; }
.glance-col h3 [data-lucide] { width: 20px; height: 20px; color: var(--o-500); }
.glance-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.glance-col li { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; color: var(--text); line-height: 1.7; }
.glance-col li [data-lucide] { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 4px; }
.glance-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* Public /features page */
.fp-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.fp-nav a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 14px; font-weight: 800; font-size: 13.5px; color: var(--ink-3); }
.fp-nav a [data-lucide] { width: 16px; height: 16px; color: var(--o-500); }
.fp-group { margin-bottom: 40px; scroll-margin-top: 90px; }
.fp-group > h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; margin: 0 0 16px; }
.fp-group > h2 [data-lucide] { color: var(--o-500); }

/* Audit band */
.audit-band { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px dashed var(--o-300); border-radius: var(--r-xl); padding: 28px 32px; margin-top: 40px; }
.audit-band .ab-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--glow); }
.audit-band .ab-ic [data-lucide] { width: 30px; height: 30px; }
.audit-band h3 { font-size: 20px; font-weight: 900; }
.audit-band p { color: var(--muted); }
.audit-band > div { flex: 1; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pricing > * { min-width: 0; }
.period-switch { display: inline-flex; justify-self: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 5px; box-shadow: var(--shadow-sm); flex-wrap: wrap; justify-content: center; }
.period-switch button { border: 0; background: transparent; border-radius: 99px; padding: 8px 18px; font-weight: 800; cursor: pointer; color: var(--ink-3); font-size: 14px; }
.period-switch button em { font-style: normal; font-size: 11px; color: var(--green); background: var(--green-bg); border-radius: 99px; padding: 1px 8px; margin-inline-start: 4px; }
.period-switch button.on { background: var(--dark); color: #fff; }
.period-switch button.on em { background: rgba(61, 214, 140, .2); color: #7EF0B6; }
.pricing-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 22px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pcard h3 { font-size: 21px; font-weight: 900; }
.pc-desc { color: var(--muted); font-size: 13.5px; min-height: 44px; margin-top: 4px; }
.pc-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 2px; flex-wrap: wrap; }
.pc-price b { font-size: 34px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.pc-price span { color: var(--muted); font-weight: 700; }
.pc-price small { color: var(--muted); font-size: 13px; }
.pc-sub { font-size: 12.5px; color: var(--green); font-weight: 700; min-height: 20px; }
.pc-quota { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--o-600); background: var(--o-50); border-radius: 10px; padding: 6px 10px; margin-top: 8px; }
.pc-quota [data-lucide] { width: 16px; height: 16px; }
.pc-cta { margin: 18px 0 6px; }
.pc-buy .pc-cta { width: 100%; }
.pc-note { font-size: 12px; color: var(--green); display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.pc-note [data-lucide] { width: 15px; height: 15px; }
.pc-coupon summary { font-size: 12px; color: var(--muted); cursor: pointer; }
.pc-coupon .input { margin-top: 6px; height: 40px; }
.pc-extra { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink-3); margin-top: 10px; }
.pc-extra [data-lucide] { width: 16px; height: 16px; color: var(--o-500); }
.pc-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.pc-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.7; }
.pc-list li [data-lucide] { width: 17px; height: 17px; color: var(--green); margin-top: 3px; }
.pc-list li.pc-inherit { font-weight: 800; color: var(--ink-3); }
.pc-list li.pc-inherit [data-lucide] { color: var(--o-500); }
.pc-list li.pc-need { background: var(--amber-bg); border-radius: 8px; padding: 2px 6px; font-weight: 800; }
.pc-limits { list-style: none; padding: 12px 0 0; margin: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.pcard-featured { background: var(--dark); color: #fff; border-color: transparent; box-shadow: 0 40px 80px -30px rgba(255, 106, 0, .55); }
.pcard-featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pcard-featured h3, .pcard-featured .pc-price b { color: #fff; }
.pcard-featured .pc-desc, .pcard-featured .pc-price span, .pcard-featured .pc-price small, .pcard-featured .pc-limits, .pcard-featured .pc-coupon summary { color: #C9B8AB; }
.pcard-featured .pc-quota { background: rgba(255, 106, 0, .18); color: var(--o-300); }
.pcard-featured .pc-extra, .pcard-featured .pc-list li.pc-inherit { color: #EFE3D9; }
.pcard-featured .pc-list li [data-lucide] { color: var(--o-400); }
.pcard-featured .pc-limits { border-color: rgba(255, 255, 255, .12); }
.pcard-current { outline: 2px solid var(--green); outline-offset: -2px; }
.pc-ribbon, .pc-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 99px; }
.pc-ribbon { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.pc-badge { background: var(--green); color: #fff; }
.pc-ribbon [data-lucide], .pc-badge [data-lucide] { width: 14px; height: 14px; }
.pcard-featured.pcard-current .pc-badge { top: auto; bottom: -13px; }
.pricing-vat { text-align: center; color: var(--muted); font-size: 12.5px; }
.pricing-more { text-align: center; margin-top: 18px; }
.pricing-more .link { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; }

/* Comparison table */
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 18px 22px; font-weight: 900; font-size: 16px; }
.compare > summary::-webkit-details-marker { display: none; }
.compare > summary .pm { margin-inline-start: auto; transition: transform .3s; color: var(--o-600); }
.compare[open] > summary .pm { transform: rotate(180deg); }
.compare-wrap { overflow-x: auto; padding: 0 12px 16px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 13.5px; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: right; position: sticky; right: 0; background: var(--surface); min-width: 210px; }
.compare-table thead th { font-weight: 900; color: var(--ink); position: sticky; top: 0; background: var(--surface); }
.compare-table .hl { background: var(--o-50); }
.compare-table thead th.hl { color: var(--o-600); }
.compare-table tr.cg th { text-align: right; background: var(--surface-2); font-weight: 900; color: var(--ink-3); padding-top: 14px; }
.compare-table tr.cg th [data-lucide] { display: inline-block; width: 17px; height: 17px; color: var(--o-500); vertical-align: -3px; margin-inline-end: 6px; }
.compare-table td [data-lucide] { display: inline-block; vertical-align: middle; }
.compare-table .yes { color: var(--green); width: 18px; height: 18px; }
.compare-table .no { color: var(--line-strong); width: 16px; height: 16px; }
.compare-table tr.need td { background: var(--amber-bg); font-weight: 800; }

/* Extra credit packs */
.packs { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 18px 22px; }
.packs h4 { display: flex; gap: 8px; align-items: center; font-weight: 900; }
.packs p { color: var(--muted); font-size: 13.5px; }
.packs-list { display: flex; gap: 10px; flex-wrap: wrap; }
.pack { display: grid; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px 16px; transition: border-color .2s; }
.pack:hover { border-color: var(--o-300); }
.pack b { font-weight: 900; color: var(--ink); }
.pack span { font-size: 12.5px; color: var(--muted); }

/* Pricing page hero */
.page-hero { position: relative; padding: 70px 0 20px; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; margin: 16px 0 10px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; margin-inline: auto; }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .mock-wrap { max-width: 560px; margin-inline: auto; width: 100%; }
  .pains { grid-template-columns: 1fr 1fr; }
  .spot { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 24px; }
  .spot-rev .spot-text { order: 0; }
  .ftabs-nav { justify-content: flex-start; flex-wrap: nowrap; }
}
@media (max-width: 640px) {
  .pains, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid { max-width: 440px; margin-inline: auto; width: 100%; }
  .mock-kpis b { font-size: 16px; }
  .mock-kpis { gap: 6px; }
  .mock-kpis > div { padding: 8px; }
  .hero-v2 .float-badge { display: none; }
  .spot { padding: 20px; }
  .spot-visual { padding: 20px 12px; min-height: 0; }
  .audit-band { flex-direction: column; align-items: flex-start; padding: 22px; }
  .period-switch button { padding: 7px 12px; font-size: 13px; }
}

/* ===== Home page design 2 ===== */
.x-hero { position: relative; overflow: hidden; padding: 56px 0 30px; }
.x-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.x-hero h1 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; line-height: 1.35; margin: 16px 0 8px; }
.x-rotate { font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; color: var(--ink-3); margin: 0 0 10px; min-height: 1.6em; }
.x-rotate [data-rotate] { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .3s, transform .3s; }
.x-rotate [data-rotate].out { opacity: 0; transform: translateY(-8px); }
.x-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.x-panel-tabs { display: flex; gap: 4px; padding: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--surface-2); scrollbar-width: none; }
.x-panel-tabs button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; border-radius: 99px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 800; color: var(--muted); cursor: pointer; white-space: nowrap; }
.x-panel-tabs button [data-lucide] { width: 16px; height: 16px; }
.x-panel-tabs button.on { background: var(--dark); color: #fff; }
.x-panel-body { position: relative; padding: 18px; min-height: 290px; }
.x-scr { display: none; gap: 10px; }
.x-scr.on { display: grid; animation: fadeUp .45s ease both; }
.x-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.x-scr.play .x-row, .x-scene.in .x-row { animation: fadeUp .5s ease both; animation-delay: calc(var(--d, 0) * 140ms + 150ms); }
.x-row .mr-ic { width: 32px; height: 32px; border-radius: 10px; color: #fff; display: grid; place-items: center; }
.x-row .mr-ic [data-lucide] { width: 16px; height: 16px; }
.x-row .ok { color: var(--green); font-style: normal; }
.x-progress { height: 8px; border-radius: 99px; background: var(--muted-bg); overflow: hidden; }
.x-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; }
.x-scr.play .x-progress i { animation: xfill 3.6s ease forwards; }
@keyframes xfill { to { width: 100%; } }
.x-mini-label { transform: rotate(-1.5deg); margin: 6px auto; }
.x-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin-top: 10px; }
.x-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--o-400), var(--o-600)); transform-origin: bottom; }
.x-scr.play .x-bars i { animation: xgrow .7s ease both; animation-delay: calc(var(--d) * 70ms); }
@keyframes xgrow { from { transform: scaleY(.05); } to { transform: scaleY(1); } }
.x-rate { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--o-50); font-size: 13.5px; }
.x-rate span { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; }
.x-rate b { font-size: 18px; font-weight: 900; color: var(--ink); }
.x-rate em, .x-mk-row b.up, .x-row em.up { color: var(--green); font-style: normal; font-weight: 800; }
.x-price { font-style: normal; font-weight: 900; color: var(--o-600); }
.x-stats { margin-top: 34px; }
/* section nav */
.x-catnav { position: sticky; top: 76px; z-index: 30; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.x-catnav-in { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none; }
.x-catnav a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 800; color: var(--ink-3); border: 1px solid transparent; }
.x-catnav a [data-lucide] { width: 16px; height: 16px; color: var(--o-500); }
.x-catnav a.on { background: var(--dark); color: #fff; }
.x-catnav a.on [data-lucide] { color: var(--o-400); }
/* tour */
.x-tour .container { display: grid; gap: 34px; }
.x-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; scroll-margin-top: 130px; }
.x-scene-rev .x-scene-text { order: 2; }
.x-scene h3 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; margin: 12px 0 8px; line-height: 1.5; }
.x-scene p { color: var(--muted); margin: 0 0 12px; }
.x-scene-visual { display: grid; place-items: center; background: var(--grad-soft); border-radius: var(--r-lg); padding: 28px 18px; min-height: 300px; }
.x-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 800; color: var(--o-600); }
.x-more [data-lucide] { width: 16px; height: 16px; }
.x-mk { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-lg); display: grid; gap: 4px; }
.x-mk-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.x-mk-head span { display: inline-flex; gap: 6px; align-items: center; }
.x-mk-head [data-lucide] { width: 16px; height: 16px; color: var(--o-500); }
.x-mk-row { grid-template-columns: 1fr auto auto; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.x-mk-row s { color: var(--muted); font-size: 12px; }
.x-mk-row b.down { color: var(--red); }
.x-mk-foot { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); padding-top: 8px; }
.x-mk-foot [data-lucide] { width: 14px; height: 14px; }
.x-note { grid-template-columns: auto 1fr; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.x-note:last-child { border-bottom: 0; }
.x-note b { display: block; font-size: 13.5px; }
.x-note small { color: var(--muted); font-size: 12px; }
/* demos */
.x-demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.x-demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, box-shadow .3s; }
.x-demo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.x-demo-wide { grid-column: span 2; }
.x-demo-head { display: flex; align-items: center; gap: 8px; }
.x-demo-head > [data-lucide] { width: 22px; height: 22px; color: var(--o-500); }
.x-demo-head b { font-weight: 900; flex: 1; }
.x-new { font-size: 11px; font-weight: 900; color: #fff; background: var(--grad); border-radius: 99px; padding: 2px 9px; }
.x-gold { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.x-gold label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.x-gold-out { display: grid; gap: 2px; background: var(--o-50); border-radius: 14px; padding: 14px 16px; }
.x-gold-out small { color: var(--muted); }
.x-gold-out b { font-size: 26px; font-weight: 900; color: var(--o-600); }
.x-gold-out span { font-size: 12.5px; color: var(--muted); }
.x-sync { display: grid; gap: 8px; text-align: center; }
.x-sync small { display: block; color: var(--muted); font-size: 11.5px; }
.x-sync b { font-size: 18px; font-weight: 900; color: var(--ink); }
.x-sync-m { background: var(--dark); color: #fff; border-radius: 14px; padding: 10px; }
.x-sync-m b { color: #fff; }
.x-sync-m small, .x-sync-m em { color: rgba(255,255,255,.7); font-style: normal; font-size: 12px; }
.x-sync-lines { display: flex; justify-content: space-around; height: 26px; }
.x-sync-lines i { width: 2px; background: repeating-linear-gradient(180deg, var(--o-400) 0 4px, transparent 4px 8px); animation: xdash 1s linear infinite; }
@keyframes xdash { to { background-position: 0 8px; } }
.x-sync-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.x-sync-f > div { border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.x-sync-f b.flash { animation: xflash .9s ease; }
@keyframes xflash { 0% { color: var(--green); transform: scale(1.12); } 100% { transform: none; } }
.x-receipt { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.x-paper { position: relative; overflow: hidden; background: #fffdf7; color: #333; border: 1px dashed #c9bfa8; border-radius: 8px; padding: 10px 8px; display: grid; gap: 8px; font-size: 11px; font-weight: 800; direction: ltr; }
.x-scan { position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--o-500); box-shadow: 0 0 12px var(--o-500); animation: xscan 2.4s ease-in-out infinite; }
@keyframes xscan { 0%, 100% { top: 4%; } 50% { top: 92%; } }
.x-receipt ul, .x-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.x-receipt li { display: flex; gap: 6px; align-items: center; animation: fadeUp .5s ease both; animation-delay: calc(var(--d) * 400ms + 600ms); }
.x-receipt li [data-lucide] { width: 15px; height: 15px; color: var(--green); }
.x-market { display: grid; gap: 10px; font-size: 13px; }
.x-market > div:not(.bands) { display: grid; gap: 4px; }
.x-phone { align-self: center; width: 150px; aspect-ratio: 9 / 16; border-radius: 22px; border: 6px solid var(--dark); overflow: hidden; box-shadow: var(--shadow-lg); }
.x-story { height: 100%; background: linear-gradient(160deg, #FF8A3D, #E5326E); color: #fff; display: grid; place-items: center; text-align: center; padding: 10px; gap: 4px; }
.x-story b { font-size: 15px; font-weight: 900; }
.x-story-img { width: 84px; height: 84px; border-radius: 14px; background: #fff; color: var(--o-500); display: grid; place-items: center; }
.x-story-img [data-lucide] { width: 40px; height: 40px; }
.x-story em { font-style: normal; font-size: 12px; font-weight: 800; }
.x-story strong { background: #fff; color: #E5326E; border-radius: 99px; padding: 3px 10px; font-size: 12px; }
.x-mini-list li { display: flex; gap: 10px; align-items: center; }
.x-mini-list .mr-ic { width: 32px; height: 32px; border-radius: 10px; color: #fff; display: grid; place-items: center; flex: none; }
.x-mini-list .mr-ic [data-lucide] { width: 16px; height: 16px; }
/* feature grid */
.x-bento-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.x-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.x-chips button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 800; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.x-chips button [data-lucide] { width: 15px; height: 15px; color: var(--o-500); }
.x-chips button em { font-style: normal; font-size: 11px; background: var(--o-50); color: var(--o-600); border-radius: 99px; padding: 0 7px; }
.x-chips button.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.x-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 0 14px; min-width: 260px; }
.x-search [data-lucide] { width: 17px; height: 17px; color: var(--muted); }
.x-search input { border: 0; background: transparent; font: inherit; padding: 9px 0; outline: none; color: var(--ink); width: 100%; }
.x-bento-group { margin-bottom: 26px; scroll-margin-top: 130px; }
.x-bento-h { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; margin: 0 0 12px; }
.x-bento-h [data-lucide] { color: var(--o-500); }
.x-bento-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.x-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.x-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--o-200); }
.x-card-wide { grid-column: span 2; background: linear-gradient(135deg, var(--surface), var(--o-50)); }
.x-card-top { display: flex; align-items: center; gap: 6px; }
.x-card-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--o-50); color: var(--o-600); display: grid; place-items: center; margin-inline-end: auto; }
.x-card h4 { margin: 4px 0 0; font-size: 15px; font-weight: 900; }
.x-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.x-tier { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--muted-bg); color: var(--muted); }
.x-tier.free { background: var(--green-bg); color: var(--green); }
.x-empty { text-align: center; color: var(--muted); }
/* a day */
.x-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; position: relative; }
.x-timeline::before { content: ""; position: absolute; top: 58px; inset-inline: 6%; height: 2px; background: linear-gradient(90deg, var(--o-200), var(--o-500), var(--o-200)); }
.x-timeline li { position: relative; text-align: center; display: grid; gap: 6px; justify-items: center; }
.x-timeline time { font-weight: 900; color: var(--o-600); font-size: 14px; }
.x-tl-ic { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--o-400); color: var(--o-600); display: grid; place-items: center; }
.x-timeline b { font-size: 14.5px; font-weight: 900; }
.x-timeline p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.9; }
/* savings */
.x-roi-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
.x-roi-in { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 16px; }
.x-roi-in label { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-weight: 800; font-size: 14px; }
.x-roi-in output { color: var(--o-600); font-weight: 900; }
.x-roi-in input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--o-500); }
.x-roi-out { display: grid; justify-items: center; gap: 2px; background: var(--grad); color: #fff; border-radius: 16px; padding: 18px; text-align: center; }
.x-roi-out b { font-size: 44px; font-weight: 900; line-height: 1.2; }
.x-roi-out small { opacity: .85; }
.x-compare td.good { color: var(--green); font-weight: 800; }
@media (max-width: 1000px) {
  .x-hero-grid, .x-scene, .x-roi-grid { grid-template-columns: 1fr; }
  .x-scene { padding: 22px; gap: 22px; }
  .x-scene-rev .x-scene-text { order: 0; }
  .x-demo-grid { grid-template-columns: 1fr 1fr; }
  .x-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .x-timeline::before { display: none; }
}
@media (max-width: 640px) {
  .x-hero { padding-top: 28px; }
  .x-demo-grid, .x-bento-grid { grid-template-columns: 1fr; }
  .x-demo-wide, .x-card-wide { grid-column: auto; }
  .x-gold { grid-template-columns: 1fr 1fr; }
  .x-timeline { grid-template-columns: 1fr; text-align: start; }
  .x-timeline li { grid-template-columns: 48px 1fr; justify-items: start; text-align: start; column-gap: 12px; }
  .x-timeline time { grid-column: 2; }
  .x-timeline .x-tl-ic { grid-row: 1 / span 3; grid-column: 1; }
  .x-timeline b, .x-timeline p { grid-column: 2; }
  .x-search { min-width: 0; width: 100%; }
  .x-panel-body { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-scr.on, .x-row, .x-bars i, .x-receipt li, .x-scan, .x-sync-lines i, .x-progress i { animation: none !important; }
  .x-progress i { width: 100%; }
}
/* 2.18 — public prices page */
.prices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.prices-table td { vertical-align: middle; }
.prices-grid .h3 { font-size: 18px; font-weight: 900; margin: 0; }
/* 2.19.1 — feature grid on phones: 4 per category, «show all» opens the rest */
.x-more-btn { display: none; }
@media (max-width: 640px) {
  .x-bento:not(.filtering) .x-bento-group:not(.open) [data-bento-item]:nth-child(n+5) { display: none; }
  .x-bento:not(.filtering) .x-bento-group:not(.open) .x-more-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; border: 1px dashed var(--o-300); background: var(--surface); color: var(--o-600); border-radius: 99px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
  .x-more-btn [data-lucide] { width: 16px; height: 16px; }
}
/* 2.19.2 — phone layout: nothing wider than the screen, compact header */
@media (max-width: 1000px) {
  .x-hero-grid, .x-scene, .x-roi-grid { grid-template-columns: minmax(0, 1fr); }
  .x-hero-grid > *, .x-scene > *, .x-roi-grid > * { min-width: 0; }
}
/* tables bleed to the card edges inside cards; here there is no card around it */
.x-roi .table-wrap { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 10px; }
@media (max-width: 640px) {
  .x-compare { min-width: 0; width: 100%; }
  .x-compare th, .x-compare td { white-space: normal; padding: 8px 6px; font-size: 12.5px; }
}
@media (max-width: 480px) {
  .nav .logo span { white-space: nowrap; }
  .nav .logo small { display: none; }
  .nav .logo-mark { width: 34px; height: 34px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-primary.btn-sm { padding: 8px 12px; font-size: 13px; }
  .nav-actions .btn-primary.btn-sm svg { display: none; }
}
/* 2.19.3 — footer */
.footer-v2 { position: relative; background: radial-gradient(1200px 400px at 85% 0%, rgba(255, 106, 0, .14), transparent 60%), var(--dark); color: #CDBDB1; padding: 0 0 26px; margin-top: 110px; }
.footer-v2::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad); opacity: .9; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; transform: translateY(-50%); background: var(--grad); color: #fff; border-radius: var(--r-xl); padding: 26px 30px; box-shadow: var(--shadow-lg); }
.foot-cta h3 { margin: 0 0 4px; font-size: 21px; font-weight: 900; color: #fff; }
.foot-cta p { margin: 0; opacity: .9; font-size: 14px; }
.foot-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-cta .btn-primary { background: #fff; color: var(--o-600); box-shadow: none; }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.footer-v2 > .container:last-child { padding-top: 64px; }
.footer-v2 .foot-cta + * { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.3fr; gap: 34px; }
.foot-brand .logo { color: #fff; }
.foot-brand .logo small { color: #A8978A; }
.foot-brand > p { font-size: 14px; line-height: 2; margin: 14px 0 16px; color: #BFAFA3; }
.foot-contact { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; font-size: 14px; }
.foot-contact li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot-contact [data-lucide] { width: 17px; height: 17px; color: var(--o-400); }
.foot-contact small { width: 100%; padding-inline-start: 25px; color: #94847A; font-size: 12.5px; }
.foot-social { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-social a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 13px; transition: background .2s, color .2s; }
.foot-social a:hover { background: var(--o-500); color: #fff; }
.foot-social [data-lucide] { width: 17px; height: 17px; }
.foot-col h4 { color: #fff; font-size: 15px; font-weight: 800; margin: 4px 0 16px; position: relative; padding-bottom: 10px; }
.foot-col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--o-500); }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.foot-col a { color: #CDBDB1; transition: color .2s, padding .2s; }
.foot-col a:hover { color: var(--o-300); padding-inline-start: 4px; }
.foot-col small { color: #8C7C72; font-size: 11.5px; }
.foot-trust .trust-seals { flex-wrap: wrap; }
.foot-badges { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 12.5px; color: #A8978A; }
.foot-badges li { display: flex; align-items: center; gap: 7px; }
.foot-badges [data-lucide] { width: 15px; height: 15px; color: var(--green); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding-top: 22px; font-size: 13px; color: #A8978A; }
.foot-disclaimer { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.foot-disclaimer [data-lucide] { width: 15px; height: 15px; }
.foot-top { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 12.5px; }
.foot-top:hover { background: var(--o-500); color: #fff; }
.foot-top [data-lucide] { width: 15px; height: 15px; }
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand, .foot-trust { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-v2 { margin-top: 90px; }
  .foot-cta { padding: 20px; transform: translateY(-40%); }
  .foot-cta h3 { font-size: 18px; }
  .foot-cta-btns, .foot-cta-btns .btn { width: 100%; }
  .foot-cta-btns .btn { justify-content: center; }
  .footer-v2 > .container:last-child { padding-top: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .foot-brand, .foot-trust { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}/* CTA overlaps the section above with a negative margin (a transform would leave an empty gap below it) */
.foot-cta { transform: none; margin-top: -48px; }
.foot-cta-wrap + .container { padding-top: 40px; }
@media (max-width: 640px) {
  .foot-cta { transform: none; margin-top: -40px; }
  .foot-cta-wrap + .container { padding-top: 28px; }
}
/* ---------- 2.21 — «به‌زودی» ---------- */
.soon-badge { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; line-height: 1.7; white-space: nowrap; vertical-align: middle;
  color: #8a5a00; background: #fff4d6; border: 1px solid #f5d98a; }
.soon-badge.soon-partial { color: var(--muted, #6b7280); background: transparent; border-style: dashed; border-color: var(--border, #e5e7eb); font-weight: 600; }
.side-nav a .soon-badge, nav a .soon-badge { margin-inline-start: auto; font-size: 10px; padding: 0 7px; }
.x-card .soon-badge { margin-inline-start: 0; }
.compare-table .soon-badge { font-size: 10px; }
.soon-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 16px; border-radius: 14px; background: linear-gradient(135deg, #fff8e6, #fff2d1); border: 1px solid #f5d98a; color: #6b4a00; }
.soon-box > svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: #d08a00; }
.soon-box b { display: block; font-size: 14px; margin-bottom: 2px; }
.soon-box span { font-size: 13px; line-height: 1.9; }
.ai-soon .btn[disabled] { opacity: .85; cursor: default; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .soon-badge { color: #ffd479; background: rgba(255, 196, 64, .12); border-color: rgba(255, 196, 64, .35); }
  :root:not([data-theme="light"]) .soon-box { background: rgba(255, 196, 64, .08); border-color: rgba(255, 196, 64, .3); color: #ffe2a3; }
}
:root[data-theme="dark"] .soon-badge { color: #ffd479; background: rgba(255, 196, 64, .12); border-color: rgba(255, 196, 64, .35); }
:root[data-theme="dark"] .soon-box { background: rgba(255, 196, 64, .08); border-color: rgba(255, 196, 64, .3); color: #ffe2a3; }
/* ---------- 2.21 — مصرف من ---------- */
.usage-card .usage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.usage-item { padding: 12px 14px; border: 1px solid var(--border, #eee); border-radius: 12px; background: var(--surface-2, transparent); }
.usage-item .ui-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 13px; }
.usage-item .ui-top b { font-size: 13px; white-space: nowrap; }
.usage-item .meter { margin-top: 8px; }
.usage-item.near .meter i { background: var(--amber, #d97706); }
.usage-item.full { border-color: var(--red, #dc2626); }
.usage-item.full .meter i { background: var(--red, #dc2626); }
.usage-item small { display: block; margin-top: 4px; font-size: 11px; }
@media (max-width: 640px) { .usage-card .usage-grid { grid-template-columns: minmax(0, 1fr); } }
/* ---------- 2.21 — جدول امکانات و سقف‌های پلن‌ها ---------- */
.matrix-wrap { overflow: auto; max-height: 75vh; border: 1px solid var(--border, #eee); border-radius: 12px; }
.table.matrix { min-width: 640px; }
.table.matrix thead th { position: sticky; top: 0; z-index: 2; background: var(--surface, #fff); text-align: center; white-space: nowrap; }
.table.matrix td:first-child, .table.matrix th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--surface, #fff); min-width: 220px; text-align: start; }
.table.matrix thead th:first-child { z-index: 3; }
.table.matrix td { text-align: center; }
.table.matrix tr.mx-group th { background: var(--surface-2, #faf7f4); text-align: start; font-size: 13px; }
.table.matrix input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--primary, #f97316); }
.mx-num { width: 84px; padding: 6px 8px; text-align: center; }
.legacy-preview summary { cursor: pointer; line-height: 1.9; }
/* ---------- 2.21 — به‌روزرسانی از دیجی‌کالا ---------- */
.dkr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.dkr-stats > div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2, #faf7f4); }
.dkr-stats b { display: block; font-size: 20px; }
.dkr-stats span { font-size: 12px; color: var(--muted); }
.dkr-progress { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.dkr-progress svg { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dkr-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: sticky; top: 8px; z-index: 5; }
.dkr-row { margin-top: 10px; }
.dkr-top { display: flex; gap: 12px; align-items: flex-start; }
.dkr-top img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; background: #fff; }
.dkr-names { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dkr-names b { font-size: 14px; line-height: 1.7; }
.dkr-diff { display: grid; gap: 6px; margin-top: 10px; }
.dkr-field { display: grid; grid-template-columns: auto 130px minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--border, #eee); border-radius: 10px; cursor: pointer; font-size: 13px; }
.dkr-field:has(input:checked) { border-color: var(--primary, #f97316); background: rgba(249, 115, 22, .05); }
.dkr-field .f { font-weight: 700; }
.dkr-field .o { color: var(--muted); text-decoration: line-through; overflow-wrap: anywhere; }
.dkr-field .n { overflow-wrap: anywhere; }
.dkr-field .a svg { width: 14px; height: 14px; color: var(--muted); }
.dkr-field small { grid-column: 2 / -1; }
.dkr-cands { display: grid; gap: 8px; margin-top: 10px; }
.dkr-cand { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border, #eee); border-radius: 10px; }
.dkr-cand img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.dkr-cand span { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; font-size: 13px; }
.dkr-link { display: flex; gap: 6px; flex: 1; min-width: 240px; }
.dkr-link .input { flex: 1; }
/* 2.28.3: quick match decisions */
.dkr-tools { display: grid; gap: 10px; margin-top: 12px; }
.dkr-undo, .dkr-pricing { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.dkr-undo svg, .dkr-pricing svg, .dkr-rescore b svg, .dkr-safe > svg { width: 16px; height: 16px; vertical-align: -3px; margin-inline-end: 4px; color: var(--primary, #f97316); }
.dkr-pricing .input { width: auto; min-width: 220px; max-width: 100%; }
.dkr-rescore { display: grid; gap: 8px; }
.dkr-rescore p { margin: 4px 0 0; }
.dkr-rescore-out { padding: 10px 12px; border-radius: 10px; background: var(--surface-2, #faf7f4); font-size: 13px; }
.dkr-rescore-out ul { margin: 6px 0; padding-inline-start: 18px; }
.dkr-split .chip { text-decoration: none; }
.dkr-split, .dkr-safe { position: static; margin-bottom: 10px; }
.dkr-safe { border-color: var(--green); }
.dkr-safe > svg { color: var(--green); }
.dkr-bulk { z-index: 6; }
.dkr-bulk.has-sel { border-color: var(--primary, #f97316); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.dkr-bulk-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-inline-start: auto; }
.dkr-check { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; cursor: pointer; }
.dkr-keys kbd, .dkr-kbd { display: inline-block; min-width: 20px; padding: 1px 6px; border: 1px solid var(--border, #ddd); border-bottom-width: 2px; border-radius: 6px; font: inherit; font-size: 12px; text-align: center; background: var(--surface, #fff); }
.dkr-kbd { flex: none; color: var(--muted); }
.dkr-card { transition: opacity .25s, transform .25s, box-shadow .2s; outline: none; }
.dkr-card.focus { box-shadow: 0 0 0 2px var(--primary, #f97316); }
.dkr-card.busy { opacity: .55; pointer-events: none; }
.dkr-card.gone { opacity: 0; transform: translateY(-6px); }
.dkr-sel { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--primary, #f97316); }
.dkr-cand.is-good { border-color: var(--green); background: var(--green-bg); }
.dkr-cand.is-bad { opacity: .75; }
.dkr-sigs { display: flex; flex-wrap: wrap; gap: 4px; flex-direction: row !important; }
.dkr-sig { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; line-height: 1.8; background: var(--surface-2, #f3f3f3); color: var(--muted); }
.dkr-sig svg { width: 12px; height: 12px; }
.dkr-sig.ok { background: var(--green-bg); color: var(--green); }
.dkr-sig.bad { background: var(--red-bg); color: var(--red); }
/* errors tab: causes */
.dkr-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.dkr-kind { display: flex; flex-direction: column; gap: 2px; padding: 12px; text-decoration: none; color: inherit; border: 1px solid var(--border, #eee); transition: border-color .15s; }
.dkr-kind b { font-size: 20px; }
.dkr-kind span { font-size: 13px; font-weight: 600; }
.dkr-kind small { font-size: 11.5px; color: var(--muted); }
.dkr-kind.temp b { color: #d97706; }
.dkr-kind.real b { color: var(--red); }
.dkr-kind.on { border-color: var(--primary, #f97316); box-shadow: 0 0 0 1px var(--primary, #f97316); }
.dkr-failhead { display: grid; gap: 8px; margin-bottom: 10px; }
.dkr-failhead p { margin: 4px 0 0; }
.dkr-auto { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 8px; border-top: 1px dashed var(--border, #eee); }
.dkr-auto .chip svg { width: 13px; height: 13px; vertical-align: -2px; margin-inline-end: 3px; }
.dkr-fail .dkr-names > .small { line-height: 1.9; }
@media (max-width: 640px) {
  .dkr-keys { display: none; }
  .dkr-bulk-actions { margin-inline-start: 0; }
  .dkr-kbd { display: none; }
  .dkr-field { grid-template-columns: auto minmax(0, 1fr); }
  .dkr-field .o, .dkr-field .a, .dkr-field .n, .dkr-field small { grid-column: 2; }
  .dkr-field .a { display: none; }
  .dkr-bar { position: static; }
}
/* ---------- 2.21.1 — ورود و ثبت‌نام: سربرگ ---------- */
.nav-login { border: 1.5px solid var(--o-300, #fdba74); color: var(--o-600, #ea580c); background: var(--o-50, #fff7ed); font-weight: 700; }
.nav-login:hover { background: var(--o-100, #ffedd5); color: var(--o-700, #c2410c); }
.nav-login.is-main { background: var(--grad, #f97316); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm, none); }
.nav-signup.is-quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.nav-signup .nl-short { display: none; }
.nav-auth { display: none; }
.hero-login { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hero-login a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--o-600, #ea580c); }
.hero-login a svg { width: 16px; height: 16px; }
@media (max-width: 980px) {
  .nav.menu-open .nav-links .nav-auth { display: grid; gap: 8px; padding: 10px 4px 4px; margin-top: 6px; border-top: 1px solid var(--line); }
  .nav-auth .btn { justify-content: center; }
}
@media (max-width: 640px) {
  .nav-actions .nav-login, .nav-actions .nav-signup { height: 38px; padding-inline: 11px; font-size: 13px; gap: 5px; }
  .nav-actions .nav-login svg { width: 16px; height: 16px; display: inline-block; }
  .nav-actions .nav-signup svg { display: none; }
  .nav-signup .nl-long { display: none; }
  .nav-signup .nl-short { display: inline; }
}
@media (max-width: 380px) {
  .nav-actions .theme-toggle { display: none; }
}
/* ---------- 2.22: بروزرسانی از منبع، محصولات من، راهنمای صفحه‌ها ---------- */
.help-strip { display: flex; gap: 8px; align-items: flex-start; background: var(--surface-2, rgba(255,106,0,.06)); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; font-size: 13px; line-height: 1.9; color: var(--text); }
.help-strip svg, .help-strip i { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--orange, #ff6a00); }
.sync-head { display: grid; gap: 12px; }
.sync-sched { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sync-run-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.sync-stats { grid-template-columns: repeat(5, 1fr); margin-top: 10px; }
@media (max-width: 640px) { .sync-stats { grid-template-columns: repeat(2, 1fr); } }
.sync-variants { margin-top: 6px; font-size: 12.5px; }
.sync-variants summary { cursor: pointer; color: var(--muted); }
table.mini { border-collapse: collapse; margin-top: 4px; }
table.mini td { padding: 3px 8px; border-bottom: 1px dotted var(--line); white-space: nowrap; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
a.chip { text-decoration: none; }
.choice-list { display: grid; gap: 6px; margin: 8px 0 12px; }
.col-picker { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 0 0 10px; }
.input.cell.changed { border-color: var(--orange, #ff6a00); box-shadow: 0 0 0 2px rgba(255,106,0,.15); }
.my-products td { vertical-align: top; }
.my-products b.down { color: var(--red); }
.rule-pop { display: inline-block; position: relative; }
.rule-pop > summary { list-style: none; }
.rule-pop > summary::-webkit-details-marker { display: none; }
.rule-pop[open] > .rule-form { position: absolute; inset-inline-end: 0; top: 100%; z-index: 20; width: 260px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); display: grid; gap: 8px; white-space: normal; }
.source-tabs a svg, .source-tabs a i { width: 16px; height: 16px; }
.my-products .input.cell { width: 96px; }
.my-products .input.cell.cell-sm { width: 64px; }
.my-products .prod > div { min-width: 180px; }
/* a form that is a direct grid item must be allowed to shrink, so its table scrolls inside instead of widening the page */
[data-sync-form], form[data-dkr-form] { min-width: 0; }

/* ---------- 2.23: طراح اسناد، تنظیمات چاپ، سفارش‌ها ---------- */
.btn.btn-xs { height: 28px; padding: 0 8px; font-size: 12px; border-radius: 8px; gap: 4px; }
.btn.btn-xs svg, .btn.btn-xs i { width: 14px; height: 14px; }
.designer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .designer { grid-template-columns: minmax(0, 1fr); } }
.designer-form { min-width: 0; }
.designer-preview { position: sticky; top: 12px; min-width: 0; }
.designer-preview iframe { width: 100%; height: 72vh; min-height: 420px; border: 1px solid var(--line); border-radius: 12px; background: #f1ede9; }
@media (max-width: 1100px) { .designer-preview { position: static; } .designer-preview iframe { height: 60vh; } }
.blk-list { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 6px; }
.blk-item { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: var(--card, #fff); }
.blk-item.off { opacity: .55; }
.blk-item.dragging { outline: 2px dashed var(--orange, #ff6a00); opacity: .7; }
.blk-top { display: flex; align-items: center; gap: 8px; }
.blk-top .check { flex: 1; min-width: 0; }
.blk-top .grip { cursor: grab; color: var(--muted); display: inline-flex; }
.blk-move { display: inline-flex; gap: 2px; }
.blk-opts { margin-top: 6px; }
.blk-grid { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; margin: 8px 0; }
.blk-grid label { display: grid; gap: 4px; font-size: 13px; }
.blk-grid .check { display: flex; }
.blk-fields { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0; }
.blk-opts textarea { margin: 6px 0; }
.doc-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 10px 0; }
.doc-kind { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.doc-kind-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.doc-kind-head b { display: inline-flex; gap: 6px; align-items: center; }
.doc-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-top: 1px dashed var(--line); }
.doc-row form { margin-inline-start: auto; }
.note-chip.mine { background: rgba(255,106,0,.08); }
.more-filters > summary { list-style: none; }
.more-filters > summary::-webkit-details-marker { display: none; }

/* 2.24 — notification center & inbox */
.tpl-ev { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.tpl-ev > summary { cursor: pointer; font-weight: 700; }
.tpl-ev[open] > summary { margin-bottom: 10px; }
.tpl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 760px) { .tpl-grid { grid-template-columns: 1fr; } }
.var-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.var-chips .chip { cursor: pointer; border: 0; font: inherit; font-size: 12px; }
.tpl-preview { white-space: pre-wrap; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; min-height: 96px; font-size: 13.5px; line-height: 1.9; }
.rcp-edit summary { cursor: pointer; }
.qr-pop { position: absolute; z-index: 30; inset-inline: 0; bottom: 100%; margin-bottom: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 240px; overflow: auto; padding: 4px; }
.qr-pop button { display: block; width: 100%; text-align: start; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: 13.5px; cursor: pointer; color: inherit; }
.qr-pop button small { display: block; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qr-pop button.on, .qr-pop button:hover { background: var(--o-50); }
.qr-wrap { position: relative; }
.msg-hit { background: var(--amber-bg); border-radius: 4px; padding: 0 2px; }
/* ===== 2.29 مرکز فرماندهی چندغرفه ===== */
.hq-tabs { display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; margin-bottom: 12px; }
.hq-tabs a { display: inline-flex; align-items: center; gap: 6px; }
.hq-tabs [data-lucide] { width: 16px; height: 16px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--bc, var(--o-500)); flex: none; }
.hq-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: var(--ink);
  background: color-mix(in srgb, var(--bc, #f97316) 14%, transparent); border: 1px solid color-mix(in srgb, var(--bc, #f97316) 35%, transparent); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hq-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bc, #f97316); flex: none; }
.hq-chip.sm { font-size: 11.5px; padding: 1px 8px 1px 7px; }
.hq-scope { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; margin-bottom: 6px; }
.hq-scope-b { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; text-decoration: none; }
.hq-scope-b [data-lucide] { width: 15px; height: 15px; }
.hq-scope-b small { color: var(--muted); }
.hq-scope-b.on { border-color: var(--bc, var(--o-500)); background: color-mix(in srgb, var(--bc, var(--o-500)) 12%, var(--surface)); color: var(--ink); }
.hq-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 16px; }
.hq-kpis .kpi { padding: 14px 16px; }
.hq-kpis .kpi b { font-size: 21px; margin-top: 8px; }
.hq-kpis .kpi-top { display: flex; justify-content: space-between; align-items: center; }
.hq-kpis .kpi-ic { width: 36px; height: 36px; border-radius: 11px; }
.hq-bad { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.hq-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: start; }
.hq-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hq-sec-head h3, .hq-h { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0; }
.hq-h { margin: 22px 0 10px; }
.hq-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 10px; }
.hq-empty [data-lucide] { width: 34px; height: 34px; color: var(--green); }
.hq-act { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; background: var(--surface); }
.hq-act.high { border-inline-start: 4px solid var(--amber); }
.hq-act.crit { border-inline-start: 4px solid var(--red); background: color-mix(in srgb, var(--red) 5%, var(--surface)); }
.hq-act-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--muted-bg); }
.hq-act.crit .hq-act-ic { color: var(--red); background: var(--red-bg); }
.hq-act.high .hq-act-ic { color: var(--amber); background: var(--amber-bg); }
.hq-act-body b { display: block; font-size: 14px; }
.hq-risk { font-size: 12px; font-weight: 900; color: var(--muted); min-width: 28px; text-align: center; }
.hq-feed { max-height: 640px; overflow-y: auto; }
.hq-ev { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; border-inline-start: 3px solid var(--bc, var(--line)); padding-inline-start: 10px; }
.hq-ev:hover { background: var(--surface-2); }
.hq-ev-ic [data-lucide] { width: 18px; height: 18px; color: var(--bc, var(--muted)); }
.hq-ev-body { min-width: 0; }
.hq-ev-body b { display: block; font-size: 13.5px; }
.hq-ev-body small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hq-ev-at { white-space: nowrap; }
.hq-booths { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.hq-booth { border-top: 4px solid var(--bc); padding: 16px; display: grid; gap: 12px; }
.hq-booth header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.hq-booth-name b { font-size: 17px; display: block; }
.hq-booth-name small { display: block; }
.hq-health { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 4px solid var(--green); flex: none; cursor: help; }
.hq-health b { font-size: 18px; line-height: 1; }
.hq-health small { font-size: 10px; color: var(--muted); }
.hq-health.mid { border-color: var(--amber); }
.hq-health.bad { border-color: var(--red); }
.hq-booth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hq-booth-grid > * { background: var(--surface-2); border-radius: 12px; padding: 8px; text-decoration: none; color: inherit; display: grid; gap: 2px; }
.hq-booth-grid b { font-size: 17px; }
.hq-booth-grid span { font-size: 11.5px; color: var(--muted); }
.hq-booth-grid .bad { background: var(--red-bg); }
.hq-booth-grid .bad b { color: var(--red); }
.hq-booth-sales { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hq-booth-sales > div { display: grid; gap: 2px; }
.hq-spark { width: 120px; height: 34px; }
.hq-spark polyline { fill: none; stroke: var(--bc); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.hq-minus { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; color: var(--muted); }
.hq-minus span { color: var(--red); font-weight: 800; margin-inline-end: 6px; }
.hq-booth footer { align-items: center; }
.hq-hours { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.hq-hours [data-lucide] { width: 14px; height: 14px; }
.hq-bf { border-inline-start: 4px solid var(--bc); margin-bottom: 12px; }
.hq-bf header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.hq-bf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hq-bf-grid > label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.hq-colors { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hq-color input { display: none; }
.hq-color i { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--c); cursor: pointer; border: 3px solid transparent; }
.hq-color input:checked + i { border-color: var(--ink); }
.hq-color-free { width: 30px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.hq-inline { display: inline-flex; align-items: center; gap: 6px; }
.hq-days { display: flex; gap: 4px; }
.hq-days label { cursor: pointer; }
.hq-days input { display: none; }
.hq-days span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); font-size: 12.5px; }
.hq-days input:checked + span { background: var(--o-500); border-color: var(--o-500); color: #fff; }
.hq-mods { display: grid; gap: 10px; margin-bottom: 18px; }
.toggle-row { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.toggle-row .toggle { margin-top: 2px; }
.hq-today { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hq-today-b { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--bc); font-size: 12.5px; }
.hq-views { margin: 4px 0 10px; align-items: center; }
.hq-view { display: inline-flex; align-items: center; }
.hq-view form { display: inline; }
.hq-x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 0 4px; }
.hq-saveview { display: flex; gap: 6px; margin: 6px 0 10px; max-width: 420px; }
.hq-bulk { flex-wrap: wrap; position: sticky; top: 0; z-index: 5; background: var(--surface); padding: 8px 0; }
.hq-orders tr.hq-row td:first-child { border-inline-start: 4px solid var(--bc); }
.hq-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.hq-flags .chip { font-size: 11px; padding: 1px 8px; }
.hq-flags .chip::before { display: none; }
.hq-due { display: grid; gap: 1px; }
.hq-due b { font-size: 12.5px; }
.hq-due small { color: var(--muted); }
.hq-due.warm b { color: var(--amber); }
.hq-due.hot b { color: #ea580c; }
.hq-due.bad b { color: var(--red); }
.menu-item-btn { display: flex; align-items: center; gap: 8px; width: 100%; text-align: start; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: 13.5px; cursor: pointer; color: inherit; }
.menu-item-btn:hover { background: var(--o-50); }
.hq-scan video { width: 100%; max-width: 420px; border-radius: 14px; margin: 10px 0; }
.hq-scan-result { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 12px 0; background: var(--surface-2); }
.hq-scan-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hq-scan-log { padding-inline-start: 20px; }
.hq-segs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 12px; }
.hq-seg { display: grid; gap: 2px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; }
.hq-seg b { font-size: 18px; }
.hq-seg span { font-size: 12.5px; font-weight: 700; }
.hq-seg small { font-size: 11px; }
.hq-seg.on { border-color: var(--o-500); box-shadow: 0 0 0 1px var(--o-500) inset; }
.hq-ranges { margin-bottom: 12px; }
.hq-chart { min-height: 120px; }
.hq-bars { width: 100%; height: auto; }
.hq-bars .grid { stroke: var(--line); stroke-width: 1; }
.hq-bars text { font-size: 11px; fill: var(--muted); font-family: inherit; }
.hq-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; margin-top: 6px; }
.hq-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 5px; }
.hq-fin td:first-child { border-inline-start: 4px solid var(--bc, transparent); }
.hq-bar { height: 5px; border-radius: 99px; background: var(--muted-bg); margin-top: 4px; overflow: hidden; min-width: 60px; }
.hq-bar i { display: block; height: 100%; background: var(--bc, var(--o-500)); border-radius: 99px; }
.hq-goal .hq-bar i { background: var(--amber); }
.hq-goal.ok .hq-bar i { background: var(--green); }
.hq-total td { background: var(--surface-2); font-weight: 800; }
.hq-matrix th { border-top: 3px solid var(--bc, transparent); white-space: nowrap; }
.hq-perms { min-width: 150px; }
.hq-perms .check { display: inline-flex; margin: 2px 6px 2px 0; }
.hq-perms .chip { display: inline-flex; margin-bottom: 4px; font-size: 11px; }
.hq-newrow td { background: var(--surface-2); }
.hq-rule { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.hq-rule.off { opacity: .55; }
.hq-rule-form { display: grid; gap: 10px; }
.hq-sug { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hq-sug-t { flex: 1 1 320px; min-width: 0; }
.hq-sug-t .check { display: inline-flex; margin: 4px 8px 0 0; }
.hq-group { padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.hq-group.off { opacity: .6; }
.hq-group-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.hq-istrip { display: flex; gap: 8px; overflow-x: auto; margin: 14px 0 0; padding-bottom: 4px; }
.hq-istrip-b { display: grid; gap: 2px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; white-space: nowrap; border-top: 3px solid var(--bc, var(--line)); }
.hq-istrip-b b { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.hq-istrip-b span { font-size: 12px; color: var(--muted); }
.hq-istrip-b em { color: var(--red); font-style: normal; font-weight: 800; }
.hq-istrip-b.on { box-shadow: 0 0 0 2px var(--bc, var(--o-500)) inset; }
.hq-istrip-b.bad { background: color-mix(in srgb, var(--red) 6%, var(--surface)); }
.ir-wait.over { color: var(--red); font-weight: 800; }
.hq-xbooth { display: grid; gap: 4px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.booth-switch-top { position: relative; }
.booth-switch-top summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 800; max-width: 190px; }
.booth-switch-top summary::-webkit-details-marker { display: none; }
.booth-switch-top summary span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.booth-switch-top summary [data-lucide] { width: 15px; height: 15px; flex: none; }
.bst-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 40; width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(0,0,0,.16); padding: 6px; display: grid; gap: 2px; }
.bst-menu form { margin: 0; }
/* 2.64.4 background tasks: the ones after the first two, folded into one line */
.bt-more { border: 1px dashed var(--line); border-radius: 14px; background: var(--surface); }
.bt-more > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer; font-size: 13.5px; font-weight: 700; }
.bt-more > summary::-webkit-details-marker { display: none; }
.bt-more > summary small { margin-inline-start: auto; color: var(--o-500); font-weight: 700; }
.bt-more[open] > summary small { visibility: hidden; }
.bt-more > summary [data-lucide] { width: 17px; height: 17px; color: var(--o-500); }
.bt-more > .bg-tasks-bar { padding: 0 10px 10px; margin: 0; }
/* 2.64.4 orders centre: first item's photo */
.ord-thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; float: inline-start; margin-inline-end: 10px; border: 1px solid var(--line); background: var(--surface-2, #f6f1ec); }
/* 2.64.4 many booths: the list scrolls inside the menu (it ran off the page) + search */
.bst-menu { max-height: min(75vh, 560px); grid-template-rows: auto auto minmax(0, 1fr); }
.bst-list { display: grid; gap: 2px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.bst-find { margin: 2px 2px 6px; padding: 7px 10px; font-size: 13px; border-radius: 10px; }
.bst-menu button, .bst-hq { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; border: 0; background: none; padding: 8px 10px; border-radius: 10px; font: inherit; font-size: 13.5px; cursor: pointer; color: inherit; text-decoration: none; }
.bst-menu button small, .bst-hq small { display: block; color: var(--muted); font-size: 11.5px; }
.bst-menu button span { flex: 1; min-width: 0; }
.bst-menu button.on, .bst-menu button:hover, .bst-hq:hover { background: var(--o-50); }
.bst-hq { border-bottom: 1px solid var(--line); border-radius: 10px 10px 4px 4px; margin-bottom: 4px; }
.bst-hq [data-lucide] { color: var(--o-500); }
@media (max-width: 1200px) { .hq-kpis { grid-template-columns: repeat(3, 1fr); } .hq-segs { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 980px) { .hq-split { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hq-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hq-kpis .kpi b { font-size: 17px; }
  .hq-segs { grid-template-columns: repeat(2, 1fr); }
  .hq-booths { grid-template-columns: 1fr; }
  .hq-act { grid-template-columns: auto 1fr; }
  .hq-act .hq-risk { display: none; }
  .hq-act .btn { grid-column: 1 / -1; justify-self: start; }
  .booth-switch-top summary { max-width: 120px; padding: 6px 9px; }
  .booth-switch-top summary span { display: none; }
  .bst-menu { position: fixed; inset-inline: 12px; top: 64px; width: auto; max-height: calc(100vh - 90px); }
}

/* 2.29.1 سپر لغو، برنامه بازگشت، مالی */
a.kpi { text-decoration: none; color: inherit; }
.hq-shield { border-inline-start: 4px solid var(--bc); margin-bottom: 12px; display: grid; gap: 10px; }
.hq-shield.crit { border-color: var(--red); box-shadow: 0 0 0 1px color-mix(in srgb, var(--red) 40%, transparent); }
.hq-shield.high { box-shadow: 0 0 0 1px color-mix(in srgb, var(--amber) 40%, transparent); }
.hq-shield-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hq-shield-line { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.hq-shield.crit .hq-act-ic { color: var(--red); background: var(--red-bg); }
.hq-shield-body { display: grid; gap: 6px; min-width: 0; }
.hq-shield-body .chip-row { align-items: center; gap: 10px; }
.hq-shield-ways { display: flex; flex-wrap: wrap; gap: 6px; }
.hq-shield-ways form { display: inline; }
.hq-rec { border-top: 4px solid var(--bc); margin-bottom: 14px; }
.hq-rec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hq-rec-score { text-align: center; }
.hq-rec-score b { display: block; font-size: 26px; line-height: 1.1; }
.hq-rec-score small { color: var(--muted); font-size: 11.5px; }
.hq-rec-score.ok b { color: var(--green); }
.hq-rec-score.mid b { color: var(--amber); }
.hq-rec-score.bad b { color: var(--red); }
.hq-rec-bar { height: 8px; margin: 10px 0 14px; }
.hq-rec-bar i { background: var(--bc); }
.hq-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hq-checks li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.hq-checks li.ok { opacity: .8; }
.hq-checks li.ok .hq-check-ic { color: var(--green); }
.hq-checks li.todo .hq-check-ic { color: var(--red); }
.hq-support { margin-top: 12px; display: grid; gap: 8px; }
.hq-support textarea { width: 100%; margin: 8px 0; }
.hq-fix { margin-bottom: 14px; border: 1px dashed var(--amber); }
.hq-fix-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hq-fix-row form { display: inline; }
@media (max-width: 640px) {
  .hq-checks li { grid-template-columns: auto 1fr; }
  .hq-checks li .btn { grid-column: 1 / -1; justify-self: start; }
}

/* 2.29.3 مدیریت چند غرفه: تور، نمایش صفحه اصلی، کارت پلن، پیشنهاد داخل پنل */
.hq-mk { display: grid; gap: 8px; }
.hq-mk-booths { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hq-mk-b { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--bc); }
.hq-mk-b b { font-size: 13px; }
.hq-mk-b small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.hq-mk-h { grid-row: span 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; border: 3px solid var(--green); }
.hq-mk-h.mid { border-color: var(--amber); }
.hq-mk-act { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; }
.hq-mk-act span [data-lucide] { width: 16px; height: 16px; }
.hq-mk-act.crit { border-inline-start: 4px solid var(--red); } .hq-mk-act.crit span { color: var(--red); }
.hq-mk-act.high { border-inline-start: 4px solid var(--amber); } .hq-mk-act.high span { color: var(--amber); }
.hq-mk-act em { font-style: normal; font-weight: 900; color: var(--muted); font-size: 11px; }
.x-hq-badge { background: linear-gradient(135deg, #f5b301, #f97316); color: #fff !important; }
.x-hq-badge [data-lucide] { color: #fff !important; }
.x-hq-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.x-hq-cards { display: grid; gap: 10px; }
.x-hq-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.x-hq-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.x-hq-card b { display: block; font-size: 15px; }
.x-hq-card small { color: var(--muted); font-size: 13px; }
.x-hq-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.x-hq-cta span { color: var(--muted); font-size: 13.5px; }
.x-hq-demos { display: grid; gap: 14px; }
.x-shield-in { grid-template-columns: 1fr 1fr; }
.x-shield-stock { grid-column: 1 / -1; display: flex !important; flex-direction: row !important; gap: 6px; align-items: center; }
.x-shield-out { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: var(--green-bg); color: var(--green); transition: background .3s, color .3s; }
.x-shield-out b { font-size: 16px; }
.x-shield-out span { color: var(--text); font-size: 13px; }
.x-shield-out.warn { background: var(--amber-bg); color: var(--amber); }
.x-shield-out.bad { background: var(--red-bg); color: var(--red); }
.x-bale-msg { background: color-mix(in srgb, #2b9d8f 10%, var(--surface)); border: 1px solid color-mix(in srgb, #2b9d8f 30%, transparent); border-radius: 16px 16px 4px 16px; padding: 12px 14px; display: grid; gap: 4px; font-size: 13px; }
.x-bale-msg p { margin: 0; }
.x-bale-msg small { color: var(--muted); font-size: 11px; justify-self: end; }
.pc-list .pc-hq-head { font-weight: 900; color: #c47f00; margin-top: 4px; }
.pc-list .pc-hq { font-weight: 800; background: linear-gradient(90deg, rgba(245, 179, 1, .12), transparent); border-radius: 8px; }
.pc-list .pc-hq [data-lucide], .pc-list .pc-hq-head [data-lucide] { color: #e19500; }
.hq-promo-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #c47f00; }
.hq-promo-eyebrow [data-lucide] { width: 15px; height: 15px; }
.hq-promo { border: 1px solid color-mix(in srgb, #f5b301 45%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, #f5b301 7%, var(--surface)), var(--surface) 60%); margin: 14px 0; }
.hq-promo-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.hq-promo-head h3 { margin: 4px 0; font-size: 20px; }
.hq-promo-stat { display: flex; gap: 8px; align-items: center; max-width: 360px; padding: 10px 12px; border-radius: 14px; background: var(--red-bg); color: var(--red); font-weight: 800; font-size: 13.5px; }
.hq-promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.hq-promo-f { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.hq-promo-f b { display: block; font-size: 14px; }
.hq-promo-f small { color: var(--muted); font-size: 12.5px; }
.hq-promo-f.has { opacity: .75; }
.hq-promo-st { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.hq-promo-f.has .hq-promo-st { color: var(--green); }
.hq-promo-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.hq-promo-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; margin-bottom: 18px; border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, #f5b301 45%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, #f5b301 9%, var(--surface)), var(--surface) 70%); }
.hq-promo-card[hidden] { display: none; }
.hq-promo-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-bg); color: var(--red); }
.hq-promo-body { display: grid; gap: 4px; }
.hq-promo-body b { font-size: 16px; }
.hq-promo-body p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; }
.hq-promo-x { position: absolute; top: 8px; inset-inline-end: 10px; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; }
@media (max-width: 980px) { .x-hq-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .x-shield-in { grid-template-columns: 1fr; } .hq-mk-booths { grid-template-columns: 1fr; } .hq-promo-card { grid-template-columns: 1fr; } }

/* ===== 2.29.4 آموزش جامع ===== */
.tu-search { position: relative; max-width: 680px; margin: 26px auto 0; display: flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tu-search > [data-lucide] { width: 20px; height: 20px; color: var(--o-500); flex: none; }
.tu-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; padding: 12px 0; color: var(--ink); }
.tu-search kbd { font: inherit; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.tu-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.tu-stats span { padding: 6px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.tu-stats b { color: var(--ink); font-weight: 900; }
.tu-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tu-path { display: flex; gap: 12px; align-items: center; text-align: start; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font: inherit; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tu-path:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tu-path.on { border-color: var(--o-500); box-shadow: 0 0 0 2px var(--o-500) inset; }
.tu-path-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.tu-path b { display: block; font-size: 15.5px; }
.tu-path small { display: block; color: var(--muted); font-size: 12.5px; margin: 2px 0 4px; }
.tu-path em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--o-600); }
.tu-layout { display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start; }
.tu-aside { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tu-progress { display: flex; gap: 12px; align-items: center; }
.tu-ring { width: 54px; height: 54px; transform: rotate(-90deg); flex: none; }
.tu-ring circle { fill: none; stroke-width: 3.6; }
.tu-ring .bg { stroke: var(--line); }
.tu-ring .fg { stroke: var(--o-500); stroke-linecap: round; transition: stroke-dasharray .5s; }
.tu-progress b { display: block; font-size: 20px; font-weight: 900; }
.tu-progress small { color: var(--muted); font-size: 12px; }
.tu-only { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); cursor: pointer; }
.tu-toc { display: grid; gap: 2px; }
.tu-toc-ch summary { list-style: none; display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 800; font-size: 13.5px; }
.tu-toc-ch summary::-webkit-details-marker { display: none; }
.tu-toc-ch summary span { flex: 1; }
.tu-toc-ch summary [data-lucide] { width: 16px; height: 16px; color: var(--o-500); }
.tu-toc-ch summary em { font-style: normal; font-size: 11px; color: var(--muted); background: var(--muted-bg); border-radius: 99px; padding: 0 7px; }
.tu-toc-ch summary em.full { background: var(--green-bg); color: var(--green); }
.tu-toc-ch summary:hover, .tu-toc-ch[open] summary { background: var(--surface-2); }
.tu-toc a { display: flex; gap: 8px; align-items: center; padding: 6px 10px; padding-inline-start: 18px; border-radius: 8px; font-size: 13px; color: var(--muted); text-decoration: none; }
.tu-toc a:hover { color: var(--ink); background: var(--surface-2); }
.tu-toc a.on { color: var(--o-600); font-weight: 800; background: var(--o-50); }
.tu-dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.tu-toc a.done .tu-dot { background: var(--green); border-color: var(--green); }
.tu-toc-faq { padding-inline-start: 10px !important; font-weight: 800; }
.tu-main { min-width: 0; }
.tu-toc-open { display: none; margin-bottom: 12px; }
.tu-filterbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--o-50); color: var(--o-600); font-weight: 800; margin-bottom: 14px; }
.tu-empty { display: flex; gap: 8px; align-items: center; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--line); color: var(--muted); }
.tu-chapter { margin-bottom: 34px; scroll-margin-top: 90px; }
.tu-ch-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.tu-ch-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; box-shadow: 0 10px 24px -10px rgba(255, 106, 0, .6); }
.tu-ch-ic [data-lucide] { width: 26px; height: 26px; }
.tu-ch-head small { color: var(--o-600); font-weight: 900; font-size: 12px; }
.tu-ch-head h2 { margin: 0; font-size: 24px; font-weight: 900; }
.tu-ch-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.tu-lesson { scroll-margin-top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 14px; position: relative; transition: border-color .3s, box-shadow .3s; }
.tu-lesson.is-learned { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.tu-lesson.is-learned::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--green); }
.tu-lesson.flash { box-shadow: 0 0 0 3px var(--o-500); }
.tu-l-head { display: flex; gap: 12px; align-items: flex-start; }
.tu-l-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--o-50); color: var(--o-600); flex: none; }
.tu-l-title { flex: 1; min-width: 0; }
.tu-l-title h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.tu-l-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tu-l-meta .chip { font-size: 11.5px; padding: 2px 9px; }
.tu-l-act { display: flex; gap: 6px; align-items: center; flex: none; }
.tu-learn { cursor: pointer; }
.tu-learn input { position: absolute; opacity: 0; pointer-events: none; }
.tu-learn span { display: inline-flex; gap: 5px; align-items: center; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; color: var(--muted); transition: all .2s; }
.tu-learn span [data-lucide] { width: 14px; height: 14px; }
.tu-learn input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.tu-learn input:focus-visible + span { outline: 2px solid var(--o-500); }
.tu-icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.tu-icon-btn [data-lucide] { width: 16px; height: 16px; }
.tu-icon-btn.ok { color: var(--green); border-color: var(--green); }
.tu-what { margin: 12px 0 14px; font-size: 15px; line-height: 2; color: var(--text); }
.tu-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--muted-bg); margin-bottom: 12px; }
.tu-tabs button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 800; color: var(--muted); padding: 6px 14px; border-radius: 9px; cursor: pointer; }
.tu-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tu-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.tu-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 14px; }
.tu-steps li:not(:last-child)::after { content: ""; position: absolute; top: 34px; bottom: 0; inset-inline-start: 16px; width: 2px; background: var(--line); }
.tu-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 900; font-size: 14px; position: relative; z-index: 1; }
.tu-steps p { margin: 5px 0 0; line-height: 1.95; font-size: 14.5px; }
.tu-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin: 0; }
.tu-opts div { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.tu-opts dt { display: flex; gap: 6px; align-items: center; font-weight: 900; font-size: 14px; margin-bottom: 4px; }
.tu-opts dt [data-lucide] { width: 15px; height: 15px; color: var(--o-500); flex: none; }
.tu-opts dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.tu-notes { display: grid; gap: 8px; }
.tu-tip, .tu-warn { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.9; }
.tu-tip { background: var(--blue-bg); color: var(--text); }
.tu-tip [data-lucide] { color: var(--blue); flex: none; margin-top: 4px; width: 18px; height: 18px; }
.tu-warn { background: var(--amber-bg); color: var(--text); }
.tu-warn [data-lucide] { color: var(--amber); flex: none; margin-top: 4px; width: 18px; height: 18px; }
.tu-l-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tu-faq { display: grid; gap: 8px; }
.tu-faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.tu-faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 800; list-style: none; }
.tu-faq-item summary::-webkit-details-marker { display: none; }
.tu-faq-item summary::before { content: "+"; display: inline-block; width: 22px; color: var(--o-500); font-weight: 900; }
.tu-faq-item[open] summary::before { content: "−"; }
.tu-faq-item p { margin: 0 0 14px; color: var(--muted); line-height: 2; }
.tu-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 22px; border-radius: var(--r-lg); background: var(--grad); color: #fff; }
.tu-cta b { display: block; font-size: 18px; }
.tu-cta span { opacity: .9; font-size: 14px; }
.tu-cta .btn { background: #fff; color: var(--o-600); }
.tu-top { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; z-index: 30; }
.tu-top[hidden] { display: none; }
@media (max-width: 980px) {
  .tu-layout { grid-template-columns: 1fr; }
  .tu-paths { grid-template-columns: 1fr; }
  .tu-toc-open { display: inline-flex; }
  .tu-aside { position: fixed; inset: 0; top: 0; max-height: none; z-index: 60; border-radius: 0; transform: translateX(110%); transition: transform .3s; background: rgba(0, 0, 0, .45); padding: 0; border: 0; display: block; }
  [dir="rtl"] .tu-aside { transform: translateX(110%); }
  .tu-aside.open { transform: none; }
  .tu-aside > * { background: var(--surface); }
  .tu-aside > .tu-progress, .tu-aside > .tu-only, .tu-aside > .tu-toc, .tu-aside > .tu-print { width: min(330px, 86vw); margin-inline-start: 0; padding: 12px 16px; }
  .tu-aside > .tu-progress { padding-top: 22px; }
  .tu-aside > .tu-toc { max-height: calc(100vh - 190px); overflow-y: auto; }
  body.tu-lock { overflow: hidden; }
}
@media (max-width: 640px) {
  .tu-l-head { flex-wrap: wrap; }
  .tu-l-act { width: 100%; justify-content: flex-end; }
  .tu-lesson { padding: 16px; }
  .tu-ch-head h2 { font-size: 20px; }
}
@media print {
  .nav, .site-footer, footer, .tu-paths-sec, .tu-aside, .tu-search, .tu-tabs, .tu-l-act, .tu-l-foot, .tu-top, .tu-cta, .tu-toc-open, .tu-filterbar { display: none !important; }
  .tu-layout { display: block; }
  .tu-lesson { break-inside: avoid; box-shadow: none; }
  [data-tu-pane] { display: block !important; }
  [data-tu-pane][hidden] { display: block !important; }
}

/* آموزش جامع — page sections inside the options tab (2.29.4) */
.tu-optpane { display: grid; gap: 10px; }
.tu-group { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.tu-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14.5px; }
.tu-group > summary::-webkit-details-marker { display: none; }
.tu-group > summary b { flex: 1; font-weight: 900; }
.tu-group > summary em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--surface-2); padding: 2px 9px; border-radius: 99px; }
.tu-group-n { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: color-mix(in srgb, var(--o-500) 14%, transparent); color: var(--o-500); flex: none; }
.tu-group-chev { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; flex: none; }
.tu-group[open] > summary { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tu-group[open] .tu-group-chev { transform: rotate(-135deg); margin-top: 4px; }
.tu-group > .tu-opts { padding: 12px; }
.tu-group-all { justify-self: start; }
@media print { .tu-group > .tu-opts { display: grid !important; } .tu-group-all { display: none !important; } .tu-optpane, .tu-steps, .tu-notes { display: grid !important; } }

/* ---------- Compact home page (2.60): tabbed tour, tabs, sliders, category tiles, collapsible comparison ---------- */
.x-compact .x-hero { padding-top: 40px; }
.x-compact .x-hero .hero-trust { margin-top: 14px; }
.x-secnav .x-catnav-in { align-items: center; }
.x-secnav .x-secnav-cta { margin-inline-start: auto; background: var(--o-500); color: #fff; }
.x-secnav .x-secnav-cta [data-lucide] { color: #fff; }
.x-tourc .container { display: block; }
.x-tp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.x-tp > .mock-top { border-radius: 0; }
.x-tp-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 12px 0; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.x-tp-tabs::-webkit-scrollbar { display: none; }
.x-tp-tabs button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--ink-3); padding: 10px 14px; border-radius: 12px 12px 0 0; cursor: pointer; position: relative; }
.x-tp-tabs button [data-lucide] { width: 16px; height: 16px; color: var(--o-500); }
.x-tp-tabs button em { font-style: normal; font-size: 11px; background: var(--o-50); color: var(--o-600); border-radius: 99px; padding: 0 7px; }
.x-tp-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 -1px 0 var(--line), 1px 0 0 var(--line), -1px 0 0 var(--line); }
.x-tp-tabs button:focus-visible, .x-wt-tabs button:focus-visible, .x-tile:focus-visible { outline: 2px solid var(--o-500); outline-offset: 2px; }
.x-tp-prog { height: 3px; background: transparent; }
.x-tp-prog i { display: block; height: 100%; width: 0; background: var(--o-500); }
.x-tp.manual .x-tp-prog { display: none; }
.x-tp-panel { padding: 20px 26px 6px; outline: none; touch-action: pan-y; }
.x-tp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 28px; align-items: start; min-height: 360px; }
.x-tp-text h3 { font-size: clamp(19px, 2vw, 25px); font-weight: 900; margin: 8px 0 4px; line-height: 1.5; }
.x-tp-text > p { color: var(--muted); margin: 0 0 10px; font-size: 14px; line-height: 1.9; }
.x-tp-list { list-style: none; margin: 0; padding: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; border-top: 1px dashed var(--line); }
.x-tp-list li:nth-child(n+5) { display: none; }
.x-tp-panel.open .x-tp-list li { display: flex; }
.x-tp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 800; color: var(--o-600); cursor: pointer; }
.x-tp-more [data-lucide] { width: 16px; height: 16px; transition: transform .25s; }
.x-tp-more[aria-expanded="true"] [data-lucide] { transform: rotate(180deg); }
.x-tp-more:hover { border-color: var(--o-500); }
.x-in-next { animation: xTpNext .38s cubic-bezier(.2, .8, .2, 1); }
.x-in-prev { animation: xTpPrev .38s cubic-bezier(.2, .8, .2, 1); }
@keyframes xTpNext { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes xTpPrev { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.x-tp-list li { display: flex; gap: 10px; align-items: flex-start; }
.x-tp-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--o-50); color: var(--o-600); }
.x-tp-ic [data-lucide] { width: 16px; height: 16px; }
.x-tp-list b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; }
.x-tp-list b { font-size: 13.5px; }
.x-tp-list small { display: block; color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 2px; }
.x-tp-visual { display: grid; place-items: start center; background: var(--grad-soft); border-radius: var(--r-lg); padding: 16px 12px; height: 350px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }
.x-tp-visual > * { zoom: .74; max-width: 100%; }
.x-tp-extra { display: none; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.x-tp-panel.open .x-tp-extra { display: block; }
.x-tp-extra .x-hq { padding: 0 !important; }
.x-tp-extra .container { padding: 0; max-width: none; }
.x-tp .reveal, .x-wt .reveal { opacity: 1; transform: none; }
.x-tp-foot { display: flex; align-items: center; gap: 10px; padding: 12px 28px 18px; }
.x-tp-foot [data-tp-count] { font-weight: 800; font-size: 13px; color: var(--muted); min-width: 52px; text-align: center; }
.x-tp-foot .x-more { margin: 0 auto 0 0; }
.x-tp-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.x-tp-nav:hover:not(:disabled) { border-color: var(--o-500); color: var(--o-600); }
.x-tp-nav:disabled { opacity: .35; cursor: default; }
.x-tp-nav [data-lucide] { width: 18px; height: 18px; }

.x-wt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 10px 18px 18px; }
.x-wt-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; justify-content: center; padding: 6px 0 14px; }
.x-wt-tabs button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 800; color: var(--ink-3); cursor: pointer; }
.x-wt-tabs button [data-lucide] { width: 16px; height: 16px; color: var(--o-500); }
.x-wt-tabs button.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.x-wt-panel .section { padding: 0 !important; }
.x-wt-panel .container { padding: 0; max-width: none; }
.x-wt-panel .section-head .eyebrow { display: none; }
.x-wt-panel .section-head { margin-bottom: 18px; }

.x-slider { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; gap: 16px; padding: 4px 4px 10px; scrollbar-width: thin; }
.x-slider > * { flex: 0 0 min(340px, 84%); scroll-snap-align: start; }
.x-slider > .x-demo-wide { flex-basis: min(500px, 90%); }
.x-slider-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }

.x-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.x-tile { text-align: right; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic t" "ic n" "s s"; column-gap: 10px; row-gap: 2px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.x-tile:hover { border-color: var(--o-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.x-tile[aria-expanded="true"] { border-color: var(--o-500); box-shadow: 0 0 0 1px var(--o-500) inset; background: var(--o-50); }
.x-tile-ic { grid-area: ic; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--o-600); }
.x-tile-ic [data-lucide] { width: 20px; height: 20px; }
.x-tile b { grid-area: t; font-size: 14.5px; font-weight: 900; }
.x-tile em { grid-area: n; font-style: normal; font-size: 12px; font-weight: 800; color: var(--o-600); }
.x-tile small { grid-area: s; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.x-bento-all { white-space: nowrap; }

.x-compact .compare-wrap { max-height: 75vh; overflow: auto; }
.x-compact .compare-table thead th { z-index: 2; box-shadow: 0 1px 0 var(--line); }
.x-compact .compare-table thead th:first-child { z-index: 3; }
.x-compact .compare-table tr.cg th { cursor: pointer; user-select: none; }
.x-compact .compare-table tr.cg th::after { content: "−"; float: left; font-weight: 900; color: var(--o-600); }
.x-compact .compare-table tr.cg.shut th::after { content: "+"; }
.compare-table .cg-n { font-style: normal; font-size: 11px; background: var(--o-50); color: var(--o-600); border-radius: 99px; padding: 0 7px; margin-inline-start: 8px; }
.cg-bar { display: flex; gap: 8px; justify-content: flex-end; padding: 0 16px 10px; }

.x-mcta { display: none; }
@media (max-width: 980px) {
  .x-tp-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; }
  .x-tp-visual { order: 2; height: 240px; }
  .x-tp-visual > * { zoom: .66; }
}
@media (max-width: 640px) {
  .x-tp-panel { padding: 16px 14px 4px; }
  .x-tp-foot { padding: 10px 14px 14px; flex-wrap: wrap; }
  .x-tp-list { grid-template-columns: minmax(0, 1fr); }
  .x-tp-list li:nth-child(n+4) { display: none; }
  .x-tp-visual { height: 150px; padding: 8px; }
  .x-tp-visual > * { zoom: .5; }
  .x-tp-text h3 { font-size: 18px; }
  .x-tp-text > p { font-size: 13px; line-height: 1.8; }
  .x-tp-list { gap: 8px; }
  .x-tp-list small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .x-tp-panel.open .x-tp-list small { display: block; }
  .x-tp-tabs { padding: 8px 8px 0; }
  .x-tp-tabs button { padding: 9px 11px; font-size: 13px; }
  .x-wt { padding: 8px 12px 14px; }
  .x-wt-tabs { justify-content: flex-start; }
  .x-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .x-tile { padding: 11px; grid-template-areas: "ic ic" "t t" "n n" "s s"; row-gap: 4px; }
  .x-tile small { display: none; }
  .x-secnav .x-secnav-cta { display: none; }
  .x-compact { padding-bottom: 72px; }
  .x-mcta { display: flex; gap: 8px; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--nav-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s; }
  .x-mcta.show { transform: none; }
  .x-mcta .btn { flex: 1; justify-content: center; }
  .x-mcta .btn-ghost { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .x-mcta, .x-tile { transition: none; } .x-in-next, .x-in-prev { animation: none; } }

/* plan picker in «همه امکانات» (compact home) */
.x-pp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 16px; margin-bottom: 16px; }
.x-pp-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.x-pp-head b { display: block; font-size: 16px; font-weight: 900; }
.x-pp-head small { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.x-pp-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--o-600); }
.x-pp-ic [data-lucide] { width: 21px; height: 21px; }
.x-pp-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.x-pp-seg button { position: relative; text-align: right; font: inherit; color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; transition: border-color .2s, background .2s, box-shadow .2s; }
.x-pp-seg button:hover { border-color: var(--o-500); }
.x-pp-seg button b { font-size: 15px; font-weight: 900; }
.x-pp-seg button em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--o-600); }
.x-pp-seg button small { font-size: 11.5px; color: var(--muted); }
.x-pp-seg button.on { background: var(--dark); border-color: var(--dark); color: #fff; box-shadow: var(--shadow); }
.x-pp-seg button.on em { color: var(--o-400); }
.x-pp-seg button.on small { color: rgba(255, 255, 255, .72); }
.x-pp-seg button:focus-visible { outline: 2px solid var(--o-500); outline-offset: 2px; }
.x-pp-rib { position: absolute; top: -9px; inset-inline-start: 12px; background: var(--o-500); color: #fff; font-size: 10.5px; font-weight: 900; border-radius: 99px; padding: 1px 8px; }
.x-pp-note { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--o-50); font-size: 13.5px; line-height: 1.9; }
.x-pp-note[hidden] { display: none; }
.x-pp-note p { margin: 0; }
.x-pp-fresh { color: var(--o-600); }
.x-pp-only { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.x-pp-only[hidden] { display: none; }
.x-card-fresh { position: relative; border-color: var(--o-500); box-shadow: 0 0 0 1px var(--o-500) inset; }
.x-card-fresh::after { content: var(--pp-plan, "تازه"); position: absolute; top: -10px; inset-inline-end: 14px; background: var(--o-500); color: #fff; font-size: 10.5px; font-weight: 900; border-radius: 99px; padding: 1px 9px; }
@media (max-width: 640px) {
  .x-pp { padding: 12px; }
  .x-pp-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-pp-seg button:first-child { grid-column: 1 / -1; }
}

/* integrations band (home) */
.x-integr { padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.x-integr-in { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 24px; align-items: center; }
.x-integr-head { display: flex; gap: 12px; align-items: center; }
.x-integr-head h2 { font-size: 15px; font-weight: 900; margin: 0; line-height: 1.7; }
.x-integr-head p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.x-integr-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--o-600); }
.x-integr-ic [data-lucide] { width: 21px; height: 21px; }
.x-integr-track { display: flex; gap: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.x-integr-list { display: flex; gap: 10px; list-style: none; margin: 0; padding: 4px 0; flex: none; animation: xIntegr 38s linear infinite; }
.x-integr-track:hover .x-integr-list { animation-play-state: paused; }
.x-integr-list li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); white-space: nowrap; }
.x-integr-logo { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--ic); background: color-mix(in srgb, var(--ic) 13%, transparent); }
.x-integr-logo [data-lucide] { width: 19px; height: 19px; }
.x-integr-list b { display: block; font-size: 13.5px; font-weight: 900; color: var(--ink); }
.x-integr-list small { display: block; font-size: 11.5px; color: var(--muted); }
@keyframes xIntegr { from { transform: translateX(0); } to { transform: translateX(calc(100% + 10px)); } }
@media (max-width: 980px) { .x-integr-in { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 640px) { .x-integr { padding: 16px 0; } .x-integr-head h2 { font-size: 14px; } .x-integr-list li { padding: 6px 12px 6px 8px; } .x-integr-logo { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) {
  .x-integr-list { animation: none; }
  .x-integr-dup { display: none; }
  .x-integr-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
