/* =========================================================
   bugzero.mx — Planetary Theme
   Deep space + sky blue · glassmorphism · subtle motion
   ========================================================= */
:root {
  /* Base — deep space */
  --bg: #020617;
  --bg-2: #050B1F;
  --surface: rgba(255,255,255,0.025);
  --surface-2: rgba(255,255,255,0.04);
  --surface-3: rgba(255,255,255,0.06);
  --surface-solid: #0A1124;

  --border: rgba(148, 192, 255, 0.08);
  --border-strong: rgba(148, 192, 255, 0.15);
  --border-glow: rgba(120, 200, 255, 0.35);

  --text: #F0F6FF;
  --text-2: #C8D4E8;
  --text-3: #8497B6;
  --text-4: #5B6B8A;

  /* Sky-blue accent system */
  --sky: oklch(0.78 0.13 230);
  --sky-bright: oklch(0.85 0.16 220);
  --sky-soft: oklch(0.55 0.13 230 / 0.18);
  --sky-glow: oklch(0.78 0.13 230 / 0.4);

  --accent: var(--sky);
  --primary: var(--sky);

  --success: oklch(0.78 0.16 165);
  --success-soft: oklch(0.55 0.13 165 / 0.15);
  --warning: oklch(0.82 0.14 80);
  --warning-soft: oklch(0.6 0.13 80 / 0.15);
  --danger: oklch(0.72 0.18 25);
  --danger-soft: oklch(0.55 0.18 25 / 0.18);
  --critical: oklch(0.65 0.22 15);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  --sidebar-w: 244px;
  --topbar-h: 60px;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --glow: 0 0 0 1px rgba(120, 200, 255, 0.12), 0 8px 28px rgba(0, 80, 200, 0.18);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}
body::before {
  /* Cosmic ambient gradients */
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% -10%, oklch(0.55 0.18 240 / 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 110%, oklch(0.45 0.18 250 / 0.20), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, oklch(0.40 0.10 260 / 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  /* Starfield via tiny radial-gradients */
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 25% 72%, rgba(180,220,255,0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 30%, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1px 1px at 78% 60%, rgba(200,230,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 90% 12%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 35% 90%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 67% 8%, rgba(180,220,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 88% 80%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 5% 50%, rgba(180,220,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 42% 45%, rgba(255,255,255,0.4), transparent 50%);
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
  animation: drift 120s linear infinite;
}
@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-2%, -3%, 0); }
}
#root { min-height: 100vh; position: relative; z-index: 1; }

button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
.mono { font-family: var(--font-mono); font-feature-settings: 'tnum'; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; }

::selection { background: var(--sky-soft); color: var(--text); }

/* ===================== Layout ===================== */
.app-shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; position: relative; z-index: 1; }

.sidebar {
  background: linear-gradient(180deg, rgba(8,14,32,0.85), rgba(4,8,20,0.95));
  border-right: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar-brand {
  padding: 18px 20px 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--border);
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, oklch(0.92 0.10 220), oklch(0.55 0.18 240) 60%, oklch(0.25 0.15 260));
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(120,200,255,0.25), 0 0 18px rgba(120,200,255,0.35);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(120,200,255,0.30);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand-name { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; color: var(--text); }
.brand-sub { font-size: 10.5px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

.sidebar-section { padding: 18px 14px 6px; font-size: 10.5px; text-transform: uppercase; color: var(--text-4); letter-spacing: 0.1em; font-weight: 500; }
.sidebar nav { display: flex; flex-direction: column; padding: 4px 10px; gap: 1px; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 9px;
  color: var(--text-2);
  font-size: 13px;
  transition: all 0.18s cubic-bezier(0.32, 0.72, 0, 1);
  width: 100%;
  text-align: left;
  position: relative;
}
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active {
  background: linear-gradient(90deg, var(--sky-soft), transparent);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--sky);
}
.nav-item svg { width: 16px; height: 16px; opacity: 0.85; transition: opacity 0.15s; }
.nav-item.active svg { opacity: 1; color: var(--sky); }
.nav-badge { margin-left: auto; background: var(--surface-3); color: var(--text-2); font-size: 10.5px; padding: 1px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; border: 1px solid var(--border); }
.nav-item.active .nav-badge { background: var(--sky-soft); color: var(--sky-bright); border-color: var(--border-glow); }
.sidebar-footer { margin-top: auto; padding: 12px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; cursor: pointer; transition: background 0.15s; }
.sidebar-user:hover { background: var(--surface-2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--sky-bright), oklch(0.45 0.18 250)); color: #02101F; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(120,200,255,0.25); }
.user-name { font-size: 12.5px; color: var(--text); line-height: 1.2; }
.user-role { font-size: 11px; color: var(--text-3); line-height: 1.2; }

.main { display: flex; flex-direction: column; min-width: 0; position: relative; }
.topbar {
  height: var(--topbar-h);
  background: rgba(5, 11, 31, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky; top: 0; z-index: 10;
}
.topbar-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.topbar-crumb { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.topbar-spacer { flex: 1; }
.topbar-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 6px 11px;
  width: 290px;
  color: var(--text-3);
  font-size: 12.5px;
  transition: border-color 0.15s;
}
.topbar-search:hover { border-color: var(--border-strong); }
.topbar-search input { background: none; border: none; outline: none; flex: 1; color: var(--text); }
.kbd { font-family: var(--font-mono); font-size: 10.5px; padding: 1px 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--text-3); background: var(--surface-2); }

.page { padding: 30px 36px; max-width: 1440px; position: relative; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; gap: 24px; }
.page-title { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; margin: 0; color: var(--text); }
.page-sub { font-size: 13.5px; color: var(--text-3); margin-top: 6px; }
.page-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all 0.18s cubic-bezier(0.32, 0.72, 0, 1);
  white-space: nowrap;
  position: relative;
}
.btn:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, oklch(0.72 0.16 230), oklch(0.55 0.18 240));
  color: #02101F;
  border-color: oklch(0.55 0.18 240);
  box-shadow: 0 0 0 1px oklch(0.85 0.10 220 / 0.25) inset, 0 4px 18px oklch(0.55 0.18 240 / 0.35);
  font-weight: 600;
}
.btn-primary:hover { box-shadow: 0 0 0 1px oklch(0.85 0.10 220 / 0.4) inset, 0 6px 24px oklch(0.55 0.18 240 / 0.5); transform: translateY(-1px); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--surface-2); transform: none; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.btn-lg { padding: 11px 20px; font-size: 14px; border-radius: 10px; }
.btn-danger { color: var(--danger); }
.icon-btn { padding: 6px; border-radius: 8px; color: var(--text-3); display: inline-grid; place-items: center; transition: all 0.15s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* ===================== Cards (glass) ===================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.card::before {
  /* subtle inner highlight on top edge */
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,220,255,0.18), transparent);
  pointer-events: none;
}
.card-pad { padding: 18px 22px; }
.card-header { padding: 14px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; color: var(--text); }
.card-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ===================== Stat card ===================== */
.stat { padding: 20px 22px; }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.stat-label::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px var(--sky-glow); }
.stat-value { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-top: 12px; font-variant-numeric: tabular-nums; color: var(--text); }
.stat-delta { font-size: 11.5px; color: var(--text-3); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.stat-delta.up { color: var(--success); }
.stat-delta.down { color: var(--danger); }

/* ===================== Table ===================== */
.table { font-size: 13px; color: var(--text-2); }
.table thead th {
  text-align: left; font-weight: 500; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-3);
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  white-space: nowrap;
}
.table tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-2); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 0.15s; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num, .table .mono { font-variant-numeric: tabular-nums; }
.cell-strong { font-weight: 500; color: var(--text); }
.cell-muted { color: var(--text-3); }

.table tfoot td { background: rgba(255,255,255,0.02); color: var(--text); }

/* ===================== Badges ===================== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge.success { color: var(--success); background: var(--success-soft); border-color: oklch(0.55 0.13 165 / 0.3); }
.badge.warning { color: var(--warning); background: var(--warning-soft); border-color: oklch(0.6 0.13 80 / 0.3); }
.badge.danger { color: var(--danger); background: var(--danger-soft); border-color: oklch(0.55 0.18 25 / 0.3); }
.badge.critical { color: #FFE; background: var(--critical); border-color: var(--critical); box-shadow: 0 0 14px oklch(0.65 0.22 15 / 0.5); }
.badge.accent { color: var(--sky-bright); background: var(--sky-soft); border-color: var(--border-glow); }
.badge.neutral { color: var(--text-2); }

/* ===================== Severity ===================== */
.sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.sev::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.sev.baja { color: oklch(0.78 0.10 220); }
.sev.media { color: var(--warning); }
.sev.alta { color: var(--danger); }
.sev.critica { color: oklch(0.72 0.22 15); }

/* ===================== Forms ===================== */
.field { display: flex; flex-direction: column; gap: 7px; }
.label { font-size: 11.5px; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.input, .textarea, .select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  color: var(--text);
  font-family: inherit;
}
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--sky);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--sky-soft);
}
.textarea { resize: vertical; min-height: 80px; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2384a8d8' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 32px; }
.help { font-size: 11.5px; color: var(--text-3); }

/* ===================== Progress ===================== */
.bar { height: 6px; background: rgba(255,255,255,0.04); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, oklch(0.55 0.18 240), oklch(0.85 0.16 220)); border-radius: 999px; box-shadow: 0 0 12px oklch(0.78 0.13 230 / 0.5); position: relative; }
.bar > span::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); animation: shimmer 2.5s ease-in-out infinite; }
@keyframes shimmer { 0%,100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }

/* ===================== Grids ===================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 10px; }
.spacer { flex: 1; }
.divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ===================== Avatar ===================== */
.client-avatar { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, oklch(0.45 0.15 250), oklch(0.30 0.15 260)); color: var(--text); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0; border: 1px solid var(--border-strong); }

/* =========================================================
   LANDING
   ========================================================= */
.landing { min-height: 100vh; color: var(--text); position: relative; z-index: 1; }
.landing-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  gap: 32px;
}
.landing-nav .links { display: flex; gap: 28px; font-size: 13px; color: var(--text-3); }
.landing-nav .links a { transition: color 0.15s; }
.landing-nav .links a:hover { color: var(--text); }

.landing-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

/* ---------- HERO ---------- */
.hero {
  padding: 90px 0 100px;
  position: relative;
  min-height: 720px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px;
  padding: 6px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  position: relative;
}
.hero-eyebrow .pulse::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--success);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing { from { transform: scale(0.8); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.hero h1 {
  font-size: 68px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.hero h1 .grad {
  background: linear-gradient(180deg, #F0F6FF 0%, oklch(0.78 0.13 230) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 em { font-style: normal; color: var(--text-3); font-weight: 400; }
.hero p.lead { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 540px; margin: 0 0 36px; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-meta .item .k { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.hero-meta .item .v { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; font-variant-numeric: tabular-nums; color: var(--text); }

/* ---------- Planetary system ---------- */
.planet-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(120, 200, 255, 0.12);
  animation: orbitSpin var(--orbit-speed, 40s) linear infinite;
}
.orbit-2 { inset: 12%; border-color: rgba(120, 200, 255, 0.16); --orbit-speed: 30s; animation-direction: reverse; }
.orbit-3 { inset: 24%; border-color: rgba(120, 200, 255, 0.10); --orbit-speed: 22s; }
.orbit-4 { inset: 36%; border-color: rgba(120, 200, 255, 0.14); --orbit-speed: 16s; animation-direction: reverse; }
.orbit-dashed { border-style: dashed; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }

.satellite {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--sky-bright);
  box-shadow: 0 0 18px var(--sky-bright), 0 0 0 1px rgba(180,220,255,0.4);
}
.satellite.s1 { background: oklch(0.85 0.16 220); transform: translate(220px, 0); }
.satellite.s2 { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: oklch(0.78 0.10 200); transform: translate(-180px, 60px); }
.satellite.s3 { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: oklch(0.92 0.06 220); transform: translate(0, -140px); }
.satellite.s4 { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: oklch(0.85 0.12 230); transform: translate(90px, 90px); }

.planet-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 32%; aspect-ratio: 1;
  margin: -16% 0 0 -16%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, oklch(0.92 0.10 215), oklch(0.65 0.18 230) 35%, oklch(0.30 0.18 250) 75%, oklch(0.15 0.12 260));
  box-shadow:
    inset -20px -30px 60px rgba(0,0,30,0.6),
    0 0 80px oklch(0.55 0.18 240 / 0.5),
    0 0 140px oklch(0.55 0.18 240 / 0.25);
  animation: planetFloat 8s ease-in-out infinite;
}
.planet-core::before {
  content: '';
  position: absolute; inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 20%, transparent 30%, rgba(0,0,30,0.3) 80%),
    radial-gradient(circle at 60% 70%, rgba(180,220,255,0.15), transparent 40%);
  mix-blend-mode: overlay;
}
.planet-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; aspect-ratio: 1 / 0.18;
  margin: -5.4% 0 0 -30%;
  border-radius: 50%;
  border: 2px solid rgba(180, 220, 255, 0.25);
  border-bottom-color: rgba(180,220,255,0.5);
  border-top-color: transparent;
  transform: rotate(-22deg);
  pointer-events: none;
}
.planet-ring::before {
  content: '';
  position: absolute; inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(180,220,255,0.18);
  border-bottom-color: rgba(180,220,255,0.35);
  border-top-color: transparent;
}
@keyframes planetFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hud-tag {
  position: absolute;
  background: rgba(5, 11, 31, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text-2);
  display: flex; flex-direction: column;
  gap: 3px;
  z-index: 3;
  min-width: 140px;
  box-shadow: 0 0 0 1px rgba(120,200,255,0.05), 0 8px 24px rgba(0,0,20,0.4);
}
.hud-tag .k { font-size: 9.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.hud-tag .v { font-size: 13.5px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.hud-tag::before {
  content: ''; position: absolute; width: 6px; height: 6px;
  border-radius: 50%; background: var(--sky);
  box-shadow: 0 0 10px var(--sky-bright);
}
.hud-tag.tl { top: 6%; left: 2%; }
.hud-tag.tl::before { top: 14px; right: -16px; }
.hud-tag.br { bottom: 8%; right: 2%; }
.hud-tag.br::before { top: 14px; left: -16px; }
.hud-tag.bl { bottom: 24%; left: -2%; }
.hud-tag.bl::before { top: 14px; right: -16px; }

.scan-line {
  position: absolute;
  inset: 8% 8% 8% 8%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(120,200,255,0.18) 30deg, transparent 60deg);
  animation: scanSpin 6s linear infinite;
  pointer-events: none;
}
@keyframes scanSpin { to { transform: rotate(360deg); } }

/* ---------- Section ---------- */
.section { padding: 100px 0; border-top: 1px solid var(--border); position: relative; }
.section-head { margin-bottom: 56px; max-width: 820px; }
.section-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--sky); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--sky); }
.section-title { font-size: 42px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 0; line-height: 1.1; color: var(--text); }
.section-lead { font-size: 16px; color: var(--text-2); margin-top: 16px; line-height: 1.6; max-width: 640px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); }
.feature {
  background: rgba(5,11,31,0.6);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
  position: relative;
}
.feature:hover { background: rgba(10,18,40,0.7); }
.feature-num { font-family: var(--font-mono); font-size: 11px; color: var(--sky); letter-spacing: 0.08em; }
.feature h3 { font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -0.01em; color: var(--text); }
.feature p { font-size: 13.5px; color: var(--text-3); margin: 0; line-height: 1.6; }

/* ---------- Scope ---------- */
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.scope-item { padding: 20px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 16px; }
.scope-item:last-child, .scope-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.scope-num { font-family: var(--font-mono); font-size: 11px; color: var(--sky); padding-top: 3px; min-width: 30px; }
.scope-text strong { font-weight: 500; font-size: 14.5px; display: block; color: var(--text); }
.scope-text span { font-size: 13px; color: var(--text-3); display: block; margin-top: 4px; line-height: 1.6; }

/* ---------- Process ---------- */
.process-step { display: grid; grid-template-columns: 100px 1fr 1.1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--border); transition: background 0.2s; }
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-step:hover { background: var(--surface); }
.process-step .step-num { font-family: var(--font-mono); font-size: 12px; color: var(--sky); letter-spacing: 0.08em; }
.process-step .step-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.process-step .step-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

/* ---------- Pricing ---------- */
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(120,200,255,0.06), rgba(70,130,220,0.04));
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(120,200,255,0.1), 0 20px 60px rgba(0,40,120,0.25);
}
.pricing-card.featured::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.price-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); font-weight: 500; }
.price-amount { font-size: 60px; font-weight: 600; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; font-variant-numeric: tabular-nums; color: var(--text); }
.pricing-card.featured .price-amount {
  background: linear-gradient(180deg, #F0F6FF, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-period { color: var(--text-3); font-size: 14px; font-weight: 400; -webkit-text-fill-color: var(--text-3); }
.price-list { list-style: none; padding: 0; margin: 30px 0 0; }
.price-list li { font-size: 13.5px; padding: 12px 0; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.price-list li::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sky-soft);
  border: 1px solid var(--border-glow);
  position: relative;
  flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form {
  background: var(--surface);
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}
.contact-form .field + .field { margin-top: 16px; }
.contact-side { padding-top: 8px; }
.contact-side .item { padding: 18px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.contact-side .item .k { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.contact-side .item .v { font-size: 15px; font-weight: 500; color: var(--text); margin-top: 3px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 44px; border-top: 1px solid var(--border); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; }
.footer-copy { font-size: 12.5px; color: var(--text-3); }

/* =========================================================
   LOGIN
   ========================================================= */
.login-screen { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; position: relative; z-index: 1; }
.login-side {
  padding: 48px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.login-side::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, oklch(0.55 0.20 240 / 0.4), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, oklch(0.45 0.18 250 / 0.3), transparent 60%);
  pointer-events: none;
}
.login-side > * { position: relative; z-index: 1; }
.login-form-wrap {
  padding: 48px;
  display: grid; place-items: center;
  background: rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(8px);
}
.login-form { width: 100%; max-width: 380px; }
.login-quote { margin-top: auto; max-width: 460px; }
.login-quote q { font-size: 22px; line-height: 1.4; letter-spacing: -0.015em; color: var(--text); font-style: normal; quotes: none; }
.login-quote cite { font-size: 12.5px; color: var(--text-3); font-style: normal; display: block; margin-top: 18px; }
.login-tag-list { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.login-tag { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.login-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); }

.login-planet {
  position: absolute;
  bottom: -30%; right: -20%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, oklch(0.85 0.10 220), oklch(0.45 0.18 240) 40%, oklch(0.15 0.10 260) 90%);
  box-shadow: inset -40px -60px 120px rgba(0,0,30,0.7), 0 0 200px oklch(0.55 0.20 240 / 0.4);
  pointer-events: none;
  animation: planetFloat 10s ease-in-out infinite;
}

/* =========================================================
   Tabs / KV / Bug / Evidence / PDF
   ========================================================= */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tab { padding: 10px 14px; font-size: 13px; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s, border-color 0.15s; }
.tab:hover { color: var(--text-2); }
.tab.active { color: var(--text); border-bottom-color: var(--sky); font-weight: 500; }

.kv-list .kv { display: grid; grid-template-columns: 160px 1fr; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.kv-list .kv:last-child { border-bottom: none; }
.kv-list .kv .k { color: var(--text-3); text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
.kv-list .kv .v { color: var(--text); font-variant-numeric: tabular-nums; }

.bug-card {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  transition: border-color 0.15s, background 0.15s;
}
.bug-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.bug-id { font-family: var(--font-mono); font-size: 11px; color: var(--sky); }
.bug-title { font-size: 13.5px; font-weight: 500; color: var(--text); }
.bug-sub { font-size: 11.5px; color: var(--text-3); margin-top: 3px; }

.evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.evidence {
  aspect-ratio: 4/3;
  border-radius: 10px;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(120,200,255,0.04) 8px 9px),
    linear-gradient(160deg, rgba(70,130,220,0.10), rgba(20,40,80,0.20));
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 11px 13px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.evidence:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.evidence .meta { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); }

.pdf-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); transition: border-color 0.15s, background 0.15s; }
.pdf-item:hover { border-color: var(--border-strong); background: var(--surface-2); }
.pdf-icon { width: 36px; height: 44px; border-radius: 6px; background: linear-gradient(180deg, var(--sky-soft), transparent); border: 1px solid var(--border-glow); display: grid; place-items: center; font-family: var(--font-mono); font-size: 9.5px; color: var(--sky-bright); font-weight: 600; }
.pdf-name { font-size: 13px; font-weight: 500; color: var(--text); }
.pdf-meta { font-size: 11.5px; color: var(--text-3); margin-top: 3px; }

/* ===================== Timeline ===================== */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--sky-soft), transparent); }
.timeline-item { position: relative; padding: 6px 0 20px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text-4); }
.timeline-item.now::before { border-color: var(--sky); box-shadow: 0 0 12px var(--sky-glow); background: var(--bg-2); }
.timeline-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.timeline-title { font-size: 13px; font-weight: 500; margin-top: 3px; color: var(--text); }
.timeline-desc { font-size: 12.5px; color: var(--text-3); margin-top: 3px; line-height: 1.5; }

/* ===================== Hours visualization ===================== */
.heatmap { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; }
.heatmap .cell { aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,0.025); border: 1px solid var(--border); transition: transform 0.15s; }
.heatmap .cell:hover { transform: scale(1.15); border-color: var(--border-glow); }
.heatmap .cell.l1 { background: oklch(0.40 0.10 240 / 0.5); border-color: oklch(0.50 0.13 240 / 0.4); }
.heatmap .cell.l2 { background: oklch(0.55 0.15 235 / 0.6); border-color: oklch(0.65 0.15 235 / 0.5); }
.heatmap .cell.l3 { background: oklch(0.70 0.15 230 / 0.7); border-color: oklch(0.75 0.15 230 / 0.6); box-shadow: 0 0 8px oklch(0.70 0.15 230 / 0.3); }
.heatmap .cell.l4 { background: oklch(0.85 0.16 220); border-color: oklch(0.85 0.16 220); box-shadow: 0 0 14px oklch(0.78 0.13 230 / 0.5); }

/* ===================== Sparkbar ===================== */
.sparkbar { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.sparkbar .bar-i { flex: 1; background: linear-gradient(180deg, oklch(0.85 0.16 220), oklch(0.55 0.18 240)); border-radius: 4px 4px 0 0; min-height: 4px; transition: opacity 0.15s; box-shadow: 0 0 12px oklch(0.78 0.13 230 / 0.4); }
.sparkbar .bar-i.muted { background: rgba(255,255,255,0.04); border: 1px solid var(--border); box-shadow: none; }
.sparkbar .bar-i:hover { opacity: 0.85; }
.spark-axis { display: flex; gap: 8px; margin-top: 10px; font-family: var(--font-mono); font-size: 10px; color: var(--text-4); }
.spark-axis span { flex: 1; text-align: center; }

/* ===================== Donut ===================== */
.donut { width: 120px; height: 120px; position: relative; }
.donut svg { transform: rotate(-90deg); filter: drop-shadow(0 0 8px var(--sky-glow)); }
.donut .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut .center .val { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.donut .center .lbl { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===================== Filter bar ===================== */
.filter-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); margin-bottom: 18px; backdrop-filter: blur(10px); }
.filter-bar .input { padding: 5px 10px; font-size: 12.5px; background: transparent; border: none; }
.filter-pill { padding: 5px 11px; font-size: 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-3); cursor: pointer; background: transparent; transition: all 0.15s; }
.filter-pill:hover { color: var(--text-2); border-color: var(--border-strong); }
.filter-pill.active { background: var(--sky-soft); color: var(--sky-bright); border-color: var(--border-glow); }

/* ===================== Drawer ===================== */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,5,15,0.7); backdrop-filter: blur(4px); z-index: 50; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 580px; max-width: 92vw;
  background: linear-gradient(180deg, #0A1124, #050B1F);
  border-left: 1px solid var(--border-strong);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  z-index: 51;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-header { padding: 20px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.drawer-body { padding: 22px 26px; flex: 1; overflow-y: auto; }
.drawer-footer { padding: 14px 26px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ===================== Portal switch ===================== */
.portal-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); }
.portal-switch button { padding: 6px 14px; font-size: 12.5px; border-radius: 7px; color: var(--text-3); transition: all 0.15s; }
.portal-switch button.active { background: var(--sky-soft); color: var(--sky-bright); font-weight: 500; }

/* ===================== Client hero ===================== */
.client-hero {
  background: linear-gradient(135deg, rgba(120,200,255,0.06), rgba(70,130,220,0.04));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.client-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.55 0.20 240 / 0.4), transparent 60%);
  pointer-events: none;
}
.client-hero > * { position: relative; }
.client-hero h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--text); }
.client-hero p { color: var(--text-3); margin: 8px 0 0; font-size: 13.5px; }
.client-hero-meta { display: flex; gap: 32px; }
.client-hero-meta .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 500; }
.client-hero-meta .v { font-size: 24px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -0.02em; }

/* ===================== Quincena hero block ===================== */
.q-hero {
  background: linear-gradient(135deg, rgba(120,200,255,0.10), rgba(70,130,220,0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.q-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.55 0.20 240 / 0.35), transparent 60%);
  pointer-events: none;
}

/* ===================== Project card (client) ===================== */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.project-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.project-card:hover::before { opacity: 1; }

/* ===================== Animations ===================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== Responsive ===================== */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .planet-stage { max-width: 380px; }
}
@media (max-width: 800px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .login-screen { grid-template-columns: 1fr; }
  .login-side { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-nav .links { display: none; }
}

/* ===================== Action Menu (dropdown) ===================== */
.action-menu-wrap { position: relative; display: inline-block; }
.action-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: linear-gradient(180deg, #0A1124, #050B1F);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  padding: 6px;
  min-width: 140px;
  z-index: 40;
  display: flex; flex-direction: column; gap: 2px;
  animation: fadeIn 0.15s ease;
}
.action-menu button {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--text-2);
  transition: all 0.12s;
  text-align: left;
}
.action-menu button:hover { background: var(--surface-2); color: var(--text); }
.action-menu button.danger { color: var(--danger); }
.action-menu button.danger:hover { background: var(--danger-soft); }

/* ===================== Confirm Dialog ===================== */
.confirm-backdrop { position: fixed; inset: 0; background: rgba(0,5,15,0.75); backdrop-filter: blur(4px); z-index: 60; display: grid; place-items: center; animation: fadeIn 0.2s ease; }
.confirm-box { background: linear-gradient(180deg, #0A1124, #050B1F); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 28px; width: 420px; max-width: 92vw; box-shadow: var(--glow); animation: fadeIn 0.2s ease; }
.confirm-box h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.confirm-box p { margin: 0 0 20px; font-size: 13.5px; color: var(--text-3); line-height: 1.5; }
.confirm-box .confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ===================== Paginator ===================== */
.paginator { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; }
.paginator button { padding: 6px 11px; border-radius: 8px; font-size: 12.5px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); transition: all 0.15s; }
.paginator button:hover:not(:disabled) { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.paginator button.active { background: var(--sky-soft); color: var(--sky-bright); border-color: var(--border-glow); font-weight: 500; }
.paginator button:disabled { opacity: 0.4; cursor: not-allowed; }
