/**
 * OHB Global Theme — jetons CSS par palette (source de vérité partagée).
 * Les pages marketing / portail chargent ce fichier après pricing-page.css.
 * L’app v6 charge ce fichier pour éviter la duplication des blocs [data-theme].
 */

/* ═══ DESIGN SYSTEM OHB (portail / marketing — variables sémantiques) ═══ */
:root {
  /* Fallbacks — surchargés par billing/ohb-theme-engine.js */
  --ohb-bg-base: #050510;
  --ohb-bg-2: #0b0f1a;
  --ohb-bg-3: #111827;
  --ohb-bg-card: rgba(255, 255, 255, 0.03);
  --ohb-bg-card-hover: rgba(255, 255, 255, 0.06);
  --ohb-accent: #00d4ff;
  --ohb-accent-dim: rgba(0, 212, 255, 0.1);
  --ohb-accent-border: rgba(0, 212, 255, 0.25);
  --ohb-accent-glow: 0 0 24px rgba(0, 212, 255, 0.18);
  --ohb-accent-2: #7c3aed;
  --ohb-cyan: var(--ohb-accent);
  --ohb-cyan-dim: var(--ohb-accent-dim);
  --ohb-cyan-border: var(--ohb-accent-border);
  --ohb-cyan-glow: var(--ohb-accent-glow);
  --ohb-green: #34d399;
  --ohb-yellow: #fbbf24;
  --ohb-red: #f87171;
  --ohb-purple: #a78bfa;
  --ohb-text-primary: #f1f5f9;
  --ohb-text-body: #cbd5e1;
  --ohb-text-muted: #94a3b8;
  --ohb-text-faint: #475569;
  --ohb-text-link: var(--ohb-accent);
  --ohb-border: rgba(255, 255, 255, 0.08);
  --ohb-border-focus: rgba(0, 212, 255, 0.4);
  --ohb-t: 150ms ease;
  --ohb-font-display: 'Orbitron', system-ui, sans-serif;
  --ohb-font-body: 'Exo 2', system-ui, sans-serif;
  --ohb-font-mono: 'Share Tech Mono', monospace;
  --ohb-radius-sm: 6px;
  --ohb-radius-md: 10px;
  --ohb-radius-lg: 16px;
  --ohb-radius-pill: 999px;
  --ohb-shadow-card:
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  --ohb-shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.6);
  --ohb-transition: var(--ohb-t);
  --ohb-container-width: 100%;
  --ohb-content-pad: 16px;
}

@media (min-width: 640px) {
  :root {
    --ohb-container-width: min(100%, 600px);
    --ohb-content-pad: 24px;
  }
}

@media (min-width: 768px) {
  :root {
    --ohb-container-width: min(100%, 720px);
    --ohb-content-pad: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --ohb-container-width: min(100%, 960px);
    --ohb-content-pad: 40px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.ohb-portal,
body.ohb-landing-body,
body.ohb-pricing-portal,
body.ohb-billing-page,
body.ohb-auth-page {
  font-family: var(--ohb-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ohb-text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.ohb-portal h1,
body.ohb-portal h2,
body.ohb-portal h3,
body.ohb-portal h4,
body.ohb-landing-body h1,
body.ohb-landing-body h2,
body.ohb-landing-body h3,
body.ohb-landing-body h4 {
  font-family: var(--ohb-font-display);
  color: var(--ohb-text-primary);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

body.ohb-portal h1,
body.ohb-landing-body h1 {
  font-size: clamp(22px, 3.5vw, 36px);
}
body.ohb-portal h2,
body.ohb-landing-body h2 {
  font-size: clamp(16px, 2.5vw, 24px);
}
body.ohb-portal h3,
body.ohb-landing-body h3 {
  font-size: clamp(14px, 2vw, 18px);
}

body.ohb-portal p,
body.ohb-landing-body p {
  color: var(--ohb-text-body);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.mono,
.ohb-mono {
  font-family: var(--ohb-font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

body.ohb-landing-body .ohb-landing-brand-tag,
body.ohb-landing-body .ohb-site-header__link,
body.ohb-landing-body .ohb-cn-link {
  color: var(--text2);
}

body.ohb-landing-body .ohb-cn-link:hover,
body.ohb-landing-body .ohb-site-header__link:hover {
  color: var(--b);
}

body.ohb-portal a:not(.ohb-cn-link):not(.btn-cta):not(.brand-mini):not(.ohb-landing-cta-pill):not(.ohb-site-header__cta):not(.ohb-landing-brand):not(.ohb-site-header__brand),
body.ohb-landing-body a:not(.ohb-cn-link):not(.btn-cta):not(.brand-mini):not(.ohb-landing-cta-pill):not(.ohb-site-header__cta):not(.ohb-landing-brand):not(.ohb-site-header__brand):not(.ohb-landing-cta-ghost):not(.ohb-landing-cta--ghost):not(.ohb-landing-cta--secondary) {
  color: var(--ohb-text-link);
  text-decoration: none;
}
body.ohb-portal a:not(.ohb-cn-link):not(.btn-cta):not(.brand-mini):not(.ohb-landing-cta-pill):not(.ohb-site-header__cta):not(.ohb-landing-brand):not(.ohb-site-header__brand):hover,
body.ohb-landing-body a:not(.ohb-cn-link):not(.btn-cta):not(.brand-mini):not(.ohb-landing-cta-pill):not(.ohb-site-header__cta):not(.ohb-landing-brand):not(.ohb-site-header__brand):hover {
  text-decoration: underline;
}

.ohb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--ohb-radius-md);
  font-family: var(--ohb-font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--ohb-transition);
  white-space: nowrap;
  min-height: 40px;
  text-decoration: none;
}
.ohb-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.ohb-btn-primary {
  background: var(--ohb-cyan-dim);
  border-color: var(--ohb-cyan-border);
  color: var(--ohb-cyan);
}
.ohb-btn-primary:hover {
  background: color-mix(in srgb, var(--ohb-accent) 20%, transparent);
  border-color: color-mix(in srgb, var(--ohb-accent) 45%, transparent);
  box-shadow: var(--ohb-cyan-glow);
}

.ohb-btn-secondary {
  background: color-mix(in srgb, var(--ohb-text-primary) 4%, transparent);
  border-color: var(--ohb-border);
  color: var(--ohb-text-muted);
}
.ohb-btn-secondary:hover {
  background: color-mix(in srgb, var(--ohb-text-primary) 8%, transparent);
  color: var(--ohb-text-body);
  border-color: color-mix(in srgb, var(--ohb-text-primary) 15%, transparent);
}

.ohb-btn-danger {
  background: color-mix(in srgb, var(--ohb-red) 8%, transparent);
  border-color: color-mix(in srgb, var(--ohb-red) 20%, transparent);
  color: var(--ohb-red);
}
.ohb-btn-danger:hover {
  background: color-mix(in srgb, var(--ohb-red) 15%, transparent);
  border-color: color-mix(in srgb, var(--ohb-red) 35%, transparent);
}

.ohb-btn-full {
  width: 100%;
}

.ohb-btn-lg {
  padding: 13px 28px;
  font-size: 14px;
  min-height: 48px;
}

.ohb-btn.ohb-btn-primary:hover {
  background: color-mix(in srgb, var(--ohb-accent) 20%, transparent);
  border-color: color-mix(in srgb, var(--ohb-accent) 45%, transparent);
  box-shadow: var(--ohb-cyan-glow);
}

.ohb-card {
  background: var(--ohb-bg-card);
  border: 1px solid var(--ohb-border);
  border-radius: var(--ohb-radius-lg);
  padding: 20px 24px;
  transition: border-color var(--ohb-transition);
}
.ohb-card:hover {
  border-color: color-mix(in srgb, var(--ohb-text-primary) 12%, transparent);
}
.ohb-card--cyan {
  border-color: var(--ohb-cyan-border);
}
.ohb-card--green {
  border-color: color-mix(in srgb, var(--ohb-green) 20%, transparent);
}
.ohb-card--warning {
  border-color: color-mix(in srgb, var(--ohb-yellow) 20%, transparent);
}

.ohb-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--ohb-radius-pill);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--ohb-font-mono);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.ohb-badge-active {
  background: color-mix(in srgb, var(--ohb-green) 12%, transparent);
  color: var(--ohb-green);
  border: 1px solid color-mix(in srgb, var(--ohb-green) 25%, transparent);
}
.ohb-badge-warning {
  background: color-mix(in srgb, var(--ohb-yellow) 10%, transparent);
  color: var(--ohb-yellow);
  border: 1px solid color-mix(in srgb, var(--ohb-yellow) 20%, transparent);
}
.ohb-badge-error {
  background: color-mix(in srgb, var(--ohb-red) 10%, transparent);
  color: var(--ohb-red);
  border: 1px solid color-mix(in srgb, var(--ohb-red) 20%, transparent);
}
.ohb-badge-neutral {
  background: color-mix(in srgb, var(--ohb-text-primary) 5%, transparent);
  color: var(--ohb-text-muted);
  border: 1px solid color-mix(in srgb, var(--ohb-text-primary) 10%, transparent);
}
.ohb-badge-cyan {
  background: var(--ohb-cyan-dim);
  color: var(--ohb-cyan);
  border: 1px solid var(--ohb-cyan-border);
}

.ohb-input {
  width: 100%;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--ohb-text-primary) 4%, transparent);
  border: 1px solid var(--ohb-border);
  border-radius: var(--ohb-radius-md);
  color: var(--ohb-text-primary);
  font-family: var(--ohb-font-body);
  font-size: 14px;
  transition:
    border-color var(--ohb-transition),
    box-shadow var(--ohb-transition);
  outline: none;
}
.ohb-input::placeholder {
  color: var(--ohb-text-faint);
}
.ohb-input:focus {
  border-color: var(--ohb-border-focus);
  box-shadow: 0 0 0 3px var(--ohb-accent-dim);
}

body.ohb-portal label,
body.ohb-auth-page label,
body.ohb-billing-page label,
body.ohb-pricing-portal label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ohb-text-muted);
  margin-bottom: 6px;
  font-family: var(--ohb-font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ohb-empty,
.ohb-empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--ohb-text-faint);
}
.ohb-empty-icon {
  font-size: 40px;
  margin-bottom: 20px;
  opacity: 0.4;
}
.ohb-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ohb-text-muted);
  margin-bottom: 8px;
  font-family: var(--ohb-font-display);
}
.ohb-empty-sub {
  font-size: 13px;
  line-height: 1.6;
}

.ohb-alert {
  padding: 12px 16px;
  border-radius: var(--ohb-radius-md);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ohb-alert-error,
.ohb-alert.err {
  background: color-mix(in srgb, var(--ohb-red) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ohb-red) 20%, transparent);
  color: color-mix(in srgb, var(--ohb-red) 92%, var(--ohb-text-primary));
}
.ohb-alert-success {
  background: color-mix(in srgb, var(--ohb-green) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ohb-green) 20%, transparent);
  color: color-mix(in srgb, var(--ohb-green) 85%, var(--ohb-text-primary));
}
.ohb-alert-warn {
  background: color-mix(in srgb, var(--ohb-yellow) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ohb-yellow) 20%, transparent);
  color: color-mix(in srgb, var(--ohb-yellow) 85%, var(--ohb-text-primary));
}
.ohb-alert-info,
.ohb-alert.info {
  background: var(--ohb-cyan-dim);
  border: 1px solid var(--ohb-cyan-border);
  color: color-mix(in srgb, var(--ohb-accent) 85%, var(--ohb-text-primary));
}

.ohb-section-label {
  font-family: var(--ohb-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ohb-cyan);
  margin-bottom: 6px;
}
.ohb-divider {
  height: 1px;
  background: var(--ohb-border);
  margin: 24px 0;
}

.ohb-auth-tabs {
  display: flex;
  background: color-mix(in srgb, var(--ohb-text-primary) 4%, transparent);
  border-radius: var(--ohb-radius-md);
  padding: 4px;
  margin-bottom: 24px;
}
.ohb-auth-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ohb-text-muted);
  border-radius: var(--ohb-radius-sm);
  cursor: pointer;
  transition: all var(--ohb-transition);
  font-family: var(--ohb-font-body);
  border: none;
  background: none;
}
.ohb-auth-tab.active {
  background: var(--ohb-cyan-dim);
  color: var(--ohb-cyan);
  border: 1px solid var(--ohb-cyan-border);
}

.ohb-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.ohb-status-card {
  background: var(--ohb-bg-card);
  border: 1px solid var(--ohb-border);
  border-radius: var(--ohb-radius-md);
  padding: 16px;
}
.ohb-status-card-label {
  font-family: var(--ohb-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ohb-text-faint);
  margin-bottom: 8px;
}
.ohb-status-card-value {
  font-family: var(--ohb-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ohb-text-primary);
}
.ohb-status-card-sub {
  font-size: 11px;
  color: var(--ohb-text-faint);
  margin-top: 4px;
  line-height: 1.4;
}

.ohb-admin-mode-banner {
  padding: 7px 24px;
  font-size: 12px;
  font-family: var(--ohb-font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--ohb-red) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ohb-red) 20%, transparent);
  color: color-mix(in srgb, var(--ohb-red) 92%, var(--ohb-text-primary));
}
.ohb-kpi-value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.ohb-kpi-value--cyan {
  color: var(--ohb-cyan);
}
.ohb-kpi-value--green {
  color: var(--ohb-green);
}
.ohb-kpi-value--yellow {
  color: var(--ohb-yellow);
}
.ohb-kpi-value--red {
  color: var(--ohb-red);
}
.ohb-kpi-value--gray {
  color: var(--ohb-text-faint);
}
.ohb-table {
  width: 100%;
  border-collapse: collapse;
}
.ohb-table th {
  font-family: var(--ohb-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ohb-text-faint);
  padding: 10px 16px;
  border-bottom: 1px solid var(--ohb-border);
  text-align: left;
}
.ohb-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ohb-text-body);
  border-bottom: 1px solid color-mix(in srgb, var(--ohb-text-primary) 3%, transparent);
}
.ohb-table tr:hover td {
  background: color-mix(in srgb, var(--ohb-text-primary) 2%, transparent);
}
.ohb-table tr:last-child td {
  border-bottom: none;
}

.ohb-app-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ohb-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.ohb-app-tabs::-webkit-scrollbar {
  display: none;
}
.ohb-app-tab {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--ohb-font-mono);
  color: var(--ohb-text-faint);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--ohb-transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.ohb-app-tab:hover {
  color: var(--ohb-text-muted);
}
.ohb-app-tab.active {
  color: var(--ohb-cyan);
  border-bottom-color: var(--ohb-cyan);
}

.ohb-upload-zone {
  border: 2px dashed color-mix(in srgb, var(--ohb-accent) 20%, transparent);
  border-radius: var(--ohb-radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: color-mix(in srgb, var(--ohb-accent) 2%, transparent);
}
.ohb-upload-zone:hover,
.ohb-upload-zone.drag-over {
  border-color: var(--ohb-cyan-border);
  background: var(--ohb-cyan-dim);
}
.ohb-upload-zone-icon {
  font-size: 40px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.ohb-upload-zone-title {
  font-family: var(--ohb-font-display);
  font-size: 16px;
  color: var(--ohb-text-primary);
  margin-bottom: 8px;
}
.ohb-upload-zone-sub {
  font-size: 13px;
  color: var(--ohb-text-faint);
}
.ohb-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.ohb-kpi-tile {
  background: var(--ohb-bg-card);
  border: 1px solid var(--ohb-border);
  border-radius: var(--ohb-radius-md);
  padding: 14px;
}
.ohb-kpi-tile-label {
  font-family: var(--ohb-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ohb-text-faint);
  margin-bottom: 6px;
}
.ohb-kpi-tile-value {
  font-family: var(--ohb-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ohb-cyan);
  line-height: 1;
}

@media (max-width: 640px) {
  body.ohb-portal,
  body.ohb-landing-body {
    font-size: 14px;
  }
  body.ohb-portal h1,
  body.ohb-landing-body h1 {
    font-size: 20px;
  }
  body.ohb-portal h2,
  body.ohb-landing-body h2 {
    font-size: 16px;
  }
  .ohb-card {
    padding: 16px;
  }
  .ohb-btn {
    min-height: 44px;
  }
}

/* Chaque thème surcharge --g / --v / --b / --a et surfaces (aligné sur OHB_PowerBI_v6) */

[data-theme='neural'] {
  --g: #00ff87;
  --g2: rgba(0, 255, 135, 0.12);
  --g3: rgba(0, 255, 135, 0.06);
  --g4: rgba(0, 255, 135, 0.03);
  --v: #7000ff;
  --v2: rgba(112, 0, 255, 0.14);
  --v3: rgba(112, 0, 255, 0.06);
  --b: #00b4ff;
  --b2: rgba(0, 180, 255, 0.12);
  --b3: rgba(0, 180, 255, 0.05);
  --a: #ffaa00;
  --a2: rgba(255, 170, 0, 0.12);
  --a3: rgba(255, 170, 0, 0.05);
  --r: #ff2244;
  --r2: rgba(255, 34, 68, 0.12);
  --bg: #03030a;
  --bg2: #06060f;
  --bg3: #09091a;
  --bg4: #0d0d22;
  --bg5: #12122a;
  --border: rgba(0, 255, 135, 0.08);
  --border2: rgba(0, 255, 135, 0.16);
  --border3: rgba(0, 255, 135, 0.28);
  --text: #d0e8ff;
  --text2: #7c9db8;
  --text3: #5d7a96;
  --text4: #243044;
  --shadow-g: 0 0 20px rgba(0, 255, 135, 0.15);
  --glow-g: 0 0 30px rgba(0, 255, 135, 0.3), 0 0 60px rgba(0, 255, 135, 0.12);
}

[data-theme='cyber'] {
  --g: #00cfff;
  --g2: rgba(0, 207, 255, 0.12);
  --g3: rgba(0, 207, 255, 0.06);
  --g4: rgba(0, 207, 255, 0.03);
  --v: #ff6b35;
  --v2: rgba(255, 107, 53, 0.14);
  --v3: rgba(255, 107, 53, 0.06);
  --b: #7c3aed;
  --b2: rgba(124, 58, 237, 0.12);
  --b3: rgba(124, 58, 237, 0.05);
  --a: #f0e040;
  --a2: rgba(240, 224, 64, 0.12);
  --a3: rgba(240, 224, 64, 0.05);
  --r: #ff2244;
  --r2: rgba(255, 34, 68, 0.12);
  --bg: #010a10;
  --bg2: #031520;
  --bg3: #041e2c;
  --bg4: #062838;
  --bg5: #083244;
  --border: rgba(0, 207, 255, 0.08);
  --border2: rgba(0, 207, 255, 0.18);
  --border3: rgba(0, 207, 255, 0.3);
  --text: #cceeff;
  --text2: #6c9cc4;
  --text3: #4d7394;
  --text4: #1a2840;
  --shadow-g: 0 0 20px rgba(0, 207, 255, 0.2);
  --glow-g: 0 0 30px rgba(0, 207, 255, 0.35), 0 0 60px rgba(0, 207, 255, 0.12);
}

[data-theme='plasma'] {
  --g: #ff2d78;
  --g2: rgba(255, 45, 120, 0.12);
  --g3: rgba(255, 45, 120, 0.06);
  --g4: rgba(255, 45, 120, 0.03);
  --v: #00e5cc;
  --v2: rgba(0, 229, 204, 0.14);
  --v3: rgba(0, 229, 204, 0.06);
  --b: #c084fc;
  --b2: rgba(192, 132, 252, 0.12);
  --b3: rgba(192, 132, 252, 0.05);
  --a: #ffd60a;
  --a2: rgba(255, 214, 10, 0.12);
  --a3: rgba(255, 214, 10, 0.05);
  --r: #ff6b35;
  --r2: rgba(255, 107, 53, 0.12);
  --bg: #0a0010;
  --bg2: #0f0018;
  --bg3: #140024;
  --bg4: #19002e;
  --bg5: #1e0038;
  --border: rgba(255, 45, 120, 0.08);
  --border2: rgba(255, 45, 120, 0.2);
  --border3: rgba(255, 45, 120, 0.35);
  --text: #ffd0e8;
  --text2: #9a7090;
  --text3: #6a4a62;
  --text4: #2e1828;
  --shadow-g: 0 0 20px rgba(255, 45, 120, 0.2);
  --glow-g: 0 0 30px rgba(255, 45, 120, 0.4), 0 0 60px rgba(255, 45, 120, 0.12);
}

[data-theme='solar'] {
  --g: #ffb300;
  --g2: rgba(255, 179, 0, 0.12);
  --g3: rgba(255, 179, 0, 0.06);
  --g4: rgba(255, 179, 0, 0.03);
  --v: #ff4500;
  --v2: rgba(255, 69, 0, 0.14);
  --v3: rgba(255, 69, 0, 0.06);
  --b: #f0e040;
  --b2: rgba(240, 224, 64, 0.12);
  --b3: rgba(240, 224, 64, 0.05);
  --a: #ff6b35;
  --a2: rgba(255, 107, 53, 0.12);
  --a3: rgba(255, 107, 53, 0.05);
  --r: #ff1a1a;
  --r2: rgba(255, 26, 26, 0.12);
  --bg: #080400;
  --bg2: #100800;
  --bg3: #180c00;
  --bg4: #201000;
  --bg5: #281400;
  --border: rgba(255, 179, 0, 0.08);
  --border2: rgba(255, 179, 0, 0.2);
  --border3: rgba(255, 179, 0, 0.35);
  --text: #fff0cc;
  --text2: #9a8048;
  --text3: #6a5230;
  --text4: #2a1c0c;
  --shadow-g: 0 0 20px rgba(255, 179, 0, 0.2);
  --glow-g: 0 0 30px rgba(255, 179, 0, 0.4), 0 0 60px rgba(255, 179, 0, 0.12);
}

[data-theme='arctic'] {
  --g: #e8f4ff;
  --g2: rgba(232, 244, 255, 0.1);
  --g3: rgba(232, 244, 255, 0.05);
  --g4: rgba(232, 244, 255, 0.02);
  --v: #4488ff;
  --v2: rgba(68, 136, 255, 0.14);
  --v3: rgba(68, 136, 255, 0.06);
  --b: #00ccdd;
  --b2: rgba(0, 204, 221, 0.12);
  --b3: rgba(0, 204, 221, 0.05);
  --a: #88aaff;
  --a2: rgba(136, 170, 255, 0.12);
  --a3: rgba(136, 170, 255, 0.05);
  --r: #ff4466;
  --r2: rgba(255, 68, 102, 0.12);
  --bg: #030810;
  --bg2: #060e1c;
  --bg3: #0a1428;
  --bg4: #0e1a34;
  --bg5: #122040;
  --border: rgba(232, 244, 255, 0.06);
  --border2: rgba(232, 244, 255, 0.14);
  --border3: rgba(232, 244, 255, 0.25);
  --text: #e8f4ff;
  --text2: #7a8ca8;
  --text3: #6a8098;
  /* Lisible sur fond #030810 (évite le quasi-noir #1e2838) */
  --text4: #6b7f9a;
  --shadow-g: 0 0 20px rgba(232, 244, 255, 0.1);
  --glow-g: 0 0 30px rgba(232, 244, 255, 0.2), 0 0 60px rgba(68, 136, 255, 0.1);
}

[data-theme='blood'] {
  --g: #ff3333;
  --g2: rgba(255, 51, 51, 0.12);
  --g3: rgba(255, 51, 51, 0.06);
  --g4: rgba(255, 51, 51, 0.03);
  --v: #ff8800;
  --v2: rgba(255, 136, 0, 0.14);
  --v3: rgba(255, 136, 0, 0.06);
  --b: #cc0000;
  --b2: rgba(204, 0, 0, 0.12);
  --b3: rgba(204, 0, 0, 0.05);
  --a: #ffcc00;
  --a2: rgba(255, 204, 0, 0.12);
  --a3: rgba(255, 204, 0, 0.05);
  --r: #ff6666;
  --r2: rgba(255, 102, 102, 0.12);
  --bg: #080000;
  --bg2: #0f0000;
  --bg3: #160000;
  --bg4: #1d0000;
  --bg5: #240000;
  --border: rgba(255, 51, 51, 0.08);
  --border2: rgba(255, 51, 51, 0.2);
  --border3: rgba(255, 51, 51, 0.35);
  --text: #ffe0e0;
  --text2: #a06060;
  --text3: #783838;
  --text4: #281010;
  --shadow-g: 0 0 20px rgba(255, 51, 51, 0.2);
  --glow-g: 0 0 30px rgba(255, 51, 51, 0.4), 0 0 60px rgba(255, 51, 51, 0.12);
}

[data-theme='command'] {
  --g: #00f0ff;
  --g2: rgba(0, 240, 255, 0.12);
  --g3: rgba(0, 240, 255, 0.06);
  --g4: rgba(0, 240, 255, 0.03);
  --cyan: #00f0ff;
  --cyan-dim: rgba(0, 240, 255, 0.08);
  --v: #ff6b35;
  --v2: rgba(255, 107, 53, 0.14);
  --v3: rgba(255, 107, 53, 0.06);
  --b: #38bdf8;
  --b2: rgba(56, 189, 248, 0.12);
  --b3: rgba(56, 189, 248, 0.05);
  --a: #ffd43b;
  --a2: rgba(255, 212, 59, 0.12);
  --a3: rgba(255, 212, 59, 0.05);
  --r: #ff3366;
  --r2: rgba(255, 51, 102, 0.12);
  --bg: #00040a;
  --bg2: #000d1a;
  --bg3: #001525;
  --bg4: #001e30;
  --bg5: #002238;
  --border: rgba(0, 242, 255, 0.1);
  --border2: rgba(0, 242, 255, 0.22);
  --border3: rgba(0, 242, 255, 0.38);
  --text: #d4f4ff;
  --text2: #6c9cc0;
  --text3: #4d7394;
  --text4: #142030;
  --shadow-g: 0 0 24px rgba(0, 242, 255, 0.22);
  --glow-g: 0 0 36px rgba(0, 242, 255, 0.35), 0 0 72px rgba(0, 180, 255, 0.12);
}

/* Jetons dérivés écosystème (landing / portail / pricing) — suivent automatiquement la palette */
[data-theme] {
  /* Alias sémantique (liens « accent » marketing, légendes) */
  --accent: var(--b);
  --ohb-landing-glow: color-mix(in srgb, var(--b) 35%, transparent);
  --ohb-landing-glass: color-mix(in srgb, var(--bg2) 88%, transparent);
  --ohb-landing-orb1: color-mix(in srgb, var(--b) 40%, transparent);
  --ohb-landing-orb2: color-mix(in srgb, var(--v) 35%, transparent);
  --ohb-landing-orb3: color-mix(in srgb, var(--g) 22%, transparent);
  --ohb-brand-fill: color-mix(in srgb, var(--b) 12%, transparent);
  --ohb-brand-fill-soft: color-mix(in srgb, var(--b) 8%, transparent);
  --ohb-brand-fill-mid: color-mix(in srgb, var(--b) 10%, transparent);
  --ohb-brand-fill-strong: color-mix(in srgb, var(--b) 16%, transparent);
  /* CTA primaire : 2e couleur du dégradé (évite un vert figé #00cc6a) */
  --ohb-cta-grad-end: color-mix(in srgb, var(--b) 50%, var(--v) 50%);
  --ohb-cta-text-on-accent: #061018;
  --ohb-cta-text-shadow: 0 1px 2px rgba(255, 255, 255, 0.14);
  --ohb-cta-shadow: 0 0 24px color-mix(in srgb, var(--g) 28%, transparent);
  /* Héros / atmosphère */
  --ohb-atmosphere-hero-spot: color-mix(in srgb, var(--b) 18%, transparent);
  --ohb-atmosphere-vignette: color-mix(in srgb, var(--bg) 50%, black);
  --ohb-surface-footer: color-mix(in srgb, var(--bg) 88%, black);
  /* Focus clavier / champs (lisible sur toutes les palettes) */
  --ohb-focus-ring: 0 0 0 2px color-mix(in srgb, var(--bg2) 92%, transparent),
    0 0 0 4px color-mix(in srgb, var(--g) 42%, transparent);
  /* Halos titres (section, pas le corps de texte) */
  --ohb-heading-glow: 0 0 32px color-mix(in srgb, var(--g) 14%, transparent);
  /* Texte d’aide / microcopy : lisible mais secondaire (toutes palettes) */
  --text-support: color-mix(in srgb, var(--text3) 6%, var(--text2) 54%, var(--text) 40%);
  /* Boutons outline — jamais le texte sombre des CTA pleins */
  --ohb-cta-ghost-text: color-mix(in srgb, var(--text) 92%, var(--b) 8%);
  --ohb-cta-ghost-text-hover: var(--b);
  --ohb-cta-ghost-bg: linear-gradient(
    165deg,
    color-mix(in srgb, var(--bg3) 82%, transparent) 0%,
    color-mix(in srgb, var(--bg2) 68%, transparent) 100%
  );
  --ohb-cta-ghost-border: color-mix(in srgb, var(--g) 32%, var(--b) 28%);
  --ohb-cta-ghost-glow:
    0 0 0 1px color-mix(in srgb, var(--b) 10%, transparent),
    0 0 24px color-mix(in srgb, var(--b) 16%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--text) 10%, transparent);
  --ohb-cta-ghost-glow-hover:
    0 0 0 1px color-mix(in srgb, var(--b) 22%, transparent),
    0 0 36px color-mix(in srgb, var(--b) 28%, transparent),
    0 0 64px color-mix(in srgb, var(--g) 10%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--text) 14%, transparent);
  --ohb-cta-ghost-text-glow: 0 0 16px color-mix(in srgb, var(--b) 28%, transparent);
}

/* Palettes claires : texte sombre sur dégradés CTA */
[data-theme='solar'],
[data-theme='arctic'] {
  --ohb-cta-text-on-accent: #0a1020;
  --ohb-cta-text-shadow: none;
  --text-support: color-mix(in srgb, var(--text3) 4%, var(--text2) 56%, var(--text) 40%);
}

/* Boutons outline hero — glass néon (aligné palette OHB) */
.ohb-landing-cta-pill.ohb-landing-cta-ghost {
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  background: var(--ohb-cta-ghost-bg) !important;
  -webkit-text-fill-color: var(--ohb-cta-ghost-text, #e8f4ff) !important;
  color: var(--ohb-cta-ghost-text, #e8f4ff) !important;
  text-shadow: var(--ohb-cta-ghost-text-glow) !important;
  border: 1px solid var(--ohb-cta-ghost-border) !important;
  box-shadow: var(--ohb-cta-ghost-glow) !important;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.ohb-landing-cta-pill.ohb-landing-cta-ghost:hover {
  -webkit-text-fill-color: var(--ohb-cta-ghost-text-hover, var(--b)) !important;
  color: var(--ohb-cta-ghost-text-hover, var(--b)) !important;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--b) 14%, var(--bg3) 86%) 0%,
    color-mix(in srgb, var(--b) 8%, var(--bg2) 92%) 100%
  ) !important;
  border-color: color-mix(in srgb, var(--b) 55%, var(--g) 25%) !important;
  box-shadow: var(--ohb-cta-ghost-glow-hover) !important;
  text-shadow: 0 0 22px color-mix(in srgb, var(--b) 45%, transparent) !important;
  transform: translateY(-2px);
}

/* CTA plein — priorité lisibilité (landing, header, tarifs, /app upload) */
.ohb-landing-cta-pill:not(.ohb-landing-cta-ghost),
.ohb-site-header__cta,
.btn-cta:not(.secondary),
#uploadScreen .btn-agent,
.lang-btn.active,
.tlb.act {
  color: var(--ohb-cta-text-on-accent) !important;
  text-shadow: var(--ohb-cta-text-shadow, none);
  -webkit-text-fill-color: var(--ohb-cta-text-on-accent) !important;
}

/* Titres marketing / portail / tarifs — pas la console admin */
html[data-theme] body.ohb-landing-body .section-title,
html[data-theme] body.ohb-portal .section-title,
html[data-theme] body.ohb-pricing-portal .section-title,
html[data-theme] body.ohb-pricing-portal .ohb-pr-block-title {
  text-shadow: var(--ohb-heading-glow);
}

/* ═══ Lanceur palette global (toutes pages OHB — même moteur que /app) ═══ */
@keyframes ohb-theme-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.ohb-global-theme-host {
  --ohb-launcher-display: var(--f-display, 'Orbitron', system-ui, sans-serif);
  --ohb-launcher-mono: var(--f-mono, 'Share Tech Mono', 'JetBrains Mono', monospace);
}

.ohb-global-theme-host .theme-switcher {
  position: fixed;
  z-index: 9500;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px) + 12px);
  pointer-events: none;
}

.ohb-global-theme-host .theme-switcher > * {
  pointer-events: auto;
}

.ohb-global-theme-host .theme-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  box-shadow: var(--shadow-g);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  padding: 0;
  font-family: inherit;
}

.ohb-global-theme-host .theme-fab:hover {
  transform: scale(1.08) rotate(16deg);
  box-shadow: var(--glow-g);
}

.ohb-global-theme-host .theme-fab::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--g);
  opacity: 0.3;
  animation: ohb-theme-ring-spin 4s linear infinite;
  pointer-events: none;
}

.ohb-global-theme-host .theme-panel {
  position: absolute;
  bottom: 58px;
  right: 0;
  width: min(300px, calc(100vw - 32px));
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.4);
  transform: translateY(12px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  transform-origin: bottom right;
}

.ohb-global-theme-host .theme-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.ohb-global-theme-host .tp-header {
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ohb-global-theme-host .tp-title {
  font-family: var(--ohb-launcher-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--g);
}

.ohb-global-theme-host .tp-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--text3);
  transition: color 0.15s, border-color 0.15s;
  padding: 0;
  font-family: inherit;
  line-height: 1;
}

.ohb-global-theme-host .tp-close:hover {
  color: var(--g);
  border-color: var(--g);
}

.ohb-global-theme-host .tp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.ohb-global-theme-host .theme-tile {
  padding: 12px 10px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ohb-global-theme-host .theme-tile:hover {
  transform: translateY(-2px);
}

.ohb-global-theme-host .theme-tile.active {
  border-color: var(--g) !important;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
}

.ohb-global-theme-host .tt-swatches {
  display: flex;
  gap: 3px;
  height: 22px;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
}

.ohb-global-theme-host .tt-sw {
  flex: 1;
}

.ohb-global-theme-host .tt-name {
  font-family: var(--ohb-launcher-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.ohb-global-theme-host .tt-badge {
  font-size: 10px;
  font-family: var(--ohb-launcher-mono);
  color: var(--text3);
  text-align: center;
  line-height: 1.35;
}

.ohb-global-theme-host .theme-tile.active .tt-badge {
  color: var(--g);
}

.ohb-global-theme-host .tp-current {
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text3);
  font-family: var(--ohb-launcher-mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.ohb-global-theme-host .tp-current span:last-child {
  color: var(--g);
  font-weight: 700;
  font-family: var(--ohb-launcher-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: right;
}

.ohb-global-theme-host .tt-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #000;
  font-weight: 900;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s, transform 0.2s;
}

.ohb-global-theme-host .theme-tile.active .tt-check {
  opacity: 1;
  transform: scale(1);
}

/* Console admin : discret, même logique */
.ohb-global-theme-host--admin .theme-fab {
  width: 44px;
  height: 44px;
  font-size: 18px;
  opacity: 0.92;
}

.ohb-global-theme-host--admin .theme-fab:hover {
  opacity: 1;
}

.ohb-global-theme-host--admin .theme-fab::before {
  animation: none;
  opacity: 0.18;
}

.ohb-global-theme-host--admin .theme-panel {
  max-height: min(68vh, 480px);
}

@media (max-width: 480px) {
  .ohb-global-theme-host .theme-switcher {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px) + 8px);
  }

  .ohb-global-theme-host .theme-panel {
    width: calc(100vw - 24px);
    right: 0;
  }
}

/* --- Portail / landing : mobile-first (touch + overflow) --- */
@media (max-width: 768px) {
  /* Touch targets header (cibles ≥ 44px) */
  .ohb-site-header .ohb-site-header__link,
  .ohb-site-header .ohb-site-header__cta,
  .ohb-site-header .ohb-site-header__menu-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Admin / tableaux : défilement horizontal mobile */
.admin-table-wrap,
[data-table-wrap],
.ohb-admin-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

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

  .admin-tabs,
  .ohb-admin-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .admin-form input[type='text'],
  .admin-form input[type='email'],
  .admin-form input[type='password'],
  .admin-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .admin-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ═══ Formulaires : états visuels (auth / portail) ═══ */
input.ohb-error,
input[data-error='true'],
.ohb-input-error input {
  border-color: color-mix(in srgb, var(--ohb-red) 50%, transparent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ohb-red) 8%, transparent) !important;
}

input.ohb-success,
input[data-valid='true'] {
  border-color: color-mix(in srgb, var(--ohb-green) 40%, transparent) !important;
}

.ohb-btn-loading {
  opacity: 0.7;
  cursor: wait !important;
  pointer-events: none;
}

.ohb-btn-loading::after {
  content: ' ⟳';
  animation: ohb-spin 1s linear infinite;
  display: inline-block;
}

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

p.ohb-field-error {
  font-size: 11px;
  color: var(--ohb-red);
  margin: 4px 0 0;
}

/* ═══ États vides standardisés ═══ */
.ohb-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--ohb-text-faint);
}

.ohb-empty-icon {
  font-size: 36px;
  margin-bottom: 16px;
  opacity: 0.4;
  display: block;
}

.ohb-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ohb-text-muted);
  margin-bottom: 8px;
}

.ohb-empty-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ohb-text-faint);
  max-width: 280px;
  margin: 0 auto;
}

/* ═══ Très petits écrans (≈ iPhone SE) ═══ */
@media (max-width: 400px) {
  .ohb-site-header__inner,
  .ohb-site-header__bar {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .ohb-auth-card,
  [data-auth-card] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }

  .cards-grid,
  .ohb-pricing-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .ohb-status-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr !important;
  }

  .ohb-btn-full-mobile {
    width: 100% !important;
  }

  .ohb-site-header__portal-quick {
    display: none !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .cards-grid,
  .ohb-pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══ Transitions thème & micro-UX (OHB Theme Engine) ═══ */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 300ms;
  transition-timing-function: ease;
}

input,
textarea,
select,
.ohb-no-transition,
[data-no-transition] {
  transition: none !important;
}

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

.ohb-card,
.ohb-plan-card,
.ohb-hub-card-v2,
[class*='ohb-'][class*='card'] {
  transition:
    border-color var(--ohb-t),
    transform 200ms ease,
    box-shadow 200ms ease !important;
}

.ohb-card:hover,
.ohb-plan-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgb(0 0 0 / 0.3),
    0 0 0 1px var(--ohb-accent-border);
}

.ohb-btn-primary:hover,
.btn-cta:hover,
[class*='btn-cta']:hover {
  box-shadow: var(--ohb-accent-glow) !important;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px var(--ohb-accent-dim) !important;
  border-color: var(--ohb-border-focus) !important;
}

@keyframes ohb-accent-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--ohb-accent-border) var(--ohb-bg-2);
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--ohb-bg-2);
}

*::-webkit-scrollbar-thumb {
  background: var(--ohb-accent-border);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--ohb-accent);
}

::selection {
  background: var(--ohb-accent-dim);
  color: var(--ohb-accent);
}

.ohb-brand-mark-svg,
.ring {
  transition: filter 0.3s ease;
}

.ohb-site-header__brand:hover .ring,
.brand-mini:hover .ring {
  filter: drop-shadow(0 0 6px var(--ohb-accent));
}

@keyframes ohb-page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-wrap,
[data-testid='ohb-account-hub'],
.ohb-portal {
  animation: ohb-page-in 0.4s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-wrap,
  [data-testid='ohb-account-hub'],
  .ohb-portal {
    animation: none;
  }
}
