/* =========================================================
   CreatorDefend — main stylesheet
   ========================================================= */

:root {
  --bg: #050a1a;
  --bg-2: #081128;
  --card: rgba(12, 22, 54, .78);
  --card-solid: #0b1532;
  --card-2: #0e1a3d;
  --border: rgba(92, 128, 255, .22);
  --border-strong: rgba(92, 128, 255, .45);
  --text: #eef2ff;
  --muted: #a5b1d8;
  --faint: #6e7ba3;
  --blue: #2563ff;
  --blue-2: #3d82ff;
  --blue-glow: rgba(47, 107, 255, .45);
  --purple: #6d35f5;
  --purple-2: #8b5cf6;
  --gold: #f5b524;
  --gold-2: #ffc94a;
  --red: #ff3355;
  --red-2: #ff5a76;
  --green: #18a957;
  --green-bg: rgba(24, 169, 87, .18);
  --amber: #f59e0b;
  --input-bg: rgba(6, 12, 32, .7);
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f6ff;
  --bg-2: #e9eefc;
  --card: rgba(255, 255, 255, .92);
  --card-solid: #ffffff;
  --card-2: #f5f7ff;
  --border: rgba(52, 84, 200, .16);
  --border-strong: rgba(52, 84, 200, .35);
  --text: #0b1533;
  --muted: #4b5879;
  --faint: #7a86a6;
  --input-bg: #ffffff;
  --green-bg: rgba(24, 169, 87, .12);
  --shadow: 0 16px 40px rgba(23, 42, 110, .12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(56, 92, 255, .30), transparent 65%),
    radial-gradient(700px 480px at 6% 4%, rgba(109, 53, 245, .16), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(56, 92, 255, .14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
:root[data-theme="light"] body {
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(56, 92, 255, .16), transparent 65%),
    radial-gradient(700px 480px at 6% 4%, rgba(109, 53, 245, .08), transparent 60%),
    var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-primary { background: linear-gradient(180deg, #3478ff, #1f5af0); color: #fff; box-shadow: 0 8px 22px var(--blue-glow); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(47, 107, 255, .65); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(220, 228, 255, .55); }
:root[data-theme="light"] .btn-outline { border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--blue-2); background: rgba(61, 130, 255, .08); }
.btn-purple { background: linear-gradient(180deg, #7c4dff, #5b2be0); color: #fff; box-shadow: 0 8px 22px rgba(109, 53, 245, .45); }
.btn-gold { background: linear-gradient(180deg, #ffc23a, #f0a10f); color: #1b1300; }
.btn-danger { background: rgba(255, 51, 85, .12); color: #ff6b85; border-color: rgba(255, 51, 85, .4); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 10, 26, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(92, 128, 255, .12); }
:root[data-theme="light"] .site-header { background: rgba(243, 246, 255, .85); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; flex: none; }
.logo-mark { width: 36px; height: 40px; filter: drop-shadow(0 0 10px rgba(79, 139, 255, .45)); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; }
.logo-name span { color: var(--blue-2); }
.logo-tag { font-size: .74rem; color: var(--blue-2); font-weight: 500; margin-top: 2px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a { display: block; padding: 10px 14px; color: var(--text); font-weight: 500; font-size: .95rem; border-radius: 8px; position: relative; text-decoration: none; }
.main-nav a:hover { color: var(--blue-2); }
.main-nav a.active { color: var(--blue-2); }
.main-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-2); box-shadow: 0 0 10px var(--blue-2); }
.nav-actions-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle, .menu-toggle {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border-radius: 10px; background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--text);
}
.theme-toggle:hover, .menu-toggle:hover { background: rgba(92, 128, 255, .12); }
.theme-toggle .icon { width: 22px; height: 22px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.menu-toggle { display: none; border-color: var(--border); }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.header-actions .btn { min-width: 108px; }

/* ---------- Common bits ---------- */
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(24, 169, 87, .12); border: 1px solid rgba(24, 169, 87, .35); color: #4ade80; font-size: .82rem; font-weight: 500; }
:root[data-theme="light"] .pill-badge { color: #138a47; }
.pill-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.grad-text { background: linear-gradient(90deg, #3d82ff, #4aa3ff 60%, #7c8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--blue-2); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 800; margin-top: 4px; }
.section-title-sm { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 800; }
.section-sub { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.sample-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #ffd27a; background: rgba(245, 181, 36, .14); border: 1px dashed rgba(245, 181, 36, .55); }
:root[data-theme="light"] .sample-tag { color: #9a6700; }
.sample-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--faint); font-size: .82rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 36px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); margin-top: 18px; }
.empty-state .icon { width: 34px; height: 34px; color: var(--blue-2); }

/* Platform tiles (generic glyphs) */
.ptile { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #fff; flex: none; }
.ptile svg { width: 62%; height: 62%; }
.ptile-youtube { background: linear-gradient(180deg, #ff3b3b, #d60f0f); }
.ptile-tiktok { background: #0b0b0f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), -2px 0 0 rgba(37, 244, 238, .55), 2px 0 0 rgba(254, 44, 85, .55); }
.ptile-instagram { background: radial-gradient(circle at 30% 110%, #ffd776 0%, #f9693a 35%, #e1306c 60%, #8f3bd6 100%); }
.ptile-facebook { background: linear-gradient(180deg, #2f7bff, #1557d6); }
.ptile-x { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.ptile-other { background: linear-gradient(180deg, #5468a8, #33447a); }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 10px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 24px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.15rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin-top: 18px; }
.hero-lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin-top: 18px; line-height: 1.5; }
:root[data-theme="dark"] .hero-lead { color: #d4dbf3; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-buttons .btn-outline { border-color: rgba(255, 255, 255, .8); }
:root[data-theme="light"] .hero-buttons .btn-outline { border-color: var(--text); }
.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; text-align: center; }
.hero-features li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.feat-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--blue-2); border: 1.5px solid rgba(61, 130, 255, .6); background: radial-gradient(circle, rgba(61, 130, 255, .22), rgba(61, 130, 255, .04)); box-shadow: 0 0 18px rgba(61, 130, 255, .35); margin-bottom: 6px; }
.feat-icon .icon { width: 22px; height: 22px; }
.hero-features strong { font-size: .86rem; }
.hero-features span:last-child { font-size: .76rem; color: var(--muted); line-height: 1.3; max-width: 130px; }

/* Hero artwork */
.hero-art { position: relative; height: 520px; perspective: 1400px; }
.art-glow { position: absolute; inset: 10% 0 0 10%; background: radial-gradient(closest-side, rgba(56, 100, 255, .45), transparent); filter: blur(30px); }
.art-screen {
  position: absolute; top: 10px; right: 0; width: 92%; height: 330px;
  display: grid; grid-template-columns: 26% 1fr;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 36, 92, .96), rgba(8, 16, 44, .98));
  border: 2px solid rgba(110, 150, 255, .55);
  box-shadow: 0 0 0 6px rgba(40, 70, 170, .25), 0 0 60px rgba(61, 120, 255, .55), var(--shadow);
  transform: rotateY(-12deg) rotateX(6deg) rotateZ(-3deg); transform-origin: right center;
  font-size: 11px; color: #dbe4ff;
}
.as-side { background: rgba(5, 10, 30, .55); padding: 14px 10px; border-right: 1px solid rgba(110, 150, 255, .2); }
.as-logo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; margin-bottom: 14px; }
.as-logo svg { width: 16px; height: 18px; }
.as-logo b { color: #5c9bff; font-weight: 700; }
.as-side li { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 7px; color: #9fb0e0; margin-bottom: 4px; }
.as-side li .icon { width: 13px; height: 13px; }
.as-side li.on { background: linear-gradient(90deg, rgba(61, 130, 255, .45), rgba(61, 130, 255, .1)); color: #fff; }
.as-main { padding: 14px 16px; position: relative; }
.as-user { position: absolute; top: 10px; right: 14px; display: flex; align-items: center; gap: 6px; font-size: 9.5px; line-height: 1.1; }
.as-user small { color: #8ea0d4; }
.as-avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #24356e; }
.as-avatar .icon { width: 13px; height: 13px; }
.as-title { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.as-title strong { font-size: 15px; }
.as-btn { background: #2563ff; color: #fff; padding: 6px 10px; border-radius: 6px; font-weight: 600; box-shadow: 0 0 14px rgba(37, 99, 255, .6); }
.as-tabs { display: flex; gap: 6px; margin: 12px 0 8px; flex-wrap: wrap; }
.as-tabs span { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #9fb0e0; font-size: 9.5px; }
.as-tabs span.on { background: #2563ff; color: #fff; }
.as-row { display: grid; grid-template-columns: 12px 24px 1fr auto auto auto; gap: 8px; align-items: center; padding: 8px 10px; margin-top: 6px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(110, 150, 255, .14); }
.as-row .ptile { width: 24px; height: 24px; border-radius: 6px; }
.as-row .t { font-weight: 600; display: flex; flex-direction: column; font-size: 10.5px; }
.as-row .t small { color: #8ea0d4; font-weight: 400; font-size: 9px; }
.as-row .st { padding: 3px 7px; border-radius: 5px; font-size: 9px; font-weight: 600; }
.st-blue { background: rgba(37, 99, 255, .25); color: #8fb6ff; }
.st-amber { background: rgba(245, 158, 11, .22); color: #fbbf5a; }
.st-green { background: rgba(24, 169, 87, .25); color: #5ee595; }
.as-row .d { color: #8ea0d4; font-size: 9.5px; }
.as-row .v { border: 1px solid rgba(110, 150, 255, .55); color: #a9c4ff; padding: 3px 9px; border-radius: 5px; font-size: 9.5px; }
.art-shield { position: absolute; width: 190px; left: 34%; top: 280px; filter: drop-shadow(0 0 30px rgba(61, 130, 255, .8)); animation: float 6s ease-in-out infinite; }
.float-tile { position: absolute; width: 62px !important; height: 62px !important; border-radius: 16px !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 26px rgba(255, 255, 255, .08); animation: float 5s ease-in-out infinite; }
.ft-1 { left: 16%; top: 330px; transform: rotate(-12deg); animation-delay: -1s; }
.ft-2 { left: 63%; top: 318px; transform: rotate(8deg); width: 50px !important; height: 50px !important; animation-delay: -2.5s; }
.ft-3 { left: 64%; top: 400px; transform: rotate(-6deg); animation-delay: -3.5s; }
.art-script { position: absolute; right: -6px; top: 352px; font-family: var(--script); font-size: 1.5rem; line-height: 1.15; color: #e6ecff; transform: rotate(-10deg); text-align: left; opacity: .92; }
:root[data-theme="light"] .art-script { color: #24305a; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Stats bar ---------- */
.stats-wrap { margin-top: 18px; }
.stats-bar { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 10px; box-shadow: var(--shadow); }
.stat { display: flex; align-items: center; gap: 16px; padding: 4px 26px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue-2); border-radius: 12px; background: rgba(61, 130, 255, .12); border: 1px solid rgba(61, 130, 255, .25); flex: none; }
.stat-icon .icon { width: 24px; height: 24px; }
.stat strong { display: block; font-size: 1.45rem; font-weight: 700; }
.stat span { color: var(--muted); font-size: .88rem; }
.stats-sample { position: absolute; top: -10px; right: 16px; }

/* ---------- Offer banner ---------- */
.offer-wrap { margin-top: 18px; }
.offer-banner {
  position: relative; display: grid; grid-template-columns: 130px minmax(0, 1.35fr) auto 150px 150px; align-items: center; gap: 18px;
  padding: 16px 20px 16px 0; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(500px 160px at 82% 50%, rgba(255, 51, 85, .22), transparent 70%), linear-gradient(90deg, rgba(60, 8, 24, .55), rgba(20, 10, 40, .7) 40%, rgba(40, 8, 28, .7));
  border: 1.5px solid rgba(255, 51, 85, .75); box-shadow: 0 0 30px rgba(255, 51, 85, .25);
}
:root[data-theme="light"] .offer-banner { background: linear-gradient(90deg, #fff1f4, #fff 45%, #fff1f4); }
.offer-ribbon { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(135deg, #ff4d6d, #c8102e); color: #fff; clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%); padding-right: 18px; margin: -16px 0; line-height: 1; transform: none; }
.offer-ribbon span { font-size: .9rem; font-weight: 700; letter-spacing: .08em; }
.offer-ribbon strong { font-size: 1.5rem; font-weight: 900; letter-spacing: .02em; }
.offer-copy h2 { font-size: 1.3rem; font-weight: 800; }
.offer-copy p { color: var(--muted); font-size: .8rem; margin-top: 6px; }
.countdown { display: flex; gap: 10px; }
.cd-box { width: 70px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; border: 1.5px solid rgba(255, 51, 85, .7); background: rgba(255, 51, 85, .08); }
.cd-num { font-size: 1.65rem; font-weight: 800; color: #ff5470; font-variant-numeric: tabular-nums; line-height: 1; }
.cd-label { font-size: .7rem; color: var(--muted); margin-top: 4px; }
.offer-gift svg { width: 150px; height: 112px; filter: drop-shadow(0 0 18px rgba(255, 51, 85, .55)); }
.offer-save { display: flex; flex-direction: column; line-height: 1.1; }
.offer-save span { font-size: .85rem; font-weight: 600; }
.offer-save strong { font-size: 2.6rem; font-weight: 900; color: #ff4060; text-shadow: 0 0 20px rgba(255, 64, 96, .5); }
.when-no-offer { display: none !important; }
.is-expired .when-offer, .offer-expired .when-offer { display: none !important; }
.is-expired .when-no-offer, .offer-expired .when-no-offer { display: revert !important; }
.is-expired .cd-num { color: var(--faint); }
.offer-ended-label { font-size: 1.4rem !important; color: var(--muted) !important; text-shadow: none !important; }

/* ---------- Pricing ---------- */
.pricing { margin-top: 18px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.plan-card { --accent: var(--blue-2); --accent-btn: linear-gradient(180deg, #3478ff, #1f5af0); position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 34, 84, .75), rgba(9, 16, 42, .85)); border: 1.5px solid color-mix(in srgb, var(--accent) 65%, transparent); box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 25%, transparent), var(--shadow); }
:root[data-theme="light"] .plan-card { background: #fff; }
.plan-purple { --accent: var(--purple-2); --accent-btn: linear-gradient(180deg, #7c4dff, #5b2be0); background: linear-gradient(180deg, rgba(40, 24, 96, .75), rgba(14, 10, 44, .85)); }
.plan-gold { --accent: var(--gold); --accent-btn: linear-gradient(180deg, #ffc23a, #f0a10f); background: linear-gradient(180deg, rgba(60, 40, 14, .55), rgba(20, 14, 18, .85)); }
:root[data-theme="light"] .plan-purple, :root[data-theme="light"] .plan-gold { background: #fff; }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.plan-head h3 { font-size: 1.3rem; font-weight: 700; }
.plan-sub { color: var(--accent); font-size: .95rem; margin-top: 4px; font-weight: 500; }
.save-badge { background: linear-gradient(180deg, #ff4d6d, #e01e42); color: #fff; font-weight: 700; font-size: .78rem; padding: 6px 10px; border-radius: 7px; white-space: nowrap; }
.plan-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.price-now { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.price-was { color: var(--faint); font-size: 1.15rem; font-weight: 600; }
.limited-pill { background: linear-gradient(180deg, #ff3b5c, #d0163a); color: #fff; font-size: .7rem; font-weight: 600; padding: 4px 9px; border-radius: 6px; }
.price-note { flex-basis: 100%; font-size: .74rem; color: var(--faint); margin-top: -6px; }
.plan-body { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 18px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .9rem; padding: 4px 0; }
.plan-features .icon { color: var(--accent); width: 18px; height: 18px; }
.plan-art { width: 108px; height: 98px; flex: none; align-self: center; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 55%, transparent)); }
.btn-plan { background: var(--accent-btn); color: #fff; width: 100%; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 40%, transparent); }
.plan-gold .btn-plan { color: #1d1400; }

/* ---------- Submit / Track cards ---------- */
.case-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.action-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.action-icon { width: 64px; height: 64px; display: grid; place-items: center; flex: none; border-radius: 50%; }
.action-icon .icon { width: 40px; height: 40px; }
.action-icon-send { color: #6fb2ff; background: radial-gradient(circle, rgba(61, 130, 255, .3), transparent 70%); filter: drop-shadow(0 0 10px rgba(61, 130, 255, .7)); }
.action-icon-search { color: #a78bfa; background: radial-gradient(circle, rgba(139, 92, 246, .3), transparent 70%); filter: drop-shadow(0 0 10px rgba(139, 92, 246, .7)); }
.action-text { flex: 1; min-width: 0; }
.action-text h3 { font-size: 1.2rem; font-weight: 700; }
.action-text p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.round-link, .round-btn { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--text); background: transparent; cursor: pointer; text-decoration: none !important; }
.round-link:hover, .round-btn:hover { border-color: var(--blue-2); color: var(--blue-2); }
.round-btn .icon, .round-link .icon { width: 18px; height: 18px; }

/* ---------- Results ---------- */
.results-section, .testimonials-section { margin-top: 26px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; margin-right: 8px; }
.results-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 16px; padding-bottom: 4px; }
.results-track::-webkit-scrollbar { display: none; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.result-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); min-height: 128px; }
.result-top { display: grid; grid-template-columns: auto 64px 1fr; gap: 10px; align-items: center; }
.result-top h3 { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.result-thumb { width: 64px; height: 44px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #1f2c63, #3a2a6b); }
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-thumb-youtube { background: linear-gradient(135deg, #3b1530, #1c2b6a); }
.result-thumb-tiktok { background: linear-gradient(135deg, #10343a, #3a1530); }
.result-thumb-instagram { background: linear-gradient(135deg, #4a1d4e, #1d2d6a); }
.thumb-play { width: 0; height: 0; border-left: 12px solid rgba(255, 255, 255, .85); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.result-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.result-status { background: linear-gradient(180deg, #1e9f55, #148043); color: #fff; font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; }
.result-date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.result-date .icon { width: 14px; height: 14px; }
.result-card .sample-tag { position: absolute; top: -8px; right: 10px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
.testimonial { margin: 0; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.t-head { display: flex; align-items: center; gap: 12px; position: relative; }
.t-head .sample-tag { position: absolute; top: 0; right: 0; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3d82ff, #7c4dff); flex: none; border: 2px solid rgba(255, 255, 255, .2); }
.t-head figcaption strong { display: block; font-size: .95rem; }
.t-head figcaption span { color: var(--muted); font-size: .84rem; }
.stars { display: flex; gap: 2px; margin-top: 3px; color: #3a466e; }
.stars .on { color: var(--gold); }
.stars .icon { width: 15px; height: 15px; }
.testimonial blockquote { margin: 12px 0 0; color: var(--text); font-size: .92rem; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: rgba(3, 7, 20, .55); }
:root[data-theme="light"] .site-footer { background: #eaf0ff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr .8fr 1.35fr; gap: 28px; padding-top: 28px; padding-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: .86rem; margin-top: 14px; max-width: 320px; }
.social-list { display: flex; gap: 10px; margin-top: 16px; }
.ptile-social { width: 34px; height: 34px; border-radius: 50%; }
.footer-col h3 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.footer-col li { margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: .88rem; }
.footer-col a:hover { color: var(--text); }
.footer-news p { color: var(--muted); font-size: .86rem; }
.newsletter { display: flex; margin-top: 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--input-bg); }
.newsletter input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; min-height: 46px; outline: none; }
.newsletter .btn { border-radius: 0; box-shadow: none; }
.newsletter.has-error { border-color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 18px; border-top: 1px solid var(--border); color: var(--faint); font-size: .82rem; }
.footer-bottom-tags span + span::before { content: "|"; margin: 0 14px; opacity: .6; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 48px 0 18px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.page-hero p { color: var(--muted); margin-top: 10px; max-width: 680px; font-size: 1.05rem; }
.page-section { margin-top: 22px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 22px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.info-card .feat-icon { margin-bottom: 14px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: .92rem; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: step; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .9rem; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgba(245, 181, 36, .45); background: rgba(245, 181, 36, .08); color: var(--text); font-size: .92rem; }
.notice .icon { color: var(--gold); width: 22px; height: 22px; }

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); padding: 0 18px; }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform .2s; color: var(--blue-2); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { color: var(--muted); padding-bottom: 16px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); font-size: .88rem; text-decoration: none !important; }
.chip.active, .chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); text-decoration: none !important; }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .disabled { opacity: .4; }

/* ---------- Forms ---------- */
.form-card { padding: 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.auth-wrap { max-width: 480px; margin: 48px auto 0; }
.auth-wrap h1 { font-size: 1.8rem; font-weight: 800; }
.auth-wrap .lead { color: var(--muted); margin: 6px 0 22px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #dadce0; border-radius: 12px; background: #fff; color: #1f1f1f; font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: background .15s, box-shadow .15s; }
.btn-google:hover, .btn-google:focus-visible { background: #f6f8fc; color: #1f1f1f; box-shadow: 0 2px 8px rgba(0,0,0,.12); text-decoration: none; }
.btn-google svg { flex: none; }
.google-linked { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.google-linked svg { color: var(--success, #22c55e); flex: none; margin-top: 3px; }
.google-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 8px 0 4px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; color: var(--muted); font-size: .85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border, rgba(127,127,127,.3)); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid > *, .field { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-grid .field { margin-bottom: 0; }
.field label, .field .label { font-weight: 600; font-size: .9rem; }
.field .hint { color: var(--faint); font-size: .8rem; }
.field > label:not(.check) { display: block; }
.field > label > input, .field > label > select, .field > label > textarea { display: block; margin-top: 6px; font-weight: 400; }
.req { margin-left: 2px; }

/* Checkboxes: larger, matching the site colours */
.check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; flex: none; cursor: pointer;
  border-radius: 6px; border: 1.5px solid var(--border-strong); background: var(--input-bg); display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.check input[type="checkbox"]::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.check input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.check input[type="checkbox"]:checked::after { opacity: 1; }
.check input[type="checkbox"]:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.field.has-error .check input[type="checkbox"] { border-color: var(--red); }

/* File upload box */
.file-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; }
.file-drop > .icon { width: 30px; height: 30px; color: var(--blue-2); }
.file-drop .drop-text { font-size: .9rem; }
.file-drop input[type="file"] { margin-top: 6px; color: var(--muted); font-size: .85rem; text-align: center; }
.file-drop input[type="file"]::file-selector-button {
  margin-right: 10px; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--blue-2); background: rgba(61, 130, 255, .12);
  color: var(--text); font-weight: 600; font-family: inherit; cursor: pointer;
}
.file-drop input[type="file"]::file-selector-button:hover { background: rgba(61, 130, 255, .25); }
.file-list { align-self: stretch; text-align: center; }

/* "What happens next" strip on the submit page */
.next-steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.next-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); font-size: .86rem; color: var(--muted); }
.next-steps strong { display: block; color: var(--text); font-size: .9rem; }
.next-steps .num { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; }
.req { color: var(--red-2); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="url"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field input[type="datetime-local"], .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--input-bg); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(61, 130, 255, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { color: #ff7a90; font-size: .82rem; }
:root[data-theme="light"] .field-error { color: #c8102e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.form-foot { margin-top: 18px; color: var(--muted); font-size: .9rem; text-align: center; }
.file-drop { border: 1.5px dashed var(--border-strong); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); background: rgba(61, 130, 255, .04); }
.file-drop input { margin-top: 10px; max-width: 100%; }
.file-list { margin-top: 8px; font-size: .85rem; color: var(--text); text-align: left; }

.plan-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-choice label { display: block; cursor: pointer; padding: 14px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--input-bg); }
.plan-choice input { position: absolute; opacity: 0; pointer-events: none; }
.plan-choice input:checked + label { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(61, 130, 255, .2); }
.plan-choice input:focus-visible + label { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.plan-choice strong { display: block; }
.plan-choice span { color: var(--muted); font-size: .85rem; }
.plan-choice .pc-price { color: var(--text); font-weight: 700; font-size: 1.05rem; margin-top: 6px; display: block; }

.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .92rem; border: 1px solid; }
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert-success { background: rgba(24, 169, 87, .12); border-color: rgba(24, 169, 87, .45); color: #6ee7a0; }
.alert-error { background: rgba(255, 51, 85, .1); border-color: rgba(255, 51, 85, .45); color: #ff8ea1; }
.alert-info { background: rgba(61, 130, 255, .1); border-color: rgba(61, 130, 255, .4); color: #9cc0ff; }
:root[data-theme="light"] .alert-success { color: #0f6d38; }
:root[data-theme="light"] .alert-error { color: #a50e2a; }
:root[data-theme="light"] .alert-info { color: #1b4fc4; }
.flash-area { margin-top: 18px; }

.success-panel { text-align: center; max-width: 600px; margin: 48px auto 0; }
.success-panel .big-icon { width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--green-bg); color: #34d17a; box-shadow: 0 0 40px rgba(24, 169, 87, .35); }
.success-panel .big-icon .icon { width: 46px; height: 46px; }
.success-panel h1 { font-size: 1.9rem; font-weight: 800; }
.success-panel p { color: var(--muted); margin-top: 10px; }
.case-id-box { display: inline-block; margin-top: 18px; padding: 12px 20px; border-radius: 12px; border: 1px dashed var(--border-strong); font-size: 1.3rem; font-weight: 800; letter-spacing: .03em; }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.badge-submitted { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
.badge-under_review { background: rgba(245, 158, 11, .18); color: #fbbf5a; }
.badge-in_progress { background: rgba(37, 99, 255, .2); color: #8fb6ff; }
.badge-resolved { background: rgba(24, 169, 87, .2); color: #5ee595; }
.badge-closed { background: rgba(100, 116, 139, .25); color: #94a3b8; }
.badge-rejected { background: rgba(255, 51, 85, .2); color: #ff8ea1; }
.badge-paid { background: rgba(24, 169, 87, .2); color: #5ee595; }
.badge-partial { background: rgba(245, 158, 11, .2); color: #fbbf5a; }
.badge-unpaid { background: rgba(255, 51, 85, .18); color: #ff8ea1; }
.badge-nocharge { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
.badge-pending { background: rgba(245, 158, 11, .2); color: #fbbf5a; }
.badge-completed { background: rgba(24, 169, 87, .2); color: #5ee595; }
.badge-refunded { background: rgba(148, 163, 184, .2); color: #cbd5e1; }
:root[data-theme="light"] .badge-submitted { color: #475569; }
:root[data-theme="light"] .badge-under_review { color: #a16207; }
:root[data-theme="light"] .badge-in_progress { color: #1d4ed8; }
:root[data-theme="light"] .badge-resolved { color: #15803d; }
.badge-role { background: rgba(139, 92, 246, .2); color: #c4b5fd; }

/* ---------- Dashboard layout (client + admin) ---------- */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.dash-nav { position: sticky; top: 96px; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.dash-nav .who { padding: 6px 10px 14px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.dash-nav .who strong { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.dash-nav .who span { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: .92rem; text-decoration: none !important; }
.dash-nav a:hover { background: rgba(61, 130, 255, .1); color: var(--text); }
.dash-nav a.active { background: linear-gradient(90deg, rgba(61, 130, 255, .35), rgba(61, 130, 255, .08)); color: var(--text); }
.dash-nav .count { margin-left: auto; font-size: .72rem; background: var(--red); color: #fff; border-radius: 999px; padding: 1px 7px; }
.dash-main { min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-head h1 { font-size: 1.6rem; font-weight: 800; }
.dash-head p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.kpi span { color: var(--muted); font-size: .82rem; }
.kpi strong { display: block; font-size: 1.6rem; font-weight: 800; margin-top: 2px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.panel { padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); margin-bottom: 18px; }
.panel h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; background: rgba(61, 130, 255, .05); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td .sub { display: block; color: var(--faint); font-size: .78rem; }
.cell-title { display: flex; align-items: center; gap: 10px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline-form { display: inline; }
.detail-list { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; font-size: .92rem; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.timeline { display: grid; gap: 12px; }
.tl-item { padding: 12px 14px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); }
.tl-item.internal { border-style: dashed; border-color: rgba(245, 181, 36, .5); }
.tl-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: var(--faint); margin-bottom: 4px; }
.tl-item p { white-space: pre-line; overflow-wrap: anywhere; font-size: .92rem; }
.file-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.file-rows li:last-child { border-bottom: 0; }
.file-rows .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mt-0 { margin-top: 0 !important; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.search-row .input { max-width: 320px; }
.search-row select.input { max-width: 200px; }

.track-box { max-width: 640px; margin: 10px auto 0; }
.track-form { display: flex; gap: 12px; }
.track-form .input { flex: 1; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-inner { gap: 14px; }
  .main-nav a { padding: 10px 10px; }
  .offer-banner { grid-template-columns: 110px minmax(0, 1fr) auto 130px; }
  .offer-gift { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 1024px) {
  .menu-toggle { display: inline-grid; }
  .hide-sm { display: none !important; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49; display: none; flex-direction: column;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 20px 20px; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .menu-open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .nav-actions-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .header-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 480px; max-width: 640px; width: 100%; margin: 0 auto; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid .plan-card:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
  .case-cards { grid-template-columns: 1fr; }
  .results-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash { margin-top: 16px; gap: 16px; }
  .dash-nav { position: static; display: flex; flex-wrap: nowrap; gap: 6px; padding: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav .who { display: none; }
  .dash-nav a { flex: none; padding: 9px 14px; border-radius: 999px; font-size: .88rem; white-space: nowrap; }
  .dash-nav a .icon { width: 16px; height: 16px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .header-inner { min-height: 68px; }
  .main-nav { inset: 68px 0 auto 0; }
  .logo-name { font-size: 1.2rem; }
  .logo-tag { font-size: .68rem; }
  .logo-mark { width: 30px; height: 34px; }
  .hero { padding-top: 22px; }
  .hero-lead { font-size: 1rem; }
  .hero-buttons .btn { flex: 1 1 200px; }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .hero-art { height: 400px; }
  .art-screen { width: 100%; height: 270px; transform: rotateY(-8deg) rotateX(6deg); font-size: 9px; grid-template-columns: 1fr; }
  .as-side { display: none; }
  .as-row { grid-template-columns: 22px 1fr auto auto; }
  .as-row .n, .as-row .d { display: none; }
  .art-shield { width: 150px; left: 32%; top: 225px; }
  .ft-1 { left: 4%; top: 260px; }
  .ft-2 { left: 70%; top: 250px; }
  .ft-3 { left: 74%; top: 318px; }
  .float-tile { width: 50px !important; height: 50px !important; }
  .art-script { font-size: 1.15rem; top: 300px; right: -4px; display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .stat { padding: 4px 14px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat strong { font-size: 1.2rem; }
  .offer-banner { grid-template-columns: 1fr; padding: 0 16px 18px; text-align: center; gap: 14px; }
  .offer-ribbon { clip-path: none; margin: 0 -16px; padding: 10px; flex-direction: row; gap: 8px; }
  .countdown { justify-content: center; gap: 8px; }
  .cd-box { width: 64px; height: 64px; }
  .offer-save { align-items: center; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-grid .plan-card:last-child { max-width: none; }
  .case-cards { grid-template-columns: 1fr; }
  .action-card { flex-wrap: wrap; }
  .action-text { flex: 1 1 calc(100% - 90px); }
  .action-card .btn { flex: 1 1 100%; }
  .round-link { display: none; }
  .results-track { grid-auto-columns: 82%; }
  .results-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 20px; }
  .plan-choice { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .steps, .info-grid { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; gap: 2px; }
  .detail-list dd { margin-bottom: 10px; }
  .track-form { flex-direction: column; }
  .next-steps { grid-template-columns: 1fr; gap: 8px; }
  .next-steps li { padding: 10px 12px; }
  .dash-head h1 { font-size: 1.4rem; }
  .head-actions .link-arrow { margin-right: auto; }
  .section-head-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Homepage 16:9 slideshow ---------- */
.slider-wrap { margin-top: 22px; }
.slider { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 560px; width: 100%; border: 1px solid var(--border-strong); box-shadow: 0 0 40px rgba(61, 130, 255, .25), var(--shadow); background: #0b1532; }
.slider-track, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity .7s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-ph { position: relative; width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 6% 6% 9%; color: #fff; }
.slide-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 55%); }
.slide-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.slide-text strong { font-size: clamp(1.3rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.slide-text span { font-size: clamp(.85rem, 1.6vw, 1.1rem); opacity: .9; }
.slide-size { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: rgba(0, 0, 0, .35); border: 1px dashed rgba(255, 255, 255, .5); }
.slide-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 76px; height: 54px; transform: translate(-50%, -60%); border-radius: 14px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(4px); }
.slide-play::before { content: ""; position: absolute; left: 31px; top: 15px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.slider-btn { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(5, 10, 26, .55); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.slider-btn:hover { background: rgba(37, 99, 255, .8); }
.slider-btn.prev { left: 14px; } .slider-btn.next { right: 14px; }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button.on { width: 26px; background: #fff; }
@media (max-width: 760px) {
  .slider-wrap { margin-top: 14px; }
  .slider { border-radius: 14px; }
  .slider-btn { width: 34px; height: 34px; }
  .slider-btn.prev { left: 8px; } .slider-btn.next { right: 8px; }
  .slide-play { width: 54px; height: 38px; border-radius: 10px; }
  .slide-play::before { left: 22px; top: 10px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
  .slide-size { font-size: .62rem; top: 10px; left: 10px; }
}
@media (max-width: 760px) {
  .slide-play { display: none; }
  .slider-btn { top: auto; bottom: 8px; transform: none; width: 30px; height: 30px; }
  .slider-btn .icon { width: 16px; height: 16px; }
  .slide-ph { padding: 0 16px 44px; }
  .slide-text strong { font-size: 1.15rem; }
  .slide-text span { font-size: .8rem; }
  .slider-dots { bottom: 19px; }
}
.slider-dots { left: 50%; right: auto; transform: translateX(-50%); }

.slide-img { display: block; text-decoration: none !important; color: #fff; padding: 0 !important; }
.slide-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-img::after { display: none; }
.slide-img.has-text::after { display: block; z-index: 0; }
.slide-img .slide-text { position: absolute; left: 6%; right: 6%; bottom: 13%; }
@media (max-width: 760px) { .slide-img .slide-text { left: 16px; right: 16px; bottom: 46px; } }

/* slide loading state: soft shimmer until the image has loaded, then fade in */
.slide-img { background: linear-gradient(110deg, #0e1a3d 30%, #1a2a5e 50%, #0e1a3d 70%) 0 0 / 300% 100%; animation: slide-shimmer 1.4s linear infinite; }
.slide-img img { opacity: 0; transition: opacity .4s ease; }
.slide-img img.loaded { opacity: 1; }
@keyframes slide-shimmer { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .slide-img { animation: none; } }

/* ---------- Result proof images ---------- */
button.result-thumb { padding: 0; border: 0; cursor: zoom-in; position: relative; }
.proof-cover.ready { animation: none; background: #0a1330; }
.result-thumb.has-img, .proof-cover { background: linear-gradient(110deg, #0e1a3d 30%, #1a2a5e 50%, #0e1a3d 70%) 0 0 / 300% 100%; animation: slide-shimmer 1.4s linear infinite; }
.result-thumb img, .proof-cover img { opacity: 0; transition: opacity .35s ease; }
.result-thumb img.loaded, .proof-cover img.loaded { opacity: 1; }
.thumb-count { position: absolute; right: 3px; bottom: 3px; padding: 0 5px; border-radius: 5px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .66rem; font-weight: 700; }
.results-grid-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.result-card-lg { padding: 0; overflow: hidden; gap: 0; justify-content: flex-start; }
.proof-cover { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-bottom: 1px solid var(--border); cursor: zoom-in; overflow: hidden; }
.proof-cover img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity .35s ease, transform .4s ease; }
.proof-cover:hover img.loaded { transform: scale(1.03); }
.proof-empty { display: grid; place-items: center; cursor: default; animation: none; }
.proof-hint { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(5, 10, 26, .78); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(4px); }
.proof-hint .icon { width: 15px; height: 15px; }
.result-lg-body { display: flex; flex-direction: column; gap: 14px; padding: 16px; flex: 1; justify-content: space-between; }
.result-lg-body h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.result-card-lg .sample-tag { top: 10px; right: 10px; }
@media (max-width: 1024px) { .results-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .results-grid-lg { grid-template-columns: minmax(0, 1fr); } .proof-cover { aspect-ratio: 4 / 3.2; } }

/* ---------- Full-screen image viewer ---------- */
.lb { position: fixed; inset: 0; z-index: 9999; display: none; flex-direction: column; background: #02050f; color: #fff; }
.lb.open { display: flex; }
.lb-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; flex: none; }
.lb-title { flex: 1; min-width: 0; font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { color: #b9c4e6; font-size: .85rem; white-space: nowrap; }
.lb-btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; text-decoration: none !important; }
.lb-btn:hover { background: rgba(37, 99, 255, .8); }
.lb-btn .icon { width: 20px; height: 20px; }
.lb-stage { position: relative; flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; -webkit-overflow-scrolling: touch; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lb-stage.zoomed { align-items: flex-start; justify-content: flex-start; }
.lb-stage.zoomed img { max-width: none; max-height: none; width: 200%; cursor: zoom-out; }
.lb-stage .lb-spin { position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: lb-spin .8s linear infinite; }
.lb-stage.ready .lb-spin { display: none; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-foot { flex: none; padding: 8px 12px 14px; text-align: center; color: #9fb0e0; font-size: .8rem; }
.lb-open .lb, body.lb-open { overflow: hidden; }
@media (max-width: 760px) { .lb-nav { top: auto; bottom: 46px; transform: none; } .lb-stage.zoomed img { width: 260%; } }

/* ---------- Submit a Case (two kinds) ---------- */
.case-form [hidden] { display: none !important; }
.case-form[data-kind="defend"] [data-show="removal"], .case-form[data-kind="removal"] [data-show="defend"] { display: none !important; }
.cf-question { color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.cf-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-kinds input, .cf-chips input, .cf-plans input { position: absolute; opacity: 0; pointer-events: none; }
.cf-kind { display: flex; flex-direction: column; gap: 4px; height: 100%; cursor: pointer; padding: 16px; border-radius: 14px; border: 1.5px solid var(--border-strong); background: var(--input-bg); color: var(--muted); font-size: .88rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background .2s; }
.cf-kind strong { color: var(--text); font-size: 1rem; }
.cf-kind-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 4px; background: rgba(61, 130, 255, .16); color: var(--blue-2); }
.cf-kind-removal .cf-kind-ic { background: rgba(255, 122, 61, .16); color: #ff8a4d; }
.cf-kind-ic .icon { width: 20px; height: 20px; }
.cf-kinds input:checked + .cf-kind-defend { border-color: var(--blue-2); background: rgba(37, 99, 255, .14); box-shadow: 0 0 0 3px rgba(61, 130, 255, .25); }
.cf-kinds input:checked + .cf-kind-removal { border-color: #ff7a3d; background: rgba(255, 122, 61, .12); box-shadow: 0 0 0 3px rgba(255, 122, 61, .25); }
.cf-kinds input:focus-visible + .cf-kind, .cf-chips input:focus-visible + label, .cf-plans input:focus-visible + .cf-plan { outline: 2px solid var(--blue-2); outline-offset: 2px; }
/* Case type cards: make it obvious they are tappable choices */
.cf-question.has-hint { margin-bottom: 4px; }
.cf-tap { margin: 0 0 12px; font-size: .82rem; font-weight: 600; color: var(--blue-2); }
.cf-kind { position: relative; padding-right: 40px; }
.cf-kind::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--border-strong); transition: background-color .2s, border-color .2s; }
.cf-kinds input:checked + .cf-kind::after { background: var(--blue-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--blue-2); }
.cf-kinds input:checked + .cf-kind-removal::after { background-color: #ff7a3d; border-color: #ff7a3d; }
.cf-pick { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.cf-pick > span { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; border: 1px solid var(--border-strong); color: var(--muted); }
.cf-pick-on { display: none !important; }
.cf-kinds input:checked + .cf-kind .cf-pick-on { display: inline-block !important; background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.cf-kinds input:checked + .cf-kind-removal .cf-pick-on { background: #ff7a3d; border-color: #ff7a3d; }
.cf-kinds input:checked + .cf-kind .cf-pick-off { display: none; }
.cf-kind:hover .cf-pick-off { border-color: var(--blue-2); color: var(--text); }
.cf-how { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; line-height: 1.55; background: rgba(61, 130, 255, .1); border: 1px solid rgba(61, 130, 255, .35); }
.cf-how-removal { background: rgba(255, 122, 61, .08); border-color: rgba(255, 122, 61, .4); }
.cf-how strong { display: block; margin-bottom: 4px; }
.cf-how ol { margin: 0; padding-left: 20px; color: var(--muted); }
.cf-sec { margin: 28px 0 14px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
.case-form[data-kind="removal"] .cf-sec-removal { color: #ff8a4d; }
.cf-fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.cf-fieldset legend { margin-bottom: 8px; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips label { display: inline-flex; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-strong); cursor: pointer; font-size: .9rem; background: var(--input-bg); }
.cf-chips input:checked + label { background: var(--blue); border-color: var(--blue); color: #fff; }
.case-form[data-kind="removal"] .cf-chips input:checked + label { background: #ff6a2b; border-color: #ff6a2b; }
.cf-plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; }
.cf-plans > div { min-width: 0; }
.cf-plan { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%; min-height: 220px; padding: 14px 8px 14px; border-radius: 16px; cursor: pointer; border: 1.5px solid var(--border-strong); background: var(--input-bg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.cf-plan:hover { transform: translateY(-2px); }
.cf-plan-purple { border-color: rgba(139, 92, 246, .45); }
.cf-plan-gold { border-color: rgba(245, 181, 36, .45); }
.cf-plans input:checked + .cf-plan { border-color: var(--blue-2); background: rgba(37, 99, 255, .14); box-shadow: 0 0 0 3px rgba(61, 130, 255, .28); }
.cf-plans input:checked + .cf-plan-purple { border-color: var(--purple-2); background: rgba(109, 53, 245, .14); box-shadow: 0 0 0 3px rgba(139, 92, 246, .3); }
.cf-plans input:checked + .cf-plan-gold { border-color: var(--gold); background: rgba(245, 181, 36, .1); box-shadow: 0 0 0 3px rgba(245, 181, 36, .28); }
.cf-save { padding: 3px 8px; border-radius: 7px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.cf-pname { font-size: 1rem; margin-top: 4px; }
.cf-plan-purple .cf-pname { color: var(--purple-2); }
.cf-plan-gold .cf-pname { color: var(--gold-2); }
.cf-psub { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.cf-now { font-size: 1.9rem; font-weight: 800; line-height: 1.1; margin-top: 6px; }
.cf-was { font-size: .9rem; color: var(--faint); }
.cf-ot { font-size: .72rem; color: var(--faint); }
.cf-radio { width: 20px; height: 20px; margin-top: auto; border-radius: 50%; border: 2px solid var(--border-strong); }
.cf-plans input:checked + .cf-plan .cf-radio { border: 6px solid var(--blue-2); }
.cf-plans input:checked + .cf-plan-purple .cf-radio { border-color: var(--purple-2); }
.cf-plans input:checked + .cf-plan-gold .cf-radio { border-color: var(--gold); }
.cf-timer { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; margin: 12px 0 4px; font-size: .85rem; color: #ff9fb1; }
.cf-timer .icon { width: 16px; height: 16px; }
body.offer-expired .cf-timer, body.offer-expired .cf-save, body.offer-expired .cf-was { display: none !important; }
.cf-wa { display: flex; gap: 8px; }
.cf-wa select { width: 42%; max-width: 190px; flex: none; }
.cf-wa input { flex: 1; min-width: 0; }
.cf-links { display: flex; flex-direction: column; gap: 8px; }
.cf-link-row { display: flex; align-items: center; gap: 8px; }
.cf-ln { width: 26px; flex: none; text-align: center; color: var(--faint); font-weight: 700; font-size: .85rem; }
.cf-link-row input { flex: 1; min-width: 0; }
.cf-link-del { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--input-bg); color: var(--muted); cursor: pointer; }
.cf-link-del:hover { color: var(--red-2); border-color: var(--red-2); }
.cf-link-del .icon { width: 16px; height: 16px; }
.cf-link-add { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 10px; border: 1.5px dashed var(--border-strong); background: transparent; color: var(--blue-2); font: inherit; font-weight: 600; cursor: pointer; }
.cf-link-add .icon { width: 16px; height: 16px; }
.cf-link-add .muted { font-weight: 400; font-size: .8rem; }
.cf-link-add[disabled] { opacity: .45; cursor: not-allowed; }
.case-form[data-kind="removal"] .cf-link-add { color: #ff8a4d; }
.case-form[data-kind="removal"] .cf-submit { background: linear-gradient(135deg, #ff7a3d, #f04e12); box-shadow: 0 10px 30px rgba(255, 106, 43, .35); }
.badge-kind-defend { background: rgba(61, 130, 255, .16); color: #7fb0ff; }
.badge-kind-removal { background: rgba(255, 122, 61, .16); color: #ff9b66; }
@media (max-width: 560px) {
  .form-card.case-form { padding: 18px 14px; }
  .cf-kinds { gap: 8px; }
  .cf-kind { padding: 12px 10px; font-size: .8rem; }
  .cf-kind { padding-right: 34px; }
  .cf-kind::after { top: 10px; right: 10px; width: 20px; height: 20px; }
  .cf-kind strong { font-size: .92rem; }
  .cf-plans { gap: 6px; }
  .cf-plan { padding: 12px 4px; min-height: 200px; border-radius: 13px; }
  .cf-pname { font-size: .9rem; }
  .cf-psub { font-size: .68rem; }
  .cf-now { font-size: 1.45rem; }
  .cf-save { font-size: .64rem; padding: 2px 5px; }
  .cf-wa select { width: 40%; }
}

/* ---------- Case submitted (success) page ---------- */
.sx-wrap { padding-top: 30px; padding-bottom: 40px; }
.sx-card { padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.sx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.sx-left { text-align: center; }
.sx-badge { position: relative; width: 120px; height: 120px; margin: 4px auto 18px; }
.sx-halo { position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(24, 169, 87, .45), transparent 66%); opacity: 0; transform: scale(.5); animation: sx-halo .9s .35s ease-out forwards, sx-pulse 2.6s 1.6s ease-in-out infinite; }
.sx-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-ring circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.sx-ring .bg { stroke: rgba(79, 224, 146, .2); }
.sx-ring .fg { stroke: #4fe092; stroke-dasharray: 346; stroke-dashoffset: 346; transform: rotate(-90deg); transform-origin: 50% 50%; animation: sx-ring .9s .3s cubic-bezier(.6, 0, .3, 1) forwards; }
.sx-disc { position: absolute; inset: 15px; border-radius: 50%; background: linear-gradient(135deg, #2bd47a, #139a55); box-shadow: 0 0 30px rgba(24, 169, 87, .55); transform: scale(0); animation: sx-pop .5s 1s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.sx-check { position: absolute; inset: 15px; width: calc(100% - 30px); height: calc(100% - 30px); }
.sx-check path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: sx-draw .45s 1.3s ease-out forwards; }
.sx-confetti { position: absolute; inset: 0; pointer-events: none; }
.sx-confetti i { position: absolute; left: 50%; top: 50%; width: 8px; height: 11px; border-radius: 2px; opacity: 0; animation: sx-burst 1.5s var(--t, 1.2s) cubic-bezier(.1, .8, .3, 1) forwards; }
.sx-up { opacity: 0; transform: translateY(12px); animation: sx-up .55s calc(1.45s + var(--d, 0) * .12s) ease-out forwards; }
@keyframes sx-halo { to { opacity: 1; transform: scale(1.1); } }
@keyframes sx-pulse { 50% { transform: scale(1.3); opacity: .55; } }
@keyframes sx-ring { to { stroke-dashoffset: 0; } }
@keyframes sx-pop { to { transform: scale(1); } }
@keyframes sx-draw { to { stroke-dashoffset: 0; } }
@keyframes sx-up { to { opacity: 1; transform: none; } }
@keyframes sx-burst { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(0); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); } }
.sx-left h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.2; }
.sx-left h1 span { color: #34d17a; }
.sx-lead { color: var(--muted); margin: 12px auto 18px; max-width: 470px; line-height: 1.6; }
.sx-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; }
.sx-ic .icon { width: 21px; height: 21px; }
.sx-mail { display: flex; gap: 12px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 14px; background: rgba(24, 169, 87, .1); border: 1px solid rgba(24, 169, 87, .35); margin-bottom: 16px; }
.sx-mail .sx-ic { background: rgba(24, 169, 87, .18); color: #34d17a; }
.sx-mail strong { display: block; color: #34d17a; font-size: .95rem; word-break: break-word; }
.sx-mail span { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.sx-actions { display: flex; flex-direction: column; gap: 10px; }
.sx-actions .btn { width: 100%; justify-content: center; }
.sx-info-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.sx-info-head h2 { font-size: 1.2rem; }
.sx-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(245, 181, 36, .15); color: var(--gold-2); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.sx-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: sx-dot 1.6s infinite; }
@keyframes sx-dot { 0% { box-shadow: 0 0 0 0 rgba(255, 201, 74, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 201, 74, 0); } }
.sx-table { margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.sx-table > div { display: grid; grid-template-columns: 40% 60%; border-bottom: 1px solid var(--border); }
.sx-table > div:last-child { border-bottom: 0; }
.sx-table dt { padding: 11px 14px; color: var(--muted); font-size: .9rem; background: var(--input-bg); }
.sx-table dd { margin: 0; padding: 11px 14px; font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; word-break: break-word; }
.sx-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.sx-copy { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--border-strong); background: transparent; color: var(--blue-2); font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
.sx-copy .icon { width: 13px; height: 13px; }
.sx-copy.done { color: #34d17a; border-color: #34d17a; }
.sx-pf { display: inline-flex; align-items: center; gap: 8px; }
.sx-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; font-size: .82rem; color: var(--faint); }
.sx-note .icon { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.sx-steps { margin-top: 26px; padding: 20px; border-radius: 16px; background: var(--input-bg); border: 1px solid var(--border); }
.sx-steps h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 18px; }
.sx-steps h2 .icon { width: 20px; height: 20px; color: var(--blue-2); }
.sx-track { list-style: none; margin: 0; padding: 0; display: flex; text-align: center; }
.sx-track li { flex: 1; position: relative; padding: 0 6px; font-size: .82rem; color: var(--muted); }
.sx-track li::before { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 3px; background: var(--border-strong); }
.sx-track li:first-child::before { display: none; }
.sx-track b { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--border-strong); color: var(--faint); font-size: .9rem; }
.sx-track b .icon { width: 17px; height: 17px; }
.sx-track strong { display: block; color: var(--text); font-size: .9rem; margin-bottom: 3px; }
.sx-track span { display: block; line-height: 1.4; }
.sx-track em { display: inline-block; margin-top: 7px; padding: 2px 9px; border-radius: 999px; background: rgba(245, 181, 36, .15); color: var(--gold-2); font-style: normal; font-size: .72rem; font-weight: 700; }
.sx-track .is-done b { background: #18a957; border-color: #18a957; color: #fff; }
.sx-track .is-done + li::before { background: linear-gradient(90deg, #18a957, var(--gold)); }
.sx-track .is-now b { background: var(--gold); border-color: var(--gold); color: #1a1300; box-shadow: 0 0 0 5px rgba(245, 181, 36, .22); }
.sx-track .is-now strong { color: var(--gold-2); }
.sx-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.sx-tip { display: flex; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid; }
.sx-tip strong { display: block; font-size: .95rem; }
.sx-tip p { color: var(--muted); font-size: .85rem; line-height: 1.55; margin-top: 4px; }
.sx-blue { background: rgba(61, 130, 255, .08); border-color: rgba(61, 130, 255, .3); } .sx-blue .sx-ic { background: rgba(61, 130, 255, .18); color: var(--blue-2); } .sx-blue strong { color: var(--blue-2); }
.sx-green { background: rgba(24, 169, 87, .08); border-color: rgba(24, 169, 87, .3); } .sx-green .sx-ic { background: rgba(24, 169, 87, .18); color: #34d17a; } .sx-green strong { color: #34d17a; }
.sx-gold { background: rgba(245, 181, 36, .07); border-color: rgba(245, 181, 36, .32); } .sx-gold .sx-ic { background: rgba(245, 181, 36, .18); color: var(--gold-2); } .sx-gold strong { color: var(--gold-2); }
.sx-help { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; border-radius: 9px; border: 1px solid rgba(245, 181, 36, .5); color: var(--gold-2) !important; font-size: .85rem; font-weight: 700; text-decoration: none !important; }
.sx-help .icon { width: 14px; height: 14px; }
:root[data-theme="light"] .sx-left h1 span, :root[data-theme="light"] .sx-mail strong, :root[data-theme="light"] .sx-green strong { color: #128a4b; }
:root[data-theme="light"] .sx-pill, :root[data-theme="light"] .sx-track .is-now strong, :root[data-theme="light"] .sx-track em, :root[data-theme="light"] .sx-gold strong, :root[data-theme="light"] .sx-help { color: #a16207 !important; }
@media (max-width: 900px) { .sx-grid, .sx-three { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .sx-card { padding: 20px 16px; }
  .sx-track li { padding: 0 2px; }
  .sx-track span { display: none; }
  .sx-track strong { font-size: .76rem; }
  .sx-table > div { grid-template-columns: 42% 58%; }
  .sx-table dt, .sx-table dd { padding: 10px 11px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-halo, .sx-ring .fg, .sx-disc, .sx-check path, .sx-up, .sx-pill i { animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .sx-confetti { display: none; }
}

/* Submitting overlay (shown while a case is being sent) */
.sending { position: fixed; inset: 0; z-index: 9998; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(5, 10, 26, .88); color: #e6ecff; font-weight: 600; backdrop-filter: blur(3px); animation: sending-in .2s ease-out; }
.sending::before { content: ""; width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(92, 128, 255, .25); border-top-color: #3d82ff; animation: lb-spin .8s linear infinite; }
@keyframes sending-in { from { opacity: 0; } }
.sx-pill.is-green { background: rgba(24, 169, 87, .15); color: #34d17a; }
.sx-pill.is-red { background: rgba(255, 51, 85, .14); color: var(--red-2); }
.sx-pill.is-gray { background: rgba(140, 150, 180, .16); color: var(--muted); }
.sx-track .is-bad b { background: var(--red); border-color: var(--red); color: #fff; }
.sx-track .is-bad strong { color: var(--red-2); }
:root[data-theme="light"] .sx-pill.is-green { color: #128a4b !important; }
:root[data-theme="light"] .sx-pill.is-red { color: #c4123a !important; }
:root[data-theme="light"] .sx-pill.is-gray { color: #4a5578 !important; }
.sending { gap: 12px; padding: 24px; text-align: center; }
.sending-title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.sending-bar { width: min(280px, 80vw); height: 8px; border-radius: 99px; background: rgba(92, 128, 255, .2); overflow: hidden; }
.sending-bar i { display: block; width: 3%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #3d82ff, #8b5cf6); transition: width .3s ease; }
.sending-sub { margin: 0; font-size: .85rem; color: #a5b1d8; font-weight: 500; min-height: 1.2em; }
/* File picker list */
.fl-input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden; pointer-events: none; }
.file-drop { position: relative; }
.fl-add { margin-top: 6px; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; align-self: stretch; }
.file-list .fl-head { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.file-list .fl-head b { color: var(--text); }
.file-list .fl-note { font-size: .8rem; color: var(--gold-2); margin-bottom: 8px; text-align: left; }
.fl-item { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 7px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); text-align: left; }
.fl-item.too-big { border-color: var(--red-2); }
.fl-thumb { width: 42px; height: 42px; flex: none; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: rgba(61, 130, 255, .15); color: var(--blue-2); font-size: .66rem; font-weight: 800; }
.fl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fl-name { flex: 1; min-width: 0; }
.fl-name b { display: block; font-size: .82rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-name small { font-size: .74rem; color: var(--muted); }
.fl-name small i { font-style: normal; color: #34d17a; }
.fl-name small em { font-style: normal; color: var(--red-2); font-weight: 700; }
.fl-del { width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid rgba(255, 90, 118, .5); background: transparent; color: var(--red-2); font-size: 15px; font-weight: 800; cursor: pointer; }
.fl-del:hover { background: rgba(255, 51, 85, .12); }

/* Reviews */
.t-head figcaption .t-verified { display: inline-flex !important; align-items: center; gap: 3px; margin: 2px 0; padding: 1px 8px; border-radius: 99px; background: rgba(24, 169, 87, .15); color: #34d17a !important; font-size: .7rem !important; font-weight: 700; }
.t-verified .icon { width: 11px; height: 11px; }
.t-title { margin: 12px 0 0; font-weight: 700; font-size: .95rem; }
.t-title + blockquote { margin-top: 4px; }
.t-reply { margin: 10px 0 0; padding: 7px 10px; border-left: 3px solid var(--blue-2); border-radius: 0 8px 8px 0; background: rgba(61, 130, 255, .08); font-size: .82rem; color: var(--muted); }
.t-reply strong { color: var(--text); }
.rv-stars-field { border: 0; padding: 0; margin: 4px 0 14px; }
.rv-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-stars label { cursor: pointer; color: #3a466e; transition: transform .15s, color .15s; }
.rv-stars label .icon { width: 34px; height: 34px; }
.rv-stars label:hover, .rv-stars label:hover ~ label, .rv-stars input:checked ~ label { color: var(--gold); }
.rv-stars label:hover { transform: scale(1.12); }
.rv-stars input:focus-visible + label { outline: 2px solid var(--blue-2); outline-offset: 2px; border-radius: 6px; }
.rv-done .stars .icon { width: 20px; height: 20px; }
:root[data-theme="light"] .t-head figcaption .t-verified { color: #128a4b !important; }
.t-head figcaption .t-verified { display: flex !important; width: fit-content; margin: 3px 0 2px; }
.t-head figcaption > span:last-child { display: block; }
.rv-stars { justify-content: flex-end; }
.rv-stars-field { display: block; }

/* ---------- Client case page v2 ---------- */
.t-up { color: #34d17a; } .t-down { color: #ff5a76; }
.cp-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 8px; }
.cp-nums div { background: var(--input-bg); border-radius: 10px; padding: 8px 10px; }
.cp-nums small { display: block; font-size: .72rem; color: var(--muted); }
.cp-nums b { font-size: 1.05rem; }
.cp-bar { height: 6px; border-radius: 99px; background: rgba(92, 128, 255, .2); overflow: hidden; }
.cp-bar i { display: block; height: 100%; background: #18a957; }
.btn-wa { background: #18a957; border-color: #18a957; color: #fff !important; }
.cp2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cp2-main, .cp2-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cp2-card { padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.cp2-card h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 1.05rem; margin-bottom: 12px; }
.cp2-card h2 small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.cp2-hero { padding: 20px; border-radius: 20px; border: 1px solid var(--border-strong); background: radial-gradient(120% 100% at 100% 0%, rgba(61, 130, 255, .28), transparent 60%), var(--card); }
.cp2-back { font-size: .85rem; }
.cp2-hero h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 6px 0 10px; word-break: break-word; }
.cp2-idrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cp2-code { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 10px; border-radius: 10px; background: var(--input-bg); border: 1px solid var(--border-strong); }
.cp2-code b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; }
.cp2-code .sx-copy { margin: 0; }
.cp2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cp2-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9px; background: var(--input-bg); font-size: .8rem; color: var(--muted); }
.cp2-chips .ptile { width: 18px; height: 18px; border-radius: 5px; }
.cp2-track { margin-top: 18px; }
.cp2-now { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(245, 181, 36, .08); border: 1px solid rgba(245, 181, 36, .3); font-size: .88rem; line-height: 1.5; }
.cp2-now b { color: var(--gold-2); }
.cp2-chat { display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.cp2-day { text-align: center; font-size: .72rem; color: var(--muted); }
.cp2-day span { background: var(--input-bg); border-radius: 99px; padding: 3px 10px; }
.cp2-msg { display: flex; gap: 8px; align-items: flex-start; }
.cp2-msg.me { flex-direction: row-reverse; }
.cp2-av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3d82ff, #6d35f5); }
.cp2-msg.me .cp2-av { background: #475569; }
.cp2-bub { max-width: 82%; padding: 9px 12px; border-radius: 4px 14px 14px 14px; background: var(--card-2); border: 1px solid var(--border); font-size: .9rem; line-height: 1.5; word-break: break-word; }
.cp2-bub small { display: block; font-size: .7rem; color: var(--muted); margin-bottom: 3px; }
.cp2-msg.me .cp2-bub { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 14px 4px 14px 14px; }
.cp2-msg.me .cp2-bub small { color: #d6e2ff; }
.cp2-compose { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 14px; }
.cp2-compose textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 160px; resize: none; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--input-bg); color: var(--text); font: inherit; font-size: .92rem; }
.cp2-compose textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(61, 130, 255, .2); }
.cp2-attach, .cp2-send { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; cursor: pointer; }
.cp2-attach { border: 1px solid var(--border-strong); color: var(--blue-2); position: relative; }
.cp2-attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cp2-send { border: 0; background: var(--blue); color: #fff; }
.cp2-attach .icon, .cp2-send .icon { width: 19px; height: 19px; }
.cp2-attached { flex-basis: 100%; font-size: .78rem; color: var(--blue-2); }
.cp2-details summary { list-style: none; cursor: pointer; }
.cp2-details summary::-webkit-details-marker { display: none; }
.cp2-details summary h2::after { content: "▾"; color: var(--muted); }
.cp2-details:not([open]) summary h2 { margin-bottom: 0; }
.cp2-details:not([open]) summary h2::after { content: "▸"; }
.cp2-kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: .86rem; }
.cp2-kv dt { color: var(--muted); }
.cp2-kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cp2-file { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 7px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); color: var(--text) !important; text-decoration: none !important; }
.cp2-file > .icon { width: 18px; height: 18px; color: var(--blue-2); flex: none; }
.cp2-upload .file-drop { padding: 12px; }
.cp2-upload .hint { display: block; margin-top: 6px; }
.cp2-upbtn { margin-top: 8px; }
.cp2-help { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cp2-help .btn { flex: 1; justify-content: center; }
@media (max-width: 960px) { .cp2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cp2-hero, .cp2-card { padding: 15px; border-radius: 16px; }
  .cp2-kv { grid-template-columns: 96px minmax(0, 1fr); font-size: .82rem; }
  .cp2-track strong { font-size: .72rem; }
}
.cp2-upbtn[hidden] { display: none !important; }

/* ---------- Help Articles ---------- */
.ha { max-width: 860px; padding-top: 34px; padding-bottom: 56px; }
.ha-eyebrow { color: var(--blue-2); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.ha h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; line-height: 1.15; margin: 6px 0 8px; }
.ha .lead { color: var(--muted); }
.ha-search { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--input-bg); color: var(--muted); }
.ha-search:focus-within { border-color: var(--blue-2); }
.ha-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 0; color: var(--text); font: inherit; outline: none; }
.ha-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.ha-cats a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.ha-cats a:hover { color: var(--text); border-color: var(--blue-2); }
.ha-cats a.on { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.ha-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .ha-grid { grid-template-columns: 1fr 1fr; } }
.ha-card { display: flex; flex-direction: column; padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--card-bg, rgba(255,255,255,.03)); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.ha-card:hover { border-color: var(--blue-2); transform: translateY(-2px); text-decoration: none; }
.ha-card h2 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--text); margin: 0; }
.ha-card p { color: var(--muted); font-size: .9rem; margin: 6px 0 8px; line-height: 1.5; }
.ha-card small { color: var(--muted); font-size: .78rem; margin-top: auto; padding-top: 6px; }
.ha-tag { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.ha-yt { background: rgba(255,64,64,.15); color: #ff7b7b; } .ha-fb { background: rgba(61,130,255,.16); color: #7fb0ff; }
.ha-ig { background: rgba(236,72,153,.16); color: #f58ac0; } .ha-tt { background: rgba(45,212,191,.15); color: #5eead4; }
.ha-st { background: rgba(255,122,61,.16); color: #ff9a62; } .ha-gn { background: rgba(139,92,246,.18); color: #b9a3ff; }
[data-theme="light"] .ha-yt { color: #c81e1e; } [data-theme="light"] .ha-fb { color: #1d4ed8; } [data-theme="light"] .ha-ig { color: #be185d; }
[data-theme="light"] .ha-tt { color: #0f766e; } [data-theme="light"] .ha-st { color: #c2410c; } [data-theme="light"] .ha-gn { color: #6d28d9; }
.ha-empty { padding: 22px; border-radius: 14px; border: 1px dashed var(--border-strong); color: var(--muted); text-align: center; margin-bottom: 12px; }
.ha-cta { margin-top: 24px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(37,99,255,.20), rgba(139,92,246,.16)); border: 1px solid rgba(92,128,255,.35); }
.ha-cta h2 { font-size: 1.15rem; font-weight: 800; margin: 0; }
.ha-cta p { color: var(--muted); font-size: .92rem; margin: 6px 0 14px; }
.ha-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 760px) { .ha-cta .btn { width: auto; } }
.ha-crumb { font-size: .82rem; color: var(--muted); }
.art h1 { margin-top: 10px; }
.ha-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .82rem; margin: 10px 0 18px; }
.ha-meta .ha-tag { margin: 0; }
.ha-tldr { padding: 14px 16px; border-left: 3px solid var(--blue-2); background: rgba(37,99,255,.08); border-radius: 10px; font-size: .95rem; line-height: 1.55; margin-bottom: 8px; }
.ha-body h2 { font-size: 1.25rem; font-weight: 800; margin: 26px 0 8px; }
.ha-body p, .ha-body li { line-height: 1.7; }
.ha-note { font-size: .8rem; color: var(--muted); margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--border); }
.ha-rel-h { font-size: 1.15rem; font-weight: 800; margin: 30px 0 12px; }

/* ---------- Admin: SEO & Sharing ---------- */
.seo-lbl { display: block; font-weight: 700; font-size: .92rem; margin: 4px 0 8px; }
.gprev { background: #fff; border-radius: 12px; padding: 14px 16px; font-family: Arial, Helvetica, sans-serif; margin-bottom: 16px; color: #202124; max-width: 640px; }
.gprev-u { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #202124; }
.gprev-u i { width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; display: grid; place-items: center; flex: none; }
.gprev-u img { width: 18px; height: 18px; }
.gprev-u small { display: block; font-size: 12px; color: #4d5156; word-break: break-all; }
.gprev-h { font-size: 20px; color: #1a0dab; margin: 6px 0 3px; line-height: 1.3; }
.gprev-d { font-size: 14px; color: #4d5156; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seo-count { float: right; font-size: .78rem; font-weight: 600; color: #4ade80; }
.seo-count.long { color: #fbbf24; }
.seo-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.seo-row:hover:not(.static) b { color: var(--blue-2); }
.seo-row b { display: block; }
.seo-row small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; line-height: 1.35; }
.seo-pill { flex: none; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(148,163,184,.15); color: var(--muted); white-space: nowrap; }
.seo-pill.on { background: rgba(34,197,94,.14); color: #22c55e; }
.og-preview { display: block; width: 100%; max-width: 600px; border-radius: 12px; border: 1px solid var(--border); margin: 10px 0 6px; }
.seo-steps { padding-left: 20px; margin: 12px 0 16px; line-height: 1.7; }
.seo-steps code { word-break: break-all; }
.seo-more { margin: 4px 0 14px; }
.seo-more summary { cursor: pointer; font-weight: 700; }
.art-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; padding: 14px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.art-row:first-child { border-top: 0; padding-top: 0; }
.art-row-main { flex: 1 1 320px; min-width: 0; }
.art-row-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 6px; color: var(--muted); font-size: .82rem; }

/* ---------- Admin Inbox: mailbox switcher, New Email ---------- */
.mbx { display: flex; gap: 10px; margin: 0 0 12px; }
.mbx a > span:nth-child(2) { min-width: 0; overflow: hidden; }
.mbx small, .mbx b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbx a { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--border-strong); text-decoration: none; color: var(--text); background: var(--input-bg); transition: border-color .15s; }
.mbx a:hover { border-color: var(--blue-2); text-decoration: none; }
.mbx a.on { border-color: var(--blue-2); background: rgba(37,99,255,.14); box-shadow: 0 0 0 3px rgba(61,130,255,.2); }
.mbx b { display: block; font-size: .92rem; }
.mbx small { display: block; color: var(--muted); font-size: .74rem; }
.mbx-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; flex: none; background: rgba(61,130,255,.16); }
.mbx-hello { background: rgba(34,197,94,.16); }
.mbx-n { margin-left: auto; background: #ef4444; color: #fff; font-size: .72rem; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.mbx-actions { display: flex; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.mbx-actions .btn-primary { flex: 1 1 auto; justify-content: center; max-width: 320px; }
.ib-tags em.t-replied { background: rgba(34,197,94,.15); color: #22c55e; }
.ib-tags em.t-wait { background: rgba(148,163,184,.16); color: var(--muted); }
.cmp-l { display: block; font-weight: 700; font-size: .9rem; margin: 12px 0 6px; }
.cmp-from { padding: 11px 12px; border-radius: 10px; background: rgba(37,99,255,.10); border: 1px solid rgba(92,128,255,.3); font-size: .92rem; word-break: break-word; }
.cmp-from small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.cmp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cmp-meter { font-size: .82rem; color: var(--muted); }
.cmp-meter b { color: #22c55e; }
.cmp-meter b.over { color: #f59e0b; }

.link-btn { background: none; border: 0; padding: 0; color: var(--blue-2); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.draft-note { margin-bottom: 16px; }

/* ---------- Admin: Visitors ---------- */
.vs { --vs-1: #3987e5; --vs-2: #d95926; --vs-grid: rgba(148,163,184,.16); }
[data-theme="light"] .vs { --vs-1: #2a78d6; --vs-2: #eb6834; --vs-grid: rgba(15,23,42,.08); }
.vs h2 { font-size: 1.02rem; font-weight: 800; margin: 0 0 2px; }
.vs-h3 { font-size: .92rem; font-weight: 800; margin: 16px 0 2px; }
.vs-sub { color: var(--muted); font-size: .8rem; margin: 0 0 12px; }
.vs-live { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(34,197,94,.12); color: #22c55e; }
.vs-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.vs-live.off { background: rgba(148,163,184,.12); color: var(--muted); }
.vs-live.off i { background: #94a3b8; box-shadow: none; }
.vs-rng { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0 14px; padding-bottom: 2px; scrollbar-width: none; }
.vs-rng a { white-space: nowrap; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.vs-rng a:hover { color: var(--text); text-decoration: none; }
.vs-rng a.on { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.vs-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.vs-tile { padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--card-bg, rgba(255,255,255,.03)); }
.vs-tile small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.vs-tile b { display: block; font-size: 1.6rem; font-weight: 800; margin: 4px 0 2px; letter-spacing: -.5px; }
.vs-tile span { font-size: .76rem; color: var(--muted); }
.vs-tile span.up { color: #22c55e; } .vs-tile span.dn { color: #f87171; }
.vs-chart { position: relative; min-height: 190px; touch-action: pan-y; }
.vs-chart svg { display: block; width: 100%; overflow: visible; }
.vs-chart svg text { fill: var(--muted); font-size: 10px; font-family: inherit; }
.vs-tip { position: absolute; top: 0; pointer-events: none; background: #0b1226; color: #fff; border: 1px solid rgba(148,163,184,.35); border-radius: 8px; padding: 6px 10px; font-size: .78rem; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.vs-tip small { display: block; color: #a3b1c6; font-size: .72rem; }
.vs-table { margin-top: 8px; font-size: .82rem; }
.vs-table summary { cursor: pointer; color: var(--muted); }
.vs-table table, .vs-tbl { width: 100%; border-collapse: collapse; font-size: .84rem; }
.vs-tbl th, .vs-table th { color: var(--muted); font-weight: 600; text-align: left; font-size: .76rem; padding: 6px 4px; border-bottom: 1px solid var(--border); }
.vs-tbl td, .vs-table td { padding: 9px 4px; border-bottom: 1px solid var(--border); vertical-align: top; }
.vs .r { text-align: right; }
.vs .who { font-size: .82rem; color: var(--muted); word-break: break-word; }
.vs .who b { color: var(--text); }
.vs-fun { display: grid; gap: 10px; }
.vs-step { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.vs-step .lab { font-size: .86rem; font-weight: 600; }
.vs-step .num { font-size: .86rem; font-weight: 800; text-align: right; }
.vs-step .num .muted { font-weight: 600; }
.vs .fbar, .vs-row .bar { grid-column: 1 / 3; height: 10px; border-radius: 4px; background: var(--vs-grid); overflow: hidden; }
.vs .fbar i, .vs-row .bar i { display: block; height: 100%; border-radius: 4px; background: var(--vs-1); }
.vs-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .86rem; margin-bottom: 10px; }
.vs-row .bar { height: 8px; }
.vs-row .m { color: var(--muted); font-size: .8rem; text-align: right; white-space: nowrap; }
.vs-row .m b { color: var(--text); font-weight: 800; }
.vs-drop { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(217,89,38,.10); border: 1px solid rgba(217,89,38,.35); font-size: .86rem; }
.vs-drop .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; margin-top: 5px; background: var(--vs-2); }
.vs-drop.vs-info { background: rgba(61,130,255,.10); border-color: rgba(92,128,255,.35); }
.vs-drop.vs-info .dot { background: var(--vs-1); }
.vs-fail { border-color: rgba(239,68,68,.45); }
.vs-switch { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.vs-switch span { flex: 1 1 320px; }
@media (min-width: 900px) {
  .vs-tiles { grid-template-columns: repeat(4, 1fr); }
  .vs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
  .vs-two > .panel { margin: 0; }
}
