/* ==========================================================================
   Vocens Vault — Premium Obsidian Glass Design System
   Zero external CSS framework, ultra-fast Core Web Vitals, fully responsive
   ========================================================================== */

:root {
  --bg: #060913;
  --bg-elevated: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-solid: #0f172a;
  --bg-input: #070d1b;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --cyan: #06b6d4;
  --indigo: #6366f1;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(ellipse 65% 45% at 88% 0%, rgba(99, 102, 241, 0.14), transparent 55%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code, pre, .mono { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #f8fafc;
}
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-emerald { color: #34d399; }
.text-gradient {
  background: linear-gradient(125deg, #34d399 0%, #22d3ee 52%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #02201a;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.26);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary {
  background: rgba(30, 41, 59, 0.72);
  border-color: var(--border-strong);
  color: #f1f5f9;
}
.btn-secondary:hover { background: rgba(51, 65, 85, 0.75); border-color: rgba(148, 163, 184, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: #fff; background: rgba(148, 163, 184, 0.09); }
.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fda4af;
}
.btn-danger:hover { background: rgba(244, 63, 94, 0.25); }
.btn-amber {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
.btn-amber:hover { background: rgba(245, 158, 11, 0.25); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 13px; }
.btn-block { width: 100%; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-emerald { background: rgba(16, 185, 129, 0.14); color: #34d399; border-color: rgba(16, 185, 129, 0.3); }
.badge-amber   { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }
.badge-rose    { background: rgba(244, 63, 94, 0.14);  color: #fb7185; border-color: rgba(244, 63, 94, 0.3); }
.badge-indigo  { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border-color: rgba(99, 102, 241, 0.32); }
.badge-slate   { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.22); }

/* --- Cards & Panels --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(14px);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.card-title { font-size: 17px; font-weight: 700; }

/* --- Alerts / Flash --- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); color: #a7f3d0; }
.alert-danger  { background: rgba(244, 63, 94, 0.12);  border-color: rgba(244, 63, 94, 0.35);  color: #fda4af; }
.alert-warning { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); color: #fde68a; }
.alert-info    { background: rgba(6, 182, 212, 0.12);  border-color: rgba(6, 182, 212, 0.35);  color: #a5f3fc; }

/* --- Forms --- */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.form-control, select.form-control, textarea.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  color: #f8fafc;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
textarea.form-control { min-height: 92px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-dim); margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) {
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
}

/* --- Public Navbar --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 9, 19, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.brand img { width: 34px; height: 34px; }
.brand-sub { font-size: 11px; color: var(--emerald); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: block; line-height: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(148, 163, 184, 0.1);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-strong);
  color: #fff;
  border-radius: 10px;
  padding: 8px 11px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #0a1020;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    align-items: stretch;
  }
  .site-header.mobile-open .nav-actions {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 268px;
    background: #0a1020;
    padding: 0 20px 18px;
    border-bottom: 1px solid var(--border);
  }
}

/* --- Hero Section --- */
.hero {
  padding: 76px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 48px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.metric-val { font-size: 24px; font-weight: 800; color: #f8fafc; }
.metric-lbl { font-size: 12px; color: var(--text-muted); }

/* --- Terminal / Live API Preview Card --- */
.terminal-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(7, 11, 22, 0.96));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(16, 185, 129, 0.08);
}
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(2, 6, 23, 0.7);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #10b981; }
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
}
.tok-k { color: #38bdf8; }
.tok-s { color: #34d399; }
.tok-n { color: #fbbf24; }
.tok-c { color: #64748b; }

/* --- Sections & Grids --- */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #34d399;
  margin-bottom: 8px;
}
.section-title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.product-icon svg { width: 22px; height: 22px; }
.product-card h3 { font-size: 18px; margin-bottom: 8px; }
.product-card p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 18px; flex: 1; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 10px;
}
.price-tag { font-size: 18px; font-weight: 800; color: #f8fafc; }
.price-tag small { font-size: 12px; font-weight: 500; color: var(--text-muted); }

/* --- Feature Pillars --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 960px) { .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

/* --- FAQ --- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: #34d399; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 12px 0 0; color: var(--text-muted); font-size: 14px; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 7, 15, 0.85);
  padding: 52px 0 28px;
  margin-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #cbd5e1; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: #34d399; }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

/* --- Auth Card --- */
.auth-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

/* --- Dashboard Layout (Admin & Customer Unified Shell) --- */
.dash-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
}
.dash-sidebar {
  background: rgba(7, 11, 22, 0.94);
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-section {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 20px 10px 8px;
}
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.sidebar-link:hover { background: rgba(148, 163, 184, 0.08); color: #f8fafc; }
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(6, 182, 212, 0.1));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.dash-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dash-topbar {
  height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 9, 19, 0.72);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.dash-content {
  padding: 28px;
  max-width: 1360px;
  width: 100%;
}
.dash-mobile-btn {
  display: none;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-strong);
  color: #fff;
  border-radius: 9px;
  padding: 7px 11px;
  cursor: pointer;
}
@media (max-width: 980px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed;
    left: -290px;
    top: 0;
    bottom: 0;
    width: 268px;
    z-index: 60;
    transition: left 0.22s ease;
  }
  .dash-shell.sidebar-open .dash-sidebar { left: 0; }
  .dash-mobile-btn { display: inline-flex; }
  .dash-content { padding: 18px; }
  .dash-topbar { padding: 0 16px; }
}

/* --- KPI Grid --- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 1120px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px)  { .kpi-grid { grid-template-columns: 1fr; } }

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}
.kpi-label { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.kpi-value { font-size: 28px; font-weight: 800; color: #f8fafc; letter-spacing: -0.03em; }
.kpi-sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* --- Tables --- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
thead th {
  text-align: left;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(148, 163, 184, 0.04); }

/* --- Key Pill --- */
.key-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #6ee7b7;
  font-weight: 600;
}
.copy-btn {
  background: rgba(16, 185, 129, 0.15);
  border: none;
  color: #34d399;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.copy-btn:hover { background: rgba(16, 185, 129, 0.28); }

/* --- Code Block & Tabs --- */
.code-block {
  background: #050a14;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.65;
  margin: 0;
}
.tabs-bar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.tab-btn.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Chart --- */
.chart-bars {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  height: 150px;
  padding-top: 16px;
}
.chart-col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart-bar {
  width: 100%;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #10b981, #06b6d4);
  transition: opacity 0.15s;
}
.chart-lbl { font-size: 10px; color: var(--text-dim); }

/* --- Toast --- */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #0f172a;
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.actions-inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-form { display: inline-flex; margin: 0; }
