@import url("https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=optional");

:root {
  /* SCIFI_CONTROL_CENTER_3D_DEPTH_CSS_PASS_001 depth tokens */
  --eq-bg-0: #020711;
  --eq-bg-1: #06111d;
  --eq-panel-0: rgba(5, 18, 32, 0.82);
  --eq-panel-1: rgba(8, 32, 52, 0.72);
  --eq-line: rgba(0, 210, 255, 0.32);
  --eq-line-strong: rgba(0, 220, 255, 0.72);
  --eq-glow-soft: rgba(0, 180, 255, 0.18);
  --eq-glow-mid: rgba(0, 180, 255, 0.34);
  --eq-shadow-deep: rgba(0, 0, 0, 0.72);
  --eq-fill-bg: linear-gradient(
    165deg,
    rgba(18, 48, 72, 0.62) 0%,
    rgba(8, 26, 44, 0.84) 38%,
    rgba(3, 12, 22, 0.96) 100%
  );
  --eq-fill-border: rgba(0, 220, 255, 0.36);
  --eq-fill-corners:
    linear-gradient(135deg, rgba(0, 235, 255, 0.78) 0 2px, transparent 2px) 10px 10px / 14px 14px no-repeat,
    linear-gradient(225deg, rgba(0, 235, 255, 0.42) 0 2px, transparent 2px) calc(100% - 10px) 10px / 14px 14px no-repeat,
    linear-gradient(315deg, rgba(0, 235, 255, 0.32) 0 2px, transparent 2px) calc(100% - 10px) calc(100% - 10px) / 14px 14px no-repeat,
    linear-gradient(45deg, rgba(0, 235, 255, 0.52) 0 2px, transparent 2px) 10px calc(100% - 10px) / 14px 14px no-repeat;
  --eq-fill-bevel:
    0 1px 0 rgba(180, 245, 255, 0.2) inset,
    0 -2px 0 rgba(0, 0, 0, 0.42) inset,
    0 14px 28px rgba(0, 0, 0, 0.38) inset;
  --eq-fill-lift:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 22px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(0, 200, 255, 0.16),
    0 0 2px rgba(0, 220, 255, 0.42);
  --eq-fill-tray:
    0 0 0 1px rgba(0, 0, 0, 0.38) inset,
    0 10px 26px rgba(0, 0, 0, 0.48) inset;
  --eq-text-main: rgba(235, 248, 255, 0.92);
  --eq-text-muted: rgba(150, 175, 195, 0.72);

  --gc-bg: #020617;
  --gc-bg-mid: #0a1628;
  --gc-panel: rgba(8, 17, 33, 0.82);
  --gc-glass: rgba(255, 255, 255, 0.06);
  --gc-border: rgba(6, 182, 212, 0.28);
  --gc-border-soft: rgba(255, 255, 255, 0.08);
  --gc-cyan: #06b6d4;
  --gc-cyan-bright: #22d3ee;
  --gc-aqua: #2dd4bf;
  --gc-text: #e2e8f0;
  --gc-muted: #64748b;
  --gc-green: #4ade80;
  --gc-orange: #fb923c;
  --gc-red: #f87171;
  --gc-amber: #fbbf24;
  --gc-glow: 0 0 65px rgba(6, 182, 212, 0.17);
  --gc-glow-neon: 0 0 38px rgba(6, 182, 212, 0.36), 0 0 100px rgba(6, 182, 212, 0.12);
  --gc-glow-panel: 0 0 16px rgba(6, 182, 212, 0.10);
  --gc-glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  --gc-mesh-line: rgba(6, 182, 212, 0.03);
  --gc-mesh-size: 20px;
  --gc-mesh-grid:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent calc(var(--gc-mesh-size) - 1px),
      var(--gc-mesh-line) calc(var(--gc-mesh-size) - 1px),
      var(--gc-mesh-line) var(--gc-mesh-size)
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent calc(var(--gc-mesh-size) - 1px),
      var(--gc-mesh-line) calc(var(--gc-mesh-size) - 1px),
      var(--gc-mesh-line) var(--gc-mesh-size)
    );
}

* { box-sizing: border-box; }

html, body.gc-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(6, 182, 212, 0.08), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(34, 211, 238, 0.04), transparent 45%),
    linear-gradient(180deg, var(--gc-bg) 0%, #030712 50%, var(--gc-bg-mid) 100%);
  color: var(--gc-text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 13px;
}

.gc-app {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.gc-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  border: none;
  background:
    linear-gradient(175deg, rgba(5, 14, 26, 0.98) 0%, rgba(2, 8, 18, 0.99) 38%, rgba(1, 4, 12, 1) 100%),
    radial-gradient(ellipse 80% 40% at 0% 0%, rgba(6, 182, 212, 0.1), transparent 55%);
  backdrop-filter: blur(14px);
  box-shadow:
    var(--gc-glow-neon),
    inset 0 0 30px rgba(0, 0, 0, 0.95),
    4px 0 20px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(6, 182, 212, 0.1);
  display: flex;
  flex-direction: column;
  padding: 0;
  z-index: 20;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 182, 212, 0.35) transparent;
  isolation: isolate;
}

.gc-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
  z-index: 2;
}

.gc-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(to bottom, rgba(6, 182, 212, 0.6) 0%, rgba(6, 182, 212, 0.05) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.gc-sidebar > * {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.gc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gc-border);
}

.gc-brand-mark {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.34), 0 0 36px rgba(6, 182, 212, 0.19);
}

.gc-brand-mark::before,
.gc-brand-mark::after {
  content: none;
  display: none;
}

.gc-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.85)) drop-shadow(0 0 16px rgba(6, 182, 212, 0.5));
}

.gc-brand h1 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.gc-brand small {
  display: block;
  font-size: 9px;
  color: var(--gc-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── Layer filter — collapsible <details> ─────────────── */
.gc-sidebar-layer-filter-wrap {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gc-sidebar-layer-filter-wrap summary.gc-layer-filter-summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  cursor: pointer;
  user-select: none;
  color: var(--gc-muted);
  transition: background 0.15s;
}
.gc-sidebar-layer-filter-wrap summary.gc-layer-filter-summary::-webkit-details-marker { display: none; }
.gc-sidebar-layer-filter-wrap summary.gc-layer-filter-summary::marker { display: none; }
.gc-sidebar-layer-filter-wrap summary.gc-layer-filter-summary:hover {
  background: rgba(255,255,255,0.035);
}
.gc-sidebar-layer-filter-wrap summary.gc-layer-filter-summary:focus-visible {
  outline: 1px solid rgba(6,182,212,0.4);
  outline-offset: -1px;
}

.gc-layer-filter-label {
  font-size: 9px;
  font-family: var(--gc-font-mono, monospace);
  text-transform: uppercase;
  letter-spacing: .14em;
  opacity: .55;
  flex-shrink: 0;
}

.gc-layer-filter-count {
  font-size: 9px;
  color: var(--gc-cyan, #22d3ee);
  opacity: .8;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.gc-layer-filter-chevron {
  width: 8px;
  height: 5px;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--gc-muted);
  opacity: .4;
  transition: transform 0.2s ease, opacity 0.15s;
}
.gc-sidebar-layer-filter-wrap summary.gc-layer-filter-summary:hover .gc-layer-filter-chevron {
  opacity: .7;
}
.gc-sidebar-layer-filter-wrap[open] .gc-layer-filter-chevron {
  transform: rotate(180deg);
}

.gc-layer-filter-body {
  padding: 0 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gc-layer-filter-body .gc-layer-filter {
  display: flex;
  align-items: center;
}

/* ── Dark-theme select — override browser native on Windows ── */
.gc-layer-filter-body .gc-layer-filter select,
select#gc-layer-filter {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  font-size: 11px;
  font-family: inherit;
  background-color: rgba(10, 16, 32, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 9px 5px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gc-text, #cbd5e1);
  border-radius: 5px;
  padding: 5px 26px 5px 9px;
  cursor: pointer;
  line-height: 1.3;
  transition: border-color 0.15s, background-color 0.15s;
}
.gc-layer-filter-body .gc-layer-filter select option,
select#gc-layer-filter option {
  background-color: #0d1626;
  color: #cbd5e1;
}
.gc-layer-filter-body .gc-layer-filter select:focus,
select#gc-layer-filter:focus {
  outline: none;
  border-color: rgba(34,211,238,0.45);
  background-color: rgba(6,182,212,0.07);
}
.gc-layer-filter-body .gc-layer-filter select:hover,
select#gc-layer-filter:hover {
  border-color: rgba(255,255,255,0.18);
}

.gc-layer-filter-meta {
  font-size: 8px;
  opacity: .38;
  padding-left: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-nav {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.gc-nav a {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  color: var(--gc-muted);
  text-decoration: none;
  padding: 10px 14px 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gc-nav a:hover {
  color: var(--gc-cyan-bright);
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow:
    0 0 32px rgba(6, 182, 212, 0.45),
    0 0 64px rgba(6, 182, 212, 0.12),
    inset 0 0 20px rgba(6, 182, 212, 0.1);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.55);
}

.gc-nav a.is-active {
  color: var(--gc-cyan-bright);
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0.08) 45%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(34, 211, 238, 0.32);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 40px rgba(6, 182, 212, 0.38),
    inset 0 0 28px rgba(6, 182, 212, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.65);
}

.gc-nav a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 62%;
  min-height: 16px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gc-cyan-bright) 0%, var(--gc-cyan) 55%, rgba(6, 182, 212, 0.35) 100%);
  box-shadow:
    0 0 16px rgba(34, 211, 238, 0.95),
    0 0 32px rgba(6, 182, 212, 0.55),
    2px 0 12px rgba(34, 211, 238, 0.4);
}

.gc-sidebar-foot {
  padding: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(6, 182, 212, 0.34);
  box-shadow:
    0 -1px 0 rgba(34, 211, 238, 0.12),
    0 -8px 32px rgba(6, 182, 212, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gc-status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--gc-border);
  background: var(--gc-panel);
}

.gc-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gc-muted);
  flex-shrink: 0;
}

.gc-status-dot.is-live { background: var(--gc-green); box-shadow: 0 0 40px var(--gc-green); }
.gc-status-dot.is-warn { background: var(--gc-amber); box-shadow: 0 0 40px var(--gc-amber); }
.gc-status-dot.is-off { background: var(--gc-red); }

.gc-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gc-topbar {
  min-height: 72px;
  height: auto;
  max-height: 96px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--gc-border);
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.92) 0%, rgba(8, 17, 33, 0.88) 100%);
  backdrop-filter: blur(12px);
  box-shadow:
    var(--gc-glass-inset),
    0 4px 20px rgba(0, 0, 0, 0.25),
    0 0 56px rgba(6, 182, 212, 0.16),
    0 8px 48px rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

.gc-topbar-tickers {
  display: flex;
  gap: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.gc-ticker span { display: block; color: var(--gc-muted); }
.gc-ticker strong { color: var(--gc-green); }

.gc-topbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--gc-muted);
}

.gc-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--gc-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gc-badge.ok { color: var(--gc-green); border-color: rgba(52, 211, 153, 0.4); }
.gc-badge.warn { color: var(--gc-amber); border-color: rgba(251, 191, 36, 0.4); }
.gc-badge.err { color: var(--gc-red); border-color: rgba(248, 113, 113, 0.4); }

.gc-strip {
  min-height: 0;
  max-height: 0;
  padding: 0 20px;
  margin: 0;
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 0 solid rgba(245, 158, 11, 0.25);
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  display: block;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
}

.gc-strip.is-visible {
  min-height: 36px;
  max-height: 120px;
  padding: 8px 20px;
  border-bottom-width: 1px;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.gc-layout-stable-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.gc-strip.is-soak {
  background: rgba(6, 182, 212, 0.08);
  border-bottom-color: rgba(6, 182, 212, 0.28);
}

.gc-api-connectivity-banner {
  display: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: "JetBrains Mono", monospace;
  border-bottom: 2px solid rgba(239, 68, 68, 0.55);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.22), rgba(15, 23, 42, 0.55));
  color: #fecaca;
}

.gc-api-connectivity-banner:not([hidden]) {
  display: block;
}

.gc-api-connectivity-banner.is-pending {
  border-bottom-color: rgba(245, 158, 11, 0.55);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.5));
  color: #fde68a;
}

.gc-api-connectivity-banner.is-partial {
  border-bottom-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.5));
  color: #bae6fd;
  font-weight: 600;
}

.gc-api-connectivity-banner.is-auth {
  border-bottom-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.2), rgba(15, 23, 42, 0.5));
  color: #e9d5ff;
}

.gc-api-connectivity-banner.is-stale {
  border-bottom-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.45));
  color: #fcd34d;
  font-weight: 600;
}

.gc-api-connectivity-banner.is-offline {
  border-bottom-color: rgba(239, 68, 68, 0.55);
}

.gc-demo-go-nogo.is-api-offline {
  border-color: rgba(148, 163, 184, 0.55);
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.22), rgba(15, 23, 42, 0.45));
  color: #cbd5e1;
}

.gc-demo-go-nogo.is-loading {
  border-color: rgba(245, 158, 11, 0.55);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.14), rgba(15, 23, 42, 0.4));
  color: #fde68a;
}

.gc-strip.is-soak .gc-soak-status {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.gc-strip.is-soak .gc-soak-status.in-progress { color: var(--gc-amber); }
.gc-strip.is-soak .gc-soak-status.complete { color: var(--gc-green); }

.gc-scroll {
  flex: 1;
  overflow: auto;
  padding: 20px;
  min-height: 0;
  contain: layout style;
}

.gc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  max-width: 1920px;
  margin: 0 auto;
  align-items: stretch;
  min-height: 480px;
  contain: layout style;
}

.gc-tile {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(10, 22, 40, 0.88) 18%,
      rgba(2, 6, 23, 0.94) 72%,
      rgba(1, 4, 12, 0.98) 100%
    );
  border: none;
  border-radius: 16px;
  padding: 16px;
  box-shadow:
    var(--gc-glow-neon),
    inset 0 0 30px rgba(0, 0, 0, 0.95),
    0 4px 20px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(6, 182, 212, 0.1);
  backdrop-filter: blur(14px) saturate(1.15);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, filter 0.25s ease;
  isolation: isolate;
  contain: layout style paint;
}

.gc-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.gc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(to bottom, rgba(6, 182, 212, 0.6) 0%, rgba(6, 182, 212, 0.05) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* Live content above tile glass (::before z2, ::after z3); pseudo-elements are not children */
.gc-tile > * {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.gc-tile h2,
.gc-tile .gc-table-wrap,
.gc-tile .gc-table,
.gc-tile .gc-stat-list,
.gc-tile .gc-chart,
.gc-tile .gc-gauge-wrap,
.gc-tile .gc-kpi-row,
.gc-tile .gc-heatmap,
.gc-tile .gc-bot-strip,
.gc-tile .gc-empty,
.gc-tile .gc-ai-center {
  position: relative;
  z-index: 5;
}

.gc-tile:hover,
.gc-tile:focus-within {
  filter: drop-shadow(0 0 48px rgba(6, 182, 212, 0.55)) drop-shadow(0 0 96px rgba(6, 182, 212, 0.18));
  box-shadow:
    var(--gc-glow-neon),
    0 0 80px rgba(6, 182, 212, 0.72),
    0 0 192px rgba(6, 182, 212, 0.24),
    inset 0 0 30px rgba(0, 0, 0, 0.95),
    0 4px 20px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(6, 182, 212, 0.1);
}

.gc-tile:hover::after,
.gc-tile:focus-within::after {
  background: linear-gradient(to bottom, rgba(34, 211, 238, 0.72) 0%, rgba(6, 182, 212, 0.12) 100%);
}

.gc-tile h2 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 11px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gc-cyan-bright);
  font-family: Syne, sans-serif;
  text-shadow: 0 0 48px rgba(6, 182, 212, 0.58);
}

.gc-tile h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gc-cyan-bright), rgba(6, 182, 212, 0.2));
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.82);
}

.gc-tile h2::after {
  content: "";
  display: block;
  position: absolute;
  left: 11px;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.45), transparent 70%);
}

.gc-span-3 { grid-column: span 3; }
.gc-span-4 { grid-column: span 4; }
.gc-span-5 { grid-column: span 5; }
.gc-span-6 { grid-column: span 6; }
.gc-span-8 { grid-column: span 8; }
.gc-span-12 { grid-column: span 12; }

.gc-tile-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-bottom: 12px;
}

.gc-tile-head--split h2 {
  margin: 0;
  flex: 1 1 auto;
}

.gc-perf-range-switch {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
}

#gc-equity-chart-tile .gc-range-tab {
  min-width: 2.5rem;
  color: rgba(186, 230, 253, 0.9);
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(8, 47, 73, 0.45);
}

#gc-equity-chart-tile .gc-range-tab:hover:not(:disabled) {
  border-color: rgba(34, 211, 238, 0.55);
  color: #f0f9ff;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}

#gc-equity-chart-tile .gc-range-tab.is-active {
  border-color: rgba(34, 211, 238, 0.85);
  color: #ecfeff;
  background: rgba(6, 182, 212, 0.22);
  box-shadow:
    0 0 14px rgba(34, 211, 238, 0.45),
    inset 0 0 8px rgba(34, 211, 238, 0.12);
}

[data-theme="deep-cyber-glow"] #gc-equity-chart-tile .gc-range-tab {
  color: rgba(224, 242, 254, 0.92);
  border-color: rgba(0, 168, 255, 0.32);
  background: rgba(3, 9, 20, 0.78);
}

[data-theme="deep-cyber-glow"] #gc-equity-chart-tile .gc-range-tab.is-active {
  border-color: var(--eq-neon-blue);
  color: #fff;
  background: rgba(0, 168, 255, 0.18);
  box-shadow:
    0 0 16px rgba(0, 168, 255, 0.42),
    inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.gc-equity-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
}

.gc-equity-delta {
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.gc-equity-delta.up { color: var(--gc-green); }
.gc-equity-delta.down { color: var(--gc-red); }
.gc-equity-delta.flat { color: var(--gc-muted); }

.gc-chart {
  flex: 1;
  min-height: 200px;
  margin-top: 8px;
  position: relative;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.72) 0%, rgba(3, 10, 28, 0.9) 55%, rgba(1, 4, 12, 0.96) 100%),
    var(--gc-mesh-grid);
  border: 1px solid rgba(6, 182, 212, 0.14);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.55),
    inset 0 0 144px rgba(6, 182, 212, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -8px 24px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(6, 182, 212, 0.12);
  overflow: hidden;
}

#gc-equity-chart-tile .gc-chart {
  background-color: rgba(2, 6, 17, 0.65);
}

.gc-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.05) 0%, transparent 38%);
  pointer-events: none;
  z-index: 0;
}

.gc-chart::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68%;
  background:
    linear-gradient(
      180deg,
      rgba(6, 182, 212, 0) 0%,
      rgba(6, 182, 212, 0.06) 28%,
      rgba(34, 211, 238, 0.14) 62%,
      rgba(6, 182, 212, 0.22) 100%
    );
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.85) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.gc-chart-wave-deco,
.gc-chart [aria-hidden="true"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.48;
}

.gc-chart-wave-deco .gc-wave-line {
  stroke-width: 2.5;
  filter: url(#gc-wave-glow) drop-shadow(0 0 8px rgba(34, 211, 238, 0.85)) drop-shadow(0 0 24px rgba(6, 182, 212, 0.55));
  animation: gc-wave-shimmer 5s ease-in-out infinite;
}

.gc-chart-wave-deco .gc-wave-fill {
  opacity: 0.55;
}

@keyframes gc-wave-shimmer {
  0%, 100% { opacity: 0.65; filter: url(#gc-wave-glow) drop-shadow(0 0 6px rgba(34, 211, 238, 0.6)); }
  50% { opacity: 1; filter: url(#gc-wave-glow) drop-shadow(0 0 14px rgba(34, 211, 238, 1)) drop-shadow(0 0 32px rgba(6, 182, 212, 0.7)); }
}

.gc-chart canvas {
  position: relative;
  z-index: 1;
  pointer-events: none;
  filter:
    drop-shadow(0 0 6px rgba(34, 211, 238, 0.75))
    drop-shadow(0 0 20px rgba(6, 182, 212, 0.55))
    drop-shadow(0 0 40px rgba(6, 182, 212, 0.28));
}

.gc-chart > div {
  position: relative;
  z-index: 2;
}

.gc-gauge-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.gc-health-orb {
  position: relative;
  overflow: hidden;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 50%;
  filter: drop-shadow(0 0 28px rgba(6, 182, 212, 0.35));
  isolation: isolate;
}

.gc-health-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 3;
}

.gc-health-orb-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.gc-health-orb-deco .gc-orb-outer {
  stroke: rgba(100, 116, 139, 0.45);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.25));
}

.gc-health-orb-deco .gc-orb-mid {
  stroke: rgba(148, 163, 184, 0.35);
  stroke-width: 14;
  stroke-dasharray: 6 10;
  opacity: 0.85;
}

.gc-health-orb-deco .gc-orb-core {
  animation: gc-orb-core-pulse 2.4s ease-in-out infinite;
  transform-origin: 60px 60px;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.85)) drop-shadow(0 0 28px rgba(6, 182, 212, 0.55));
}

@keyframes gc-orb-core-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.9);
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.65)) drop-shadow(0 0 20px rgba(6, 182, 212, 0.4));
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 18px rgba(34, 211, 238, 1)) drop-shadow(0 0 40px rgba(6, 182, 212, 0.75));
  }
}

.gc-gauge,
#gc-health-gauge,
.gc-gauge-center {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(34, 211, 238, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 50% 55%, rgba(6, 182, 212, 0.1) 0%, rgba(2, 6, 17, 0.4) 55%, transparent 72%);
  box-shadow:
    0 0 112px rgba(6, 182, 212, 0.38),
    inset 0 0 48px rgba(0, 0, 0, 0.55),
    inset 0 0 96px rgba(0, 0, 0, 0.45),
    inset 0 0 0 14px rgba(100, 116, 139, 0.12);
}

.gc-gauge.is-echarts-live::after,
#gc-health-gauge.is-echarts-live::after,
.gc-health-orb.is-echarts-live::after {
  display: none;
}

.gc-gauge::after {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42) 0%, rgba(6, 182, 212, 0.12) 45%, transparent 72%);
  animation: gc-gauge-core-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.55);
}

@keyframes gc-gauge-core-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.88); }
  50% { opacity: 0.9; transform: scale(1.12); }
}

.gc-gauge canvas,
#gc-health-gauge canvas {
  position: relative;
  z-index: 1;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px rgba(34, 211, 238, 0.7))
    drop-shadow(0 0 24px rgba(6, 182, 212, 0.55));
}

.gc-stat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  flex: 1;
}

.gc-stat-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

.gc-stat-list span { color: var(--gc-muted); }
.gc-stat-list strong { font-family: "JetBrains Mono", monospace; }

.gc-table-wrap {
  overflow: auto;
  flex: 1;
  max-height: 220px;
}

.gc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
}

.gc-table th {
  text-align: left;
  color: var(--gc-cyan-bright);
  font-weight: 600;
  padding: 8px;
  border-bottom: 2px solid rgba(6, 182, 212, 0.35);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.1em;
  background: rgba(6, 182, 212, 0.06);
  text-shadow: 0 0 32px rgba(6, 182, 212, 0.38);
}

.gc-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gc-table tbody tr:nth-child(even) td {
  background: rgba(6, 182, 212, 0.03);
}

.gc-table tbody tr:hover td {
  background: rgba(6, 182, 212, 0.07);
}

.gc-side-long { color: var(--gc-green); }
.gc-side-short { color: var(--gc-red); }

.gc-heatmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex: 1;
}

.gc-heat-cell {
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid rgba(6, 182, 212, 0.22);
  box-shadow: inset 0 0 56px rgba(6, 182, 212, 0.18);
  animation: gc-heat-breathe 4s ease-in-out infinite;
}

.gc-heat-cell:nth-child(3n) { animation-delay: 0.35s; }
.gc-heat-cell:nth-child(3n + 1) { animation-delay: 0.7s; }

@keyframes gc-heat-breathe {
  0%, 100% { opacity: 0.9; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.15); }
}

.gc-heat-cell.neutral { background: rgba(100, 116, 139, 0.25); }
.gc-heat-cell.good { background: rgba(16, 185, 129, 0.35); color: #a7f3d0; }
.gc-heat-cell.bad { background: rgba(239, 68, 68, 0.35); color: #fecaca; }
.gc-heat-cell.warn { background: rgba(245, 158, 11, 0.35); color: #fde68a; }

.gc-kpi-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.gc-kpi {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 0, 0, 0.25);
}

.gc-kpi span {
  display: block;
  font-size: 9px;
  color: var(--gc-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.gc-kpi strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
}

.gc-ai-orb {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gc-aqua), var(--gc-cyan), #020611);
  box-shadow: 0 0 160px rgba(6, 182, 212, 0.72);
  animation: gc-pulse 3s ease-in-out infinite alternate;
}

@keyframes gc-pulse {
  from { transform: scale(0.96); opacity: 0.85; }
  to { transform: scale(1.04); opacity: 1; }
}

.gc-ai-center {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gc-empty {
  color: var(--gc-muted);
  font-size: 12px;
  padding: 24px;
  text-align: center;
  flex: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gc-mesh-grid);
  border: 1px dashed rgba(6, 182, 212, 0.12);
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1400px) {
  .gc-span-6, .gc-span-5, .gc-span-8 { grid-column: span 12; }
  .gc-span-4, .gc-span-3 { grid-column: span 6; }
  .gc-kpi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .gc-app { grid-template-columns: 1fr; }
  .gc-span-3, .gc-span-4, .gc-span-5, .gc-span-6, .gc-span-8 { grid-column: span 12; }
}

.gc-tile-hint {
  font-size: 10px;
  font-weight: 500;
  color: var(--gc-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gc-risk-ring-wrap {
  position: relative;
  overflow: hidden;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 24px rgba(6, 182, 212, 0.32));
  isolation: isolate;
}

.gc-risk-ring-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 3;
}

.gc-risk-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.gc-risk-ring-svg .gc-ring-track {
  stroke: rgba(15, 23, 42, 0.95);
  stroke-width: 14;
}

.gc-risk-ring-svg .gc-ring-track-metallic {
  stroke: rgba(148, 163, 184, 0.32);
  stroke-width: 14;
  opacity: 1;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.08));
}

.gc-risk-ring-svg .gc-ring-fill {
  stroke-width: 14;
  stroke-linecap: round;
  animation: gc-risk-arc-glow 3s ease-in-out infinite;
  filter: url(#gc-risk-end-glow) drop-shadow(0 0 10px rgba(34, 211, 238, 0.85)) drop-shadow(0 0 22px rgba(6, 182, 212, 0.55));
}

@keyframes gc-risk-arc-glow {
  0%, 100% {
    opacity: 0.85;
    filter: url(#gc-risk-end-glow) drop-shadow(0 0 8px rgba(34, 211, 238, 0.7));
  }
  50% {
    opacity: 1;
    filter: url(#gc-risk-end-glow) drop-shadow(0 0 16px rgba(34, 211, 238, 1)) drop-shadow(0 0 32px rgba(74, 222, 128, 0.45));
  }
}

.gc-risk-ring,
#gc-risk-score {
  position: absolute;
  z-index: 6;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 700;
  background:
    radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.12) 0%, transparent 40%),
    radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(2, 6, 17, 0.94) 68%);
  box-shadow:
    0 0 88px rgba(6, 182, 212, 0.42),
    inset 0 0 28px rgba(0, 0, 0, 0.55),
    inset 0 0 72px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(6, 182, 212, 0.18);
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.65);
}

#gc-risk-panel .gc-risk-ring-wrap {
  animation: gc-ring-pulse 3s ease-in-out infinite;
}

#gc-risk-panel .gc-risk-ring {
  animation: none;
}

@keyframes gc-ring-pulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(6, 182, 212, 0.36)); }
  50% { filter: drop-shadow(0 0 44px rgba(34, 211, 238, 0.72)) drop-shadow(0 0 64px rgba(6, 182, 212, 0.28)); }
}

.gc-bot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.gc-bot-chip {
  border: 1px solid var(--gc-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(6, 182, 212, 0.04);
}

.gc-bot-chip span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-muted);
}

.gc-bot-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  word-break: break-word;
}

.demo5000-safety-panel .demo5000-safety-chip-wrap {
  margin: 0 0 12px;
}

.demo5000-safety-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--gc-border);
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(148, 163, 184, 0.12);
  color: var(--gc-muted);
}

.demo5000-safety-chip.is-safe {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.demo5000-safety-chip.is-watch {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
  color: var(--gc-amber);
}

.demo5000-safety-chip.is-attn {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.1);
  color: #fdba74;
}

.demo5000-safety-chip.is-hold {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.demo5000-safety-chip.is-auth {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
  color: #d8b4fe;
}

.demo5000-safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 14px;
}

.demo5000-safety-row {
  border: 1px solid var(--gc-border);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(6, 182, 212, 0.03);
}

.demo5000-safety-row span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-muted);
}

.demo5000-safety-row strong {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  word-break: break-word;
  line-height: 1.35;
}

.demo5000-safety-source {
  margin: 12px 0 0;
  font-size: 10px;
  color: var(--gc-muted);
  font-family: "JetBrains Mono", monospace;
  word-break: break-word;
}

.gc-owner-summary {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--gc-border);
  background: rgba(251, 191, 36, 0.06);
  color: var(--gc-amber);
  font-size: 12px;
}

.gc-renter-table .gc-btn {
  border: 1px solid var(--gc-border);
  background: rgba(8, 17, 33, 0.9);
  color: var(--gc-text);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-right: 4px;
}

.gc-renter-table .gc-btn:hover {
  border-color: var(--gc-cyan);
  color: var(--gc-cyan);
  box-shadow: 0 0 48px rgba(6, 182, 212, 0.42);
}

.gc-renter-table .gc-btn.danger {
  border-color: rgba(248, 113, 113, 0.5);
  color: var(--gc-red);
}

.gc-renter-table .gc-btn.ok {
  border-color: rgba(52, 211, 153, 0.5);
  color: var(--gc-green);
}

#eq-sidebar-account-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gc-border);
}

.gc-tile-hint {
  font-size: 10px;
  font-weight: 500;
  color: var(--gc-muted);
  letter-spacing: 0.02em;
  text-transform: none;
}

.gc-strategy-table td,
.gc-strategy-stack-table td {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
}

.gc-strategy-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
  margin-bottom: 8px;
}

.gc-strategy-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 220px;
  min-width: 180px;
}

.gc-strategy-filter {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 20, 32, 0.75);
  color: var(--gc-text);
  width: 100%;
  max-width: 420px;
}

.gc-strategy-filter-count,
.gc-strategy-sort-hint {
  font-size: 10px;
  color: var(--gc-muted);
  padding-bottom: 6px;
}

.gc-strategy-stack-table .gc-str-was {
  max-width: 280px;
  white-space: normal;
  line-height: 1.35;
  font-family: inherit;
  font-size: 10px;
  color: var(--gc-muted);
}

.gc-strategy-stack-table .gc-str-warum {
  max-width: 320px;
  white-space: normal;
  line-height: 1.35;
  font-size: 10px;
}

.gc-str-lifecycle-live {
  color: var(--gc-green);
}
.gc-str-lifecycle-shadow {
  color: var(--gc-orange);
}
.gc-str-lifecycle-candidate {
  color: var(--gc-cyan);
}

tr.gc-str-group-row td {
  background: rgba(0, 48, 72, 0.45);
  border-top: 1px solid var(--gc-border);
  padding: 6px 8px;
}

.gc-str-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.gc-str-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gc-cyan);
}

.gc-str-group-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.gc-str-bulk-btn {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 32, 48, 0.85);
  color: var(--gc-text);
  cursor: pointer;
}

.gc-strategy-attrib-hint {
  margin-top: 6px;
  font-size: 10px;
  color: var(--gc-muted);
}

.gc-action-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--gc-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gc-action-hint {
  flex: 1 1 100%;
  margin: 0 0 4px;
  font-size: 10px;
  color: var(--gc-muted);
}

.gc-btn.action {
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.14), rgba(8, 17, 33, 0.75));
  color: var(--gc-cyan-bright);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: var(--gc-glass-inset), 0 0 48px rgba(6, 182, 212, 0.18);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.gc-btn.action:hover {
  border-color: var(--gc-cyan-bright);
  box-shadow: 0 0 64px rgba(6, 182, 212, 0.58), var(--gc-glass-inset);
}

.gc-btn.warn {
  border-color: rgba(251, 146, 60, 0.55);
  color: var(--gc-orange);
  background: linear-gradient(145deg, rgba(251, 146, 60, 0.12), rgba(8, 17, 33, 0.75));
}

.gc-btn.warn:hover {
  box-shadow: 0 0 64px rgba(251, 146, 60, 0.52), var(--gc-glass-inset);
}

.gc-btn.danger.action {
  border-color: rgba(248, 113, 113, 0.6);
  color: var(--gc-red);
  background: linear-gradient(145deg, rgba(248, 113, 113, 0.12), rgba(8, 17, 33, 0.75));
}

.gc-btn.danger.action:hover {
  box-shadow: 0 0 64px rgba(248, 113, 113, 0.58), var(--gc-glass-inset);
}

.gc-btn.ok.action {
  border-color: rgba(74, 222, 128, 0.55);
  color: var(--gc-green);
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.12), rgba(8, 17, 33, 0.75));
}

.gc-btn.ok.action:hover {
  box-shadow: 0 0 64px rgba(74, 222, 128, 0.52), var(--gc-glass-inset);
}

#gc-bot-control .gc-action-bar {
  border-top-color: rgba(6, 182, 212, 0.2);
}

#gc-bot-control .gc-btn.action:not(.ok):not(.warn):not(.danger) {
  border-color: rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(8, 17, 33, 0.75));
}

.gc-btn.action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gc-action-status {
  font-size: 10px;
  color: var(--gc-muted);
  font-family: "JetBrains Mono", monospace;
  max-width: 280px;
}

.gc-whitelist-input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--gc-border);
  background: rgba(2, 6, 17, 0.9);
  color: var(--gc-text);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  resize: vertical;
}

.gc-do-allocation-summary {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gc-border);
}

.gc-do-arming-summary {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gc-border);
}

.gc-do-arming-summary .gc-stat-list strong {
  font-variant-numeric: tabular-nums;
}

.gc-do-start-command-note {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 193, 7, 0.28);
  background: rgba(255, 193, 7, 0.06);
  color: var(--gc-muted);
  line-height: 1.45;
}

.gc-do-allocation-summary .gc-stat-list strong {
  font-variant-numeric: tabular-nums;
}

.gc-do-venue-grid {
  margin: 12px 0;
}

.gc-do-owner-go-block {
  min-height: 220px;
  max-height: 360px;
  margin: 8px 0 10px;
}

.gc-do-airlock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}

.gc-do-airlock-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--gc-border);
  background: rgba(6, 182, 212, 0.06);
  font-size: 11px;
  line-height: 1.45;
  word-break: break-word;
}

.gc-do-airlock-banner.is-ok {
  border-color: rgba(16, 185, 129, 0.45);
  color: var(--gc-green);
}

.gc-do-airlock-banner.is-warn {
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.gc-do-airlock-banner.is-err {
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

.gc-do-allocation-inputs {
  margin: 12px 0;
  padding: 12px 0;
  border-top: 1px dashed var(--gc-border);
  border-bottom: 1px dashed var(--gc-border);
}

.gc-do-input-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gc-do-input-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  color: var(--gc-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gc-do-input-grid input {
  font-variant-numeric: tabular-nums;
}

.gc-do-allocation-sum-hint.is-warn {
  color: #fbbf24;
}

.gc-layer-filter,
.gc-global-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--gc-muted);
}

.gc-layer-filter select,
.gc-global-search input {
  font-size: 11px;
  max-width: 120px;
}

.gc-layer-filter-count {
  font-size: 9px;
  color: var(--gc-accent, #60a5fa);
  min-width: 3.5em;
  text-align: right;
}

.gc-mutation-result {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  word-break: break-word;
}

.gc-key-rotation-form {
  margin: 8px 0;
  max-width: 280px;
}

.gc-global-search {
  position: relative;
}

.gc-global-search input {
  min-width: 140px;
}

.gc-global-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 220px;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--gc-panel, #0a1224);
  border: 1px solid var(--gc-border, rgba(255,255,255,0.12));
  border-radius: 6px;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.gc-global-search-results li button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  font-size: 11px;
  background: transparent;
  border: none;
  color: var(--gc-text, #e8eef8);
  cursor: pointer;
}

.gc-global-search-results li button:hover,
.gc-global-search-results li button:focus {
  background: rgba(255,255,255,0.08);
}

.gc-layer-filter-meta,
.gc-global-search-meta,
.gc-jump-console-meta {
  font-size: 0.72rem;
  opacity: 0.85;
  margin-left: 0.35rem;
  white-space: nowrap;
}

.gc-jump-console-hints {
  margin: 0 0 0.5rem;
  padding: 0 0.25rem;
}

.gc-jump-console-list button.gc-jump-dedicated {
  border-left: 3px solid var(--gc-accent, #3dd6c6);
}

.gc-global-search-results .gc-search-kind-dedicated {
  color: var(--gc-accent, #3dd6c6);
}

.gc-global-search-results .gc-search-kind-button,
.gc-global-search-results .gc-search-kind-setting {
  color: #f0c674;
}

.gc-global-search-results .gc-search-kind-api {
  color: #9aa5b1;
  font-size: 0.7rem;
}

.gc-global-search-results .gc-search-kind {
  font-size: 9px;
  color: var(--gc-muted);
  margin-left: 6px;
}

.gc-comfort-catalog-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
}

.gc-comfort-catalog-panel label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

body.gc-dense-mode .gc-table th,
body.gc-dense-mode .gc-table td {
  padding: 2px 6px;
  font-size: 10px;
}

body.gc-dense-mode .gc-stat-list > div {
  padding: 2px 0;
}

body.gc-large-text-mode {
  font-size: 15px;
}

body.gc-large-text-mode .gc-table th,
body.gc-large-text-mode .gc-table td {
  font-size: 13px;
}

body.gc-large-text-mode .gc-tile h2 {
  font-size: 1.15rem;
}

.gc-jump-console-btn {
  font-size: 10px;
  padding: 4px 10px;
}

.gc-jump-console {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 16px 16px;
}

.gc-jump-console[hidden] {
  display: none !important;
}

.gc-jump-console-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 20, 0.72);
}

.gc-jump-console-panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--gc-card, #061224);
  border: 1px solid var(--gc-border, #15325c);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.12);
}

.gc-jump-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gc-jump-console-head h3 {
  margin: 0;
  font-size: 13px;
  color: var(--gc-cyan-bright, #00e5ff);
}

#gc-jump-console-filter {
  width: 100%;
  margin-bottom: 8px;
  font-size: 12px;
}

.gc-jump-console-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow: auto;
  display: grid;
  gap: 4px;
}

.gc-jump-console-list button {
  width: 100%;
  text-align: left;
  background: rgba(11, 34, 64, 0.55);
  border: 1px solid rgba(21, 50, 92, 0.8);
  color: var(--gc-text);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.gc-jump-console-list button:hover,
.gc-jump-console-list button:focus-visible {
  border-color: var(--gc-cyan, #00a8ff);
  outline: none;
}

.gc-key-rotation-hold {
  margin-top: 12px;
  padding: 10px;
  border: 1px dashed rgba(245, 158, 11, 0.45);
  border-radius: 8px;
  display: grid;
  gap: 8px;
}

.gc-key-rotation-hold strong {
  color: #fbbf24;
  font-size: 11px;
}

.gc-tile.gc-search-hidden {
  display: none !important;
}

.gc-nav a.gc-search-hidden {
  display: none !important;
}

.gc-section24-panel {
  margin-bottom: 12px;
}

.gc-section24-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.gc-section24-list li {
  padding: 8px 10px;
  border: 1px solid var(--gc-border);
  border-radius: 8px;
  background: rgba(2, 6, 17, 0.5);
  font-size: 11px;
  line-height: 1.4;
}

.gc-section24-list em.gc-section24-status {
  display: inline-block;
  margin-left: 8px;
  font-style: normal;
  color: var(--gc-cyan-bright);
  font-size: 10px;
}

.gc-section24-list li span {
  display: block;
  margin-top: 4px;
  color: var(--gc-muted);
  font-size: 10px;
}

.gc-section24-list li.gc-s24-green {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.06);
}

.gc-section24-list li.gc-s24-green em.gc-section24-status {
  color: #10b981;
}

.gc-section24-list li.gc-s24-yellow {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.06);
}

.gc-section24-list li.gc-s24-yellow em.gc-section24-status {
  color: #f59e0b;
}

.gc-section24-list li.gc-s24-red {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.06);
}

.gc-section24-list li.gc-s24-red em.gc-section24-status {
  color: #ef4444;
}

.gc-section24-list li.gc-s24-hold em.gc-section24-status {
  color: #94a3b8;
}

.gc-ui-comfort-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--gc-muted);
  cursor: pointer;
  user-select: none;
}

.gc-ui-comfort-toggle input {
  accent-color: var(--gc-cyan-bright);
}

body.gc-compact-mode .gc-tile,
body.gc-compact-mode .gc-summary-card,
body.gc-compact-mode .gc-mini-tile {
  padding: 10px 12px;
}

body.gc-compact-mode .gc-stat-list > div {
  padding: 6px 8px;
}

body.gc-compact-mode .gc-table th,
body.gc-compact-mode .gc-table td {
  padding: 4px 6px;
  font-size: 10px;
}

body.gc-user-reduced-motion *,
body.gc-user-reduced-motion *::before,
body.gc-user-reduced-motion *::after {
  animation: none !important;
  transition: none !important;
}

.gc-tile h2 {
  position: relative;
  padding-right: 140px;
}


/* CLS: reserve pin/collapse/fullscreen toolbar slot before JS injects buttons */
.gc-tile.gc-span-12 > h2,
.gc-tile.gc-span-6 > h2,
.gc-tile.gc-span-12 > h3,
.gc-tile.gc-span-6 > h3 {
  min-height: 22px;
}

.gc-tile-toolbar-slot {
  position: absolute;
  right: 0;
  top: 0;
  width: 132px;
  height: 22px;
  pointer-events: none;
  visibility: hidden;
}

.gc-tile-toolbar-slot.is-live {
  visibility: visible;
  pointer-events: auto;
}

.gc-tile-toolbar {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-flex;
  gap: 4px;
}

.gc-tile-pin-btn,
.gc-tile-collapse-btn,
.gc-tile-fullscreen-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  opacity: 0.55;
  padding: 0 4px;
}

.gc-tile-pin-btn:hover,
.gc-tile-pin-btn[aria-pressed="true"],
.gc-tile-collapse-btn:hover,
.gc-tile-collapse-btn[aria-pressed="true"],
.gc-tile-fullscreen-btn:hover,
.gc-tile-fullscreen-btn[aria-pressed="true"] {
  opacity: 1;
}

.gc-tile.gc-tile-pinned {
  outline: 1px solid rgba(0, 168, 255, 0.35);
}

.gc-tile.gc-tile-collapsed > :not(h2) {
  display: none !important;
}

.gc-tile.gc-tile-fullscreen {
  position: fixed;
  inset: 48px 12px 12px 12px;
  z-index: 9000;
  overflow: auto;
  background: var(--gc-panel, #061224);
  outline: 2px solid rgba(0, 168, 255, 0.5);
}

.gc-nav-coverage-badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--gc-muted, #94a3b8);
}

.gc-nav-coverage-badge.is-ok {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.gc-nav-coverage-badge.is-warn {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.gc-soll-spotcheck-badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--gc-muted, #94a3b8);
}

.gc-soll-spotcheck-badge.is-ok {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.gc-soll-spotcheck-badge.is-warn {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.gc-theme-persist-badge,
.gc-rbac-gaps-badge,
.gc-soll-audit-badge,
.gc-rbac-crud-badge,
.gc-rbac-safe-badge,
.gc-integ-gaps-badge,
.gc-owner-proof-badge,
.gc-cred-path-badge,
.gc-cred-gate-badge,
.gc-static-health-badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--gc-muted, #94a3b8);
}

.gc-theme-persist-badge.is-ok,
.gc-rbac-gaps-badge.is-ok,
.gc-soll-audit-badge.is-ok,
.gc-rbac-crud-badge.is-ok,
.gc-rbac-safe-badge.is-ok,
.gc-integ-gaps-badge.is-ok,
.gc-owner-proof-badge.is-ok,
.gc-cred-path-badge.is-ok,
.gc-cred-gate-badge.is-ok,
.gc-static-health-badge.is-ok {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.gc-theme-persist-badge.is-warn,
.gc-rbac-gaps-badge.is-warn,
.gc-rbac-crud-badge.is-warn,
.gc-rbac-safe-badge.is-warn,
.gc-integ-gaps-badge.is-warn,
.gc-owner-proof-badge.is-warn,
.gc-cred-path-badge.is-warn,
.gc-cred-gate-badge.is-warn,
.gc-static-health-badge.is-warn {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.gc-wiring-baseline-hint {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.12);
  color: var(--gc-muted, #94a3b8);
}

.gc-nav-alias-deeplinks,
.gc-nav-dedicated-deeplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 420px;
}

.gc-nav-alias-btn,
.gc-nav-dedicated-btn {
  font-size: 10px;
  padding: 2px 6px;
  line-height: 1.2;
}

.gc-nav-dedicated-btn {
  border-color: rgba(56, 189, 248, 0.35);
}

.gc-billing-truth-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gc-security-subhead {
  margin-top: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-muted);
}

.gc-owner-hold-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffd166;
  border: 1px solid rgba(255, 209, 102, 0.45);
  background: rgba(255, 209, 102, 0.08);
}

.gc-btn-owner-hold:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

[data-theme="high-contrast"] {
  --gc-bg: #000000;
  --gc-panel: #0a0a0a;
  --gc-border: #ffffff;
  --gc-text: #ffffff;
  --gc-muted: #d4d4d4;
  --gc-cyan-bright: #ffff00;
}

[data-theme="high-contrast"] .gc-tile,
[data-theme="high-contrast"] .gc-summary-card {
  border-width: 2px;
  border-color: #ffffff;
  background: #000000;
}

[data-theme="high-contrast"] .gc-btn {
  border-width: 2px;
}

[data-theme="high-contrast"] .gc-table th,
[data-theme="high-contrast"] .gc-table td {
  border-color: #ffffff;
}

[data-theme="high-contrast"] .gc-stat-list > div {
  border: 1px solid #ffffff;
}

[data-theme="high-contrast"] .gc-section24-list li {
  border-width: 2px;
}

[data-theme="high-contrast"] .gc-section24-list em.gc-section24-status {
  color: #ffff00;
  font-weight: 700;
}

body.gc-compact-mode .gc-section24-list li {
  padding: 6px 8px;
  font-size: 10px;
}

.gc-paypal-owner-hold-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px dashed rgba(245, 158, 11, 0.55);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.06);
}

.gc-paypal-owner-hold-row strong {
  color: #fbbf24;
}

/* §24 contract elements removed from UI */
#gc-demo-go-nogo { display: none !important; }
#gc-demo-gate-banner { display: none !important; }
#gc-section24-checklist-panel { display: none !important; }
#gc-demo-go-hero { display: none !important; }

.gc-demo-gate-banner {
  grid-column: 1 / -1;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 1px solid var(--gc-border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--gc-text-muted);
}

.gc-demo-gate-banner.is-green {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
}

.gc-demo-gate-banner.is-yellow {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.08);
  color: #fcd34d;
}

.gc-demo-gate-banner.is-red {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

.gc-demo-gate-banner-link {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gc-demo-gate-banner-link:focus-visible {
  outline: 2px solid var(--gc-accent, #00a8ff);
  outline-offset: 2px;
}

.gc-topbar-meta .gc-demo-go-nogo {
  flex: 1 1 100%;
  min-height: 48px;
  max-width: 100%;
}

.gc-demo-go-nogo {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid rgba(239, 68, 68, 0.65);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.18), rgba(15, 23, 42, 0.4));
  color: #fecaca;
}

.gc-demo-go-nogo.is-go {
  border-color: rgba(34, 197, 94, 0.75);
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.22), rgba(15, 23, 42, 0.35));
  color: #bbf7d0;
}

.gc-demo-go-nogo.is-partial {
  border-color: rgba(245, 158, 11, 0.65);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(15, 23, 42, 0.35));
  color: #fde68a;
}

.gc-demo-go-nogo-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gc-freischalt-panel {
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(15, 23, 42, 0.2));
}

.gc-freischalt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gc-freischalt-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.35);
}

.gc-freischalt-step.is-done {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
}

.gc-freischalt-step.is-pending {
  border-color: rgba(245, 158, 11, 0.45);
}

.gc-freischalt-step.is-blocked {
  border-color: rgba(239, 68, 68, 0.45);
  opacity: 0.92;
}

.gc-freischalt-num {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.2);
}

.gc-freischalt-step.is-done .gc-freischalt-num {
  background: rgba(34, 197, 94, 0.35);
}

.gc-freischalt-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.gc-freischalt-detail {
  font-size: 11px;
  color: var(--gc-muted, #94a3b8);
}


#gc-freischalt-meta.is-amber-warning {
  color: var(--gc-amber, #fbbf24);
  border-left: 3px solid rgba(245, 158, 11, 0.65);
  padding-left: 10px;
  margin-top: 8px;
}

.gc-freischalt-jump {
  flex: 0 0 auto;
  align-self: center;
}

.gc-demo-go-nogo-detail {
  font-size: 11px;
  font-weight: 600;
  color: inherit;
  opacity: 0.95;
  word-break: break-word;
  max-height: 2.8em;
  overflow: hidden;
}

.gc-supervisor-grid,
.gc-supervisor-list {
  min-height: 120px;
}

.gc-section24-ready-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
}

.gc-section24-ready-pill.is-ready {
  border-color: rgba(34, 197, 94, 0.65);
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.gc-section24-ack-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fde68a;
  cursor: pointer;
  user-select: none;
}

.gc-section24-ack-label input {
  accent-color: #22c55e;
}

.gc-section24-owner-steps {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.gc-section24-owner-steps li {
  font-size: 11px;
  line-height: 1.45;
}

.gc-section24-owner-steps .gc-owner-step-status {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.gc-owner-step.is-done .gc-owner-step-status {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.45);
}

.gc-owner-step.is-pending .gc-owner-step-status,
.gc-owner-step.is-blocked .gc-owner-step-status {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.45);
}

.gc-owner-step.is-optional .gc-owner-step-status {
  color: #cbd5e1;
}

.gc-demo-go-hero {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 2px solid rgba(34, 197, 94, 0.8);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.28), rgba(15, 23, 42, 0.55));
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.15);
}

.gc-demo-go-hero.gc-layout-stable-hidden,
.gc-demo-go-hero[hidden] {
  display: none !important;
}

.gc-demo-go-hero-title {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bbf7d0;
  margin-bottom: 8px;
}

.gc-demo-go-hero-body {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #ecfdf5;
  max-width: 72ch;
}

.gc-demo-go-hero-meta {
  margin: 0;
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  color: rgba(236, 253, 245, 0.85);
  word-break: break-word;
}

.gc-str-pnl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  white-space: nowrap;
}

.gc-demo-start-checklist-panel {
  margin-top: 10px;
}

.gc-demo-start-checklist-panel tr.gc-check-pass td:nth-child(3) {
  color: var(--gc-ok, #22c55e);
}

.gc-demo-start-checklist-panel tr.gc-check-fail td:nth-child(3) {
  color: var(--gc-danger, #ef4444);
}

.gc-gate-remediation-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.06);
}

.gc-gate-remediation-intro {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.45;
}

.gc-gate-remediation-actions {
  display: grid;
  gap: 10px;
}

.gc-gate-remediation-item {
  display: grid;
  gap: 4px;
}

.gc-gate-remediation-hint {
  margin: 0;
  font-size: 10px;
  color: var(--gc-text-muted);
  line-height: 1.4;
  word-break: break-word;
}

.gc-gate-remed-highlight {
  outline: 2px solid rgba(245, 158, 11, 0.85);
  outline-offset: 3px;
  transition: outline-color 0.3s ease;
}

.gc-do-ready-strip {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--gc-border);
  display: grid;
  gap: 6px;
}

.gc-do-ready-strip.is-ok {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
}

.gc-do-ready-strip.is-blocked,
.gc-do-ready-strip.is-pending {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

.gc-do-ready-strip-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.gc-do-ready-strip-detail {
  font-size: 11px;
  line-height: 1.45;
  color: var(--gc-muted);
}

.gc-license-gate-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--gc-border);
  font-size: 11px;
  line-height: 1.45;
}

.gc-license-gate-banner.is-ok {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
}

.gc-license-gate-banner.is-warn {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

.gc-license-gate-banner.is-fail {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}

.gc-lift-honest-explain {
  margin: 8px 0 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px dashed var(--gc-border);
  font-size: 11px;
  line-height: 1.45;
}

.gc-lift-honest-explain.is-ok {
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--gc-green);
}

.gc-lift-honest-explain.is-warn {
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.gc-lift-gate-block {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  color: var(--gc-text-muted);
  margin-bottom: 6px;
}

.gc-opa-gate-strip {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--gc-border);
  font-size: 11px;
  line-height: 1.45;
}

.gc-opa-gate-strip.is-fail {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}

.gc-opa-gate-strip.is-ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.06);
}

.gc-opa-blockers-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.45;
}

.gc-opa-blockers-list li.gc-opa-blocker-empty {
  list-style: none;
  margin-left: -18px;
  color: var(--gc-text-muted);
}

.gc-worker-health-link {
  cursor: pointer;
}

.gc-worker-health-gate-link {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fbbf24;
  text-decoration: underline;
  cursor: pointer;
}

.gc-settings-catalog-safe {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--gc-border, rgba(255, 255, 255, 0.08));
}

.gc-settings-catalog-safe-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 12px;
  margin: 8px 0 10px;
}

.gc-settings-catalog-safe-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.gc-settings-catalog-safe-row input[type="text"],
.gc-settings-catalog-safe-row input[type="number"] {
  flex: 1;
  min-width: 0;
}

.gc-trades-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 10px;
}

.gc-trades-export-meta {
  font-size: 10px;
  color: var(--gc-text-muted);
}

.gc-nested-tile {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gc-border);
}

.gc-nested-tile h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

.gc-owner-onboarding-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.gc-owner-onboarding-steps li {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px 12px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--gc-border);
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.06);
}

.gc-owner-onboarding-steps li.is-done {
  border-color: rgba(34, 197, 94, 0.45);
}

.gc-owner-onboarding-steps li span:first-child {
  font-weight: 700;
  color: var(--gc-accent, #00a8ff);
}

.gc-owner-onboarding-steps li em {
  font-size: 10px;
  color: var(--gc-text-muted);
  font-style: normal;
}

.gc-btn-sm {
  padding: 4px 10px;
  font-size: 10px;
}

.gc-sovereignty-freeze-banner {
  flex: 1 1 100%;
  min-height: 34px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.65);
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
  box-sizing: border-box;
}

.gc-sovereignty-freeze-banner.gc-layout-stable-hidden {
  min-height: 0;
  padding: 0;
  margin: 0;
  border-width: 0;
}

.gc-worker-health-widget {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid var(--gc-border);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.35);
  margin-bottom: 8px;
}

.gc-worker-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 12px;
  font-size: 11px;
}

.gc-worker-health-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gc-worker-health-grid span {
  color: var(--gc-text-muted);
  font-size: 10px;
}

.gc-worker-health-widget.is-degraded {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.08);
}

.gc-worker-health-widget.is-ok {
  border-color: rgba(34, 197, 94, 0.45);
}

.gc-section24-panel.gc-s24-highlight {
  outline: 2px solid rgba(0, 168, 255, 0.75);
  outline-offset: 4px;
  transition: outline-color 0.3s ease;
}

.gc-context-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--gc-border);
  background: rgba(15, 23, 42, 0.45);
  font-size: 11px;
}

.gc-breadcrumb {
  color: var(--gc-text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: min(420px, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-work-context {
  color: var(--gc-accent);
  font-size: 10px;
  opacity: 0.9;
}

.gc-section24-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.gc-section24-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.gc-section24-filter-red {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  cursor: pointer;
}

.gc-section24-panel.gc-section24-collapsed #gc-section24-list-wrap {
  display: none;
}

.gc-key-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.gc-rbac-assign-form {
  margin-top: 10px;
}

.gc-btn-owner-hold {
  opacity: 0.75;
  border-style: dashed;
}

#gc-billing-revenue-panel .gc-table td {
  font-size: 11px;
}

.gc-billing-revenue-chart {
  width: 100%;
  height: 140px;
  margin: 8px 0 4px;
  border-radius: 6px;
  background: rgba(8, 18, 36, 0.55);
  border: 1px solid rgba(21, 50, 92, 0.45);
}

#gc-billing-revenue-panel .gc-billing-revenue-chart[hidden] {
  display: none !important;
}

#gc-order-path-airlock-panel .gc-stat-list strong {
  font-size: 11px;
}

.gc-audit-export-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 10px;
}

.gc-exchange-filter-actions {
  margin-top: 10px;
}

.gc-observability-strip {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid var(--gc-border);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.35);
  margin-bottom: 8px;
}

.gc-observability-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 12px;
  font-size: 11px;
}

.gc-observability-strip-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gc-observability-strip-grid span {
  color: var(--gc-text-muted);
  font-size: 10px;
}

.gc-owner-lift-hint {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
  border: 1px dashed var(--gc-border);
}

.gc-owner-lift-hint.is-ok {
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.gc-owner-lift-hint.is-warn {
  border-color: rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.06);
}

#gc-exchange-filter-panel .gc-table-wrap {
  overflow-x: auto;
}

/* Stub-Kacheln: assets/css/control-center-stub.css */

.gc-decision-meta {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gc-border);
}

.gc-capital-truth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gc-capital-truth-col {
  border: 1px solid var(--gc-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(6, 182, 212, 0.03);
}

.gc-capital-truth-delta .gc-stat-list strong {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gc-dual-venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
  align-items: stretch;
}

.gc-venue-card {
  border: 1px solid var(--gc-border);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(6, 182, 212, 0.04);
}

.gc-venue-card h3 {
  margin: 0 0 4px;
  font-family: Syne, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.gc-venue-product {
  margin: 0 0 12px;
  font-size: 10px;
  color: var(--gc-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gc-venue-card.is-live {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 80px rgba(52, 211, 153, 0.18);
}

.gc-venue-card.is-warn {
  border-color: rgba(251, 191, 36, 0.45);
}

.gc-venue-card.is-off {
  border-color: rgba(248, 113, 113, 0.45);
}

.gc-venue-card.is-empty {
  border-style: dashed;
  opacity: 0.88;
}

.gc-dual-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gc-panel-label {
  margin: 0 0 8px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gc-cyan);
  font-weight: 600;
}

@media (max-width: 600px) {
  .gc-dual-panel-grid { grid-template-columns: 1fr; }
}

.gc-capital-pool-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--gc-border);
}

.gc-capital-pool-mini span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-muted);
}

.gc-capital-pool-mini strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.gc-module-strategy-jump {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gc-accent, #3dd6ff);
  text-decoration: none;
  white-space: nowrap;
}

.gc-module-strategy-jump:hover,
.gc-module-strategy-jump:focus-visible {
  text-decoration: underline;
}

.gc-module-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
  margin-bottom: 8px;
}

.gc-module-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 220px;
  min-width: 180px;
}

.gc-module-filter {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 20, 32, 0.75);
  color: var(--gc-text);
  width: 100%;
  max-width: 420px;
}

.gc-module-filter-count {
  font-size: 10px;
  color: var(--gc-muted);
  padding-bottom: 6px;
}

tr.gc-mod-group-row td {
  background: rgba(0, 48, 72, 0.45);
  border-top: 1px solid var(--gc-border);
  padding: 6px 8px;
  vertical-align: middle;
}

.gc-mod-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.gc-mod-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gc-cyan);
  min-width: 140px;
}

.gc-mod-group-meta {
  font-size: 10px;
  color: var(--gc-muted);
}

.gc-mod-group-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.gc-mod-bulk-btn {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 32, 48, 0.85);
  color: var(--gc-text);
  cursor: pointer;
  letter-spacing: 0.04em;
}

.gc-mod-bulk-btn:hover {
  border-color: var(--gc-cyan);
  color: var(--gc-cyan);
}

.gc-mod-bulk-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

#gc-modules-panel .gc-table-wrap {
  max-height: 420px;
  overflow-y: auto;
}

.gc-mod-demo-btn {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 40, 60, 0.6);
  color: var(--gc-cyan);
  cursor: pointer;
}

.gc-mod-demo-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gc-mod-tier-label {
  min-width: 42px;
  text-transform: uppercase;
  font-size: 9px;
}

.gc-module-table td,
.gc-module-table th {
  font-size: 11px;
}

.gc-module-table .gc-mod-status {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 10px;
}

.gc-mod-owner .gc-mod-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 10px;
  color: var(--gc-muted);
}

.gc-mod-switch input[type="checkbox"] {
  accent-color: var(--gc-green);
  width: 14px;
  height: 14px;
}

.gc-module-attrib-hint {
  margin-top: 8px;
  font-size: 11px;
  color: var(--gc-muted);
}

.gc-module-table .gc-mod-status {
  font-family: "JetBrains Mono", monospace;
}

.gc-mod-data {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-mod-feed {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gc-feed-ok {
  color: var(--gc-green);
}

.gc-feed-stale {
  color: var(--gc-amber, #e6a23c);
}

.gc-feed-missing_key {
  color: #f59e0b;
}

.gc-feed-unwired {
  color: var(--gc-muted);
}

.gc-feed-off {
  color: #64748b;
}

.gc-venue-routing-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--gc-border);
  font-size: 11px;
}

.gc-venue-routing-mini span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-muted);
}

.gc-venue-routing-mini strong {
  display: block;
  margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

@media (max-width: 900px) {
  .gc-dual-venue-grid { grid-template-columns: 1fr; }
  .gc-venue-routing-mini { grid-template-columns: 1fr; }
  .gc-capital-pool-mini { grid-template-columns: 1fr; }
  .gc-capital-truth-grid { grid-template-columns: 1fr; }
}

.gc-tile-meta {
  margin: 8px 0 0;
  font-size: 10px;
  color: var(--gc-muted);
  letter-spacing: 0.04em;
}

.gc-table-compact td,
.gc-table-compact th {
  padding: 6px 8px;
  font-size: 11px;
}

.gc-strategy-ring-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}

.gc-str-ring-item {
  display: grid;
  grid-template-columns: 52px 1fr 42px 52px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(6, 182, 212, 0.14);
  background: rgba(0, 0, 0, 0.22);
  font-size: 10px;
}

.gc-str-ring-item.is-on {
  border-color: rgba(16, 185, 129, 0.28);
}

.gc-str-ring-item.is-off {
  opacity: 0.55;
}

.gc-str-ring-id {
  font-family: "JetBrains Mono", monospace;
  color: var(--gc-cyan-bright);
}

.gc-str-ring-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-str-ring-w,
.gc-str-ring-tier {
  font-family: "JetBrains Mono", monospace;
  text-align: right;
  color: var(--gc-muted);
}

/*
 * Chart neon line + gradient fill: ECharts in page-01-grid-cockpit.js;
 * CSS ::after liefert volumetrische Unterkurven-Fläche; Laser-Glow via canvas/SVG filter.
 */

/* --- Multi-page reorg (SCIFI) --- */
.gc-page { display: none; padding: 0 16px 24px; }
.gc-page.is-active { display: block; }
.gc-page-head { margin: 12px 0 8px; }
.gc-page-head h2 { margin: 0 0 4px; font-family: Syne, sans-serif; font-size: 18px; }
.gc-page-sub { margin: 0; color: var(--gc-muted); font-size: 12px; }

.gc-page-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(6, 182, 212, 0.14);
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.04);
  box-shadow: var(--gc-glow-panel);
}
.gc-page-summary-cell span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-muted);
  margin-bottom: 2px;
}
.gc-page-summary-cell strong {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: var(--gc-text);
  word-break: break-word;
}
.gc-page-summary-cell strong.is-warn { color: var(--gc-amber); }
.gc-page-summary-cell strong.is-err { color: var(--gc-red); }
.gc-page-summary-cell strong.is-ok { color: var(--gc-green); }

.gc-trading-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.06);
  vertical-align: middle;
}
.gc-trading-mode-switch-panel {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 12px;
  border-radius: 10px;
  padding: 8px 10px;
}
.gc-trading-mode-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-muted);
  margin-right: 4px;
}
.gc-mode-tab {
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  color: var(--gc-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.gc-mode-tab:hover:not(:disabled) {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--gc-text);
}
.gc-mode-tab.is-active {
  border-color: rgba(34, 211, 238, 0.75);
  color: #e0f2fe;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
}
.gc-mode-tab.is-live-danger.is-active {
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.35);
  color: #fecaca;
}
.gc-mode-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.gc-mode-switch-hint {
  font-size: 9px;
  color: var(--gc-muted);
  margin-left: 4px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-mode-banner {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--gc-cyan);
  padding: 4px 8px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.06);
  white-space: nowrap;
}

.gc-table-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
.gc-table-filter {
  flex: 1;
  max-width: 280px;
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--gc-text);
}

#gc-page-trades .gc-table-wrap,
#gc-page-trades .gc-table-wrap.gc-table-scroll {
  max-height: 280px;
}

.gc-nav a[data-gc-nav] { cursor: pointer; }

.gc-role-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gc-muted);
}
.gc-role-preview select {
  background: rgba(8, 17, 33, 0.9);
  border: 1px solid var(--gc-border-soft);
  color: var(--gc-text);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
}

.gc-runtime-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 16px;
}
.gc-runtime-strip-grid span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gc-muted);
}

.gc-mini-row {
  display: contents;
}

.gc-mini-tile {
  min-height: 108px;
  box-shadow: var(--gc-glow-panel);
}

.gc-mini-tile .gc-tile-meta a {
  color: var(--gc-cyan-bright);
  text-decoration: none;
  font-size: 10px;
}
.gc-mini-tile .gc-tile-meta a:hover {
  text-decoration: underline;
}

.gc-supervisor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.gc-supervisor-fact {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--gc-border-soft);
  background: rgba(2, 6, 17, 0.55);
}
.gc-supervisor-fact span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gc-muted);
}
.gc-supervisor-fact strong {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}
.gc-supervisor-fact em {
  display: block;
  font-size: 9px;
  color: var(--gc-muted);
  margin-top: 4px;
  font-style: normal;
}
.gc-supervisor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.gc-supervisor-row,
.gc-supervisor-empty {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--gc-border-soft);
  background: rgba(2, 6, 17, 0.45);
  font-size: 11px;
}
.gc-supervisor-row strong { display: block; color: var(--gc-cyan-bright); }
.gc-supervisor-row span { color: var(--gc-text); }
.gc-supervisor-row em { display: block; color: var(--gc-muted); font-size: 9px; font-style: normal; margin-top: 4px; }

.gc-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.gc-summary-card { min-height: 120px; box-shadow: var(--gc-glow-panel); }

.gc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.gc-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--gc-muted);
}
.gc-form-grid input {
  background: rgba(2, 6, 17, 0.8);
  border: 1px solid var(--gc-border-soft);
  border-radius: 6px;
  color: var(--gc-text);
  padding: 6px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.gc-form-grid input:disabled { opacity: 0.7; cursor: not-allowed; }

.gc-allocation-bar {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gc-border-soft);
  margin-top: 8px;
}
.gc-alloc-binance {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.5), rgba(34, 211, 238, 0.35));
  font-size: 10px;
  font-weight: 600;
}
.gc-alloc-kraken {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.35), rgba(74, 222, 128, 0.25));
  font-size: 10px;
  font-weight: 600;
}

.gc-mieter-owner-grid { margin-bottom: 12px; }

[data-gc-role-preview="customer"] [data-role-visible="owner"] { display: none !important; }

.gc-owner-edit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--gc-muted);
}
.gc-owner-edit-toggle select {
  background: rgba(8, 17, 33, 0.9);
  border: 1px solid var(--gc-border-soft);
  color: var(--gc-text);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
}
.gc-owner-state-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--gc-border-soft);
  color: var(--gc-muted);
  text-transform: uppercase;
}
.gc-owner-state-badge.is-read-only { color: var(--gc-muted); border-color: var(--gc-border-soft); }
.gc-owner-state-badge.is-owner-edit-local { color: var(--gc-cyan-bright); border-color: var(--gc-cyan); }
.gc-owner-state-badge.is-owner-required { color: var(--gc-amber); border-color: rgba(251, 191, 36, 0.4); }

.gc-demo-minis .gc-mini-tile h2 { font-size: 11px; }
.gc-demo-minis { margin-top: 4px; }

.gc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  display: grid;
  place-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.gc-modal-overlay[hidden] { display: none !important; }
.gc-modal {
  width: min(440px, calc(100vw - 32px));
  background: var(--gc-panel);
  border: 1px solid var(--gc-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--gc-glow-neon);
}
.gc-modal h3 { margin: 0 0 8px; font-family: Syne, sans-serif; }
.gc-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

.gc-log-view {
  margin: 0;
  min-height: 180px;
  max-height: 320px;
  overflow: auto;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--gc-border-soft);
  background: rgba(0, 0, 0, 0.35);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .gc-summary-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SCIFI_UI_009_GRID_COCKPIT_3D_DEPTH_CSS_ONLY_PASS
   CSS-only HUD cockpit depth — existing selectors only, no HTML/JS changes.
   ========================================================================== */

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 210, 255, 0.55) rgba(2, 8, 18, 0.85);
}

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

*::-webkit-scrollbar-track {
  background: rgba(2, 8, 18, 0.85);
  border-radius: 12px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 220, 255, 0.65), rgba(0, 90, 140, 0.65));
  border-radius: 12px;
  border: 2px solid rgba(2, 8, 18, 0.95);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.35);
}

*::-webkit-scrollbar-corner {
  background: rgba(2, 8, 18, 0.9);
}

body.gc-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 190, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(0, 110, 255, 0.12), transparent 34%),
    radial-gradient(circle at 55% 100%, rgba(0, 220, 190, 0.08), transparent 36%),
    linear-gradient(180deg, var(--eq-bg-0) 0%, #040b15 48%, #02050c 100%);
  background-attachment: fixed;
}

body.gc-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 78%);
  opacity: 0.28;
}

body.gc-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.022) 0px,
    rgba(255, 255, 255, 0.022) 1px,
    transparent 2px,
    transparent 5px
  );
  opacity: 0.08;
}

.gc-app {
  position: relative;
  z-index: 1;
  box-shadow:
    0 24px 64px var(--eq-shadow-deep),
    0 1px 0 rgba(160, 240, 255, 0.12) inset,
    0 -18px 36px rgba(0, 0, 0, 0.32) inset,
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.gc-sidebar {
  background:
    radial-gradient(circle at 40% 0%, rgba(0, 210, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.96), rgba(2, 8, 18, 0.98));
  border-right: 1px solid var(--eq-line-strong);
  box-shadow:
    18px 0 42px rgba(0, 0, 0, 0.52),
    -1px 0 0 rgba(255, 255, 255, 0.04) inset,
    -16px 0 28px rgba(0, 0, 0, 0.34) inset,
    inset -3px 0 8px rgba(0, 0, 0, 0.55),
    0 0 34px var(--eq-glow-soft);
}

/* Inset 3D rail groove along sidebar inner edge */
.gc-sidebar::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 220, 255, 0.55) 0%,
    rgba(0, 210, 255, 0.18) 18%,
    rgba(0, 210, 255, 0.06) 55%,
    rgba(0, 210, 255, 0.22) 100%
  );
  box-shadow:
    1px 0 0 rgba(0, 0, 0, 0.45) inset,
    -1px 0 6px rgba(0, 220, 255, 0.12);
}

.gc-brand {
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 220, 255, 0.2), transparent 40%),
    linear-gradient(145deg, rgba(10, 30, 48, 0.92), rgba(4, 12, 22, 0.9));
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -10px 22px rgba(0, 0, 0, 0.28) inset;
}

.gc-nav a {
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.gc-nav a:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 18px rgba(0, 190, 255, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 16px rgba(0, 0, 0, 0.28);
  text-shadow: none;
  filter: none;
}

.gc-nav a.is-active {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, rgba(0, 170, 255, 0.24), rgba(0, 55, 100, 0.35)),
    radial-gradient(circle at 18% 50%, rgba(0, 220, 255, 0.32), transparent 55%);
  border: 1px solid var(--eq-line-strong);
  box-shadow:
    0 0 22px var(--eq-glow-mid),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 4px 0 rgba(0, 220, 255, 0.08);
}

.gc-topbar {
  background:
    linear-gradient(180deg, rgba(8, 22, 38, 0.92), rgba(2, 8, 18, 0.96)),
    radial-gradient(circle at 8% 0%, rgba(0, 210, 255, 0.14), transparent 36%);
  border-bottom: 1px solid var(--eq-line);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(160, 240, 255, 0.12) inset,
    0 -14px 28px rgba(0, 0, 0, 0.32) inset;
}

.gc-ticker {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 210, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(10, 28, 42, 0.88), rgba(4, 12, 20, 0.94));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 -8px 16px rgba(0, 0, 0, 0.28) inset,
    0 6px 14px rgba(0, 0, 0, 0.24);
}

.gc-badge,
.gc-owner-state-badge,
.gc-mode-banner,
.demo5000-safety-chip {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -6px 12px rgba(0, 0, 0, 0.22) inset,
    0 6px 14px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.gc-badge:hover,
.gc-mode-banner:hover,
.gc-status-pill:hover {
  transform: translateY(-1px);
}

.gc-topbar-meta .gc-badge {
  cursor: default;
  letter-spacing: 0.06em;
  font-family: "JetBrains Mono", monospace;
}

.gc-badge.ok,
.gc-status-dot.is-live {
  animation: eqDepthPulseSafe 2.8s ease-in-out infinite;
}

.gc-status-pill {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 210, 255, 0.12), transparent 42%),
    linear-gradient(155deg, var(--eq-panel-1), var(--eq-panel-0));
  border: 1px solid rgba(0, 210, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(160, 240, 255, 0.1) inset,
    0 -8px 16px rgba(0, 0, 0, 0.28) inset,
    0 8px 20px rgba(0, 0, 0, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gc-scroll {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 180, 255, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.35), rgba(1, 4, 10, 0.15));
}

.gc-tile,
.gc-summary-card,
.gc-mini-tile {
  border: 1px solid var(--eq-line);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 210, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(10, 32, 52, 0.88), rgba(2, 8, 18, 0.94) 62%, rgba(1, 4, 10, 0.98));
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 1px 0 rgba(160, 240, 255, 0.18) inset,
    0 -18px 36px rgba(0, 0, 0, 0.34) inset,
    0 0 28px var(--eq-glow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.gc-tile::before {
  background:
    linear-gradient(90deg, rgba(0, 220, 255, 0.42), transparent 18%, transparent 82%, rgba(0, 220, 255, 0.22)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(0, 220, 255, 0.5) 0 2px, transparent 2px 100%),
    linear-gradient(-45deg, rgba(0, 220, 255, 0.32) 0 2px, transparent 2px 100%);
  background-size: auto, auto, 18px 18px, 18px 18px;
  background-position: center, center, 8px 8px, calc(100% - 8px) calc(100% - 8px);
  background-repeat: no-repeat;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.gc-tile::after {
  box-shadow:
    14px 0 26px rgba(0, 220, 255, 0.07) inset,
    -14px 0 26px rgba(0, 50, 90, 0.2) inset,
    0 0 32px rgba(0, 210, 255, 0.08) inset,
    0 12px 22px rgba(0, 0, 0, 0.3) inset;
}

.gc-tile:hover,
.gc-tile:focus-within,
.gc-summary-card:hover,
.gc-mini-tile:hover {
  transform: translateY(-1px);
  filter: none;
  border-color: rgba(0, 220, 255, 0.46);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.58),
    0 0 34px var(--eq-glow-mid),
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -18px 36px rgba(0, 0, 0, 0.38) inset;
}

.gc-table-wrap,
.gc-table-wrap.gc-table-scroll {
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(7, 18, 30, 0.72), rgba(3, 10, 18, 0.88));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 10px 22px rgba(0, 0, 0, 0.34) inset;
}

.gc-table {
  border-collapse: separate;
  border-spacing: 0;
}

.gc-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 160, 210, 0.2), rgba(4, 24, 40, 0.92));
  border-bottom: 1px solid var(--eq-line-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 12px rgba(0, 0, 0, 0.22);
  color: var(--eq-text-main);
}

.gc-table td {
  border-bottom: 1px solid rgba(0, 210, 255, 0.14);
  font-variant-numeric: tabular-nums;
}

.gc-table tbody tr {
  background: rgba(8, 22, 36, 0.42);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset;
  transition:
    background-color 140ms ease,
    transform 140ms ease,
    box-shadow 180ms ease;
}

.gc-table tbody tr:nth-child(even) {
  background: rgba(10, 32, 52, 0.36);
}

.gc-table tbody tr:hover {
  transform: translateY(-1px);
}

.gc-table tbody tr:hover td {
  background: rgba(0, 170, 255, 0.1);
  box-shadow:
    0 0 18px rgba(0, 190, 255, 0.1) inset,
    0 0 16px rgba(0, 190, 255, 0.12);
}

.gc-btn.action,
.gc-role-preview select,
.gc-owner-edit-toggle select,
.gc-table-filter,
.gc-form-grid input,
.gc-whitelist-input {
  border: 1px solid rgba(0, 210, 255, 0.26);
  background: linear-gradient(180deg, rgba(10, 28, 42, 0.9), rgba(4, 12, 20, 0.95));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -10px 18px rgba(0, 0, 0, 0.26) inset,
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.gc-btn.action:disabled,
.gc-form-grid input:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 -6px 12px rgba(0, 0, 0, 0.22) inset;
}

.gc-page-summary {
  border-color: var(--eq-line);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 210, 255, 0.1), transparent 38%),
    linear-gradient(155deg, rgba(8, 22, 38, 0.82), rgba(3, 10, 18, 0.9));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 10px 24px rgba(0, 0, 0, 0.28);
}

/* DEMO5000 safety panel — readability preserved (no lift/blur/neon wash) */
.demo5000-safety-panel {
  border-color: rgba(0, 210, 255, 0.28);
}

.demo5000-safety-panel:hover,
.demo5000-safety-panel:focus-within {
  transform: none;
  filter: none;
}

.demo5000-safety-chip {
  font-weight: 600;
  text-shadow: none;
  filter: none;
}

.demo5000-safety-chip.is-safe,
.demo5000-safety-chip.is-watch,
.demo5000-safety-chip.is-attn,
.demo5000-safety-chip.is-hold,
.demo5000-safety-chip.is-auth {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -4px 10px rgba(0, 0, 0, 0.18) inset;
}

.demo5000-safety-row {
  background: rgba(4, 14, 24, 0.82);
  border-color: rgba(0, 210, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 -6px 12px rgba(0, 0, 0, 0.2) inset;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.demo5000-safety-row:hover {
  transform: none;
  background: rgba(6, 22, 36, 0.9);
  border-color: rgba(0, 210, 255, 0.32);
}

.demo5000-safety-row strong {
  color: var(--eq-text-main);
}

.demo5000-safety-source {
  opacity: 0.92;
}

/* Inner content: original component CSS (no second glass shell in tiles) */

/* Orbs/gauges: no extra socket/pedestal layers — base styles only */
.gc-tile .gc-gauge-wrap::before,
.gc-tile .gc-gauge-wrap::after {
  content: none;
  display: none;
}

.gc-tile:hover .gc-chart,
.gc-tile:hover .gc-kpi,
.gc-tile:hover .gc-venue-card,
.gc-tile:hover .gc-bot-chip,
.gc-tile:hover .gc-heat-cell,
.gc-tile:hover .gc-health-orb,
.gc-tile:hover .gc-risk-ring-wrap,
.gc-tile:hover .gc-gauge,
.gc-tile:hover .gc-table-wrap,
.gc-tile:focus-within .gc-chart,
.gc-tile:focus-within .gc-kpi {
  transform: none;
}

@keyframes eqDepthPulseSafe {
  0%,
  100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 6px 14px rgba(0, 0, 0, 0.28),
      0 0 0 rgba(74, 222, 128, 0);
  }

  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 6px 14px rgba(0, 0, 0, 0.28),
      0 0 16px rgba(74, 222, 128, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  .gc-badge.ok,
  .gc-status-dot.is-live,
  .gc-health-orb-deco .gc-orb-core,
  .gc-gauge::after,
  .gc-chart-wave-deco .gc-wave-line,
  .gc-heat-cell {
    animation: none !important;
    transition: none !important;
  }

  .gc-tile:hover,
  .gc-tile:focus-within,
  .gc-summary-card:hover,
  .gc-mini-tile:hover,
  .gc-nav a:hover,
  .gc-nav a.is-active,
  .gc-table tbody tr:hover,
  .gc-badge:hover,
  .gc-mode-banner:hover,
  .gc-status-pill:hover {
    transform: none !important;
  }
}

/* UI_009 — cap hover lift globally within cockpit shell */
.gc-app .gc-btn.action:hover,
.gc-app .gc-renter-table .gc-btn:hover,
.gc-app .gc-mod-bulk-btn:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   SCIFI_UI_009B — 3D DEPTH FINE-TUNE (CSS-only)
   Stronger HUD rail · deeper panel bevel · hierarchy · text contrast.
   No HTML / JS / data / layout changes.
   ========================================================================== */

/* ── 1. Topbar: glass HUD rail ───────────────────────────────────────────── */
.gc-topbar {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 220, 255, 0.44);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.50),
    0 2px 0 rgba(190, 246, 255, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -22px 42px rgba(0, 0, 0, 0.46) inset,
    0 0 48px rgba(0, 195, 255, 0.12);
}

/* Top highlight stripe */
.gc-topbar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(160, 242, 255, 0.60) 20%,
    rgba(220, 250, 255, 0.38) 50%,
    rgba(160, 242, 255, 0.60) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Bottom scanner line */
.gc-topbar::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 220, 255, 0.62) 22%,
    rgba(0, 195, 255, 0.28) 78%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Ticker chips: stronger inset instrument */
.gc-ticker {
  background: linear-gradient(175deg, rgba(6, 22, 40, 0.95), rgba(2, 10, 22, 0.98));
  border: 1px solid rgba(0, 210, 255, 0.28);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.09) inset,
    0 -12px 22px rgba(0, 0, 0, 0.44) inset,
    0 0 0 1px rgba(0, 200, 255, 0.07) inset,
    0 8px 20px rgba(0, 0, 0, 0.36);
}

/* ── 2. Sidebar: deeper rail + raised brand module ───────────────────────── */
.gc-sidebar {
  background:
    radial-gradient(ellipse 55% 26% at 50% 0%, rgba(0, 210, 255, 0.18), transparent 44%),
    radial-gradient(ellipse 28% 42% at 0% 58%, rgba(0, 110, 210, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.98), rgba(2, 8, 18, 0.995));
  border-right: 1px solid rgba(0, 220, 255, 0.44);
  box-shadow:
    24px 0 52px rgba(0, 0, 0, 0.62),
    -1px 0 0 rgba(255, 255, 255, 0.05) inset,
    -20px 0 36px rgba(0, 0, 0, 0.42) inset,
    0 0 36px rgba(0, 180, 255, 0.10);
}

/* Brand block: raised inset device module */
.gc-brand {
  background:
    radial-gradient(ellipse 68% 52% at 18% 0%, rgba(0, 220, 255, 0.22), transparent 52%),
    linear-gradient(155deg, rgba(12, 32, 50, 0.97), rgba(4, 12, 22, 0.95));
  border-bottom: 1px solid rgba(0, 210, 255, 0.40);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.52),
    0 2px 0 rgba(200, 246, 255, 0.16) inset,
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 -16px 28px rgba(0, 0, 0, 0.46) inset;
}

/* All nav items: faint groove separation */
.gc-nav a {
  border: 1px solid rgba(0, 210, 255, 0.08);
}

/* Active nav: sharp raised state */
.gc-nav a.is-active {
  background:
    radial-gradient(ellipse 55% 65% at 14% 48%, rgba(0, 220, 255, 0.30), transparent 55%),
    linear-gradient(135deg, rgba(0, 160, 255, 0.22), rgba(0, 48, 100, 0.36));
  border: 1px solid rgba(0, 220, 255, 0.54);
  box-shadow:
    0 0 24px rgba(0, 195, 255, 0.32),
    0 2px 0 rgba(255, 255, 255, 0.10) inset,
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 14px 26px rgba(0, 0, 0, 0.36),
    0 -8px 18px rgba(0, 0, 0, 0.26) inset;
  transform: translateY(-1px);
}

/* ── 3. Panel interior: stronger bevel + diagonal glass reflection ────────── */
.gc-tile,
.gc-summary-card,
.gc-mini-tile {
  background:
    radial-gradient(ellipse 65% 36% at 16% 0%, rgba(0, 210, 255, 0.17), transparent 55%),
    radial-gradient(ellipse 50% 36% at 86% 100%, rgba(0, 5, 18, 0.70), transparent 60%),
    linear-gradient(150deg, rgba(12, 32, 52, 0.90), rgba(3, 10, 22, 0.96) 55%, rgba(1, 4, 10, 0.99));
  border: 1px solid rgba(0, 210, 255, 0.32);
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.58),
    0 2px 0 rgba(192, 242, 255, 0.20) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -24px 44px rgba(0, 0, 0, 0.40) inset,
    6px 0 18px rgba(0, 220, 255, 0.05) inset,
    0 0 32px rgba(0, 180, 255, 0.10);
}

/* Diagonal glass sweep + corner HUD ticks */
.gc-tile::before {
  background:
    linear-gradient(
      128deg,
      rgba(255, 255, 255, 0.11) 0%,
      rgba(180, 240, 255, 0.07) 18%,
      transparent 36%
    ),
    linear-gradient(90deg, rgba(0, 220, 255, 0.42), transparent 18%, transparent 82%, rgba(0, 220, 255, 0.22)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 22%),
    linear-gradient(135deg, rgba(0, 220, 255, 0.50) 0 2px, transparent 2px 100%),
    linear-gradient(-45deg, rgba(0, 220, 255, 0.32) 0 2px, transparent 2px 100%);
  background-size: auto, auto, auto, 18px 18px, 18px 18px;
  background-position: center, center, center, 8px 8px, calc(100% - 8px) calc(100% - 8px);
  background-repeat: no-repeat;
  opacity: 0.65;
  mix-blend-mode: screen;
}

/* Inner side + bottom shadow wells */
.gc-tile::after {
  box-shadow:
    18px 0 32px rgba(0, 220, 255, 0.06) inset,
    -18px 0 32px rgba(0, 38, 78, 0.24) inset,
    0 18px 28px rgba(0, 0, 0, 0.24) inset,
    0 -4px 10px rgba(0, 220, 255, 0.05) inset;
}

/* Tile hover: clean lift with contained glow */
.gc-tile:hover,
.gc-tile:focus-within,
.gc-summary-card:hover,
.gc-mini-tile:hover {
  transform: translateY(-1px);
  filter: none;
  border-color: rgba(0, 222, 255, 0.46);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.62),
    0 0 36px rgba(0, 195, 255, 0.36),
    0 2px 0 rgba(255, 255, 255, 0.10) inset,
    0 -22px 40px rgba(0, 0, 0, 0.40) inset;
}

/* ── 4. Large panel hierarchy ────────────────────────────────────────────── */
.gc-span-8.gc-tile,
.gc-span-12.gc-tile {
  border-color: rgba(0, 220, 255, 0.38);
  box-shadow:
    0 34px 68px rgba(0, 0, 0, 0.64),
    0 2px 0 rgba(200, 246, 255, 0.26) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -26px 50px rgba(0, 0, 0, 0.44) inset,
    6px 0 20px rgba(0, 220, 255, 0.06) inset,
    0 0 42px rgba(0, 180, 255, 0.14);
}

/* Large tiles: clear header separator */
.gc-span-8.gc-tile > h2,
.gc-span-12.gc-tile > h2 {
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 210, 255, 0.16);
}

/* h2 underline accent: brighter gradient */
.gc-tile h2::after {
  background: linear-gradient(90deg, rgba(0, 220, 255, 0.52), rgba(0, 195, 255, 0.16) 52%, transparent 85%);
  height: 1px;
  bottom: -8px;
}

/* ── 5. Small status modules: compact instrument feel ────────────────────── */
.gc-stat-list div {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(0, 210, 255, 0.10);
}

.gc-stat-list span {
  color: rgba(155, 188, 210, 0.78);
}

.gc-stat-list strong {
  color: rgba(220, 240, 252, 0.96);
}

.gc-kpi {
  background: linear-gradient(150deg, rgba(6, 18, 34, 0.82), rgba(2, 8, 18, 0.94));
  border: 1px solid rgba(0, 210, 255, 0.22);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -8px 18px rgba(0, 0, 0, 0.30) inset,
    0 8px 18px rgba(0, 0, 0, 0.26);
}

.gc-kpi span {
  color: rgba(155, 186, 210, 0.76);
}

.gc-kpi strong {
  color: rgba(220, 240, 255, 0.96);
}

.gc-bot-chip {
  background: linear-gradient(150deg, rgba(4, 14, 28, 0.88), rgba(2, 8, 18, 0.96));
  border: 1px solid rgba(0, 210, 255, 0.20);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -6px 14px rgba(0, 0, 0, 0.26) inset,
    0 6px 14px rgba(0, 0, 0, 0.24);
}

.gc-bot-chip span {
  color: rgba(148, 178, 200, 0.74);
}

.gc-bot-chip strong {
  color: rgba(215, 238, 255, 0.96);
}

/* ── 6. Tables: technical headers, inset rows ────────────────────────────── */
.gc-table th {
  background: linear-gradient(180deg, rgba(0, 140, 210, 0.24), rgba(3, 18, 36, 0.96));
  border-bottom: 1px solid rgba(0, 220, 255, 0.52);
  color: rgba(200, 235, 255, 0.96);
  letter-spacing: 0.14em;
  text-shadow: 0 0 18px rgba(0, 200, 255, 0.48);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 14px rgba(0, 0, 0, 0.28);
}

.gc-table td {
  color: rgba(210, 232, 248, 0.90);
  border-bottom: 1px solid rgba(0, 210, 255, 0.12);
}

.gc-table tbody tr {
  background: linear-gradient(90deg, rgba(8, 22, 38, 0.62), rgba(4, 12, 24, 0.54));
}

.gc-table tbody tr:nth-child(even) {
  background: linear-gradient(90deg, rgba(10, 28, 50, 0.50), rgba(5, 14, 28, 0.44));
}

.gc-table-wrap,
.gc-table-wrap.gc-table-scroll {
  background: linear-gradient(180deg, rgba(5, 14, 26, 0.82), rgba(2, 8, 18, 0.94));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 12px 28px rgba(0, 0, 0, 0.40) inset,
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
}

/* ── 7. Text contrast: labels readable, values clearly stronger ───────────── */
.gc-supervisor-fact span,
.gc-venue-routing-mini span,
.gc-capital-pool-mini span,
.gc-runtime-strip-grid span,
.gc-page-summary-cell span {
  color: rgba(150, 182, 205, 0.76);
}

.gc-supervisor-fact strong,
.gc-venue-routing-mini strong,
.gc-capital-pool-mini strong,
.gc-page-summary-cell strong {
  color: rgba(218, 238, 252, 0.95);
}

.gc-page-head h2 {
  color: rgba(222, 244, 255, 0.98);
  text-shadow: 0 0 36px rgba(0, 195, 255, 0.30);
}

.gc-page-sub {
  color: rgba(148, 182, 210, 0.72);
}

.gc-page-summary {
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 200, 255, 0.11), transparent 42%),
    linear-gradient(155deg, rgba(7, 20, 36, 0.88), rgba(3, 9, 18, 0.94));
  border-color: rgba(0, 210, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 2px 0 rgba(180, 235, 255, 0.12) inset,
    0 12px 28px rgba(0, 0, 0, 0.32);
}

/* ── 8. DEMO5000 safety: explicitly capped — no escalation ───────────────── */
.demo5000-safety-panel {
  border-color: rgba(0, 210, 255, 0.26);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48),
    0 1px 0 rgba(170, 235, 255, 0.14) inset,
    0 -16px 32px rgba(0, 0, 0, 0.30) inset,
    0 0 22px rgba(0, 160, 210, 0.07);
}

.demo5000-safety-panel:hover,
.demo5000-safety-panel:focus-within {
  transform: none;
  filter: none;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48),
    0 1px 0 rgba(170, 235, 255, 0.14) inset,
    0 -16px 32px rgba(0, 0, 0, 0.30) inset,
    0 0 22px rgba(0, 160, 210, 0.07);
}

/* ── SCIFI_UI_010 — Per-Symbol Trace panel ───────────────────────────────── */

.gc-per-symbol-trace-table {
  font-size: 11px;
}

.gc-per-symbol-trace-table .gc-trace-symbol {
  font-weight: 600;
  color: rgba(210, 240, 255, 0.96);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.gc-per-symbol-trace-table .gc-trace-block {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(200, 220, 240, 0.80);
}

/* Status chip — base */
.gc-trace-chip {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 200, 255, 0.22);
  background: rgba(4, 14, 28, 0.72);
  color: rgba(190, 225, 248, 0.80);
}

/* DATA_OK_NO_SIGNAL — cold green */
.gc-trace-chip.trace-ok {
  color: rgba(100, 235, 180, 0.95);
  border-color: rgba(60, 200, 140, 0.38);
  background: rgba(10, 40, 28, 0.72);
}

/* SCAN_CANDIDATE — yellow-green */
.gc-trace-chip.trace-candidate {
  color: rgba(200, 235, 100, 0.95);
  border-color: rgba(180, 210, 60, 0.38);
  background: rgba(20, 28, 10, 0.72);
}

/* RISK_BLOCKED, POLICY_BLOCKED — red */
.gc-trace-chip.trace-blocked,
.gc-trace-chip.trace-policy {
  color: rgba(255, 120, 100, 0.96);
  border-color: rgba(220, 60, 40, 0.42);
  background: rgba(32, 8, 8, 0.78);
}

/* SIGNAL_MISSING, GATE_REJECTED — amber */
.gc-trace-chip.trace-missing,
.gc-trace-chip.trace-gate {
  color: rgba(255, 192, 80, 0.95);
  border-color: rgba(220, 155, 40, 0.38);
  background: rgba(28, 18, 4, 0.72);
}

/* SIGNAL_BELOW_THRESHOLD — muted amber */
.gc-trace-chip.trace-low {
  color: rgba(200, 160, 70, 0.86);
  border-color: rgba(180, 130, 40, 0.28);
  background: rgba(20, 14, 4, 0.68);
}

/* OWNER_GATE_PENDING — cold blue */
.gc-trace-chip.trace-owner {
  color: rgba(80, 190, 255, 0.96);
  border-color: rgba(40, 160, 255, 0.40);
  background: rgba(4, 20, 40, 0.76);
}

/* SESSION_BLOCKED, WAIT_FOR_LONG_SIGNAL, UNKNOWN — muted */
.gc-trace-chip.trace-session,
.gc-trace-chip.trace-wait,
.gc-trace-chip.trace-unknown {
  color: rgba(150, 175, 195, 0.72);
  border-color: rgba(100, 140, 170, 0.20);
  background: rgba(8, 16, 26, 0.64);
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* SCIFI_UI_011 — THEME SYSTEM                                               */
/* Themes: nexus-blue (default) · quantum-green · light-command · deep-cyber-glow */
/* data-theme on <body.gc-body> · JS: applyTheme / getSavedTheme / init      */
/* Strategy: remap --gc-* per theme; targeted structural overrides           */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ── Quantum Green: remap core gc vars ─────────────────────────────────── */
[data-theme="quantum-green"] {
  --gc-bg:          #01100a;
  --gc-bg-mid:      #071810;
  --gc-panel:       rgba(3, 18, 10, 0.84);
  --gc-glass:       rgba(80, 255, 160, 0.04);
  --gc-border:      rgba(0, 200, 110, 0.30);
  --gc-border-soft: rgba(0, 180, 100, 0.08);
  --gc-cyan:        #10b981;
  --gc-cyan-bright: #34d399;
  --gc-aqua:        #2dd4bf;
  --gc-text:        rgba(214, 255, 232, 0.92);
  --gc-muted:       rgba(95, 152, 114, 0.70);
  --gc-green:       #34d399;
  --gc-glow:        0 0 65px rgba(16, 185, 129, 0.17);
  --gc-glow-neon:   0 0 38px rgba(16, 185, 129, 0.34), 0 0 100px rgba(16, 185, 129, 0.10);
  --gc-glow-panel:  0 0 16px rgba(16, 185, 129, 0.10);
  --gc-glass-inset: inset 0 1px 0 rgba(80, 255, 160, 0.06), inset 0 -1px 0 rgba(0,0,0,0.42);
  --gc-mesh-line:   rgba(16, 185, 129, 0.03);
}

/* ── Light Command: remap core gc vars ─────────────────────────────────── */
[data-theme="light-command"] {
  --gc-bg:          #eef2f8;
  --gc-bg-mid:      #e0eaf4;
  --gc-panel:       rgba(250, 252, 255, 0.96);
  --gc-glass:       rgba(30, 80, 140, 0.04);
  --gc-border:      rgba(30, 100, 200, 0.22);
  --gc-border-soft: rgba(30, 100, 200, 0.08);
  --gc-cyan:        #0369a1;
  --gc-cyan-bright: #0ea5e9;
  --gc-aqua:        #0891b2;
  --gc-text:        rgba(12, 22, 42, 0.92);
  --gc-muted:       rgba(55, 85, 130, 0.76);
  --gc-green:       #16a34a;
  --gc-orange:      #c2410c;
  --gc-red:         #dc2626;
  --gc-amber:       #b45309;
  --gc-glow:        0 0 20px rgba(3, 105, 161, 0.06);
  --gc-glow-neon:   0 0 8px rgba(3, 105, 161, 0.08), 0 0 18px rgba(3, 105, 161, 0.04);
  --gc-glow-panel:  0 0 6px rgba(3, 105, 161, 0.04);
  --gc-glass-inset: inset 0 1px 0 rgba(255,255,255,0.90), inset 0 -1px 0 rgba(30,80,140,0.10);
  --gc-mesh-line:   rgba(3, 105, 161, 0.04);
}

/* ── Body background ────────────────────────────────────────────────────── */
.gc-body[data-theme="quantum-green"] {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(16, 185, 129, 0.06), transparent 55%),
    linear-gradient(180deg, var(--gc-bg) 0%, #010806 50%, var(--gc-bg-mid) 100%);
}

.gc-body[data-theme="light-command"] {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(3, 105, 161, 0.05), transparent 55%),
    linear-gradient(180deg, var(--gc-bg) 0%, #e8f0f8 50%, var(--gc-bg-mid) 100%);
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-sidebar {
  background:
    linear-gradient(175deg, rgba(2, 14, 8, 0.99) 0%, rgba(1, 8, 4, 1) 38%, rgba(0, 4, 2, 1) 100%);
  scrollbar-color: rgba(16, 185, 129, 0.35) transparent;
}

[data-theme="quantum-green"] .gc-sidebar::after {
  background: linear-gradient(to bottom, rgba(0, 220, 130, 0.58) 0%, rgba(0, 185, 100, 0.05) 100%);
}

[data-theme="light-command"] .gc-sidebar {
  background: linear-gradient(175deg, rgba(218, 230, 248, 1) 0%, rgba(208, 222, 242, 1) 100%);
  box-shadow: 2px 0 16px rgba(30, 80, 140, 0.12);
  scrollbar-color: rgba(3, 105, 161, 0.28) rgba(30, 80, 140, 0.05);
}

[data-theme="light-command"] .gc-sidebar::after {
  background: linear-gradient(to bottom, rgba(3, 105, 161, 0.42) 0%, rgba(3, 105, 161, 0.04) 100%);
}

[data-theme="light-command"] .gc-sidebar-foot {
  border-top-color: rgba(30, 100, 200, 0.18);
}

/* ── Topbar ─────────────────────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-topbar {
  background: linear-gradient(180deg, rgba(3, 18, 10, 0.96) 0%, rgba(2, 12, 7, 0.92) 100%);
}

[data-theme="light-command"] .gc-topbar {
  background: linear-gradient(180deg, rgba(238, 246, 255, 0.99) 0%, rgba(228, 240, 255, 0.96) 100%);
  box-shadow: 0 2px 10px rgba(30, 80, 140, 0.10), 0 1px 0 rgba(30, 100, 200, 0.16);
}

/* ── Tiles ──────────────────────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-tile,
[data-theme="quantum-green"] .gc-summary-card,
[data-theme="quantum-green"] .gc-mini-tile {
  background:
    radial-gradient(ellipse 60% 44% at 8% 4%, rgba(0, 200, 110, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 92% 96%, rgba(0, 0, 0, 0.40), transparent 62%),
    linear-gradient(148deg, rgba(3, 18, 10, 0.92) 0%, rgba(1, 8, 5, 0.97) 100%);
  border: 1px solid rgba(0, 200, 110, 0.26);
}

[data-theme="quantum-green"] .gc-tile::after,
[data-theme="quantum-green"] .gc-summary-card::after,
[data-theme="quantum-green"] .gc-mini-tile::after {
  background: linear-gradient(to bottom, rgba(0, 220, 130, 0.58) 0%, rgba(0, 185, 100, 0.05) 100%);
}

[data-theme="quantum-green"] .gc-tile:hover,
[data-theme="quantum-green"] .gc-tile:focus-within {
  filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.48)) drop-shadow(0 0 80px rgba(16, 185, 129, 0.15));
}

[data-theme="light-command"] .gc-tile,
[data-theme="light-command"] .gc-summary-card,
[data-theme="light-command"] .gc-mini-tile {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(30, 100, 200, 0.16);
  box-shadow: 0 2px 12px rgba(30, 80, 140, 0.10), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

[data-theme="light-command"] .gc-tile::before,
[data-theme="light-command"] .gc-summary-card::before,
[data-theme="light-command"] .gc-mini-tile::before {
  opacity: 0.15;
}

[data-theme="light-command"] .gc-tile::after,
[data-theme="light-command"] .gc-summary-card::after,
[data-theme="light-command"] .gc-mini-tile::after {
  background: linear-gradient(to bottom, rgba(3, 105, 161, 0.40) 0%, rgba(3, 105, 161, 0.04) 100%);
  box-shadow: 3px 0 8px rgba(30, 80, 140, 0.06), -3px 0 8px rgba(30, 80, 140, 0.04), 0 5px 10px rgba(30, 80, 140, 0.06);
}

[data-theme="light-command"] .gc-tile:hover,
[data-theme="light-command"] .gc-tile:focus-within {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(30, 80, 140, 0.16), 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 0 0 1px rgba(3, 105, 161, 0.22);
}

/* ── Nav: Quantum Green ─────────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-nav a:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow:
    0 0 32px rgba(16, 185, 129, 0.40),
    0 0 64px rgba(16, 185, 129, 0.10),
    inset 0 0 20px rgba(16, 185, 129, 0.08);
  text-shadow: 0 0 24px rgba(52, 211, 153, 0.52);
}

[data-theme="quantum-green"] .gc-nav a.is-active {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.08) 45%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(52, 211, 153, 0.32);
  box-shadow:
    0 0 40px rgba(16, 185, 129, 0.34),
    inset 0 0 28px rgba(16, 185, 129, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.06);
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.62);
}

/* ── Nav: Light Command ─────────────────────────────────────────────────── */
[data-theme="light-command"] .gc-nav a {
  color: rgba(40, 65, 110, 0.78);
}

[data-theme="light-command"] .gc-nav a:hover {
  color: rgba(3, 105, 161, 1);
  background: rgba(3, 105, 161, 0.08);
  border-color: rgba(3, 105, 161, 0.22);
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.10);
  text-shadow: none;
}

[data-theme="light-command"] .gc-nav a.is-active {
  color: rgba(2, 88, 138, 1);
  background: rgba(3, 105, 161, 0.10);
  border-color: rgba(3, 105, 161, 0.28);
  box-shadow: 0 2px 10px rgba(3, 105, 161, 0.12);
  text-shadow: none;
}

/* ── Tables: Quantum Green ─────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-table th {
  background: linear-gradient(180deg, rgba(0, 140, 80, 0.24), rgba(1, 12, 6, 0.96));
  border-bottom-color: rgba(0, 220, 120, 0.52);
  color: rgba(175, 255, 210, 0.96);
  text-shadow: 0 0 18px rgba(0, 200, 120, 0.48);
}

[data-theme="quantum-green"] .gc-table td {
  color: rgba(198, 245, 218, 0.88);
  border-bottom-color: rgba(0, 200, 110, 0.12);
}

[data-theme="quantum-green"] .gc-table tbody tr {
  background: rgba(3, 14, 8, 0.62);
}

[data-theme="quantum-green"] .gc-table tbody tr:nth-child(even) {
  background: rgba(4, 20, 11, 0.50);
}

[data-theme="quantum-green"] .gc-table-wrap {
  background: linear-gradient(180deg, rgba(2, 12, 6, 0.84), rgba(1, 7, 4, 0.94));
}

/* ── Tables: Light Command ─────────────────────────────────────────────── */
[data-theme="light-command"] .gc-table th {
  background: linear-gradient(180deg, rgba(3, 105, 161, 0.12), rgba(232, 244, 255, 0.98));
  border-bottom-color: rgba(3, 105, 161, 0.34);
  color: rgba(2, 60, 100, 0.90);
  letter-spacing: 0.10em;
  text-shadow: none;
  box-shadow: 0 2px 0 rgba(255,255,255,0.80) inset;
}

[data-theme="light-command"] .gc-table td {
  color: rgba(18, 36, 64, 0.88);
  border-bottom-color: rgba(30, 100, 200, 0.10);
}

[data-theme="light-command"] .gc-table tbody tr {
  background: rgba(238, 246, 255, 0.70);
}

[data-theme="light-command"] .gc-table tbody tr:nth-child(even) {
  background: rgba(222, 236, 252, 0.60);
}

[data-theme="light-command"] .gc-table-wrap {
  background: rgba(245, 250, 255, 0.96);
  box-shadow: 0 2px 10px rgba(30, 80, 140, 0.08) inset, 0 1px 0 rgba(255,255,255,0.90) inset;
}

/* ── Stat list ──────────────────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-stat-list div {
  border-bottom-color: rgba(0, 200, 110, 0.10);
}

[data-theme="quantum-green"] .gc-stat-list span {
  color: rgba(118, 185, 142, 0.78);
}

[data-theme="quantum-green"] .gc-stat-list strong {
  color: rgba(198, 248, 218, 0.96);
}

[data-theme="light-command"] .gc-stat-list div {
  border-bottom-color: rgba(30, 100, 200, 0.12);
}

[data-theme="light-command"] .gc-stat-list span {
  color: rgba(55, 88, 132, 0.78);
}

[data-theme="light-command"] .gc-stat-list strong {
  color: rgba(10, 22, 46, 0.92);
}

/* ── Tile headings & meta ───────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-tile h2 {
  color: rgba(185, 255, 215, 0.96);
}

[data-theme="quantum-green"] .gc-tile h2::after {
  background: linear-gradient(90deg, rgba(0, 220, 120, 0.52), rgba(0, 195, 100, 0.16) 52%, transparent 85%);
}

[data-theme="light-command"] .gc-tile h2 {
  color: rgba(8, 28, 58, 0.92);
  text-shadow: none;
}

[data-theme="light-command"] .gc-tile h2::after {
  background: linear-gradient(90deg, rgba(3, 105, 161, 0.44), rgba(3, 105, 161, 0.10) 52%, transparent 85%);
}

[data-theme="light-command"] .gc-tile-meta,
[data-theme="light-command"] .gc-tile-hint {
  color: rgba(55, 85, 130, 0.64);
}

/* ── KPI / bot chips ────────────────────────────────────────────────────── */
[data-theme="quantum-green"] .gc-kpi,
[data-theme="quantum-green"] .gc-bot-chip {
  background: linear-gradient(150deg, rgba(2, 16, 9, 0.86), rgba(1, 8, 4, 0.96));
  border-color: rgba(0, 200, 110, 0.22);
}

[data-theme="quantum-green"] .gc-kpi span,
[data-theme="quantum-green"] .gc-bot-chip span {
  color: rgba(118, 185, 142, 0.76);
}

[data-theme="quantum-green"] .gc-kpi strong,
[data-theme="quantum-green"] .gc-bot-chip strong {
  color: rgba(198, 248, 218, 0.96);
}

[data-theme="light-command"] .gc-kpi,
[data-theme="light-command"] .gc-bot-chip {
  background: rgba(232, 244, 255, 0.92);
  border-color: rgba(30, 100, 200, 0.18);
  box-shadow: 0 1px 4px rgba(30, 80, 140, 0.08);
}

[data-theme="light-command"] .gc-kpi span,
[data-theme="light-command"] .gc-bot-chip span {
  color: rgba(55, 88, 132, 0.76);
}

[data-theme="light-command"] .gc-kpi strong,
[data-theme="light-command"] .gc-bot-chip strong {
  color: rgba(10, 22, 46, 0.92);
}

/* ── Page head & summary ────────────────────────────────────────────────── */
[data-theme="light-command"] .gc-page-head h2 {
  color: rgba(8, 28, 58, 0.94);
  text-shadow: none;
}

[data-theme="light-command"] .gc-page-sub {
  color: rgba(55, 88, 132, 0.72);
}

[data-theme="light-command"] .gc-page-summary {
  background: rgba(238, 246, 255, 0.94);
  border-color: rgba(30, 100, 200, 0.18);
  box-shadow: 0 2px 8px rgba(30, 80, 140, 0.06);
}

[data-theme="light-command"] .gc-page-summary-cell span {
  color: rgba(55, 88, 132, 0.78);
}

[data-theme="light-command"] .gc-page-summary-cell strong {
  color: rgba(10, 28, 56, 0.90);
}

/* ── Scrollbars (main scroll area) ─────────────────────────────────────── */
[data-theme="quantum-green"] .gc-scroll {
  scrollbar-color: rgba(16, 185, 129, 0.30) transparent;
}

[data-theme="light-command"] .gc-scroll {
  scrollbar-color: rgba(3, 105, 161, 0.24) rgba(30, 80, 140, 0.06);
}

/* ── DEMO5000 panel: theme-safe caps ────────────────────────────────────── */
[data-theme="quantum-green"] .demo5000-safety-panel {
  border-color: rgba(0, 200, 110, 0.26);
}

[data-theme="light-command"] .demo5000-safety-panel {
  border-color: rgba(3, 105, 161, 0.20);
  box-shadow: 0 2px 16px rgba(30, 80, 140, 0.10), 0 1px 0 rgba(255,255,255,0.90) inset;
}

[data-theme="light-command"] .demo5000-safety-panel:hover,
[data-theme="light-command"] .demo5000-safety-panel:focus-within {
  transform: none;
  filter: none;
  box-shadow: 0 2px 16px rgba(30, 80, 140, 0.10), 0 1px 0 rgba(255,255,255,0.90) inset;
}

/* ── Per-symbol trace chips: light-command override ─────────────────────── */
[data-theme="light-command"] .gc-trace-chip {
  color: rgba(18, 42, 80, 0.80);
  border-color: rgba(30, 100, 200, 0.20);
  background: rgba(218, 234, 252, 0.90);
}

[data-theme="light-command"] .gc-trace-chip.trace-ok {
  color: rgba(10, 100, 50, 0.95);
  border-color: rgba(20, 130, 70, 0.36);
  background: rgba(210, 248, 230, 0.90);
}

[data-theme="light-command"] .gc-trace-chip.trace-blocked,
[data-theme="light-command"] .gc-trace-chip.trace-policy {
  color: rgba(160, 20, 20, 0.96);
  border-color: rgba(180, 40, 40, 0.36);
  background: rgba(255, 220, 218, 0.90);
}

[data-theme="light-command"] .gc-trace-chip.trace-missing,
[data-theme="light-command"] .gc-trace-chip.trace-gate {
  color: rgba(140, 70, 0, 0.95);
  border-color: rgba(160, 80, 0, 0.32);
  background: rgba(255, 238, 208, 0.90);
}

[data-theme="light-command"] .gc-trace-chip.trace-owner {
  color: rgba(2, 70, 130, 0.96);
  border-color: rgba(3, 105, 161, 0.36);
  background: rgba(208, 232, 252, 0.92);
}

/* ── Theme switcher UI ──────────────────────────────────────────────────── */
.gc-theme-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.gc-theme-switcher > span {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gc-muted);
  white-space: nowrap;
}

.gc-theme-switcher select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(2, 10, 22, 0.72);
  border: 1px solid var(--gc-border);
  border-radius: 6px;
  color: var(--gc-text);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  padding: 3px 22px 3px 7px;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(100,160,200,0.55)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}

.gc-theme-switcher select:focus {
  border-color: var(--gc-cyan);
  box-shadow: 0 0 0 2px var(--gc-border);
}

[data-theme="light-command"] .gc-theme-switcher select {
  background-color: rgba(240, 246, 255, 0.94);
  color: var(--gc-text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(3,105,161,0.55)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  [data-theme] .gc-tile,
  [data-theme] .gc-nav a,
  [data-theme] .gc-sidebar {
    transition: none !important;
  }
}


/* ==========================================================================
   SCIFI_UI_012_GEMINI_CHASSIS_SELECTIVE_CSS_MERGE
   Scope: CSS-only. Maps selected Gemini/Chassis 3D ideas onto existing PAGE_01.
   No HTML, JS, backend, bot, API, VPS, Docker, data, or route changes.
   ========================================================================== */

:root,
[data-theme="nexus-blue"] {
  --eq-chassis-bg: #020408;
  --eq-chassis-rail: rgba(2, 7, 14, 0.96);
  --eq-well-bg: rgba(1, 4, 9, 0.78);
  --eq-hardware-edge: rgba(0, 220, 255, 0.42);
  --eq-hardware-edge-soft: rgba(0, 220, 255, 0.16);
  --eq-hardware-shadow: rgba(0, 0, 0, 0.78);
  --eq-hardware-highlight: rgba(235, 252, 255, 0.12);
  --eq-corner-cyan: rgba(0, 235, 255, 0.82);
  --eq-corner-dim: rgba(0, 130, 180, 0.34);
}

[data-theme="quantum-green"] {
  --eq-hardware-edge: rgba(16, 255, 150, 0.44);
  --eq-hardware-edge-soft: rgba(16, 255, 150, 0.16);
  --eq-corner-cyan: rgba(22, 255, 168, 0.82);
  --eq-corner-dim: rgba(16, 130, 84, 0.34);
}

[data-theme="light-command"] {
  --eq-chassis-bg: #dfe7f1;
  --eq-chassis-rail: rgba(226, 234, 244, 0.96);
  --eq-well-bg: rgba(247, 250, 254, 0.88);
  --eq-hardware-edge: rgba(3, 105, 161, 0.34);
  --eq-hardware-edge-soft: rgba(3, 105, 161, 0.12);
  --eq-hardware-shadow: rgba(30, 45, 70, 0.22);
  --eq-hardware-highlight: rgba(255, 255, 255, 0.72);
  --eq-corner-cyan: rgba(3, 105, 161, 0.62);
  --eq-corner-dim: rgba(80, 105, 130, 0.20);
}

/* Outer cockpit chassis */
.gc-body {
  background-color: var(--eq-chassis-bg);
}

.gc-app,
.gc-shell,
.gc-page-shell,
.gc-layout {
  position: relative;
}

.gc-app::before,
.gc-shell::before,
.gc-page-shell::before {
  content: "";
  position: fixed;
  inset: 6px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.72),
    0 0 46px rgba(0, 0, 0, 0.54) inset,
    0 0 34px var(--eq-hardware-edge-soft);
  z-index: 0;
}

/* Sidebar as hardware rack / device rail */
.gc-sidebar,
.sidebar,
.eq-sidebar {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, var(--eq-hardware-edge-soft), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,0.035), transparent 10%),
    linear-gradient(180deg, rgba(7, 16, 30, 0.98), var(--eq-chassis-rail));
  border-right: 2px solid rgba(0, 0, 0, 0.72);
  box-shadow:
    14px 0 34px rgba(0, 0, 0, 0.58),
    -1px 0 0 var(--eq-hardware-highlight) inset,
    -18px 0 34px rgba(0, 0, 0, 0.40) inset,
    1px 0 0 var(--eq-hardware-edge-soft);
}

[data-theme="light-command"] .gc-sidebar,
[data-theme="light-command"] .sidebar,
[data-theme="light-command"] .eq-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(3,105,161,0.14), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,0.75), transparent 14%),
    linear-gradient(180deg, rgba(238, 244, 252, 0.98), rgba(213, 224, 238, 0.98));
}

.gc-sidebar::after,
.sidebar::after,
.eq-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--eq-hardware-edge-soft), transparent);
  opacity: 0.75;
}

.gc-brand,
.gc-logo,
.brand-block,
.rack-brand {
  position: relative;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent 38%),
    radial-gradient(circle at 20% 0%, var(--eq-hardware-edge-soft), transparent 45%),
    rgba(0, 0, 0, 0.18);
  box-shadow:
    0 1px 0 var(--eq-hardware-highlight) inset,
    0 -12px 22px rgba(0,0,0,0.28) inset,
    0 10px 24px rgba(0,0,0,0.22);
  border: 1px solid var(--eq-hardware-edge-soft);
}

.gc-nav a,
.gc-nav button,
.sidebar button,
.eq-nav-item,
.nav-item,
.nav-btn {
  position: relative;
  border-radius: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 -8px 16px rgba(0,0,0,0.18) inset;
}

.gc-nav .active,
.gc-nav a[aria-current="page"],
.gc-nav button.active,
.sidebar .active,
.eq-nav-item.active,
.nav-item.active,
.nav-btn.active {
  transform: translateY(-1px);
  border-color: var(--eq-hardware-edge);
  background:
    radial-gradient(circle at 15% 50%, var(--eq-hardware-edge-soft), transparent 52%),
    linear-gradient(90deg, rgba(0, 220, 255, 0.16), rgba(0, 30, 55, 0.10));
  box-shadow:
    0 0 24px var(--eq-hardware-edge-soft),
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 -12px 20px rgba(0,0,0,0.24) inset,
    0 10px 18px rgba(0,0,0,0.28);
}

[data-theme="quantum-green"] .gc-nav .active,
[data-theme="quantum-green"] .sidebar .active,
[data-theme="quantum-green"] .eq-nav-item.active {
  background:
    radial-gradient(circle at 15% 50%, rgba(16,255,150,0.18), transparent 52%),
    linear-gradient(90deg, rgba(16,185,129,0.18), rgba(0, 50, 32, 0.12));
}

[data-theme="light-command"] .gc-nav .active,
[data-theme="light-command"] .sidebar .active,
[data-theme="light-command"] .eq-nav-item.active {
  background:
    radial-gradient(circle at 15% 50%, rgba(3,105,161,0.14), transparent 52%),
    linear-gradient(90deg, rgba(3,105,161,0.12), rgba(255,255,255,0.40));
}

/* Topbar as HUD hardware rail */
.gc-topbar,
.topbar,
.eq-topbar,
.hardware-topbar {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent 20%),
    linear-gradient(180deg, rgba(8, 20, 34, 0.96), rgba(2, 7, 14, 0.98));
  border-bottom: 2px solid rgba(0, 0, 0, 0.76);
  box-shadow:
    0 18px 44px rgba(0,0,0,0.46),
    0 1px 0 var(--eq-hardware-highlight) inset,
    0 -16px 26px rgba(0,0,0,0.34) inset,
    0 1px 0 var(--eq-hardware-edge-soft);
}

[data-theme="light-command"] .gc-topbar,
[data-theme="light-command"] .topbar,
[data-theme="light-command"] .eq-topbar {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(222,232,244,0.94));
  border-bottom-color: rgba(120, 145, 170, 0.42);
}

.gc-topbar::before,
.topbar::before,
.eq-topbar::before,
.hardware-topbar::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--eq-hardware-highlight), var(--eq-hardware-edge), var(--eq-hardware-highlight), transparent);
  opacity: 0.85;
}

.gc-topbar::after,
.topbar::after,
.eq-topbar::after,
.hardware-topbar::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--eq-hardware-edge-soft), transparent);
}

.gc-topbar select,
.gc-topbar button,
.gc-topbar .gc-theme-switcher,
.gc-topbar .gc-status-chip,
.gc-topbar .gc-pill,
.topbar select,
.topbar button,
.top-item,
.ticker-block,
.badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent 30%),
    rgba(1, 5, 11, 0.58);
  border: 1px solid var(--eq-hardware-edge-soft);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 -10px 16px rgba(0,0,0,0.28) inset,
    0 8px 18px rgba(0,0,0,0.20);
}

[data-theme="light-command"] .gc-topbar select,
[data-theme="light-command"] .gc-topbar button,
[data-theme="light-command"] .gc-topbar .gc-theme-switcher,
[data-theme="light-command"] .topbar select,
[data-theme="light-command"] .topbar button {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(223,232,244,0.74));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.84) inset,
    0 -10px 16px rgba(80,100,125,0.10) inset,
    0 8px 18px rgba(40,55,75,0.10);
}

/* Card / tile chassis */
.gc-tile,
.eq-card,
.hud-panel,
.module-card,
.card {
  position: relative;
  background:
    radial-gradient(circle at 18% 0%, var(--eq-hardware-edge-soft), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(0,0,0,0.46), transparent 38%),
    linear-gradient(145deg, rgba(12, 28, 48, 0.90), rgba(2, 8, 18, 0.97) 62%, rgba(1, 4, 9, 0.99));
  border-top: 1px solid rgba(255,255,255,0.13);
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(0,0,0,0.62);
  border-bottom: 2px solid rgba(0,0,0,0.82);
  box-shadow:
    0 28px 54px rgba(0,0,0,0.56),
    0 2px 0 rgba(0,0,0,0.52),
    0 0 0 1px var(--eq-hardware-edge-soft),
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 -22px 34px rgba(0,0,0,0.36) inset,
    18px 0 24px rgba(0, 220, 255, 0.045) inset;
}

[data-theme="light-command"] .gc-tile,
[data-theme="light-command"] .eq-card,
[data-theme="light-command"] .hud-panel,
[data-theme="light-command"] .module-card,
[data-theme="light-command"] .card {
  background:
    radial-gradient(circle at 18% 0%, rgba(3,105,161,0.12), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(80,100,130,0.14), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(232,239,248,0.96));
  border-right-color: rgba(120,145,170,0.28);
  border-bottom-color: rgba(120,145,170,0.38);
  box-shadow:
    0 24px 48px rgba(40,55,75,0.18),
    0 2px 0 rgba(120,145,170,0.18),
    0 0 0 1px rgba(3,105,161,0.16),
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 -18px 30px rgba(120,145,170,0.10) inset;
}

.gc-tile::before,
.eq-card::before,
.hud-panel::before,
.module-card::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(128deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.045) 18%, transparent 42%),
    linear-gradient(90deg, var(--eq-corner-cyan), transparent 12%, transparent 88%, var(--eq-corner-dim));
  opacity: 0.56;
  mix-blend-mode: screen;
  z-index: 1;
}

[data-theme="light-command"] .gc-tile::before,
[data-theme="light-command"] .eq-card::before,
[data-theme="light-command"] .hud-panel::before,
[data-theme="light-command"] .module-card::before,
[data-theme="light-command"] .card::before {
  mix-blend-mode: normal;
  opacity: 0.42;
}

.gc-tile::after,
.eq-card::after,
.hud-panel::after,
.module-card::after,
.card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 1px;
  border-radius: inherit;
  box-shadow:
    18px 0 28px rgba(0, 220, 255, 0.055) inset,
    -18px 0 28px rgba(0, 0, 0, 0.22) inset,
    0 -20px 38px rgba(0, 0, 0, 0.28) inset,
    0 0 36px rgba(0, 220, 255, 0.055) inset;
  z-index: 1;
}

.gc-tile > *,
.eq-card > *,
.hud-panel > *,
.module-card > *,
.card > * {
  position: relative;
  z-index: 2;
}

/* Panel wells */
.gc-table-wrap,
.gc-table-shell,
.gc-stat-list,
.demo5000-safety-panel .demo5000-safety-grid,
.per-symbol-trace-panel .per-symbol-trace-table-wrap,
.table-wrap,
.panel-well {
  background:
    radial-gradient(circle at 50% 0%, rgba(0,220,255,0.055), transparent 42%),
    var(--eq-well-bg);
  border: 1px solid rgba(0,0,0,0.72);
  border-top: 2px solid rgba(0,0,0,0.86);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.055),
    0 0 0 1px var(--eq-hardware-edge-soft),
    inset 0 4px 18px rgba(0,0,0,0.72),
    inset 0 -1px 0 rgba(255,255,255,0.035);
}

[data-theme="light-command"] .gc-table-wrap,
[data-theme="light-command"] .gc-table-shell,
[data-theme="light-command"] .gc-stat-list,
[data-theme="light-command"] .demo5000-safety-panel .demo5000-safety-grid,
[data-theme="light-command"] .per-symbol-trace-panel .per-symbol-trace-table-wrap,
[data-theme="light-command"] .table-wrap,
[data-theme="light-command"] .panel-well {
  background:
    radial-gradient(circle at 50% 0%, rgba(3,105,161,0.07), transparent 42%),
    rgba(247,250,254,0.88);
  border-color: rgba(120,145,170,0.30);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.86),
    0 0 0 1px rgba(3,105,161,0.12),
    inset 0 4px 14px rgba(80,100,125,0.10);
}

/* Tables */
.gc-tile table,
.per-symbol-trace-panel table,
.demo5000-safety-panel table,
.terminal-table {
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.gc-tile thead th,
.per-symbol-trace-panel thead th,
.demo5000-safety-panel thead th,
.terminal-table th {
  background:
    linear-gradient(180deg, rgba(0, 180, 230, 0.18), rgba(0, 20, 35, 0.28));
  color: rgba(205, 238, 255, 0.86);
  border-bottom: 1px solid var(--eq-hardware-edge-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 -8px 14px rgba(0,0,0,0.20) inset;
}

[data-theme="light-command"] .gc-tile thead th,
[data-theme="light-command"] .per-symbol-trace-panel thead th,
[data-theme="light-command"] .demo5000-safety-panel thead th,
[data-theme="light-command"] .terminal-table th {
  background:
    linear-gradient(180deg, rgba(3,105,161,0.10), rgba(222,232,244,0.64));
  color: rgba(20, 40, 70, 0.82);
}

.gc-tile tbody tr,
.per-symbol-trace-panel tbody tr,
.demo5000-safety-panel tbody tr,
.terminal-table tbody tr {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.018), transparent 80%);
}

.gc-tile tbody tr:nth-child(even),
.per-symbol-trace-panel tbody tr:nth-child(even),
.demo5000-safety-panel tbody tr:nth-child(even),
.terminal-table tbody tr:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(0, 220, 255, 0.026), transparent 80%);
}

.gc-tile tbody tr:hover,
.per-symbol-trace-panel tbody tr:hover,
.demo5000-safety-panel tbody tr:hover,
.terminal-table tbody tr:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(90deg, rgba(0, 220, 255, 0.10), rgba(0, 220, 255, 0.025), transparent);
  box-shadow:
    0 0 18px var(--eq-hardware-edge-soft) inset;
}

/* Bottom dock */
.gc-bottom-dock,
.bottom-dock,
.hardware-dock {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 18%),
    linear-gradient(180deg, rgba(5, 12, 22, 0.98), rgba(1, 4, 9, 0.99));
  border-top: 2px solid rgba(0,0,0,0.76);
  box-shadow:
    0 -18px 44px rgba(0,0,0,0.58),
    0 1px 0 var(--eq-hardware-highlight) inset,
    0 -1px 0 var(--eq-hardware-edge-soft) inset;
}

.gc-bottom-dock > *,
.bottom-dock > *,
.hardware-dock > *,
.dock-cell {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 30%),
    rgba(1, 5, 11, 0.62);
  border: 1px solid var(--eq-hardware-edge-soft);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -10px 16px rgba(0,0,0,0.24) inset;
}

/* Operational panels must stay readable */
.demo5000-safety-panel,
.per-symbol-trace-panel {
  isolation: isolate;
}

.demo5000-safety-panel:hover,
.demo5000-safety-panel:focus-within,
.per-symbol-trace-panel:hover,
.per-symbol-trace-panel:focus-within {
  transform: none;
  filter: none;
}

.demo5000-safety-row,
.per-symbol-trace-row,
.per-symbol-trace-panel td,
.per-symbol-trace-panel th {
  text-shadow: none;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .gc-nav .active,
  .gc-nav a[aria-current="page"],
  .gc-nav button.active,
  .sidebar .active,
  .eq-nav-item.active,
  .nav-item.active,
  .nav-btn.active,
  .gc-tile tbody tr:hover,
  .per-symbol-trace-panel tbody tr:hover,
  .demo5000-safety-panel tbody tr:hover,
  .terminal-table tbody tr:hover {
    transform: none !important;
  }
}

/* ==========================================================================
   END SCIFI_UI_012_GEMINI_CHASSIS_SELECTIVE_CSS_MERGE
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SCIFI_UI_012_COMPONENT_DEPTH_KIT_SELECTIVE_MERGE                          */
/* CSS-only. No HTML · No JS · No backend · No bot · No data change.         */
/* Maps: recessed well · terminal table · LED pill · bevel · foot dock ·     */
/*       HUD ring (CSS-only class) · sidebar rail refine                     */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. RECESSED WELL — deeper inset on table wrappers + safety grid ──── */

.gc-table-wrap {
  border-top: 2px solid rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.055),
    0 0 0 1px rgba(0, 220, 255, 0.12),
    inset 0 2px 0 rgba(0, 0, 0, 0.88),
    inset 0 4px 22px rgba(0, 0, 0, 0.72),
    inset 0 -2px 0 rgba(255, 255, 255, 0.05),
    inset 14px 0 22px rgba(0, 0, 0, 0.14),
    inset -14px 0 22px rgba(0, 0, 0, 0.12);
}

.demo5000-safety-grid {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 220, 255, 0.04), transparent 40%),
    rgba(1, 4, 10, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.54);
  border-top: 2px solid rgba(0, 0, 0, 0.80);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.055),
    0 0 0 1px rgba(0, 220, 255, 0.10),
    inset 0 2px 0 rgba(0, 0, 0, 0.80),
    inset 0 4px 18px rgba(0, 0, 0, 0.68),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="quantum-green"] .gc-table-wrap {
  border-top-color: rgba(0, 0, 0, 0.88);
  box-shadow:
    0 1px 0 rgba(80, 255, 160, 0.04),
    0 0 0 1px rgba(0, 220, 120, 0.12),
    inset 0 2px 0 rgba(0, 0, 0, 0.84),
    inset 0 4px 22px rgba(0, 0, 0, 0.72),
    inset 0 -2px 0 rgba(80, 255, 160, 0.04);
}

[data-theme="light-command"] .gc-table-wrap {
  border-top: 2px solid rgba(80, 100, 130, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.90),
    0 0 0 1px rgba(3, 105, 161, 0.12),
    inset 0 2px 8px rgba(80, 100, 130, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.80);
}

[data-theme="light-command"] .demo5000-safety-grid {
  background: rgba(247, 250, 254, 0.92);
  border-color: rgba(80, 100, 130, 0.22);
  border-top-color: rgba(80, 100, 130, 0.34);
  border-bottom-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 1px rgba(3, 105, 161, 0.10),
    inset 0 2px 8px rgba(80, 100, 130, 0.10);
}

/* ── 2. TERMINAL TABLE — Per-Symbol Trace: monospace compact + sticky header + hover ── */

.gc-per-symbol-trace-table {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  letter-spacing: 0.01em;
}

.gc-per-symbol-trace-table thead {
  position: sticky;
  top: 0;
  z-index: 4;
}

.gc-per-symbol-trace-table thead th {
  padding: 5px 8px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  background:
    linear-gradient(180deg, rgba(0, 140, 210, 0.28), rgba(2, 14, 28, 0.96));
  border-bottom: 2px solid rgba(0, 220, 255, 0.48);
  color: rgba(188, 228, 252, 0.94);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 6px 14px rgba(0, 0, 0, 0.38);
}

.gc-per-symbol-trace-table tbody td {
  padding: 4px 8px;
  border-bottom: 1px solid rgba(0, 210, 255, 0.07);
  vertical-align: middle;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.gc-per-symbol-trace-table .gc-trace-symbol {
  max-width: none;
  font-weight: 600;
  color: rgba(212, 242, 255, 0.96);
  letter-spacing: 0.04em;
}

.gc-per-symbol-trace-table tbody tr {
  transition: background 0.10s ease, transform 0.10s ease;
}

.gc-per-symbol-trace-table tbody tr:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(90deg, rgba(0, 220, 255, 0.09), rgba(0, 220, 255, 0.025), transparent 80%);
  box-shadow: inset 0 0 14px rgba(0, 220, 255, 0.055);
}

[data-theme="quantum-green"] .gc-per-symbol-trace-table thead th {
  background:
    linear-gradient(180deg, rgba(0, 140, 80, 0.28), rgba(1, 12, 6, 0.96));
  border-bottom-color: rgba(0, 220, 120, 0.48);
  color: rgba(175, 255, 212, 0.94);
}

[data-theme="quantum-green"] .gc-per-symbol-trace-table tbody tr:hover {
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.09), rgba(16, 185, 129, 0.022), transparent 80%);
}

[data-theme="light-command"] .gc-per-symbol-trace-table thead th {
  background:
    linear-gradient(180deg, rgba(3, 105, 161, 0.14), rgba(228, 240, 254, 0.98));
  border-bottom-color: rgba(3, 105, 161, 0.38);
  color: rgba(3, 60, 100, 0.90);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset, 0 3px 8px rgba(30, 80, 140, 0.08);
}

[data-theme="light-command"] .gc-per-symbol-trace-table .gc-trace-symbol {
  color: rgba(8, 28, 58, 0.96);
}

[data-theme="light-command"] .gc-per-symbol-trace-table tbody tr:hover {
  transform: none;
  background: rgba(3, 105, 161, 0.06);
}

/* ── 3. STATUS PILL / LED DOT — demo5000 chip + trace chip upgrade ── */

/* Demo5000 chip: inline-flex with LED ::before */
.demo5000-safety-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo5000-safety-chip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(100, 120, 145, 0.55);
  box-shadow: 0 0 5px rgba(100, 120, 145, 0.40);
}

.demo5000-safety-chip.is-safe::before {
  background: #86efac;
  box-shadow: 0 0 8px rgba(134, 239, 172, 0.82), 0 0 16px rgba(134, 239, 172, 0.40);
}

.demo5000-safety-chip.is-watch::before {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.78), 0 0 14px rgba(251, 191, 36, 0.36);
}

.demo5000-safety-chip.is-attn::before {
  background: #fdba74;
  box-shadow: 0 0 8px rgba(253, 186, 116, 0.72), 0 0 14px rgba(253, 186, 116, 0.34);
}

.demo5000-safety-chip.is-hold::before {
  background: #fca5a5;
  box-shadow: 0 0 8px rgba(252, 165, 165, 0.82), 0 0 18px rgba(252, 165, 165, 0.42);
  animation: gc-led-hold-pulse 1.4s ease-in-out infinite;
}

.demo5000-safety-chip.is-auth::before {
  background: #d8b4fe;
  box-shadow: 0 0 8px rgba(216, 180, 254, 0.72), 0 0 14px rgba(216, 180, 254, 0.34);
}

@keyframes gc-led-hold-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.32; }
}

@media (prefers-reduced-motion: reduce) {
  .demo5000-safety-chip.is-hold::before {
    animation: none;
  }
}

/* Light-command LED adjustments */
[data-theme="light-command"] .demo5000-safety-chip.is-safe::before {
  background: #16a34a;
  box-shadow: 0 0 5px rgba(22, 163, 74, 0.55);
}

[data-theme="light-command"] .demo5000-safety-chip.is-watch::before {
  background: #b45309;
  box-shadow: 0 0 5px rgba(180, 83, 9, 0.50);
}

[data-theme="light-command"] .demo5000-safety-chip.is-attn::before {
  background: #c2410c;
  box-shadow: 0 0 5px rgba(194, 65, 12, 0.50);
}

[data-theme="light-command"] .demo5000-safety-chip.is-hold::before {
  background: #dc2626;
  box-shadow: 0 0 5px rgba(220, 38, 38, 0.58);
}

/* Trace chip: micro LED dot */
.gc-trace-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.gc-trace-chip::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(150, 175, 195, 0.55);
}

.gc-trace-chip.trace-ok::before {
  background: rgba(100, 235, 180, 0.92);
  box-shadow: 0 0 5px rgba(100, 235, 180, 0.72);
}

.gc-trace-chip.trace-candidate::before {
  background: rgba(200, 235, 100, 0.90);
  box-shadow: 0 0 5px rgba(200, 235, 100, 0.62);
}

.gc-trace-chip.trace-blocked::before,
.gc-trace-chip.trace-policy::before {
  background: rgba(255, 120, 100, 0.94);
  box-shadow: 0 0 5px rgba(255, 120, 100, 0.72);
}

.gc-trace-chip.trace-missing::before,
.gc-trace-chip.trace-gate::before {
  background: rgba(255, 192, 80, 0.90);
  box-shadow: 0 0 5px rgba(255, 192, 80, 0.62);
}

.gc-trace-chip.trace-low::before {
  background: rgba(200, 160, 70, 0.78);
}

.gc-trace-chip.trace-owner::before {
  background: rgba(80, 190, 255, 0.92);
  box-shadow: 0 0 5px rgba(80, 190, 255, 0.66);
}

.gc-trace-chip.trace-session::before,
.gc-trace-chip.trace-wait::before,
.gc-trace-chip.trace-unknown::before {
  background: rgba(150, 175, 195, 0.45);
}

/* Light-command trace chips: smaller glow */
[data-theme="light-command"] .gc-trace-chip::before {
  box-shadow: none;
}

[data-theme="light-command"] .gc-trace-chip.trace-ok::before {
  background: #16a34a;
}

[data-theme="light-command"] .gc-trace-chip.trace-blocked::before,
[data-theme="light-command"] .gc-trace-chip.trace-policy::before {
  background: #dc2626;
}

[data-theme="light-command"] .gc-trace-chip.trace-missing::before,
[data-theme="light-command"] .gc-trace-chip.trace-gate::before {
  background: #b45309;
}

[data-theme="light-command"] .gc-trace-chip.trace-owner::before {
  background: #0369a1;
}

/* ── 4. BEVELED PANEL — gc-tile: brighter top edge, harder bottom edge ── */

.gc-tile,
.gc-summary-card,
.gc-mini-tile {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  border-right: 1px solid rgba(0, 0, 0, 0.56);
  border-bottom: 2px solid rgba(0, 0, 0, 0.76);
}

[data-theme="quantum-green"] .gc-tile,
[data-theme="quantum-green"] .gc-summary-card,
[data-theme="quantum-green"] .gc-mini-tile {
  border-top-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(0, 0, 0, 0.80);
}

[data-theme="light-command"] .gc-tile,
[data-theme="light-command"] .gc-summary-card,
[data-theme="light-command"] .gc-mini-tile {
  border-top: 1px solid rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.80);
  border-right: 1px solid rgba(80, 100, 130, 0.24);
  border-bottom: 2px solid rgba(80, 100, 130, 0.32);
}

/* DEMO5000 + Per-Symbol: no bevel escalation, keep flat */
.demo5000-safety-panel {
  border-top-color: rgba(255, 255, 255, 0.10);
  border-bottom-width: 1px;
}

/* ── 5. SIDEBAR FOOT DOCK — deepened bottom rail ── */

.gc-sidebar-foot {
  position: relative;
  border-top: 2px solid rgba(0, 0, 0, 0.70);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 22%),
    rgba(1, 4, 10, 0.58);
  box-shadow:
    0 -1px 0 rgba(0, 220, 255, 0.16),
    0 -20px 36px rgba(0, 0, 0, 0.38) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

[data-theme="quantum-green"] .gc-sidebar-foot {
  border-top-color: rgba(0, 0, 0, 0.70);
  box-shadow:
    0 -1px 0 rgba(0, 220, 120, 0.16),
    0 -20px 36px rgba(0, 0, 0, 0.38) inset,
    0 1px 0 rgba(80, 255, 160, 0.04) inset;
}

[data-theme="light-command"] .gc-sidebar-foot {
  border-top: 2px solid rgba(80, 100, 130, 0.30);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(210, 224, 240, 0.72));
  box-shadow:
    0 -1px 0 rgba(3, 105, 161, 0.18),
    0 -10px 22px rgba(80, 100, 130, 0.10) inset,
    0 1px 0 rgba(255, 255, 255, 0.90) inset;
}

/* ── 6. CSS HUD RING — optional class, no HTML change needed ── */

.gc-hud-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(0, 220, 255, 0.32);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 220, 255, 0.09), transparent 60%),
    rgba(1, 6, 14, 0.82);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.62),
    0 0 16px rgba(0, 220, 255, 0.18),
    inset 0 0 20px rgba(0, 0, 0, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(190, 235, 255, 0.92);
}

.gc-hud-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 220, 255, 0.14);
  pointer-events: none;
}

[data-theme="quantum-green"] .gc-hud-ring {
  border-color: rgba(0, 220, 120, 0.32);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 220, 120, 0.09), transparent 60%),
    rgba(0, 5, 3, 0.82);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.62),
    0 0 16px rgba(0, 220, 120, 0.18),
    inset 0 0 20px rgba(0, 0, 0, 0.64),
    inset 0 1px 0 rgba(80, 255, 160, 0.06);
  color: rgba(175, 255, 215, 0.92);
}

[data-theme="quantum-green"] .gc-hud-ring::before {
  border-color: rgba(0, 220, 120, 0.14);
}

[data-theme="light-command"] .gc-hud-ring {
  border-color: rgba(3, 105, 161, 0.40);
  background:
    radial-gradient(circle at 50% 40%, rgba(3, 105, 161, 0.09), transparent 60%),
    rgba(245, 250, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(80, 100, 130, 0.22),
    0 2px 14px rgba(30, 80, 140, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: rgba(3, 60, 100, 0.90);
}

[data-theme="light-command"] .gc-hud-ring::before {
  border-color: rgba(3, 105, 161, 0.16);
}

/* ── 7. SIDEBAR RAIL — left accent rail inside nav ── */

.gc-nav {
  position: relative;
}

.gc-nav::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 1px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 220, 255, 0.14) 18%,
    rgba(0, 220, 255, 0.28) 44%,
    rgba(0, 220, 255, 0.14) 82%,
    transparent 100%
  );
}

[data-theme="quantum-green"] .gc-nav::before {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 220, 120, 0.14) 18%,
    rgba(0, 220, 120, 0.26) 44%,
    rgba(0, 220, 120, 0.14) 82%,
    transparent 100%
  );
}

[data-theme="light-command"] .gc-nav::before {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(3, 105, 161, 0.12) 18%,
    rgba(3, 105, 161, 0.22) 44%,
    rgba(3, 105, 161, 0.12) 82%,
    transparent 100%
  );
}

/* Safety: DEMO5000 + Per-Symbol panels — override all hover/focus escalation */
.demo5000-safety-panel:hover,
.demo5000-safety-panel:focus-within,
#gc-per-symbol-trace-panel:hover,
#gc-per-symbol-trace-panel:focus-within {
  transform: none !important;
  filter: none !important;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .gc-per-symbol-trace-table tbody tr,
  .gc-per-symbol-trace-table tbody tr:hover,
  .demo5000-safety-chip::before {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END SCIFI_UI_012_COMPONENT_DEPTH_KIT_SELECTIVE_MERGE                      */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ==========================================================================
   SCIFI_UI_013_DASHBOARD_READABILITY_LIGHT_PASS
   Scope: CSS-only readability/backlight pass for dense cockpit data.
   ========================================================================== */

:root,
[data-theme="nexus-blue"] {
  --eq-readable-label: rgba(165, 196, 220, 0.86);
  --eq-readable-value: rgba(238, 250, 255, 0.96);
  --eq-readable-dim: rgba(120, 150, 174, 0.78);
  --eq-data-surface: rgba(5, 16, 28, 0.82);
  --eq-data-surface-2: rgba(8, 24, 40, 0.76);
  --eq-data-line: rgba(90, 190, 230, 0.18);
}

[data-theme="quantum-green"] {
  --eq-readable-label: rgba(172, 220, 198, 0.86);
  --eq-readable-value: rgba(236, 255, 247, 0.96);
  --eq-readable-dim: rgba(126, 170, 150, 0.78);
  --eq-data-surface: rgba(4, 22, 16, 0.82);
  --eq-data-surface-2: rgba(8, 34, 24, 0.76);
  --eq-data-line: rgba(72, 220, 160, 0.18);
}

[data-theme="light-command"] {
  --eq-readable-label: rgba(48, 66, 90, 0.88);
  --eq-readable-value: rgba(12, 22, 42, 0.96);
  --eq-readable-dim: rgba(82, 104, 130, 0.78);
  --eq-data-surface: rgba(248, 251, 255, 0.92);
  --eq-data-surface-2: rgba(235, 242, 250, 0.88);
  --eq-data-line: rgba(3, 105, 161, 0.18);
}

/* Give panel interiors a subtle instrument backlight */
.gc-table-wrap,
.gc-table-shell,
.gc-stat-list,
.demo5000-safety-panel .demo5000-safety-grid,
.per-symbol-trace-panel .per-symbol-trace-table-wrap,
.table-wrap,
.panel-well {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 220, 255, 0.075), transparent 42%),
    linear-gradient(180deg, var(--eq-data-surface), rgba(1, 5, 11, 0.88));
  border-color: var(--eq-data-line);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(0, 220, 255, 0.08),
    inset 0 3px 14px rgba(0,0,0,0.48),
    inset 0 -1px 0 rgba(255,255,255,0.04);
}

/* Make labels legible instead of ghosted */
.gc-tile label,
.gc-tile .label,
.gc-tile .gc-label,
.gc-stat-list span,
.demo5000-safety-row span:first-child,
.per-symbol-trace-panel th,
.per-symbol-trace-panel .trace-label,
.gc-tile small {
  color: var(--eq-readable-label) !important;
  opacity: 1;
}

/* Make values clearly readable */
.gc-tile strong,
.gc-tile .value,
.gc-tile .gc-value,
.gc-stat-list strong,
.demo5000-safety-row strong,
.per-symbol-trace-panel td,
.per-symbol-trace-panel .trace-value {
  color: var(--eq-readable-value) !important;
}

/* Softer but visible secondary text */
.gc-tile .muted,
.gc-tile .hint,
.gc-tile .gc-tile-hint,
.demo5000-safety-source,
.per-symbol-trace-source {
  color: var(--eq-readable-dim) !important;
  opacity: 1;
}

/* Improve dense rows */
.demo5000-safety-row,
.per-symbol-trace-row,
.gc-stat-list > *,
.gc-mini-row {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.026), transparent 78%),
    var(--eq-data-surface-2);
  border-bottom: 1px solid var(--eq-data-line);
}

/* Tables: readable, not over-glowed */
.gc-tile table tbody td,
.per-symbol-trace-panel table tbody td,
.demo5000-safety-panel table tbody td {
  color: var(--eq-readable-value);
  border-bottom: 1px solid var(--eq-data-line);
}

.gc-tile table tbody tr:nth-child(even),
.per-symbol-trace-panel table tbody tr:nth-child(even),
.demo5000-safety-panel table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.026);
}

.gc-tile table tbody tr:hover,
.per-symbol-trace-panel table tbody tr:hover,
.demo5000-safety-panel table tbody tr:hover {
  background:
    linear-gradient(90deg, rgba(0, 220, 255, 0.13), rgba(0, 220, 255, 0.035), transparent);
}

/* Empty values should be visible but not scream */
.gc-tile td:empty::after,
.per-symbol-trace-panel td:empty::after {
  content: "—";
  color: var(--eq-readable-dim);
}

/* Per-symbol trace: keep table compact and readable */
.per-symbol-trace-panel {
  min-height: 140px;
}

.per-symbol-trace-panel table {
  font-size: 11px;
}

.per-symbol-trace-panel th {
  font-weight: 800;
  letter-spacing: 0.14em;
}

.per-symbol-trace-panel td {
  font-weight: 600;
}

/* DEMO5000 Safety: operational clarity over glow */
.demo5000-safety-panel {
  text-shadow: none;
}

.demo5000-safety-panel .demo5000-safety-row {
  min-height: 44px;
}

/* Header titles need stronger cockpit readability */
.gc-tile h2,
.gc-tile h3,
.gc-tile .gc-tile-title,
.gc-tile .gc-card-title {
  color: var(--eq-readable-value) !important;
  text-shadow: 0 0 10px rgba(0, 220, 255, 0.16);
}

/* Light theme corrections */
[data-theme="light-command"] .gc-table-wrap,
[data-theme="light-command"] .gc-table-shell,
[data-theme="light-command"] .gc-stat-list,
[data-theme="light-command"] .demo5000-safety-panel .demo5000-safety-grid,
[data-theme="light-command"] .per-symbol-trace-panel .per-symbol-trace-table-wrap,
[data-theme="light-command"] .table-wrap,
[data-theme="light-command"] .panel-well {
  background:
    radial-gradient(circle at 18% 0%, rgba(3, 105, 161, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(235,242,250,0.92));
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END SCIFI_UI_013_DASHBOARD_READABILITY_LIGHT_PASS                         */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SCIFI_UI_015_VISUAL_DIRECTION_CORRECTION                                  */
/* FIX 2: Restore nexus-blue default (cut floodlight)                        */
/* FIX 3: Table layout — remove scroll cages                                 */
/* FIX 5: Empty state quality                                                */
/* FIX 6: Reference-aligned premium blue glass                               */
/* CSS-only. No HTML · No JS (except FIX 4 in cockpit.js) · No backend.     */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ── FIX 2a: Core floodlight fix — slash corner-cyan opacity ────────────── */
/* The 012 Gemini block set this to 0.82 which, at screen blend mode,        */
/* creates a strong left-edge flood. Reduce to balanced 0.22.                */
:root,
[data-theme="nexus-blue"] {
  --eq-corner-cyan: rgba(0, 195, 255, 0.22);
  --eq-corner-dim:  rgba(0,  88, 150, 0.09);
}

/* ── FIX 2b: Tile ::before opacity — was 0.56, too strong at screen blend ── */
.gc-tile::before,
.gc-summary-card::before,
.gc-mini-tile::before {
  opacity: 0.24;
}

[data-theme="light-command"] .gc-tile::before,
[data-theme="light-command"] .gc-summary-card::before,
[data-theme="light-command"] .gc-mini-tile::before {
  opacity: 0.18;
}

/* ── FIX 2c: Tile surface — balanced blue glass, no green cast ─────────── */
.gc-tile,
.gc-summary-card,
.gc-mini-tile {
  background:
    radial-gradient(ellipse 55% 40% at 10% 3%, rgba(0, 170, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 48% 38% at 92% 97%, rgba(0, 0, 0, 0.32), transparent 60%),
    linear-gradient(148deg, rgba(6, 18, 38, 0.90) 0%, rgba(2, 7, 16, 0.97) 100%);
  border: 1px solid rgba(0, 195, 255, 0.22);
}

/* ── FIX 2d: Tile inner glow — balanced, not left-dominant ─────────────── */
.gc-tile::after,
.gc-summary-card::after,
.gc-mini-tile::after {
  box-shadow:
    6px 0 22px rgba(0, 195, 255, 0.04) inset,
    -6px 0 22px rgba(0, 0, 0, 0.18) inset,
    0 -14px 28px rgba(0, 0, 0, 0.20) inset,
    0 0 22px rgba(0, 195, 255, 0.04) inset;
}

/* ── FIX 2e: Topbar — restore clean blue HUD rail ──────────────────────── */
.gc-topbar {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 18%),
    linear-gradient(180deg, rgba(6, 16, 32, 0.96), rgba(2, 7, 14, 0.98));
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.44),
    0 1px 0 rgba(200, 245, 255, 0.10) inset,
    0 -12px 22px rgba(0, 0, 0, 0.28) inset,
    0 1px 0 rgba(0, 195, 255, 0.16);
}

/* ── FIX 2f: Sidebar — balanced rail, not overpowering ─────────────────── */
.gc-sidebar {
  background:
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(0, 180, 255, 0.07), transparent 45%),
    linear-gradient(180deg, rgba(5, 13, 26, 0.99) 0%, rgba(2, 6, 14, 1) 100%);
  box-shadow:
    10px 0 28px rgba(0, 0, 0, 0.52),
    -1px 0 0 rgba(200, 245, 255, 0.07) inset,
    1px 0 0 rgba(0, 195, 255, 0.12);
}

/* ── FIX 2g: Nav rail — softer vertical stripe ─────────────────────────── */
.gc-nav::before {
  opacity: 0.45;
  width: 1px;
}

/* ── FIX 3: Table layout — remove scroll cages, let content breathe ─────── */
.gc-table-wrap {
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

/* Specific panels that need their own scroll at tall sizes */
#gc-strategy-stack-panel .gc-table-wrap,
#gc-modules-panel .gc-table-wrap,
#gc-per-symbol-trace-panel .gc-table-wrap {
  max-height: 62vh;
  overflow-y: auto;
}

/* Trades page tables: allow full height */
#gc-positions-panel .gc-table-wrap,
#gc-orders-panel .gc-table-wrap,
#gc-executions-panel .gc-table-wrap {
  max-height: none;
  overflow-y: visible;
}

/* ── FIX 5: Empty state quality — intentional, not broken ──────────────── */
.gc-empty {
  text-align: center;
  padding: 18px 16px;
  color: var(--eq-readable-dim, rgba(120, 150, 174, 0.72));
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Stat list items: at least min-width so they don't collapse */
.gc-stat-list strong {
  min-width: 48px;
  display: inline-block;
}

/* Tile meta (source line): make it more visible */
.gc-tile-meta {
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
  opacity: 0.72;
  margin-top: auto;
  padding-top: 8px;
}

/* ── FIX 6: Premium blue glass reference — card hierarchy ───────────────── */
/* Stronger h2 titles to lead the card hierarchy */
.gc-tile h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(220, 244, 255, 0.96);
  text-shadow: 0 0 14px rgba(0, 190, 255, 0.22);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 195, 255, 0.14);
}

/* KPI row: more distinct instrument feel */
.gc-kpi {
  border-top: 1px solid rgba(0, 195, 255, 0.18);
  transition: border-color 0.15s ease;
}

.gc-kpi:hover {
  border-top-color: rgba(0, 220, 255, 0.34);
}

/* Topbar chip instruments */
.gc-ticker {
  border: 1px solid rgba(0, 195, 255, 0.18);
  border-radius: 6px;
  padding: 3px 8px;
  background: rgba(1, 6, 14, 0.54);
}

/* ── FIX 6: Light Command — preserve readability over chrome ────────────── */
[data-theme="light-command"] .gc-tile,
[data-theme="light-command"] .gc-summary-card,
[data-theme="light-command"] .gc-mini-tile {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(30, 100, 200, 0.16);
}

[data-theme="light-command"] .gc-tile h2 {
  color: rgba(10, 28, 58, 0.94);
  text-shadow: none;
  border-bottom-color: rgba(30, 100, 200, 0.12);
}

/* ── FIX 6: Quantum Green — keep as optional theme, no green default ─────── */
[data-theme="quantum-green"] {
  --eq-corner-cyan: rgba(0, 220, 130, 0.22);
  --eq-corner-dim:  rgba(0,  90, 56, 0.09);
}

/* DEMO5000 + Per-Symbol: safety lock unchanged */
.demo5000-safety-panel:hover,
.demo5000-safety-panel:focus-within,
#gc-per-symbol-trace-panel:hover,
#gc-per-symbol-trace-panel:focus-within {
  transform: none !important;
  filter: none !important;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .gc-tile::before,
  .gc-tile::after,
  .gc-topbar,
  .gc-sidebar {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END SCIFI_UI_015_VISUAL_DIRECTION_CORRECTION                              */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SCIFI_CC_016A — Bot Truth / Executions / Exchange Matrix CSS              */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ── Bot truth grid ──────────────────────────────────────────────────────── */
.gc-bot-truth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 14px 0 10px;
  padding: 12px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 0%, rgba(0, 180, 255, 0.06), transparent 40%),
    rgba(2, 8, 18, 0.68);
  border: 1px solid rgba(0, 195, 255, 0.14);
}

.gc-bot-lock-explain {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 2px solid rgba(0, 195, 255, 0.20);
  padding-left: 12px;
}

.gc-bot-lock-explain.is-ok {
  border-left-color: rgba(0, 220, 120, 0.55);
}

.gc-bot-lock-explain.is-warn {
  border-left-color: rgba(255, 180, 0, 0.55);
}

.gc-bot-lock-reasons {
  margin: 0;
  padding-left: 18px;
}

.gc-bot-lock-explain .gc-tile-meta {
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.gc-bot-lock-explain code {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  background: rgba(0, 195, 255, 0.12);
  border-radius: 3px;
  padding: 1px 4px;
  color: rgba(0, 220, 255, 0.90);
}

[data-theme="light-command"] .gc-bot-truth-grid {
  background: rgba(240, 248, 255, 0.90);
  border-color: rgba(3, 105, 161, 0.14);
}

[data-theme="light-command"] .gc-bot-lock-explain {
  border-left-color: rgba(3, 105, 161, 0.22);
}

[data-theme="light-command"] .gc-bot-lock-explain code {
  background: rgba(3, 105, 161, 0.10);
  color: rgba(3, 80, 130, 0.90);
}

/* ── Executions 9-column table ──────────────────────────────────────────── */
.gc-executions-table {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  min-width: 900px;
}

.gc-executions-table thead th {
  white-space: nowrap;
  padding: 4px 8px;
  font-size: 9px;
}

.gc-executions-table tbody td {
  padding: 4px 8px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* ── Exchange matrix table ─────────────────────────────────────────────── */
.gc-exchange-matrix-table {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  min-width: 800px;
}

.gc-exchange-matrix-table thead th {
  white-space: nowrap;
  padding: 4px 8px;
  font-size: 9px;
}

.gc-exchange-matrix-table tbody td {
  padding: 4px 8px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ── Motion safety ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gc-bot-truth-grid,
  .gc-exchange-matrix-table,
  .gc-executions-table {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END SCIFI_CC_016A                                                          */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SCIFI_UI_013B — TILE BORDER BRIGHTENER + PULSING HUD GLOW                 */
/* CSS-only · No HTML · No JS · No backend                                   */
/* A) Brighter thin edge highlight (+25–30 % opacity)                        */
/* B) Doubled ambient backglow behind each tile                               */
/* C) Slow elegant breathing pulse (5 s, luxury HUD, not disco)              */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ── CSS variables: glow palette (nexus-blue) ─────────────────────────────── */
:root,
[data-theme="nexus-blue"] {
  --gc-tile-edge:       rgba(0, 215, 255, 0.28);   /* bright thin frame */
  --gc-tile-edge-top:   rgba(210, 248, 255, 0.28); /* white-ice top bevel */
  --gc-tile-halo-low:   rgba(0, 195, 255, 0.10);   /* resting glow */
  --gc-tile-halo-high:  rgba(0, 210, 255, 0.22);   /* peak breath glow */
  --gc-tile-ring-low:   rgba(0, 205, 255, 0.18);   /* resting ring */
  --gc-tile-ring-high:  rgba(0, 218, 255, 0.34);   /* peak ring */
}

[data-theme="quantum-green"] {
  --gc-tile-edge:       rgba(0, 225, 130, 0.28);
  --gc-tile-edge-top:   rgba(180, 255, 215, 0.26);
  --gc-tile-halo-low:   rgba(0, 200, 110, 0.10);
  --gc-tile-halo-high:  rgba(0, 215, 120, 0.22);
  --gc-tile-ring-low:   rgba(0, 210, 120, 0.18);
  --gc-tile-ring-high:  rgba(0, 228, 135, 0.34);
}

[data-theme="light-command"] {
  --gc-tile-edge:       rgba(3, 105, 161, 0.28);
  --gc-tile-edge-top:   rgba(255, 255, 255, 0.92);
  --gc-tile-halo-low:   rgba(3, 105, 161, 0.06);
  --gc-tile-halo-high:  rgba(3, 105, 161, 0.12);
  --gc-tile-ring-low:   rgba(3, 105, 161, 0.14);
  --gc-tile-ring-high:  rgba(3, 105, 161, 0.26);
}

/* ── A) Brighter thin edge highlight ─────────────────────────────────────── */
/* Top bevel: white-ice highlight, clearly visible fine edge */
.gc-tile,
.gc-summary-card,
.gc-mini-tile {
  border-top: 1px solid var(--gc-tile-edge-top);
  border-left: 1px solid rgba(200, 244, 255, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.52);
  border-bottom: 2px solid rgba(0, 0, 0, 0.72);
  box-shadow:
    0 0 0 1px var(--gc-tile-ring-low),       /* thin cyan ring */
    0 20px 46px rgba(0, 0, 0, 0.54),          /* depth shadow */
    0 1px 0 var(--gc-tile-edge-top) inset,    /* top inner bevel */
    0 0 32px var(--gc-tile-halo-low);         /* ambient backglow */
}

/* ::before glass sweep: slightly brighter (was 0.24, now 0.32) */
.gc-tile::before,
.gc-summary-card::before,
.gc-mini-tile::before {
  opacity: 0.32;
}

/* ── B+C) Breathing pulse keyframe ──────────────────────────────────────── */
/* 5-second slow luxury HUD breath — doubles glow amplitude at midpoint */
@keyframes gc-tile-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 1px var(--gc-tile-ring-low),
      0 20px 46px rgba(0, 0, 0, 0.54),
      0 1px 0 var(--gc-tile-edge-top) inset,
      0 0 32px var(--gc-tile-halo-low);
  }
  50% {
    box-shadow:
      0 0 0 1px var(--gc-tile-ring-high),
      0 20px 46px rgba(0, 0, 0, 0.54),
      0 1px 0 var(--gc-tile-edge-top) inset,
      0 0 62px var(--gc-tile-halo-high);
  }
}

/* Apply breathing to all standard tiles */
.gc-tile,
.gc-summary-card,
.gc-mini-tile {
  animation: gc-tile-breathe 5s ease-in-out infinite;
}

/* Hover: stop breathing, switch to sharp hover state */
.gc-tile:hover,
.gc-tile:focus-within {
  animation-play-state: paused;
  box-shadow:
    0 0 0 1px var(--gc-tile-ring-high),
    0 20px 46px rgba(0, 0, 0, 0.54),
    0 1px 0 var(--gc-tile-edge-top) inset,
    0 0 72px var(--gc-tile-halo-high),
    0 0 140px rgba(0, 195, 255, 0.10);
}

/* ── Safety: DEMO5000 + Per-Symbol: no animation escalation ─────────────── */
.demo5000-safety-panel {
  animation: none !important;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48),
    0 1px 0 rgba(170, 235, 255, 0.14) inset,
    0 -16px 32px rgba(0, 0, 0, 0.30) inset,
    0 0 22px rgba(0, 160, 210, 0.07) !important;
}

.demo5000-safety-panel:hover,
.demo5000-safety-panel:focus-within {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

/* ── Light-command: soft breathing, less glow ────────────────────────────── */
[data-theme="light-command"] .gc-tile,
[data-theme="light-command"] .gc-summary-card,
[data-theme="light-command"] .gc-mini-tile {
  border-top: 1px solid rgba(255, 255, 255, 0.96);
  animation: gc-tile-breathe 6s ease-in-out infinite;
}

/* ── Stagger: avoid all tiles pulsing in sync ────────────────────────────── */
.gc-tile:nth-child(2n)   { animation-delay: -1.2s; }
.gc-tile:nth-child(3n)   { animation-delay: -2.4s; }
.gc-tile:nth-child(4n)   { animation-delay: -3.6s; }
.gc-tile:nth-child(5n)   { animation-delay: -0.7s; }

/* ── Reduced motion: no pulse ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gc-tile,
  .gc-summary-card,
  .gc-mini-tile {
    animation: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END SCIFI_UI_013B_TILE_BORDER_AND_GLOW_TUNE                               */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════ */
/* NEXUS_AI_CC_THEME_04 — Deep Cyber Glow                                    */
/* ══════════════════════════════════════════════════════════════════════════ */

@keyframes eqDeepCyberPulseGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(27, 66, 115, 0.42),
      0 20px 46px rgba(0, 0, 0, 0.54),
      0 1px 0 rgba(0, 168, 255, 0.14) inset,
      0 0 20px -5px rgba(0, 168, 255, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 168, 255, 0.48),
      0 20px 46px rgba(0, 0, 0, 0.54),
      0 1px 0 rgba(0, 168, 255, 0.18) inset,
      0 0 30px -2px rgba(0, 168, 255, 0.22);
  }
}

[data-theme="deep-cyber-glow"] {
  /* Task palette */
  --eq-bg-deep-canvas: #030914;
  --eq-card-base: #061224;
  --eq-card-inner-glow: #0b2240;
  --eq-glass-border: #15325c;
  --eq-glass-border-strong: #1b4273;
  --eq-neon-blue: #00a8ff;
  --eq-hud-slate-blue: #4682b4;
  --eq-bullish-green: #00ffcc;
  --eq-bullish-green-alt: #10b981;
  --eq-bearish-red: #ef4444;
  --eq-bearish-red-alt: #ff4d4d;
  --eq-warning-amber: #f59e0b;
  --eq-chart-cyan: #00e5ff;
  --eq-chart-blue: #0088cc;
  --eq-chart-dark-blue: #005599;
  --eq-chart-deep-blue: #002b55;
  --eq-text-primary: #ffffff;
  --eq-text-secondary: #94a3b8;
  --eq-card-glow: rgba(0, 168, 255, 0.15);
  --eq-card-glow-strong: rgba(0, 168, 255, 0.22);
  --eq-card-hover-glow: rgba(0, 255, 204, 0.35);

  /* Remap core gc tokens */
  --gc-bg: var(--eq-bg-deep-canvas);
  --gc-bg-mid: #05101f;
  --gc-panel: rgba(6, 18, 36, 0.75);
  --gc-glass: rgba(0, 168, 255, 0.05);
  --gc-border: var(--eq-glass-border);
  --gc-border-soft: rgba(21, 50, 92, 0.42);
  --gc-cyan: var(--eq-neon-blue);
  --gc-cyan-bright: #33bbff;
  --gc-aqua: var(--eq-chart-cyan);
  --gc-text: var(--eq-text-primary);
  --gc-muted: var(--eq-text-secondary);
  --gc-green: var(--eq-bullish-green);
  --gc-orange: var(--eq-warning-amber);
  --gc-red: var(--eq-bearish-red);
  --gc-amber: var(--eq-warning-amber);
  --gc-glow: 0 0 25px -5px var(--eq-card-glow);
  --gc-glow-neon: 0 0 38px var(--eq-card-glow-strong), 0 0 90px rgba(0, 168, 255, 0.08);
  --gc-glow-panel: 0 0 18px var(--eq-card-glow);
  --gc-glass-inset: inset 0 1px 0 rgba(0, 168, 255, 0.10), inset 0 -1px 0 rgba(0, 0, 0, 0.48);
  --gc-mesh-line: rgba(0, 168, 255, 0.04);

  /* Readability / data surfaces */
  --eq-readable-label: rgba(148, 163, 184, 0.92);
  --eq-readable-value: var(--eq-text-primary);
  --eq-readable-dim: rgba(70, 130, 180, 0.82);
  --eq-data-surface: rgba(6, 18, 36, 0.82);
  --eq-data-surface-2: rgba(11, 34, 64, 0.76);
  --eq-data-line: rgba(0, 168, 255, 0.18);

  /* Chassis / hardware */
  --eq-chassis-bg: var(--eq-bg-deep-canvas);
  --eq-chassis-rail: rgba(3, 9, 20, 0.98);
  --eq-well-bg: rgba(4, 12, 24, 0.84);
  --eq-hardware-edge: rgba(0, 168, 255, 0.44);
  --eq-hardware-edge-soft: rgba(0, 168, 255, 0.16);
  --eq-hardware-shadow: rgba(0, 0, 0, 0.78);
  --eq-hardware-highlight: rgba(0, 229, 255, 0.10);
  --eq-corner-cyan: rgba(0, 229, 255, 0.82);
  --eq-corner-dim: rgba(0, 85, 153, 0.34);

  /* Tile edge / halo (chart-adjacent glow system) */
  --gc-tile-edge: rgba(0, 168, 255, 0.30);
  --gc-tile-edge-top: rgba(0, 229, 255, 0.24);
  --gc-tile-halo-low: var(--eq-card-glow);
  --gc-tile-halo-high: var(--eq-card-glow-strong);
  --gc-tile-ring-low: rgba(0, 168, 255, 0.20);
  --gc-tile-ring-high: rgba(0, 168, 255, 0.36);
}

.gc-body[data-theme="deep-cyber-glow"] {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 168, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(0, 85, 153, 0.06), transparent 45%),
    linear-gradient(180deg, var(--eq-bg-deep-canvas) 0%, #02060d 50%, var(--gc-bg-mid) 100%);
  background-color: var(--eq-bg-deep-canvas);
}

[data-theme="deep-cyber-glow"] .gc-sidebar {
  background:
    linear-gradient(175deg, rgba(4, 12, 24, 0.99) 0%, rgba(3, 9, 20, 1) 38%, rgba(2, 6, 14, 1) 100%);
  scrollbar-color: rgba(0, 168, 255, 0.35) transparent;
}

[data-theme="deep-cyber-glow"] .gc-sidebar::after {
  background: linear-gradient(to bottom, rgba(0, 168, 255, 0.52) 0%, rgba(0, 85, 153, 0.06) 100%);
}

[data-theme="deep-cyber-glow"] .gc-sidebar-foot {
  border-top-color: var(--eq-glass-border);
}

[data-theme="deep-cyber-glow"] .gc-topbar {
  background: linear-gradient(180deg, rgba(4, 14, 28, 0.97) 0%, rgba(3, 9, 20, 0.94) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.42), 0 1px 0 var(--eq-glass-border);
}

[data-theme="deep-cyber-glow"] .gc-tile,
[data-theme="deep-cyber-glow"] .gc-summary-card,
[data-theme="deep-cyber-glow"] .gc-mini-tile {
  background:
    radial-gradient(ellipse 62% 48% at 12% 6%, rgba(11, 34, 64, 0.72), transparent 62%),
    radial-gradient(ellipse 50% 40% at 92% 96%, rgba(0, 0, 0, 0.42), transparent 62%),
    linear-gradient(148deg, rgba(6, 18, 36, 0.75) 0%, rgba(4, 12, 24, 0.88) 100%);
  border: 1px solid var(--eq-glass-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px -5px var(--eq-card-glow);
  animation: eqDeepCyberPulseGlow 4s ease-in-out infinite;
}

[data-theme="deep-cyber-glow"] .gc-tile::after,
[data-theme="deep-cyber-glow"] .gc-summary-card::after,
[data-theme="deep-cyber-glow"] .gc-mini-tile::after {
  background: linear-gradient(to bottom, rgba(0, 168, 255, 0.48) 0%, rgba(0, 85, 153, 0.05) 100%);
}

[data-theme="deep-cyber-glow"] .gc-tile:hover,
[data-theme="deep-cyber-glow"] .gc-tile:focus-within,
[data-theme="deep-cyber-glow"] .gc-summary-card:hover,
[data-theme="deep-cyber-glow"] .gc-summary-card:focus-within,
[data-theme="deep-cyber-glow"] .gc-mini-tile:hover,
[data-theme="deep-cyber-glow"] .gc-mini-tile:focus-within {
  animation-play-state: paused;
  border-color: var(--eq-neon-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 35px 2px var(--eq-card-hover-glow);
}

[data-theme="deep-cyber-glow"] .gc-nav a:hover {
  color: var(--eq-neon-blue);
  background: rgba(0, 168, 255, 0.08);
}

[data-theme="deep-cyber-glow"] .gc-nav a.is-active {
  color: var(--eq-text-primary);
  background: linear-gradient(90deg, rgba(0, 168, 255, 0.18), rgba(0, 168, 255, 0.04));
  border-left-color: var(--eq-neon-blue);
}

[data-theme="deep-cyber-glow"] .gc-table th {
  color: var(--eq-hud-slate-blue);
  border-bottom-color: var(--eq-glass-border);
}

[data-theme="deep-cyber-glow"] .gc-table td {
  color: var(--eq-text-primary);
}

[data-theme="deep-cyber-glow"] .gc-table tbody tr:nth-child(even) {
  background: rgba(0, 168, 255, 0.03);
}

[data-theme="deep-cyber-glow"] .gc-table-wrap {
  border-color: var(--eq-glass-border);
}

[data-theme="deep-cyber-glow"] .gc-tile h2 {
  color: var(--eq-text-primary);
}

[data-theme="deep-cyber-glow"] .gc-tile h2::after {
  background: var(--eq-neon-blue);
}

[data-theme="deep-cyber-glow"] .gc-tile-meta,
[data-theme="deep-cyber-glow"] .gc-tile-hint {
  color: var(--eq-text-secondary);
}

[data-theme="deep-cyber-glow"] .gc-kpi strong,
[data-theme="deep-cyber-glow"] .gc-bot-chip strong,
[data-theme="deep-cyber-glow"] .gc-page-summary-cell strong {
  color: var(--eq-text-primary);
}

[data-theme="deep-cyber-glow"] .gc-kpi span,
[data-theme="deep-cyber-glow"] .gc-bot-chip span,
[data-theme="deep-cyber-glow"] .gc-page-summary-cell span {
  color: var(--eq-text-secondary);
}

[data-theme="deep-cyber-glow"] .gc-side-long,
[data-theme="deep-cyber-glow"] .gc-equity-delta.up,
[data-theme="deep-cyber-glow"] .gc-badge.ok,
[data-theme="deep-cyber-glow"] .demo5000-safety-chip.is-safe {
  color: var(--eq-bullish-green);
}

[data-theme="deep-cyber-glow"] .gc-side-short,
[data-theme="deep-cyber-glow"] .gc-equity-delta.down,
[data-theme="deep-cyber-glow"] .gc-badge.err {
  color: var(--eq-bearish-red);
}

[data-theme="deep-cyber-glow"] .gc-badge.warn,
[data-theme="deep-cyber-glow"] .demo5000-safety-chip.is-watch,
[data-theme="deep-cyber-glow"] .demo5000-safety-chip.is-attn {
  color: var(--eq-warning-amber);
}

[data-theme="deep-cyber-glow"] .gc-trace-chip.trace-ok {
  color: var(--eq-bullish-green-alt);
  border-color: rgba(16, 185, 129, 0.36);
}

[data-theme="deep-cyber-glow"] .gc-trace-chip.trace-blocked,
[data-theme="deep-cyber-glow"] .gc-trace-chip.trace-policy {
  color: var(--eq-bearish-red);
  border-color: rgba(239, 68, 68, 0.36);
}

[data-theme="deep-cyber-glow"] .gc-trace-chip.trace-missing,
[data-theme="deep-cyber-glow"] .gc-trace-chip.trace-gate {
  color: var(--eq-warning-amber);
  border-color: rgba(245, 158, 11, 0.36);
}

[data-theme="deep-cyber-glow"] .gc-trace-chip.trace-owner {
  color: var(--eq-neon-blue);
  border-color: rgba(0, 168, 255, 0.36);
}

[data-theme="deep-cyber-glow"] .gc-hud-ring {
  border-color: rgba(0, 168, 255, 0.34);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 168, 255, 0.10), transparent 60%),
    rgba(3, 9, 20, 0.86);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.62),
    0 0 18px rgba(0, 168, 255, 0.20),
    inset 0 0 20px rgba(0, 0, 0, 0.64),
    inset 0 1px 0 rgba(0, 229, 255, 0.08);
  color: var(--eq-chart-cyan);
}

[data-theme="deep-cyber-glow"] .gc-hud-ring::before {
  border-color: rgba(0, 168, 255, 0.16);
}

/* Donut / chart palette hooks (theme colors only — no data) */
[data-theme="deep-cyber-glow"] .gc-chart,
[data-theme="deep-cyber-glow"] #gc-equity-chart-tile .gc-chart {
  --eq-chart-seg-1: var(--eq-chart-cyan);
  --eq-chart-seg-2: var(--eq-chart-blue);
  --eq-chart-seg-3: var(--eq-chart-dark-blue);
  --eq-chart-seg-4: var(--eq-chart-deep-blue);
}

[data-theme="deep-cyber-glow"] .gc-chart canvas,
[data-theme="deep-cyber-glow"] .gc-chart-wave-deco .gc-wave-line {
  filter: drop-shadow(0 0 8px rgba(0, 168, 255, 0.12));
}

[data-theme="deep-cyber-glow"] .demo5000-safety-panel {
  animation: none !important;
  border-color: var(--eq-glass-border-strong);
}

[data-theme="deep-cyber-glow"] .demo5000-safety-panel:hover,
[data-theme="deep-cyber-glow"] .demo5000-safety-panel:focus-within {
  animation: none !important;
  transform: none !important;
}

[data-theme="deep-cyber-glow"] .gc-theme-switcher select {
  border-color: var(--eq-glass-border);
  color: var(--eq-text-primary);
  background: rgba(6, 18, 36, 0.88);
}

[data-theme="deep-cyber-glow"] .gc-tile:nth-child(2n)   { animation-delay: -0.8s; }
[data-theme="deep-cyber-glow"] .gc-tile:nth-child(3n)   { animation-delay: -1.6s; }
[data-theme="deep-cyber-glow"] .gc-tile:nth-child(4n)   { animation-delay: -2.4s; }
[data-theme="deep-cyber-glow"] .gc-tile:nth-child(5n)   { animation-delay: -3.2s; }

@media (prefers-reduced-motion: reduce) {
  [data-theme="deep-cyber-glow"] .gc-tile,
  [data-theme="deep-cyber-glow"] .gc-summary-card,
  [data-theme="deep-cyber-glow"] .gc-mini-tile {
    animation: none !important;
    box-shadow: 0 0 25px -5px var(--eq-card-glow) !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END NEXUS_AI_CC_THEME_04 — Deep Cyber Glow                                */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SCIFI_UI_016 — Topbar kill switch + blue theme hover/sidebar parity       */
/* ══════════════════════════════════════════════════════════════════════════ */

.gc-topbar-kill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 2px 10px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(8, 12, 22, 0.72);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.42) inset;
}

.gc-kill-status-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gc-muted);
}

.gc-kill-status {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.92);
  min-width: 2.6em;
}

.gc-topbar-kill.is-armed {
  border-color: rgba(248, 113, 113, 0.72);
  box-shadow:
    0 0 18px rgba(248, 113, 113, 0.28),
    0 0 0 1px rgba(248, 113, 113, 0.18) inset;
}

.gc-topbar-kill.is-armed .gc-kill-status {
  color: var(--gc-red);
  text-shadow: 0 0 12px rgba(248, 113, 113, 0.55);
}

.gc-btn-kill-topbar {
  padding: 4px 10px;
  min-height: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Blue themes: panel hover halo behind tile (match quantum-green drop-shadow) */
[data-theme="nexus-blue"] .gc-tile:hover,
[data-theme="nexus-blue"] .gc-tile:focus-within,
[data-theme="nexus-blue"] .gc-summary-card:hover,
[data-theme="nexus-blue"] .gc-summary-card:focus-within,
[data-theme="nexus-blue"] .gc-mini-tile:hover,
[data-theme="nexus-blue"] .gc-mini-tile:focus-within,
[data-theme="deep-cyber-glow"] .gc-tile:hover,
[data-theme="deep-cyber-glow"] .gc-tile:focus-within,
[data-theme="deep-cyber-glow"] .gc-summary-card:hover,
[data-theme="deep-cyber-glow"] .gc-summary-card:focus-within,
[data-theme="deep-cyber-glow"] .gc-mini-tile:hover,
[data-theme="deep-cyber-glow"] .gc-mini-tile:focus-within {
  filter:
    drop-shadow(0 0 40px rgba(0, 195, 255, 0.48))
    drop-shadow(0 0 80px rgba(0, 195, 255, 0.15));
}

[data-theme="deep-cyber-glow"] .gc-tile:hover,
[data-theme="deep-cyber-glow"] .gc-tile:focus-within,
[data-theme="deep-cyber-glow"] .gc-summary-card:hover,
[data-theme="deep-cyber-glow"] .gc-summary-card:focus-within,
[data-theme="deep-cyber-glow"] .gc-mini-tile:hover,
[data-theme="deep-cyber-glow"] .gc-mini-tile:focus-within {
  filter:
    drop-shadow(0 0 40px rgba(0, 168, 255, 0.48))
    drop-shadow(0 0 80px rgba(0, 168, 255, 0.15));
}

/* Blue themes: calm sidebar nav default (revert bright tile chrome) */
[data-theme="nexus-blue"] .gc-nav a:not(:hover):not(.is-active),
[data-theme="deep-cyber-glow"] .gc-nav a:not(:hover):not(.is-active) {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
  filter: none;
  transform: none;
}

[data-theme="nexus-blue"] .gc-nav a:hover,
[data-theme="deep-cyber-glow"] .gc-nav a:hover {
  color: var(--gc-cyan-bright);
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow:
    0 0 32px rgba(6, 182, 212, 0.40),
    0 0 64px rgba(6, 182, 212, 0.10),
    inset 0 0 20px rgba(6, 182, 212, 0.08);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.52);
  transform: none;
}

[data-theme="deep-cyber-glow"] .gc-nav a:hover {
  color: var(--eq-neon-blue);
  background: rgba(0, 168, 255, 0.10);
  border-color: rgba(0, 168, 255, 0.28);
  box-shadow:
    0 0 32px rgba(0, 168, 255, 0.32),
    inset 0 0 18px rgba(0, 168, 255, 0.08);
  text-shadow: 0 0 20px rgba(0, 168, 255, 0.45);
}

[data-theme="nexus-blue"] .gc-nav a.is-active,
[data-theme="deep-cyber-glow"] .gc-nav a.is-active {
  transform: none;
}

.demo5000-safety-panel:hover,
.demo5000-safety-panel:focus-within,
#gc-per-symbol-trace-panel:hover,
#gc-per-symbol-trace-panel:focus-within {
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="nexus-blue"] .gc-tile:hover,
  [data-theme="nexus-blue"] .gc-tile:focus-within,
  [data-theme="deep-cyber-glow"] .gc-tile:hover,
  [data-theme="deep-cyber-glow"] .gc-tile:focus-within {
    filter: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END SCIFI_UI_016                                                          */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════ */
/* SCIFI_UI_017 — Tile default edges + topbar fit + soak-friendly strip CSS  */
/* Overrides SCIFI_UI_013B left-edge flood and topbar clip at ~1920px        */
/* ══════════════════════════════════════════════════════════════════════════ */

html,
body.gc-body {
  overflow-x: hidden;
}

.gc-main {
  overflow-x: hidden;
}

/* Topbar: wrap controls instead of clipping off-screen */
.gc-topbar {
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  row-gap: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
  max-height: none;
  overflow: visible;
}

.gc-topbar-tickers {
  flex: 0 1 auto;
  min-width: 0;
}

.gc-topbar-meta {
  flex: 1 1 480px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: center;
  min-width: 0;
  max-width: 100%;
  gap: 6px 8px;
  row-gap: 6px;
}

.gc-topbar-meta label,
.gc-topbar-meta .gc-topbar-kill,
.gc-topbar-meta .gc-trading-mode-switch,
.gc-topbar-meta .gc-mode-banner,
.gc-topbar-meta .gc-owner-state-badge,
.gc-topbar-meta .gc-badge,
.gc-topbar-meta #gc-freshness,
.gc-topbar-meta #gc-clock {
  flex-shrink: 0;
}

.gc-theme-switcher select,
.gc-role-preview select,
.gc-owner-edit-toggle select {
  max-width: 11rem;
}

.gc-mode-banner {
  max-width: min(240px, 42vw);
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.gc-trading-mode-switch {
  flex-wrap: wrap;
  max-width: 100%;
}

.gc-mode-tab {
  padding: 3px 8px;
  font-size: 9px;
}

.gc-topbar .gc-mode-switch-hint {
  display: none;
}

.gc-owner-state-badge {
  font-size: 9px;
  padding: 3px 7px;
  letter-spacing: 0.04em;
}

@media (max-width: 1500px) {
  .gc-topbar-tickers {
    display: none;
  }
}

@media (max-width: 1200px) {
  .gc-topbar-meta #gc-freshness,
  .gc-topbar-meta #gc-clock {
    display: none;
  }

  .gc-mode-banner {
    max-width: min(200px, 38vw);
  }
}

/* Blue themes: calm corner wash (no left-edge flood) */
:root,
[data-theme="nexus-blue"],
[data-theme="deep-cyber-glow"] {
  --eq-corner-cyan: rgba(0, 195, 255, 0.07);
  --eq-corner-dim: rgba(0, 88, 150, 0.04);
}

/* Default tiles: uniform subtle border — match quantum-green calm default */
.gc-tile,
.gc-summary-card,
.gc-mini-tile {
  border: 1px solid rgba(0, 195, 255, 0.20) !important;
  border-top-color: rgba(200, 244, 255, 0.12) !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.46),
    0 1px 0 rgba(200, 245, 255, 0.07) inset,
    0 -12px 24px rgba(0, 0, 0, 0.26) inset !important;
  animation: none !important;
}

[data-theme="deep-cyber-glow"] .gc-tile,
[data-theme="deep-cyber-glow"] .gc-summary-card,
[data-theme="deep-cyber-glow"] .gc-mini-tile {
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(0, 168, 255, 0.06), transparent 58%),
    radial-gradient(ellipse 48% 38% at 92% 97%, rgba(0, 0, 0, 0.32), transparent 60%),
    linear-gradient(148deg, rgba(6, 18, 36, 0.88) 0%, rgba(4, 12, 24, 0.94) 100%) !important;
  animation: none !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.48),
    0 1px 0 rgba(0, 229, 255, 0.08) inset,
    0 -12px 24px rgba(0, 0, 0, 0.28) inset !important;
}

.gc-tile::before,
.gc-summary-card::before,
.gc-mini-tile::before {
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.05) 0%, transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 16%) !important;
  background-size: auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0.14 !important;
  mix-blend-mode: normal !important;
}

.gc-tile::after,
.gc-summary-card::after,
.gc-mini-tile::after {
  background: none !important;
  padding: 0 !important;
  -webkit-mask: none !important;
  mask: none !important;
  box-shadow:
    0 -10px 22px rgba(0, 0, 0, 0.20) inset,
    0 0 14px rgba(0, 195, 255, 0.025) inset !important;
}

[data-theme="deep-cyber-glow"] .gc-tile::after,
[data-theme="deep-cyber-glow"] .gc-summary-card::after,
[data-theme="deep-cyber-glow"] .gc-mini-tile::after {
  background: none !important;
}

/* Tile title rail: subtle default, glow only on hover/focus */
.gc-tile h2::before {
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 195, 255, 0.40), rgba(0, 195, 255, 0.10));
  box-shadow: none;
  opacity: 0.75;
}

.gc-tile:hover h2::before,
.gc-tile:focus-within h2::before {
  box-shadow: 0 0 10px rgba(0, 195, 255, 0.30);
  opacity: 1;
}

/* Hover: restore clearly visible backglow */
[data-theme="nexus-blue"] .gc-tile:hover,
[data-theme="nexus-blue"] .gc-tile:focus-within,
[data-theme="nexus-blue"] .gc-summary-card:hover,
[data-theme="nexus-blue"] .gc-mini-tile:hover,
[data-theme="deep-cyber-glow"] .gc-tile:hover,
[data-theme="deep-cyber-glow"] .gc-tile:focus-within,
[data-theme="deep-cyber-glow"] .gc-summary-card:hover,
[data-theme="deep-cyber-glow"] .gc-mini-tile:hover {
  border-color: rgba(82, 228, 255, 0.46) !important;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.56),
    0 0 38px rgba(0, 195, 255, 0.24),
    0 0 82px rgba(0, 195, 255, 0.11),
    0 1px 0 rgba(200, 245, 255, 0.10) inset,
    0 -12px 24px rgba(0, 0, 0, 0.28) inset !important;
  transform: translateY(-1px);
}

[data-theme="nexus-blue"] .gc-tile:hover::before,
[data-theme="nexus-blue"] .gc-tile:focus-within::before,
[data-theme="nexus-blue"] .gc-summary-card:hover::before,
[data-theme="nexus-blue"] .gc-mini-tile:hover::before,
[data-theme="deep-cyber-glow"] .gc-tile:hover::before,
[data-theme="deep-cyber-glow"] .gc-tile:focus-within::before,
[data-theme="deep-cyber-glow"] .gc-summary-card:hover::before,
[data-theme="deep-cyber-glow"] .gc-mini-tile:hover::before {
  background:
    radial-gradient(circle at 50% 72%, rgba(0, 208, 255, 0.22), transparent 58%),
    linear-gradient(128deg, rgba(255, 255, 255, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 16%) !important;
  opacity: 0.34 !important;
}

/* Active sidebar: left accent only when active/hover (not all nav items) */
[data-theme="nexus-blue"] .gc-nav a.is-active,
[data-theme="deep-cyber-glow"] .gc-nav a.is-active {
  border-left: 2px solid rgba(0, 195, 255, 0.42);
}

[data-theme="deep-cyber-glow"] .gc-nav a.is-active {
  border-left-color: var(--eq-neon-blue);
}

[data-theme="nexus-blue"] .gc-nav a:not(.is-active),
[data-theme="deep-cyber-glow"] .gc-nav a:not(.is-active) {
  border-left-color: transparent;
}

/* Operational strip (entries paused etc.) when soak complete */
.gc-strip.is-visible:not(.is-soak) {
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .gc-tile,
  .gc-summary-card,
  .gc-mini-tile,
  [data-theme="deep-cyber-glow"] .gc-tile {
    animation: none !important;
  }
}

.gc-scanner-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
  align-items: flex-end;
}

.gc-owner-hold-banner {
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 6px;
  font-size: 11px;
  color: var(--gc-muted, #94a3b8);
}

/* Batch 024 — key badges, macro banner, news live, §24 print */
.gc-key-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--gc-muted, #94a3b8);
  background: rgba(15, 23, 42, 0.55);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-key-badge.is-ok {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
}

.gc-key-badge.is-warn {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}

.gc-key-badge.is-missing {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
}

.gc-macro-fred-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.08);
}

.gc-macro-fred-banner strong {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gc-macro-fred-banner span {
  font-size: 12px;
  color: var(--gc-text, #e2e8f0);
}

.gc-macro-fred-banner.is-ok {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.1);
}

.gc-macro-fred-banner.is-missing {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.08);
}

#gc-news-panel.gc-news-live {
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35), 0 8px 24px rgba(0, 168, 255, 0.08);
}

#gc-news-panel.gc-news-live #gc-news-key-status {
  color: #10b981;
}

@media print {
  .gc-sidebar,
  .gc-topbar,
  .gc-context-bar,
  .gc-strip,
  .gc-section24-toolbar,
  .gc-nav {
    display: none !important;
  }

  .gc-section24-panel,
  .gc-section24-list {
    break-inside: avoid;
  }

  .gc-main {
    margin: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 1100px) {
  .gc-key-badge {
    display: none;
  }

  .gc-demo-gate-banner {
    max-width: min(180px, 34vw);
  }

  .gc-context-bar {
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 8px 10px;
  }

  .gc-breadcrumb {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    font-size: 10px;
  }

  .gc-work-context {
    width: 100%;
    font-size: 9px;
    line-height: 1.35;
    word-break: break-word;
  }

  .gc-demo-go-hero-title {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .gc-demo-go-nogo {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END SCIFI_UI_017                                                          */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════ */
/* MODULE TOGGLE PANEL — 4-Way Tier Buttons + Inventar Summary              */
/* ══════════════════════════════════════════════════════════════════════════ */

/* --- 4-Way Tier Button Group (per row) --- */
.gc-mod-tier-btns {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.gc-mod-tier-btn {
  font-size: 8px;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 20, 35, 0.7);
  color: var(--gc-muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.4;
}

.gc-mod-tier-btn:hover:not(:disabled) {
  background: rgba(0, 180, 255, 0.12);
  color: var(--gc-cyan);
  border-color: var(--gc-cyan);
}

.gc-mod-tier-btn:disabled {
  cursor: not-allowed;
}

.gc-mod-tier-btn.is-active[data-tier="off"],
.gc-mod-tier-btn.is-active[data-tier="off"]:disabled {
  background: rgba(255, 60, 60, 0.18);
  border-color: #ff4444;
  color: #ff6666;
  font-weight: 700;
}

.gc-mod-tier-btn.is-active[data-tier="shadow"],
.gc-mod-tier-btn.is-active[data-tier="shadow"]:disabled {
  background: rgba(100, 100, 140, 0.25);
  border-color: #8888bb;
  color: #aaaadd;
  font-weight: 700;
}

.gc-mod-tier-btn.is-active[data-tier="demo"],
.gc-mod-tier-btn.is-active[data-tier="demo"]:disabled {
  background: rgba(255, 165, 0, 0.18);
  border-color: #ffaa00;
  color: #ffcc44;
  font-weight: 700;
}

.gc-mod-tier-btn.is-active[data-tier="live"],
.gc-mod-tier-btn.is-active[data-tier="live"]:disabled {
  background: rgba(0, 220, 100, 0.18);
  border-color: #00dc64;
  color: #00ff88;
  font-weight: 700;
}

/* --- Global Bulk Toolbar (alle Kategorien auf einmal) --- */
.gc-mod-bulk-all-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 15, 30, 0.6);
  border: 1px solid var(--gc-border);
  border-radius: 5px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.gc-mod-bulk-all-label {
  font-size: 9px;
  color: var(--gc-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 4px;
  white-space: nowrap;
}

.gc-mod-bulk-all-btn {
  font-size: 9px;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--gc-border);
  background: rgba(0, 30, 50, 0.7);
  color: var(--gc-muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.15s;
}

.gc-mod-bulk-all-btn:hover {
  background: rgba(0, 180, 255, 0.15);
  color: var(--gc-cyan);
  border-color: var(--gc-cyan);
}

.gc-mod-bulk-all-btn[data-tier="off"]:hover   { background: rgba(255,60,60,0.15); color:#ff6666; border-color:#ff4444; }
.gc-mod-bulk-all-btn[data-tier="live"]:hover  { background: rgba(0,220,100,0.15); color:#00ff88; border-color:#00dc64; }
.gc-mod-bulk-all-btn[data-tier="demo"]:hover  { background: rgba(255,165,0,0.15); color:#ffcc44; border-color:#ffaa00; }

/* --- Inventar Summary Cards --- */
.gc-mod-inventar-section {
  margin-bottom: 14px;
}

.gc-mod-inventar-title {
  font-size: 10px;
  color: var(--gc-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.gc-mod-inventar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px;
}

.gc-mod-inventar-card {
  background: rgba(0, 15, 30, 0.7);
  border: 1px solid var(--gc-border);
  border-radius: 5px;
  padding: 7px 10px;
  transition: border-color 0.15s;
}

.gc-mod-inventar-card:hover {
  border-color: rgba(0, 180, 255, 0.4);
}

.gc-mod-inventar-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.gc-mod-inventar-cat {
  font-size: 9px;
  color: var(--gc-cyan);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.gc-mod-inventar-count {
  font-size: 9px;
  color: var(--gc-muted);
}

.gc-mod-inventar-bar-bg {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.gc-mod-inventar-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gc-cyan), #00ff88);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.gc-mod-inventar-stats {
  display: flex;
  gap: 6px;
  font-size: 8px;
  color: var(--gc-muted);
}

.gc-mod-inventar-live   { color: #00ff88; }
.gc-mod-inventar-demo   { color: #ffcc44; }
.gc-mod-inventar-shadow { color: #aaaadd; }
.gc-mod-inventar-off    { color: #ff6666; }

/* --- Mini-Tile auf Hauptseite (345 Module Link) --- */
.gc-mini-inventar-bar-bg {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin: 4px 0 2px;
  overflow: hidden;
}

.gc-mini-inventar-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gc-cyan), #00ff88);
  border-radius: 2px;
}

.gc-mini-inventar-label {
  font-size: 8px;
  color: var(--gc-muted);
  margin-top: 2px;
}

.gc-mini-inventar-link {
  font-size: 9px;
  color: var(--gc-cyan);
  text-decoration: none;
  display: inline-block;
  margin-top: 3px;
  letter-spacing: 0.03em;
}

.gc-mini-inventar-link:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .gc-mod-inventar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gc-mod-tier-btn {
    font-size: 7px;
    padding: 2px 3px;
  }
  .gc-mod-bulk-all-bar {
    gap: 4px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* END MODULE TOGGLE PANEL                                                   */
/* ══════════════════════════════════════════════════════════════════════════ */
