/* ================================================
   ViSE Admin PWA — Main Stylesheet
   0-1-0 Shoonya-Ekam-Shoonyam Design System
   DM Sans · B&W + Accent Theme
   ================================================ */

:root {
  --void:       #0B0E1A;
  --void-2:     #10141f;
  --void-3:     #181d2e;
  --void-4:     #1e2435;
  --white:      #FFFFFF;
  --off-white:  #E8E4D9;
  --gold:       #F7F2D0;
  --gold-dim:   #c8c09a;
  --crimson:    #E03131;
  --green:      #4CA653;
  --cyan:       #87CEEB;
  --silver:     #C0C0C0;
  --teal:       #148C7C;
  --indigo:     #3a3a8f;

  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.12);
  --glow-gold:  rgba(247,242,208,0.08);
  --glow-red:   rgba(224,49,49,0.15);

  --sidebar-w:  260px;
  --topbar-h:   56px;
  --radius:     8px;
  --radius-lg:  14px;

  --font: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--void);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Ambient Background ── */
.bg-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.12;
}
.glow-1 { width: 500px; height: 500px; top: -100px; left: 100px; background: var(--gold); }
.glow-2 { width: 400px; height: 400px; bottom: -100px; right: 0; background: var(--crimson); opacity: 0.08; }
.glow-3 { width: 300px; height: 300px; top: 50%; left: 50%; background: var(--teal); opacity: 0.05; }

/* ── Sidebar ── */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: rgba(16,20,31,0.95);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  z-index: 100;
  transition: transform 0.3s var(--ease);
}
.sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.logo-mark {
  display: block;
  font-size: 22px; font-weight: 700; letter-spacing: 4px;
  color: var(--gold);
  font-family: var(--mono);
}
.logo-sub {
  display: block;
  font-size: 9px; letter-spacing: 2px; color: var(--gold-dim);
  margin-top: 2px; font-family: var(--mono); text-transform: uppercase;
}

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }
.sidebar-nav::-webkit-scrollbar { width: 2px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--border-2); }

.nav-group { margin-bottom: 20px; }
.nav-label {
  display: block; padding: 4px 20px;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); font-family: var(--mono);
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px;
  color: rgba(255,255,255,0.55);
  text-decoration: none; font-size: 13px; font-weight: 400;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.nav-item:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-item.active {
  color: var(--gold); border-left-color: var(--gold);
  background: var(--glow-gold);
}
.nav-icon { font-size: 14px; opacity: 0.8; }

.sidebar-pran {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(247,242,208,0.03);
}
.pran-label { font-size: 9px; letter-spacing: 2px; color: var(--gold-dim); font-family: var(--mono); }
.pran-value { font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; margin: 4px 0; }
.pran-bar { height: 3px; background: var(--border); border-radius: 2px; margin: 6px 0; }
.pran-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 1.5s var(--ease); }
.pran-meta { font-size: 10px; color: rgba(255,255,255,0.35); font-family: var(--mono); }

/* ── Main Content ── */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  position: relative; z-index: 1;
}

/* ── Topbar ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
  background: rgba(11,14,26,0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.menu-toggle {
  display: none; background: none; border: none;
  color: var(--white); font-size: 18px; cursor: pointer;
}
.topbar-title {
  font-size: 15px; font-weight: 500; color: var(--white); flex: 1;
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.org-id {
  font-size: 9px; color: var(--gold-dim); font-family: var(--mono);
  letter-spacing: 1px;
}
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--void);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

/* ── Modules ── */
.module {
  display: none; padding: 28px 28px 40px;
  animation: fadeUp 0.35s var(--ease);
}
.module.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.module-header { margin-bottom: 28px; }
.module-header h1 {
  font-size: 28px; font-weight: 300; letter-spacing: -0.5px;
  line-height: 1.1;
}
.module-header h1 em { font-style: normal; color: var(--gold); font-weight: 700; }
.module-sub {
  font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 6px;
  font-family: var(--mono); letter-spacing: 0.5px;
}

h2 {
  font-size: 16px; font-weight: 500; margin: 32px 0 16px;
  color: var(--off-white);
}
h2 em { font-style: normal; color: var(--gold); }
h3 { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--silver); margin-bottom: 16px; }

/* ── ViSE Cards ── */
.vise-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.vise-card {
  background: var(--void-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.vise-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.vise-card.ekam { border-top: 2px solid var(--gold); }
.vise-card.shoonya { border-top: 2px solid var(--silver); }
.vise-card.transcend { border-top: 2px solid var(--green); }

.card-tag {
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); font-family: var(--mono); margin-bottom: 8px;
}
.card-title { font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; }
.card-name { font-size: 11px; color: var(--silver); margin: 2px 0 12px; font-weight: 500; }
.card-val { font-size: 40px; font-weight: 300; line-height: 1; color: var(--white); }
.card-bar { height: 2px; background: var(--border); border-radius: 1px; margin: 10px 0 8px; }
.cb-fill { height: 100%; background: var(--gold); border-radius: 1px; width: 0; transition: width 1.5s var(--ease); }
.card-sub { font-size: 10px; color: rgba(255,255,255,0.3); line-height: 1.4; }

/* ── Helix Realms ── */
.helix-loop-section { margin-bottom: 32px; }
.helix-realms {
  display: flex; align-items: center; gap: 0;
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow-x: auto;
}
.realm-node {
  display: flex; flex-direction: column; align-items: center;
  min-width: 90px; gap: 4px;
}
.rn-icon { font-size: 24px; color: var(--c); }
.rn-name { font-size: 13px; font-weight: 600; color: var(--c); }
.rn-sub { font-size: 9px; color: rgba(255,255,255,0.35); font-family: var(--mono); text-align: center; }
.rn-val { font-size: 18px; font-weight: 300; color: var(--white); margin-top: 4px; }
.realm-arrow {
  color: rgba(255,255,255,0.2); font-size: 18px;
  padding: 0 12px; flex-shrink: 0;
}

/* ── Two-col layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.panel {
  background: var(--void-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.mt-32 { margin-top: 24px; }

/* ── Activity Feed ── */
.activity-feed { display: flex; flex-direction: column; gap: 10px; }
.af-item {
  font-size: 12px; color: rgba(255,255,255,0.6);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
}
.af-tag {
  font-size: 8px; letter-spacing: 1px; padding: 2px 6px;
  border-radius: 3px; font-family: var(--mono); flex-shrink: 0; margin-top: 1px;
}
.ekam-tag { background: rgba(247,242,208,0.15); color: var(--gold); }
.shoonya-tag { background: rgba(192,192,192,0.15); color: var(--silver); }
.gold-tag { background: rgba(247,242,208,0.15); color: var(--gold); }
.eco-tag { background: rgba(76,166,83,0.15); color: var(--green); }
.red-tag { background: rgba(224,49,49,0.15); color: var(--crimson); }

/* ── Stage Selector ── */
.stage-selector { display: flex; flex-direction: column; gap: 8px; }
.stage-btn {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer; transition: all 0.2s;
  font-size: 12px; line-height: 1.5;
  color: rgba(255,255,255,0.5);
  background: transparent;
}
.stage-btn span { font-size: 16px; margin-right: 6px; }
.stage-btn.active {
  border-color: var(--gold); color: var(--gold);
  background: var(--glow-gold);
}
.stage-btn small { color: rgba(255,255,255,0.3); font-size: 10px; }

/* ── Soul ID Display ── */
.soul-id-display {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  font-family: var(--mono);
}
.sid-part { font-size: 20px; font-weight: 600; color: var(--white); }
.sid-part.highlight { color: var(--gold); }
.sid-part.dim { color: rgba(255,255,255,0.25); }
.sid-sep { color: rgba(255,255,255,0.2); font-size: 18px; }

/* ── Forms ── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--silver); margin-bottom: 6px; }
.field-input {
  width: 100%; padding: 9px 12px;
  background: var(--void-2); border: 1px solid var(--border-2);
  border-radius: var(--radius); color: var(--white);
  font-family: var(--font); font-size: 13px;
  transition: border-color 0.2s;
  appearance: none;
}
.field-input:focus { outline: none; border-color: var(--gold); }
.field-input option { background: var(--void-2); }

/* ── Weight Sliders ── */
.weight-sliders { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.ws-row { display: flex; align-items: center; gap: 10px; }
.ws-label { font-size: 11px; color: var(--silver); min-width: 100px; }
.ws-slider {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 3px; background: var(--border); border-radius: 2px; cursor: pointer;
}
.ws-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px;
  background: var(--gold); border-radius: 50%;
}
.ws-val { font-size: 11px; color: var(--gold); font-family: var(--mono); min-width: 32px; text-align: right; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block; padding: 10px 20px;
  background: var(--gold); color: var(--void);
  border: none; border-radius: var(--radius);
  font-family: var(--font); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-primary.sm { padding: 6px 14px; font-size: 11px; }

.btn-ghost {
  display: inline-block; padding: 10px 20px;
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--font); font-weight: 500; font-size: 13px;
  cursor: pointer; transition: all 0.2s;
}
.btn-ghost:hover { background: var(--glow-gold); }
.btn-ghost.sm { padding: 5px 12px; font-size: 11px; }

/* ── Elementals Grid ── */
.elementals-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
}
.el-card {
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 14px;
  text-align: center; transition: border-color 0.2s;
}
.el-card:hover { border-color: color-mix(in srgb, var(--el-c) 60%, transparent); }
.el-sym { font-size: 24px; margin-bottom: 8px; }
.el-name { font-size: 13px; font-weight: 600; color: var(--el-c, var(--white)); margin-bottom: 4px; }
.el-desc { font-size: 10px; color: rgba(255,255,255,0.4); line-height: 1.4; }

/* ── Stage Tabs ── */
.stage-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.stab {
  padding: 7px 16px;
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: 20px; color: rgba(255,255,255,0.45);
  font-family: var(--font); font-size: 12px; cursor: pointer; transition: all 0.2s;
}
.stab.active { background: var(--gold); color: var(--void); border-color: var(--gold); font-weight: 600; }

/* ── HQI Matrix ── */
.hqi-matrix {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px; margin-bottom: 32px;
}
.hqi-card {
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  position: relative; transition: border-color 0.2s;
}
.hqi-card:hover { border-color: var(--border-2); }
.hqi-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hqi-code {
  font-size: 14px; font-weight: 700; color: var(--gold);
  font-family: var(--mono); min-width: 36px;
}
.hqi-name { font-size: 12px; font-weight: 500; color: var(--off-white); }
.hqi-desc { font-size: 10px; color: rgba(255,255,255,0.35); line-height: 1.5; margin-bottom: 10px; }
.hqi-metric { font-size: 10px; color: var(--silver); margin-bottom: 8px; font-style: italic; }
.hqi-bar { height: 2px; background: var(--border); border-radius: 1px; }
.hqi-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--crimson)); border-radius: 1px; width: 0; transition: width 1.5s var(--ease); }
.hqi-score {
  position: absolute; top: 14px; right: 14px;
  font-size: 22px; font-weight: 300; color: rgba(255,255,255,0.5);
}

/* ── Segment Cards ── */
.segment-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .segment-cards { grid-template-columns: 1fr; } }
.seg-card {
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
}
.seg-card.active { border-color: var(--gold); }
.seg-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.seg-focus { font-size: 10px; color: var(--gold); font-family: var(--mono); margin-bottom: 14px; letter-spacing: 1px; }
.seg-weights { display: flex; flex-direction: column; gap: 8px; }
.sw-item { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.6); }
.sw-item strong { color: var(--white); }

/* ── Marketplace ── */
.market-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 800px) { .market-tiers { grid-template-columns: 1fr; } }
.mt-card {
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}
.mt-card.featured { border-color: var(--crimson); }
.mt-icon { font-size: 32px; margin-bottom: 10px; }
.mt-name { font-size: 16px; font-weight: 600; color: var(--white); }
.mt-realm { font-size: 10px; color: var(--silver); font-family: var(--mono); margin: 2px 0 10px; }
.mt-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 10px; }
.mt-currency { font-size: 11px; color: var(--gold); margin-bottom: 14px; }
.mt-currency em { font-style: normal; font-weight: 600; }

/* Token Types */
.token-types { display: flex; flex-direction: column; gap: 12px; }
.tt-row { display: flex; align-items: center; gap: 12px; }
.tt-icon { font-size: 20px; }
.tt-info { flex: 1; }
.tt-name { font-size: 13px; font-weight: 500; color: var(--white); }
.tt-sub { font-size: 10px; color: rgba(255,255,255,0.4); }
.tt-issued { font-size: 12px; color: var(--gold); font-family: var(--mono); }

/* Prana Flow */
.prana-flow-info { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 16px; }
.pf-stats { display: flex; gap: 16px; margin-bottom: 16px; }
.pf-stat { flex: 1; }
.pf-n { display: block; font-size: 22px; font-weight: 700; color: var(--gold); }
.pf-l { font-size: 10px; color: rgba(255,255,255,0.4); }
.pf-bar-label { font-size: 10px; color: var(--silver); margin-bottom: 6px; }
.pf-bar { height: 3px; background: var(--border); border-radius: 2px; }
.pf-fill { height: 100%; background: var(--green); border-radius: 2px; }

/* ── PARAKH Breakdown ── */
.parakh-breakdown {
  display: flex; align-items: center; gap: 16px;
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.pb-item { text-align: center; }
.pb-pct { display: block; font-size: 24px; font-weight: 700; color: var(--gold); }
.pb-label { font-size: 10px; color: rgba(255,255,255,0.4); }
.pb-div { font-size: 24px; color: rgba(255,255,255,0.2); }
.highlight-item .pb-pct { color: var(--crimson); }

/* ── Tier Bands ── */
.tier-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 800px) { .tier-bands { grid-template-columns: 1fr; } }
.tier-card { border-radius: var(--radius-lg); padding: 20px; }
.tier-1 { background: linear-gradient(135deg, rgba(247,242,208,0.12), rgba(247,242,208,0.04)); border: 1px solid rgba(247,242,208,0.3); }
.tier-2 { background: linear-gradient(135deg, rgba(192,192,192,0.1), rgba(192,192,192,0.03)); border: 1px solid rgba(192,192,192,0.2); }
.tier-3 { background: linear-gradient(135deg, rgba(76,166,83,0.1), rgba(76,166,83,0.03)); border: 1px solid rgba(76,166,83,0.2); }
.tier-mark { font-size: 9px; letter-spacing: 2px; color: rgba(255,255,255,0.4); font-family: var(--mono); margin-bottom: 8px; }
.tier-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.tier-logic { font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.4; margin-bottom: 10px; }
.tier-count { font-size: 12px; color: var(--gold); font-family: var(--mono); }

/* ── Leaderboard Table ── */
.lb-table-wrap { overflow-x: auto; }
.lb-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.lb-table thead tr {
  border-bottom: 1px solid var(--border);
}
.lb-table th {
  padding: 10px 14px; text-align: left;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); font-weight: 400; font-family: var(--mono);
}
.lb-row td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.lb-row:hover td { background: rgba(255,255,255,0.02); }
.lb-row.rishi td:first-child { border-left: 2px solid var(--gold); }
.lb-row.sadhaka td:first-child { border-left: 2px solid var(--silver); }
.lb-row.karmi td:first-child { border-left: 2px solid var(--green); }
.rank-badge {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.4);
}
.tier-tag {
  font-size: 9px; padding: 2px 7px; border-radius: 3px;
  font-family: var(--mono); letter-spacing: 1px;
}
.t1 { background: rgba(247,242,208,0.15); color: var(--gold); }
.t2 { background: rgba(192,192,192,0.15); color: var(--silver); }
.t3 { background: rgba(76,166,83,0.15); color: var(--green); }
.vel-up { color: var(--green); font-family: var(--mono); font-size: 12px; }
.vel-down { color: var(--crimson); font-family: var(--mono); font-size: 12px; }

/* ── Kosha Grid ── */
.kosha-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kosha-card {
  background: var(--void-3); border: 1px solid var(--border);
  border-top: 2px solid var(--kc, var(--gold));
  border-radius: var(--radius-lg); padding: 18px;
}
.kc-name { font-size: 14px; font-weight: 600; color: var(--kc, var(--white)); margin-bottom: 2px; }
.kc-realm { font-size: 10px; color: rgba(255,255,255,0.35); font-family: var(--mono); }
.kc-token { font-size: 12px; color: var(--white); margin: 8px 0 2px; font-weight: 500; }
.kc-index { font-size: 10px; color: var(--kc); font-family: var(--mono); margin-bottom: 8px; }
.kc-desc { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4; }

/* ── Algo Steps ── */
.algo-steps { display: flex; flex-direction: column; gap: 0; }
.as-step { display: flex; gap: 16px; align-items: flex-start; }
.as-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0; font-family: var(--mono);
}
.shoonya-bg { background: rgba(192,192,192,0.15); color: var(--silver); }
.ekam-bg { background: rgba(247,242,208,0.15); color: var(--gold); }
.shoonyam-bg { background: rgba(192,192,192,0.15); color: var(--silver); }
.as-content { padding-bottom: 20px; }
.as-title { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.as-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }
.as-arrow { padding: 4px 0 4px 18px; color: rgba(255,255,255,0.2); font-size: 16px; }

/* ── Connectors ── */
.connector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.conn-card {
  background: var(--void-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
}
.conn-card.connected { border-color: rgba(76,166,83,0.4); }
.conn-status { font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,0.3); font-family: var(--mono); margin-bottom: 8px; }
.conn-card.connected .conn-status { color: var(--green); }
.conn-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.conn-method { font-size: 10px; color: rgba(255,255,255,0.35); font-family: var(--mono); margin-bottom: 6px; }
.conn-impact { font-size: 11px; color: var(--gold); margin-bottom: 12px; }

/* ── SSO Config ── */
.sso-config { display: flex; flex-direction: column; gap: 10px; }
.sc-row { display: flex; gap: 12px; align-items: baseline; }
.sc-row span { font-size: 10px; color: var(--silver); min-width: 90px; font-family: var(--mono); }
.sc-row code { font-family: var(--mono); font-size: 11px; color: var(--gold); word-break: break-all; }

.code-block {
  background: #000; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  overflow-x: auto;
}
.code-block code {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.75); line-height: 1.7;
  white-space: pre;
}

.soma-vault-info { display: flex; flex-direction: column; gap: 14px; }
.sv-item { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.sv-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.sv-item strong { color: var(--white); }

/* ── Ekam Lipi Assets ── */
.assets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.asset-card {
  background: color-mix(in srgb, var(--ac, var(--void-3)) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--ab, var(--border)) 30%, transparent);
  border-radius: var(--radius-lg); padding: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.asset-card:hover { border-color: var(--ab, var(--border-2)); transform: translateY(-2px); }
.ac-id { font-size: 9px; color: rgba(255,255,255,0.25); font-family: var(--mono); margin-bottom: 12px; letter-spacing: 0.5px; }
.ac-symbol { font-size: 32px; display: block; margin-bottom: 10px; line-height: 1; }
.ac-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.ac-freq { font-size: 10px; color: var(--ab); font-family: var(--mono); margin-bottom: 2px; }
.ac-color { font-size: 9px; color: rgba(255,255,255,0.3); font-family: var(--mono); margin-bottom: 8px; }
.ac-desc { font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .menu-toggle { display: block; }
  .org-id { display: none; }
  .module { padding: 20px 16px 32px; }
  .vise-cards { grid-template-columns: 1fr 1fr; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

/* ── Selection ── */
::selection { background: var(--gold); color: var(--void); }
