/* ============================================================================
   EdgeOrigin — Admin Design System v2
   Palette:
     --bg-base    #0B0F1A  deep navy, page background
     --bg-panel   #10162A  sidebar / topbar
     --bg-card    rgba(255,255,255,0.04)  glass card fill
     --accent     #FF7A33  primary orange (actions, active states)
     --accent-2   #FFB454  secondary amber (highlights, badges)
     --text-hi    #E8ECF6  primary text
     --text-mid   #9AA4BF  secondary text
     --text-low   #5C6584  tertiary / placeholder
   Type: Inter (UI), JetBrains Mono (data / stat numbers)
   ========================================================================== */

/* ── Imports ───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  /* Colors (WordPress Classic Style) */
  --bg-base:       #f0f0f1;
  --bg-panel:      #1d2327;
  --bg-panel-2:    #2c3338;
  --bg-card:       #ffffff;
  --bg-card-hover: #f9f9f9;
  --border-glass:  #c3c4c7;
  --border-hover:  #8c8f94;
  --accent:        #2271b1;
  --accent-dim:    rgba(34, 113, 177, 0.15);
  --accent-glow:   rgba(34, 113, 177, 0.35);
  --accent-2:      #135e96;
  --text-hi:       #3c434a;
  --sidebar-text:    #fff;
  --sidebar-text-low:#a7aaad;
  --topbar-text:     #fff;
  --text-mid:      #50575e;
  --text-low:      #646970;
  --success:       #00a32a;
  --success-dim:   rgba(0, 163, 42, 0.15);
  --danger:        #d63638;
  --danger-dim:    rgba(214, 54, 56, 0.15);
  --warning:       #f0b849;
  --warning-dim:   rgba(240, 184, 73, 0.15);
  --info:          #72aee6;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Fonts */
  --font-ui:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Sidebar */
  --sidebar-w:           260px;
  --sidebar-collapsed-w: 64px;
  --topbar-h:            60px;

  /* Transitions */
  --t-fast:   0.12s ease;
  --t-normal: 0.2s ease;
  --t-slow:   0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-hi);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow: hidden; /* shell handles scrolling */
}

body {
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(255, 122, 51, 0.07), transparent 45%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 180, 84, 0.04), transparent 50%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Shell — Two-column grid ───────────────────────────────────────────── */
.shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  height: 100vh;
  overflow: hidden;
  transition: grid-template-columns var(--t-normal);
}

.shell.sidebar-collapsed {
  grid-template-columns: var(--sidebar-collapsed-w) 1fr;
}

/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════ */
.sidebar {
  background: var(--bg-panel);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;  /* only .sidebar-scroll scrolls */
  position: relative;
  transition: width var(--t-normal);
  z-index: 20;
}

/* ── Sidebar Header (sticky) ─────────────────────────────────────────── */
.sidebar-header {
  flex-shrink: 0;
  padding: 20px 12px 10px;
  border-bottom: 1px solid var(--border-glass);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 14px;
  min-width: 0;
}

.brand-mark-wrap {
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px var(--accent-glow);
}

.brand-name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  transition: opacity var(--t-normal), width var(--t-normal);
}

/* Collapse button */
.sidebar-collapse-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-low);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color var(--t-fast), background var(--t-fast);
  margin-left: auto;
}

.sidebar-collapse-btn:hover {
  color: var(--text-hi);
  background: var(--bg-card);
}

/* Nav Search */
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-icon {
  position: absolute;
  left: 10px;
  color: var(--text-low);
  pointer-events: none;
  display: flex;
}

.nav-search {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 8px 32px 8px 34px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 13px;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.nav-search::placeholder { color: var(--text-low); }

.nav-search:focus {
  border-color: var(--accent);
  background: rgba(255, 122, 51, 0.06);
}

.nav-search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-low);
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 4px;
  transition: color var(--t-fast);
}

.nav-search-clear:hover { color: var(--text-hi); }

/* ── Scrollable Nav Body ─────────────────────────────────────────────── */
.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
}

/* Sidebar Modes */
.shell.mode-platform .cms-only {
  display: none !important;
}
.shell.mode-tenant .platform-only {
  display: none !important;
}

.shell.mode-tenant #websiteSwitcherWrap {
  display: flex !important;
}
.shell.mode-tenant #backToPlatformBtn {
  display: inline-block !important;
}

.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: 99px;
}

/* Active Site Selector */
.nav-site-wrap {
  padding: 10px 6px 6px;
}

.nav-site-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-low);
  margin-bottom: 6px;
  padding: 0 4px;
}

.nav-site-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color var(--t-fast);
}

.nav-site-select:focus { border-color: var(--accent); outline: none; }

/* ── Nav Section (collapsible) ───────────────────────────────────────── */
.nav-section {
  margin-top: 6px;
}

.nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--t-fast);
  gap: 6px;
}

.nav-section-header:hover { background: var(--bg-card); }

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-low);
  white-space: nowrap;
}

.section-chevron {
  color: var(--text-low);
  flex-shrink: 0;
  transition: transform var(--t-normal);
  display: flex;
}

.nav-section.collapsed .section-chevron {
  transform: rotate(-90deg);
}

.nav-section-body {
  overflow: hidden;
  max-height: 800px;
  transition: max-height var(--t-slow), opacity var(--t-normal);
  opacity: 1;
}

.nav-section.collapsed .nav-section-body {
  max-height: 0;
  opacity: 0;
}

/* ── Nav Item ────────────────────────────────────────────────────────── */
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: none;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
  position: relative;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.nav-item:hover {
  background: var(--bg-card);
  color: var(--text-hi);
}

.nav-item.active {
  background: var(--accent-dim);
  color: var(--accent-2);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.nav-icon-svg {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity var(--t-fast);
}

.nav-item:hover .nav-icon-svg,
.nav-item.active .nav-icon-svg {
  opacity: 1;
}

.nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity var(--t-normal);
}

/* ── Sidebar Footer (sticky) ─────────────────────────────────────────── */
.sidebar-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border-glass);
  padding: 12px 14px;
}

.sf-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sf-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0;
}

.sf-row-meta { margin-top: 2px; }

.sf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-low);
  transition: background var(--t-normal), box-shadow var(--t-normal);
}

.sf-dot.ok {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.sf-dot.warn {
  background: var(--warning);
  box-shadow: 0 0 6px var(--warning);
}

.sf-dot.err {
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger);
}

.sf-key {
  font-size: 11px;
  color: var(--text-low);
  font-weight: 500;
}

.sf-val {
  font-size: 11px;
  color: var(--text-mid);
  margin-left: auto;
  font-weight: 600;
  font-family: var(--font-mono);
}

.sf-dot-sep { font-size: 11px; color: var(--text-low); }

.sf-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 4px 0;
}

.env-badge-dev  { color: var(--accent-2); }
.env-badge-prod { color: var(--success); }

/* ═══════════════════════════════════════════════════════════════════════
   MAIN AREA
   ═══════════════════════════════════════════════════════════════════════ */
.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  overflow: hidden;
}

/* ── Topbar ──────────────────────────────────────────────────────────── */
.topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  height: var(--topbar-h);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(11, 15, 26, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-hi);
  padding: 6px;
  border-radius: var(--radius-sm);
  align-items: center;
  transition: background var(--t-fast);
}

.sidebar-toggle:hover { background: var(--bg-card); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.bc-section {
  font-size: 13px;
  color: var(--text-low);
  white-space: nowrap;
  font-weight: 500;
}

.bc-sep {
  color: var(--text-low);
  font-size: 14px;
  flex-shrink: 0;
}

.bc-page {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Topbar Actions */
.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex-shrink: 0;
}

.topbar-site-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.env-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Quick Actions */
.qa-btn {
  gap: 6px;
  padding: 7px 12px;
  font-size: 13px;
}

.qa-chevron {
  opacity: 0.7;
  display: flex;
}

.quick-actions-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-panel-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  min-width: 160px;
  overflow: hidden;
  z-index: 40;
}

.quick-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-hi);
  transition: background var(--t-fast);
}

.quick-action-item:hover { background: var(--bg-card-hover); }

/* Icon button (bell, etc.) */
.topbar-icon-btn {
  background: none;
  border: none;
  color: var(--text-mid);
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}

.topbar-icon-btn:hover {
  color: var(--text-hi);
  background: var(--bg-card);
}

.notif-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
}

/* User info */
.current-user {
  font-size: 13px;
  color: var(--text-mid);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Avatar */
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #1a1206;
  border: none;
  cursor: pointer;
  transition: box-shadow var(--t-fast);
  flex-shrink: 0;
}

.avatar:hover { box-shadow: 0 0 0 2px var(--accent-glow); }

/* User dropdown menu */
.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-panel-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  min-width: 180px;
  overflow: hidden;
  z-index: 40;
}

.user-menu-email {
  padding: 12px 14px 10px;
  font-size: 12px;
  color: var(--text-low);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu-sep {
  border: none;
  border-top: 1px solid var(--border-glass);
  margin: 0;
}

.user-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-hi);
  font-size: 14px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast);
}

.user-menu-item:hover { background: var(--bg-card-hover); }
.user-menu-danger { color: var(--danger) !important; }

/* Mobile overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 19;
}

/* Content Area */
.content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 32px 60px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-glass) transparent;
}

.content::-webkit-scrollbar { width: 5px; }
.content::-webkit-scrollbar-track { background: transparent; }
.content::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: 99px;
}

/* Topbar legacy compat — page-title removed, breadcrumb replaces it */
.page-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════════════
   GLASS CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  padding: 20px;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.card:hover { background: var(--bg-card-hover); }

/* ── Stat Grid ───────────────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), background var(--t-fast);
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 122, 51, 0.05));
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.stat-label {
  font-size: 11px;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  color: var(--accent);
  opacity: 0.8;
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  margin-top: 8px;
  color: var(--text-hi);
}

.stat-value.accent { color: var(--accent-2); }

.stat-sublabel {
  font-size: 12px;
  color: var(--text-low);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════════════ */
.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

table { width: 100%; border-collapse: collapse; }

th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-low);
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

td {
  padding: 13px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-hi);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }

.td-title {
  font-weight: 500;
  color: var(--text-hi);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-meta {
  color: var(--text-mid);
  font-size: 13px;
}

.empty-cell {
  text-align: center;
  color: var(--text-low);
  padding: 36px 16px !important;
  font-size: 13px;
}

.table-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--t-fast);
}

.table-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: capitalize;
  white-space: nowrap;
}

.badge-published  { background: var(--success-dim);  color: var(--success); }
.badge-draft      { background: rgba(154, 164, 191, 0.12); color: var(--text-mid); }
.badge-scheduled  { background: var(--accent-dim);   color: var(--accent-2); }
.badge-trashed    { background: var(--danger-dim);   color: var(--danger); }

/* ═══════════════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════════════ */
.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { filter: brightness(1.1); }
.btn:active { filter: brightness(0.95); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1206;
}

.btn-ghost {
  background: var(--bg-card);
  border-color: var(--border-glass);
  color: var(--text-hi);
}

.btn-ghost:hover { background: var(--bg-card-hover); }

.btn-secondary {
  background: var(--accent-dim);
  border: 1px solid rgba(255, 122, 51, 0.3);
  color: var(--accent-2);
}

.btn-danger {
  background: var(--danger-dim);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--danger);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mid);
}

.empty-state h3 {
  color: var(--text-hi);
  font-size: 16px;
  margin: 0 0 8px;
}

.empty-state p {
  font-size: 14px;
  margin: 0 0 18px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   COMING SOON / PLACEHOLDER
   ═══════════════════════════════════════════════════════════════════════ */
.coming-soon {
  max-width: 580px;
  margin: 0 auto;
}

.cs-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.cs-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 122, 51, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.cs-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.cs-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent-2);
  padding: 3px 10px;
  border-radius: 99px;
}

.cs-desc {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cs-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-mid);
}

.cs-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ═══════════════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.status-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.status-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-row-dot.ok       { background: var(--success);  box-shadow: 0 0 8px var(--success); }
.status-row-dot.down     { background: var(--danger);   box-shadow: 0 0 8px var(--danger); }
.status-row-dot.warning  { background: var(--warning);  box-shadow: 0 0 8px var(--warning); }

.status-row-label { font-size: 13px; color: var(--text-hi); }

.status-site {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}

.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger)  !important; }
.text-warning { color: var(--warning) !important; }

.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.login-wrap {
  width: 100%;
  max-width: 380px;
  padding: 20px;
}

.login-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
}

.login-brand {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 4px;
  justify-content: center;
}

.login-sub {
  text-align: center;
  color: var(--text-mid);
  font-size: 13px;
  margin: 4px 0 24px;
}

.login-error {
  background: var(--danger-dim);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--danger);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.login-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.login-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  filter: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   NOTIFICATION DOT (topbar legacy compat)
   ═══════════════════════════════════════════════════════════════════════ */
.topbar-notification-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  padding: 4px;
  color: var(--text-mid);
  transition: color var(--t-fast);
}

.topbar-notification-btn:hover { color: var(--text-hi); }
.notification-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768–1024px): icon-only collapsed sidebar
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 769px) {
  .shell {
    grid-template-columns: var(--sidebar-collapsed-w) 1fr;
  }

  .sidebar {
    width: var(--sidebar-collapsed-w);
  }

  .sidebar.expanded {
    width: var(--sidebar-w);
    position: absolute;
    height: 100vh;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  }

  /* Hide text labels when collapsed */
  .sidebar:not(.expanded) .brand-name,
  .sidebar:not(.expanded) .brand-collapse-btn,
  .sidebar:not(.expanded) .nav-search-wrap,
  .sidebar:not(.expanded) .nav-section-header,
  .sidebar:not(.expanded) .nav-label,
  .sidebar:not(.expanded) .nav-site-wrap,
  .sidebar:not(.expanded) .sf-key,
  .sidebar:not(.expanded) .sf-val,
  .sidebar:not(.expanded) .sf-dot-sep,
  .sidebar:not(.expanded) .sf-divider,
  .sidebar:not(.expanded) .sf-row-meta {
    display: none;
  }

  .sidebar:not(.expanded) .nav-section-body {
    max-height: 800px;
    opacity: 1;
  }

  .sidebar:not(.expanded) .nav-item {
    justify-content: center;
    padding: 10px 0;
  }

  .sidebar:not(.expanded) .nav-item.active::before {
    left: -2px;
    top: 50%;
    bottom: 50%;
    height: 60%;
    top: 20%;
    bottom: auto;
  }

  .sidebar:not(.expanded) .sf-grid {
    align-items: center;
  }

  .sidebar:not(.expanded) .sf-row {
    justify-content: center;
  }

  .sidebar-toggle { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (<768px): full drawer
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-w);
    transform: translateX(calc(-1 * var(--sidebar-w)));
    transition: transform var(--t-normal);
    z-index: 20;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
    opacity: 0;
    transition: opacity var(--t-normal);
    pointer-events: none;
  }

  .sidebar.open ~ .main .sidebar-overlay,
  .sidebar-overlay.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-toggle { display: flex; }
  .sidebar-collapse-btn { display: none; }

  .content { padding: 20px 16px 40px; }
  .topbar  { padding: 0 16px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .current-user { display: none; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .topbar-site-badge { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   ACCESSIBILITY & MOTION
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Focus rings */
a:focus-visible,
button:focus-visible,
.nav-item:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Screen reader only */
.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;
}

/* ═══════════════════════════════════════════════════════════════════════
   SEARCH HIGHLIGHT
   ═══════════════════════════════════════════════════════════════════════ */
.nav-item-hidden { display: none !important; }
.nav-section-hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════
   TOPBAR SEARCH (legacy – kept for compat)
   ═══════════════════════════════════════════════════════════════════════ */
.topbar-search {
  flex: 1;
  max-width: 300px;
  position: relative;
}

.topbar-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 8px 12px 8px 32px;
  color: var(--text-hi);
  font-size: 13px;
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.topbar-search input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

.topbar-search::before {
  content: "🔍";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════════════════
   IMPORT CENTER WIZARD
   ═══════════════════════════════════════════════════════════════════════ */
.wizard-container {
  max-width: 900px;
  margin: 0 auto;
}

.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
  padding: 0 10px;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-glass);
  z-index: 1;
}

.wizard-progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 2;
  transition: width var(--t-normal);
  width: 0%;
}

.wizard-step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 32px;
  cursor: pointer;
}

.wizard-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 2px solid var(--border-glass);
  color: var(--text-low);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.wizard-step-label {
  position: absolute;
  top: 40px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-low);
  white-space: nowrap;
  transition: color var(--t-fast);
}

/* Active State */
.wizard-step-node.active .wizard-step-circle {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-glow);
}

.wizard-step-node.active .wizard-step-label {
  color: var(--text-hi);
  font-weight: 700;
}

/* Completed State */
.wizard-step-node.completed .wizard-step-circle {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #1a1206;
}

.wizard-step-node.completed .wizard-step-label {
  color: var(--accent-2);
}

/* Source Selection Grid */
.source-category-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-low);
  margin: 24px 0 12px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 6px;
}

.source-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.source-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.source-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.source-card.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 12px var(--accent-glow);
}

.source-card-icon {
  font-size: 28px;
}

.source-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-hi);
}

/* Verification and Details */
.verification-instructions {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.6;
}

.code-instruction-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}

.code-instruction-copy {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-mid);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
}

.code-instruction-copy:hover {
  color: var(--text-hi);
  background: var(--bg-card-hover);
}

/* Log output terminal */
.log-screen {
  background: #060913;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #9cdcfe;
  height: 280px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.log-line {
  margin-bottom: 4px;
}

.log-line.info { color: var(--text-mid); }
.log-line.success { color: var(--success); }
.log-line.error { color: var(--danger); }
.log-line.warn { color: var(--warning); }

/* Report Cards */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.report-card-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
}

.report-card-label {
  font-size: 11px;
  color: var(--text-low);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.report-card.success { border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.03); }
.report-card.success .report-card-val { color: var(--success); }

.report-card.warning { border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.03); }
.report-card.warning .report-card-val { color: var(--warning); }

.report-card.danger { border-color: rgba(248, 113, 113, 0.3); background: rgba(248, 113, 113, 0.03); }
.report-card.danger .report-card-val { color: var(--danger); }

/* Options checklist */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.option-checkbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--t-fast);
}

.option-checkbox-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.option-checkbox-card input {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.option-checkbox-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-hi);
}

/* Preview Table Scroll */
.preview-scroll-area {
  max-height: 350px;
  overflow-y: auto;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.preview-scroll-area table {
  width: 100%;
}

/* ============================================================================
   Platform Super Admin — Design System Extension
   Accent palette: indigo/violet (#7C3AED base) distinct from CMS orange
   ============================================================================ */

:root {
  --platform:        #7c3aed;
  --platform-dim:    rgba(124, 58, 237, 0.15);
  --platform-glow:   rgba(124, 58, 237, 0.35);
  --platform-2:      #a78bfa;
  --platform-light:  #c4b5fd;
  --infra:           #0ea5e9;
  --infra-dim:       rgba(14, 165, 233, 0.15);
}

/* ── Platform Mode Body Accent ──────────────────────────────────────────── */
body.platform-mode {
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(124, 58, 237, 0.08), transparent 45%),
    radial-gradient(ellipse at 85% 100%, rgba(167, 139, 250, 0.05), transparent 50%);
}

/* ── Platform Badge in Topbar ───────────────────────────────────────────── */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--platform-dim);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--platform-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--platform);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--platform-glow);
  animation: platform-pulse 2s ease-in-out infinite;
}

@keyframes platform-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Website Switcher (topbar) ──────────────────────────────────────────── */
.website-switcher-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.website-switcher-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-hi);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color var(--t-fast);
  max-width: 160px;
}

.website-switcher-select:hover,
.website-switcher-select:focus {
  border-color: var(--platform-2);
  outline: none;
}

.back-to-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--platform-dim);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 20px;
  color: var(--platform-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.back-to-platform-btn:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: var(--platform);
  color: var(--platform-light);
}

/* ── Platform Sidebar Overrides ─────────────────────────────────────────── */
.sidebar.platform-mode .brand-mark {
  background: linear-gradient(135deg, var(--platform) 0%, var(--platform-2) 100%);
}

.sidebar.platform-mode .nav-item.active {
  background: var(--platform-dim);
  color: var(--platform-2);
  border-left-color: var(--platform);
}

.sidebar.platform-mode .nav-item:hover:not(.active) {
  background: rgba(124, 58, 237, 0.08);
  color: var(--platform-light);
}

.sidebar.platform-mode .nav-section-label {
  color: var(--platform-2);
}

/* ── Platform Dashboard Layout ──────────────────────────────────────────── */
.platform-dashboard {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero header */
.platform-hero {
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(14,165,233,0.1) 100%);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.platform-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
  pointer-events: none;
}

.platform-hero-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-hi);
  margin: 0 0 4px;
  background: linear-gradient(90deg, #e8ecf6 0%, var(--platform-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platform-hero-sub {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0;
}

.platform-hero-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Platform Stat Grid ─────────────────────────────────────────────────── */
.platform-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.platform-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t-fast), transform var(--t-fast);
  position: relative;
  overflow: hidden;
}

.platform-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--platform));
  opacity: 0.7;
}

.platform-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.platform-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg, var(--platform-dim));
  flex-shrink: 0;
}

.platform-stat-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--icon-color, var(--platform-2));
}

.platform-stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1;
}

.platform-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.platform-stat-sub {
  font-size: 11px;
  color: var(--text-low);
  margin-top: 2px;
}

/* ── System Health Bar ──────────────────────────────────────────────────── */
.system-health-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.health-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.health-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.health-dot.ok   { background: var(--success); box-shadow: 0 0 6px rgba(52,211,153,0.5); }
.health-dot.warn { background: var(--warning); }
.health-dot.err  { background: var(--danger); }

.health-label { color: var(--text-mid); font-weight: 500; }
.health-val   { color: var(--text-hi); font-weight: 600; margin-left: 2px; }

.health-divider {
  width: 1px;
  height: 20px;
  background: var(--border-glass);
}

/* ── Platform Two-Column Layout ─────────────────────────────────────────── */
.platform-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

@media (max-width: 1100px) {
  .platform-main-grid { grid-template-columns: 1fr; }
}

/* ── Site Health Cards Grid ─────────────────────────────────────────────── */
.site-health-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-health-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--t-fast);
}

.site-health-card:hover { border-color: var(--border-hover); }

.site-health-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.site-health-dot.active    { background: var(--success); box-shadow: 0 0 6px rgba(52,211,153,0.4); }
.site-health-dot.suspended { background: var(--warning); }
.site-health-dot.inactive  { background: var(--text-low); }

.site-health-info { flex: 1; min-width: 0; }

.site-health-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-health-meta {
  font-size: 11px;
  color: var(--text-low);
  margin-top: 2px;
}

.site-health-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Activity Feed ──────────────────────────────────────────────────────── */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
}

.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--platform-2);
  flex-shrink: 0;
  margin-top: 5px;
}

.activity-dot.post  { background: var(--accent); }
.activity-dot.page  { background: var(--info); }

.activity-body { flex: 1; min-width: 0; }

.activity-title {
  font-size: 13px;
  color: var(--text-hi);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  font-size: 11px;
  color: var(--text-low);
  margin-top: 2px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.activity-site-tag {
  background: var(--platform-dim);
  color: var(--platform-2);
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 600;
}

/* ── Platform Websites Table ────────────────────────────────────────────── */
.site-status-active    { color: var(--success); font-weight: 600; }
.site-status-suspended { color: var(--warning); font-weight: 600; }
.site-status-inactive  { color: var(--text-low); font-weight: 600; }

.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--platform-dim);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-sm);
  color: var(--platform-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
}

.btn-platform:hover {
  background: rgba(124,58,237,0.25);
  border-color: var(--platform);
  color: var(--platform-light);
}

/* ── Platform Modal Overlay ─────────────────────────────────────────────── */
.platform-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.15s ease;
}

.platform-modal {
  background: #181f35;
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.2s ease;
}

.platform-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0 0 20px;
}

@keyframes slideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Platform Nav Sidebar Sections ─────────────────────────────────────── */
.nav-section-infra .nav-item.active   { border-left-color: var(--infra); color: var(--infra); }
.nav-section-infra .nav-item.active   { background: var(--infra-dim); }

/* ── Quick Stats row in Platform Sidebar Footer ─────────────────────────── */
.platform-sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--platform-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  background: var(--platform-dim);
  border-radius: 4px;
}


/* --- Modern Editor UI (Light Theme) --- */
.editor-light {
  background: #f8fafc;
  color: #1f2937;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.editor-light .field label {
  color: #4b5563;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.editor-light input, .editor-light textarea, .editor-light select {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  border-radius: 6px;
}
.editor-light input:focus, .editor-light textarea:focus, .editor-light select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}
.editor-top-bar {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-left: -20px; /* Offset to span past padding if needed, or adjust */
  margin-right: -20px;
  margin-top: -20px;
  margin-bottom: 24px;
}
.editor-top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.editor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}
.editor-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  margin-bottom: 16px;
}
.editor-title-input {
  font-size: 32px;
  font-weight: 700;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 8px;
  box-shadow: none !important;
  background: transparent !important;
  width: 100%;
}
.editor-title-input:focus {
  box-shadow: none !important;
}
.editor-slug-preview {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.editor-slug-preview input {
  font-size: 13px;
  padding: 2px 6px;
}
.btn-orange {
  background: #f97316 !important;
  color: white !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-orange:hover {
  background: #ea580c !important;
}
.btn-orange:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.wep-toolbar {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.wep-toolbar button {
  background: transparent;
  border: 1px solid transparent;
  color: #4b5563;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.wep-toolbar button:hover {
  background: #f1f5f9;
  color: #1f2937;
}

/* ============================================================================
   EdgeOrigin — Polished Modern Editor UI (Light Theme)
   ========================================================================== */

.editor-light {
  background: #f9fbfd;
  color: #202124;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Typography & Title Area ────────────────────────────────────────────── */
.editor-main-column {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.editor-title-input {
  font-size: 34px;
  font-weight: 600;
  border: none !important;
  outline: none !important;
  padding: 8px 0 !important;
  margin-bottom: 8px;
  box-shadow: none !important;
  background: transparent !important;
  color: #202124 !important;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.editor-title-input::placeholder {
  color: #9ca3af;
  font-weight: 600;
}

.editor-slug-preview {
  font-size: 14px;
  color: #5f6368;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  background: #f1f3f4;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.editor-slug-preview span {
  color: #80868b;
  user-select: none;
}

.editor-slug-preview input {
  font-size: 14px;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  color: #202124;
  font-weight: 500;
  flex-grow: 1;
}

/* ── Top Sticky Action Bar ─────────────────────────────────────────────── */
.editor-top-bar {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #dadce0;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  margin-left: -20px;
  margin-right: -20px;
  margin-top: -20px;
  margin-bottom: 24px;
}

.editor-top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Autosave status indicator */
.autosave-status-container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5f6368;
  font-weight: 500;
}

.autosave-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background-color: #9ca3af;
  transition: background-color 0.2s ease;
}

.autosave-dot.saving {
  background-color: #f59e0b;
  animation: pulse-dot 1s infinite alternate;
}

.autosave-dot.saved {
  background-color: #10b981;
}

.autosave-dot.unsaved {
  background-color: #ef4444;
}

@keyframes pulse-dot {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* ── Primary & Secondary Buttons ───────────────────────────────────────── */
.btn-orange {
  background: #f97316 !important;
  color: #ffffff !important;
  border: 1px solid #ea580c !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-orange:hover {
  background: #ea580c !important;
  border-color: #c2410c !important;
}

.btn-orange:active {
  background: #c2410c !important;
}

.btn-orange:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Secondary Button styling */
.btn-secondary {
  background: #ffffff !important;
  color: #3c4043 !important;
  border: 1px solid #dadce0 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: #f8f9fa !important;
  border-color: #c3c7cb !important;
  color: #202124 !important;
}

/* ── Rich Editor Wrapper & Toolbar ──────────────────────────────────────── */
.re-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
}

.re-toolbar {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.re-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.re-separator {
  width: 1px;
  height: 20px;
  background: #dadce0;
  margin: 0 4px;
}

/* Format Dropdown styling */
.re-select {
  height: 36px;
  border: 1px solid #dadce0 !important;
  border-radius: 6px !important;
  padding: 0 10px !important;
  background: #ffffff !important;
  font-size: 14px !important;
  color: #202124 !important;
  font-family: 'Inter', sans-serif !important;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.re-select:hover {
  border-color: #c3c7cb !important;
}

/* Toolbar Action Buttons */
.re-btn {
  background: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  font-size: 14px !important;
  color: #202124 !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
}

.re-btn:hover {
  background: #f1f3f4 !important;
  border-color: #dadce0 !important;
}

.re-btn.active {
  background: #e8f0fe !important;
  color: #1a73e8 !important;
  border-color: transparent !important;
}

.re-btn-media {
  margin-left: auto;
  font-weight: 500 !important;
  color: #1a73e8 !important;
  background: #ffffff !important;
  border: 1px solid #dadce0 !important;
}

.re-btn-media:hover {
  background: #f4f8fe !important;
  border-color: #1a73e8 !important;
}

/* ── Editor Writing Canvas ──────────────────────────────────────────────── */
.re-content {
  background: #ffffff;
  min-height: 520px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 32px;
  font-size: 17px;
  line-height: 1.75;
  color: #202124;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.re-content:focus {
  border-color: #1a73e8 !important;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.12) !important;
}

.re-content[contenteditable="true"]:empty:before {
  content: attr(data-placeholder);
  color: #80868b;
  pointer-events: none;
  display: block;
}

/* ── Right Settings Sidebar Cards ───────────────────────────────────────── */
.editor-light .editor-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  margin-bottom: 20px;
}

.editor-light .editor-card h3 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sidebar Selects/Inputs/Textareas */
.editor-light .field label {
  color: #3c4043;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.editor-light input[type="text"],
.editor-light input[type="datetime-local"],
.editor-light textarea,
.editor-light select {
  border: 1px solid #dadce0 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  color: #202124 !important;
  background-color: #ffffff !important;
  width: 100% !important;
  font-family: 'Inter', sans-serif !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.editor-light input:focus,
.editor-light textarea:focus,
.editor-light select:focus {
  border-color: #1a73e8 !important;
  box-shadow: 0 0 0 2px rgba(26,115,232,0.1) !important;
}

/* --------------------------------------------------------------------------
 * Navigation UI
 * -------------------------------------------------------------------------- */
.menu-builder-canvas {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}
.menu-item-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-item-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.move-up-btn:hover, .move-down-btn:hover {
  background: #e5e7eb;
}


/* --- WordPress Style Overrides --- */
.sidebar {
  color: var(--sidebar-text);
}
.sidebar .brand-name, 
.sidebar .nav-section-label,
.sidebar .nav-label,
.sidebar .sf-key,
.sidebar .sf-val {
  color: var(--sidebar-text) !important;
}
.sidebar .nav-icon-svg,
.sidebar .section-chevron {
  color: var(--sidebar-text-low) !important;
}
.sidebar .nav-item:hover {
  background: var(--bg-panel-2);
}
.sidebar .nav-item.active {
  background: var(--accent);
  color: #fff !important;
}
.sidebar .nav-item.active .nav-icon-svg,
.sidebar .nav-item.active .nav-label {
  color: #fff !important;
}
.topbar {
  background: var(--bg-panel);
  color: var(--topbar-text);
  border-bottom: none;
}
.topbar .breadcrumb,
.topbar .current-user,
.topbar .bc-sep,
.topbar .bc-page,
.topbar .bc-section {
  color: var(--topbar-text) !important;
}
.topbar .btn-primary {
  background: var(--accent);
  color: #fff !important;
}
.card {
  box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.btn-orange {
  background: var(--accent) !important;
  color: #fff !important;
}
.btn-orange:hover {
  background: var(--accent-2) !important;
}

/* --- Dropdown Contrast Fixes --- */
.quick-actions-menu, .user-menu {
  background: var(--bg-card) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.user-menu-item, .quick-action-item {
  color: var(--text-hi) !important;
}
.user-menu-item:hover, .quick-action-item:hover {
  background: var(--bg-card-hover) !important;
}
.user-menu-email {
  color: var(--text-mid) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   PLATFORM MODE — Super Admin Indigo Theme
   Applied via .shell.mode-platform
   ══════════════════════════════════════════════════════════════════════ */

/* Platform sidebar: deep indigo/dark background */
.shell.mode-platform .sidebar {
  background: #0f0e24;
  border-right-color: rgba(99, 102, 241, 0.25);
}
.shell.mode-platform .sidebar-header {
  border-bottom-color: rgba(99, 102, 241, 0.2);
}
.shell.mode-platform .brand-mark {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}
.shell.mode-platform .brand-name {
  color: #e0e7ff;
}
.shell.mode-platform .nav-item {
  color: #a5b4fc;
}
.shell.mode-platform .nav-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #e0e7ff;
}
.shell.mode-platform .nav-item.active,
.shell.mode-platform .nav-item[aria-current="page"] {
  background: rgba(99, 102, 241, 0.22);
  color: #c7d2fe;
  border-left: 3px solid #818cf8;
}
.shell.mode-platform .nav-section-label {
  color: #818cf8;
}
.shell.mode-platform .nav-search {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #e0e7ff;
}
.shell.mode-platform .nav-search::placeholder {
  color: rgba(165, 180, 252, 0.4);
}
.shell.mode-platform .nav-search:focus {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
}
.shell.mode-platform .topbar {
  border-bottom: 1px solid rgba(99, 102, 241, 0.18);
}
.shell.mode-platform .sidebar-footer {
  border-top-color: rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.04);
}
.shell.mode-platform #platformAdminBadge {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}
.shell.mode-platform .sidebar-collapse-btn {
  color: rgba(165, 180, 252, 0.5);
}
.shell.mode-platform .sidebar-collapse-btn:hover {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
}
.shell.mode-platform .section-chevron svg {
  stroke: #6366f1;
}

/* ══════════════════════════════════════════════════════════════════════
   TENANT MODE BANNER — persistent orange warning bar
   Shows when Super Admin is impersonating a tenant site
   ══════════════════════════════════════════════════════════════════════ */
.tenant-mode-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 20px;
  background: linear-gradient(90deg, rgba(234,88,12,0.12), rgba(255,122,51,0.07));
  border-bottom: 1px solid rgba(234, 88, 12, 0.3);
  font-size: 12.5px;
  font-weight: 500;
  color: #fdba74;
  flex-shrink: 0;
  animation: bannerSlideIn 0.22s ease;
  z-index: 10;
}
@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tenant-mode-banner.visible {
  display: flex;
}
.tenant-mode-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tenant-mode-banner-site {
  font-weight: 700;
  color: #fb923c;
}
.tenant-mode-banner-exit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(234, 88, 12, 0.18);
  border: 1px solid rgba(234, 88, 12, 0.4);
  border-radius: 6px;
  color: #fb923c;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.tenant-mode-banner-exit:hover {
  background: rgba(234, 88, 12, 0.32);
  border-color: rgba(234, 88, 12, 0.6);
  color: #fff;
}

/* Make main a flex column so banner + topbar + content stack properly */
.main {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  height: 100vh !important;
}
.topbar {
  flex-shrink: 0;
}
.content {
  flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Enter Tenant Mode button in Websites table */
.enter-tenant-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  color: #818cf8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  text-decoration: none;
}
.enter-tenant-btn:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.5);
  color: #c7d2fe;
}

/* Modern SSR workspace */
:root { --eo-ink:#172033; --eo-muted:#6f7890; --eo-line:#e8eaf0; --eo-surface:#fff; --eo-canvas:#f6f7fb; --eo-brand:#6558f5; --eo-brand-dark:#5145dc; --eo-warm:#ff7657; }
.admin-body,.auth-body { margin:0; color:var(--eo-ink); background:var(--eo-canvas); font-family:var(--font-ui); overflow:hidden; }
.admin-shell { display:grid; grid-template-columns:248px 1fr; height:100vh; }
.modern-sidebar { display:flex; flex-direction:column; min-width:0; height:100vh; overflow:hidden; padding:24px 16px 18px; color:#d9dcec; background:#181a2a; border-right:1px solid rgba(255,255,255,.06); }
.sidebar-brand { display:flex; align-items:center; gap:11px; padding:0 8px 26px; color:#fff; }
.sidebar-logo,.auth-brand-mark { display:grid; place-items:center; width:36px; height:36px; flex:0 0 auto; border-radius:11px; color:#fff; font-weight:800; background:linear-gradient(135deg,#7669ff,#a37aff); box-shadow:0 8px 24px rgba(101,88,245,.34); }
.sidebar-brand strong,.sidebar-brand small { display:block; }.sidebar-brand strong{font-size:15px}.sidebar-brand small{margin-top:2px;color:#777d98;font-size:10px;text-transform:uppercase;letter-spacing:.14em}
.modern-nav { flex:1; overflow-y:auto; overflow-x:hidden; min-height:0; }.nav-label { padding:0 12px; margin:0 0 9px; color:#686e89; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; }
.modern-nav-item { display:flex; align-items:center; gap:11px; min-height:42px; margin:3px 0; padding:0 12px; border-radius:11px; color:#999fb8; font-size:13px; font-weight:600; transition:.2s ease; }
.modern-nav-item:hover { color:#fff; background:rgba(255,255,255,.055); transform:translateX(2px); }.modern-nav-item.active{color:#fff;background:linear-gradient(135deg,rgba(118,105,255,.3),rgba(101,88,245,.14));box-shadow:inset 0 0 0 1px rgba(141,130,255,.2)}
.nav-icon { display:grid; place-items:center; width:23px; height:23px; border-radius:7px; color:#858ba8; background:rgba(255,255,255,.055); font-size:10px; font-weight:800; }.active .nav-icon{color:#fff;background:#6558f5}
.sidebar-bottom { flex-shrink:0; padding-top:14px; border-top:1px solid rgba(255,255,255,.07); }.sidebar-help{display:flex;align-items:center;gap:10px;padding:11px;border-radius:12px;background:rgba(255,255,255,.035)}.sidebar-help>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(101,88,245,.25);color:#aaa2ff;font-weight:700}.sidebar-help strong,.sidebar-help small{display:block}.sidebar-help strong{color:#d6d9e8;font-size:11px}.sidebar-help small{margin-top:2px;color:#6f7590;font-size:10px}
.signout-button{display:flex;justify-content:space-between;width:100%;margin-top:8px;padding:10px 11px;border:0;border-radius:9px;color:#8389a2;background:transparent;font-size:11px;font-weight:600}.signout-button:hover{color:#ff9b87;background:rgba(255,118,87,.08)}
.admin-main{display:flex;min-width:0;flex-direction:column;height:100vh;overflow:hidden}.modern-topbar{height:72px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:rgba(255,255,255,.86);border-bottom:1px solid var(--eo-line);backdrop-filter:blur(16px)}
.site-identity,.user-profile,.topbar-actions{display:flex;align-items:center}.site-identity{gap:10px}.site-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eceaff;color:var(--eo-brand);font-weight:800}.site-identity strong,.site-identity small,.user-profile strong,.user-profile small{display:block}.site-identity strong,.user-profile strong{font-size:12px}.site-identity small,.user-profile small{margin-top:2px;color:var(--eo-muted);font-size:10px}.topbar-actions{gap:15px}.visit-link,.platform-button{padding:8px 11px;border:1px solid var(--eo-line);border-radius:9px;color:#555f75;background:#fff;font-size:11px;font-weight:650}.user-profile{gap:9px;padding-left:14px;border-left:1px solid var(--eo-line)}.user-profile>span,.user-profile>img{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#6558f5,#ff7657);color:#fff;font-size:12px;font-weight:800}.user-profile img{object-fit:cover}.mobile-menu{display:none;border:0;background:transparent;font-size:19px}
.admin-workspace{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding:38px 42px 50px;background:radial-gradient(circle at 90% 0,rgba(101,88,245,.06),transparent 28%),var(--eo-canvas)}
.modern-dashboard{max-width:1240px;margin:auto}.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow-label{margin:0 0 7px;color:var(--eo-brand);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}.dashboard-heading h1{margin:0;color:var(--eo-ink);font-size:31px;line-height:1.15;letter-spacing:-.035em}.dashboard-heading>div>p:last-child{margin:8px 0 0;color:var(--eo-muted);font-size:13px}.dashboard-actions{display:flex;gap:10px}
.primary-action,.secondary-action,.light-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:11px;padding:13px 18px;font-weight:700;transition:.2s ease}.primary-action{color:#fff;background:linear-gradient(135deg,var(--eo-brand),#7a68ff);box-shadow:0 9px 24px rgba(101,88,245,.24)}.primary-action:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(101,88,245,.32)}.primary-action.compact,.secondary-action{padding:10px 15px;font-size:12px}.secondary-action{border:1px solid var(--eo-line);color:#586176;background:#fff}.secondary-action:hover{border-color:#d0ccff;color:var(--eo-brand)}
.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.metric-card{display:flex;align-items:center;justify-content:space-between;padding:23px;border:1px solid var(--eo-line);border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 8px 26px rgba(39,45,72,.045);transition:.25s ease}.metric-card:hover{transform:translateY(-3px);border-color:#d7d3ff;box-shadow:0 15px 34px rgba(39,45,72,.09)}.metric-label,.metric-detail{display:block}.metric-label{color:var(--eo-muted);font-size:11px;font-weight:650}.metric-card strong{display:block;margin:6px 0 4px;font-size:30px;letter-spacing:-.04em}.metric-detail{color:#99a0b2;font-size:10px}.metric-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;color:var(--eo-brand);background:#efedff;font-size:13px;font-weight:800}
.dashboard-lower-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.75fr);gap:16px;margin-top:16px}.dashboard-card{border:1px solid var(--eo-line);border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(39,45,72,.045)}.quick-card{padding:24px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.card-heading h2{margin:0;font-size:17px}.soft-badge{padding:6px 9px;border-radius:20px;color:#7567e8;background:#f1efff;font-size:9px;font-weight:700}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-link{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:15px;border:1px solid #eff0f4;border-radius:13px;background:#fafbfc;transition:.2s}.quick-link:hover{border-color:#dcd8ff;background:#f8f7ff;transform:translateY(-2px)}.quick-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#6558f5;background:#ebe9ff;font-size:11px;font-weight:800}.quick-icon.warm{color:#e85c3f;background:#fff0ec}.quick-link strong,.quick-link div span{display:block}.quick-link strong{font-size:11px}.quick-link div span{margin-top:3px;color:var(--eo-muted);font-size:9px}.quick-link>span{color:#a2a8b8}
.momentum-card{display:flex;flex-direction:column;justify-content:space-between;padding:25px;color:#fff;border:0;background:radial-gradient(circle at 100% 0,rgba(255,255,255,.18),transparent 38%),linear-gradient(145deg,#5c4fe4,#7669fb)}.momentum-card .eyebrow-label{color:#d9d5ff}.momentum-card h3{margin:7px 0 8px;font-size:19px;line-height:1.25}.momentum-card p:last-child{margin:0;color:#d8d4ff;font-size:11px;line-height:1.6}.momentum-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:22px;border-radius:11px;background:rgba(255,255,255,.14)}.light-action{justify-content:space-between;margin-top:24px;padding:11px 13px;color:#5145dc;background:#fff;font-size:11px}.status-toast{display:flex;align-items:center;gap:9px;margin:-10px 0 18px;padding:11px 14px;border-radius:11px;color:#fff;background:#202337;font-size:11px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#53d49b;box-shadow:0 0 0 4px rgba(83,212,155,.13)}.hidden{display:none!important}

/* Authentication */
.auth-body{min-height:100vh;background:#f5f5fa}.auth-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(400px,.9fr) minmax(480px,1.1fr);min-height:100vh}.auth-story{display:flex;flex-direction:column;justify-content:space-between;padding:42px 54px;color:#fff;background:radial-gradient(circle at 12% 10%,rgba(160,145,255,.35),transparent 32%),radial-gradient(circle at 90% 85%,rgba(255,118,87,.19),transparent 34%),#171829}.auth-brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:15px;font-weight:750}.auth-story-copy{max-width:510px}.eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:24px;padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:22px;color:#c9cbe0;background:rgba(255,255,255,.05);font-size:10px;font-weight:650}.auth-story h1{margin:0;font-size:45px;line-height:1.08;letter-spacing:-.045em}.auth-story-copy>p{max-width:455px;margin:21px 0 32px;color:#a9adc5;font-size:14px;line-height:1.7}.auth-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.auth-proof div{padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.04)}.auth-proof strong,.auth-proof span{display:block}.auth-proof strong{font-size:11px}.auth-proof span{margin-top:4px;color:#888da8;font-size:9px}.auth-footnote{margin:0;color:#6e738f;font-size:10px}.auth-panel{display:grid;place-items:center;padding:44px}.auth-card{width:min(100%,400px);padding:36px;border:1px solid rgba(255,255,255,.8);border-radius:22px;background:rgba(255,255,255,.82);box-shadow:0 24px 70px rgba(38,41,70,.11);backdrop-filter:blur(20px)}.auth-card-head h2{margin:0;font-size:26px;letter-spacing:-.035em}.auth-card-head>p:last-child{margin:9px 0 0;color:var(--eo-muted);font-size:12px}.auth-mobile-mark{display:none}.auth-form{display:grid;gap:17px;margin-top:27px}.field-group>span:first-child{display:block;margin-bottom:7px;color:#40485c;font-size:11px;font-weight:700}.field-group input{width:100%;height:45px;padding:0 13px;border:1px solid #dfe2e9;border-radius:11px;color:var(--eo-ink);background:#fff;font:inherit;font-size:12px;transition:.2s}.field-group input:focus{border-color:#8c81ff;box-shadow:0 0 0 4px rgba(101,88,245,.1)}.password-wrap{position:relative;display:block}.password-wrap input{padding-right:56px}.password-wrap button{position:absolute;top:50%;right:11px;transform:translateY(-50%);border:0;color:var(--eo-brand);background:transparent;font-size:10px;font-weight:700}.auth-alert{padding:11px 12px;border:1px solid #ffd5cc;border-radius:10px;color:#bd452c;background:#fff4f1;font-size:11px;line-height:1.45}.auth-help{margin:21px 0 0;text-align:center;color:#9299aa;font-size:10px}.auth-help a{color:var(--eo-brand);font-weight:700}.auth-orb{position:fixed;border-radius:50%;filter:blur(4px);pointer-events:none}.auth-orb-one{right:5%;top:8%;width:220px;height:220px;background:rgba(101,88,245,.08)}.auth-orb-two{right:31%;bottom:5%;width:150px;height:150px;background:rgba(255,118,87,.07)}
@media(max-width:900px){.admin-shell{grid-template-columns:1fr}.modern-sidebar{position:fixed;inset:0 auto 0 0;width:248px;z-index:50;transform:translateX(-100%);transition:.25s}.modern-sidebar.open{transform:translateX(0)}.mobile-menu{display:block}.modern-topbar{padding:0 18px}.site-identity{display:none}.admin-workspace{padding:28px 20px}.auth-shell{grid-template-columns:1fr}.auth-story{display:none}.auth-panel{padding:22px}.auth-mobile-mark{display:grid;place-items:center;width:40px;height:40px;margin-bottom:25px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#6558f5,#806fff);font-weight:800}}
@media(max-width:700px){.dashboard-heading{align-items:flex-start;flex-direction:column}.metric-grid,.dashboard-lower-grid,.quick-grid{grid-template-columns:1fr}.user-profile div,.visit-link{display:none}.auth-card{padding:28px 22px}.admin-workspace{padding:24px 15px}.dashboard-heading h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Public landing page */
.landing-body{margin:0;overflow-x:hidden;color:#f7f7fb;background:#0d0e18;font-family:var(--font-ui)}.landing-glow{position:fixed;z-index:0;border-radius:50%;filter:blur(2px);pointer-events:none}.landing-glow.one{top:-250px;left:10%;width:650px;height:650px;background:radial-gradient(circle,rgba(101,88,245,.22),transparent 68%)}.landing-glow.two{top:260px;right:-280px;width:600px;height:600px;background:radial-gradient(circle,rgba(255,118,87,.1),transparent 70%)}
.landing-nav{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;max-width:1180px;height:80px;margin:auto;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.07)}.landing-brand{display:flex;align-items:center;gap:10px;color:#fff}.landing-brand span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#6558f5,#9b78ff);box-shadow:0 8px 25px rgba(101,88,245,.3);font-weight:800}.landing-brand strong{font-size:15px}.landing-nav nav{display:flex;gap:30px}.landing-nav nav a,.landing-login{color:#9498ad;font-size:12px;font-weight:600}.landing-nav nav a:hover,.landing-login:hover{color:#fff}.landing-nav>div{display:flex;align-items:center;gap:20px}
.landing-main{position:relative;z-index:1}.landing-hero{max-width:920px;margin:0 auto;padding:115px 24px 85px;text-align:center}.landing-pill{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid rgba(255,255,255,.1);border-radius:40px;color:#b7b9c9;background:rgba(255,255,255,.035);font-size:10px;font-weight:650}.landing-pill i{width:6px;height:6px;border-radius:50%;background:#7b6dff;box-shadow:0 0 0 4px rgba(123,109,255,.14)}.landing-hero h1{max-width:860px;margin:27px auto 22px;font-size:68px;line-height:1.02;letter-spacing:-.055em}.landing-hero h1 em{color:transparent;background:linear-gradient(120deg,#a89eff,#ff9179);background-clip:text;font-style:normal}.landing-hero>p{max-width:650px;margin:0 auto;color:#969aaf;font-size:17px;line-height:1.7}.landing-actions{display:flex;justify-content:center;gap:12px;margin-top:33px}.landing-cta,.landing-secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 19px;border-radius:11px;font-size:12px;font-weight:750;transition:.2s}.landing-cta{color:#fff;background:linear-gradient(135deg,#6558f5,#7b6dff);box-shadow:0 12px 32px rgba(101,88,245,.28)}.landing-cta:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(101,88,245,.4)}.landing-cta.small{padding:10px 14px;font-size:10px}.landing-secondary{border:1px solid rgba(255,255,255,.11);color:#d5d6df;background:rgba(255,255,255,.045)}.landing-trust{display:flex;justify-content:center;gap:28px;margin-top:28px;color:#6e7288;font-size:9px}.landing-trust span:before{content:'✓';margin-right:7px;color:#7770d8}
.product-preview{max-width:1080px;margin:0 auto 130px;padding:8px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:rgba(255,255,255,.035);box-shadow:0 45px 100px rgba(0,0,0,.38)}.preview-bar{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;height:42px;padding:0 14px;color:#595d72;font-size:9px}.preview-bar span:nth-child(2){text-align:center;color:#9a9daf}.preview-live{text-align:right;color:#69d8a3!important}.preview-shell{display:grid;grid-template-columns:60px 1fr;min-height:480px;overflow:hidden;border-radius:15px;background:#f6f7fb}.preview-shell aside{display:flex;align-items:center;flex-direction:column;gap:22px;padding-top:20px;background:#191b2c}.preview-shell aside b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#6558f5;font-size:10px}.preview-shell aside i{width:17px;height:5px;border-radius:5px;background:#34374d}.preview-content{padding:40px;color:#192034}.preview-welcome span,.section-intro>span,.landing-final>span{color:#7569ed;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}.preview-welcome h2{margin:8px 0 4px;font-size:25px}.preview-welcome p{margin:0;color:#868da1;font-size:10px}.preview-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}.preview-metrics>div{padding:19px;border:1px solid #e7e9ef;border-radius:13px;background:#fff}.preview-metrics span,.preview-metrics small{display:block;color:#8b91a3;font-size:8px}.preview-metrics strong{display:block;margin:7px 0 4px;font-size:24px}.preview-row{display:grid;grid-template-columns:1.6fr .8fr;gap:12px;margin-top:12px}.preview-chart,.preview-card{min-height:145px;padding:19px;border:1px solid #e7e9ef;border-radius:13px;background:#fff}.preview-chart>span{font-size:9px;font-weight:700}.bars{display:flex;align-items:flex-end;gap:10px;height:86px}.bars i{flex:1;border-radius:4px 4px 0 0;background:#dedbf9}.bars i:nth-child(1){height:30%}.bars i:nth-child(2){height:55%}.bars i:nth-child(3){height:42%}.bars i:nth-child(4){height:75%;background:#7467ed}.bars i:nth-child(5){height:62%}.bars i:nth-child(6){height:82%;background:#978cff}.bars i:nth-child(7){height:52%}.preview-card{display:flex;flex-direction:column;color:#fff;border:0;background:linear-gradient(145deg,#5b4fdb,#7b6dff)}.preview-card span{font-size:8px;text-transform:uppercase}.preview-card strong{margin:12px 0 auto;font-size:15px;line-height:1.3}.preview-card button{padding:9px;border:0;border-radius:8px;color:#564bd0;background:#fff;font-size:8px;font-weight:750}
.landing-features{max-width:1120px;margin:0 auto;padding:0 24px 130px}.section-intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:48px}.section-intro h2{margin:0;font-size:43px;line-height:1.1;letter-spacing:-.04em;text-align:right}.feature-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature-list article{padding:28px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.025);transition:.25s}.feature-list article:hover{transform:translateY(-4px);border-color:rgba(125,110,255,.35);background:rgba(255,255,255,.045)}.feature-list b{color:#7169a0;font-size:9px}.feature-list h3{margin:30px 0 10px;font-size:16px}.feature-list p{margin:0;color:#85899e;font-size:11px;line-height:1.65}.landing-final{max-width:1050px;margin:0 auto 90px;padding:75px 24px;border:1px solid rgba(255,255,255,.09);border-radius:24px;background:radial-gradient(circle at 50% 110%,rgba(101,88,245,.27),transparent 48%),rgba(255,255,255,.025);text-align:center}.landing-final h2{margin:13px 0 10px;font-size:42px;letter-spacing:-.04em}.landing-final p{margin:0 0 27px;color:#8e92a7;font-size:13px}.landing-footer{display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:auto;padding:28px 24px;border-top:1px solid rgba(255,255,255,.07)}.landing-footer p,.landing-footer>div{color:#686c80;font-size:9px}.landing-footer>div{display:flex;gap:18px}
@media(max-width:760px){.landing-nav nav{display:none}.landing-nav{height:68px}.landing-hero{padding-top:75px}.landing-hero h1{font-size:43px}.landing-hero>p{font-size:14px}.landing-trust{flex-direction:column;gap:8px}.product-preview{margin:0 12px 90px}.preview-shell{grid-template-columns:40px 1fr;min-height:400px}.preview-content{padding:22px 14px}.preview-metrics{grid-template-columns:1fr}.preview-metrics>div:nth-child(n+2){display:none}.preview-row{grid-template-columns:1fr}.preview-card{display:none}.section-intro{align-items:flex-start;flex-direction:column;gap:15px}.section-intro h2{text-align:left;font-size:34px}.feature-list{grid-template-columns:1fr}.landing-final{margin:0 12px 60px;padding:55px 18px}.landing-final h2{font-size:32px}.landing-footer p{display:none}.landing-actions{align-items:stretch;flex-direction:column}.landing-nav>div .landing-login{display:none}}

/* Public marketing homepage */
.landing-body{--landing-text:#f7f7fb;--landing-muted:#9a9eb2;--landing-border:rgba(255,255,255,.09);--landing-panel:rgba(255,255,255,.035)}
.landing-body a{text-decoration:none}.landing-body p{line-height:1.7}.landing-skip{position:fixed;z-index:100;top:12px;left:12px;padding:11px 15px;border-radius:9px;color:#111326;background:#fff;transform:translateY(-160%);transition:transform .15s}.landing-skip:focus{transform:translateY(0)}
.landing-body a:focus-visible,.landing-body button:focus-visible,.landing-body summary:focus-visible{outline:3px solid #b9b1ff;outline-offset:4px;border-radius:7px}
.landing-nav{max-width:1240px}.landing-nav nav{gap:24px}.landing-nav nav a{white-space:nowrap}.landing-nav-actions{display:flex;align-items:center;gap:20px}.landing-menu{display:none;position:relative}.landing-menu summary{display:grid;width:42px;height:42px;place-content:center;gap:5px;border:1px solid var(--landing-border);border-radius:11px;cursor:pointer;list-style:none}.landing-menu summary::-webkit-details-marker{display:none}.landing-menu summary span{display:block;width:18px;height:2px;border-radius:2px;background:#e8e8f0}.landing-menu nav{position:absolute;z-index:20;top:50px;right:0;display:flex!important;width:230px;padding:16px;flex-direction:column;gap:4px!important;border:1px solid var(--landing-border);border-radius:14px;background:#171927;box-shadow:0 24px 60px rgba(0,0,0,.45)}.landing-menu nav a{padding:10px;border-radius:8px;color:#c9cbd6;font-size:13px}.landing-menu nav a:hover{color:#fff;background:rgba(255,255,255,.06)}
.landing-hero{padding-bottom:100px}.landing-hero h1{max-width:980px}.landing-hero>p{max-width:760px}.landing-trust{font-size:10px}
.preview-caption{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 13px;color:#777b90;font-size:9px}.preview-caption span{color:#a8a0ff;font-weight:800;text-transform:uppercase;letter-spacing:.13em}.preview-caption p{margin:0}.preview-metrics strong{font-size:18px}.workflow-line{display:flex;align-items:center;justify-content:space-between;height:90px;gap:10px}.workflow-line i{position:relative;display:grid;z-index:1;min-width:58px;height:30px;place-items:center;border:1px solid #dedbf9;border-radius:15px;color:#6558f5;background:#f3f1ff;font-size:8px;font-style:normal;font-weight:750}.workflow-line i:not(:last-child):after{position:absolute;z-index:-1;left:100%;width:70px;height:1px;background:#dedbf9;content:""}.preview-card a{display:inline-flex;align-items:center;align-self:flex-start;padding:9px;border-radius:8px;color:#564bd0;background:#fff;font-size:8px;font-weight:750}
.landing-section{max-width:1120px;margin:0 auto;padding:0 24px 130px}.landing-section .section-intro{align-items:end}.section-intro>div>span,.advantages-copy>span,.landing-contact>div>span{display:block;margin-bottom:12px;color:#8c81ff;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}.landing-section .section-intro h2{max-width:760px;text-align:left}.landing-section .section-intro>p{max-width:410px;margin:0;color:var(--landing-muted);font-size:13px}.benefit-grid,.audience-grid,.use-case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.benefit-grid article,.audience-grid article,.use-case-grid article{padding:30px;border:1px solid var(--landing-border);border-radius:17px;background:var(--landing-panel)}.benefit-grid article>span{color:#7f77b3;font-size:9px;font-weight:800}.benefit-grid h3,.audience-grid h3,.use-case-grid h3{margin:28px 0 10px;font-size:18px}.benefit-grid p,.audience-grid p,.use-case-grid p{margin:0;color:#8f93a8;font-size:12px}.landing-features{padding-bottom:130px}.feature-list{grid-template-columns:repeat(3,1fr)}.feature-list article{min-height:220px}.audience-grid{grid-template-columns:repeat(2,1fr)}.audience-grid article{position:relative;padding-left:64px}.audience-grid article:before{position:absolute;top:32px;left:30px;width:13px;height:13px;border:4px solid rgba(142,130,255,.22);border-radius:50%;background:#8e82ff;content:""}.audience-grid h3{margin-top:0}
.workflow-steps{display:grid;margin:0;padding:0;grid-template-columns:repeat(4,1fr);list-style:none}.workflow-steps li{position:relative;padding:0 24px 0 0}.workflow-steps li:not(:last-child):after{position:absolute;top:17px;right:0;left:48px;height:1px;background:linear-gradient(90deg,#7469eb,rgba(116,105,235,.12));content:""}.workflow-steps li>span{display:grid;position:relative;z-index:1;width:35px;height:35px;place-items:center;border:1px solid rgba(142,130,255,.45);border-radius:50%;color:#b5afff;background:#11121e;font-size:9px;font-weight:800}.workflow-steps h3{margin:24px 0 8px;font-size:17px}.workflow-steps p{margin:0;color:#8f93a8;font-size:11px}
.use-case-grid article{min-height:190px;background:linear-gradient(145deg,rgba(101,88,245,.1),rgba(255,255,255,.025))}.use-case-grid h3{margin-top:0}.advantages-section{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start;padding-top:70px;border-top:1px solid var(--landing-border)}.advantages-copy h2{margin:0;font-size:42px;line-height:1.08;letter-spacing:-.04em}.advantages-copy p{margin:20px 0 28px;color:var(--landing-muted);font-size:13px}.advantages-section ul{margin:0;padding:0;list-style:none}.advantages-section li{display:grid;padding:22px 0;grid-template-columns:180px 1fr;gap:25px;border-bottom:1px solid var(--landing-border)}.advantages-section li:first-child{padding-top:0}.advantages-section li strong{font-size:13px}.advantages-section li span{color:#8f93a8;font-size:11px;line-height:1.65}
.faq-section{max-width:920px}.faq-list{border-top:1px solid var(--landing-border)}.faq-list details{border-bottom:1px solid var(--landing-border)}.faq-list summary{display:flex;align-items:center;justify-content:space-between;padding:24px 2px;cursor:pointer;list-style:none;font-size:15px;font-weight:700}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary i{display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--landing-border);border-radius:50%;color:#9c93ff;font-style:normal;transition:transform .2s}.faq-list details[open] summary i{transform:rotate(45deg)}.faq-list details p{max-width:760px;margin:-5px 0 24px;color:#9296aa;font-size:12px}
.landing-contact{display:flex;align-items:center;justify-content:space-between;max-width:1070px;margin:0 auto 45px;padding:34px 38px;border:1px solid var(--landing-border);border-radius:18px;background:var(--landing-panel)}.landing-contact h2{margin:0;font-size:26px}.landing-contact p{max-width:650px;margin:9px 0 0;color:#8f93a8;font-size:12px}.landing-contact .landing-secondary{flex-shrink:0;margin-left:35px}.landing-final{max-width:1070px}.landing-final .landing-actions{margin-top:27px}.landing-final p{max-width:650px;margin-right:auto;margin-left:auto}.landing-footer{max-width:1120px;gap:30px}.landing-footer nav{display:flex;gap:17px;flex-wrap:wrap;justify-content:flex-end;color:#777b90;font-size:9px}.landing-footer nav a:hover{color:#fff}
@media(max-width:980px){.landing-nav>nav{display:none}.landing-menu{display:block}.landing-nav-actions .landing-login{display:inline-flex}.landing-nav{justify-content:flex-start}.landing-nav-actions{margin-left:auto}.landing-section .section-intro{align-items:flex-start;flex-direction:column;gap:15px}.benefit-grid,.feature-list,.use-case-grid{grid-template-columns:repeat(2,1fr)}.workflow-steps{grid-template-columns:repeat(2,1fr);gap:45px 20px}.workflow-steps li:nth-child(2):after{display:none}.advantages-section{gap:45px}.landing-footer{align-items:flex-start}.landing-footer nav{max-width:360px}}
@media(max-width:700px){.landing-nav{padding:0 16px}.landing-brand strong{font-size:14px}.landing-nav-actions .landing-login{display:none}.landing-nav-actions{margin-left:auto}.landing-menu{margin-left:8px}.landing-hero{padding:72px 18px 80px}.landing-hero h1{font-size:clamp(40px,12vw,54px)}.landing-hero>p{font-size:15px}.product-preview{margin-right:10px;margin-left:10px}.preview-caption{align-items:flex-start;flex-direction:column;gap:4px}.preview-shell aside{display:none}.preview-shell{grid-template-columns:1fr}.preview-welcome h2{font-size:21px}.landing-section{padding:0 18px 90px}.benefit-grid,.feature-list,.audience-grid,.use-case-grid{grid-template-columns:1fr}.feature-list article{min-height:auto}.landing-section .section-intro h2,.advantages-copy h2{font-size:34px}.workflow-steps{grid-template-columns:1fr;gap:35px}.workflow-steps li:after{display:none}.advantages-section{grid-template-columns:1fr;padding-top:50px}.advantages-section li{grid-template-columns:1fr;gap:7px}.landing-contact{align-items:flex-start;margin:0 12px 35px;padding:28px 22px;flex-direction:column}.landing-contact .landing-secondary{margin:22px 0 0;max-width:100%;overflow-wrap:anywhere}.landing-final{margin-right:12px;margin-left:12px}.landing-footer{align-items:flex-start;padding:30px 18px;flex-direction:column}.landing-footer nav{justify-content:flex-start}.landing-footer p{display:block}.landing-trust{align-items:center}.workflow-line i:not(:last-child):after{width:34px}}
@media(prefers-reduced-motion:reduce){.landing-body *{scroll-behavior:auto!important;transition:none!important}.landing-cta:hover,.feature-list article:hover{transform:none}}

/* Accessible blue and white public website */
.landing-html,.landing-html body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}
.landing-body{--landing-text:#10233f;--landing-muted:#425b76;--landing-border:#c9d8ea;--landing-panel:#fff;color:var(--landing-text);background:#f7faff}
.landing-glow.one{background:radial-gradient(circle,rgba(11,99,214,.13),transparent 68%)}.landing-glow.two{background:radial-gradient(circle,rgba(71,139,255,.12),transparent 70%)}
.landing-nav{position:sticky;top:0;z-index:30;width:100%;max-width:none;padding-right:max(24px,calc((100vw - 1192px)/2));padding-left:max(24px,calc((100vw - 1192px)/2));border-bottom:1px solid #d6e2f0;background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}
.landing-brand{color:#063f96}.landing-brand span{color:#fff;background:linear-gradient(135deg,#0757c8,#0b6ee8);box-shadow:0 8px 25px rgba(7,87,200,.24)}.landing-brand strong{color:#063f96}
.landing-nav nav a,.landing-login{color:#294b70}.landing-nav nav a:hover,.landing-login:hover,.landing-nav nav a[aria-current="page"]{color:#063f96;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.landing-menu summary{border-color:#9db6d2;background:#fff}.landing-menu summary span{background:#063f96}.landing-menu nav{border-color:#b7c9dc;background:#fff;box-shadow:0 24px 60px rgba(31,68,109,.2)}.landing-menu nav a{color:#193b61}.landing-menu nav a:hover{color:#063f96;background:#eaf3ff}
.landing-skip{color:#fff;background:#063f96}.landing-body a:focus-visible,.landing-body button:focus-visible,.landing-body summary:focus-visible{outline-color:#0757c8}
.landing-pill{border-color:#a9c2de;color:#294b70;background:#fff}.landing-pill i{background:#0757c8;box-shadow:0 0 0 4px rgba(7,87,200,.14)}.landing-hero h1{color:#10233f}.landing-hero h1 em{color:#0757c8;background:none}.landing-hero>p{color:#425b76}
.landing-cta{color:#fff;background:#0757c8;box-shadow:0 12px 28px rgba(7,87,200,.22)}.landing-cta:hover{background:#0649aa;box-shadow:0 16px 34px rgba(7,87,200,.3)}.landing-secondary{border-color:#0757c8;color:#0649aa;background:#fff}.landing-secondary:hover{color:#fff;background:#0649aa}
.landing-trust{color:#294b70}.landing-trust span:before{color:#0757c8}
.product-preview{border-color:#b8cce2;background:#eaf3ff;box-shadow:0 38px 80px rgba(30,74,120,.18)}.preview-caption{color:#425b76}.preview-caption span{color:#0649aa}.preview-bar{color:#425b76}.preview-bar span:nth-child(2){color:#294b70}.preview-live{color:#0757c8!important}.preview-shell aside{background:#063f96}.preview-shell aside b{background:#2f86ed}.preview-shell aside i{background:#75a9e4}.preview-welcome span,.section-intro>span,.landing-final>span{color:#0757c8}.preview-welcome p,.preview-metrics span,.preview-metrics small{color:#425b76}.workflow-line i{border-color:#8eb6e4;color:#0649aa;background:#eff6ff}.workflow-line i:not(:last-child):after{background:#8eb6e4}.preview-card{background:#0757c8}
.section-intro>div>span,.advantages-copy>span,.landing-contact>div>span{color:#0649aa}.landing-section .section-intro>p,.benefit-grid p,.feature-list p,.audience-grid p,.use-case-grid p,.workflow-steps p,.advantages-copy p,.advantages-section li span,.faq-list details p,.landing-contact p{color:#425b76}
.benefit-grid article,.audience-grid article,.use-case-grid article,.feature-list article{border-color:#c9d8ea;background:#fff;box-shadow:0 10px 26px rgba(24,63,103,.06)}.benefit-grid article>span,.feature-list b{color:#0757c8}.feature-list article:hover{border-color:#6b9ed6;background:#f8fbff}.audience-grid article:before{border-color:#bfd8f5;background:#0757c8}.workflow-steps li:not(:last-child):after{background:linear-gradient(90deg,#0757c8,#bed6ef)}.workflow-steps li>span{border-color:#5f95d1;color:#0649aa;background:#fff}.use-case-grid article{background:linear-gradient(145deg,#edf5ff,#fff)}
.advantages-section,.advantages-section li,.faq-list,.faq-list details{border-color:#c9d8ea}.faq-list summary i{border-color:#9db8d5;color:#0649aa}.landing-contact{border-color:#b9cee4;background:#fff;box-shadow:0 14px 35px rgba(24,63,103,.08)}
.landing-final{border-color:#0757c8;color:#fff;background:linear-gradient(135deg,#0649aa,#0757c8)}.landing-final>span,.landing-final h2{color:#fff}.landing-final p{color:#e6f1ff}.landing-final .landing-secondary{border-color:#fff;color:#063f96;background:#fff}.landing-final .landing-secondary:hover{color:#fff;background:#102f55}
.landing-footer{max-width:none;padding-right:max(24px,calc((100vw - 1072px)/2));padding-left:max(24px,calc((100vw - 1072px)/2));border-color:#c9d8ea;background:#fff}.landing-footer p,.landing-footer nav{color:#425b76}.landing-footer nav a{color:#294b70}.landing-footer nav a:hover{color:#063f96;text-decoration:underline}

/* Separate marketing pages */
.marketing-page-body{background:#f7faff}.marketing-page-main{display:block}.marketing-page-hero{padding:105px 24px 82px;background:linear-gradient(180deg,#eaf3ff 0,#f7faff 100%)}.marketing-page-hero>div{max-width:1040px;margin:auto}.marketing-page-hero span,.marketing-page-cta span,.marketing-split>div>span,.marketing-card-grid article>span,.marketing-use-cases article>span,.contact-panel>span{display:block;margin-bottom:17px;color:#0649aa;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.13em}.marketing-page-hero h1{max-width:900px;margin:0;color:#10233f;font-size:clamp(44px,7vw,76px);line-height:1.02;letter-spacing:-.052em}.marketing-page-hero p{max-width:760px;margin:26px 0 0;color:#365779;font-size:18px;line-height:1.75}
.marketing-content{max-width:1120px;margin:0 auto;padding:90px 24px 120px}.marketing-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.marketing-card-grid article{padding:30px;border:1px solid #c2d4e7;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(24,63,103,.07)}.marketing-card-grid article>span{font-size:9px}.marketing-card-grid h2{margin:25px 0 12px;font-size:21px;letter-spacing:-.02em}.marketing-card-grid p{margin:0;color:#425b76;font-size:13px}.audience-page-grid{grid-template-columns:repeat(2,1fr)}
.marketing-split{display:grid;max-width:1072px;margin:0 auto 120px;padding:70px 0;grid-template-columns:1fr 1fr;gap:80px;border-top:1px solid #bfd1e4;border-bottom:1px solid #bfd1e4}.marketing-split h2{max-width:480px;margin:0;font-size:42px;line-height:1.1;letter-spacing:-.04em}.marketing-split p{margin:0;color:#365779;font-size:15px}.marketing-split ul{margin:25px 0 0;padding:0;list-style:none}.marketing-split li{position:relative;margin-top:12px;padding-left:24px;color:#294b70;font-size:13px}.marketing-split li:before{position:absolute;top:5px;left:0;width:9px;height:9px;border-radius:50%;background:#0757c8;content:""}
.marketing-steps{margin:0;padding:0;list-style:none}.marketing-steps li{display:grid;padding:30px 0;grid-template-columns:90px 1fr;border-bottom:1px solid #c9d8ea}.marketing-steps li:first-child{border-top:1px solid #c9d8ea}.marketing-steps li>span{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;color:#fff;background:#0757c8;font-size:11px;font-weight:800}.marketing-steps h2{margin:0 0 8px;font-size:28px}.marketing-steps p{max-width:700px;margin:0;color:#425b76;font-size:14px}
.marketing-use-cases{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.marketing-use-cases article{min-height:250px;padding:38px;border:1px solid #bfd1e4;border-radius:20px;background:linear-gradient(145deg,#eaf3ff,#fff)}.marketing-use-cases article:last-child{grid-column:1/-1}.marketing-use-cases h2{max-width:470px;margin:0 0 14px;font-size:28px}.marketing-use-cases p{max-width:650px;margin:0;color:#365779;font-size:14px}
.marketing-faq-page{max-width:900px;padding-top:80px}.contact-page{display:grid;grid-template-columns:1.15fr .85fr;gap:25px}.contact-panel,.contact-page aside{padding:42px;border:1px solid #bfd1e4;border-radius:20px;background:#fff;box-shadow:0 12px 28px rgba(24,63,103,.07)}.contact-panel h2,.contact-page aside h2{margin:0 0 14px;font-size:28px}.contact-panel p,.contact-page aside li{color:#365779;font-size:14px}.contact-panel a{display:inline-block;margin-top:25px;color:#0649aa;font-size:20px;font-weight:800;text-decoration:underline;text-underline-offset:5px}.contact-page aside ul{margin:20px 0 0;padding-left:20px}.contact-page aside li{margin-top:12px}
.marketing-page-cta{display:flex;align-items:center;justify-content:space-between;max-width:1072px;margin:0 auto 90px;padding:58px;border-radius:24px;color:#fff;background:#0757c8}.marketing-page-cta span{color:#d8eaff}.marketing-page-cta h2{max-width:620px;margin:0;font-size:38px;line-height:1.08}.marketing-page-cta p{max-width:600px;margin:13px 0 0;color:#e6f1ff}.marketing-page-cta>div:last-child{display:flex;flex-shrink:0;margin-left:35px;gap:10px}.marketing-page-cta .landing-cta{color:#063f96;background:#fff;box-shadow:none}.marketing-page-cta .landing-cta:hover{color:#fff;background:#102f55}.marketing-page-cta .landing-secondary{border-color:#fff;color:#fff;background:transparent}.marketing-page-cta .landing-secondary:hover{color:#063f96;background:#fff}
@media(max-width:980px){.marketing-card-grid{grid-template-columns:repeat(2,1fr)}.marketing-split{margin-right:24px;margin-left:24px;gap:45px}.marketing-page-cta{margin-right:24px;margin-left:24px}.marketing-page-cta{align-items:flex-start;flex-direction:column}.marketing-page-cta>div:last-child{margin:28px 0 0}.landing-nav{padding-right:24px;padding-left:24px}}
@media(max-width:700px){.landing-nav{padding-right:16px;padding-left:16px}.marketing-page-hero{padding:72px 18px 58px}.marketing-page-hero h1{font-size:42px}.marketing-page-hero p{font-size:16px}.marketing-content{padding:60px 18px 85px}.marketing-card-grid,.audience-page-grid,.marketing-use-cases,.contact-page{grid-template-columns:1fr}.marketing-use-cases article:last-child{grid-column:auto}.marketing-card-grid article,.marketing-use-cases article,.contact-panel,.contact-page aside{padding:27px}.marketing-split{margin:0 18px 85px;padding:50px 0;grid-template-columns:1fr;gap:25px}.marketing-split h2{font-size:34px}.marketing-steps li{grid-template-columns:65px 1fr}.marketing-steps h2{font-size:23px}.marketing-page-cta{margin:0 12px 60px;padding:38px 24px}.marketing-page-cta h2{font-size:31px}.marketing-page-cta>div:last-child{width:100%;flex-direction:column}.marketing-page-cta a{width:100%}.contact-panel a{font-size:16px;overflow-wrap:anywhere}}

/* Management pages */
.management-page{max-width:1240px;margin:auto}.management-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.management-heading h1{margin:0;font-size:31px;letter-spacing:-.04em}.management-heading>div>p:last-child{margin:8px 0 0;color:var(--eo-muted);font-size:12px}.management-panel{overflow:hidden;border:1px solid var(--eo-line);border-radius:18px;background:#fff;box-shadow:0 10px 35px rgba(39,45,72,.05)}.management-toolbar{display:flex;align-items:flex-end;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--eo-line)}.management-toolbar label span{display:block;margin-bottom:6px;color:#70788b;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.1em}.management-toolbar input{width:min(360px,55vw);height:38px;padding:0 12px;border:1px solid #e1e3ea;border-radius:10px;background:#f9fafc;font:inherit;font-size:11px}.management-content{min-height:330px}.loading-state,.empty-state{display:grid;place-items:center;align-content:center;min-height:330px;text-align:center}.loading-state i{width:24px;height:24px;border:3px solid #e6e3ff;border-top-color:var(--eo-brand);border-radius:50%;animation:spin .8s linear infinite}.loading-state p,.empty-state p{color:var(--eo-muted);font-size:11px}.empty-state strong{font-size:14px}.empty-state.error strong{color:#a73f30}@keyframes spin{to{transform:rotate(360deg)}}.data-list article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;min-height:70px;padding:10px 20px;border-bottom:1px solid #f0f1f5}.data-list article:last-child{border-bottom:0}.data-list article:hover{background:#fafaff}.item-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#6558f5;background:#eeecff;font-size:11px;font-weight:800}.item-copy strong,.item-copy span{display:block}.item-copy strong{font-size:11px}.item-copy span{max-width:540px;margin-top:4px;overflow:hidden;color:#9298a8;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.item-status{padding:5px 9px;border-radius:20px;color:#4d8b6d;background:#ecf8f1;font-size:8px;font-weight:750;text-transform:capitalize}.item-dialog{width:min(500px,calc(100% - 28px));padding:0;border:0;border-radius:18px;color:var(--eo-ink);box-shadow:0 30px 90px rgba(20,24,45,.28)}.item-dialog::backdrop{background:rgba(17,19,31,.58);backdrop-filter:blur(5px)}.item-dialog form{padding:25px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between}.dialog-head h2{margin:0;font-size:21px}.dialog-head button{border:0;color:#8c92a1;background:transparent;font-size:22px}.dialog-help{margin:8px 0 20px;color:var(--eo-muted);font-size:10px}.item-dialog .field-group{display:block;margin-bottom:14px}.item-dialog textarea{width:100%;padding:11px;border:1px solid #dfe2e9;border-radius:11px;resize:vertical;font:inherit;font-size:11px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}@media(max-width:700px){.management-heading{align-items:flex-start;flex-direction:column}.management-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.management-toolbar input{width:100%}.management-toolbar label{width:100%}}

.block-editor{max-width:1480px;margin:auto}.editor-actions{display:flex;align-items:center;gap:10px}.native-editor{margin-top:22px}.block-editor-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}.block-editor-heading h2{margin:0;font-size:21px}.view-switcher{display:flex;padding:3px;border:1px solid #d5deea;border-radius:10px;background:#f3f7fc}.view-switcher button{padding:7px 10px;border:0;border-radius:7px;color:#425b76;background:transparent;font:inherit;font-size:10px;font-weight:700}.view-switcher button.active{color:#fff;background:#0757c8}.block-toolbar{display:flex;position:sticky;top:74px;z-index:5;gap:6px;overflow-x:auto;margin-bottom:12px;padding:10px;border:1px solid #cbd9e8;border-radius:13px;background:rgba(255,255,255,.97);box-shadow:0 8px 24px rgba(27,67,110,.08)}.block-toolbar button{flex:0 0 auto;padding:8px 11px;border:1px solid #bfd0e3;border-radius:8px;color:#164c82;background:#f7fbff;font:inherit;font-size:10px;font-weight:750}.block-toolbar button:hover,.block-toolbar button:focus-visible{border-color:#0757c8;color:#fff;background:#0757c8}.block-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);gap:14px;align-items:start}.block-canvas{min-height:480px;padding:14px;border:1px solid #cbd9e8;border-radius:14px;background:#f5f8fc}.editor-block{margin-bottom:10px;border:1px solid #cfdae7;border-radius:12px;background:#fff;box-shadow:0 4px 16px rgba(30,64,100,.05)}.editor-block:focus-within{border-color:#4b8bd3;box-shadow:0 0 0 3px rgba(7,87,200,.1)}.editor-block>header{display:flex;align-items:center;gap:9px;padding:9px 11px;border-bottom:1px solid #e2e8f0}.editor-block>header strong{color:#254d75;font-size:10px;text-transform:capitalize}.editor-block>header>div{display:flex;margin-left:auto;gap:3px}.editor-block>header button{display:grid;width:28px;height:28px;place-items:center;border:1px solid #d4deea;border-radius:7px;color:#315a82;background:#fff}.editor-block>header button:hover{color:#fff;background:#0757c8}.block-handle{color:#8ca0b5;font-weight:900;letter-spacing:-2px}.block-fields{display:grid;padding:12px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.block-fields label{color:#365779;font-size:9px;font-weight:750}.block-fields input,.block-fields textarea,.block-fields select{display:block;width:100%;margin-top:5px;padding:9px 10px;border:1px solid #cbd7e4;border-radius:8px;color:#172b42;background:#fff;font:inherit;font-size:11px}.block-fields textarea{resize:vertical}.block-fields .inline-check{display:flex;align-items:center;gap:7px}.block-fields .inline-check input{width:auto;margin:0}.block-empty-control{margin:0;color:#677d94;font-size:10px}.block-preview-panel{position:sticky;top:132px;overflow:hidden;border:1px solid #cbd9e8;border-radius:14px;background:#e9f0f8}.preview-label{display:flex;justify-content:space-between;padding:10px 12px;color:#365779;background:#fff;font-size:9px}.preview-label span{color:#72869a}.block-preview-panel iframe{display:block;width:100%;height:520px;margin:auto;border:0;background:#fff;transition:width .2s}.block-preview-panel iframe[data-size="tablet"]{width:760px;max-width:86%}.block-preview-panel iframe[data-size="mobile"]{width:390px;max-width:78%}.legacy-notice{margin-bottom:12px;padding:16px;border:1px solid #e4b85c;border-radius:12px;color:#624712;background:#fff8e8}.legacy-notice strong{font-size:12px}.legacy-notice p{margin:5px 0 12px;font-size:10px}.revision-dialog{padding:22px}.revision-list{max-height:520px;margin-top:15px;overflow:auto}.revision-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #e2e8f0}.revision-list strong,.revision-list span{display:block}.revision-list strong{font-size:11px}.revision-list span{margin-top:4px;color:#718198;font-size:9px}.revision-list button{padding:7px 10px;border:1px solid #9bb7d4;border-radius:8px;color:#0757c8;background:#fff;font:inherit;font-size:9px;font-weight:750}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.block-editor-grid{grid-template-columns:1fr}.block-preview-panel{position:static}.block-preview-panel iframe{height:420px}.block-toolbar{top:64px}}
@media(max-width:700px){.editor-top,.block-editor-heading{align-items:flex-start;flex-direction:column}.editor-actions{width:100%;flex-wrap:wrap}.editor-actions #save-state{width:100%}.editor-actions button{flex:1}.block-toolbar{position:static}.block-canvas{padding:8px}.block-fields{grid-template-columns:1fr}.view-switcher{width:100%}.view-switcher button{flex:1}.block-preview-panel iframe{height:360px}.block-preview-panel iframe[data-size="tablet"],.block-preview-panel iframe[data-size="mobile"]{width:100%;max-width:100%}}
.classic-editor-panel{margin-top:24px}.classic-editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.classic-editor-heading h2{margin:2px 0 0;font-size:18px}.classic-workspace{position:relative;border:1px solid #c3c4c7;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.classic-mode-tabs{display:flex;position:absolute;z-index:2;top:-35px;right:-1px;height:35px}.classic-mode-tabs button{min-width:58px;padding:7px 12px;border:1px solid #c3c4c7;color:#50575e;background:#f6f7f7;font:inherit;font-size:10px}.classic-mode-tabs button+button{border-left:0}.classic-mode-tabs button.active{border-bottom-color:#fff;color:#1d2327;background:#fff;font-weight:700}.classic-toolbar{display:flex;align-items:center;gap:3px;min-height:48px;padding:7px 9px;border-bottom:1px solid #dcdcde;background:#f6f7f7;flex-wrap:wrap}.classic-toolbar select{height:30px;min-width:118px;padding:0 24px 0 8px;border:1px solid #8c8f94;border-radius:2px;background:#fff;font:inherit;font-size:11px}.classic-toolbar button{display:grid;min-width:30px;height:30px;padding:0 7px;place-items:center;border:1px solid transparent;border-radius:2px;color:#2c3338;background:transparent;font:inherit;font-size:11px}.classic-toolbar button:hover,.classic-toolbar button:focus-visible{border-color:#8c8f94;background:#fff}.classic-toolbar button:nth-of-type(8),.classic-toolbar button:nth-of-type(9){font-size:17px}.classic-separator{width:1px;height:23px;margin:0 3px;background:#d0d1d2}.classic-visual-editor{min-height:480px;padding:28px 34px;outline:0;color:#1d2327;background:#fff;font:16px/1.75 Georgia,"Times New Roman",serif}.classic-visual-editor:empty:before{color:#a7aaad;content:attr(data-placeholder)}.classic-visual-editor h2{font-size:28px}.classic-visual-editor h3{font-size:23px}.classic-visual-editor h4{font-size:19px}.classic-visual-editor blockquote{margin:24px 0;padding-left:20px;border-left:4px solid #2271b1;color:#50575e}.classic-visual-editor img{display:block;max-width:100%;height:auto}.classic-visual-editor figure{margin:24px 0}.classic-visual-editor figure.image-selected{outline:3px solid #2271b1;outline-offset:4px}.classic-visual-editor figcaption{color:#646970;font-size:12px;text-align:center}.classic-source-editor{display:block;width:100%;min-height:480px;padding:20px;border:0;outline:0;color:#1d2327;background:#fff;font:13px/1.65 Consolas,Monaco,monospace;resize:vertical}.classic-editor-status{display:flex;justify-content:space-between;padding:7px 10px;border-top:1px solid #dcdcde;color:#646970;background:#f6f7f7;font-size:9px}.hidden{display:none!important}
@media(max-width:700px){.classic-editor-heading{align-items:flex-start;flex-direction:column;gap:8px}.classic-mode-tabs{position:static;justify-content:flex-end;height:auto;padding:6px 6px 0}.classic-mode-tabs button{height:31px}.classic-toolbar{overflow-x:auto;flex-wrap:nowrap}.classic-toolbar>*{flex:0 0 auto}.classic-visual-editor{min-height:390px;padding:20px 16px}.classic-source-editor{min-height:390px}}
.classic-toolbar .classic-image-button{padding:0 11px;border-color:#2271b1;color:#fff;background:#2271b1;font-weight:750}.classic-toolbar .classic-image-button:hover,.classic-toolbar .classic-image-button:focus-visible{border-color:#135e96;color:#fff;background:#135e96}.media-insert-dialog{width:min(920px,calc(100vw - 32px));max-width:920px}.media-picker-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 18px}.media-picker-actions p{margin:0;color:#646970;font-size:11px}.classic-media-grid{display:grid;max-height:560px;overflow:auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:4px}.classic-media-grid>button{min-width:0;padding:6px;border:2px solid transparent;border-radius:8px;color:#1d2327;background:#f6f7f7;text-align:left}.classic-media-grid>button:hover,.classic-media-grid>button:focus-visible{border-color:#2271b1;background:#fff}.classic-media-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px;background:#dcdcde}.classic-media-grid span{display:block;overflow:hidden;margin-top:7px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){.classic-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-picker-actions{align-items:flex-start;flex-direction:column}}
.featured-image-field{margin-bottom:16px}.featured-image-label{display:block;margin-bottom:7px;color:#424b5f;font-size:10px;font-weight:700}.featured-image-preview{display:grid;min-height:128px;place-items:center;overflow:hidden;border:1px dashed #cfd4df;border-radius:11px;color:#8b93a4;background:#f7f8fa;text-align:center;font-size:9px}.featured-image-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.featured-image-preview span{padding:16px}.featured-image-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.featured-image-actions button{justify-content:center;white-space:nowrap}.featured-image-remove{display:block;margin:8px auto 0;padding:0;border:0;color:#b84d3a;background:transparent;font:inherit;font-size:9px;font-weight:700}
