/* ================================================================
   OVLINK — HOME v2  "Monolith"
   Dark-first, monochrome, premium minimalist.
   Motion: entrance reveals, cursor glow, smooth interactions.
   Scope: .ovx selector — homepage only.
   ================================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --c-bg:        #0a0a0a;
  --c-surface:   #111111;
  --c-surface-2: #1a1a1a;
  --c-border:    rgba(255,255,255,0.08);
  --c-border-hi: rgba(255,255,255,0.14);
  --c-text:      #f0f0f0;
  --c-muted:     #888888;
  --c-faint:     #555555;
  --c-white:     #ffffff;
  --c-accent:    #ffffff;

  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h:  60px;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --shell:  1080px;
  --shell-wide: 1240px;
  --r:      12px;

  /* Spacing / radius / type scale (see tokens.css utilities).
     Added so repeated inline styles can move to classes without inventing
     new values at each call site. Nothing below redefines an existing token. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-lg: 18px;
  --focus-ring: 0 0 0 2px var(--c-bg), 0 0 0 4px rgba(255, 255, 255, 0.55);
}

/* ---------- 2. Reset & Base ---------- */
.ovx { all: initial; display: block; }
.ovx *, .ovx *::before, .ovx *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ovx {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
.ovx main { display: block; position: relative; }

/* Google Fonts Inter import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Links */
.ovx a { color: inherit; text-decoration: none; }
.ovx a:hover { color: var(--c-white); }
.ovx button { font-family: inherit; cursor: pointer; border: none; background: none; }
.ovx input, .ovx textarea, .ovx select { font-family: inherit; }

/* Focus */
.ovx :focus-visible {
  outline: 1.5px solid rgba(255,255,255,0.5);
  outline-offset: 3px;
  border-radius: 6px;
}
.ovx ::selection { background: rgba(255,255,255,0.15); }
.ovx ::placeholder { color: var(--c-faint); }

/* Skip Link */
.ovx .m-skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--c-white);
  color: var(--c-bg);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10000000;
  transition: top 0.2s var(--ease);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.ovx .m-skip-link:focus {
  top: 16px;
}

/* ---------- 3. Layout Helpers ---------- */
.ovx .shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}
.ovx .shell-wide {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 4. Cursor Glow (canvas ambient) ---------- */
.ovx #cursorGlow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.028) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%,-50%);
  z-index: 0;
  transition: opacity 0.4s;
}

/* ---------- 5. Navigation ---------- */
.ovx .m-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), backdrop-filter 0.3s;
}
.ovx .m-nav.scrolled,
.ovx:not(.home-page) .m-nav,
.ovx .m-nav.m-nav--solid,
body:not(.home-page) .ovx .m-nav {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-color: var(--c-border);
}
.ovx .m-nav-inner {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}
.ovx .m-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-white);
  flex-shrink: 0;
  transition: opacity 0.2s;
  text-decoration: none;
}
.ovx .m-brand:hover { opacity: 0.7; }
.ovx .m-brand span { opacity: 0.45; }
.ovx .m-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.ovx .m-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-left: 36px;
}
.ovx .m-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.ovx .m-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
  pointer-events: none;
}
.ovx .m-nav-links a:hover {
  color: var(--c-white);
  background: rgba(255,255,255,0.06);
}
.ovx .m-nav-links a:hover::after {
  transform: scaleX(1);
}

.ovx .m-nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Language pill */
.ovx .m-lang-wrap { position: relative; }
.ovx .m-lang-btn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ovx .m-lang-btn:hover {
  color: var(--c-white);
  border-color: var(--c-border-hi);
  background: rgba(255,255,255,0.05);
}
.ovx .m-lang-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border-hi);
  border-radius: 10px;
  padding: 4px;
  display: none;
  min-width: 80px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 1000;
}
.ovx .m-lang-panel.open,
.ovx .m-lang-panel.is-open { display: block; }
.ovx .m-lang-item {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 13px;
  color: var(--c-muted);
  padding: 7px 12px;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
  cursor: pointer;
}
.ovx .m-lang-item:hover,
.ovx .m-lang-item.active,
.ovx .m-lang-item.is-active {
  color: var(--c-white);
  background: rgba(255,255,255,0.07);
}

/* Nav buttons */
.ovx .m-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-muted);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.ovx .m-btn-ghost:hover { color: var(--c-white); background: rgba(255,255,255,0.06); }

.ovx .m-btn-solid {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-bg);
  background: var(--c-white);
  padding: 7px 16px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.ovx .m-btn-solid:hover {
  color: var(--c-bg);
  opacity: 0.88;
  transform: translateY(-1px);
}

/* User menu — Monolith Design System */
.ovx .m-user-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ovx .m-user-btn {
  height: 34px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
  user-select: none;
  -webkit-user-select: none;
}
.ovx .m-user-btn:hover {
  border-color: var(--c-border-hi);
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-white);
}
.ovx .m-user-btn:active,
.ovx .m-user-btn[aria-expanded="true"] {
  border-color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
}
.ovx .m-user-avatar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--c-muted);
  transition: color 0.2s;
}
.ovx .m-user-btn:hover .m-user-avatar-badge,
.ovx .m-user-btn[aria-expanded="true"] .m-user-avatar-badge {
  color: var(--c-white);
}
.ovx .m-user-btn-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ovx .m-user-chevron {
  font-size: 10px;
  color: var(--c-faint);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.ovx .m-user-btn:hover .m-user-chevron {
  color: var(--c-text);
}
.ovx .m-user-btn[aria-expanded="true"] .m-user-chevron {
  transform: rotate(180deg);
  color: var(--c-white);
}
.ovx .m-notif-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-bg);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

/* User dropdown panel */
.ovx .m-user-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border-hi);
  border-radius: 14px;
  padding: 8px;
  min-width: 240px;
  display: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.ovx .m-user-panel.open,
.ovx .m-user-panel.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ovx .m-user-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
}
.ovx .m-user-panel-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--c-muted);
  flex-shrink: 0;
}
.ovx .m-user-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.ovx .m-user-panel-email {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.ovx .m-user-panel-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ovx .m-user-plan-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-block;
}
.ovx .m-user-plan-pill--pro {
  background: var(--c-white);
  color: var(--c-bg);
}
.ovx .m-user-plan-pill--free {
  background: var(--c-surface-2);
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}
.ovx .m-user-panel-section-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-faint);
  padding: 8px 10px 4px;
}
.ovx .m-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
  padding: 8px 10px;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.ovx .m-user-item:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.07);
}
.ovx .m-user-item-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--c-faint);
  flex-shrink: 0;
  transition: color 0.15s;
}
.ovx .m-user-item:hover .m-user-item-icon {
  color: var(--c-white);
}
.ovx .m-user-item-title {
  flex: 1;
  white-space: nowrap;
}
.ovx .m-user-item-hint {
  font-size: 11px;
  color: var(--c-faint);
  font-family: monospace;
  margin-left: auto;
}
.ovx .m-user-item--danger {
  color: #ff5555;
}
.ovx .m-user-item--danger .m-user-item-icon {
  color: #ff5555;
}
.ovx .m-user-item--danger:hover {
  color: #ff6e6e;
  background: rgba(255, 85, 85, 0.1);
}
.ovx .m-user-item--danger:hover .m-user-item-icon {
  color: #ff6e6e;
}
.ovx .m-divider {
  height: 1px;
  background: var(--c-border);
  margin: 4px 6px;
}
.ovx .m-badge {
  margin-left: auto;
  font-size: 11px;
  background: var(--c-white);
  color: var(--c-bg);
  border-radius: 20px;
  padding: 1px 6px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .ovx .m-user-btn-name {
    display: none;
  }
  .ovx .m-user-btn {
    padding: 0 8px;
    gap: 6px;
  }
}

/* Burger */
.ovx .m-burger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  align-items: center; justify-content: center;
  color: var(--c-muted);
  font-size: 15px;
  transition: color 0.2s, border-color 0.2s;
}
.ovx .m-burger:hover { color: var(--c-white); border-color: var(--c-border-hi); }

/* Mobile menu */
.ovx .m-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 80px 24px max(32px, env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ovx .m-mobile-menu.open { transform: translateX(0); }
.ovx .m-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-size: 18px;
  color: var(--c-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ovx .m-mobile-close:hover {
  color: var(--c-white);
  border-color: var(--c-border-hi);
  background: var(--c-surface-2);
}
.ovx .m-mobile-menu > a {
  font-size: 22px;
  font-weight: 500;
  color: var(--c-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  display: block;
  text-align: left;
  width: 100%;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s var(--ease);
}
.ovx .m-mobile-menu > a:hover {
  color: var(--c-white);
  padding-left: 6px;
}
.ovx .m-mobile-end {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 28px;
}
.ovx .m-mobile-end .m-lang-panel {
  bottom: calc(100% + 6px);
  top: auto;
  left: 0;
  right: auto;
  z-index: 100000;
}

/* ---------- 6. Hero ---------- */
.ovx .m-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 28px 80px;
  position: relative;
}

/* Subtle grid background */
.ovx .m-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.ovx .m-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-faint);
  border: 1px solid var(--c-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.1s forwards;
}
.ovx .m-hero-eyebrow i { font-size: 10px; }

.ovx .m-hero-eyebrow--link {
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px 5px 10px;
  gap: 9px;
  font-size: 12.5px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.ovx .m-hero-eyebrow--link::before {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  margin-right: 2px;
}
.ovx .m-hero-eyebrow--link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.ovx .m-hero-eyebrow--link .m-hero-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  line-height: 1.3;
}
.ovx .m-hero-eyebrow--link .m-hero-arrow {
  font-size: 10px;
  color: #94a3b8;
  margin-left: 2px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.ovx .m-hero-eyebrow--link:hover .m-hero-arrow {
  color: #ffffff;
  transform: translateX(3px);
}
@media (max-width: 640px) {
  .ovx .m-hero-eyebrow--link {
    font-size: 11px;
    padding: 5px 10px;
    gap: 6px;
    max-width: 95vw;
  }
  .ovx .m-hero-eyebrow--link .m-hero-badge-tag {
    font-size: 9px;
    padding: 1px 5px;
  }
}

.ovx .m-hero-h1 {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--c-white);
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.22s forwards;
}
.ovx .m-hero-h1 em { font-style: normal; color: var(--c-muted); }

.ovx .m-hero-sub {
  margin-top: 24px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  color: var(--c-muted);
  max-width: 540px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.36s forwards;
}

/* ---------- 7. Shortener Form ---------- */
.ovx .m-composer-wrap {
  width: 100%;
  max-width: 640px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.48s forwards;
}

.ovx .m-composer {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 6px;
  transition: border-color 0.3s;
}
.ovx .m-composer:focus-within { border-color: var(--c-border-hi); }

.ovx .m-composer-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.ovx .m-composer-icon {
  padding: 0 14px;
  color: var(--c-faint);
  font-size: 14px;
  flex-shrink: 0;
}
.ovx .m-composer-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--c-text);
  padding: 14px 0;
  min-width: 0;
}
.ovx .m-composer-submit {
  flex-shrink: 0;
  background: var(--c-white);
  color: var(--c-bg);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.ovx .m-composer-submit:hover { opacity: 0.85; transform: scale(0.98); }
.ovx .m-composer-submit i { font-size: 12px; }

/* Meta row below form */
.ovx .m-composer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 4px;
  font-size: 12.5px;
  color: var(--c-faint);
  flex-wrap: wrap;
  gap: 6px;
}
.ovx .m-composer-meta a { color: var(--c-muted); border-bottom: 1px solid var(--c-border); padding-bottom: 1px; transition: color 0.2s; }
.ovx .m-composer-meta a:hover { color: var(--c-white); }

/* Advanced toggle */
.ovx .m-adv-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--c-faint);
  padding: 8px 14px;
  border-top: 1px solid var(--c-border);
  width: 100%;
  text-align: left;
  transition: color 0.2s;
  margin-top: 2px;
}
.ovx .m-adv-toggle:hover { color: var(--c-muted); }
.ovx .m-adv-chevron { transition: transform 0.25s var(--ease); margin-left: auto; font-size: 10px; }
.ovx .m-adv-toggle[aria-expanded="true"] .m-adv-chevron { transform: rotate(180deg); }

/* Advanced panel */
.ovx .m-adv-panel {
  display: none;
  padding: 16px 14px;
  border-top: 1px solid var(--c-border);
}
.ovx .m-adv-panel.open { display: block; }

/* Advanced Tabs */
.ovx .m-adv-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 20px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.ovx .m-adv-tabs::-webkit-scrollbar { display: none; /* Chrome/Safari */ }
.ovx .m-adv-tab {
  background: transparent;
  border: none;
  color: var(--c-muted);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 4px 6px 4px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.ovx .m-adv-tab:hover { color: var(--c-text); }
.ovx .m-adv-tab.active { color: var(--c-white); }
.ovx .m-adv-tab.active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px 2px 0 0;
}
.ovx .m-adv-tab-content {
  display: none;
  animation: fadeUp 0.3s var(--ease) forwards;
}
.ovx .m-adv-tab-content.active { display: block; }
.ovx .m-adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ovx .m-adv-field { display: flex; flex-direction: column; gap: 5px; }
.ovx .m-adv-field--full { grid-column: 1 / -1; }
.ovx .m-adv-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-faint);
  letter-spacing: 0.03em;
}
.ovx .m-adv-input {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--c-text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.ovx .m-adv-input:focus { border-color: var(--c-border-hi); }
.ovx .m-adv-hint {
  font-size: 11.5px;
  color: var(--c-faint);
  margin-top: 4px;
}
.ovx .m-adv-hint a { color: var(--c-faint); border-bottom: 1px solid var(--c-border); transition: color 0.2s; }
.ovx .m-adv-hint a:hover { color: var(--c-muted); }
.ovx .m-pro-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-bg);
  background: var(--c-white);
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: 5px;
}

/* UTM save btn */
.ovx .m-adv-save {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-faint);
  border: 1px solid var(--c-border);
  padding: 6px 12px;
  border-radius: 7px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.ovx .m-adv-save:hover { color: var(--c-white); border-color: var(--c-border-hi); }

/* Workspace dropdown */
.ovx .m-ws-wrap { position: relative; }
.ovx .m-ws-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--c-faint);
  border: 1px solid var(--c-border);
  border-radius: 7px;
  padding: 5px 10px;
  transition: color 0.2s, border-color 0.2s;
}
.ovx .m-ws-btn:hover { color: var(--c-muted); border-color: var(--c-border-hi); }
.ovx .m-ws-panel {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border-hi);
  border-radius: 10px;
  padding: 4px;
  min-width: 160px;
  display: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 10;
}
.ovx .m-ws-panel.open { display: block; }

/* Result */
.ovx .m-result {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 20px 20px;
  margin-top: 10px;
  animation: fadeUp 0.4s var(--ease);
}
.ovx .m-result-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.ovx .m-result-title i { color: var(--c-white); }
.ovx .m-result-url {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  word-break: break-all;
}
.ovx .m-result-url:hover { text-decoration: underline; }
.ovx .m-result-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Status */
.ovx .m-status { font-size: 13px; padding: 10px 0; color: var(--c-muted); }
.ovx .m-status.error,
.ovx .m-status.is-error { color: #f87171; }
.ovx .m-status.ok,
.ovx .m-status.is-ok { color: #86efac; }

/* Trust row */
.ovx .m-trust-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--c-faint);
  margin-top: 18px;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease) 0.6s forwards;
}
.ovx .m-trust-row i { font-size: 12px; }

/* ---------- 8. Section shared ---------- */
.ovx .m-section {
  padding: 100px 0;
  position: relative;
}
.ovx .m-section-inner { padding: 0 28px; }
.ovx .m-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: 14px;
}
.ovx .m-section-h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 18px;
}
.ovx .m-section-sub {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 500px;
  line-height: 1.65;
}

/* ---------- 9. Feature Bento Grid ---------- */
.ovx .m-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.ovx .m-bento-card {
  background: var(--c-surface);
  padding: 22px 20px;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ovx .m-bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
  pointer-events: none;
}
.ovx .m-bento-card:hover { background: var(--c-surface-2); }
.ovx .m-bento-card:hover::after { background: rgba(255,255,255,0.02); }

.ovx .m-bento-card--wide { grid-column: span 2; }
.ovx .m-bento-card--full { grid-column: 1 / -1; }
.ovx .m-bento-card--tall { grid-row: span 2; }

.ovx .m-ws-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.ovx .m-ws-card-info {
  display: flex;
  flex-direction: column;
}
.ovx .m-ws-card-split .m-ws-mock {
  margin-bottom: 0;
}

.ovx .m-bento-glyph {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 7px;
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.ovx .m-bento-num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-faint);
}
.ovx .m-bento-card-h {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.ovx .m-bento-card-p {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.5;
}
.ovx .m-bento-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--c-faint);
  margin-top: 10px;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.ovx .m-bento-card-link:hover { color: var(--c-white); border-color: var(--c-border-hi); }

/* Mini analytics mockup inside bento — refined & compact */
.ovx .m-bento-vis {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
}
.ovx .m-bento-vis-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--c-muted);
  padding: 3px 0;
  border-bottom: 1px solid var(--c-border);
}
.ovx .m-bento-vis-row:last-child { border-bottom: none; }
.ovx .m-bento-vis-row strong { color: var(--c-white); font-weight: 600; font-size: 10.5px; }
.ovx .m-bar-track {
  height: 2.5px;
  background: var(--c-surface-2);
  border-radius: 100px;
  margin-top: 6px;
  overflow: hidden;
}
.ovx .m-bar-fill {
  height: 100%;
  background: var(--c-white);
  border-radius: 100px;
  width: 0;
  transition: width 1.2s var(--ease);
}

/* ---------- 10. Steps (How it works) ---------- */
.ovx .m-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.ovx .m-steps::before {
  content: '';
  position: absolute;
  top: 22px; left: 16.6%; right: 16.6%;
  height: 1px;
  background: var(--c-border);
}
.ovx .m-step { padding: 0 24px 0 0; }
.ovx .m-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.ovx .m-step:hover .m-step-num {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-bg);
}
.ovx .m-step-h {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ovx .m-step-p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.65;
}
.ovx .m-steps-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- 11. Stats Band ---------- */
.ovx .m-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.ovx .m-stat {
  padding: 44px 28px;
  border-right: 1px solid var(--c-border);
  text-align: center;
}
.ovx .m-stat:last-child { border-right: none; }
.ovx .m-stat-val {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 8px;
}
.ovx .m-stat-label {
  font-size: 13px;
  color: var(--c-muted);
}

/* ---------- 12. Tools Duo ---------- */
.ovx .m-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  overflow: visible;
  margin-top: 56px;
}
.ovx .m-duo-card {
  background: var(--c-surface);
  padding: 36px 32px;
  transition: background 0.3s;
}
.ovx .m-duo-card:first-child {
  border-top-left-radius: 19px;
  border-bottom-left-radius: 19px;
}
.ovx .m-duo-card:last-child {
  border-top-right-radius: 19px;
  border-bottom-right-radius: 19px;
}
.ovx .m-duo-card:hover { background: var(--c-surface-2); }
.ovx .m-duo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ovx .m-duo-glyph {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-size: 16px;
  color: var(--c-muted);
}
.ovx .m-duo-glyph--red { color: #f87171; border-color: rgba(248,113,113,0.2); }
.ovx .m-duo-h { font-size: 17px; font-weight: 600; color: var(--c-white); letter-spacing: -0.02em; }
.ovx .m-duo-p { font-size: 14px; color: var(--c-muted); line-height: 1.65; margin-bottom: 22px; }

/* ---------- Monolith Color Picker (aligned with DESIGN.md & native layout) ---------- */
.ovx .m-color-row {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  margin-bottom: 14px;
}
.ovx .m-color-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ovx .m-color-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  user-select: none;
}
.ovx .m-color-trigger:hover,
.ovx .m-color-trigger:focus-visible {
  border-color: var(--c-border-hi);
  background: var(--c-surface-2);
}
.ovx .m-color-trigger[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.ovx .m-color-swatch-box {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.ovx .m-color-hex-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Monolith Color Picker Popover */
.ovx .m-cp-popover,
.m-cp-popover {
  position: fixed;
  z-index: 90000;
  width: 240px;
  background: #111111;
  border: 1px solid var(--c-border-hi);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  user-select: none;
  animation: mCpFadeIn 0.15s var(--ease);
}
.ovx .m-cp-popover,
.ovx .m-cp-popover * {
  cursor: none;
}
.ovx .m-cp-popover[hidden],
.m-cp-popover[hidden] {
  display: none !important;
}
@keyframes mCpFadeIn {
  from { opacity: 0; transform: translateY(-4px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 2D Saturation/Value Box */
.ovx .m-cp-sat-box {
  position: relative;
  width: 100%;
  height: 136px;
  background-color: #ff0000;
  overflow: hidden;
}
.ovx .m-cp-sat-white {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}
.ovx .m-cp-sat-black {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000000, rgba(0, 0, 0, 0));
}
.ovx .m-cp-sat-pointer {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.9), inset 0 0 2px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Controls Row */
.ovx .m-cp-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px 12px;
}
.ovx .m-cp-eyedropper-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.ovx .m-cp-eyedropper-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-border-hi);
  color: var(--c-white);
}
.ovx .m-cp-preview-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.ovx .m-cp-hue-slider {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 9999px;
  background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}
.ovx .m-cp-hue-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Inputs Row */
.ovx .m-cp-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 12px 12px;
}
.ovx .m-cp-mode-rgb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.ovx .m-cp-mode-hex {
  display: flex;
  align-items: center;
  flex: 1;
}
.ovx .m-cp-input-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.ovx .m-cp-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  color: var(--c-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 4px 2px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -moz-appearance: textfield;
}
.ovx .m-cp-input::-webkit-outer-spin-button,
.ovx .m-cp-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ovx .m-cp-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.ovx .m-cp-input--hex {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  text-align: left;
}
.ovx .m-cp-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--c-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.ovx .m-cp-switcher-btn {
  width: 24px;
  height: 24px;
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--c-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-top: -14px;
}
.ovx .m-cp-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--c-border);
  color: var(--c-white);
}

/* QR output */
.ovx .m-qr-output { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ovx .m-qr-output img { border-radius: 10px; border: 1px solid var(--c-border); }

/* Report message */
.ovx .m-report-msg { font-size: 13px; color: var(--c-muted); margin-top: 10px; }
.ovx .m-report-msg.error,
.ovx .m-report-msg.is-error { color: #f87171; }
.ovx .m-report-msg.ok,
.ovx .m-report-msg.is-ok { color: #86efac; }

/* ---------- 13. Buttons (shared) ---------- */
.ovx .m-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.ovx .m-cta--white { background: var(--c-white); color: var(--c-bg); }
.ovx .m-cta--white:hover { color: var(--c-bg); opacity: 0.85; transform: translateY(-1px); }
.ovx .m-cta--outline {
  background: none;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}
.ovx .m-cta--outline:hover {
  color: var(--c-white);
  border-color: var(--c-border-hi);
  transform: translateY(-1px);
}
.ovx .m-cta--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.ovx .m-cta--danger:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}
.ovx .m-cta--sm { font-size: 13px; padding: 8px 16px; }

/* Plain text link */
.ovx .m-link {
  font-size: 14px;
  color: var(--c-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.ovx .m-link:hover { color: var(--c-white); border-color: var(--c-border-hi); }

/* ---------- 14. Footer ---------- */
.ovx .m-footer {
  border-top: 1px solid var(--c-border);
  padding: 60px 0 40px;
}
.ovx .m-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.ovx .m-footer-brand {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ovx .m-footer-brand span { opacity: 0.4; }
.ovx .m-footer-tagline {
  font-size: 13px;
  color: var(--c-faint);
  max-width: 200px;
}
.ovx .m-footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.ovx .m-footer-col-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: 14px;
}
.ovx .m-footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 9px;
  transition: color 0.2s;
}
.ovx .m-footer-col a:hover { color: var(--c-white); }
.ovx .m-footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ovx .m-footer-copy {
  font-size: 12.5px;
  color: var(--c-faint);
}
.ovx .m-footer-note {
  font-size: 12.5px;
  color: var(--c-faint);
  max-width: 420px;
  line-height: 1.55;
}
.ovx .m-footer-note a { color: var(--c-faint); border-bottom: 1px solid var(--c-border); transition: color 0.2s; }
.ovx .m-footer-note a:hover { color: var(--c-muted); }

/* ---------- 15. Cookie Banner ---------- */
.ovx .m-cookie {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-surface);
  border: 1px solid var(--c-border-hi);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--c-muted);
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: slideUp 0.4s var(--ease);
  white-space: nowrap;
}
.ovx .m-cookie[hidden] { display: none; }
.ovx .m-cookie a { color: var(--c-muted); border-bottom: 1px solid var(--c-border); transition: color 0.2s; }
.ovx .m-cookie a:hover { color: var(--c-white); }

/* Promo float */
.ovx .m-promo {
  position: fixed;
  bottom: 20px; right: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-hi);
  border-radius: 14px;
  overflow: hidden;
  z-index: 150;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: mPromoIn 0.5s var(--ease) 3s both;
  max-width: 320px;
}
.ovx .m-promo[hidden],
.ovx .m-promo:not(.is-visible) {
  display: none !important;
}
.ovx .m-promo-close {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 16px;
  color: var(--c-faint);
  transition: color 0.2s;
  z-index: 1;
}
.ovx .m-promo-close:hover { color: var(--c-white); }
.ovx .m-promo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px 14px 14px;
}
.ovx .m-promo-logo { border-radius: 8px; width: 36px; height: 36px; }
.ovx .m-promo-body { display: flex; flex-direction: column; gap: 2px; }
.ovx .m-promo-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-bg);
  background: var(--c-white);
  border-radius: 4px;
  padding: 1px 5px;
  display: inline-block;
  width: fit-content;
}
.ovx .m-promo-title { font-size: 13px; font-weight: 600; color: var(--c-white); }
.ovx .m-promo-sub { font-size: 11.5px; color: var(--c-muted); }

/* ---------- 16. Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes mPromoIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal */
.ovx .m-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.ovx .m-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.ovx .m-reveal-d1 { transition-delay: 0.1s; }
.ovx .m-reveal-d2 { transition-delay: 0.18s; }
.ovx .m-reveal-d3 { transition-delay: 0.26s; }

/* ---------- 17. Announcement ribbon ---------- */
.ovx .m-ribbon {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 9px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ovx .m-ribbon i { font-size: 11px; color: var(--c-faint); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .ovx .m-nav-inner { padding: 0 20px; }
  .ovx .shell { padding: 0 20px; }
  .ovx .shell-wide { padding: 0 20px; }
  .ovx .m-section-inner { padding: 0 20px; }
}

@media (max-width: 900px) {
  /* Navigation */
  .ovx .m-nav-links { display: none; }
  .ovx .m-burger { display: flex; }
  .ovx .m-brand { margin-left: 0; }

  /* Bento Grid */
  .ovx .m-bento { grid-template-columns: 1fr 1fr; }
  .ovx .m-bento-card--wide { grid-column: 1 / -1; }
  .ovx .m-bento-card--full { grid-column: 1 / -1; }
  .ovx .m-ws-card-split { grid-template-columns: 1fr; gap: 20px; }

  /* Steps */
  .ovx .m-steps { grid-template-columns: 1fr; gap: 36px; }
  .ovx .m-steps::before { display: none; }
  .ovx .m-step { padding: 0; }

  /* Stats Band */
  .ovx .m-stats { grid-template-columns: 1fr 1fr; }
  .ovx .m-stat { border-right: none; border-bottom: 1px solid var(--c-border); padding: 32px 20px; }
  .ovx .m-stat:nth-child(odd) { border-right: 1px solid var(--c-border); }
  .ovx .m-stat:nth-last-child(-n+2) { border-bottom: none; }

  /* Tools Duo */
  .ovx .m-duo { grid-template-columns: 1fr; }
  .ovx .m-duo-card:first-child {
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .ovx .m-duo-card:last-child {
    border-bottom-left-radius: 19px;
    border-bottom-right-radius: 19px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 1px solid var(--c-border);
  }

  /* Footer */
  .ovx .m-footer-top { flex-direction: column; gap: 36px; }
  .ovx .m-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 36px; width: 100%; }
}

@media (max-width: 600px) {
  /* Layout Containers */
  .ovx .shell,
  .ovx .shell-wide,
  .ovx .m-nav-inner,
  .ovx .m-section-inner {
    padding: 0 16px;
  }
  .ovx .m-section { padding: 68px 0; }

  /* Hero */
  .ovx .m-hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 40px) 16px 64px;
  }
  .ovx .m-hero-eyebrow {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 22px;
  }
  .ovx .m-hero-h1 {
    font-size: clamp(30px, 8.8vw, 44px);
    letter-spacing: -0.035em;
    line-height: 1.08;
    word-break: break-word;
  }
  .ovx .m-hero-sub {
    font-size: 14.5px;
    margin-top: 16px;
    line-height: 1.55;
  }

  /* Composer Form */
  .ovx .m-composer-wrap { margin-top: 32px; }
  .ovx .m-composer { padding: 5px; border-radius: 14px; }
  .ovx .m-composer-icon { padding: 0 10px; font-size: 13px; }
  .ovx .m-composer-input {
    font-size: 16px; /* iOS Safari auto-zoom prevention */
    padding: 10px 0;
    min-width: 0;
    text-overflow: ellipsis;
  }
  .ovx .m-composer-submit {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .ovx .m-composer-submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .ovx .m-composer-submit i { font-size: 14px; margin: 0; }

  /* Composer Meta */
  .ovx .m-composer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 8px 4px;
    font-size: 12px;
  }

  /* Advanced Panel */
  .ovx .m-adv-panel { padding: 14px 10px; }
  .ovx .m-adv-tabs {
    gap: 12px;
    padding-bottom: 8px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .ovx .m-adv-tab { font-size: 12px; }
  .ovx .m-adv-grid { grid-template-columns: 1fr; gap: 10px; }
  .ovx .m-adv-field--full { grid-column: 1; }
  .ovx .m-adv-input {
    font-size: 16px; /* iOS Safari auto-zoom prevention */
    padding: 10px 12px;
    min-height: 42px;
  }

  /* Result Card */
  .ovx .m-result { padding: 18px 16px; }
  .ovx .m-result-url { font-size: 15px; }

  /* Bento Grid */
  .ovx .m-bento {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .ovx .m-bento-card { padding: 24px 18px; }
  .ovx .m-ws-card-split { gap: 16px; }
  .ovx .m-ws-mock { padding: 8px 10px; }
  .ovx .m-ws-mock-row { font-size: 11px; gap: 6px; }
  .ovx .m-ws-mock-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ovx .m-bento-vis { padding: 8px 10px; }

  /* Stats Band */
  .ovx .m-stat { padding: 24px 12px; }
  .ovx .m-stat-val { font-size: clamp(24px, 6.5vw, 36px); }
  .ovx .m-stat-label { font-size: 12px; }

  /* Tools Duo */
  .ovx .m-duo-card { padding: 26px 18px; }
  .ovx .m-qr-output img { max-width: 140px; height: auto; }

  /* Buttons & CTAs */
  .ovx .m-cta { padding: 10px 18px; font-size: 13.5px; }
  .ovx .m-steps-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ovx .m-steps-cta .m-link { justify-content: center; }

  /* Navigation End */
  .ovx .m-nav-end .m-btn-ghost,
  .ovx .m-nav-end .m-btn-solid {
    display: none;
  }
  .ovx .m-nav-end { gap: 8px; }

  /* Footer */
  .ovx .m-footer { padding: 48px 0 32px; }
  .ovx .m-footer-cols { gap: 28px; }
  .ovx .m-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Cookie Banner & Promo */
  .ovx .m-cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    white-space: normal;
    bottom: 12px;
    left: 12px;
    right: 12px;
    transform: none;
    padding: 14px 16px;
    gap: 12px;
  }
  .ovx .m-cookie .m-cta { width: 100%; justify-content: center; }
  .ovx .m-promo {
    bottom: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
  }

  @keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 400px) {
  /* Ultra-narrow devices (down to 320px) */
  .ovx .shell,
  .ovx .shell-wide,
  .ovx .m-nav-inner,
  .ovx .m-section-inner {
    padding: 0 12px;
  }
  .ovx .m-hero { padding: calc(var(--nav-h) + 32px) 12px 52px; }

  /* Color row stacking for QR tool */
  .ovx .m-color-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ovx .m-color-field { width: 100%; }

  /* Result actions stack */
  .ovx .m-result-actions { flex-direction: column; }
  .ovx .m-result-actions .m-cta { width: 100%; justify-content: center; }
}

/* Announcement offset hero */
.ovx.has-ribbon .m-hero { padding-top: calc(var(--nav-h) + 80px + 36px); }

/* ============================================================
   19. Custom Cursor — Rounded Arrow Pointer (Mouse Only)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .ovx.has-custom-cursor { cursor: none; }
  .ovx.has-custom-cursor a,
  .ovx.has-custom-cursor button,
  .ovx.has-custom-cursor select,
  .ovx.has-custom-cursor label[for],
  .ovx.has-custom-cursor [role="button"] { cursor: none; }
  .ovx.has-custom-cursor input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
  .ovx.has-custom-cursor textarea {
    cursor: text;
  }
}

@media (hover: none) {
  #mCursorArrow,
  #mCursorRing,
  #cursorGlow {
    display: none !important;
  }
  .ovx.has-custom-cursor,
  .ovx.has-custom-cursor * {
    cursor: auto !important;
  }
}

/* Arrow SVG cursor — tip aligned to actual mouse position */
#mCursorArrow {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000000;
  will-change: transform;
  transform: translate(0px, 0px);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
  transition: opacity 0.25s, filter 0.2s;
  opacity: 1;
}
#mCursorArrow svg {
  display: block;
  transition: transform 0.2s var(--ease);
  transform-origin: 4px 3px; /* tip of arrow */
}
#mCursorArrow.hover   svg { transform: scale(1.15); }
#mCursorArrow.clicking svg { transform: scale(0.88); }
#mCursorArrow.hidden { opacity: 0; }

/* Soft trailing glow that follows with lerp lag */
#mCursorRing {
  position: fixed;
  top: 0; left: 0;
  width: 48px; height: 48px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999999;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity 0.25s;
}
#mCursorRing.hover {
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, transparent 70%);
}
#mCursorRing.clicking {
  width: 32px; height: 32px;
}
#mCursorRing.hidden { opacity: 0; }


/* ============================================================
   20. Scroll Progress Bar
   ============================================================ */
#mScrollBar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-border);
  z-index: 200;
}
#mScrollBar-fill {
  height: 100%;
  background: var(--c-white);
  width: 0%;
  transition: width 0.05s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   21. Ripple Effect on Buttons
   ============================================================ */
.ovx .m-cta, .ovx .m-composer-submit, .ovx .m-btn-solid {
  position: relative;
  overflow: hidden;
}
.ovx .m-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: rippleAnim 0.55s var(--ease);
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   22. Workspace mock visual inside bento — compact & refined
   ============================================================ */
.ovx .m-ws-mock {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
}
.ovx .m-ws-mock-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 10.5px;
  color: var(--c-muted);
}
.ovx .m-ws-mock-row:last-of-type { border-bottom: none; }
.ovx .m-ws-mock-avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hi);
  display: flex; align-items: center; justify-content: center;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--c-text);
  flex-shrink: 0;
}
.ovx .m-ws-mock-avatar--green { background: rgba(134,239,172,0.1); color: #86efac; border-color: rgba(134,239,172,0.2); }
.ovx .m-ws-mock-avatar--blue  { background: rgba(147,197,253,0.1); color: #93c5fd; border-color: rgba(147,197,253,0.2); }
.ovx .m-ws-mock-role {
  margin-left: auto;
  font-size: 9px;
  color: var(--c-faint);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 0 4px;
}
.ovx .m-ws-mock-name { color: var(--c-text); font-size: 10.5px; }
.ovx .m-ws-mock-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  padding-top: 3px;
  font-size: 10px;
  color: var(--c-faint);
}
.ovx .m-ws-mock-footer span:last-child {
  color: var(--c-muted);
  transition: color 0.2s;
}
.ovx .m-ws-mock-footer span:last-child:hover { color: var(--c-white); }

/* ============================================================
   23. Card 3D Tilt — applied via JS
   ============================================================ */
.ovx .m-bento-card, .ovx .m-duo-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0) rotateY(0);
  will-change: transform;
}
/* Disable tilt on mobile */
@media (hover: none) {
  .ovx .m-bento-card, .ovx .m-duo-card { transform: none !important; }
}

/* ============================================================
   24. Magnetic Buttons
   ============================================================ */
.ovx .m-magnetic { display: inline-flex; transition: transform 0.3s var(--ease); }

/* ============================================================
   25. Hero title styling & animation
   ============================================================ */
.ovx .m-hero-h1 {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.22s forwards;
}
.ovx .m-hero-h1 span {
  color: var(--c-white);
}
.ovx .m-hero-h1 em {
  font-style: normal;
  color: var(--c-muted);
  transition: color 0.3s var(--ease);
}
.ovx .m-hero-h1:hover em {
  color: var(--c-text);
}

/* ============================================================
   26. Floating glyph animation
   ============================================================ */
.ovx .m-bento-glyph {
  animation: floatGlyph 4s ease-in-out infinite;
}
.ovx .m-bento-card:nth-child(2) .m-bento-glyph { animation-delay: 0.6s; }
.ovx .m-bento-card:nth-child(3) .m-bento-glyph { animation-delay: 1.2s; }
.ovx .m-bento-card:nth-child(4) .m-bento-glyph { animation-delay: 0.3s; }
.ovx .m-bento-card:nth-child(5) .m-bento-glyph { animation-delay: 0.9s; }
.ovx .m-bento-card:nth-child(6) .m-bento-glyph { animation-delay: 1.5s; }
@keyframes floatGlyph {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ============================================================
   27. Underline hover links — animated
   ============================================================ */
.ovx .m-footer-col a,
.ovx .m-bento-card-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
  padding-bottom: 1px;
}
.ovx .m-footer-col a:hover,
.ovx .m-bento-card-link:hover { background-size: 100% 1px; }

/* ============================================================
   28. Step circle pulse on hover
   ============================================================ */
.ovx .m-step:hover .m-step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  animation: stepPulse 0.6s var(--ease) forwards;
}
@keyframes stepPulse {
  from { opacity: 1; transform: scale(0.8); }
  to   { opacity: 0; transform: scale(1.4); }
}

/* ============================================================
   29. Input glow on focus
   ============================================================ */
.ovx .m-composer:focus-within {
  box-shadow: 0 0 0 1px var(--c-border-hi), 0 0 30px rgba(255,255,255,0.04);
}
.ovx .m-adv-input:focus {
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

/* ============================================================
   30. Stat value counter flash
   ============================================================ */
.ovx .m-stat-val.counted {
  animation: countFlash 0.3s var(--ease);
}
@keyframes countFlash {
  0%   { color: var(--c-faint); }
  100% { color: var(--c-white); }
}

/* ============================================================
   31. Eyebrow pill pulse dot
   ============================================================ */
.ovx .m-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--c-faint);
  border-radius: 50%;
  margin-right: 2px;
  animation: eyebrowPulse 2.5s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================================
   32. Bento card border glow on hover
   ============================================================ */
.ovx .m-bento-card {
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s var(--ease);
}
.ovx .m-bento-card:hover {
  box-shadow: inset 0 0 0 1px var(--c-border-hi);
}

/* ============================================================
   33. Hero grid fade mask animation
   ============================================================ */
.ovx .m-hero::before {
  animation: gridFade 8s ease-in-out infinite alternate;
}
@keyframes gridFade {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ============================================================
   34. Navbar brand text hover
   ============================================================ */
.ovx .m-brand span {
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.ovx .m-brand:hover span {
  opacity: 0.6;
  transform: translateX(2px);
}

/* ============================================================
   35. CTA button arrow bounce on hover
   ============================================================ */
.ovx .m-cta i, .ovx .m-composer-submit i {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.ovx .m-cta:hover i, .ovx .m-composer-submit:hover i {
  transform: translateX(4px);
}

/* ============================================================
   36. Report/QR glyph icon hover spin
   ============================================================ */
.ovx .m-duo-glyph {
  transition: transform 0.4s var(--ease), border-color 0.3s, color 0.3s;
}
.ovx .m-duo-card:hover .m-duo-glyph { transform: rotate(8deg) scale(1.08); }

/* ============================================================
   37. Nav action buttons scale on hover
   ============================================================ */
.ovx .m-btn-solid {
  transition: opacity 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.ovx .m-btn-solid:hover {
  box-shadow: 0 4px 20px rgba(255,255,255,0.12);
}

/* ============================================================
   38. Mobile — Reduced Motion
   On touch / coarse-pointer devices (phones, tablets) we tone
   down every heavy animation so the page feels snappy rather
   than busy.
   ============================================================ */
@media (hover: none), (pointer: coarse) {

  /* --- Scroll-reveal: smaller lift, faster --- */
  .ovx .m-reveal {
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .ovx .m-reveal-d1 { transition-delay: 0.05s; }
  .ovx .m-reveal-d2 { transition-delay: 0.09s; }
  .ovx .m-reveal-d3 { transition-delay: 0.13s; }

  /* --- Hero entrance animations: less distance, shorter --- */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .ovx .m-hero-eyebrow { animation-duration: 0.4s; animation-delay: 0.05s; }
  .ovx .m-hero-h1      { animation-duration: 0.4s; animation-delay: 0.12s; }
  .ovx .m-hero-sub     { animation-duration: 0.4s; animation-delay: 0.2s; }
  .ovx .m-composer-wrap { animation-duration: 0.4s; animation-delay: 0.28s; }
  .ovx .m-trust-row     { animation-duration: 0.4s; animation-delay: 0.36s; }

  /* --- Disable infinite looping animations (battery & jank) --- */
  .ovx .m-bento-glyph {
    animation: none;
    transform: none;
  }
  .ovx .m-hero::before {
    animation: none;
    opacity: 0.8;
  }
  .ovx .m-hero-eyebrow::before {
    animation: none;
    opacity: 0.6;
  }
  .ovx .m-promo {
    animation-duration: 0.3s;
    animation-delay: 1s;
  }

  /* --- Bar fill: faster --- */
  .ovx .m-bar-fill {
    transition-duration: 0.6s;
  }

  /* --- Mobile menu slide: slightly faster --- */
  .ovx .m-mobile-menu {
    transition-duration: 0.25s;
  }

  /* --- Nav backdrop: faster --- */
  .ovx .m-nav {
    transition-duration: 0.15s;
  }

  /* --- Cookie / promo entrance: smaller offset --- */
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes mPromoIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* --- Bento / duo cards: no expensive 3D will-change --- */
  .ovx .m-bento-card,
  .ovx .m-duo-card {
    will-change: auto;
  }

  /* --- Ripple: faster --- */
  .ovx .m-ripple {
    animation-duration: 0.35s;
  }
}

/* ============================================================
   39. Monolith Conversion, Gateway & App Shells
   (redirect-consent, pricing, bot-auth, notifications, 404)
   ============================================================ */

/* Generic Page Shell */
.ovx .m-page-shell {
  min-height: calc(100vh - var(--nav-h));
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.ovx .m-page-shell--top {
  justify-content: flex-start;
  padding-top: calc(var(--nav-h) + 40px);
}
.ovx .m-gateway-wrap {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}
.ovx .m-gateway-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.ovx .m-gateway-card:hover {
  border-color: var(--c-border-hi);
}
.ovx .m-icon-glyph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--c-white);
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease);
}
.ovx .m-gateway-card:hover .m-icon-glyph {
  transform: scale(1.05);
}
.ovx .m-icon-glyph--warning {
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.25);
  background: rgba(250, 204, 21, 0.06);
}
.ovx .m-icon-glyph--danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.06);
}
.ovx .m-icon-glyph--success {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.06);
}
.ovx .m-gateway-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-white);
  margin-bottom: 10px;
}
.ovx .m-gateway-sub {
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.ovx .m-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 13.5px;
  color: var(--c-text);
  margin-bottom: 24px;
}
.ovx .m-target-chip strong {
  color: var(--c-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.ovx .m-legal-note {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.ovx .m-legal-note a {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-border-hi);
  transition: opacity 0.2s;
}
.ovx .m-legal-note a:hover {
  opacity: 0.8;
}
.ovx .m-actions-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.ovx .m-alert-box {
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 24px;
  line-height: 1.55;
  text-align: center;
}
.ovx .m-alert-box--warning {
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(250, 204, 21, 0.05);
  color: #fde047;
}

/* Pricing Page */
.ovx .m-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.ovx .m-plan-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.ovx .m-plan-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}
.ovx .m-plan-card--pro {
  border-color: rgba(255,255,255,0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(17,17,17,1) 100%);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.ovx .m-plan-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-white);
  color: #000;
  padding: 4px 10px;
  border-radius: 6px;
}
.ovx .m-plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}
.ovx .m-plan-desc {
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.ovx .m-plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.ovx .m-plan-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-white);
}
.ovx .m-plan-period {
  font-size: 14px;
  color: var(--c-muted);
}
.ovx .m-plan-features {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}
.ovx .m-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.5;
}
.ovx .m-plan-features li i {
  color: var(--c-white);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}
.ovx .m-plan-cta {
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
}

/* Bot Auth Page */
.ovx .m-bot-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.ovx .m-bot-card:hover {
  border-color: var(--c-border-hi);
}
.ovx .m-bot-avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--c-white);
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease);
}
.ovx .m-bot-card:hover .m-bot-avatar {
  transform: scale(1.04);
}
.ovx .m-bot-avatar--telegram {
  color: #229ed9;
  background: rgba(34, 158, 217, 0.08);
  border-color: rgba(34, 158, 217, 0.25);
}
.ovx .m-bot-avatar--discord {
  color: #5865f2;
  background: rgba(88, 101, 242, 0.08);
  border-color: rgba(88, 101, 242, 0.25);
}
.ovx .m-bot-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 24px;
}
.ovx .m-bot-user-pill i {
  color: var(--c-muted);
  font-size: 13px;
}
.ovx .m-bot-status-glyph {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.ovx .m-bot-status-glyph--success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.ovx .m-bot-status-glyph--danger {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
}
.ovx .m-bot-status-glyph--info {
  color: var(--c-white);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hi);
}
.ovx .m-bot-pairing-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 12px;
}
.ovx .m-bot-pairing-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ovx .m-bot-pairing-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-faint);
}
.ovx .m-bot-pairing-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ovx .m-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.ovx .m-copy-btn:hover {
  border-color: var(--c-border-hi);
  color: var(--c-white);
}
.ovx .m-copy-btn.copied {
  border-color: rgba(74, 222, 128, 0.4);
  color: #4ade80;
}
.ovx .m-bot-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  text-align: left;
}
.ovx .m-bot-step {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 14px;
}
.ovx .m-bot-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-faint);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.ovx .m-bot-step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-white);
}
.ovx .m-bot-account-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.ovx .m-bot-account-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 15px;
  flex-shrink: 0;
}
.ovx .m-bot-account-meta {
  min-width: 0;
  flex: 1;
}
.ovx .m-bot-account-label {
  font-size: 11px;
  color: var(--c-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ovx .m-bot-account-email {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ovx .m-bot-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.ovx .m-bot-feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.ovx .m-bot-feature-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}
.ovx .m-bot-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--c-white);
  margin-bottom: 16px;
}
.ovx .m-bot-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}
.ovx .m-bot-feature-desc {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}

/* Notifications Page */
.ovx .m-notif-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 36px 32px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  transition: border-color 0.25s var(--ease);
}
.ovx .m-notif-card:hover {
  border-color: var(--c-border-hi);
}
.ovx .m-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 24px;
}
.ovx .m-notif-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-white);
}
.ovx .m-notif-counter,
.ovx .notif-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-white);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.ovx .m-notif-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ovx .notif-item {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
  position: relative;
}
.ovx .notif-item:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-1px);
}
.ovx .notif-item.notif-unread {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.03);
}
.ovx .notif-item.notif-unread::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}
.ovx .notif-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 6px;
  padding-right: 24px;
  letter-spacing: -0.01em;
}
.ovx .notif-body {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.ovx .notif-links {
  font-size: 12.5px;
  color: var(--c-faint);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ovx .notif-link {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ovx .notif-label {
  color: var(--c-faint);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.ovx .notif-value {
  color: var(--c-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}
.ovx .notif-meta {
  font-size: 11.5px;
  color: var(--c-faint);
  margin-top: 6px;
}
.ovx .m-notif-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-muted);
  font-size: 14.5px;
}
.ovx .d-none,
.ovx [hidden] {
  display: none !important;
}

/* 404 Page */
.ovx .m-404-card {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  padding: 40px 24px;
}
.ovx .m-404-code {
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--c-white);
  margin-bottom: 12px;
  opacity: 0.9;
  user-select: none;
}
.ovx .m-404-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin-bottom: 12px;
}
.ovx .m-404-desc {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .ovx .m-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .ovx .m-bot-features-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .ovx .m-gateway-card {
    padding: 32px 20px;
  }
  .ovx .m-bot-card {
    padding: 32px 20px;
  }
  .ovx .m-notif-card {
    padding: 24px 16px;
  }
  .ovx .m-actions-row {
    flex-direction: column;
    width: 100%;
  }
  .ovx .m-actions-row .m-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   40. Monolith Auth & Gateway System
   (login, register, forgot-password, reset-password, proceed)
   ============================================================ */

.ovx .m-auth-shell {
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 48px) 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ovx .m-auth-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.ovx .m-auth-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.ovx .m-auth-head {
  text-align: center;
  margin-bottom: 28px;
  animation: fadeUp 0.6s var(--ease) forwards;
}

.ovx .m-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ovx .m-auth-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--c-white);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.ovx .m-auth-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin-bottom: 8px;
  line-height: 1.25;
}

.ovx .m-auth-sub {
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.55;
  max-width: 360px;
  margin: 0 auto;
}

.ovx .m-auth-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.ovx .m-auth-card:hover {
  border-color: var(--c-border-hi);
  box-shadow: 0 28px 72px rgba(0,0,0,0.7), 0 0 40px rgba(255,255,255,0.02);
}

.ovx .m-auth-glyph {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--c-white);
  margin: 0 auto 24px;
  transition: transform 0.3s var(--ease);
}

.ovx .m-auth-card:hover .m-auth-glyph {
  transform: scale(1.06);
}

/* Auth Fields */
.ovx .m-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  text-align: left;
}

.ovx .m-auth-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-faint);
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ovx .m-auth-label a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.ovx .m-auth-label a:hover {
  color: var(--c-white);
}

.ovx .m-auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ovx .m-auth-input-icon {
  position: absolute;
  left: 14px;
  color: var(--c-faint);
  font-size: 13.5px;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 2;
}

.ovx .m-auth-input-wrap:focus-within .m-auth-input-icon {
  color: var(--c-white);
}

.ovx .m-auth-input {
  width: 100%;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  color: var(--c-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ovx .m-auth-input--noicon {
  padding-left: 14px;
}

.ovx .m-auth-input:focus {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.ovx .m-auth-input::placeholder {
  color: var(--c-faint);
}

.ovx .m-auth-submit {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 6px;
  cursor: pointer;
}

.ovx .m-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--c-faint);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ovx .m-auth-divider::before,
.ovx .m-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

.ovx .m-auth-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.ovx .m-auth-oauth-btn:hover {
  border-color: var(--c-border-hi);
  background: rgba(255,255,255,0.06);
  color: var(--c-white);
  transform: translateY(-1px);
}

.ovx .m-auth-sso-drawer {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hi);
  border-radius: 12px;
  padding: 18px;
  margin-top: 14px;
  display: none;
  animation: fadeUp 0.25s var(--ease) forwards;
}

.ovx .m-auth-sso-drawer.open {
  display: block;
}

.ovx .m-auth-sso-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ovx .m-auth-sso-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ovx .m-auth-sso-close {
  color: var(--c-faint);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.ovx .m-auth-sso-close:hover {
  color: var(--c-white);
}

.ovx .m-auth-sso-hint {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.ovx .m-auth-msg {
  text-align: center;
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.5;
  padding: 0 4px;
}

.ovx .m-auth-msg--error,
.ovx .text-danger.auth-message,
.ovx .m-auth-msg.text-danger,
.ovx .text-danger {
  color: #f87171 !important;
}

.ovx .m-auth-msg--success,
.ovx .text-success.auth-message,
.ovx .m-auth-msg.text-success,
.ovx .text-success {
  color: #4ade80 !important;
}

.ovx .m-auth-msg--muted,
.ovx .text-muted.auth-message,
.ovx .m-auth-msg.text-muted,
.ovx .text-muted {
  color: var(--c-muted) !important;
}

.ovx .text-center {
  text-align: center;
}

.ovx .small {
  font-size: 13px;
}

.ovx .m-auth-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.ovx .m-auth-footer-text {
  font-size: 13.5px;
  color: var(--c-muted);
}

.ovx .m-auth-footer-text a {
  color: var(--c-white);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-border-hi);
  margin-left: 4px;
  transition: opacity 0.2s;
}

.ovx .m-auth-footer-text a:hover {
  opacity: 0.8;
}

.ovx .m-auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Multi-step registration */
.ovx .m-auth-step {
  display: none;
}

.ovx .m-auth-step.active {
  display: block;
  animation: fadeUp 0.3s var(--ease) forwards;
}

.ovx .m-auth-code-input {
  letter-spacing: 0.35em;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #0d0d0d;
  border: 1px solid var(--c-border);
  color: var(--c-white);
  border-radius: var(--r);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.ovx .m-auth-code-input:focus {
  border-color: var(--c-white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
  outline: none;
}

.ovx .m-auth-resend-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--c-muted);
}

.ovx .m-auth-resend-btn {
  color: var(--c-white);
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: opacity 0.2s;
}

.ovx .m-auth-resend-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: none;
}

@media (max-width: 600px) {
  .ovx .m-auth-card {
    padding: 28px 20px;
    border-radius: 16px;
  }
  .ovx .m-auth-shell {
    padding: calc(var(--nav-h) + 24px) 14px 48px;
  }
}

/* ============================================================
   42. Monolith Content & Informational Pages
   (About, Why Ovlink, Updates, Contact, Legal, Docs, FAQ)
   ============================================================ */

.ovx .m-content-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.ovx .m-content-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-white);
  line-height: 1.15;
  margin: 0 0 16px;
}

.ovx .m-content-hero p {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--c-muted);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 600px;
}

.ovx .m-card-monolith {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ovx .m-card-monolith:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.ovx .m-card-monolith-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--c-white);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.ovx .m-card-monolith:hover .m-card-monolith-icon {
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.ovx .m-card-monolith-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ovx .m-card-monolith-desc {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.65;
  margin: 0 0 20px;
  flex-grow: 1;
}

.ovx .m-bento-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.ovx .m-bento-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-muted);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 5px 10px;
  border-radius: 6px;
}

.ovx .m-bento-chip i,
.ovx .m-bento-chip svg {
  color: var(--c-white);
  font-size: 11px;
}

.ovx .m-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .ovx .m-about-grid {
    grid-template-columns: 1fr;
  }
}

.ovx .m-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 48px;
}

@media (max-width: 800px) {
  .ovx .m-why-grid {
    grid-template-columns: 1fr;
  }
}

/* Bespoke SVG animations */
@keyframes mPulseRing {
  0% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 0.2; }
  100% { transform: scale(0.92); opacity: 0.7; }
}

@keyframes mBeamDash {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

@keyframes mRadarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ovx .anim-pulse-ring {
  transform-origin: center;
  animation: mPulseRing 3s ease-in-out infinite;
}

.ovx .anim-beam-dash {
  stroke-dasharray: 6 6;
  animation: mBeamDash 2s linear infinite;
}

.ovx .anim-radar-sweep {
  transform-origin: 24px 24px;
  animation: mRadarSweep 4s linear infinite;
}

/* Verified Operator Badge */
.ovx .m-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.ovx .m-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  display: inline-block;
  animation: mPulseRing 1.8s ease-in-out infinite;
}

/* Timeline / Updates Page */
.ovx .m-timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto 56px;
  padding-left: 36px;
}

.ovx .m-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.06) 100%);
}

.ovx .m-timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.ovx .m-timeline-item:last-child {
  margin-bottom: 0;
}

.ovx .m-timeline-node {
  position: absolute;
  left: -36px;
  top: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid var(--c-white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ovx .m-timeline-node-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-white);
}

.ovx .m-timeline-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.ovx .m-timeline-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}

.ovx .m-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ovx .m-timeline-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ovx .m-timeline-date {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-muted);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, monospace;
  white-space: nowrap;
}

.ovx .m-timeline-desc {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ovx .m-timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ovx .m-timeline-list li {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ovx .m-timeline-list li::before {
  content: '•';
  color: var(--c-white);
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .ovx .m-timeline {
    padding-left: 28px;
  }
  .ovx .m-timeline::before {
    left: 8px;
  }
  .ovx .m-timeline-node {
    left: -28px;
    width: 18px;
    height: 18px;
    top: 20px;
  }
  .ovx .m-timeline-card {
    padding: 20px 16px;
  }
}

/* Contact Page */
.ovx .m-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 48px;
}

@media (max-width: 800px) {
  .ovx .m-contact-grid {
    grid-template-columns: 1fr;
  }
}

.ovx .m-contact-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ovx .m-contact-action-btn:hover {
  border-color: var(--c-border-hi);
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   43. Monolith Legal & Documentation Shell
   ============================================================ */

.ovx .m-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--c-white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  z-index: 105;
  width: 0%;
  transition: width 0.1s linear;
}

.ovx .m-legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  width: 100%;
  align-items: start;
}

.ovx .m-legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ovx .m-legal-toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  margin-bottom: 8px;
  padding: 0 8px;
}

.ovx .m-legal-toc-link {
  font-size: 13px;
  color: var(--c-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ovx .m-legal-toc-link:hover,
.ovx .m-legal-toc-link.active {
  color: var(--c-white);
  background: var(--c-surface-2);
}

.ovx .m-legal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ovx .m-legal-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 32px 28px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  transition: border-color 0.25s var(--ease);
}

.ovx .m-legal-section:hover {
  border-color: var(--c-border-hi);
}

.ovx .m-legal-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ovx .m-legal-section-header i {
  font-size: 16px;
  color: var(--c-white);
}

.ovx .m-legal-section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin: 0;
}

.ovx .m-legal-section-text {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .ovx .m-legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ovx .m-legal-toc {
    display: none;
  }
  .ovx .m-legal-section {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   Section 44: Cookie Policy Interactive Elements & Keyframe Animations
   ========================================================================== */
.ovx .m-cookie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.ovx .m-cookie-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.ovx .m-cookie-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}

.ovx .m-cookie-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ovx .m-cookie-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ovx .m-cookie-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ovx .m-cookie-tag--essential {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.ovx .m-cookie-tag--functional {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-white);
  border: 1px solid var(--c-border-hi);
}

.ovx .m-cookie-tag--optional {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.ovx .m-cookie-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ovx .m-cookie-item-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--c-muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.ovx .m-cookie-item-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ovx .m-cookie-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

.ovx .m-cookie-inspector-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.ovx .m-cookie-orbit-icon {
  width: 44px;
  height: 44px;
  animation: mOrbitRotate 12s linear infinite;
  transform-origin: center center;
}

@keyframes mOrbitRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Section 45: Abuse & Safety Telemetry, Inspector & Violation Elements
   ========================================================================== */
.ovx .m-threat-banner {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.ovx .m-threat-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ef4444, #f59e0b, transparent);
  opacity: 0.6;
}

.ovx .m-threat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ovx .m-threat-stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ovx .m-threat-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ovx .m-threat-stat-label {
  font-size: 11.5px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ovx .m-prohibited-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ovx .m-prohibited-card {
  background: var(--c-surface-2);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.2s;
}

.ovx .m-prohibited-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
}

.ovx .m-prohibited-icon {
  color: #ef4444;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.ovx .m-prohibited-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-white);
  line-height: 1.5;
}

.ovx .m-action-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.ovx .m-action-item {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ovx .m-action-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-white);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.ovx .m-radar-scanner {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.05);
  flex-shrink: 0;
}

.ovx .m-radar-sweep-blade {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(239, 68, 68, 0.4) 0deg, transparent 90deg);
  animation: mRadarRotate 3s linear infinite;
}

@keyframes mRadarRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Section 46: FAQ Accordion, Instant Search & Filter Pills
   ========================================================================== */
.ovx .m-faq-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.ovx .m-faq-search-wrapper {
  position: relative;
  width: 100%;
}

.ovx .m-faq-search-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-muted);
  font-size: 14px;
}

.ovx .m-faq-search-input {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 13px 18px 13px 44px;
  color: var(--c-white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.ovx .m-faq-search-input:focus {
  border-color: var(--c-border-hi);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.ovx .m-faq-search-input::placeholder {
  color: var(--c-muted);
}

.ovx .m-faq-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ovx .m-faq-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ovx .m-faq-tab {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.ovx .m-faq-tab:hover {
  color: var(--c-white);
  border-color: var(--c-border-hi);
}

.ovx .m-faq-tab.active {
  background: var(--c-surface-2);
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.ovx .m-faq-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ovx .m-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ovx .m-faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  overflow: hidden;
}

.ovx .m-faq-item[open] {
  border-color: var(--c-border-hi);
  background: var(--c-surface-2);
}

.ovx .m-faq-summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  user-select: none;
}

.ovx .m-faq-summary::-webkit-details-marker {
  display: none;
}

.ovx .m-faq-summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ovx .m-faq-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 7px;
  border-radius: 5px;
}

.ovx .m-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 11px;
  transition: transform 0.25s var(--ease), color 0.2s;
  flex-shrink: 0;
}

.ovx .m-faq-item[open] .m-faq-icon {
  transform: rotate(45deg);
  color: var(--c-white);
  border-color: var(--c-border-hi);
}

.ovx .m-faq-body {
  padding: 0 22px 20px 52px;
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

.ovx .m-faq-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: 14px;
  display: none;
}

/* ==========================================================================
   Section 47: Help Center Guides, Step Flows & Interactive Diagnostics
   ========================================================================== */
.ovx .m-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.ovx .m-help-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.ovx .m-help-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}

.ovx .m-help-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ovx .m-help-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--c-white);
  flex-shrink: 0;
}

.ovx .m-help-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin: 0;
}

.ovx .m-help-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ovx .m-help-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--c-text);
  line-height: 1.55;
}

.ovx .m-help-step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ovx .m-troubleshoot-matrix {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 32px;
}

.ovx .m-troubleshoot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.ovx .m-troubleshoot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.ovx .m-troubleshoot-item {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.ovx .m-troubleshoot-item:hover,
.ovx .m-troubleshoot-item.active {
  border-color: var(--c-border-hi);
  background: rgba(255, 255, 255, 0.05);
}

.ovx .m-troubleshoot-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ovx .m-troubleshoot-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-muted);
}

.ovx .m-diagnostic-detail {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-top: 16px;
  display: none;
}

/* ==========================================================================
   Section 48: Documentation Pipeline Diagram, Architecture & Feature Cards
   ========================================================================== */
.ovx .m-pipeline-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 28px 24px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.ovx .m-pipeline-flow {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
  position: relative;
}

@media (max-width: 860px) {
  .ovx .m-pipeline-flow {
    flex-direction: column;
  }
}

.ovx .m-pipeline-step {
  flex: 1;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s var(--ease);
}

.ovx .m-pipeline-step:hover {
  border-color: var(--c-border-hi);
}

.ovx .m-pipeline-step-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ovx .m-pipeline-step-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}

.ovx .m-pipeline-step-desc {
  font-size: 12.5px;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 0;
}

.ovx .m-docs-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ovx .m-docs-feature-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s var(--ease);
}

.ovx .m-docs-feature-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}

.ovx .m-docs-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--c-white);
  flex-shrink: 0;
}

.ovx .m-docs-feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 4px 0;
}

.ovx .m-docs-feature-desc {
  font-size: 12.5px;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Section 49: Developer API Guide Terminal, Spec Console & Code Tabs
   ========================================================================== */
.ovx .m-api-spec-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ovx .m-api-endpoint-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ovx .m-method-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.ovx .m-method-badge--post {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.ovx .m-method-badge--get {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.ovx .m-endpoint-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-white);
  word-break: break-all;
}

.ovx .m-api-terminal {
  background: #0d0d0d;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px;
}

.ovx .m-api-terminal-head {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--c-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ovx .m-api-tabs-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ovx .m-api-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--c-muted);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.ovx .m-api-tab-btn:hover {
  color: var(--c-white);
}

.ovx .m-api-tab-btn.active {
  background: var(--c-surface-2);
  color: var(--c-white);
  border-color: var(--c-border-hi);
}

.ovx .m-api-code-pre {
  margin: 0;
  padding: 22px 20px;
  background: transparent;
  color: #d1d5db;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

.ovx .m-api-code-pre code {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   Section 50: Pipeline Architecture, Pro Halo, Threat Radar & Error Gateway HUDs
   ========================================================================== */

/* --- How It Works Pipeline --- */
.ovx .m-hiw-hero {
  text-align: center;
  margin-bottom: 48px;
}

.ovx .m-hiw-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin: 12px 0 16px 0;
  line-height: 1.15;
}

.ovx .m-hiw-hero p {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.ovx .m-hiw-pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
  position: relative;
}

.ovx .m-hiw-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ovx .m-hiw-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-hi);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ovx .m-hiw-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ovx .m-hiw-step-idx {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border);
  padding: 3px 10px;
  border-radius: 999px;
}

.ovx .m-hiw-step-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ovx .m-hiw-svg-wrap {
  width: 100%;
  height: 140px;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.ovx .m-hiw-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.ovx .m-hiw-card-desc {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Pillars / Architecture Bento Grid --- */
.ovx .m-hiw-pillars-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 20px;
  text-align: center;
}

.ovx .m-hiw-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.ovx .m-hiw-pillar-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 20px 18px;
  transition: border-color 0.2s, transform 0.2s;
}

.ovx .m-hiw-pillar-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}

.ovx .m-hiw-pillar-icon {
  font-size: 18px;
  color: var(--c-white);
  margin-bottom: 12px;
}

.ovx .m-hiw-pillar-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 6px 0;
}

.ovx .m-hiw-pillar-text {
  font-size: 12.5px;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Pro Activation / Success View --- */
.ovx .m-pro-success-card {
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.ovx .m-pro-halo-svg-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ovx .m-pro-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.ovx .m-pro-success-card h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.ovx .m-pro-success-card p.m-lead {
  font-size: 15.5px;
  color: var(--c-muted);
  max-width: 580px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

.ovx .m-pro-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  text-align: left;
  margin-bottom: 36px;
}

.ovx .m-pro-perk-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ovx .m-pro-perk-card i {
  color: #fbbf24;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.ovx .m-pro-perk-info h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 4px 0;
}

.ovx .m-pro-perk-info p {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.45;
  margin: 0;
}

.ovx .m-pro-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Gateway Error & Maintenance HUDs --- */
.ovx .m-gateway-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.ovx .m-gateway-card--threat {
  border-color: rgba(239, 68, 68, 0.28);
  box-shadow: 0 16px 48px rgba(239, 68, 68, 0.08), 0 0 0 1px rgba(239, 68, 68, 0.15);
}

.ovx .m-gateway-card--warning {
  border-color: rgba(245, 158, 11, 0.28);
}

.ovx .m-gateway-svg-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ovx .m-gateway-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ovx .m-gateway-badge--red {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
}

.ovx .m-gateway-badge--amber {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}

.ovx .m-gateway-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--c-white);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.ovx .m-gateway-desc {
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.ovx .m-gateway-diag-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}

.ovx .m-diag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ovx .m-diag-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ovx .m-diag-label {
  color: var(--c-muted);
  font-weight: 500;
}

.ovx .m-diag-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  color: var(--c-white);
}

.ovx .m-code-chip {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border);
  color: #60a5fa;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.ovx .m-minimal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

/* --- SVG Keyframes for Section 50 --- */
@keyframes haloRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes radarSweep {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes packetFlow {
  0%   { stroke-dashoffset: 60; }
  100% { stroke-dashoffset: 0; }
}

@keyframes gearRotateClockwise {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes gearRotateCounter {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes beamScan {
  0%, 100% { opacity: 0.2; transform: translateY(-4px); }
  50%      { opacity: 0.8; transform: translateY(4px); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6)); }
}

.ovx .m-anim-halo {
  animation: haloRotate 14s linear infinite;
  transform-origin: center;
}

.ovx .m-anim-radar {
  animation: radarSweep 4s linear infinite;
  transform-origin: 50px 50px;
}

.ovx .m-anim-packet {
  stroke-dasharray: 8 12;
  animation: packetFlow 1.8s linear infinite;
}

.ovx .m-anim-gear-cw {
  animation: gearRotateClockwise 12s linear infinite;
  transform-origin: center;
}

.ovx .m-anim-gear-ccw {
  animation: gearRotateCounter 12s linear infinite;
  transform-origin: center;
}

.ovx .m-anim-beam {
  animation: beamScan 3s ease-in-out infinite;
}

.ovx .m-anim-core {
  animation: corePulse 2.5s ease-in-out infinite;
  transform-origin: center;
}

/* ==========================================================================
   Section 51: Terminal Error Shields & OpenGraph Preview Studio
   ========================================================================== */

/* --- Keyframe Animations for Error SVGs --- */
@keyframes sparkJolt {
  0%, 100% { opacity: 0.2; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8)); }
}

@keyframes sandTrickle {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { opacity: 0.8; }
  100% { transform: translateY(22px); opacity: 0; }
}

@keyframes gaugeBlink {
  0%, 100% { stroke: #ef4444; filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.4)); }
  50%      { stroke: #f87171; filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.8)); }
}

@keyframes banPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

@keyframes warnExpand {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.83); opacity: 0; }
}

.ovx .m-anim-spark {
  animation: sparkJolt 1.5s ease-in-out infinite;
}

.ovx .m-anim-sand {
  animation: sandTrickle 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ovx .m-anim-gauge {
  animation: gaugeBlink 2s ease-in-out infinite;
}

.ovx .m-anim-ban {
  animation: banPulse 2.5s ease-in-out infinite;
  transform-origin: center;
}

.ovx .m-anim-warn-wave {
  transform-origin: 50px 50px;
  animation: warnExpand 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

/* --- OpenGraph Preview Studio Tools --- */
.ovx .m-tool-hero {
  text-align: center;
  margin-bottom: 36px;
}

.ovx .m-tool-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.03em;
  margin: 10px 0 14px 0;
}

.ovx .m-tool-hero p {
  font-size: 15.5px;
  color: var(--c-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.ovx .m-preview-composer {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ovx .m-preview-composer:focus-within {
  border-color: var(--c-border-hi);
  box-shadow: 0 0 0 1px var(--c-border-hi), 0 12px 32px rgba(0, 0, 0, 0.6);
}

.ovx .m-preview-composer-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--c-white);
  font-size: 15px;
  font-family: inherit;
  padding: 10px 14px;
}

.ovx .m-preview-composer-input::placeholder {
  color: var(--c-faint);
}

.ovx .m-platform-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ovx .m-platform-tab {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease);
}

.ovx .m-platform-tab:hover {
  color: var(--c-white);
  border-color: var(--c-border-hi);
}

.ovx .m-platform-tab.active {
  background: var(--c-white);
  color: #0a0a0a;
  border-color: var(--c-white);
}

.ovx .m-preview-card-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 36px;
  transition: border-color 0.2s;
}

.ovx .m-preview-img-container {
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  background: #080808;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ovx .m-preview-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ovx .m-preview-content-box {
  padding: 22px 24px;
}

.ovx .m-preview-host-domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-faint);
  text-transform: lowercase;
  margin-bottom: 6px;
}

.ovx .m-preview-headline {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.ovx .m-preview-summary {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}

.ovx .m-ai-studio-panel {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 36px;
}

.ovx .m-ai-studio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.ovx .m-ai-studio-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ovx .m-ai-variant-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s var(--ease);
}

.ovx .m-ai-variant-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-2px);
}

.ovx .m-ai-variant-card.selected {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.04);
}

.ovx .m-ai-variant-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ovx .m-ai-variant-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.4;
}

.ovx .m-tool-loader {
  display: none;
  margin: 32px auto;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #60a5fa;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  animation: toolSpin 0.8s linear infinite;
}

@keyframes toolSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ovx .m-preview-card {
  width: 100%;
  transition: all 0.3s var(--ease);
}

/* ==========================================================================
   51. Monolith Universal Modals, Tables & Dashboard Components
   ========================================================================== */

/* Universal Monolith Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal.show {
  display: block;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.modal-backdrop.show {
  opacity: 0.85;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.modal-open {
  overflow: hidden;
}

.modal-dialog {
  position: relative;
  width: calc(100% - 32px);
  margin: 1.75rem auto;
  max-width: 520px;
  pointer-events: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-lg {
  max-width: 760px;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #111111;
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  outline: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9);
  color: var(--c-text, #d4d4d4);
  font-family: var(--font-main, 'Inter', sans-serif);
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close {
  box-sizing: content-box;
  width: 14px;
  height: 14px;
  padding: 6px;
  color: #ffffff;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/12px auto no-repeat;
  border: 0;
  border-radius: 6px;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out, background-color 0.15s ease;
}

.btn-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 24px;
  color: var(--c-muted, #a3a3a3);
  font-size: 14px;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
}

/* Enterprise dashboard navigation — scoped, reusable, no global overrides. */
.ovx .m-dash-actions { display:flex; flex-wrap:wrap; gap:10px; margin: -7px 0 24px; }
.ovx .m-dash-action { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:10px 15px; text-decoration:none; font-size:13px; font-weight:600; color:var(--c-text); border:1px solid var(--c-border); border-radius:10px; background:var(--c-surface); transition:background-color .18s ease,border-color .18s ease,transform .18s ease; }
.ovx .m-dash-action:hover { color:var(--c-white); background:var(--c-surface-2); border-color:var(--c-border-hi); transform:translateY(-1px); }
.ovx .m-dash-action--primary { color:var(--c-bg); background:var(--c-white); border-color:var(--c-white); }
.ovx .m-dash-action--primary:hover { color:var(--c-bg); background:#e5e5e5; }
.ovx .m-dash-action:focus-visible,.ovx .m-onboard-step-link:focus-visible { outline:2px solid var(--c-white); outline-offset:3px; }
.ovx .m-onboard-progress-head { display:flex; align-items:center; justify-content:space-between; color:var(--c-muted); margin-top:20px; font-size:12px; font-weight:600; }
.ovx .m-onboard-progress { height:6px; width:100%; overflow:hidden; background:var(--c-surface-2); border-radius:100px; margin-top:8px; }
.ovx .m-onboard-progress-fill { display:block; height:100%; background:var(--c-white); border-radius:inherit; transition:width .3s ease; }
.ovx .m-onboard-steps { list-style:none; margin:18px 0 0; padding:0; display:grid; gap:12px; }
.ovx .m-onboard-step { display:flex; align-items:center; gap:12px; min-height:32px; }
.ovx .m-onboard-step-link { margin-inline-start:auto; color:var(--c-white); text-decoration:underline; text-underline-offset:3px; }
.ovx .m-onboard-step.is-done { opacity:.7; }
@media (max-width:600px) { .ovx .m-dash-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } .ovx .m-dash-action { padding:10px 8px; font-size:12px; } }
@media (prefers-reduced-motion:reduce) { .ovx .m-dash-action,.ovx .m-onboard-progress-fill { transition:none; } .ovx .m-dash-action:hover { transform:none; } }

/* Monolith Dashboard Bento Grid */
.ovx .m-dash-hero {
  margin-bottom: 28px;
}

.ovx .m-dash-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .ovx .m-dash-bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.ovx .m-dash-bento .m-bento-card {
  background: var(--c-surface, #111111);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
  box-sizing: border-box;
  text-align: left;
}

.ovx .m-dash-bento .m-bento-card > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.ovx .m-dash-bento .m-bento-card:hover {
  border-color: var(--c-border-hi, rgba(255, 255, 255, 0.18));
}

.ovx .m-bento-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-faint, #737373);
  margin-bottom: 6px;
  text-align: left;
}

.ovx .m-bento-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: left;
}

.ovx .m-bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--c-muted, #a3a3a3);
  flex-shrink: 0;
}

/* Quick Shorten Bar */
.ovx .m-dash-quick {
  background: var(--c-surface, #111111);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.ovx .m-dash-quick-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* Bulk actions present the actual selected row count, not a guessed total. */
.ovx .m-dash-selected-count { display:inline-flex; align-items:center; gap:5px; padding:7px 10px; border:1px solid var(--c-border); border-radius:8px; color:var(--c-muted); font-size:12px; font-weight:600; white-space:nowrap; }
.ovx .m-dash-selected-count #bulkSelectionNumber { font-variant-numeric:tabular-nums; color:var(--c-white); }
.ovx #bulkDeleteBtn:disabled { opacity:.45; cursor:not-allowed; }

/* Dashboard link finder: one consistent form surface and explicit network states. */
.ovx .m-dash-filter-label { display:block; margin:0 0 7px; font-size:12px; font-weight:600; color:var(--c-muted); }
.ovx .m-dash-filter-feedback { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:9px 24px; min-height:42px; color:var(--c-muted); font-size:12px; border-bottom:1px solid var(--c-border); }
.ovx #dashboardFilterStatus[data-state="error"] { color:#fca5a5; }
.ovx #dashboardFilterStatus[data-state="loading"] { color:var(--c-text); }
.ovx .m-dash-clear-filters { border:0; background:transparent; color:var(--c-text); font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer; padding:6px 0; }
.ovx .m-dash-clear-filters:hover { color:var(--c-white); }
.ovx .m-dash-clear-filters:focus-visible { outline:2px solid var(--c-white); outline-offset:3px; }
.ovx .dashboard-meta-filter-field { min-width:130px; flex:1 1 150px; }
.ovx .dashboard-meta-filter-field select { width:100%; }
.ovx #dashboardMetaFilters { width:100%; display:flex; flex-wrap:wrap; align-items:end; gap:10px; }
.ovx #dashboardMetaFilterClear { min-height:38px; padding:7px 14px; border:1px solid var(--c-border-hi); background:var(--c-surface); color:var(--c-text); border-radius:8px; cursor:pointer; }
.ovx #dashboardMetaFilterClear:hover { background:var(--c-surface-2); }
@media (max-width:600px) { .ovx .m-dash-toolbar > div { min-width:100% !important; } .ovx .m-dash-filter-feedback { padding-inline:16px; } }

/* Monolith Table & Toolbar */
.ovx .m-dash-panel {
  background: var(--c-surface, #111111);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  overflow: hidden;
}

.ovx .m-dash-panel-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.ovx .m-dash-panel-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ovx .m-dash-toolbar {
  padding: 14px 24px;
  border-bottom: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ovx .m-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

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

.ovx .m-table th {
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-faint, #737373);
  border-bottom: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.ovx .m-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  color: var(--c-text, #d4d4d4);
  vertical-align: middle;
}

.ovx .m-table tbody tr:last-child td {
  border-bottom: none;
}

.ovx .m-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.ovx .m-tag-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e5e5;
  margin: 2px;
}

.ovx .m-badge-quarantine {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.ovx .m-badge-reports {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.ovx .m-badge-reports--zero {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-faint, #737373);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Monolith Pagination */
.ovx .m-pagination-bar {
  padding: 16px 24px;
  border-top: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--c-muted, #a3a3a3);
}

.ovx .m-pagination-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ovx .m-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  background: var(--c-surface-2, #181818);
  color: var(--c-muted, #a3a3a3);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.ovx .m-page-btn:hover:not(.disabled) {
  border-color: var(--c-border-hi, rgba(255, 255, 255, 0.2));
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ovx .m-page-btn.active {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  font-weight: 700;
}

.ovx .m-page-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Monolith Dashboard Advanced Form Controls & Selects */
.ovx .m-adv-input {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color-scheme: dark;
  outline: none;
}
.ovx .m-adv-input:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.ovx .m-adv-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
.ovx .m-adv-input::placeholder {
  color: #737373;
}

.ovx select.m-adv-select,
.ovx .m-adv-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  background: #141414 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4d4d4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
  background-color: #141414;
  background-size: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 8px 36px 8px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  height: 38px;
  box-sizing: border-box;
  line-height: 1.4;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.ovx select.m-adv-select:hover,
.ovx .m-adv-select:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: #1a1a1a;
}
.ovx select.m-adv-select:focus,
.ovx .m-adv-select:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
.ovx select.m-adv-select option,
.ovx .m-adv-select option {
  background-color: #141414;
  color: #ffffff;
  padding: 8px 12px;
}

/* Monolith Table Action Buttons */
.ovx .m-table-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.ovx .m-btn-icon,
.ovx button.m-btn-icon,
.ovx a.m-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1;
  outline: none;
}
.ovx .m-btn-icon i,
.ovx button.m-btn-icon i,
.ovx a.m-btn-icon i {
  color: inherit;
  font-size: 13px;
  pointer-events: none;
  line-height: 1;
}
.ovx .m-btn-icon:hover,
.ovx button.m-btn-icon:hover,
.ovx a.m-btn-icon:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}
.ovx .m-btn-icon:focus-visible,
.ovx button.m-btn-icon:focus-visible,
.ovx a.m-btn-icon:focus-visible {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.ovx .m-btn-icon--danger,
.ovx button.m-btn-icon--danger {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
}
.ovx .m-btn-icon--danger:hover,
.ovx button.m-btn-icon--danger:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Dashboard Shell & Container */
.ovx .m-dash-main,
.ovx main.m-dash-main {
  min-height: calc(100vh - var(--nav-h, 60px)) !important;
  padding-top: calc(var(--nav-h, 60px) + 36px) !important;
  padding-bottom: 80px !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
}
.ovx .m-dash-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ================================================================
   OVLINK DETAILED ANALYTICS & STATS — MONOLITH THEME
   ================================================================ */
.ovx.stats-detail-page,
.ovx.stats-page {
  min-height: 100vh;
  background: var(--c-bg, #0a0a0a);
  color: var(--c-text, #f0f0f0);
  display: flex;
  flex-direction: column;
}

.ovx .m-analytics-main,
.ovx .m-stats-main {
  flex: 1;
  padding: calc(var(--nav-h, 60px) + 36px) 0 80px;
  position: relative;
  display: block;
  box-sizing: border-box;
}

.ovx .m-analytics-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.ovx .m-stats-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Page Header */
.ovx .m-page-header {
  margin-bottom: 36px;
  animation: fadeUp 0.6s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
}

.ovx .m-page-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-faint, #737373);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.ovx .m-page-chip i { font-size: 10px; color: var(--c-muted, #888888); }

.ovx .m-page-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-white, #ffffff);
  margin-bottom: 8px;
}

.ovx .m-code-badge {
  color: var(--c-white, #ffffff);
  background: var(--c-surface-2, #1a1a1a);
  border: 1px solid var(--c-border-hi, rgba(255, 255, 255, 0.14));
  padding: 2px 10px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
}

.ovx .m-page-sub {
  font-size: 15px;
  color: var(--c-muted, #888888);
  line-height: 1.6;
}

/* Summary Bar */
.ovx .m-summary-bar {
  background: var(--c-surface, #111111);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
  box-sizing: border-box;
}

.ovx .m-summary-clicks {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ovx .m-summary-lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-faint, #737373);
}

.ovx .m-summary-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-white, #ffffff);
  line-height: 1;
}

.ovx .m-summary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Analytics Bento Grid (2x2) */
.ovx .m-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ovx .m-chart-card {
  background: var(--c-surface, #111111);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.6s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
  box-sizing: border-box;
}

.ovx .m-chart-card:hover {
  border-color: var(--c-border-hi, rgba(255, 255, 255, 0.14));
}

.ovx .m-chart-card-h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-white, #ffffff);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ovx .m-chart-card-h2 i {
  color: var(--c-muted, #888888);
  font-size: 14px;
}

.ovx .m-chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ovx .m-chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--c-faint, #737373);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  pointer-events: none;
}

.ovx .m-chart-empty i {
  font-size: 26px;
  opacity: 0.6;
}

/* Time Meta Chips */
.ovx .stats-time-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ovx .stats-time-chip {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-muted, #888888);
  background: var(--c-surface-2, #1a1a1a);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  padding: 4px 10px;
  border-radius: 100px;
}

.ovx .stats-time-note {
  font-size: 12px;
  color: var(--c-faint, #737373);
  margin-top: 10px;
  line-height: 1.5;
}

/* Stats Page Card Stack & Meta Grid (for /stats) */
.ovx .m-card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ovx .m-card {
  background: var(--c-surface, #111111);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
  animation: fadeUp 0.6s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
  box-sizing: border-box;
}

.ovx .m-card:hover {
  border-color: var(--c-border-hi, rgba(255, 255, 255, 0.14));
}

.ovx .m-card-h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-white, #ffffff);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ovx .m-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.ovx .m-meta-box {
  background: var(--c-surface-2, #1a1a1a);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 16px 18px;
}

.ovx .m-meta-lbl {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-faint, #737373);
  margin-bottom: 6px;
}

.ovx .m-meta-val {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-white, #ffffff);
  word-break: break-all;
}

.ovx .m-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ovx .m-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--c-surface-2, #1a1a1a);
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
}

@media (max-width: 860px) {
  .ovx .m-analytics-main,
  .ovx .m-stats-main { padding: calc(var(--nav-h, 60px) + 24px) 0 60px; }
  .ovx .m-charts-grid { grid-template-columns: 1fr; gap: 16px; }
  .ovx .m-chart-card { padding: 20px 16px; }
  .ovx .m-summary-bar { flex-direction: column; align-items: flex-start; }
  .ovx .m-meta-grid { grid-template-columns: 1fr; }
}

/* ---------- Dashboard Specific Enhancements ---------- */
.ovx input.m-adv-input,
.ovx .m-adv-input:not(textarea) {
  height: 38px;
}

.ovx textarea.m-adv-input {
  min-height: 180px !important;
  height: auto !important;
  resize: vertical !important;
}

.ovx .dashboard-meta-chip,
.ovx .dashboard-tag-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f3f4f6 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  line-height: 1.3 !important;
}

.ovx .dashboard-meta-chip:hover,
.ovx .dashboard-tag-chip:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.ovx .dashboard-meta-chip i,
.ovx .dashboard-tag-chip i {
  color: #a3a3a3 !important;
  font-size: 11px !important;
}

#dashboardDeleteModal .modal-content {
  background: #111111 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85) !important;
}

/* ── Accessibility & RTL foundation (A16) ──────────────────────────────
   One visible focus ring for every interactive element, plus logical
   fallbacks so adding an RTL language mirrors the layout without a rewrite. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--focus-ring, 0 0 0 3px rgba(37, 99, 235, 0.45));
  border-radius: var(--radius-sm, 6px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -48px;
  z-index: 1000;
  padding: 8px 14px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 8px;
  transition: top .15s ease;
}
.skip-link:focus-visible { top: 8px; }

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

[dir="rtl"] body { text-align: right; }
[dir="rtl"] i[class*="fa-angle-"],
[dir="rtl"] i[class*="fa-chevron-"],
[dir="rtl"] i[class*="fa-arrow-"] { transform: scaleX(-1); }

/* Docs mobile layout: code tabs, scope badges, and long endpoints must not
   force the legal grid beyond the viewport. */
.ovx.api-guide-page .m-legal-layout { min-width:0; grid-template-columns:260px minmax(0,1fr); }
.ovx.api-guide-page .m-legal-content,
.ovx.api-guide-page .m-legal-section,
.ovx.api-guide-page .m-api-terminal,
.ovx.api-guide-page .m-api-spec-box { min-width:0; max-width:100%; }
.ovx.api-guide-page .m-legal-section-header { min-width:0; }
.ovx.api-guide-page .m-legal-section-title,
.ovx.api-guide-page .m-legal-section-text,
.ovx.api-guide-page .m-help-step-item,
.ovx.api-guide-page .m-help-step-item span,
.ovx.api-guide-page .m-endpoint-url { overflow-wrap:anywhere; word-break:break-word; }
.ovx.api-guide-page .m-api-tabs-nav { min-width:0; max-width:100%; }
.ovx.api-guide-page .m-api-tab-btn { white-space:nowrap; }
.ovx.api-guide-page .m-api-code-pre { min-width:0; max-width:100%; overflow-x:auto; }
.ovx.api-guide-page .m-badge-pill { max-width:100%; overflow-wrap:anywhere; }
@media(max-width:900px) {
  .ovx.api-guide-page .m-legal-layout { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:560px) {
  .ovx.api-guide-page .m-legal-section { padding:18px 16px; }
  .ovx.api-guide-page .m-api-spec-box { padding:14px 12px; }
  .ovx.api-guide-page .m-api-terminal-head { align-items:stretch; }
  .ovx.api-guide-page .m-api-tabs-nav { width:100%; gap:4px; overflow-x:auto; flex-wrap:nowrap; padding-bottom:6px; scrollbar-width:thin; }
  .ovx.api-guide-page .m-api-tabs-nav .m-api-tab-btn { flex:0 0 auto; padding:8px 10px; }
  .ovx.api-guide-page .m-api-code-pre { padding:16px 12px; font-size:12px; }
}
