/* ═══════════════════════════════════════════════════════════════════════════
   GUINET CORE — Unified Design System v1.0
   Based on: Guinet Cloud Enterprise Operations Dashboard mockup
   Compatible with: existing shell-assets utility classes, v6 particles canvas
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --gc-bg: #010103;
  --gc-surface: rgba(2, 5, 10, 0.985);
  --gc-surface-soft: rgba(4, 8, 15, 0.99);
  --gc-surface-strong: rgba(7, 12, 22, 0.995);

  /* Borders */
  --gc-line: rgba(88, 132, 241, 0.16);
  --gc-line-strong: rgba(102, 160, 255, 0.28);

  /* Text */
  --gc-text: #f3f8ff;
  --gc-muted: #7389ae;

  /* Navigation */
  --gc-nav-bg: #02040a;
  --gc-nav-2: #07101d;
  --gc-nav-text: #a9b8d3;
  --gc-nav-active: #63d0ff;

  /* Accent colors */
  --gc-blue: #51c7ff;
  --gc-green: #39ffb7;
  --gc-amber: #ffc94a;
  --gc-red: #ff5f96;
  --gc-purple: #9d6bff;
  --gc-cyan: #27e1ff;

  /* Elevation */
  --gc-shadow: 0 18px 42px rgba(0, 0, 0, 0.58);
  --gc-shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.74);
  --gc-radius: 14px;
  --gc-radius-sm: 10px;

  /* Font */
  --gc-font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── ANIMATIONS ────────────────────────────────────────────────────────── */
@keyframes gc-pulse-glow {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.18); }
}
@keyframes gc-sweep {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
@keyframes gc-rise {
  0%, 100% { transform: scaleY(.88); opacity: .78; }
  50%      { transform: scaleY(1); opacity: 1; }
}
@keyframes gc-ring-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes gc-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes gc-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

.gc-body {
  font-family: var(--gc-font);
  margin: 0;
  min-height: 100vh;
  background: #080c14;
  color: var(--gc-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── LAYOUT ────────────────────────────────────────────────────────────── */
.gc-sidebar-backdrop {
  display: none;
  pointer-events: none;
}

.gc-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px 1fr;
}

.gc-main-area {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 100vh;
}

.gc-content {
  padding: 20px 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}

/* ── SIDEBAR ───────────────────────────────────────────────────────────── */
.gc-sidebar {
  background: #060a12;
  color: var(--gc-nav-text);
  padding: 14px 12px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  border-right: 1px solid rgba(95, 132, 214, .18);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 20;
}

/* Sidebar brand */
.gc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  z-index: 1;
}
.gc-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #6a8dff 0%, #4b6cff 45%, #3156ff 100%);
  color: #f5fbff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px rgba(49, 86, 255, .35);
  flex-shrink: 0;
}
.gc-brand-name { margin: 0; font-size: 16px; color: #fff; font-weight: 700; }
.gc-brand-sub  { margin: 3px 0 0; font-size: 11px; color: #8ea0b3; }

/* Sidebar operator */
.gc-operator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}
.gc-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.gc-operator-name  { display: block; font-size: 13px; color: #fff; font-weight: 600; }
.gc-operator-role  { font-size: 12px; color: #90a2b6; }

/* Sidebar sections */
.gc-nav-section-label {
  padding: 0 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #7f93a8;
  font-weight: 800;
  margin-bottom: 8px;
}
.gc-nav-group { display: grid; gap: 4px; }

/* Sidebar nav items */
.gc-nav-item {
  width: 100%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .012);
  color: var(--gc-nav-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-family: var(--gc-font);
  position: relative;
  overflow: hidden;
  transition: .18s ease;
}
.gc-nav-item:hover {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(81, 199, 255, .18);
  transform: translateX(2px);
}
.gc-nav-item.active {
  background: linear-gradient(90deg, rgba(81, 199, 255, .24), rgba(157, 107, 255, .16));
  color: #fff;
  border-color: rgba(114, 145, 233, .26);
  box-shadow: inset 3px 0 0 var(--gc-nav-active), 0 12px 24px rgba(13, 26, 52, .28);
}
.gc-nav-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gc-nav-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(81, 199, 255, .20), rgba(157, 107, 255, .08));
  border: 1px solid rgba(81, 199, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 16px rgba(81, 199, 255, .10);
  color: var(--gc-blue);
  flex-shrink: 0;
}
.gc-nav-icon svg { width: 12px; height: 12px; }
.gc-nav-badge {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 11px;
  text-align: center;
  font-weight: 600;
}

/* Sidebar footer */
.gc-sidebar-footer {
  padding: 12px 10px 4px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #8fa1b4;
  font-size: 12px;
  line-height: 1.5;
}

/* ── TOPBAR ────────────────────────────────────────────────────────────── */
.gc-topbar {
  background: linear-gradient(180deg, rgba(3, 6, 12, .99), rgba(2, 4, 9, .97));
  border-bottom: 1px solid var(--gc-line-strong);
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(3, 8, 16, .22);
  flex-wrap: wrap;
}

.gc-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(9, 15, 28, .98), rgba(7, 12, 22, .95));
  border: 1px solid rgba(81, 199, 255, .16);
  border-radius: 12px;
  padding: 7px 11px;
  color: var(--gc-muted);
  flex: 1;
  min-width: 200px;
  max-width: 480px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(35, 55, 96, .08);
}
.gc-search-box svg { width: 14px; height: 14px; opacity: .6; flex-shrink: 0; }
.gc-search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--gc-text);
  font-size: 12px;
  font-family: var(--gc-font);
}
.gc-search-box input::placeholder { color: var(--gc-muted); }

.gc-topbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.gc-topbar-breadcrumb {
  font-size: 11px;
  color: var(--gc-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc-topbar-breadcrumb a { color: var(--gc-blue); text-decoration: none; }
.gc-topbar-breadcrumb a:hover { text-decoration: underline; }
.gc-topbar-breadcrumb .sep { opacity: .4; }

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.gc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--gc-text);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--gc-font);
  cursor: pointer;
  text-decoration: none;
  transition: .18s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.gc-btn:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(81, 199, 255, .24);
}
.gc-btn:active { transform: scale(.97); }
.gc-btn svg { width: 14px; height: 14px; opacity: .8; flex-shrink: 0; }

.gc-btn-primary {
  background: linear-gradient(135deg, var(--gc-blue), var(--gc-purple));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(81, 199, 255, .18);
}
.gc-btn-primary:hover {
  box-shadow: 0 14px 32px rgba(81, 199, 255, .28);
  transform: translateY(-1px);
}

.gc-btn-danger {
  background: rgba(255, 95, 150, .12);
  border-color: rgba(255, 95, 150, .18);
  color: var(--gc-red);
}
.gc-btn-danger:hover {
  background: rgba(255, 95, 150, .18);
  border-color: rgba(255, 95, 150, .28);
}

.gc-btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--gc-muted);
}
.gc-btn-ghost:hover { color: var(--gc-text); background: rgba(255, 255, 255, .04); }

.gc-btn-sm { padding: 4px 10px; font-size: 11px; border-radius: 8px; }
.gc-btn-xs { padding: 3px 8px; font-size: 10px; border-radius: 6px; }

/* ── CARDS ──────────────────────────────────────────────────────────────── */
.gc-card {
  background: linear-gradient(180deg, rgba(7, 12, 22, .95), rgba(4, 8, 15, .92));
  border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius);
  padding: 18px 20px;
  box-shadow: var(--gc-shadow);
  position: relative;
  overflow: hidden;
  animation: gc-fade-in .35s ease both;
}
.gc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 60%);
  pointer-events: none;
}
.gc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.gc-card-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--gc-muted);
  margin: 0;
}
.gc-card-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--gc-blue);
  margin: 0 0 6px;
}

/* ── STAT / KPI CARDS ──────────────────────────────────────────────────── */
.gc-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.gc-stat {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: var(--gc-radius);
  border: 1px solid var(--gc-line);
  background: linear-gradient(180deg, rgba(9, 15, 24, .95), rgba(5, 9, 16, .92));
  position: relative;
  overflow: hidden;
}
.gc-stat::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, currentColor, transparent 70%);
  opacity: .04;
  pointer-events: none;
}
.gc-stat-value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.gc-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--gc-muted);
}
.gc-stat-delta {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gc-stat-delta.up   { color: var(--gc-green); }
.gc-stat-delta.down { color: var(--gc-red); }
.gc-stat-delta.flat { color: var(--gc-muted); }
.gc-stat-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  opacity: .12;
  width: 36px;
  height: 36px;
}

/* KPI accent colors */
.gc-stat-accent-blue   { color: var(--gc-blue); }
.gc-stat-accent-green  { color: var(--gc-green); }
.gc-stat-accent-amber  { color: var(--gc-amber); }
.gc-stat-accent-red    { color: var(--gc-red); }
.gc-stat-accent-purple { color: var(--gc-purple); }
.gc-stat-accent-cyan   { color: var(--gc-cyan); }

.gc-stat-accent-blue::after   { color: var(--gc-blue); }
.gc-stat-accent-green::after  { color: var(--gc-green); }
.gc-stat-accent-amber::after  { color: var(--gc-amber); }
.gc-stat-accent-red::after    { color: var(--gc-red); }
.gc-stat-accent-purple::after { color: var(--gc-purple); }
.gc-stat-accent-cyan::after   { color: var(--gc-cyan); }

/* ── FOCUS / ALERT BOX ─────────────────────────────────────────────────── */
.gc-focus-box {
  border: 1px solid var(--gc-line);
  border-left: 3px solid var(--gc-blue);
  border-radius: var(--gc-radius);
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(9, 15, 28, .96), rgba(5, 10, 18, .93));
  box-shadow: var(--gc-shadow-strong);
}
.gc-focus-box.danger  { border-left-color: var(--gc-red); }
.gc-focus-box.warning { border-left-color: var(--gc-amber); }
.gc-focus-box.success { border-left-color: var(--gc-green); }

.gc-alert-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gc-alert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--gc-radius-sm);
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
  font-size: 12px;
}
.gc-alert-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gc-alert-item .dot.red    { background: var(--gc-red); box-shadow: 0 0 8px var(--gc-red); }
.gc-alert-item .dot.amber  { background: var(--gc-amber); box-shadow: 0 0 8px var(--gc-amber); }
.gc-alert-item .dot.blue   { background: var(--gc-blue); box-shadow: 0 0 8px var(--gc-blue); }
.gc-alert-item .dot.green  { background: var(--gc-green); box-shadow: 0 0 8px var(--gc-green); }

.gc-alert-time { color: var(--gc-muted); font-size: 10px; margin-left: auto; white-space: nowrap; }

/* ── TABLES ─────────────────────────────────────────────────────────────── */
.gc-table-wrap {
  overflow-x: auto;
  border-radius: var(--gc-radius);
  border: 1px solid var(--gc-line);
}
.gc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.gc-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  color: var(--gc-muted);
  background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid var(--gc-line);
  white-space: nowrap;
}
.gc-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  color: var(--gc-text);
  vertical-align: middle;
}
.gc-table tr:last-child td { border-bottom: 0; }
.gc-table tr:hover td { background: rgba(255, 255, 255, .02); }
.gc-table .empty-row td {
  text-align: center;
  color: var(--gc-muted);
  padding: 32px 14px;
  font-style: italic;
}

/* ── BADGES & STATUS ───────────────────────────────────────────────────── */
.gc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gc-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gc-badge-success { background: rgba(57, 255, 183, .10); color: var(--gc-green); }
.gc-badge-success::before { background: var(--gc-green); box-shadow: 0 0 6px var(--gc-green); }
.gc-badge-warning { background: rgba(255, 201, 74, .10); color: var(--gc-amber); }
.gc-badge-warning::before { background: var(--gc-amber); box-shadow: 0 0 6px var(--gc-amber); }
.gc-badge-danger  { background: rgba(255, 95, 150, .10); color: var(--gc-red); }
.gc-badge-danger::before  { background: var(--gc-red); box-shadow: 0 0 6px var(--gc-red); }
.gc-badge-info    { background: rgba(81, 199, 255, .10); color: var(--gc-blue); }
.gc-badge-info::before    { background: var(--gc-blue); box-shadow: 0 0 6px var(--gc-blue); }
.gc-badge-neutral { background: rgba(255, 255, 255, .06); color: var(--gc-muted); }
.gc-badge-neutral::before { background: var(--gc-muted); }

/* ── LIVE INDICATOR ────────────────────────────────────────────────────── */
.gc-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  color: var(--gc-green);
}
.gc-live-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gc-green);
  box-shadow: 0 0 10px var(--gc-green);
  animation: gc-pulse-glow 1.8s ease infinite;
}

/* ── PROGRESS BARS ─────────────────────────────────────────────────────── */
.gc-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.gc-progress-fill {
  height: 100%;
  border-radius: inherit;
  transition: width .6s ease;
  position: relative;
}
.gc-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  animation: gc-sweep 2.4s ease infinite;
}
.gc-progress-fill.blue   { background: var(--gc-blue); }
.gc-progress-fill.green  { background: var(--gc-green); }
.gc-progress-fill.amber  { background: var(--gc-amber); }
.gc-progress-fill.red    { background: var(--gc-red); }

/* ── CHART PANELS ──────────────────────────────────────────────────────── */
.gc-chart-panel {
  background: linear-gradient(180deg, rgba(7, 12, 22, .92), rgba(3, 7, 13, .88));
  border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius);
  padding: 16px 18px;
}
.gc-chart-panel .gc-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
}
.gc-chart-panel .gc-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-width: 12px;
  transition: height .5s ease, opacity .2s;
  position: relative;
}
.gc-chart-panel .gc-bar:hover { opacity: .85; }
.gc-bar-label {
  font-size: 9px;
  color: var(--gc-muted);
  text-align: center;
  margin-top: 4px;
}

/* ── FORMS ──────────────────────────────────────────────────────────────── */
.gc-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  color: var(--gc-text);
  font-size: 13px;
  font-family: var(--gc-font);
  transition: .18s ease;
  outline: none;
}
.gc-input:focus {
  border-color: rgba(81, 199, 255, .32);
  box-shadow: 0 0 0 3px rgba(81, 199, 255, .08);
}
.gc-input::placeholder { color: var(--gc-muted); }

.gc-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237389ae' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.gc-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--gc-muted);
  margin-bottom: 6px;
}

.gc-form-group {
  display: grid;
  gap: 6px;
}

/* ── UNIFIED APP SURFACES (TACTICAL-LITE) ─────────────────────────────── */
.gc-shell {
  display: grid;
  gap: 16px;
}

.gc-header {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(102, 160, 255, .24);
  background:
    radial-gradient(circle at 8% 0%, rgba(81, 199, 255, .14), transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(157, 107, 255, .16), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.006)),
    linear-gradient(180deg, rgba(5, 10, 18, .98), rgba(3, 6, 12, .96));
  box-shadow: var(--gc-shadow-strong);
}

.gc-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 26%);
}

.gc-kicker {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  color: #92c5ff;
}

.gc-title {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 900;
  color: var(--gc-text);
}

.gc-copy {
  margin: 12px 0 0;
  max-width: 72ch;
  color: #9fb1ca;
  font-size: 14px;
  line-height: 1.7;
}

.gc-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.gc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: #d9e6fb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gc-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.gc-chip-blue { color: var(--gc-blue); background: rgba(81, 199, 255, .10); border-color: rgba(81,199,255,.18); }
.gc-chip-green { color: var(--gc-green); background: rgba(57, 255, 183, .10); border-color: rgba(57,255,183,.18); }
.gc-chip-amber { color: var(--gc-amber); background: rgba(255, 201, 74, .10); border-color: rgba(255,201,74,.18); }
.gc-chip-red { color: var(--gc-red); background: rgba(255, 95, 150, .10); border-color: rgba(255,95,150,.18); }
.gc-chip-purple { color: var(--gc-purple); background: rgba(157, 107, 255, .10); border-color: rgba(157,107,255,.18); }

.gc-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, .16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.005)),
    linear-gradient(180deg, rgba(7, 12, 22, .95), rgba(4, 8, 15, .94));
  box-shadow:
    0 4px 0 rgba(0,0,0,.34),
    0 18px 42px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.gc-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 22%);
}

.gc-panel-body {
  position: relative;
  z-index: 1;
  padding: 20px 22px;
}

.gc-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.gc-panel-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gc-text);
}

.gc-panel-subtitle {
  margin: 6px 0 0;
  color: #95a8c8;
  font-size: 13px;
  line-height: 1.65;
}

.gc-icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(81,199,255,.18);
  background: linear-gradient(180deg, rgba(81,199,255,.16), rgba(157,107,255,.08));
  color: var(--gc-blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 22px rgba(81,199,255,.08);
  flex-shrink: 0;
}

.gc-icon-tile svg {
  width: 18px;
  height: 18px;
}

.gc-grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
}

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

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

.gc-field-span-2 {
  grid-column: span 2;
}

.gc-stack {
  display: grid;
  gap: 12px;
}

.gc-stack-sm {
  display: grid;
  gap: 8px;
}

.gc-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.gc-metric-label {
  color: #8fa1b9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gc-metric-value {
  color: var(--gc-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.gc-note {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.gc-note-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.gc-note-copy {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #cad7ea;
}

.gc-note-info { border-color: rgba(81,199,255,.18); background: rgba(81,199,255,.08); }
.gc-note-success { border-color: rgba(57,255,183,.18); background: rgba(57,255,183,.08); }
.gc-note-warning { border-color: rgba(255,201,74,.18); background: rgba(255,201,74,.08); }
.gc-note-danger { border-color: rgba(255,95,150,.18); background: rgba(255,95,150,.08); }

.gc-table-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.gc-row-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gc-text);
}

.gc-row-meta {
  margin: 4px 0 0;
  color: #93a5bf;
  font-size: 12px;
  line-height: 1.55;
}

.gc-table td .gc-badge {
  font-size: 9px;
}

.gc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gc-empty {
  text-align: center;
  padding: 34px 20px;
  color: #94a7c1;
}

.gc-empty-title {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--gc-text);
}

.gc-empty-copy {
  margin: 10px auto 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.7;
}

/* ── LEGACY ISP VISUAL COMPATIBILITY ──────────────────────────────────── */
.isp-heading {
  color: var(--gc-text);
  letter-spacing: -.025em;
  text-shadow: 0 0 12px rgba(81, 199, 255, .06);
}

.isp-page-kicker {
  color: #90a6c6;
}

.isp-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, .14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.005)),
    linear-gradient(180deg, rgba(7, 12, 22, .96), rgba(4, 8, 15, .95));
  box-shadow:
    0 4px 0 rgba(0,0,0,.30),
    0 18px 40px rgba(0,0,0,.44),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.isp-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 22%);
}

.isp-top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: #dce8fb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: .18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.isp-top-action:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(81,199,255,.2);
  color: #f4f8ff;
  transform: translateY(-1px);
}

.isp-top-action-primary {
  border-color: rgba(81,199,255,.22);
  background: linear-gradient(135deg, rgba(81,199,255,.18), rgba(157,107,255,.14));
  color: #eef7ff;
  box-shadow: 0 14px 30px rgba(81,199,255,.16), inset 0 1px 0 rgba(255,255,255,.10);
}

.isp-top-action-primary:hover {
  border-color: rgba(81,199,255,.3);
  background: linear-gradient(135deg, rgba(81,199,255,.24), rgba(157,107,255,.18));
}

.isp-alert {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.isp-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: #dce7f7;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

/* ── TOOLBAR ───────────────────────────────────────────────────────────── */
.gc-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gc-toolbar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, .08);
  flex-shrink: 0;
}

/* ── THEME TOGGLE ──────────────────────────────────────────────────────── */
.gc-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}
.gc-theme-btn {
  padding: 4px 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--gc-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--gc-font);
  transition: .15s ease;
}
.gc-theme-btn.active {
  background: rgba(255, 255, 255, .08);
  color: var(--gc-text);
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gc-layout { grid-template-columns: 1fr; }
  .gc-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 260px;
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 100;
  }
  .gc-sidebar.open { transform: translateX(0); }
  .gc-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 99;
    display: none;
  }
  .gc-sidebar-backdrop.show { display: block; }
  .gc-stat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .gc-content { padding: 14px; }
  .gc-grid-2,
  .gc-grid-3,
  .gc-filter-grid { grid-template-columns: 1fr; }
  .gc-field-span-2 { grid-column: span 1; }
}

/* ── UTILITY ───────────────────────────────────────────────────────────── */
.gc-text-blue   { color: var(--gc-blue); }
.gc-text-green  { color: var(--gc-green); }
.gc-text-amber  { color: var(--gc-amber); }
.gc-text-red    { color: var(--gc-red); }
.gc-text-purple { color: var(--gc-purple); }
.gc-text-cyan   { color: var(--gc-cyan); }
.gc-text-muted  { color: var(--gc-muted); }
.gc-mono        { font-variant-numeric: tabular-nums; }
.gc-truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-glass       { backdrop-filter: blur(12px); }
.gc-animate-in  { animation: gc-fade-in .4s ease both; }
.gc-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.03) 25%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.03) 75%);
  background-size: 200% 100%;
  animation: gc-shimmer 2s ease infinite;
  border-radius: 6px;
}
