/* ══════════════════════════════════════════════════════════════════════════════
   EMBER PLATFORM  —  ember.css
   Platform shell styles: themes, sidebar, layout, cards, page components.
   Each module (reporting, networking, etc.) carries its own additional CSS.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── SIDEBAR CONSTANTS (never themed — sidebar is always dark) ────────────── */
:root {
  --sidebar-collapsed:  56px;
  --sidebar-expanded:  220px;
  --sidebar-bg:        #0d0f14;
  --sidebar-border:    #1c2030;
  --sidebar-hover:     rgba(255,255,255,.06);
  --sidebar-active-bg: rgba(255,255,255,.09);
  --sidebar-text:      rgba(255,255,255,.50);
  --sidebar-text-act:  #ffffff;
  --sidebar-accent:    #4a7fc0;   /* updated per theme via JS accent mirror */
  --transition-sidebar: width .20s cubic-bezier(.4,0,.2,1),
                        min-width .20s cubic-bezier(.4,0,.2,1);

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}


/* ── DEFAULT THEME (dark graphite) ───────────────────────────────────────── */
:root {
  --bg:       #1e1e1e;
  --panel:    #262626;
  --panel2:   #2e2e2e;
  --text:     #dce3ea;
  --muted:    #8a9aaa;
  --faint:    #606e7a;
  --border:   #383838;
  --shadow:   0 4px 18px rgba(0,0,0,.50);
  --radius:   8px;
  --radius2:  14px;

  --good:  #16a34a;
  --warn:  #c27a04;
  --bad:   #c42b2b;
  --info:  #4a7fc0;

  --btn:          #2e2e2e;
  --btn-bd:       rgba(55,55,55,.90);
  --btn-hover-bd: rgba(74,127,192,.38);
  --focus:        rgba(74,127,192,.32);

  --input-bg:  rgba(46,46,46,1);
  --input-bd:  rgba(55,55,55,.90);
  --card-bg:   rgba(38,38,38,1);
  --card-bd:   rgba(55,55,55,.90);
  --row-hover: rgba(255,255,255,.04);
}

html[data-theme="default"] {
  --sidebar-bg:        #161616;
  --sidebar-border:    #2a2a2a;
  --sidebar-hover:     rgba(74,127,192,.08);
  --sidebar-active-bg: rgba(74,127,192,.12);
}

/* ── NIGHT THEME — deep indigo midnight ──────────────────────────────────── */
html[data-theme="night"] {
  --sidebar-bg:        #0d1018;
  --sidebar-border:    #1a2236;
  --sidebar-hover:     rgba(96,165,250,.08);
  --sidebar-active-bg: rgba(96,165,250,.12);
  --bg:       #1A1F28;
  --panel:    #11161D;
  --panel2:   #0D1218;
  --text:     #e6edf7;
  --muted:    #8fa6c2;
  --faint:    #5f7896;
  --border:   #273241;
  --shadow:   0 10px 30px rgba(0,0,0,.55);

  --good:  #4ade80;
  --warn:  #fbbf24;
  --bad:   #f87171;
  --info:  #60a5fa;

  --btn:          #11161D;
  --btn-bd:       rgba(39,50,65,.90);
  --btn-hover-bd: rgba(96,165,250,.45);
  --focus:        rgba(96,165,250,.35);

  --input-bg:  rgba(17,22,29,.92);
  --input-bd:  rgba(39,50,65,.90);
  --card-bg:   rgba(17,22,29,.96);
  --card-bd:   rgba(39,50,65,.88);
  --row-hover: rgba(96,165,250,.05);
}

/* ── NORDIC THEME — slate blue ───────────────────────────────────────────── */
html[data-theme="nordic"] {
  --sidebar-bg:        #131c2b;
  --sidebar-border:    #1e2d42;
  --sidebar-hover:     rgba(6,182,212,.08);
  --sidebar-active-bg: rgba(6,182,212,.12);
  --bg:       #1b2333;
  --panel:    #222d3f;
  --panel2:   #2d3a50;
  --text:     #e2e8f0;
  --muted:    #94a3b8;
  --faint:    #64748b;
  --border:   #3d4f66;
  --shadow:   0 10px 26px rgba(0,0,0,.36);

  --good:  #22c55e;
  --warn:  #f59e0b;
  --bad:   #ef4444;
  --info:  #06b6d4;

  --btn:          #2d3a50;
  --btn-bd:       rgba(61,79,102,.90);
  --btn-hover-bd: rgba(6,182,212,.38);
  --focus:        rgba(6,182,212,.38);

  --input-bg:  rgba(34,45,63,.90);
  --input-bd:  rgba(61,79,102,.90);
  --card-bg:   rgba(34,45,63,.95);
  --card-bd:   rgba(61,79,102,.85);
  --row-hover: rgba(6,182,212,.04);
}

/* ── SLATE THEME — grey midpoint ─────────────────────────────────────────── */
html[data-theme="slate"] {
  --sidebar-bg:        #2e3d4f;
  --sidebar-border:    #3a4d62;
  --sidebar-text:      rgba(255,255,255,.70);
  --sidebar-text-act:  #ffffff;
  --sidebar-hover:     rgba(255,255,255,.08);
  --sidebar-active-bg: rgba(255,255,255,.14);
  --bg:       #c4ced8;
  --panel:    #d2dbe4;
  --panel2:   #dde5ed;
  --text:     #18222e;
  --muted:    #42566a;
  --faint:    #607080;
  --border:   #aab6c2;
  --shadow:   0 4px 18px rgba(15,23,42,.14);

  --good:  #16a34a;
  --warn:  #c27a04;
  --bad:   #c42b2b;
  --info:  #2a5fad;

  --btn:          #dde5ed;
  --btn-bd:       rgba(170,182,194,.90);
  --btn-hover-bd: rgba(42,95,173,.35);
  --focus:        rgba(42,95,173,.32);

  --input-bg:  rgba(221,229,237,1);
  --input-bd:  rgba(170,182,194,.90);
  --card-bg:   rgba(221,229,237,1);
  --card-bd:   rgba(170,182,194,.90);
  --row-hover: rgba(0,0,0,.035);
}

/* ── LIGHT THEME — clean white ───────────────────────────────────────────── */
html[data-theme="light"] {
  --sidebar-bg:        #e8edf2;
  --sidebar-border:    #d0d9e2;
  --sidebar-hover:     rgba(15,23,42,.08);
  --sidebar-active-bg: rgba(15,23,42,.10);
  --sidebar-text:      rgba(15,23,42,.55);
  --sidebar-text-act:  #0f172a;
  --sidebar-accent:    #2563eb;
  --bg:       #f1f5f9;
  --panel:    #ffffff;
  --panel2:   #f8fafc;
  --text:     #0f172a;
  --muted:    #475569;
  --faint:    #64748b;
  --border:   #e2e8f0;
  --shadow:   0 4px 16px rgba(15,23,42,.10);

  --good:  #16a34a;
  --warn:  #dba400;
  --bad:   #dc2626;
  --info:  #2563eb;

  --btn:          #f1f5f9;
  --btn-bd:       rgba(226,232,240,.95);
  --btn-hover-bd: rgba(37,99,235,.35);
  --focus:        rgba(37,99,235,.30);

  --input-bg:  #ffffff;
  --input-bd:  rgba(226,232,240,.95);
  --card-bg:   #ffffff;
  --card-bd:   rgba(226,232,240,.95);
  --row-hover: rgba(0,0,0,.025);
}
html[data-theme="light"] .sidebar-logo-text,
html[data-theme="light"] .nav-label,
html[data-theme="light"] .user-name,
html[data-theme="light"] .user-role,
html[data-theme="light"] .sidebar-nav-item {
  color: #0f172a;
}
/* ── PARCHMENT THEME — warm tan ──────────────────────────────────────────── */
html[data-theme="parchment"] {
  --sidebar-bg:        #2c1e0f;
  --sidebar-border:    #3d2b18;
  --sidebar-hover:     rgba(58,90,122,.12);
  --sidebar-active-bg: rgba(58,90,122,.20);
  --bg:       #f4e9d5;
  --panel:    #f8f0e0;
  --panel2:   #fdf6ec;
  --text:     #2c1e0f;
  --muted:    #7a5c3a;
  --faint:    #9e7d5a;
  --border:   #d4b896;
  --shadow:   0 4px 16px rgba(60,30,10,.18);

  --good:  #2d6a2d;
  --warn:  #a06020;
  --bad:   #8b2020;
  --info:  #3a5a7a;

  --btn:          #f0e4cc;
  --btn-bd:       rgba(180,150,110,.75);
  --btn-hover-bd: rgba(120,80,30,.38);
  --focus:        rgba(120,80,30,.28);

  --input-bg:  rgba(253,246,236,1);
  --input-bd:  rgba(180,150,110,.80);
  --card-bg:   rgba(248,240,224,1);
  --card-bd:   rgba(180,150,110,.75);
  --row-hover: rgba(120,80,30,.05);
}

/* ── PULSE THEME — deep black with ember red ─────────────────────────────── */
[data-theme="pulse"] {
  --bg:       #0d0f14;
  --panel:    #111318;
  --panel2:   #16181f;
  --text:     #e2e8f0;
  --muted:    #8fa6c2;
  --faint:    #5f7896;
  --border:   #202228;
  --shadow:   0 10px 36px rgba(0,0,0,.75);

  --good:  #22c55e;
  --warn:  #f59e0b;
  --bad:   #c42b2b;
  --info:  #c42b2b;

  --btn:          #16181f;
  --btn-bd:       rgba(196,43,43,.30);
  --btn-hover-bd: rgba(196,43,43,.65);
  --focus:        rgba(196,43,43,.35);

  --input-bg:     #111318;
  --input-bd:     rgba(196,43,43,.25);
  --card-bg:      #111318;
  --card-bd:      #202228;
  --row-hover:    rgba(196,43,43,.07);

  /* Tab / active state — red instead of blue */
  --tab-act-bg:   rgba(196,43,43,.12);
  --tab-act-bd:   rgba(196,43,43,.45);
}


/* ══════════════════════════════════════════════════════════════════════════════
   GLOBAL RESET & BASE
   ══════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  transition: background .20s, color .20s;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }


/* ══════════════════════════════════════════════════════════════════════════════
   PLATFORM SHELL  — sidebar + main content flex layout
   ══════════════════════════════════════════════════════════════════════════════ */
.ember-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-collapsed);
  min-width: var(--sidebar-collapsed);
  height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  overflow: hidden;
  transition: var(--transition-sidebar);
  z-index: 100;
  flex-shrink: 0;
}

.sidebar:hover,
.sidebar.pinned {
  width: var(--sidebar-expanded);
  min-width: var(--sidebar-expanded);
}

html.sb-pre-pinned .sidebar {
  width: var(--sidebar-expanded) !important;
  min-width: var(--sidebar-expanded) !important;
  transition: none !important;
}

/* Logo / header */
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
  height: 56px;
}

.sidebar-logo-mark {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #c42b2b 0%, #e85d4a 60%, #f09060 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(196,43,43,.40);
  flex-shrink: 0;
}
.sidebar:hover #sidebar-pin-btn,
.sidebar.pinned #sidebar-pin-btn { opacity: 1 !important; }
.sidebar.pinned #sidebar-pin-btn { color: rgba(255,255,255,.70) !important; }
.sidebar-logo-text {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .15s, transform .15s;
}

.sidebar:hover .sidebar-logo-text,
.sidebar.pinned .sidebar-logo-text {
  opacity: 1;
  transform: translateX(0);
}

/* Nav section */
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Shared nav item style */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  height: 40px;
  color: var(--sidebar-text);
  border-left: 3px solid transparent;
  transition: background .12s, color .12s, border-color .12s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item:hover {
  background: var(--sidebar-hover);
  color: rgba(255,255,255,.80);
}

.nav-item.active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-text-act);
  border-left-color: var(--bad);   /* ember red accent */
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .15s, transform .15s;
  pointer-events: none;
}

.sidebar:hover .nav-label,
.sidebar.pinned .nav-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Tooltip for collapsed state */
.nav-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(var(--sidebar-collapsed) + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: #1c2030;
  color: rgba(255,255,255,.90);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  z-index: 200;
}

.nav-item:hover::after {
  opacity: 1;
}

/* Hide tooltip when sidebar is expanded */
.sidebar:hover .nav-item::after,
.sidebar.pinned .nav-item::after {
  display: none;
}

/* Section label (for future grouping) */
.nav-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  padding: 16px 14px 4px;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  height: 0;
  transition: opacity .15s, height .15s;
}

.sidebar:hover .nav-section-label,
.sidebar.pinned .nav-section-label {
  opacity: 1;
  height: 28px;
}

/* Sidebar footer */
.sidebar-footer {
  border-top: 1px solid var(--sidebar-border);
  padding: 8px 0 4px;
  flex-shrink: 0;
}

/* User row */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  margin-top: 2px;
  cursor: default;
}

.user-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #c42b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.user-info {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .15s, transform .15s;
  overflow: hidden;
}

.sidebar:hover .user-info,
.sidebar.pinned .user-info {
  opacity: 1;
  transform: translateX(0);
}

.user-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}

.user-role {
  font-size: 10px;
  color: rgba(255,255,255,.38);
  white-space: nowrap;
}

/* ── Main content ─────────────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Page header bar */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  height: 56px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-header-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.page-header-sub {
  font-size: 12px;
  color: var(--muted);
}

.header-spacer { flex: 1; }

.page-body {
  flex: 1;
  padding: 24px;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}


/* ══════════════════════════════════════════════════════════════════════════════
   MODULE CARDS  — used on home page
   ══════════════════════════════════════════════════════════════════════════════ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.module-card {
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: var(--radius2);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  position: relative;
  overflow: hidden;
}

.module-card:hover {
  border-color: var(--info);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.module-card.disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.module-card.disabled:hover {
  border-color: var(--card-bd);
  box-shadow: none;
  transform: none;
}

.module-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.module-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.module-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
}

.badge-soon {
  background: rgba(255,255,255,.07);
  color: var(--faint);
  border: 1px solid var(--border);
}

.badge-live {
  background: rgba(22,163,74,.12);
  color: var(--good);
  border: 1px solid rgba(22,163,74,.25);
}


/* ══════════════════════════════════════════════════════════════════════════════
   SECTION LABELS & DIVIDERS
   ══════════════════════════════════════════════════════════════════════════════ */
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}


/* ══════════════════════════════════════════════════════════════════════════════
   PLACEHOLDER / COMING SOON STATES
   ══════════════════════════════════════════════════════════════════════════════ */
.placeholder-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
  gap: 12px;
}

.placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--panel2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.placeholder-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--faint);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.placeholder-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.placeholder-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.6;
}

/* Sub-tab bar (reporting page placeholder) */
.sub-tab-bar {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}
.sub-tab {
  flex-shrink: 0;
  min-width: 70px;
  text-align: center;
}

.sub-tab {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .12s, border-color .12s;
}

.sub-tab:hover { color: var(--text); }

.sub-tab.active {
  color: var(--text);
  border-bottom-color: var(--info);
}

.sub-tab.disabled {
  opacity: .45;
  cursor: not-allowed;
}


/* ══════════════════════════════════════════════════════════════════════════════
   SETTINGS PAGE
   ══════════════════════════════════════════════════════════════════════════════ */
.settings-layout {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: calc(100vh - 80px);
  align-items: start;
}
.settings-sidebar {
  padding: 20px 10px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 0;
  min-height: calc(100vh - 80px);
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: color .12s, background .12s;
}

.settings-nav-item:hover { color: var(--text); background: var(--row-hover); }

.settings-nav-item.active {
  color: var(--text);
  font-weight: 600;
  border-left-color: var(--info);
  background: var(--row-hover);
}

.settings-nav-item svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.settings-content {
  padding: 28px 32px;
  max-width: 760px;
}

.settings-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.settings-section-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.settings-block {
  margin-bottom: 36px;
}

.settings-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

/* Theme picker grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.theme-card {
  border: 2px solid var(--border);
  border-radius: var(--radius2);
  padding: 14px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  position: relative;
  height: 130px;
}
.theme-card:hover { border-color: var(--info); }

.theme-card.selected {
  border-color: var(--info);
  box-shadow: 0 0 0 3px var(--focus);
}

.theme-card.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--info);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
}

.theme-swatches {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.theme-swatch {
  height: 32px;
  border-radius: 6px;
  flex: 1;
}

.theme-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* Placeholder settings blocks */
.settings-placeholder-block {
  background: var(--panel2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--faint);
  font-size: 13px;
}

.settings-placeholder-block svg {
  width: 20px;
  height: 20px;
  stroke: var(--faint);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
/* Vertical divider in page-header between title and sub-tabs */
.header-divider {
  width: 1px;
  align-self: stretch;
  margin: 12px 12px;
  background: var(--border);
}