/* ===============================
   ROOT DESIGN SYSTEM
=============================== */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --success: #16a34a;
  --danger: #dc2626;

  --bg: #f1f5f9;
  --card-bg: #ffffff;

  --text: #0f172a;
  --muted: #64748b;

  --border: #e2e8f0;
  --radius: 12px;

  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* ===============================
   RESET
=============================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
/* AI BOX */

.ai-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
  transition: 0.2s;
}

.ai-box:focus-within {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.2);
}

.ai-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.ai-actions button {
  background: linear-gradient(135deg,#22c55e,#16a34a);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
}

.ai-live {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}
/* ONBOARDING STATUS */

.step-item {
  font-size: 13px;
  padding: 6px 0;
  color: #94a3b8;
}

.step-item.completed {
  color: #22c55e;
  font-weight: 600;
}

.step-item.completed::before {
  content: "✔ ";
}

.onboarding-progress {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.stage-left-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.stage-percent {
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
}

.progress-dots {
  display: flex;
  gap: 8px;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.progress-dot.done {
  background: #22c55e;
}

.progress-dot.current {
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.stage-battery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.step-pill.pending {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #9a3412;
  border-color: #fdba74;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.14);
}

.step-pill.active {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
  border-color: #ea580c;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25), 0 0 18px rgba(249, 115, 22, 0.35);
}

.step-pill.completed {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border-color: #15803d;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3), 0 0 18px rgba(34, 197, 94, 0.34);
}

.step-pill.completed[data-edit-armed="1"] {
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4), 0 0 22px rgba(34, 197, 94, 0.45);
  transform: translateY(-1px);
}

.step-pill::before {
  display: inline-block;
  margin-right: 8px;
  font-size: 11px;
}

.step-pill.pending::before { content: "•"; }
.step-pill.active::before { content: "→"; }
.step-pill.completed::before { content: "✔"; }

.lead-contact.locked {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.unlock-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  margin-top: 8px;
}

.lead-actions button {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.lead-actions button.upgrade {
  background: linear-gradient(135deg,#f97316,#ea580c);
  color: #fff;
}

.lead-actions button.secondary {
  background: #eef2ff;
  color: #312e81;
}

/* ===============================
   LAYOUT
=============================== */
.app-shell {
  max-width: 1080px;
  margin: 28px auto;
  padding: 0 18px 28px;
}

.main-content {
  margin-left: 240px;
  padding: 20px;
}

/* ===============================
   SIDEBAR
=============================== */
.sidebar {
  width: 220px;
  height: 100vh;
  background: #0f172a;
  color: #fff;
  position: fixed;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 25px;
}

.sidebar a {
  color: #94a3b8;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: 0.2s;
}

.sidebar a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ===============================
   CARD SYSTEM
=============================== */
.card {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: 0.2s ease;
  margin-top: 16px;
}

.card:hover {
  transform: translateY(-2px);
}

/* ===============================
   TYPOGRAPHY
=============================== */
h1, h2, h3, h4 {
  margin-top: 0;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

/* ===============================
   INPUTS
=============================== */
input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 11px;
  font-size: 14px;
  margin-top: 8px;
}

input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Global field activity states across the app */
.app-field {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.app-field.app-typing {
  border-color: #fb923c !important;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.18) !important;
}

.app-field.app-saved {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16) !important;
  background: #f8fff9;
}

/* ===============================
   BUTTONS
=============================== */
button {
  margin-top: 12px;
  border: 0;
  border-radius: 9px;
  padding: 11px 14px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: var(--primary-dark);
}

/* ===============================
   LEADS (UPGRADED)
=============================== */
.leads-list {
  display: grid;
  gap: 10px;
}

.lead-item {
  border: 1px solid #dbeafe;
  background: #f8fbff;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  transition: 0.2s;
}

.lead-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.lead-tag {
  background: #dcfce7;
  color: #166534;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;

.profile-top-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  overflow: hidden;
  margin-bottom: 8px;
}

.profile-cover {
  height: 76px;
  background: linear-gradient(135deg, #1d4ed8, #14b8a6);
  background-size: cover;
  background-position: center;
}

.profile-identity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: -24px;
  padding: 0 12px;
}

.profile-flag-wrap {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.country-flag-big {
  font-size: 32px;
  line-height: 1;
}

.country-name-mini {
  font-size: 11px;
  color: #cbd5e1;
}

.country-pride-badge {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 10px 12px;
  min-width: 120px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.country-pride-flag {
  font-size: 28px;
  line-height: 1;
}

.country-pride-copy {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

.country-pride-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.country-pride-name {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}

.chat-box {
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: #fff;
  bottom: 20px;
  right: 20px;
  width: 320px;
  font-size: 17px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);

.profile-meta-stack {
  display: grid;
  gap: 4px;
  padding: 10px 12px 12px;
}

.profile-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
  display: flex;
  flex-direction: column;
}

.chat-messages {
  height: 240px;
  overflow-y: auto;
  padding: 10px;
}

.chat-input {
  display: flex;
  border-top: 1px solid var(--border);
}

.chat-input input {
  flex: 1;
  border: none;
}

.chat-input button {
  width: auto;
}
/* FULL AI BOX */

.full-ai-box {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #ffffff;
}

/* TEXTAREA */

.auto-expand {
  width: 100%;
  min-height: 80px;
  max-height: 300px;
  resize: none;
  border: none;
  outline: none;
  font-size: 14px;
  line-height: 1.5;
}

/* UPLOAD */

.upload-row {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
}

.upload-label {
  margin-left: 8px;
}

/* AI BUTTONS */

.ai-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.ai-actions button {
  background: linear-gradient(135deg,#22c55e,#16a34a);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
}

/* LIVE FEEDBACK */

.ai-live {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}
/* ===============================
   🔥 MODAL (NEW CRM FEATURE)
=============================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  width: 360px;
  box-shadow: var(--shadow);
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 14px;
  margin: 6px 0;
}

.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

/* ===============================
   UTILITIES
=============================== */
.hidden {
  display: none;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }

  .chat-box {
    width: 90%;
    right: 5%;
  }
}

/* ===============================
   🌍 REGION THEMES (SAFE SYSTEM)
=============================== */

/* DEFAULT */
.theme-default {
  --primary: #2563eb;
}

/* INDIA (Saffron tone) */
.theme-india {
  --primary: #ea580c;
}

/* MIDDLE EAST (Soft Green) */
.theme-middleeast {
  --primary: #16a34a;
}

/* EUROPE (Clean Blue) */
.theme-europe {
  --primary: #2563eb;
}

/* US (Neutral Modern) */
.theme-us {
  --primary: #111827;
}

/* DARK MODE */
.theme-dark {
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f8fafc;
  --border: #334155;
}
/* ===============================
   🧠 ELITE SIDEBAR SYSTEM
=============================== */

.sidebar {
  width: 240px;
  height: 100vh;
  background: linear-gradient(180deg, #0f172a, #020617);
  color: #fff;
  position: fixed;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.05);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.12);
  border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.55);
  border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.75);
}

/* BRAND */
.brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 2px solid var(--primary);
}

.brand-name {
  font-weight: 600;
  font-size: 14px;
}

/* ROLE BADGE */
.role-badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  margin-top: 4px;
}

/* PROGRESS */
.progress-box {
  margin: 20px 0;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
}

/* SECTION */
.sidebar-section {
  margin-top: 10px;
}

.sidebar-title {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 8px;
}

/* STEP ITEM */
.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 8px;
  font-size: 12px;
  color: #cbd5f5;
}

/* ONLY SHOW COMPLETED */
.step-item.completed {
  color: #22c55e;
}

.step-item.completed::before {
  content: "✔";
  font-size: 12px;
}

/* HIDE INCOMPLETE */
.step-item.pending {
  display: none;
}

/* LEAD STATS */
.lead-stats {
  margin-top: 20px;
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 10px;
}

.lead-number {
  font-size: 20px;
  font-weight: bold;
}

.lead-label {
  font-size: 11px;
  color: #94a3b8;
}

/* PRODUCT + EXPORT */
.profile-mini {
  margin-top: 15px;
  font-size: 12px;
  color: #cbd5f5;
}

/* SECURITY (PASSWORD) */
.security-box {
  margin-top: auto;
  padding-top: 8px;
  padding-bottom: 6px;
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.98) 36%);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.security-box button {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
}

.security-box button:hover {
  background: rgba(255,255,255,0.1);
}

/* TIMESTAMP */
.timestamp {
  font-size: 10px;
  color: #64748b;
  margin-top: 5px;
}
/* ===============================
   LEAD ELITE DESIGN (STEP 2)
=============================== */

.lead-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: 0.2s;
  cursor: pointer;
}

.lead-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.lead-main {
  display: flex;
  flex-direction: column;
}

.lead-title {
  font-weight: 600;
  font-size: 14px;
}

.lead-meta {
  font-size: 12px;
  color: var(--muted);
}

.lead-right {
  text-align: right;
}

.lead-time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* ===============================
   DASHBOARD ROUTING UI
=============================== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-main {
  flex: 1;
  margin-left: 240px;
  padding: 24px;
}

.dashboard-panel {
  display: block;
}

.sidebar-nav-link {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: 0.2s;
}

.sidebar-nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.sidebar-nav-link.active {
  background: rgba(37, 99, 235, 0.22);
  color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.logout-btn {
  width: 100%;
  background: #991b1b;
  border: 1px solid #b91c1c;
}

.logout-btn:hover {
  background: #7f1d1d;
}

.mobile-tabs {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-tabs .sidebar-nav-link {
  margin-bottom: 0;
  color: #334155;
  background: #f1f5f9;
}

.mobile-tabs .sidebar-nav-link.active {
  color: #fff;
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.quick-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 12px;
}

.quick-link-btn:hover {
  background: #c7d2fe;
}

/* ===============================
   DASHBOARD METRIC GRID HOTFIX
=============================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.grid-4 .card {
  margin-top: 0;
  padding: 14px 12px;
}

.metric {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.executive-command-strip{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:18px 0 20px;
}

.exec-pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:14px;
  background:linear-gradient(
    135deg,
    rgba(15,23,42,0.92),
    rgba(30,41,59,0.95)
  );
  border:1px solid rgba(148,163,184,0.18);
  color:#e2e8f0;
  font-size:13px;
  font-weight:600;
  letter-spacing:.2px;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.25);
}

.exec-pill strong{
  color:#34d399;
  font-size:14px;
}
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .dashboard-main {
    margin-left: 0;
    padding: 16px;
  }

  .mobile-tabs {
    display: flex;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   ONBOARDING FAST UX (ALL STEPS)
=============================== */
body.onboarding-screen {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

body.onboarding-screen .container {
  max-width: 760px;
  width: min(760px, calc(100vw - 12px));
  margin: 0 auto;
  padding: 4px 0 10px;
}

body.onboarding-screen .header {
  margin-bottom: 8px;
}

body.onboarding-screen h2 {
  font-size: clamp(18px, 2vw, 22px);
  margin: 4px 0;
}

body.onboarding-screen h3 {
  font-size: clamp(14px, 1.5vw, 17px);
  margin: 0 0 6px;
}

body.onboarding-screen .small,
body.onboarding-screen .status,
body.onboarding-screen .field-meta,
body.onboarding-screen .muted-note,
body.onboarding-screen .simple-note {
  font-size: 11px;
  line-height: 1.3;
}

body.onboarding-screen .card {
  padding: 10px;
  margin-top: 8px;
}

body.onboarding-screen input,
body.onboarding-screen textarea,
body.onboarding-screen select {
  padding: 8px 10px;
  font-size: 13px;
}

body.onboarding-screen textarea {
  min-height: 92px;
}

body.onboarding-screen button,
body.onboarding-screen .chip,
body.onboarding-screen .media-choice-chip,
body.onboarding-screen .quick-intent-chip,
body.onboarding-screen .intent-chip,
body.onboarding-screen .domain-chip {
  font-size: 11px;
  padding: 6px 9px;
}

body.onboarding-screen .onboarding-progress {
  gap: 6px;
  margin-top: 4px;
}

body.onboarding-screen .stage-battery {
  gap: 6px;
}

body.onboarding-screen .step-pill {
  min-width: auto;
  padding: 6px 8px;
  font-size: 11px;
}

body.onboarding-screen .global-back-slot {
  margin: 0 0 4px;
}

body.onboarding-screen .global-back-btn {
  margin-top: 0;
  padding: 6px 10px;
  min-height: 30px;
  font-size: 12px;
}

body.onboarding-screen.short-viewport .header {
  margin-bottom: 4px;
}

body.onboarding-screen.short-viewport .header .small {
  display: none;
}

body.onboarding-screen.short-viewport .card {
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  padding: 8px;
}

body.onboarding-screen.short-viewport .onboarding-progress {
  margin-top: 2px;
  gap: 4px;
}

body.onboarding-screen.short-viewport .stage-battery {
  gap: 4px;
}

body.onboarding-screen.short-viewport .step-pill {
  padding: 5px 7px;
  font-size: 10px;
}

body.onboarding-screen.short-viewport h2 {
  font-size: clamp(16px, 1.8vw, 20px);
  margin: 2px 0;
}

body.onboarding-screen.short-viewport h3 {
  font-size: clamp(13px, 1.3vw, 15px);
  margin: 0 0 4px;
}

body.onboarding-screen.short-viewport .status,
body.onboarding-screen.short-viewport .field-meta,
body.onboarding-screen.short-viewport .muted-note,
body.onboarding-screen.short-viewport .simple-note,
body.onboarding-screen.short-viewport .small {
  font-size: 10px;
  line-height: 1.25;
}

body.onboarding-screen.short-viewport textarea {
  min-height: 72px;
}

body.onboarding-screen.short-viewport .onboarding-fast-nav {
  margin: 2px 0 6px;
  padding: 4px;
}

body.onboarding-screen.short-viewport .onboarding-fast-nav .stage-pill {
  padding: 4px 6px;
  font-size: 10px;
}

body.onboarding-screen.short-viewport .onboarding-fast-nav .swap-btn {
  min-width: 30px;
  padding: 4px 6px;
}

@media (max-width: 768px) {
  body.onboarding-screen .container {
    width: calc(100vw - 8px);
  }

  body.onboarding-screen .card {
    padding: 8px;
  }
}

/* Vibrant Footer Styles */
.app-footer {
  margin-top: 48px;
  padding: 32px 0 18px 0;
  background: linear-gradient(90deg,#f8fafc 60%,#e0f2fe 100%);
  border-top: 1px solid #e2e8f0;
  text-align: center;
  position: relative;
  z-index: 10;
}
.app-footer nav a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: #2563eb;
  background: linear-gradient(90deg,#fff 60%,#e0f2fe 100%);
  box-shadow: 0 2px 12px rgba(34,197,94,0.07);
  text-decoration: none;
  transition: background 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s;
  position: relative;
}
.app-footer nav a:hover {
  color: #fff;
  background: linear-gradient(90deg,#22c55e 0%,#2563eb 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(34,197,94,0.13);
  text-shadow: 0 2px 12px #2563eb33;
}
.app-footer nav a[style*="color:#16a34a"] {
  background: linear-gradient(90deg,#f0fdf4 60%,#bbf7d0 100%);
  color: #16a34a !important;
}
.app-footer nav a[style*="color:#16a34a"]:hover {
  background: linear-gradient(90deg,#22c55e 0%,#16a34a 100%);
  color: #fff !important;
}
.app-footer .footer-copyright {
  color: #64748b;
  font-size: 13px;
  margin-top: 10px;
  letter-spacing: 0.5px;
}
/* ==========================================
   🌍 EXECUTIVE TRUST STRIP
========================================== */

.trust-pill {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 8px 12px;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #f8fafc 100%
  );

  border: 1px solid #dbeafe;

  box-shadow:
    0 4px 16px rgba(37,99,235,0.06);

  font-size: 12px;

  font-weight: 700;

  color: #0f172a;

  transition: all 0.2s ease;

}

.trust-pill:hover {

  transform: translateY(-2px);

  box-shadow:
    0 10px 24px rgba(15,23,42,0.08);

}
/* ==========================================
   🌍 EXPORT HEATMAP
========================================== */

.heatmap-card {

  border-radius: 16px;

  border: 1px solid #dbeafe;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8fbff 100%
    );

  padding: 14px;

  font-size: 13px;

  font-weight: 700;

  color: #0f172a;

  box-shadow:
    0 8px 24px rgba(15,23,42,0.06);

  transition: all 0.2s ease;

}

.heatmap-card:hover {

  transform: translateY(-2px);

  box-shadow:
    0 14px 32px rgba(15,23,42,0.12);

}
.executive-command-strip{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:18px 0 20px;
}

.exec-pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:14px;
  background:linear-gradient(
    135deg,
    rgba(15,23,42,0.92),
    rgba(30,41,59,0.95)
  );
  border:1px solid rgba(148,163,184,0.18);
  color:#e2e8f0;
  font-size:13px;
  font-weight:600;
  letter-spacing:.2px;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.25);
}

.exec-pill strong{
  color:#34d399;
  font-size:14px;
}
.orchestrator-wall{
  margin:0 0 20px;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(
    135deg,
    rgba(15,23,42,0.96),
    rgba(30,41,59,0.92)
  );
  border:1px solid rgba(148,163,184,0.14);
  box-shadow:
    0 18px 40px rgba(15,23,42,0.22);
}

.orchestrator-header{
  color:#f8fafc;
  font-size:15px;
  font-weight:700;
  margin-bottom:14px;
  letter-spacing:.3px;
}

.orchestrator-grid{
  width:100%;
  border-collapse:collapse;
}

.orchestrator-grid th{
  text-align:left;
  padding:10px 8px;
  color:#94a3b8;
  font-size:12px;
  font-weight:700;
  border-bottom:1px solid rgba(148,163,184,0.12);
}

.orchestrator-grid td{
  padding:12px 8px;
  color:#e2e8f0;
  font-size:13px;
  border-bottom:1px solid rgba(148,163,184,0.08);
}

.orch-live{
  color:#34d399;
  font-weight:700;
}

.orch-queued{
  color:#fbbf24;
  font-weight:700;
}
.async-health-center{
  margin:0 0 20px;
  padding:16px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  box-shadow:
    0 12px 30px rgba(15,23,42,0.06);
}

.async-health-header{
  font-size:15px;
  font-weight:700;
  color:#0f172a;
  margin-bottom:14px;
}

.async-health-grid{
  display:grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap:12px;
}

.async-health-card{
  padding:14px;
  border-radius:14px;
  background:
    linear-gradient(
      135deg,
      #f8fafc,
      #ffffff
    );
  border:1px solid #e2e8f0;
}

.async-label{
  font-size:12px;
  color:#64748b;
  margin-bottom:6px;
  font-weight:600;
}

.async-value{
  font-size:16px;
  font-weight:800;
}

.async-good{
  color:#059669;
}
.live-feed{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:14px;
}

.feed-item{
  position:relative;
  padding:14px 16px 14px 18px;
  border-radius:14px;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8fafc 100%
    );
  border:1px solid #e2e8f0;
  box-shadow:
    0 8px 24px rgba(15,23,42,0.05);
  font-size:13px;
  font-weight:700;
  color:#0f172a;
  letter-spacing:.2px;
  overflow:hidden;
}

.feed-item::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background:
    linear-gradient(
      180deg,
      #2563eb,
      #0f766e
    );
}

.feed-item:hover{
  transform:translateY(-1px);
  box-shadow:
    0 14px 32px rgba(15,23,42,0.08);
}
