/* EOC Design System tokens */
:root {
  --c-cyan: #15B7D9;
  --c-cyan-tint: #E1F4FA;
  --c-cyan-ring: #7CD5E8;
  --c-cyan-deep: #0E8FAB;
  --c-navy: #0E1B2C;
  --c-navy-80: #1B2A40;
  --c-navy-70: #2A3A52;
  --c-mint: #4FD9B5;
  --c-mint-soft: #DCF9F1;
  --c-slate: #4A5568;
  --c-slate-muted: #94A3B8;
  --c-slate-light: #CBD5E0;
  --c-bg: #F4F8FB;
  --c-surface: #FFFFFF;
  --c-surface-2: #F8FAFC;
  --c-divider: #E2E8F0;
  --c-green: #16A34A;
  --c-green-tint: #DCFCE7;
  --c-red: #DC2626;
  --c-red-tint: #FEE2E2;
  --c-amber: #F59E0B;
  --c-amber-tint: #FEF3C7;

  --r-card: 12px;
  --r-btn: 10px;
  --r-input: 8px;
  --r-pill: 999px;

  --sh-card: 0 1px 3px rgba(14,27,44,.06), 0 1px 2px rgba(14,27,44,.04);
  --sh-card-lg: 0 4px 16px rgba(14,27,44,.08), 0 1px 2px rgba(14,27,44,.04);

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ff-display: 'Inter', 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --c-sidebar: #0B1524;
  --c-sidebar-2: #0E1B2C;
  --c-teal: #2DD4BF;
  --grad-teal: linear-gradient(135deg, #2DD4BF 0%, #15B7D9 50%, #2563EB 100%);
  --ff-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

.eoc {
  font-family: var(--ff);
  font-feature-settings: 'cv11','ss01','ss03','tnum' 0;
  letter-spacing: -0.005em;
  color: var(--c-slate);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  width: 1440px;
  min-height: 900px;
  position: relative;
  overflow: hidden;
}
.eoc.dark { background: var(--c-navy); color: #E2E8F0; }

.eoc *, .eoc *::before, .eoc *::after { box-sizing: border-box; }
.eoc button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
.eoc input, .eoc textarea { font-family: inherit; }

/* TYPOGRAPHY */
.t-display { font-size: 30px; font-weight: 800; color: var(--c-navy); letter-spacing: -0.022em; line-height: 1.12; }
.t-h1 { font-size: 22px; font-weight: 700; color: var(--c-navy); letter-spacing: -0.018em; line-height: 1.2; }
.t-h2 { font-size: 17px; font-weight: 700; color: var(--c-navy); letter-spacing: -0.012em; line-height: 1.3; }
.t-h3 { font-size: 15px; font-weight: 700; color: var(--c-navy); letter-spacing: -0.01em; line-height: 1.3; }
.t-body { font-size: 15px; font-weight: 500; color: var(--c-slate); }
.t-caption { font-size: 13px; font-weight: 500; color: var(--c-slate-muted); }
.t-tabular { font-variant-numeric: tabular-nums; font-weight: 700; }
.t-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-slate-muted); }
.t-cyan { color: var(--c-cyan); }
.t-navy { color: var(--c-navy); }
.t-muted { color: var(--c-slate-muted); }

/* CARDS */
.card {
  background: var(--c-surface);
  border-radius: 14px;
  border: 1px solid rgba(14,27,44,.04);
  box-shadow: 0 1px 2px rgba(14,27,44,.04), 0 1px 1px rgba(14,27,44,.02);
  padding: 24px;
  position: relative;
}
.card-stripe::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-cyan);
  border-radius: var(--r-card) var(--r-card) 0 0;
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 40px; border-radius: 999px; font-weight: 600; font-size: 13.5px; letter-spacing: -0.005em; transition: all .15s; white-space: nowrap; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 12.5px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-primary { background: var(--grad-teal); color: white; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 12px rgba(21,183,217,.25); }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px rgba(21,183,217,.32); }
.btn-secondary { background: white; color: var(--c-navy); border: 1px solid var(--c-divider); }
.btn-secondary:hover { border-color: var(--c-cyan); color: var(--c-cyan-deep); }
.btn-ghost { color: var(--c-cyan); }
.btn-ghost:hover { background: var(--c-cyan-tint); }
.btn-dark { background: var(--c-navy); color: white; }
.btn-mint { background: var(--c-mint); color: var(--c-navy); }
.btn-mint:hover { filter: brightness(1.05); }

/* PILLS */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
.pill-green { background: var(--c-green-tint); color: var(--c-green); }
.pill-cyan { background: var(--c-cyan-tint); color: var(--c-cyan-deep); }
.pill-navy { background: rgba(14,27,44,.08); color: var(--c-navy); }
.pill-amber { background: var(--c-amber-tint); color: #B45309; }
.pill-mint { background: var(--c-mint-soft); color: #0E7C61; }

/* TIER BADGES */
.tier { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; line-height: 1; }
.tier-brief { background: var(--c-cyan); color: white; }
.tier-full2d { background: var(--c-navy); color: var(--c-cyan); }
.tier-full3d { background: var(--c-mint); color: var(--c-navy); }
.tier-live { background: var(--c-red); color: white; }

/* INPUTS */
.input { height: 40px; padding: 0 14px; border-radius: var(--r-input); border: 1px solid var(--c-divider); background: white; font-size: 14px; color: var(--c-navy); width: 100%; }
.input::placeholder { color: var(--c-slate-muted); }
.input:focus { outline: none; border-color: var(--c-cyan); box-shadow: 0 0 0 3px rgba(21,183,217,.15); }

/* APP LAYOUT */
.app { display: flex; min-height: 900px; background: var(--c-bg); }
.app.dark { background: var(--c-navy); }
.sidebar { width: 248px; flex: 0 0 248px; background: var(--c-sidebar); display: flex; flex-direction: column; padding: 22px 16px 18px; gap: 2px; min-height: 900px; position: relative; }
.sidebar::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.05); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--c-bg); }
.topbar { height: 64px; background: rgba(255,255,255,.7); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-divider); display: flex; align-items: center; padding: 0 36px; gap: 14px; flex: 0 0 64px; }
.topbar.dark { background: var(--c-sidebar); border-bottom-color: rgba(255,255,255,.06); }
.content { padding: 32px 40px 48px; flex: 1; max-width: 100%; }

/* SIDEBAR ITEMS — dark by default */
.nav-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: #94A3B8; cursor: pointer; letter-spacing: -0.005em; position: relative; }
.nav-item:hover { background: rgba(255,255,255,.04); color: #E2E8F0; }
.nav-item.active { background: linear-gradient(90deg, rgba(45,212,191,.14), rgba(21,183,217,.08)); color: #fff; font-weight: 600; }
.nav-item.active::before { content: ''; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad-teal); }
.nav-item.active .ic { color: var(--c-teal); }
.nav-item.faint { opacity: .45; }
.nav-item .ic { width: 18px; height: 18px; flex: 0 0 18px; color: #94A3B8; }
.nav-item .nav-count { margin-left: auto; font-size: 11px; font-weight: 600; color: #64748B; }
.nav-item.active .nav-count { color: var(--c-teal); }

/* sidebar section eyebrow */
.nav-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-teal); padding: 18px 12px 8px; }

/* TABLE */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { background: transparent; text-align: left; padding: 14px 16px; font-size: 10.5px; font-weight: 600; color: var(--c-slate-muted); text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--c-divider); }
.tbl td { padding: 16px; font-size: 13.5px; color: var(--c-navy); border-bottom: 1px solid rgba(226,232,240,.6); height: 60px; vertical-align: middle; letter-spacing: -0.005em; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #F0FAFD; }

/* SCROLLBAR HIDE */
.eoc *::-webkit-scrollbar { display: none; }
.eoc * { scrollbar-width: none; }

/* ICON CIRCLE */
.icon-circle { width: 40px; height: 40px; border-radius: 999px; background: var(--c-cyan-tint); color: var(--c-cyan); display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }

/* NUMBERED BADGE */
.num-badge { width: 28px; height: 28px; border-radius: 999px; background: var(--c-navy-80); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }

/* CYAN STRIPE TOP */
.stripe-top { position: relative; }
.stripe-top::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c-cyan); border-radius: var(--r-card) var(--r-card) 0 0; }

/* SOFT SECTION HEADER */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }

/* DRAG/DROP ZONE */
.dropzone { border: 2px dashed var(--c-cyan-ring); background: rgba(21,183,217,.04); border-radius: 12px; padding: 28px; text-align: center; }

/* RING (decorative half-arc) */
.ring-arc { width: 64px; height: 32px; border: 2px solid var(--c-cyan-ring); border-bottom: none; border-radius: 64px 64px 0 0; }

/* IMAGE PLACEHOLDER (surgical OR shot) */
.thumb { position: relative; background: var(--c-navy); border-radius: 8px; overflow: hidden; }
.thumb-grad { background: radial-gradient(120% 80% at 30% 30%, #1B2A40 0%, #0E1B2C 60%, #050B14 100%); }
.thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,27,44,.65) 100%); pointer-events: none; }
.thumb-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: 10px; }

/* AVATAR INITIALS */
.avatar { width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(135deg, #15B7D9, #0E8FAB); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 36px; }
.avatar-sm { width: 28px; height: 28px; font-size: 11px; flex: 0 0 28px; }
.avatar-lg { width: 56px; height: 56px; font-size: 18px; flex: 0 0 56px; }

/* DIAGONAL CYAN PARALLELOGRAMS (hero decoration) */
.parallel { position: absolute; background: var(--c-cyan); transform: skewX(-20deg); border-radius: 4px; }

/* LOGO — gradient teal->cyan->blue */
.logo { display: flex; align-items: center; gap: 10px; padding: 2px 8px 12px; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--grad-teal); display: grid; place-items: center; color: white; font-weight: 800; font-size: 14px; box-shadow: 0 6px 16px rgba(21,183,217,.35), 0 0 0 1px rgba(255,255,255,.08) inset; position: relative; overflow: hidden; }
.logo-mark::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 30% 20%, rgba(255,255,255,.35), transparent 60%); }
.logo-text { font-weight: 800; font-size: 20px; color: white; letter-spacing: -0.025em; background: linear-gradient(180deg, #fff 0%, #C2EBF3 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* sidebar profile block */
.sb-profile { display: flex; flex-direction: column; align-items: center; padding: 18px 12px 20px; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.06); margin: 0 -4px 16px; }
.sb-photo { width: 88px; height: 88px; border-radius: 999px; background-size: cover; background-position: center; box-shadow: 0 0 0 2px var(--c-teal), 0 0 0 5px rgba(45,212,191,.18); }
.sb-profile-name { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -0.012em; text-align: center; }
.sb-profile-meta { font-size: 11.5px; color: #64748B; text-align: center; }
.sb-founding { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(45,212,191,.12); color: var(--c-teal); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* STAT KPI CARD */
.kpi { background: white; border-radius: 14px; padding: 22px 24px; border: 1px solid rgba(14,27,44,.04); box-shadow: 0 1px 2px rgba(14,27,44,.04); }
.kpi-label { font-size: 11px; font-weight: 600; color: var(--c-slate-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.kpi-value { font-size: 30px; font-weight: 800; color: var(--c-navy); font-variant-numeric: tabular-nums; letter-spacing: -0.028em; line-height: 1; }
.kpi-value.cyan { color: var(--c-cyan-deep); }
.kpi-sub { font-size: 12px; color: var(--c-slate-muted); margin-top: 8px; letter-spacing: -0.005em; }

/* CHECKBOX TOGGLE */
.toggle { width: 36px; height: 20px; background: var(--c-divider); border-radius: 999px; position: relative; flex: 0 0 36px; }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: white; box-shadow: 0 1px 2px rgba(0,0,0,.1); transition: transform .2s; }
.toggle.on { background: var(--c-cyan); }
.toggle.on::after { transform: translateX(16px); }

/* COMMON ICON SVG WRAPPER */
.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 22px; height: 22px; }
.ic-sm { width: 14px; height: 14px; }
