/* ECAM — premium dark enterprise shell */

:root {
  --bg: #050b18;
  --ink-950: #f8fafc;
  --ink-900: #e8eef8;
  --ink-800: #d1dae8;
  --ink-700: #b6c2d6;
  --ink-600: #94a3b8;
  --ink-500: #7b8ba3;
  --ink-400: #64748b;
  --ink-300: #475569;
  --ink-200: #1e3a5f;
  --ink-100: #13294a;
  --ink-50: #0a1628;
  --surface: #0d1b35;
  --surface-muted: #0a1528;
  --surface-sunken: #07101f;
  --accent: #126bff;
  --accent-hover: #3b82f6;
  --accent-soft: rgba(18, 107, 255, 0.16);
  --accent-border: rgba(18, 107, 255, 0.38);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.14);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.14);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.14);
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.14);
  --violet: #a78bfa;
  --violet-soft: rgba(167, 139, 250, 0.14);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.3);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Plus Jakarta Sans", "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --rail: 248px;
  --top: 64px;
  --rail-bg: #050b18;
  --rail-text: #cbd5e1;
  --rail-muted: #64748b;
  --space: 8px;
  --ease: 180ms cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(34, 211, 238, 0.28);
  --glow-blue: 0 0 24px rgba(18, 107, 255, 0.35);
  --glow-cyan: 0 0 20px rgba(34, 211, 238, 0.28);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-900);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(18, 107, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(34, 211, 238, 0.1), transparent 45%),
    linear-gradient(180deg, #07111f 0%, var(--bg) 40%, #030712 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* —— Shell —— */
.shell {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  min-height: 100vh;
}

.rail {
  width: var(--rail);
  padding: calc(var(--space) * 2);
  border-right: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(18, 107, 255, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, #081225 0%, var(--rail-bg) 100%);
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 1.25);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  z-index: 20;
  color: var(--rail-text);
}

.brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.35rem 0.15rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.25rem;
}

.brand-mark,
.topbar-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
  clip-path: none;
  border-radius: 0;
  overflow: visible;
}
.brand-mark svg,
.topbar-mark svg,
.pref-brand svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-mark::after,
.topbar-mark::after { content: none; display: none; }

.brand-text { min-width: 0; line-height: 1.1; }

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}
.brand-product,
.brand-product-inline {
  font-size: 0.72rem;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  margin-top: 0.12rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  min-height: 40px;
  min-width: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.nav-group {
  margin-top: 0.85rem;
}
.nav-group:first-child { margin-top: 0.2rem; }
.nav-group-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.35rem 0.65rem 0.4rem;
}

.nav-item {
  color: var(--rail-text);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 38px;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.nav-item .nav-ico {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  flex-shrink: 0;
  color: #64748b;
  transition: color var(--ease);
}
.nav-item .nav-label { flex: 1; min-width: 0; line-height: 1.3; }
.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: transparent;
}
.nav-item:hover .nav-ico { color: #93c5fd; }
.nav-item.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, #0b5fff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-blue);
}
.nav-item.is-active .nav-ico { color: #fff; }
.nav-item.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  color: var(--rail-muted);
}
.nav-item.is-disabled:hover {
  background: transparent;
  border-color: transparent;
  color: var(--rail-muted);
}
.nav-item .why {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.12rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rail-cta {
  margin-top: auto;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.28), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #e2e8f0;
}
.rail-cta-ico {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.35);
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}
.rail-cta p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #cbd5e1;
}

.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.context-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 27, 53, 0.72);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}
.context-left {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  flex: 1;
}

.master-banner {
  background: var(--warn-soft);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-800);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
  max-width: 42rem;
}
.master-banner strong { color: #fbbf24; font-weight: 650; }
.master-banner span { color: var(--ink-600); }

.topbar {
  min-height: var(--top);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.4fr) minmax(200px, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 27, 53, 0.82);
  backdrop-filter: blur(12px);
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 15;
}

.topbar-brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}
.topbar-mark {
  width: 2.25rem;
  height: 2.25rem;
}
.topbar-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-950);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.topbar-sub {
  font-size: 0.68rem;
  color: var(--ink-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.topbar-sub.brand-product-inline {
  color: var(--cyan);
  letter-spacing: 0.28em;
  font-weight: 500;
  max-width: none;
}

.topbar-search-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}
.topbar-search {
  width: 100%;
  border-radius: 999px;
  padding-right: 3.4rem;
  background: var(--surface-muted);
  min-height: 40px;
}
.search-kbd {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-400);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  pointer-events: none;
}

.topbar-left, .topbar-right {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-right { justify-content: flex-end; }

.top-field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-400);
}
.top-field select {
  min-width: 170px;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-900);
  background: var(--surface);
}

.search,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  min-height: 36px;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.search:hover,
input:not([type="checkbox"]):not([type="radio"]):hover,
select:hover,
textarea:hover {
  border-color: var(--border-strong);
}
.search:focus,
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--focus);
  outline: none;
}
.search:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  background: var(--surface-sunken);
  color: var(--ink-400);
  cursor: not-allowed;
}
.search { min-width: 200px; }
textarea { min-height: auto; resize: vertical; }

.badge {
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  white-space: nowrap;
}
.badge-muted {
  background: var(--surface-sunken);
  border-color: var(--border);
  color: var(--ink-500);
}
.badge-ok {
  background: var(--ok-soft);
  border-color: rgba(52, 211, 153, 0.35);
  color: var(--ok);
}
.badge-warn {
  background: var(--warn-soft);
  border-color: rgba(251, 191, 36, 0.35);
  color: var(--warn);
}
.badge-bad {
  background: var(--danger-soft);
  border-color: rgba(248, 113, 113, 0.35);
  color: var(--danger);
}

.icon-btn, .btn {
  min-height: 36px;
  border-radius: var(--radius);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-800);
  font-weight: 550;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.icon-btn-round {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  position: relative;
}
.alert-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid var(--surface);
}
.icon-btn:hover, .btn-ghost:hover:not(:disabled) {
  background: var(--surface-muted);
  border-color: var(--border-strong);
  color: var(--ink-950);
}
.btn {
  background: linear-gradient(135deg, #3b82f6 0%, var(--accent) 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-xs), 0 0 0 1px rgba(34, 211, 238, 0.15);
}
.btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #0b5fff 100%);
  border-color: transparent;
  box-shadow: var(--shadow-sm), var(--glow-cyan);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled, .icon-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-800);
  font-weight: 550;
  box-shadow: none;
}
.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
.btn-danger:hover:not(:disabled) {
  background: #a83226;
  border-color: #a83226;
}

.profile {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--ink-700);
  padding: 0.25rem 0.55rem 0.25rem 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  white-space: nowrap;
  cursor: pointer;
  font: inherit;
  transition: border-color var(--ease), background var(--ease);
}
.profile:hover {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}
.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2563eb, #1e40af);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.profile-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-right: 0.25rem;
}
.profile-name { color: var(--ink-900); font-weight: 650; font-size: 0.8rem; }
.profile-role { color: var(--ink-400); font-size: 0.68rem; font-weight: 500; text-transform: capitalize; }

.main {
  padding: 1.35rem 1.75rem 3rem;
  max-width: 1280px;
  width: 100%;
  animation: page-in 240ms var(--ease);
}
.main.is-overview,
.main.is-campaigns,
.main.is-bdr {
  max-width: 1360px;
}
.main.is-overview .page-head,
.main.is-campaigns .page-head,
.main.is-bdr .page-head { display: none; }

/* —— BDR Workspace (reference colour theme) —— */
.main.is-bdr {
  --bdr-ink: #e8eef8;
  --bdr-muted: #9aa8c0;
}
.bdr-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  border: 1px solid #1e293b;
  background:
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(56, 189, 248, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(139, 92, 246, 0.16), transparent 45%),
    linear-gradient(135deg, #0b1220 0%, #111827 55%, #0f172a 100%);
  color: var(--bdr-ink);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}
.bdr-hero-copy {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  min-width: 0;
}
.bdr-hero-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.35);
  flex-shrink: 0;
}
.bdr-hero-ico svg { width: 1.25rem; height: 1.25rem; }
.bdr-hero h1 {
  margin: 0 0 0.25rem;
  color: #f8fafc;
  font-size: 1.45rem;
}
.bdr-hero .lede {
  color: var(--bdr-muted);
  max-width: 28rem;
}
.bdr-hero .lede strong { color: #fbbf24; font-weight: 650; }
.bdr-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.bdr-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  min-width: 7.5rem;
}
.bdr-chip-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  flex-shrink: 0;
}
.bdr-chip-ico svg { width: 0.95rem; height: 0.95rem; }
.bdr-chip-ico.tone-violet { background: rgba(139, 92, 246, 0.22); color: #c4b5fd; }
.bdr-chip-ico.tone-blue { background: rgba(56, 189, 248, 0.2); color: #67e8f9; }
.bdr-chip-ico.tone-sky { background: rgba(59, 130, 246, 0.22); color: #93c5fd; }
.bdr-chip strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.1;
}
.bdr-chip span {
  font-size: 0.68rem;
  color: var(--bdr-muted);
  font-weight: 550;
}
.bdr-analytics {
  border-color: rgba(148, 163, 184, 0.35) !important;
  background: rgba(15, 23, 42, 0.4) !important;
  color: #e2e8f0 !important;
}
.bdr-analytics:hover {
  border-color: rgba(56, 189, 248, 0.55) !important;
  color: #fff !important;
}

.bdr-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.bdr-card {
  position: relative;
  min-height: 168px;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.bdr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 42%);
  pointer-events: none;
}
.bdr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
  border-color: rgba(255, 255, 255, 0.16);
}
.bdr-card.tone-blue {
  background: linear-gradient(145deg, #1d4ed8 0%, #1e3a8a 48%, #0f172a 100%);
}
.bdr-card.tone-violet {
  background: linear-gradient(145deg, #7c3aed 0%, #5b21b6 48%, #1e1b4b 100%);
}
.bdr-card.tone-green {
  background: linear-gradient(145deg, #059669 0%, #065f46 48%, #052e1f 100%);
}
.bdr-card.tone-amber {
  background: linear-gradient(145deg, #d97706 0%, #92400e 48%, #1c1917 100%);
}
.bdr-card.tone-sky {
  background: linear-gradient(145deg, #0284c7 0%, #1e3a8a 52%, #0f172a 100%);
}
.bdr-card.tone-purple {
  background: linear-gradient(145deg, #9333ea 0%, #6b21a8 48%, #2e1065 100%);
}
.bdr-card.tone-teal {
  background: linear-gradient(145deg, #0d9488 0%, #115e59 48%, #042f2e 100%);
}
.bdr-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.bdr-card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}
.bdr-card-ico svg { width: 1.05rem; height: 1.05rem; }
.bdr-card-titleblock { min-width: 0; }
.bdr-card h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: rgba(248, 250, 252, 0.95);
  letter-spacing: -0.01em;
}
.bdr-card-metrics {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.bdr-card-value {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bdr-card-delta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #86efac;
}
.bdr-card-delta.is-empty {
  color: rgba(226, 232, 240, 0.45);
  font-weight: 550;
}
.bdr-card-detail {
  position: relative;
  z-index: 1;
  margin: 0.85rem 2.5rem 0 0;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.4;
}
.bdr-card-go {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.35);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  opacity: 0.85;
}
.bdr-card-go svg { width: 0.9rem; height: 0.9rem; }
.bdr-foot-hint {
  margin: 0.9rem 0 0;
}

.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;
}

/* —— Campaigns page (dark futuristic reference) —— */
.main.is-campaigns {
  --camp-ink: #e8eef8;
  --camp-muted: #94a3b8;
  --camp-line: rgba(148, 163, 184, 0.18);
  --camp-surface: #121a2b;
  --camp-surface-2: #0f172a;
}

.camp-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.45rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  border: 1px solid var(--camp-line);
  background:
    radial-gradient(ellipse 55% 120% at 85% 20%, rgba(37, 99, 235, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 80% at 10% 0%, rgba(56, 189, 248, 0.12), transparent 50%),
    linear-gradient(135deg, #0b1220 0%, #111827 50%, #0f172a 100%);
  color: var(--camp-ink);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
  flex-wrap: wrap;
}
.camp-hero-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 1 1 280px;
  min-width: 0;
}
.camp-hero-copy { min-width: 0; max-width: 28rem; }
.camp-hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  color: #f8fafc;
}
.camp-hero .lede {
  color: var(--camp-muted);
  max-width: 26rem;
}
.camp-mail-stack {
  width: 72px;
  height: 56px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.45));
}

.camp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 0.55rem;
  flex: 1 1 360px;
  align-content: center;
}
.camp-stat {
  position: relative;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--camp-line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  min-height: 84px;
}
.camp-stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  margin-bottom: 0.35rem;
}
.camp-stat-ico svg { width: 0.95rem; height: 0.95rem; }
.camp-stat-ico.tone-blue { background: rgba(59, 130, 246, 0.22); color: #93c5fd; }
.camp-stat-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}
.camp-stat-dot.tone-ok { background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.55); }
.camp-stat-dot.tone-warn { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.45); }
.camp-stat-dot.tone-bad { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.45); }
.camp-stat .label {
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--camp-muted);
}
.camp-stat .value {
  margin-top: 0.2rem;
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.camp-table-panel {
  padding: 0;
  overflow: hidden;
  border-color: var(--camp-line);
  background: var(--camp-surface);
  color: var(--camp-ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}
.camp-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--camp-line);
  background: linear-gradient(180deg, #152033 0%, var(--camp-surface) 100%);
}
.camp-table-actions,
.camp-table-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.camp-table-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}
.camp-table-actions .btn-ghost {
  background: transparent;
  border-color: var(--camp-line);
  color: var(--camp-ink);
  box-shadow: none;
}
.camp-table-actions .btn-ghost:hover:not(:disabled) {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.35);
}
.camp-table-actions .btn svg { display: block; }
.camp-search input {
  min-width: 200px;
  height: 36px;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--camp-line);
  border-radius: var(--radius);
  background: var(--camp-surface-2);
  color: var(--camp-ink);
}
.camp-search input::placeholder { color: #64748b; }
.camp-search input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.camp-tool {
  width: 2.1rem;
  height: 2.1rem;
  min-height: 0;
  padding: 0;
  border-color: var(--camp-line);
  background: var(--camp-surface-2);
  color: var(--camp-muted);
}
.camp-tool.is-active {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(37, 99, 235, 0.2);
}
.camp-table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-height: min(62vh, 640px);
  background: transparent;
}
.camp-table {
  color: var(--camp-ink);
}
.camp-table th {
  background: #0d1524;
  color: #94a3b8;
  border-bottom-color: var(--camp-line);
}
.camp-table td {
  border-bottom-color: var(--camp-line);
  color: #cbd5e1;
}
.camp-table tbody tr:nth-child(even) td { background: rgba(15, 23, 42, 0.45); }
.camp-table tbody tr:hover td { background: rgba(37, 99, 235, 0.12); }
.camp-table tbody tr.is-selected td {
  background: rgba(37, 99, 235, 0.2);
  box-shadow: inset 3px 0 0 #3b82f6;
}
.camp-table .col-actions {
  width: 2.5rem;
  text-align: right;
  padding-right: 0.85rem;
}
.camp-table .mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #93c5fd;
}
.camp-table .row-more {
  color: var(--camp-muted);
  border-color: var(--camp-line);
  background: transparent;
}
.camp-name-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 14rem;
}
.camp-name-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.camp-name-ico svg { width: 0.95rem; height: 0.95rem; }
.camp-name {
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.3;
}
.camp-created {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--camp-muted);
  white-space: nowrap;
}
.camp-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.1rem 0.9rem;
  border-top: 1px solid var(--camp-line);
  background: #0d1524;
}
.camp-table-foot .hint { margin: 0; color: var(--camp-muted); }
.camp-pager {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--camp-muted);
  font-weight: 550;
}
.camp-pager .icon-btn {
  width: 1.85rem;
  height: 1.85rem;
  min-height: 0;
  padding: 0;
  border-color: var(--camp-line);
  background: var(--camp-surface-2);
  color: var(--camp-muted);
}
.camp-table .empty {
  background: transparent;
  border-color: var(--camp-line);
  color: var(--camp-muted);
}

.type-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}
.type-pill.tone-violet { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; border-color: rgba(167, 139, 250, 0.3); }
.type-pill.tone-green { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.28); }
.type-pill.tone-blue { background: rgba(96, 165, 250, 0.16); color: #93c5fd; border-color: rgba(96, 165, 250, 0.3); }
.type-pill.tone-pink { background: rgba(244, 114, 182, 0.16); color: #f9a8d4; border-color: rgba(244, 114, 182, 0.3); }
.type-pill.tone-slate { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.25); }

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #e2e8f0;
}
.status-dot-mark {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #64748b;
}
.status-dot[data-tone="ok"] { color: #86efac; }
.status-dot[data-tone="ok"] .status-dot-mark { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.55); }
.status-dot[data-tone="warn"] { color: #fcd34d; }
.status-dot[data-tone="warn"] .status-dot-mark { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.45); }
.status-dot[data-tone="bad"] { color: #fca5a5; }
.status-dot[data-tone="bad"] .status-dot-mark { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.45); }
.status-dot[data-tone="info"] { color: #93c5fd; }
.status-dot[data-tone="info"] .status-dot-mark { background: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, 0.45); }

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

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
h1 {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--ink-950);
}
.lede {
  margin: 0;
  color: var(--ink-500);
  max-width: 48rem;
  line-height: 1.5;
  font-size: 0.9rem;
}
.page-crumb {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.page-crumb .crumb-sep {
  margin: 0 0.35rem;
  color: var(--ink-300);
  font-weight: 500;
}
.page-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* —— Domains & Senders —— */
.domains-panel,
.domains-senders-panel {
  padding: 0;
  overflow: hidden;
}
.domains-panel-head {
  margin: 0;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.domains-panel-title {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
}
.domains-panel-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  flex-shrink: 0;
}
.domains-panel-ico svg { display: block; fill: currentColor; }
.domains-panel-desc {
  margin: 0.2rem 0 0;
  max-width: 36rem;
}
.domains-panel-head .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.domains-panel-head .btn svg { display: block; }
.domains-table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-height: none;
}
.domains-table tbody tr { cursor: default; }
.domains-table .domain-cell {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 550;
}
.domains-table .note-cell {
  color: var(--ink-500);
  white-space: normal;
  max-width: 22rem;
}
.domains-table .col-actions {
  width: 2.5rem;
  text-align: right;
  padding-right: 0.85rem;
}
.domains-table .row-more {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  line-height: 1;
  color: var(--ink-400);
}
.domains-panel-foot {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1.15rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
}
.domains-verify-link {
  font-size: 0.84rem;
  font-weight: 600;
}
.domains-senders-panel .panel-head {
  margin: 0;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.state-banner {
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--ink-800);
  box-shadow: var(--shadow-xs);
}
.state-banner.is-error {
  border-color: rgba(248, 113, 113, 0.4);
  background: var(--danger-soft);
  color: #fecaca;
}
.state-banner.is-loading {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--ink-800);
}
.state-banner:not(.is-error):not(.is-loading) {
  border-color: rgba(34, 211, 238, 0.35);
  background: var(--cyan-soft);
  color: #a5f3fc;
}

/* —— Cards & panels —— */
.section-label {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 0.55rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 0.95rem;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ink-200);
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.card.is-accent::before { background: var(--accent); }
.card.is-warn::before { background: var(--warn); }
.card.is-muted::before { background: var(--ink-300); }
.card .label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
}
.card .value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.3rem 0 0.2rem;
  color: var(--ink-950);
  font-variant-numeric: tabular-nums;
}
.card .meta {
  font-size: 0.72rem;
  color: var(--ink-400);
  line-height: 1.35;
}

.panel {
  margin-bottom: 1rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 107, 255, 0.04) 0%, var(--surface) 40%);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
}
.panel:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
h2 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink-950);
}
h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink-800);
}

.toolbar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  align-items: end;
}
.toolbar label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-500);
}

/* —— Tables —— */
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  max-height: min(70vh, 720px);
}
table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}
table.data th, table.data td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--ink-100);
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}
table.data th {
  color: var(--ink-500);
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--surface-muted);
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}
table.data tbody tr {
  cursor: pointer;
  transition: background var(--ease);
}
table.data tbody tr:nth-child(even) td { background: rgba(7, 16, 31, 0.45); }
table.data tbody tr:hover td { background: var(--accent-soft); }
table.data tbody tr.is-selected td {
  background: rgba(18, 107, 255, 0.18);
  box-shadow: inset 3px 0 0 var(--cyan);
}
table.data td:first-child {
  font-weight: 550;
  color: var(--ink-950);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-700, var(--ink-600));
  letter-spacing: 0.02em;
}
.status-pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ink-400);
  flex-shrink: 0;
}
.status-pill[data-tone="ok"] {
  background: var(--ok-soft);
  border-color: #b7dfc9;
  color: var(--ok);
}
.status-pill[data-tone="ok"]::before { background: var(--ok); }
.status-pill[data-tone="warn"] {
  background: var(--warn-soft);
  border-color: #e8d5a8;
  color: var(--warn);
}
.status-pill[data-tone="warn"]::before { background: var(--warn); }
.status-pill[data-tone="bad"] {
  background: var(--danger-soft);
  border-color: #f0c4bf;
  color: var(--danger);
}
.status-pill[data-tone="bad"]::before { background: var(--danger); }
.status-pill[data-tone="info"] {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}
.status-pill[data-tone="info"]::before { background: var(--accent); }

/* —— Forms —— */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.form-grid label, .stack label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: none;
  letter-spacing: 0;
}
.form-grid label:has(> input[type="checkbox"]),
.panel label:has(> input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-800);
  text-transform: none;
}
.form-grid .full { grid-column: 1 / -1; }
.hint {
  color: var(--ink-500);
  font-size: 0.82rem;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.45;
}
.code {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  overflow: auto;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ink-800);
  white-space: pre-wrap;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.step-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-500);
  border-radius: var(--radius);
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 550;
  min-height: 32px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.step-chip:hover {
  border-color: var(--border-strong);
  color: var(--ink-800);
}
.step-chip.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 650;
}
.step-chip.is-done {
  color: var(--ok);
  border-color: #b7dfc9;
  background: var(--ok-soft);
}

.counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.count-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: var(--ink-500);
  background: var(--surface);
  min-width: 5.5rem;
  box-shadow: var(--shadow-xs);
}
.count-chip strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-950);
  font-variant-numeric: tabular-nums;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.provider-card .caps {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.1rem;
  color: var(--ink-600);
  font-size: 0.82rem;
}
.provider-card .btn { margin-right: 0.35rem; margin-top: 0.15rem; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ink-100);
  font-size: 0.88rem;
  align-items: flex-start;
}
.checklist li:last-child { border-bottom: none; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.7rem;
}
.board {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: var(--surface-muted);
  min-height: 140px;
  transition: border-color var(--ease), background var(--ease);
}
.board:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}
.board h3 { margin: 0 0 0.55rem; font-size: 0.78rem; }
.board .item {
  font-size: 0.8rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

/* —— Charts (empty / unavailable frames) —— */
.chart-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.75rem;
  margin: 0.85rem 0;
}
.chart-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
  padding: 0.85rem 1rem 1rem;
  min-height: 200px;
  position: relative;
}
.chart-frame .chart-title {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink-800);
  margin-bottom: 0.65rem;
}
.chart-frame .chart-note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--ink-400);
  pointer-events: none;
  z-index: 1;
}
.chart-line {
  height: 130px;
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(transparent 24px, var(--ink-100) 25px) 0 0 / 100% 25px,
    linear-gradient(90deg, transparent 24px, var(--ink-100) 25px) 0 0 / 25px 100%;
  background-color: var(--surface);
  opacity: 0.85;
  position: relative;
}
.chart-scaffold::after {
  content: none;
}

/* —— Overlay —— */
.drawer-backdrop, .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.38);
  backdrop-filter: blur(2px);
  z-index: 40;
  animation: fade-in 160ms ease;
}
.drawer[hidden],
.drawer-backdrop[hidden],
.modal-backdrop[hidden],
.login-gate[hidden],
.shell[hidden],
.popover[hidden],
#alert-dot[hidden] {
  display: none !important;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  animation: slide-in 200ms ease;
}
@keyframes slide-in {
  from { transform: translateX(12px); opacity: 0.85; }
  to { transform: none; opacity: 1; }
}
.drawer-head, .drawer-actions, .drawer-tabs {
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.drawer-actions:not(:empty),
.drawer-tabs:not(:empty) {
  border-bottom: 1px solid var(--border);
}
.drawer-actions:empty,
.drawer-tabs:empty {
  display: none;
  padding: 0;
  border: none;
}
.drawer-head {
  background: var(--surface-muted);
}
.drawer-head h2 {
  flex: 1;
  font-size: 1.05rem;
}
.drawer-body {
  padding: 1.1rem 1.15rem;
  overflow: auto;
  flex: 1;
  color: var(--ink-800);
}
.drawer-body p { margin: 0 0 0.65rem; }
.tab-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-600);
  border-radius: var(--radius);
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 550;
  cursor: pointer;
  min-height: 32px;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.tab-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink-900);
}
.tab-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 650;
}

.modal {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 2rem));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-md);
  animation: fade-in 160ms ease;
}
.modal h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink-950);
}
.modal p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.9rem;
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.empty {
  padding: 1.5rem 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink-500);
  text-align: center;
  background: var(--surface-muted);
  font-size: 0.88rem;
}

.skeleton {
  height: 0.85rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--ink-100), var(--ink-200), var(--ink-100));
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  margin: 0.45rem 0;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.stack-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.overview-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* —— Overview dashboard (mock layout) —— */
.ov-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: #fff;
  border: 1px solid var(--accent-border);
  background:
    radial-gradient(500px 180px at 88% 20%, rgba(18, 107, 255, 0.45), transparent 60%),
    radial-gradient(280px 140px at 70% 90%, rgba(34, 211, 238, 0.22), transparent 55%),
    linear-gradient(120deg, #050b18 0%, #0d1b35 45%, #126bff 120%);
  box-shadow: var(--shadow-sm), var(--glow-blue);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}
.ov-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -30px;
  width: 220px;
  height: 220px;
  border-radius: 40% 60% 55% 45%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.ov-hero-left {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}
.ov-hero-ico {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ov-hero h1 {
  margin: 0 0 0.25rem;
  font-size: 1.55rem;
  color: #fff;
}
.ov-hero .lede {
  color: rgba(226, 232, 240, 0.88);
  max-width: 40rem;
}
.ov-hero .btn {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.ov-section { margin-bottom: 1.25rem; }
.ov-section .section-label {
  margin-bottom: 0.65rem;
  color: #64748b;
}

.ov-cards {
  display: grid;
  gap: 0.75rem;
}
.ov-cards.ops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-cards.delivery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ov-cards.health { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }

.ov-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem 1rem 0.85rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 132px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  position: relative;
}
.ov-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.ov-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.ov-card-ico {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ov-card-ico svg { width: 1.1rem; height: 1.1rem; }
.ov-card-ico.tone-green { background: var(--ok-soft); color: var(--ok); }
.ov-card-ico.tone-blue { background: var(--accent-soft); color: var(--accent); }
.ov-card-ico.tone-violet { background: var(--violet-soft); color: var(--violet); }
.ov-card-ico.tone-rose { background: var(--danger-soft); color: var(--danger); }
.ov-card-ico.tone-slate { background: rgba(148, 163, 184, 0.12); color: var(--ink-500); }
.ov-card-ico.tone-amber { background: var(--warn-soft); color: var(--warn); }

.ov-card .label {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink-700);
  text-transform: none;
  letter-spacing: 0;
}
.ov-card .value {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-950);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.ov-card .value.is-dash { color: var(--ink-300); }
.ov-card .meta {
  font-size: 0.72rem;
  color: var(--ink-400);
  margin-top: auto;
}
.ov-card .tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-400);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}
.ov-card-go {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.ov-card-go:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}
.ov-card-go svg { width: 14px; height: 14px; }

.ov-action-panel {
  border-radius: 12px;
}

.kv {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.875rem;
  margin: 0.35rem 0;
}
.kv dt {
  color: var(--ink-400);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.kv dd { margin: 0; color: var(--ink-900); }

/* —— Login gate —— */
.login-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(700px 280px at 20% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(500px 240px at 90% 10%, rgba(18, 107, 255, 0.22), transparent 55%),
    linear-gradient(165deg, #050b18 0%, #0d1b35 50%, #030712 100%);
}
.login-card {
  width: min(420px, 100%);
  background: rgba(13, 27, 53, 0.92);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-md), var(--glow-blue);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.login-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-950);
  letter-spacing: -0.02em;
}
.login-sub {
  font-size: 0.78rem;
  color: var(--ink-500);
}
.login-card label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-500);
}
.login-submit { width: 100%; margin-top: 0.25rem; min-height: 42px; }
.keyra-login-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}
#keyra-login {
  display: flex;
  justify-content: center;
  min-height: 48px;
}
#keyra-login .keyra-oauth-btn {
  width: 100%;
  min-width: 0 !important;
}
.keyra-login-note {
  text-align: center;
  margin: 0;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-500);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.15rem 0;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent-border);
}
.dev-login-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dev-login-fields[hidden] {
  display: none !important;
}
#login-error {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #f0c4bf;
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
  margin: 0;
}

/* —— Header menus —— */
.menu-wrap { position: relative; }
.popover {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(340px, calc(100vw - 1.5rem));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 45;
  animation: fade-in 140ms ease;
}
.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
  border-radius: 12px 12px 0 0;
}
.popover-head .btn { min-height: 32px; padding: 0.25rem 0.55rem; }
.popover-body { padding: 0.75rem 0.85rem 0.9rem; max-height: min(60vh, 360px); overflow: auto; }
.alert-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.45rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color var(--ease), background var(--ease);
}
.alert-item:last-child { margin-bottom: 0; }
.alert-item:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.alert-item strong { font-size: 0.85rem; color: var(--ink-950); }
.alert-item span { font-size: 0.78rem; color: var(--ink-500); line-height: 1.35; }
.alert-item.tone-warn { border-color: rgba(251, 191, 36, 0.4); background: var(--warn-soft); }
.alert-item.tone-bad { border-color: rgba(248, 113, 113, 0.4); background: var(--danger-soft); }
.alert-item.tone-ok { border-color: rgba(52, 211, 153, 0.35); background: var(--ok-soft); }
.help-list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}
.help-list li { margin: 0 0 0.35rem; }
.linkish {
  border: none;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 550;
  cursor: pointer;
  padding: 0.25rem 0;
  text-align: left;
}
.linkish:hover { color: var(--accent-hover); text-decoration: underline; }
.popover-body kbd {
  font-family: var(--font);
  font-size: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
  background: var(--surface-muted);
}

/* —— Preferences public page helpers —— */
.pref-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(18, 107, 255, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(34, 211, 238, 0.12), transparent 45%),
    linear-gradient(165deg, #07111f 0%, #050b18 55%, #030712 100%);
}
.pref-card {
  width: min(440px, 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.pref-card h1 {
  font-size: 1.3rem;
  margin: 0 0 0.45rem;
}
.pref-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.pref-brand .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pref-brand .brand-product {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0.1rem;
}
.pref-card .brand-line {
  color: var(--ink-400);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.pref-card label.row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-800);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0.65rem 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.pref-card label.row:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.pref-card .actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.pref-card .actions .btn { width: 100%; }

/* —— Responsive —— */
@media (max-width: 1200px) {
  .camp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bdr-board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-cards.delivery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }
  .topbar-sub { max-width: 140px; }
}

@media (max-width: 1100px) {
  .chart-grid { grid-template-columns: 1fr; }
  .ov-cards.ops { grid-template-columns: 1fr; }
  .topbar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 0.65rem 0.75rem;
  }
  .topbar-brand { grid-area: brand; }
  .topbar-search-wrap {
    grid-area: search;
    max-width: none;
    justify-self: stretch;
  }
  .topbar-right {
    grid-area: actions;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .master-banner {
    max-width: none;
    width: 100%;
    border-radius: var(--radius);
  }
}

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: sticky;
    top: 0;
    height: auto;
    max-height: 100vh;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 30;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .rail:not(.is-open) .nav,
  .rail:not(.is-open) .rail-cta { display: none; }
  .rail.is-open {
    max-height: 100vh;
    overflow: auto;
  }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .main { padding: 1rem 1rem 2.5rem; }
  .topbar { padding: 0.55rem 1rem; }
  .context-bar { padding: 0.65rem 1rem; }
  .context-left { width: 100%; }
  .search { min-width: 0; width: 100%; }
  .topbar-left, .topbar-right { width: auto; }
  .top-field { flex: 1 1 160px; min-width: 140px; }
  .top-field select { width: 100%; min-width: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { padding-bottom: 0.75rem; }
  .domains-panel-head {
    flex-direction: column;
    align-items: stretch;
  }
  .domains-panel-head .btn { width: 100%; justify-content: center; }
  .domains-table .note-cell { max-width: 12rem; }
  .drawer { width: 100%; }
  .ov-cards.delivery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-cards.health { max-width: none; grid-template-columns: 1fr; }
  .ov-hero { padding: 1.1rem 1.15rem; }
  .ov-hero h1 { font-size: 1.35rem; }
  .camp-hero { padding: 1.1rem 1.15rem; }
  .camp-hero h1 { font-size: 1.35rem; }
  .camp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .camp-table-actions { width: 100%; }
  .camp-table-actions .btn,
  .camp-table-actions .btn-ghost { flex: 1; justify-content: center; }
  .camp-table-foot { flex-direction: column; align-items: flex-start; }
  .bdr-board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bdr-hero { padding: 1.1rem 1.15rem; }
  .bdr-hero-meta { width: 100%; }
  .icon-btn:not(.icon-btn-round) { padding: 0.45rem 0.65rem; }
}

@media (max-width: 640px) {
  .topbar-brand .brand-product-inline,
  .topbar-brand .topbar-sub { display: none; }
  .badge { display: none; }
  .search-kbd { display: none; }
  .topbar-search { padding-right: 0.75rem; }
  .master-banner span { display: none; }
  .ov-hero .btn { width: 100%; }
  .ov-hero-left { width: 100%; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: 1fr; }
  .ov-cards.ops,
  .ov-cards.delivery,
  .ov-cards.health { grid-template-columns: 1fr; }
  .camp-stats { grid-template-columns: 1fr; }
  .bdr-board-grid { grid-template-columns: 1fr; }
  .bdr-chip { flex: 1 1 140px; }
  h1 { font-size: 1.25rem; }
  .page-actions { width: 100%; }
  .page-actions .btn,
  .page-actions .btn-ghost { flex: 1; }
  .profile-meta { display: none; }
  .topbar-right .icon-btn:not(.icon-btn-round) { display: none; }
  .brand-name { font-size: 1.05rem; }
  .brand-product { letter-spacing: 0.2em; }
}

/* —— Premium motion polish —— */
.ov-card:hover,
.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(34, 211, 238, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ov-card:hover,
  .card:hover,
  .panel:hover,
  .bdr-card:hover {
    transform: none;
  }
}
