:root {
  --wa-teal: #080808;
  --wa-teal-dark: #232323;
  --wa-green: #0b4f32;
  --wa-accent: #22c55e;
  --wa-mint: #effaf3;
  --wa-mint-border: #b7e3c7;
  --wa-paper: #f5f6f8;
  --wa-bar: #ffffff;
  --wa-surface: #ffffff;
  --wa-surface-alt: #f2f3f5;
  --wa-card-soft: #fafafa;
  --wa-head-soft: #f7f8fa;
  --wa-hover: #e7eaef;
  --wa-drop-hover: #f0f4f8;
  --wa-border: #e5e8ee;
  --wa-border-soft: #f0f2f5;
  --wa-shell-border: #e2e5ec;
  --wa-ink: #080808;
  --wa-muted: #525866;
  --wa-tick: #0b4f32;
  --wa-red: #9f1239;
  --wa-red-bg: #fff3f5;
  --wa-ok-bg: #effaf3;
  --wa-ok-ink: #0b5e36;
  --wa-warn-bg: #fdf6e2;
  --wa-warn-ink: #634600;
  --wa-pill-bg: #cdebd7;
  --wa-pill-ink: #0b4f32;
  --wa-pill-phone-bg: #d4f0fb;
  --wa-pill-phone-ink: #0c486e;
  --wa-track: #e7eaee;
  --wa-bubble-out: #ffffff;
  --wa-code-ink: #080808;
  --r-card: 20px;
  --r-ctrl: 13px;
}

[data-theme="dark"] {
  --wa-teal: #ffffff;
  --wa-teal-dark: #f8d2ea;
  --wa-green: #cdebd7;
  --wa-accent: #22c55e;
  --wa-mint: rgba(205, 235, 215, 0.12);
  --wa-mint-border: rgba(205, 235, 215, 0.34);
  --wa-paper: #000000;
  --wa-bar: #0b0c10;
  --wa-surface: #0e1015;
  --wa-surface-alt: #171a22;
  --wa-card-soft: #11141a;
  --wa-head-soft: #14171f;
  --wa-hover: #1f232e;
  --wa-drop-hover: #151922;
  --wa-border: rgba(255, 255, 255, 0.12);
  --wa-border-soft: rgba(255, 255, 255, 0.08);
  --wa-shell-border: rgba(255, 255, 255, 0.14);
  --wa-ink: #ffffff;
  --wa-muted: #aeb5c0;
  --wa-tick: #cdebd7;
  --wa-red: #fda4af;
  --wa-red-bg: rgba(159, 18, 57, 0.28);
  --wa-ok-bg: rgba(205, 235, 215, 0.14);
  --wa-ok-ink: #cdebd7;
  --wa-warn-bg: rgba(248, 232, 168, 0.14);
  --wa-warn-ink: #f8e8a8;
  --wa-pill-bg: rgba(205, 235, 215, 0.18);
  --wa-pill-ink: #cdebd7;
  --wa-pill-phone-bg: rgba(212, 240, 251, 0.18);
  --wa-pill-phone-ink: #d4f0fb;
  --wa-track: rgba(255, 255, 255, 0.14);
  --wa-bubble-out: #0e1015;
  --wa-code-ink: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--wa-paper);
  color: var(--wa-ink);
  font: 15px/1.55 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--wa-ink);
}

[hidden] {
  display: none !important;
}

.muted {
  color: var(--wa-muted);
}

.small {
  font-size: 13px;
}

.mono-num {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--wa-ink);
  outline-offset: 2px;
}

/* Studio Canvas Background (matches index.php + auth aesthetic) */
body.wa-app {
  background-color: var(--wa-paper);
  background-image:
    radial-gradient(circle at 12% 14%, rgba(248, 210, 234, .22) 0%, transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(212, 240, 251, .22) 0%, transparent 38%),
    radial-gradient(rgba(8, 8, 8, .055) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}

[data-theme="dark"] body.wa-app {
  background-color: #000000;
  background-image:
    radial-gradient(circle at 14% 16%, rgba(248, 210, 234, .09) 0%, transparent 38%),
    radial-gradient(circle at 86% 18%, rgba(212, 240, 251, .08) 0%, transparent 40%),
    radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}

.wa-shell {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 18px auto 28px;
  background-color: var(--wa-surface);
  border: 1px solid var(--wa-shell-border);
  border-radius: 24px;
  overflow-x: clip;
  box-shadow: 0 22px 58px rgba(8, 8, 8, 0.08);
}

[data-theme="dark"] .wa-shell {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

/* Studio Top Navbar */
.wa-navbar {
  position: sticky;
  top: 0;
  z-index: 15;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--wa-ink);
  border-bottom: 1px solid var(--wa-border);
}

[data-theme="dark"] .wa-navbar {
  background-color: rgba(8, 8, 8, 0.95);
  border-bottom-color: var(--wa-border);
}

.wa-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.app-brand-link {
  display: inline-flex;
  text-decoration: none;
}

[data-theme="dark"] .wa-navbar .lp-brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-text {
  min-width: 0;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand h1 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--wa-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-studio-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background-color: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  color: var(--wa-muted);
  font-size: 11px;
  font-weight: 700;
}

.brand-sub {
  display: block;
  font-size: 12px;
  color: var(--wa-muted);
  line-height: 1.25;
}

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

.logout-form {
  display: flex;
  margin: 0;
}

.top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 12px;
  border: 1px solid var(--wa-border);
  background-color: var(--wa-surface);
  color: var(--wa-ink);
  font: 600 13px/1 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.top-btn:hover {
  background-color: var(--wa-surface-alt);
  transform: translate3d(0, -1px, 0);
}

.top-btn.top-plan {
  background-color: #080808;
  border-color: #080808;
  color: #ffffff;
}

.top-btn.top-plan:hover {
  background-color: #232323;
}

[data-theme="dark"] .top-btn.top-plan {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #080808;
}

[data-theme="dark"] .top-btn.top-plan:hover {
  background-color: #f8d2ea;
}

.app-plan-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: #f4a4c8;
  flex-shrink: 0;
}

/* Mobile / Tablet Segmented Tabs */
.wa-tabs {
  display: none;
  margin: 0 12px 10px;
  padding: 4px;
  border-radius: 999px;
  background-color: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  gap: 4px;
}

.wa-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wa-muted);
  font: 650 13px/1 inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.wa-tab.active {
  background-color: #080808;
  color: #ffffff;
}

[data-theme="dark"] .wa-tab.active {
  background-color: #ffffff;
  color: #080808;
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #f2cf66;
}

.tab-dot.ok {
  background-color: var(--wa-accent);
}

/* Studio Two-Pane Split */
.wa-layout {
  display: grid;
  grid-template-columns: 372px minmax(0, 1fr);
  min-height: 640px;
}

/* Left Sidebar */
.wa-side {
  display: flex;
  flex-direction: column;
  background-color: var(--wa-surface);
  border-right: 1px solid var(--wa-border);
  min-width: 0;
}

/* Deep-black Auth-style profile banner */
.pane-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  background-color: #080808;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pane-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pane-dots i {
  position: absolute;
  border-radius: 999px;
  opacity: 0.78;
}

.pane-dots .d1 { width: 10px; height: 10px; right: 16%; top: 10px; background: #f8d2ea; }
.pane-dots .d2 { width: 6px; height: 6px; right: 28%; bottom: 10px; background: #d4f0fb; }
.pane-dots .d3 { width: 14px; height: 14px; left: -6px; bottom: -5px; background: #cdebd7; }

.avatar {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #16181e;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  flex-shrink: 0;
  background-color: #080808;
  color: #ffffff;
}

[data-theme="dark"] .chat-avatar {
  background-color: #1c2029;
  border: 1px solid var(--wa-border);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  background-color: var(--wa-bar);
  border-bottom: 1px solid var(--wa-border);
  min-height: 66px;
}

.pane-head-info,
.chat-head-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.pane-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pane-sub {
  font-size: 12px;
  color: #b8bec9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-title {
  font-weight: 750;
  font-size: 15.5px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--wa-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-sub {
  font-size: 12.5px;
  color: var(--wa-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-format-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  color: var(--wa-muted);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

[data-theme="dark"] input::placeholder {
  color: #7c8494;
}

[data-theme="dark"] .toast {
  background-color: #ffffff;
  color: #080808;
}

/* Connection & saved targets cards inside sidebar */
.wa-conn-card,
.wa-targets-card {
  border: 0;
  border-bottom: 1px solid var(--wa-border);
  border-radius: 0;
  padding: 16px;
  background-color: var(--wa-surface);
}

.target-add-form {
  display: grid;
  gap: 8px;
}

.saved-targets {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.saved-target-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background-color: var(--wa-card-soft);
  border: 1px solid var(--wa-border);
  border-radius: var(--r-ctrl);
  min-width: 0;
}

.saved-target-info {
  flex: 1;
  min-width: 0;
}

.saved-target-name {
  font-weight: 650;
  font-size: 13px;
  color: var(--wa-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.saved-target-val {
  font-size: 12px;
  color: var(--wa-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kind-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: var(--wa-pill-bg);
  color: var(--wa-pill-ink);
  flex-shrink: 0;
}

.kind-pill.phone {
  background-color: var(--wa-pill-phone-bg);
  color: var(--wa-pill-phone-ink);
}

.del-target-btn {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid var(--wa-border);
  border-radius: 10px;
  background: var(--wa-surface);
  color: var(--wa-red);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.14s ease;
}

.del-target-btn:hover {
  background-color: var(--wa-red-bg);
}

.targets-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}

.send-targets-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 10px;
}

.target-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  min-height: 44px;
  background-color: var(--wa-card-soft);
  border: 1px solid var(--wa-border);
  border-radius: var(--r-ctrl);
  cursor: pointer;
  font-weight: 550;
  color: var(--wa-ink);
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.target-check:has(input:checked) {
  background-color: var(--wa-mint);
  border-color: var(--wa-ink);
}

.target-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #080808;
}

[data-theme="dark"] .target-check input[type="checkbox"] {
  accent-color: #cdebd7;
}

.target-check-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.target-check-name {
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-list-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--wa-head-soft);
  border-bottom: 1px solid var(--wa-border-soft);
}

.side-head h2 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wa-ink);
}

/* Right Main Studio Pane */
.wa-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--wa-head-soft);
  background-image: radial-gradient(rgba(8, 8, 8, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}

[data-theme="dark"] .wa-main {
  background-color: #07080b;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
}

.chat-stream {
  padding: 20px 22px 30px;
  display: grid;
  gap: 16px;
  align-content: start;
}

/* Studio Step Cards */
.bubble-card {
  position: relative;
  border-radius: var(--r-card);
  padding: 20px 22px 14px;
  border: 1px solid var(--wa-border);
  background-color: var(--wa-surface);
  box-shadow: 0 10px 28px rgba(8, 8, 8, 0.04);
  max-width: 100%;
  min-width: 0;
  contain: layout style;
}

[data-theme="dark"] .bubble-card {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.bubble-out {
  background-color: var(--wa-bubble-out);
  border-color: var(--wa-border);
}

.bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--wa-muted);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.card-head h2 {
  font-size: 16.5px;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.step {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: #f8d2ea;
  color: #6e1542;
  font-weight: 800;
  font-size: 12px;
}

.step.p { background-color: #f8d2ea; color: #6e1542; }
.step.b { background-color: #d4f0fb; color: #0c486e; }
.step.y { background-color: #f8e8a8; color: #634600; }
.step.m { background-color: #cdebd7; color: #0b4f32; }

.badge {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  color: #e4e7ec;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.badge.ok {
  background-color: #cdebd7;
  color: #0b4f32;
  border-color: #cdebd7;
}

.badge.warn {
  background-color: #f8e8a8;
  color: #634600;
  border-color: #f8e8a8;
}

.hint {
  margin: 0 0 10px;
  color: var(--wa-muted);
  font-size: 13px;
}

.note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--wa-muted);
  border-top: 1px solid var(--wa-border-soft);
  padding-top: 8px;
}

.status-msg {
  margin: 8px 0 0;
  color: var(--wa-green);
  font-weight: 600;
}

/* Linked state */
.linked-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  background-color: var(--wa-mint);
  border: 1px solid var(--wa-mint-border);
  border-radius: var(--r-ctrl);
}

.linked-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--wa-accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

/* Form controls (matching auth-body inputs) */
label {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--wa-muted);
}

input {
  width: 100%;
  min-height: 45px;
  padding: 10px 14px;
  border-radius: var(--r-ctrl);
  border: 1px solid var(--wa-border);
  background-color: var(--wa-surface-alt);
  color: var(--wa-ink);
  font: 15px/1.3 inherit;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

input:focus {
  outline: none;
  border-color: var(--wa-ink);
  background-color: var(--wa-surface);
  box-shadow: 0 0 0 3px rgba(8, 8, 8, 0.08);
}

[data-theme="dark"] input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

input:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.row > * {
  flex: 1;
}

.row input {
  flex: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 45px;
  border: 1px solid var(--wa-border);
  border-radius: var(--r-ctrl);
  padding: 10px 16px;
  font: 650 14px/1.2 inherit;
  cursor: pointer;
  color: var(--wa-ink);
  background-color: var(--wa-surface-alt);
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.btn:hover:not(:disabled) {
  background-color: var(--wa-hover);
  transform: translate3d(0, -1px, 0);
}

.btn:active:not(:disabled) {
  transform: scale(0.985);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.primary {
  background-color: #080808;
  border-color: #080808;
  color: #ffffff;
}

.btn.primary:hover:not(:disabled) {
  background-color: #232323;
}

[data-theme="dark"] .btn.primary {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #080808;
}

[data-theme="dark"] .btn.primary:hover:not(:disabled) {
  background-color: #f8d2ea;
  border-color: #f8d2ea;
}

.btn.ghost {
  background-color: var(--wa-surface);
  border-color: var(--wa-border);
  color: var(--wa-ink);
}

.btn.small {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 10px;
}

.btn.wide {
  width: 100%;
  margin-top: 10px;
  min-height: 48px;
}

/* Pairing code */
.code {
  font: 800 27px/1.1 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 3px;
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--r-ctrl);
  background-color: var(--wa-surface-alt);
  border: 1px dashed var(--wa-ink);
  color: var(--wa-code-ink);
  user-select: all;
}

.howto {
  padding-left: 18px;
  margin: 10px 0 6px;
  font-size: 13px;
}

.howto li {
  margin: 4px 0;
}

/* Upload & video editor */
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  border: 2px dashed var(--wa-border);
  border-radius: 16px;
  background-color: var(--wa-card-soft);
  cursor: pointer;
  color: var(--wa-ink);
  margin: 0;
  text-align: center;
  padding: 18px;
  word-break: break-word;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.drop:hover {
  border-color: var(--wa-ink);
  background-color: var(--wa-drop-hover);
}

.drop-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: #080808;
  color: #ffffff;
  margin-bottom: 2px;
}

[data-theme="dark"] .drop-ic {
  background-color: #ffffff;
  color: #080808;
}

.drop-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--wa-muted);
}

#editor {
  margin-top: 14px;
}

.crop-stage-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--wa-border);
}

.crop-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

video {
  display: block;
  max-width: 100%;
  max-height: 310px;
  width: auto;
  height: auto;
  background-color: #000000;
}

.crop-box {
  position: absolute;
  left: 0;
  top: 0;
  border: 2px solid #f8d2ea;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.56);
  cursor: move;
  touch-action: none;
}

.crop-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
}

.crop-handle {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 6px;
  background-color: #080808;
  cursor: nwse-resize;
  touch-action: none;
}

.crop-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  background-color: var(--wa-card-soft);
  border: 1px solid var(--wa-border);
  border-radius: var(--r-ctrl);
}

.crop-size-lbl {
  flex: 1;
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 13px;
  min-width: 0;
}

.crop-size-lbl input[type="range"] {
  min-height: 28px;
}

.range {
  margin-top: 12px;
  position: relative;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}

input[type="range"] {
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  accent-color: #080808;
}

[data-theme="dark"] input[type="range"] {
  accent-color: #f8d2ea;
}

.track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background-color: var(--wa-track);
  margin-top: -4px;
  overflow: hidden;
}

.sel {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: #080808;
  border-radius: 999px;
}

[data-theme="dark"] .sel {
  background-color: #f8d2ea;
}

.range-manual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.range-manual-lbl {
  font-size: 13px;
  color: var(--wa-muted);
  font-weight: 500;
}

.range-manual-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}

.range-input {
  width: 112px;
  min-height: 40px;
  padding: 6px 10px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--wa-border);
  background-color: var(--wa-surface);
  color: var(--wa-ink);
}

.range-step {
  min-height: 40px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .range-manual-ctrl {
    width: 100%;
  }
  .range-input {
    flex: 1;
    width: auto;
    min-width: 90px;
  }
}

.chips {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chips button {
  flex: 1;
  min-height: 44px;
  padding: 8px 0;
  border-radius: 12px;
  border: 1px solid var(--wa-border);
  background-color: var(--wa-surface);
  color: var(--wa-ink);
  font: 650 14px/1 inherit;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.chips button.on {
  background-color: #080808;
  border-color: #080808;
  color: #ffffff;
}

[data-theme="dark"] .chips button.on {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #080808;
}

.progress {
  position: relative;
  height: 38px;
  margin-top: 12px;
  border-radius: var(--r-ctrl);
  background-color: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  overflow: hidden;
}

.progress > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #080808, #2b2f3a);
  transition: width 0.2s;
}

[data-theme="dark"] .progress > div {
  background: linear-gradient(90deg, #f8d2ea, #d4f0fb);
}

.progress > div.pulse {
  animation: pulse 1.2s ease-in-out infinite;
}

.progress span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--wa-ink);
}

@keyframes pulse {
  50% {
    opacity: 0.65;
  }
}

/* Sticker preview */
.preview {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background-color: var(--wa-card-soft);
  background-image: radial-gradient(rgba(8, 8, 8, .05) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid var(--wa-border);
}

[data-theme="dark"] .preview {
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
}

.bubble {
  position: relative;
  width: 180px;
  height: 180px;
  padding: 10px;
  background-color: #080808;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(8, 8, 8, 0.16);
}

.bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spk {
  position: absolute;
  right: 8px;
  top: 8px;
  background-color: #f8d2ea;
  color: #6e1542;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 13px;
}

audio {
  width: 100%;
  height: 40px;
}

.channel-fields {
  margin-top: 8px;
}

/* Alerts & results */
.alert {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: var(--r-ctrl);
  font-size: 14px;
  border: 1px solid transparent;
}

.alert.ok {
  background-color: var(--wa-ok-bg);
  color: var(--wa-ok-ink);
  border-color: var(--wa-mint-border);
}

.alert.err {
  background-color: var(--wa-red-bg);
  color: var(--wa-red);
  border-color: #f4c7d0;
}

.send-lines {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
}

.send-lines > div {
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

/* History list */
.ticks {
  color: var(--wa-tick);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -2px;
}

.history {
  list-style: none;
  margin: 0;
  padding: 0 16px;
  max-width: 100%;
}

.history li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--wa-border-soft);
  font-size: 14px;
  min-width: 0;
}

.history li:last-child {
  border-bottom: 0;
}

.history li.history-empty {
  justify-content: center;
  padding: 20px 0;
}

.history li > span:first-child {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background-color: var(--wa-surface-alt);
  font-size: 14px;
}

.h-t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wa-ink);
  font-weight: 550;
}

.h-date {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  background-color: rgba(8, 8, 8, 0.58);
}

.modal {
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background-color: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(8, 8, 8, 0.25);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #080808;
  color: #ffffff;
}

.modal-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal form,
.modal-body-pad {
  padding: 18px 20px 20px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 120px);
  background-color: #080808;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 999px;
  transition: transform 0.2s;
  max-width: 90vw;
  z-index: 40;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(8, 8, 8, 0.25);
}

.toast.show {
  transform: translate(-50%, 0);
}

.toast.bad {
  background-color: #9f1239;
  color: #ffffff;
}

/* Base auth helpers (extended below for full-screen auth) */
body.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background-color: var(--wa-surface);
  border: 1px solid var(--wa-border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.auth-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: #080808;
  color: #ffffff;
}

.auth-head h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.auth-head .muted {
  margin: 2px 0 0;
  color: #b8bec9;
}

.auth-body {
  padding: 18px 20px 22px;
}

.tabs {
  display: flex;
  background-color: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 12px;
}

.tabs a {
  flex: 1;
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--wa-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.tabs a.active {
  background-color: #080808;
  color: #ffffff;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
  font-size: 14px;
  color: var(--wa-muted);
  cursor: pointer;
}

.remember-row input {
  width: auto;
  margin: 0;
  accent-color: #080808;
}

/* Mobile & Tablet: Studio tabbed layout */
@media (max-width: 899px) {
  .wa-shell {
    margin: 0;
    border: 0;
    border-radius: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: var(--wa-paper);
  }

  .wa-tabs {
    display: flex;
  }

  .wa-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
  }

  .wa-main,
  .wa-side {
    flex: 1;
  }

  .pane-head,
  .chat-head {
    display: none;
  }

  .wa-side {
    border-right: 0;
    background-color: transparent;
  }

  .wa-shell[data-tab="studio"] .wa-side {
    display: none;
  }

  .wa-shell[data-tab="targets"] .wa-main,
  .wa-shell[data-tab="targets"] #waCard,
  .wa-shell[data-tab="targets"] #historyPane {
    display: none;
  }

  .wa-shell[data-tab="connect"] .wa-main,
  .wa-shell[data-tab="connect"] #targetsCard,
  .wa-shell[data-tab="connect"] #historyPane {
    display: none;
  }

  .wa-shell[data-tab="history"] .wa-main,
  .wa-shell[data-tab="history"] #targetsCard,
  .wa-shell[data-tab="history"] #waCard {
    display: none;
  }

  .wa-conn-card,
  .wa-targets-card {
    margin: 12px;
    border: 1px solid var(--wa-border);
    border-radius: var(--r-card);
    background-color: var(--wa-surface);
  }

  .side-list-wrap {
    margin: 12px;
    border: 1px solid var(--wa-border);
    border-radius: var(--r-card);
    background-color: var(--wa-surface);
    overflow: hidden;
  }

  .chat-stream {
    padding: 12px 12px 24px;
    gap: 12px;
  }

  .bubble-card {
    padding: 16px 14px 12px;
  }

  video {
    max-height: 240px;
  }
}

@media (max-width: 600px) {
  .wa-nav-top {
    gap: 6px;
    padding: 10px 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand h1 {
    font-size: 15px;
  }

  .top-actions {
    gap: 4px;
  }

  .top-home {
    display: none;
  }

  .app-studio-tag {
    display: none;
  }

  .wa-tab {
    font-size: 12px;
    padding: 0 4px;
    white-space: nowrap;
  }

  .top-btn:not(.top-plan) span {
    display: none;
  }

  .top-btn:not(.top-plan) {
    padding: 5px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 10px;
    justify-content: center;
  }

  .top-btn.top-plan {
    padding: 5px 8px;
    min-height: 32px;
    border-radius: 10px;
    font-size: 11px;
  }

  .row {
    flex-direction: column;
  }

  .row > *,
  .row input {
    flex: none;
    width: 100%;
  }

  .linked-box {
    flex-direction: column;
    align-items: stretch;
  }

  .linked-box .btn {
    width: 100%;
  }

  .code {
    font-size: clamp(20px, 6vw, 26px);
    letter-spacing: 2px;
    white-space: nowrap;
  }

  .history li {
    flex-wrap: wrap;
  }

  .h-t {
    flex-basis: calc(100% - 44px);
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .h-date {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .top-home {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.modal-wide {
  max-width: 760px;
  width: min(94vw, 760px);
  max-height: 90vh;
  overflow-y: auto;
}

.plans-usage {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--wa-card-soft);
  border: 1px solid var(--wa-border);
  margin-bottom: 14px;
}

.plans-interval {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  gap: 4px;
  margin-bottom: 14px;
}

.plans-interval .btn {
  border-radius: 999px;
  border-color: transparent;
}

.plans-interval .btn.ghost {
  background: transparent;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--wa-border);
  background: var(--wa-card-soft);
}

.plan-card.active {
  border-color: var(--wa-ink);
  box-shadow: 0 0 0 1px var(--wa-ink);
}

.plan-name {
  font-weight: 750;
  font-size: 16px;
}

.plan-price {
  font-weight: 800;
  font-size: 19px;
  color: var(--wa-ink);
}

.plan-limits {
  font-size: 12.5px;
  font-weight: 650;
}

/* ---------- Landing & AdSense Policy Pages (Auth monochrome + pastel studio system) ---------- */
html.lp-html,
body.lp-body {
  margin: 0;
  padding: 0;
  background: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  line-height: 1.55;
  overflow-x: hidden;
}

.lp-wrap {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #eceef1;
}

.lp-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #080808;
  text-decoration: none;
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -.015em;
}

.lp-brand-dot {
  color: #e88fb5;
}

.lp-brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 8px;
  background: #080808;
  transform: rotate(45deg);
  flex: none;
}

.lp-brand-mark.sm {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
}

.lp-brand-mark i {
  display: block;
  border-radius: 999px;
}

.lp-brand-mark .m1 { background: #f8d2ea; }
.lp-brand-mark .m2 { background: #d4f0fb; }
.lp-brand-mark .m3 { background: #f8e8a8; }
.lp-brand-mark .m4 { background: #cdebd7; }

.lp-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-nav a {
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #525866;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.lp-nav a:hover {
  color: #080808;
  background: #f5f6f8;
}

.lp-nav a.is-active {
  color: #080808;
  background: #ffffff;
  border-color: #e2e5ea;
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(8, 8, 8, .04);
}

.lp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-btn-link {
  padding: 8px 12px;
  color: #111111;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 10px;
  transition: background-color .15s ease;
}

.lp-btn-link:hover {
  background: #f2f3f5;
}

.lp-btn-dark,
.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.lp-btn-dark {
  background: #080808;
  color: #ffffff;
  border: 1px solid #080808;
}

.lp-btn-dark:hover {
  background: #232323;
  transform: translate3d(0, -1px, 0);
}

.lp-btn-outline {
  background: #ffffff;
  color: #080808;
  border: 1px solid #d5d9e0;
}

.lp-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e2e5ea;
  border-radius: 11px;
  background: #ffffff;
  color: #080808;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lp-mobile-drawer {
  border-top: 1px solid #eceef1;
  background: #ffffff;
  padding: 12px 0 18px;
}

.lp-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-mobile-links > a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #111111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
}

.lp-mobile-links > a:hover {
  background: #f5f6f8;
}

.lp-mobile-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #eceef1;
}

/* Hero Stage matching reference composition */
.lp-hero {
  padding: 20px 0 14px;
}

.lp-hero-stage {
  position: relative;
  overflow: hidden;
  padding: 62px 24px 0;
  border: 1px solid #e9ecf0;
  border-radius: 28px;
  background-color: #f5f6f8;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(248, 210, 234, .28) 0%, transparent 38%),
    radial-gradient(circle at 84% 24%, rgba(212, 240, 251, .30) 0%, transparent 40%),
    radial-gradient(rgba(8, 8, 8, .06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  text-align: center;
  contain: layout style;
}

.lp-float-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-float-tile {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid #e5e8ee;
  background: #ffffff;
  color: #111111;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(8, 8, 8, .06);
  animation: lp-tile-bob 6.6s ease-in-out infinite;
}

.lp-tile-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.lp-tile-dot.p { background: #f4a4c8; }
.lp-tile-dot.b { background: #8dcbf5; }
.lp-tile-dot.y { background: #f2cf66; }
.lp-tile-dot.m { background: #8ed6a8; }

.lp-float-tile.t1 { left: 6%; top: 14%; --r: -8deg; animation-delay: -0.6s; }
.lp-float-tile.t2 { left: 11%; top: 43%; --r: 7deg; animation-delay: -2.1s; }
.lp-float-tile.t3 { left: 4.5%; top: 68%; --r: -6deg; animation-delay: -3.8s; }
.lp-float-tile.t4 { right: 6%; top: 15%; --r: 8deg; animation-delay: -1.3s; }
.lp-float-tile.t5 { right: 11%; top: 43%; --r: -7deg; animation-delay: -4.2s; }
.lp-float-tile.t6 { right: 5%; top: 69%; --r: 6deg; animation-delay: -2.9s; }

.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
  animation: lp-fade-up .5s cubic-bezier(.22, 1, .36, 1) both;
}

.lp-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #e2e5ea;
  border-radius: 999px;
  background: #ffffff;
  color: #363c48;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(8, 8, 8, .04);
}

.lp-eyebrow-pill .p-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f4a4c8;
}

.lp-hero-inner h1 {
  margin: 0 0 16px;
  color: #080808;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.07;
  letter-spacing: -.035em;
}

.lp-h1-soft {
  display: block;
  font-weight: 600;
  font-family: var(--font-ui, "Nunito", system-ui, sans-serif);
  color: #1e2128;
  letter-spacing: -.02em;
}

.lp-h1-bold {
  display: block;
  font-weight: 800;
  color: #080808;
}

.lp-hero-lead {
  max-width: 600px;
  margin: 0 auto 28px;
  color: #525866;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.lp-cta-primary,
.lp-cta-secondary,
.lp-cta-light,
.lp-cta-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 196px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.lp-cta-primary {
  background: #080808;
  color: #ffffff;
  border: 1px solid #080808;
  box-shadow: 0 10px 24px rgba(8, 8, 8, .14);
}

.lp-cta-primary:hover {
  background: #222222;
  transform: translate3d(0, -2px, 0);
}

.lp-cta-secondary {
  background: #ffffff;
  color: #080808;
  border: 1px solid #1e2128;
}

.lp-cta-secondary:hover {
  background: #f5f6f8;
  transform: translate3d(0, -2px, 0);
}

.lp-hero-meta {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

/* Browser Mockup inside Hero */
.lp-browser-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  margin: 42px auto 0;
  animation: lp-fade-up .6s cubic-bezier(.22, 1, .36, 1) .10s both;
}

.lp-browser {
  border-radius: 20px 20px 0 0;
  border: 1px solid #1e2024;
  border-bottom: 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 8, 8, .16);
  text-align: left;
}

.lp-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: #080808;
  color: #ffffff;
}

.lp-traffic {
  display: inline-flex;
  gap: 6px;
}

.lp-traffic i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.lp-traffic .c1 { background: #f8b4c8; }
.lp-traffic .c2 { background: #fbe18d; }
.lp-traffic .c3 { background: #cdebd7; }

.lp-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .10);
  color: #e4e7ec;
  font-size: 12px;
  font-weight: 500;
}

.lp-bar-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #f8d2ea;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.lp-browser-app {
  display: grid;
  grid-template-columns: 158px 1.25fr 0.95fr;
  gap: 14px;
  padding: 16px;
  background: #f7f8fa;
}

.lp-mock-side {
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #eceef2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-mock-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 750;
  color: #080808;
}

.lp-mock-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-mock-nav span {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 550;
  color: #646b78;
}

.lp-mock-nav span.is-on {
  background: #080808;
  color: #ffffff;
}

.lp-mock-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-mock-greet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.lp-mock-greet strong {
  font-size: 14px;
  color: #080808;
}

.lp-mock-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #cdebd7;
  color: #0d5c3b;
  font-size: 11px;
  font-weight: 650;
}

.lp-mock-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #eceef2;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-mock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #080808;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f3f6;
}

.lp-mock-link {
  color: #6b7280;
  font-weight: 600;
}

.lp-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8f9fb;
}

.lp-mock-row b {
  display: block;
  font-size: 12.5px;
  color: #111111;
}

.lp-mock-row span {
  display: block;
  font-size: 11px;
  color: #6b7280;
}

.lp-mock-tag {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
}

.lp-mock-tag.dark { background: #080808; color: #ffffff; }
.lp-mock-tag.soft { background: #eceef2; color: #363c48; }
.lp-mock-tag.pink { background: #f8d2ea; color: #7a1d4d; }
.lp-mock-tag.blue { background: #d4f0fb; color: #0f4c75; }

.lp-mock-right {
  display: flex;
  flex-direction: column;
}

.lp-mock-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #0d5c3b;
}

.lp-mock-status i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.lp-mock-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.lp-mock-profile img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #080808;
  object-fit: cover;
}

.lp-mock-profile b {
  display: block;
  font-size: 13px;
  color: #080808;
}

.lp-mock-profile span {
  display: block;
  font-size: 11.5px;
  color: #6b7280;
}

.lp-mock-meter > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #525866;
  margin-bottom: 5px;
}

.lp-meter-track {
  height: 7px;
  border-radius: 999px;
  background: #eceef2;
  overflow: hidden;
}

.lp-meter-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #080808;
}

.lp-mock-kv {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #525866;
  padding-top: 6px;
  border-top: 1px solid #f1f3f6;
}

.lp-mock-kv b {
  color: #080808;
}

/* Sections & Scroll Reveal */
.lp-section {
  padding: 64px 0;
}

.lp-section-soft {
  background: #f7f8fa;
  border-top: 1px solid #eceef1;
  border-bottom: 1px solid #eceef1;
}

.lp-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1);
}

.lp-reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.lp-sec-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.lp-sec-num {
  display: inline-block;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: .08em;
}

.lp-sec-head h2 {
  margin: 0 0 8px;
  color: #080808;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 750;
}

.lp-sec-head p {
  margin: 0;
  color: #525866;
  font-size: 15.5px;
}

/* Dark Studio Showcase Band (Auth aesthetic continuity) */
.lp-dark-band {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: #000000;
  color: #ffffff;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.lp-dark-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-dark-confetti .d {
  position: absolute;
  border-radius: 999px;
}

.lp-dark-confetti .d1 { width: 20px; height: 20px; left: 3%; top: 16%; background: #f8d2ea; opacity: .88; }
.lp-dark-confetti .d2 { width: 24px; height: 24px; right: 4%; top: 18%; background: #cdebd7; opacity: .88; }
.lp-dark-confetti .d3 { width: 8px; height: 8px; left: 42%; bottom: 14%; background: #f8e8a8; opacity: .85; }
.lp-dark-confetti .d4 { width: 16px; height: 16px; right: 8%; bottom: 15%; background: #d4f0fb; opacity: .88; }

.lp-dark-visual {
  display: flex;
  justify-content: center;
}

.lp-dark-stage {
  position: relative;
  width: min(100%, 260px);
  animation: auth-float 5.6s ease-in-out infinite;
}

.lp-dark-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-dark-pill {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate3d(-50%, -50%, 0) rotate(-6deg);
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .36);
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .10));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
}

.lp-dark-copy {
  position: relative;
  z-index: 2;
}

.lp-dark-kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  color: #f8d2ea;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}

.lp-dark-copy h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.lp-dark-copy p {
  margin: 0 0 22px;
  color: #c7ccd4;
  font-size: 15px;
  line-height: 1.6;
}

.lp-spec-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lp-spec {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
}

.lp-spec b {
  display: block;
  color: #ffffff;
  font-size: 16px;
}

.lp-spec span {
  display: block;
  color: #aeb5c0;
  font-size: 12px;
}

/* Cards, Steps, Features */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.lp-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid #e7eaef;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.lp-card:hover {
  transform: translate3d(0, -2px, 0);
  border-color: #d0d5dd;
  box-shadow: 0 12px 28px rgba(8, 8, 8, .05);
}

.lp-card h3 {
  margin: 0;
  color: #080808;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.015em;
}

.lp-card p {
  margin: 0;
  color: #525866;
  font-size: 14px;
  line-height: 1.55;
}

.lp-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #080808;
}

.lp-step-badge.p, .lp-feat-ic.p { background: #f8d2ea; color: #6e1542; }
.lp-step-badge.b, .lp-feat-ic.b { background: #d4f0fb; color: #0c486e; }
.lp-step-badge.y, .lp-feat-ic.y { background: #f8e8a8; color: #634600; }
.lp-step-badge.m, .lp-feat-ic.m { background: #cdebd7; color: #0b4f32; }

.lp-feat-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

/* Pricing Catalog (PDF-exact) */
.lp-price-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lp-interval-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #f2f3f5;
  border: 1px solid #e7eaef;
  gap: 4px;
}

.lp-int-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #525866;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}

.lp-int-btn.is-active {
  background: #080808;
  color: #ffffff;
}

.lp-save-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #cdebd7;
  color: #0b4f32;
  font-size: 11px;
  font-weight: 700;
}

.lp-plan-group {
  margin-top: 28px;
}

.lp-group-title {
  margin-bottom: 14px;
}

.lp-group-title span {
  display: inline-block;
  font-size: 13px;
  font-weight: 750;
  color: #080808;
  letter-spacing: .02em;
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lp-price-card {
  padding: 24px;
  border-radius: 20px;
}

.lp-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
}

.lp-plan-kicker {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6b7280;
}

.lp-plan-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: #cdebd7;
  color: #0b4f32;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.lp-plan-save {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f8e8a8;
  color: #634600;
  font-size: 11px;
  font-weight: 750;
}

.lp-plan-save.is-hidden {
  display: none;
}

.lp-price-card h3 {
  font-size: 20px;
  font-weight: 750;
}

.lp-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 6px;
}

.lp-plan-price .amt {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #080808;
  font-variant-numeric: tabular-nums;
}

.lp-plan-price .per {
  font-size: 13.5px;
  color: #6b7280;
}

.lp-plan-list {
  list-style: none;
  margin: 6px 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.lp-plan-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-plan-list li::before {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}

.lp-plan-list li.ok::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  background: #cdebd7;
  color: #0b4f32;
}

.lp-plan-list li.no {
  color: #8b92a0;
}

.lp-plan-list li.no::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b92a0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  background: #f2f3f5;
  color: #8b92a0;
}

.lp-plan-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}

.lp-plan-btn.dark {
  background: #080808;
  color: #ffffff;
}

.lp-plan-btn.dark:hover {
  background: #222222;
}

.lp-plan-btn.ghost {
  background: #f2f3f5;
  color: #080808;
}

.lp-plan-btn.ghost:hover {
  background: #e5e8ed;
}

.lp-plan-btn.light {
  background: #ffffff;
  color: #080808;
}

.lp-plan-btn.light:hover {
  background: #f8d2ea;
}

.lp-price-card.is-featured {
  background: #080808;
  border-color: #080808;
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(8, 8, 8, .18);
}

.lp-price-card.is-featured h3,
.lp-price-card.is-featured .lp-plan-price .amt {
  color: #ffffff;
}

.lp-price-card.is-featured .lp-plan-kicker,
.lp-price-card.is-featured .lp-plan-price .per {
  color: #b8bec9;
}

/* Annual table + Why Creator Pro */
.lp-annual-box {
  margin-top: 32px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #e7eaef;
  background: #f8f9fb;
}

.lp-annual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lp-annual-head .lp-group-title {
  margin-bottom: 0;
}

.lp-annual-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: #080808;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.lp-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #e7eaef;
  background: #ffffff;
}

.lp-annual-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.lp-annual-table th,
.lp-annual-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f2f5;
}

.lp-annual-table th {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
  background: #fafafa;
}

.lp-annual-table tr:last-child td {
  border-bottom: 0;
}

.lp-annual-table tr.is-pro {
  background: #fdf6fa;
}

.lp-tbl-save {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: #cdebd7;
  color: #0b4f32;
  font-size: 12px;
  font-weight: 750;
}

.lp-why-pro {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #e7eaef;
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.lp-why-pro strong {
  color: #080808;
}

.lp-why-pro span {
  color: #525866;
}

.lp-pricing-footnote {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #6b7280;
}

/* FAQ */
.lp-faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.lp-faq details {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #e7eaef;
  background: #ffffff;
}

.lp-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 15px;
  color: #080808;
}

.lp-faq details p {
  margin: 10px 0 0;
  color: #525866;
  font-size: 14px;
  line-height: 1.55;
}

/* Bottom Dark CTA */
.lp-bottom-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px) 24px;
  border-radius: 30px;
  background: #000000;
  color: #ffffff;
  text-align: center;
}

.lp-bottom-cta h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -.03em;
}

.lp-bottom-cta p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto 24px;
  color: #c2c7d0;
  font-size: 15px;
}

.lp-bottom-cta .lp-hero-cta {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.lp-cta-light {
  background: #ffffff;
  color: #080808;
}

.lp-cta-light:hover {
  background: #f8d2ea;
  transform: translate3d(0, -2px, 0);
}

.lp-cta-dark-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .28);
}

.lp-cta-dark-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

/* Legal / Info pages */
.lp-doc {
  max-width: 780px;
}

.lp-pay-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 0 36px;
}

.lp-pay-card {
  width: min(100%, 480px);
  padding: 34px 28px;
  border-radius: 24px;
  border: 1px solid #e7eaef;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 18px 42px rgba(8, 8, 8, .06);
}

.lp-pay-card h1 {
  margin: 0 0 10px;
  color: #080808;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.03em;
}

.lp-pay-msg {
  margin: 0 0 24px;
  color: #525866;
  font-size: 15px;
  line-height: 1.55;
}

.lp-pay-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 16px;
}

.lp-pay-icon.ok {
  background: #cdebd7;
  color: #0b4f32;
}

.lp-pay-icon.warn {
  background: #f8d2ea;
  color: #7a1d4d;
}

.lp-pay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lp-doc h1 {
  margin-top: 0;
  color: #080808;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.03em;
}

.lp-doc h2 {
  margin-top: 26px;
  font-size: 19px;
  color: #080808;
}

.lp-doc p,
.lp-doc li {
  color: #3e4451;
}

/* Footer */
.lp-footer {
  padding: 46px 0 28px;
  border-top: 1px solid #eceef1;
  background: #ffffff;
}

.lp-footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1.45fr;
  gap: 36px;
  align-items: start;
}

.lp-footer-desc {
  margin: 12px 0 8px;
  color: #525866;
  font-size: 14px;
  max-width: 380px;
}

.lp-footer-note {
  margin: 0;
  color: #7c8494;
  font-size: 12.5px;
  max-width: 380px;
}

.lp-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer-col h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 750;
  color: #080808;
}

.lp-footer-col a {
  color: #525866;
  text-decoration: none;
  font-size: 13.5px;
}

.lp-footer-col a:hover {
  color: #080808;
}

.lp-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #eceef1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: 13px;
}

.lp-footer-bottom a {
  color: #080808;
  font-weight: 600;
  text-decoration: none;
}

body.lp-paused .lp-float-tile,
body.lp-paused .lp-dark-stage {
  animation-play-state: paused !important;
}

@keyframes lp-tile-bob {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(var(--r, 0deg));
  }
}

@keyframes lp-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  .lp-pricing-grid {
    grid-template-columns: 1fr;
  }

  .lp-browser-app {
    grid-template-columns: 1fr;
  }

  .lp-mock-side,
  .lp-mock-right {
    display: none;
  }

  .lp-dark-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lp-spec-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .lp-nav,
  .lp-btn-link {
    display: none;
  }

  .lp-menu-toggle {
    display: inline-flex;
  }

  .lp-float-field {
    display: none;
  }

  .lp-hero-stage {
    padding: 36px 18px 0;
    border-radius: 20px;
  }

  .lp-footer-top {
    grid-template-columns: 1fr;
  }

  .lp-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .lp-bar-badge {
    display: none;
  }

  .lp-cta-primary,
  .lp-cta-secondary,
  .lp-cta-light,
  .lp-cta-dark-outline {
    width: 100%;
  }

  .lp-browser-wrap {
    margin-top: 28px;
  }

  .lp-footer-cols {
    grid-template-columns: 1fr;
  }
}

/* Character-led sign-in inspired by image.png: deep black canvas + pastel 3D clay avatars + frosted pill + white rounded sheet + bottom wave CTA (mobile) & balanced full-screen split studio (desktop), GPU-composited animations. */
html.auth-html {
  background: #000 !important;
  background-image: none !important;
  overflow-x: hidden;
}

body.auth {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  display: block;
  background: #000 !important;
  background-image: none !important;
  color: #111 !important;
  overflow-x: hidden;
}

body.auth .auth-card {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.auth-hero {
  position: relative;
  overflow: hidden;
  contain: layout style;
  padding: max(16px, env(safe-area-inset-top)) 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #000;
  color: #fff;
}

.auth-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  contain: strict;
}

.auth-confetti .dot {
  position: absolute;
  border-radius: 999px;
  animation: auth-dot-drift 7.5s ease-in-out infinite;
}

.auth-confetti .d1 { width: 22px; height: 22px; left: -10px; top: 22%; background: #f8d2ea; opacity: .9; animation-duration: 7.2s; animation-delay: -1.4s; }
.auth-confetti .d2 { width: 28px; height: 28px; right: -10px; top: 18%; background: #cdebd7; opacity: .9; animation-duration: 8.6s; animation-delay: -3.2s; }
.auth-confetti .d3 { width: 8px; height: 8px; right: 16%; top: 29%; background: #f8e8a8; opacity: .85; animation-duration: 6.4s; animation-delay: -0.8s; }
.auth-confetti .d4 { width: 9px; height: 9px; left: 12%; top: 52%; background: #ffffff; opacity: .85; animation-duration: 7.8s; animation-delay: -4.1s; }
.auth-confetti .d5 { width: 24px; height: 24px; left: -12px; bottom: 26%; background: #d4f0fb; opacity: .9; animation-duration: 9.1s; animation-delay: -2.5s; }
.auth-confetti .d6 { width: 7px; height: 7px; right: 13%; bottom: 24%; background: #f9e49e; opacity: .85; animation-duration: 6.8s; animation-delay: -5.0s; }

.auth-hero-top {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: auth-fade-up .45s cubic-bezier(.22, 1, .36, 1) both;
}

.auth-brand {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .01em;
  transition: opacity .16s ease;
}

.auth-brand:hover {
  opacity: .85;
}

.auth-brand-dot { color: #f8c6d8; }

.auth-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #e4e4e4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.auth-hero-main {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-avatar-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 196px;
  max-width: 100%;
  margin: 8px auto 10px;
  isolation: isolate;
  animation: auth-fade-up .55s cubic-bezier(.22, 1, .36, 1) .04s both, auth-float 5.6s ease-in-out .6s infinite;
}

.auth-stage-glow {
  position: absolute;
  inset: -32%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 48%, rgba(248, 210, 234, .12) 0%, rgba(159, 212, 255, .07) 36%, rgba(0, 0, 0, 0) 66%);
}

.auth-avatar-stage picture {
  display: block;
  width: 100%;
}

.auth-characters {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.auth-glass-pill {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate3d(-50%, -50%, 0) rotate(-6deg);
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .10));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  animation: auth-pill-sway 4.6s ease-in-out infinite;
}

.auth-hero h1 {
  max-width: 320px;
  margin: 2px 0 6px;
  color: #fff;
  font-size: clamp(24px, 6vw, 31px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 750;
  animation: auth-fade-up .5s cubic-bezier(.22, 1, .36, 1) .10s both;
}

.auth-hero p {
  max-width: 300px;
  margin: 2px 0 0;
  color: #b8b8b8;
  font-size: 13.5px;
  line-height: 1.45;
  animation: auth-fade-up .5s cubic-bezier(.22, 1, .36, 1) .15s both;
}

.auth-highlights {
  position: relative;
  z-index: 2;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
  animation: auth-fade-up .55s cubic-bezier(.22, 1, .36, 1) .20s both;
}

.auth-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #ebebeb;
  font-size: 12.5px;
  font-weight: 550;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.auth-highlights li:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .09);
}

.auth-highlights .h-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: none;
}

.auth-highlights .h-dot.p { background: #f8b4c8; }
.auth-highlights .h-dot.b { background: #9fd4ff; }
.auth-highlights .h-dot.y { background: #fbe18d; }

.auth-body {
  position: relative;
  z-index: 3;
  flex: 1 0 auto;
  margin-top: -18px;
  padding: 20px 22px 0;
  border-radius: 34px 34px 0 0;
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: auth-sheet-in .48s cubic-bezier(.22, 1, .36, 1) both;
}

.auth-form-wrap {
  width: min(100%, 420px);
  flex: 1 0 auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.auth-switch-prompt {
  text-align: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.auth-switch-prompt a {
  color: #111;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: opacity .15s ease;
}

.auth-switch-prompt a:hover {
  opacity: .72;
}

.auth-form-head {
  display: none;
  margin-bottom: 18px;
}

.auth-form-head h2 {
  margin: 0 0 4px;
  color: #080808;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 750;
}

.auth-form-head p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.auth-card .tabs {
  display: none;
  margin: 0 0 18px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: #f2f3f5;
}

.auth-card .tabs a {
  min-height: 42px;
  border-radius: 999px;
  color: #555;
  font-size: 14px;
  transition: background-color .18s ease, color .18s ease, transform .14s ease;
}

.auth-card .tabs a:active {
  transform: scale(.98);
}

.auth-card .tabs a.active {
  background: #080808;
  color: #fff;
}

.auth-form {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.auth-body label:not(.remember-row) {
  gap: 6px;
  margin: 7px 0;
  color: #252525;
  font-size: 13px;
}

.auth-label-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  font-weight: 600;
}

.auth-label-hint {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.auth-body input:not([type="checkbox"]) {
  width: 100%;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid #e7eaee;
  border-radius: 14px;
  background: #f2f3f5;
  color: #111;
  font-size: 15px;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.auth-body input:not([type="checkbox"]):hover {
  border-color: #d0d5dd;
}

.auth-body input:not([type="checkbox"]):focus {
  border-color: #111;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .09);
}

.input-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-pass-wrap input {
  padding-right: 46px !important;
}

.pass-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease, transform .12s ease;
}

.pass-toggle:hover,
.pass-toggle.is-visible {
  color: #111;
  background: rgba(0, 0, 0, .05);
}

.pass-toggle:active {
  transform: translate3d(0, -50%, 0) scale(.92);
}

.auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}

.auth-body .remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #555;
  font-size: 13px;
}

.auth-body .remember-row input {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: #080808;
}

.auth-home-inline {
  color: #111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s ease;
}

.auth-home-inline:hover {
  opacity: .7;
}

.auth-submit-dock {
  position: relative;
  margin: auto -22px 0;
  padding-top: 14px;
  min-height: 86px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(to top, #000 10px, transparent 10px);
}

.auth-wave-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 86px;
  display: block;
  pointer-events: none;
}

.auth-card .auth-submit {
  position: relative;
  z-index: 2;
  width: auto;
  min-width: 210px;
  min-height: 54px;
  padding: 10px 32px calc(10px + env(safe-area-inset-bottom));
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .16s ease, opacity .16s ease, background-color .16s ease;
}

.auth-card .auth-submit:hover:not(:disabled) {
  background: transparent;
  opacity: .9;
}

.auth-card .auth-submit:active:not(:disabled) {
  transform: scale(.97);
}

.auth-card .auth-submit.is-loading::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin .65s linear infinite;
}

.auth-card .alert.err {
  border-color: #f4c7d0;
  border-radius: 12px;
  background: #fff3f5;
  color: #9f1239;
  animation: auth-shake .36s cubic-bezier(.36, .07, .19, .97) both;
}

.auth-card .alert.ok {
  border-color: #b7e3c7;
  border-radius: 12px;
  background: #effaf3;
  color: #0b5e36;
}

.auth-otp-info {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e7eaee;
  background: #f6f7f9;
  margin-bottom: 12px;
  font-size: 13px;
  color: #525866;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-otp-info b {
  color: #080808;
  word-break: break-all;
}

.auth-otp-input {
  text-align: center;
  font-size: 24px !important;
  font-weight: 800;
  letter-spacing: 8px;
  font-variant-numeric: tabular-nums;
}

.auth-otp-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}

.auth-resend-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: #080808;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-resend-btn:hover {
  opacity: .72;
}

.auth-otp-back {
  color: #525866;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.auth-otp-back:hover {
  color: #080808;
}

.auth-back {
  display: none;
  margin: 16px 0 0;
  font-size: 13px;
  text-align: center;
}

.auth-back a {
  color: #555;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s ease;
}

.auth-back a:hover {
  color: #080808;
}

body.auth-paused *,
body.auth-paused *::before,
body.auth-paused *::after {
  animation-play-state: paused !important;
}

@keyframes auth-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes auth-sheet-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes auth-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes auth-pill-sway {
  0%, 100% {
    transform: translate3d(-50%, -50%, 0) rotate(-6deg);
  }
  50% {
    transform: translate3d(-50%, -54%, 0) rotate(-3.5deg);
  }
}

@keyframes auth-dot-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4px, -7px, 0) scale(1.06);
  }
}

@keyframes auth-shake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20%, 60% { transform: translate3d(-5px, 0, 0); }
  40%, 80% { transform: translate3d(5px, 0, 0); }
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .auth-hero { padding: max(14px, env(safe-area-inset-top)) 18px 30px; }
  .auth-avatar-stage { width: 185px; }
  .auth-body { padding: 18px 18px 0; border-radius: 30px 30px 0 0; }
  .auth-submit-dock { margin-left: -18px; margin-right: -18px; }
}

@media (max-height: 700px) and (max-width: 899px) {
  .auth-hero { padding-top: 10px; padding-bottom: 24px; }
  .auth-avatar-stage { width: 158px; margin: 4px auto 6px; }
  .auth-body { padding-top: 16px; }
  .auth-body label:not(.remember-row) { margin: 5px 0; }
}

@media (min-width: 900px) {
  html.auth-html,
  body.auth {
    background: #fff !important;
  }

  body.auth .auth-card {
    display: grid;
    grid-template-columns: minmax(420px, 0.96fr) minmax(440px, 1.04fr);
    background: #fff;
  }

  .auth-hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 34px clamp(34px, 4vw, 56px);
    border-radius: 0 40px 40px 0;
    align-items: center;
    justify-content: space-between;
    text-align: center;
  }

  .auth-confetti .d1 { left: 6%; top: 18%; width: 26px; height: 26px; }
  .auth-confetti .d2 { right: 8%; top: 14%; width: 32px; height: 32px; }
  .auth-confetti .d5 { left: 8%; bottom: 18%; }

  .auth-brand {
    font-size: 18px;
  }

  .auth-hero-main {
    align-items: center;
    text-align: center;
    max-width: 460px;
    margin: auto 0;
    padding: 16px 0;
  }

  .auth-avatar-stage {
    width: min(100%, 300px);
    margin: 0 auto 24px;
  }

  .auth-glass-pill {
    font-size: 16px;
    padding: 8px 21px;
  }

  .auth-hero h1 {
    max-width: 440px;
    margin: 0 0 10px;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.08;
  }

  .auth-hero p {
    max-width: 390px;
    font-size: 15px;
    line-height: 1.55;
  }

  .auth-highlights {
    display: flex;
    justify-content: center;
  }

  .auth-body {
    margin-top: 0;
    padding: 40px clamp(32px, 5vw, 72px);
    border-radius: 0;
    justify-content: center;
    animation: none;
  }

  .auth-form-wrap {
    width: min(100%, 400px);
    flex: 0 1 auto;
    min-height: 0;
    animation: auth-fade-up .48s cubic-bezier(.22, 1, .36, 1) .06s both;
  }

  .auth-switch-prompt {
    display: none;
  }

  .auth-form-head {
    display: block;
  }

  .auth-card .tabs {
    display: flex;
  }

  .auth-home-inline {
    display: none;
  }

  .auth-body label:not(.remember-row) {
    margin: 9px 0;
  }

  .auth-body input:not([type="checkbox"]) {
    min-height: 48px;
  }

  .auth-submit-dock {
    margin: 12px 0 0;
    padding-top: 0;
    min-height: 0;
    background: none;
  }

  .auth-wave-bg {
    display: none;
  }

  .auth-card .auth-submit {
    width: 100%;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid #080808;
    background: #080808;
    color: #fff;
  }

  .auth-card .auth-submit:hover:not(:disabled) {
    background: #232323;
    opacity: 1;
    transform: translate3d(0, -1px, 0);
  }

  .auth-card .auth-submit:active:not(:disabled) {
    transform: translate3d(0, 0, 0) scale(.985);
  }

  .auth-back {
    display: block;
  }
}

/* ---------- Level-by-Level Onboarding & Animated Tutorial Windows ---------- */
.wa-shell[data-level="1"] .wa-tabs,
.wa-shell[data-level="2"] .wa-tabs {
  display: none !important;
}

.top-btn.top-guide {
  background-color: var(--wa-surface-alt);
}

.ob-stage {
  display: flex;
  flex-direction: column;
}

.ob-header {
  position: relative;
  overflow: hidden;
  padding: 20px 24px;
  background-color: #080808;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ob-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ob-dots i {
  position: absolute;
  border-radius: 999px;
  opacity: 0.78;
}

.ob-dots .d1 { width: 16px; height: 16px; left: -6px; top: 18%; background: #f8d2ea; }
.ob-dots .d2 { width: 10px; height: 10px; right: 18%; top: 14px; background: #d4f0fb; }
.ob-dots .d3 { width: 22px; height: 22px; right: -8px; bottom: -6px; background: #cdebd7; }
.ob-dots .d4 { width: 7px; height: 7px; left: 42%; bottom: 12px; background: #f8e8a8; }

.ob-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ob-user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ob-eyebrow {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f8d2ea;
}

.ob-header-title {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.ob-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ob-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #b8bec9;
  font: 650 12.5px/1 inherit;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ob-step-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.ob-step.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #080808;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.ob-step.is-active .ob-step-num {
  background: #080808;
  color: #f8d2ea;
}

.ob-step.is-done {
  background: rgba(205, 235, 215, 0.16);
  border-color: rgba(205, 235, 215, 0.45);
  color: #cdebd7;
}

.ob-step.is-done .ob-step-num {
  background: #cdebd7;
  color: #0b4f32;
}

.ob-step.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.ob-step-line {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.ob-step-line i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f8d2ea, #cdebd7);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ob-pane {
  padding: 24px;
  background-color: var(--wa-head-soft);
  background-image: radial-gradient(rgba(8, 8, 8, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  animation: ob-pane-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-theme="dark"] .ob-pane {
  background-color: #07080b;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

@keyframes ob-pane-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.ob-level-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--wa-surface);
  border: 1px solid var(--wa-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--wa-ink);
}

.ob-level-pill .p-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f4a4c8;
}

.ob-level-pill .p-dot.b {
  background: #8dcbf5;
}

/* Level 1 Intro + Animated Mini Tutorial Window */
.ob-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.ob-intro-copy h2 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--wa-ink);
}

.ob-intro-copy p {
  margin: 0 0 16px;
  color: var(--wa-muted);
  max-width: 560px;
}

.ob-l1-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ob-l1-controls .plans-interval {
  margin-bottom: 0;
}

.ob-group-filter {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  gap: 4px;
}

.ob-filter-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wa-muted);
  font: 650 13px/1 inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ob-filter-btn.is-on {
  background: var(--wa-ink);
  color: var(--wa-surface);
}

.ob-tut-win {
  border-radius: 20px;
  border: 1px solid #1e2024;
  background: #080808;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(8, 8, 8, 0.16);
}

.ob-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #111318;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.ob-win-title {
  font-size: 12px;
  font-weight: 650;
  color: #d6dbe4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ob-win-badge {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(205, 235, 215, 0.16);
  color: #cdebd7;
  font-size: 11px;
  font-weight: 700;
}

.ob-mini-loop {
  position: relative;
  padding: 14px;
  display: grid;
  gap: 9px;
  overflow: hidden;
}

.ob-mini-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  animation: ob-step-pulse 6s ease-in-out infinite;
}

.ob-mini-item.m-2 { animation-delay: 2s; }
.ob-mini-item.m-3 { animation-delay: 4s; }

.ob-mini-item div {
  flex: 1;
  min-width: 0;
  display: grid;
}

.ob-mini-item b {
  font-size: 13.5px;
  color: #ffffff;
}

.ob-mini-item span {
  font-size: 12px;
  color: #aeb5c0;
}

.ob-mini-check {
  font-size: 13px;
  font-weight: 800;
  color: #cdebd7;
}

@keyframes ob-step-pulse {
  0%, 30%, 100% {
    transform: translate3d(0, 0, 0);
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.05);
  }
  12%, 22% {
    transform: translate3d(4px, 0, 0);
    border-color: rgba(248, 210, 234, 0.55);
    background: rgba(255, 255, 255, 0.11);
  }
}

.ob-mini-scan {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f8d2ea, #cdebd7, transparent);
  transform: translate3d(-100%, 0, 0);
  animation: ob-scan 3.6s linear infinite;
}

@keyframes ob-scan {
  to {
    transform: translate3d(100%, 0, 0);
  }
}

/* Level 1 Plan Cards Grid */
.ob-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ob-plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  background: var(--wa-surface);
  border: 1px solid var(--wa-border);
  box-shadow: 0 10px 26px rgba(8, 8, 8, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ob-plan-card:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 16px 34px rgba(8, 8, 8, 0.08);
}

.ob-plan-card.is-current {
  border-color: var(--wa-ink);
  box-shadow: 0 0 0 1px var(--wa-ink);
}

.ob-plan-card.is-featured {
  background: #080808;
  border-color: #080808;
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(8, 8, 8, 0.22);
}

[data-theme="dark"] .ob-plan-card.is-featured {
  border-color: rgba(248, 210, 234, 0.4);
}

.ob-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
}

.ob-plan-kicker {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wa-muted);
}

.ob-plan-card.is-featured .ob-plan-kicker,
.ob-plan-card.is-featured .ob-plan-desc,
.ob-plan-card.is-featured .ob-plan-price span {
  color: #b8bec9;
}

.ob-plan-badge,
.ob-plan-save,
.ob-plan-cur {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.ob-plan-badge { background: #cdebd7; color: #0b4f32; }
.ob-plan-save { background: #f8e8a8; color: #634600; }
.ob-plan-cur { background: #d4f0fb; color: #0c486e; }

.ob-plan-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
}

.ob-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ob-plan-price b {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.ob-plan-price span {
  font-size: 13px;
  color: var(--wa-muted);
}

.ob-plan-desc {
  margin: 0;
  font-size: 13px;
  color: var(--wa-muted);
}

.ob-plan-feats {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
}

.ob-plan-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ob-plan-feats li::before {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}

.ob-plan-feats li.ok::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  background: #cdebd7;
  color: #0b4f32;
}

.ob-plan-feats li.no {
  color: var(--wa-muted);
  opacity: 0.72;
}

.ob-plan-feats li.no::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b92a0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  background: var(--wa-surface-alt);
  color: var(--wa-muted);
}

.ob-plan-act {
  margin-top: auto;
  display: grid;
  gap: 6px;
}

.ob-plan-act .btn.wide {
  margin-top: 4px;
}

.ob-btn-light {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #080808;
}

.ob-btn-light:hover:not(:disabled) {
  background-color: #f8d2ea;
  border-color: #f8d2ea;
}

/* Level 2: Animated Phone Tutorial + Live WhatsApp Connection */
.ob-l2-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ob-l2-plan-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ob-active-plan {
  padding: 5px 12px;
  border-radius: 999px;
  background: #080808;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

[data-theme="dark"] .ob-active-plan {
  background: #ffffff;
  color: #080808;
}

.ob-l2-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.ob-phone-tut {
  border-radius: 20px;
  border: 1px solid #1e2024;
  background: #080808;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(8, 8, 8, 0.16);
}

.ob-tut-play {
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: 700 11px/1 inherit;
  cursor: pointer;
}

.ob-phone-stage {
  padding: 20px 18px 18px;
  display: grid;
  justify-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(248, 210, 234, 0.14) 0%, transparent 44%),
    radial-gradient(circle at 80% 80%, rgba(212, 240, 251, 0.12) 0%, transparent 46%),
    #080808;
}

.ob-phone-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  min-height: 214px;
  padding: 24px 14px 16px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #12151c;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.ob-phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transform: translate3d(-50%, 0, 0);
}

@keyframes ob-slide-in {
  from {
    opacity: 0.72;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.ob-scene {
  display: none;
  gap: 9px;
  animation: ob-slide-in 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ob-phone-stage[data-scene="1"] .ob-scene.s1,
.ob-phone-stage[data-scene="2"] .ob-scene.s2,
.ob-phone-stage[data-scene="3"] .ob-scene.s3 {
  display: grid;
}

.ob-scene-head {
  font-size: 12px;
  font-weight: 700;
  color: #aeb5c0;
  margin-bottom: 2px;
}

.ob-mock-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.ob-mock-row.is-target {
  border-color: rgba(248, 210, 234, 0.55);
  background: rgba(248, 210, 234, 0.12);
}

.ob-tap-ring {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #f8d2ea;
  box-shadow: 0 0 0 0 rgba(248, 210, 234, 0.7);
  animation: ob-tap-pulse 1.6s ease-out infinite;
}

@keyframes ob-tap-pulse {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(248, 210, 234, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 11px rgba(248, 210, 234, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(248, 210, 234, 0);
  }
}

.ob-mock-pill-btn {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #aeb5c0;
  font-size: 12.5px;
  text-align: center;
}

.ob-mock-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.28);
}

.ob-mock-code-row span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 28px;
  border-radius: 7px;
  background: #080808;
  color: #ffffff;
  font: 800 13px/1 ui-monospace, Menlo, Consolas, monospace;
  animation: ob-char-pop 1.8s ease-in-out infinite;
}

.ob-mock-code-row i {
  font-style: normal;
  color: #aeb5c0;
  font-weight: 700;
}

@keyframes ob-char-pop {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -2px, 0); color: #f8d2ea; }
}

.ob-mock-ok-pill {
  padding: 9px 12px;
  border-radius: 12px;
  background: #cdebd7;
  color: #0b4f32;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.ob-scene-caption {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #d6dbe4;
  min-height: 38px;
}

.ob-scene-tabs {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

.ob-scene-tab {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #aeb5c0;
  font: 650 12px/1 inherit;
  cursor: pointer;
}

.ob-scene-tab.is-on {
  background: #ffffff;
  border-color: #ffffff;
  color: #080808;
}

.ob-l2-right {
  display: grid;
  gap: 14px;
}

.ob-l2-wa-slot .wa-conn-card {
  border: 1px solid var(--wa-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(8, 8, 8, 0.04);
}

.ob-l2-unlock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--wa-border);
  background: var(--wa-surface);
}

.ob-unlock-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 220px;
}

.ob-unlock-copy b {
  font-size: 14.5px;
  color: var(--wa-ink);
}

.ob-unlock-copy span {
  font-size: 12.5px;
  color: var(--wa-muted);
}

.ob-unlock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Level 3 Animated Tutorial Modal Window */
.ob-tut-head-l {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ob-tut-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f8d2ea;
}

.tut-steps-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tut-nav-pill {
  flex: 1 1 150px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--wa-border);
  background: var(--wa-card-soft);
  color: var(--wa-muted);
  font: 650 13px/1 inherit;
  cursor: pointer;
}

.tut-nav-pill.is-on {
  border-color: var(--wa-ink);
  background: var(--wa-surface);
  color: var(--wa-ink);
  box-shadow: 0 4px 12px rgba(8, 8, 8, 0.06);
}

.tut-stage {
  border-radius: 20px;
  border: 1px solid var(--wa-border);
  background: var(--wa-card-soft);
  padding: 18px;
}

.tut-slide {
  display: none;
  gap: 14px;
  animation: ob-slide-in 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tut-stage[data-step="1"] .tut-slide.ts-1,
.tut-stage[data-step="2"] .tut-slide.ts-2,
.tut-stage[data-step="3"] .tut-slide.ts-3 {
  display: grid;
}

.tut-canvas {
  position: relative;
  height: 196px;
  border-radius: 16px;
  background: #080808;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 16px;
}

.tut-video-mock {
  position: relative;
  width: 240px;
  height: 136px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #1b1e28, #0f1117);
  overflow: hidden;
}

.tut-crop-square {
  position: absolute;
  left: 52px;
  top: 12px;
  width: 112px;
  height: 112px;
  border: 2px solid #f8d2ea;
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.45);
  animation: tut-crop-glide 3.8s ease-in-out infinite;
}

.tut-crop-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #080808;
  color: #f8d2ea;
  font-size: 10px;
  font-weight: 700;
}

@keyframes tut-crop-glide {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(26px, 0, 0) scale(0.88); }
}

.tut-wave-box {
  width: min(100%, 360px);
  display: grid;
  gap: 12px;
}

.tut-wave-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 54px;
}

.tut-wave-bars i {
  width: 7px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8d2ea, #d4f0fb);
  transform-origin: center;
  animation: tut-eq 1.1s ease-in-out infinite;
}

.tut-wave-bars i:nth-child(2n) { animation-delay: -0.35s; }
.tut-wave-bars i:nth-child(3n) { animation-delay: -0.7s; }

@keyframes tut-eq {
  0%, 100% { transform: scaleY(0.32); }
  50% { transform: scaleY(1); }
}

.tut-trim-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.tut-trim-sel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8%;
  width: 38%;
  border-radius: 999px;
  background: #f8d2ea;
  animation: tut-trim-move 3.2s ease-in-out infinite;
}

@keyframes tut-trim-move {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(95%, 0, 0); }
}

.tut-format-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tut-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
}

.tut-chip.p { background: #f8d2ea; color: #6e1542; }
.tut-chip.m { background: #cdebd7; color: #0b4f32; }

.tut-send-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tut-sticker-bubble {
  position: relative;
  width: 96px;
  height: 96px;
  padding: 10px;
  border-radius: 20px;
  background: #171a22;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  animation: tut-bob 2.8s ease-in-out infinite;
}

.tut-sticker-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tut-spk {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #f8d2ea;
  color: #6e1542;
  display: grid;
  place-items: center;
  font-size: 12px;
}

@keyframes tut-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

.tut-send-arrow {
  color: #f8d2ea;
  font-size: 22px;
  font-weight: 800;
  animation: tut-arrow-nudge 1.6s ease-in-out infinite;
}

@keyframes tut-arrow-nudge {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.7; }
  50% { transform: translate3d(6px, 0, 0); opacity: 1; }
}

.tut-target-bubble {
  display: grid;
  gap: 3px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #171a22;
  border: 1px solid rgba(205, 235, 215, 0.45);
  color: #ffffff;
}

.tut-target-bubble b { font-size: 14px; }
.tut-target-bubble span { font-size: 12px; color: #cdebd7; font-weight: 650; }

.tut-copy h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
  color: var(--wa-ink);
}

.tut-copy p {
  margin: 0;
  font-size: 13.5px;
  color: var(--wa-muted);
}

.tut-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.tut-dots {
  display: flex;
  gap: 6px;
}

.tut-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--wa-border);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.tut-dots i.is-on {
  width: 22px;
  background: var(--wa-ink);
}

.tut-footer-btns {
  display: flex;
  gap: 8px;
}

/* Pause animations when modal hidden or tab hidden for memory/battery savings */
#tutorialModal[hidden] *,
body.app-paused .ob-mini-item,
body.app-paused .ob-mini-scan,
body.app-paused .ob-tap-ring,
body.app-paused .ob-mock-code-row span,
body.app-paused .tut-crop-square,
body.app-paused .tut-wave-bars i,
body.app-paused .tut-trim-sel,
body.app-paused .tut-sticker-bubble,
body.app-paused .tut-send-arrow {
  animation-play-state: paused !important;
}

@media (max-width: 960px) {
  .ob-intro-grid,
  .ob-l2-grid,
  .ob-plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ob-header,
  .ob-pane {
    padding: 16px;
  }

  .ob-step-line {
    display: none;
  }

  .ob-step {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ---------- Professional Admin Panel (/admin) ---------- */
.adm-shell {
  max-width: 1280px;
}

.adm-role-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f8d2ea;
  color: #6e1542;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.top-btn.top-admin {
  border-color: rgba(248, 210, 234, 0.7);
  background: #fdf4f9;
  color: #6e1542;
}

[data-theme="dark"] .top-btn.top-admin {
  background: rgba(248, 210, 234, 0.14);
  border-color: rgba(248, 210, 234, 0.35);
  color: #f8d2ea;
}

.adm-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 24px 24px;
  background: #080808;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.adm-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.adm-worker-pill {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #d6dbe4;
  font-size: 12px;
  font-weight: 650;
}

.adm-worker-pill.ok {
  border-color: rgba(205, 235, 215, 0.4);
  background: rgba(205, 235, 215, 0.14);
  color: #cdebd7;
}

.adm-worker-pill.warn {
  border-color: rgba(248, 210, 234, 0.45);
  background: rgba(159, 18, 57, 0.32);
  color: #fda4af;
}

.adm-kpi-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.adm-kpi {
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.adm-kpi-lbl {
  font-size: 12px;
  color: #aeb5c0;
  font-weight: 600;
}

.adm-kpi-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.adm-kpi-sub {
  font-size: 12px;
  color: #cdebd7;
  font-weight: 600;
}

.adm-main {
  padding: 20px 24px 28px;
  background-color: var(--wa-head-soft);
  background-image: radial-gradient(rgba(8, 8, 8, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

[data-theme="dark"] .adm-main {
  background-color: #07080b;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}

.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.adm-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  gap: 4px;
}

.adm-tab {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wa-muted);
  font: 650 13.5px/1 inherit;
  cursor: pointer;
}

.adm-tab.is-on {
  background: var(--wa-ink);
  color: var(--wa-surface);
}

.adm-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.adm-search {
  width: 240px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--wa-surface);
}

.adm-table-wrap {
  border-radius: 20px;
  border: 1px solid var(--wa-border);
  background: var(--wa-surface);
  overflow-x: auto;
  box-shadow: 0 10px 28px rgba(8, 8, 8, 0.04);
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.adm-table th {
  padding: 13px 16px;
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wa-muted);
  background: var(--wa-head-soft);
  border-bottom: 1px solid var(--wa-border);
}

.adm-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--wa-border-soft);
  vertical-align: middle;
}

.adm-table tr:last-child td {
  border-bottom: 0;
}

.adm-th-act,
.adm-act-cell {
  text-align: right;
}

.adm-user-cell,
.adm-plan-cell,
.adm-usage-cell,
.adm-wa-cell {
  display: grid;
  gap: 3px;
}

.adm-sub {
  font-size: 12px;
  color: var(--wa-muted);
  word-break: break-word;
}

.adm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.adm-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--wa-surface-alt);
  border: 1px solid var(--wa-border);
  color: var(--wa-muted);
  font-size: 11px;
  font-weight: 700;
}

.adm-tag.admin {
  background: #f8d2ea;
  border-color: #f4b7db;
  color: #6e1542;
}

.adm-tag.exempt {
  background: #f8e8a8;
  border-color: #eed67a;
  color: #634600;
}

.adm-tag.ok {
  background: var(--wa-ok-bg);
  border-color: var(--wa-mint-border);
  color: var(--wa-ok-ink);
}

.adm-tag.warn {
  background: var(--wa-warn-bg);
  border-color: transparent;
  color: var(--wa-warn-ink);
}

.adm-plan-badge {
  display: inline-block;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.adm-plan-badge.free {
  background: var(--wa-surface-alt);
  color: var(--wa-ink);
  border: 1px solid var(--wa-border);
}

.adm-plan-badge.paid {
  background: #080808;
  color: #ffffff;
}

[data-theme="dark"] .adm-plan-badge.paid {
  background: #ffffff;
  color: #080808;
}

.adm-wa {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--wa-muted);
}

.adm-wa.ok {
  color: var(--wa-ok-ink);
}

.adm-acts {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.adm-btn-warn {
  color: var(--wa-red);
}

.adm-empty {
  text-align: center;
  padding: 30px !important;
  color: var(--wa-muted);
}

.adm-modal {
  max-width: 560px;
}

.adm-modal-user {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--wa-card-soft);
  border: 1px solid var(--wa-border);
  font-size: 13.5px;
  font-weight: 650;
  margin-bottom: 12px;
}

.adm-plan-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.adm-plan-opt {
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid var(--wa-border);
  background: var(--wa-card-soft);
  color: var(--wa-ink);
  cursor: pointer;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.adm-plan-opt b { font-size: 13.5px; }
.adm-plan-opt span { font-size: 11.5px; color: var(--wa-muted); }
.adm-plan-opt small { font-size: 11px; font-weight: 700; color: var(--wa-green); }

.adm-plan-opt.is-on {
  border-color: var(--wa-ink);
  background: var(--wa-mint);
  box-shadow: 0 0 0 1px var(--wa-ink);
}

.adm-form-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 10px;
}

.adm-select {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border-radius: var(--r-ctrl);
  border: 1px solid var(--wa-border);
  background-color: var(--wa-surface-alt);
  color: var(--wa-ink);
  font: 14.5px/1.3 inherit;
}

@media (max-width: 960px) {
  .adm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .adm-table thead {
    display: none;
  }

  .adm-table,
  .adm-table tbody,
  .adm-table tr,
  .adm-table td {
    display: block;
    width: 100%;
  }

  .adm-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--wa-border);
  }

  .adm-table td {
    padding: 6px 0;
    border-bottom: 0;
    text-align: left;
  }

  .adm-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wa-muted);
    margin-bottom: 2px;
  }

  .adm-acts {
    justify-content: flex-start;
  }

  .adm-search {
    width: 100%;
  }

  .adm-plan-picker,
  .adm-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .adm-hero,
  .adm-main {
    padding: 16px;
  }

  .adm-kpi-grid,
  .adm-plan-picker,
  .adm-form-row {
    grid-template-columns: 1fr;
  }
}


/* ===== v2: Nunito, corners, icons, responsive, perf ===== */
:root{--font-ui:'Nunito',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--r-card:20px;--r-ctrl:12px}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip}
body{font-family:var(--font-ui);overflow-x:clip;text-rendering:optimizeLegibility}
button,input,select,textarea,summary{font-family:inherit}
img,svg,video,canvas{max-width:100%}
svg{flex-shrink:0}
h1,h2,h3,h4{font-family:var(--font-ui);font-weight:800;text-wrap:balance}
h1,h2{letter-spacing:-.02em}
.lp-wrap{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
a,button,summary,.lp-cta-primary,.lp-cta-secondary{-webkit-tap-highlight-color:transparent}
a,button{transition:transform .18s ease,opacity .18s ease,background-color .18s ease,box-shadow .18s ease,color .18s ease,border-color .18s ease}
.lp-cta-primary:hover,.lp-btn-dark:hover{transform:translateY(-1px)}
.lp-cta-primary:active,.lp-btn-dark:active,.lp-cta-secondary:active{transform:scale(.98)}
.lp-cta-primary,.lp-cta-secondary,.lp-btn-dark,.lp-btn-outline,.lp-btn-link{min-height:44px;border-radius:999px}
.lp-menu-toggle{min-width:44px;min-height:44px;align-items:center;justify-content:center}
.lp-faq details{border-radius:var(--r-ctrl)}
.lp-faq summary{min-height:48px;cursor:pointer}
/* below-the-fold: skip rendering work until needed */
#how-it-works,#features,#pricing,#guide,#faq,.lp-footer{content-visibility:auto;contain-intrinsic-size:auto 700px}
/* guide */
.lp-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px}
.lp-guide-card{background:var(--wa-surface);border:1px solid var(--wa-border);border-radius:var(--r-card);padding:clamp(18px,3vw,28px)}
.lp-guide-card h3{font-size:clamp(18px,2.2vw,22px);margin:0 0 14px}
.lp-guide-card ol{margin:0;padding-left:1.25em;display:grid;gap:10px;color:var(--wa-muted)}
.lp-guide-card li::marker{color:var(--wa-green);font-weight:800}
.lp-guide-card b{color:var(--wa-ink)}
.lp-guide-note{margin-top:20px;color:var(--wa-muted);max-width:70ch}
@media(max-width:860px){.lp-guide{grid-template-columns:1fr}}
@media(max-width:600px){
  input,select,textarea{font-size:16px!important}
  .lp-hero-cta{flex-direction:column;align-items:stretch}
  .lp-hero-cta a{justify-content:center;width:100%}
  .lp-section{padding-top:clamp(40px,10vw,64px);padding-bottom:clamp(40px,10vw,64px)}
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}


/* ===== v3: icons + symmetry ===== */
.ic{display:inline-block;vertical-align:-.2em;flex:none}
.ic-spin{animation:ic-spin .8s linear infinite;transform-origin:50% 50%}
@keyframes ic-spin{to{transform:rotate(360deg)}}
.btn,.lp-cta-primary,.lp-cta-secondary,.lp-btn-dark,.lp-btn-outline,.lp-btn-link,.lp-plan-btn,.ob-plan-act{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center}
.ob-mini-check,.ticks,.spk,.tut-spk,.tut-send-arrow,.step,.modal-close,.del-target-btn,.lp-mock-link,.lp-mock-pill,.ob-mock-ok-pill,.ob-mock-row>span,.alert{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.alert{display:flex;justify-content:flex-start}
.ob-mock-row{display:flex;align-items:center;justify-content:space-between}
.ob-mock-row>span{justify-content:flex-start}
.modal-close{min-width:40px;min-height:40px;line-height:1;padding:0}
/* header: logo left, nav centered, actions right */
.lp-actions{display:flex;align-items:center;gap:10px}
@media(min-width:900px){
  .lp-nav-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;min-height:68px}
  .lp-brand{justify-self:start}
  .lp-nav{justify-self:center}
  .lp-actions{justify-self:end}
}
@media(max-width:899px){.lp-nav-row{min-height:60px}}
/* cards: equal heights, footer aligned */
.lp-guide{align-items:stretch}
.lp-guide-card{height:100%}
.lp-steps,.lp-features,.lp-pricing-grid{align-items:stretch}
.lp-faq{width:100%}
/* FAQ chevron (SVG, no glyph) */
.lp-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding-block:4px}
.lp-faq summary::-webkit-details-marker{display:none}
.lp-faq summary::after{content:"";flex:none;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23080808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/20px no-repeat;transition:transform .2s ease}
.lp-faq details[open] summary::after{transform:rotate(180deg)}
/* footer symmetry */
.lp-footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:start}
.lp-footer-cols{justify-items:start}
.lp-footer-bottom{align-items:center}
@media(max-width:899px){.lp-footer-top{grid-template-columns:1fr}}
.lp-faq{max-width:none}

/* ===== mobile pass v2 ===== */
html,body{max-width:100%;overflow-x:clip}
img,svg,video{max-width:100%}
.wa-navbar{padding-top:env(safe-area-inset-top)}
.wa-nav-top,.top-actions,.brand,.brand-text,.lp-actions{min-width:0}
.brand h1,.brand-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-btn svg,.wa-tab svg{flex:none}
.wa-tab .tab-dot{position:absolute;top:8px;right:calc(50% - 22px)}
.wa-tab{position:relative}
@media(max-width:899px){
  .wa-nav-top{padding:10px 14px}
  .top-btn{min-height:40px;min-width:40px;justify-content:center}
  .top-btn:not(.top-plan){padding:0 10px}
  .top-btn:not(.top-plan) span{display:none}
  .top-home{display:inline-flex}
  .wa-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 12px 10px;padding:4px;border-radius:18px;gap:4px}
  .wa-tab{flex-direction:column;gap:3px;min-height:52px;padding:6px 2px;border-radius:14px;font-size:11.5px;white-space:nowrap;min-width:0}
  .wa-tab span:not(.tab-dot){overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .lp-nav-row{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .lp-actions{gap:8px}
  .lp-brand{min-width:0}
  .modal-backdrop{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}
  .modal{max-width:100%;border-radius:20px}
  .modal form,.modal-body-pad{padding:16px}
  input,select,textarea{font-size:16px!important;min-width:0;max-width:100%}
  .modal .row,.row{min-width:0}
  .modal button,.modal .btn{min-height:44px}
}
@media(max-width:600px){
  .wa-nav-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px}
  .wa-nav-top:has(.top-admin){grid-template-columns:repeat(5,minmax(0,1fr))}
  .top-actions{display:contents}
  .brand{grid-column:span 2;align-self:center}
  .wa-nav-top:has(.top-admin) .brand{grid-column:span 3}
  .top-btn.top-plan{grid-column:span 2;grid-row:1;min-height:40px;padding:0 10px;font-size:12px;justify-content:center;min-width:0}
  .top-btn.top-plan #planPill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .top-actions .top-btn:not(.top-plan),.logout-form,.logout-form .top-btn{width:100%;min-width:0}
  .top-actions .top-btn:not(.top-plan),.logout-form .top-btn{min-height:40px;min-width:0;padding:0;border-radius:12px}
  .top-home{display:none}
  .lp-brand-text{font-size:15px}
  .lp-btn-dark{padding-left:14px;padding-right:14px;font-size:13px}
}
@media(max-width:430px){
  .brand h1{font-size:14px}
  .lp-wrap{padding-left:16px;padding-right:16px}
  .lp-cta-primary,.lp-cta-secondary,.lp-btn-dark.lp-block{width:100%}
}
@media(max-width:360px){
  .wa-nav-top{gap:6px;padding:8px 8px}
  .wa-tab{font-size:10.5px}
  .lp-brand-text{font-size:14px}
  .lp-btn-dark span{max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .lp-actions{gap:6px}
}

/* studio WA lock + auth legal */
.studio-wa-lock{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:22px 16px;margin:0 0 14px;border:1px solid var(--wa-border);border-radius:18px;background:var(--wa-surface-alt);color:var(--wa-ink)}
.studio-wa-lock[hidden]{display:none!important}
.studio-wa-lock p{margin:0;font-weight:750;font-size:15px}
.studio-wa-lock .btn{min-height:44px}
.studio-wa-lock-ic{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:14px;background:var(--wa-surface);border:1px solid var(--wa-border);color:var(--wa-ink)}
.drop.is-locked{pointer-events:none;opacity:.45}
.auth-legal{margin:16px 0 0;font-size:13px;color:#525866;text-align:center;line-height:1.55}
.auth-legal a{color:#080808;font-weight:700;text-decoration:underline;text-underline-offset:2px}

/* ===== Admin Panel v2: System Monitoring & WA Tab ===== */
.adm-hero-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.adm-auto-btn{padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#d6dbe4;font:650 12px/1 inherit;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.adm-auto-btn.is-on{background:#cdebd7;color:#080808;border-color:#cdebd7}
.adm-sys-strip{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.adm-sys-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-size:12px;color:#aeb5c0}
.adm-sys-chip b{color:#ffffff;font-weight:750;font-variant-numeric:tabular-nums}
.adm-tabs{overflow-x:auto;max-width:100%;scrollbar-width:none}
.adm-tabs::-webkit-scrollbar{display:none}
.adm-tab{white-space:nowrap;flex:none}
.adm-wa.warn{color:#b45309}
[data-theme="dark"] .adm-wa.warn{color:#fcd34d}
.adm-mon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.adm-mon-card{display:grid;gap:12px;padding:18px 20px;border-radius:20px;border:1px solid var(--wa-border);background:var(--wa-surface);box-shadow:0 10px 28px rgba(8,8,8,.04)}
.adm-mon-wide{grid-column:1/-1}
.adm-mon-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.adm-mon-head h3{margin:0;font-size:15.5px;font-weight:800;color:var(--wa-ink)}
.adm-mon-head b{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--wa-ink)}
.adm-bar{height:8px;border-radius:999px;background:var(--wa-surface-alt);overflow:hidden;border:1px solid var(--wa-border)}
.adm-bar i{display:block;height:100%;border-radius:999px;background:#080808;transition:width .25s ease}
.adm-bar i.ok{background:#15803d}
.adm-bar i.warn{background:#d97706}
.adm-bar i.crit{background:#dc2626}
[data-theme="dark"] .adm-bar i.ok{background:#4ade80}
.adm-mon-rows{display:grid;gap:8px}
.adm-mon-rows>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;padding-bottom:6px;border-bottom:1px dashed var(--wa-border)}
.adm-mon-rows>div:last-child{border-bottom:0;padding-bottom:0}
.adm-mon-rows span{color:var(--wa-muted)}
.adm-mon-rows b{color:var(--wa-ink);font-weight:750;font-variant-numeric:tabular-nums;text-align:right}
.adm-mon-rows-inline{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.adm-mon-rows-inline>div{border-bottom:0;padding:10px 12px;border-radius:12px;background:var(--wa-surface-alt);border:1px solid var(--wa-border)}
.adm-mon-foot{display:flex;justify-content:flex-end}
.adm-plan-dist{display:flex;flex-wrap:wrap;gap:8px}
.adm-dist-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:var(--wa-surface-alt);border:1px solid var(--wa-border);font-size:13px}
.adm-dist-pill span{color:var(--wa-muted)}
.adm-dist-pill b{color:var(--wa-ink);font-weight:800}
@media(max-width:860px){
  .adm-mon-grid{grid-template-columns:1fr}
  .adm-mon-rows-inline{grid-template-columns:1fr}
}

/* ===== Admin Panel Logs Viewer ===== */
.adm-log-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.adm-log-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.adm-log-meta{font-size:12.5px;color:var(--wa-muted);margin:0 0 10px;font-weight:600}
.adm-log-box{border-radius:18px;border:1px solid #1e2430;background:#0b0d12;color:#d6dce8;padding:14px 16px;font:500 12.5px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;max-height:520px;overflow:auto;display:grid;gap:4px}
.adm-log-line{white-space:pre-wrap;word-break:break-word;padding:4px 8px;border-radius:6px;border-left:3px solid transparent}
.adm-log-line.is-err{background:rgba(220,38,38,.14);border-left-color:#f87171;color:#fecaca}
.adm-log-line.is-warn{background:rgba(217,119,6,.14);border-left-color:#fbbf24;color:#fde68a}
.adm-log-line.is-ok{background:rgba(34,197,94,.12);border-left-color:#4ade80;color:#bbf7d0}
.adm-log-line.is-info{background:rgba(56,189,248,.1);border-left-color:#38bdf8;color:#bae6fd}
.adm-log-empty{color:#9ca3af;padding:12px 4px}

/* ===== Top Official WhatsApp Channels Strip ===== */
.lp-top-channels{background:#080808;color:#f5f6f8;border-bottom:1px solid rgba(255,255,255,.1)}
.lp-top-channels-inner{width:min(1160px,92vw);margin:0 auto;display:flex;align-items:center;justify-content:center;gap:10px;padding:7px 0;min-width:0}
.wa-navbar .lp-top-channels-inner{width:auto;padding:7px 18px}
.lp-top-ch-label{font-size:12px;font-weight:750;color:#c3c9d4;white-space:nowrap;flex:none}
.lp-top-ch-lbl-short{display:none}
.lp-top-ch-links{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.lp-top-ch-pill{display:inline-flex;align-items:center;gap:7px;padding:4px 11px 4px 5px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);color:#ffffff;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap;flex:none;transition:background .15s,border-color .15s,transform .15s}
.lp-top-ch-pill:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.32);transform:translateY(-1px)}
.lp-top-ch-logo{width:22px;height:22px;border-radius:50%;object-fit:cover;flex:none;background:#1a1d24}
.lp-top-ch-ext{opacity:.75;flex:none}
@media(max-width:760px){
  .lp-top-channels-inner{width:100%;padding:7px 12px;justify-content:center;gap:10px}
  .wa-navbar .lp-top-channels-inner{padding:7px 12px;justify-content:center}
  .lp-top-ch-lbl-full{display:none}
  .lp-top-ch-lbl-short{display:inline;font-size:12px;color:#c3c9d4}
  .lp-top-ch-links{gap:10px}
  .lp-top-ch-pill{width:38px;height:38px;padding:2px;border-radius:50%;justify-content:center;border-width:2px}
  .lp-top-ch-pill.ring-p{border-color:#f8d2ea}
  .lp-top-ch-pill.ring-b{border-color:#cde2ff}
  .lp-top-ch-pill.ring-m{border-color:#cdebd7}
  .lp-top-ch-logo{width:100%;height:100%;border-radius:50%}
  .lp-top-ch-text,.lp-top-ch-ext{display:none}
}
