/*
 * EIG Design System — Unified Token & Component Library
 * Version 1.0 | April 2026
 *
 * This file is the single source of truth for all design tokens.
 * It is loaded last in every HTML page so these tokens take precedence
 * over per-page variable declarations, ensuring visual consistency.
 *
 * IMPORTANT: Only token overrides and utility classes live here.
 * Do NOT remove this file from any HTML page.
 */

/* ============================================================
   0. FONT IMPORTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   1. DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* --- Brand Colors --- */
  --primary-navy:    #071B31;
  --secondary-navy:  #102B4E;
  --sidebar-navy:    #0D2340;
  --accent-gold:     #C9A33A;
  --accent-hover:    #E0BB58;
  --gold-border:     rgba(201, 163, 58, 0.28);
  --gold-bg:         rgba(201, 163, 58, 0.08);

  /* --- Surface Colors --- */
  --bg-light:        #F4F7FB;
  --card-white:      #FFFFFF;
  --bg-overlay:      rgba(7, 27, 49, 0.96);

  /* --- Text Colors --- */
  --text-primary:    #0B1726;
  --text-secondary:  #6B7A90;
  --text-muted:      #94A3B8;
  --text-inverted:   #FFFFFF;

  /* --- Status Colors --- */
  --success:         #19C37D;
  --success-bg:      rgba(25, 195, 125, 0.12);
  --warning:         #E9B949;
  --warning-bg:      rgba(233, 185, 73, 0.12);
  --danger:          #E45C5C;
  --danger-bg:       rgba(228, 92, 92, 0.12);
  --info:            #3B82F6;
  --info-bg:         rgba(59, 130, 246, 0.12);
  --muted:           #D9E1EA;
  --muted-bg:        rgba(217, 225, 234, 0.30);

  /* --- Border & Divider --- */
  --border:          #D9E1EA;
  --border-focus:    #C9A33A;
  --border-light:    rgba(217, 225, 234, 0.40);

  /* --- Shadows --- */
  --shadow-xs:       0 1px 3px rgba(7, 27, 49, 0.08);
  --shadow-sm:       0 2px 8px rgba(7, 27, 49, 0.10);
  --shadow-md:       0 4px 16px rgba(7, 27, 49, 0.12);
  --shadow-lg:       0 8px 32px rgba(7, 27, 49, 0.16);
  --shadow-xl:       0 16px 48px rgba(7, 27, 49, 0.20);

  /* --- Border Radii --- */
  --radius-xs:       4px;
  --radius-sm:       6px;
  --radius:          8px;
  --radius-md:       10px;
  --radius-lg:       12px;
  --radius-xl:       16px;
  --radius-full:     9999px;

  /* --- Spacing Scale (8px base) --- */
  --space-1:         8px;
  --space-2:         16px;
  --space-3:         24px;
  --space-4:         32px;
  --space-5:         48px;
  --space-6:         64px;
  --space-7:         96px;

  /* --- Typography Scale --- */
  --font-heading:    'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body:       'Inter', 'Plus Jakarta Sans', -apple-system, sans-serif;

  --text-xs:         12px;
  --text-sm:         14px;
  --text-base:       16px;
  --text-lg:         18px;
  --text-xl:         20px;
  --text-2xl:        24px;
  --text-3xl:        28px;
  --text-4xl:        36px;
  --text-5xl:        48px;

  --fw-normal:       400;
  --fw-medium:       500;
  --fw-semibold:     600;
  --fw-bold:         700;
  --fw-extrabold:    800;

  --lh-tight:        1.2;
  --lh-snug:         1.35;
  --lh-normal:       1.5;
  --lh-relaxed:      1.65;

  /* --- Layout --- */
  --max-content:     1200px;
  --sidebar-w:       240px;
  --sidebar-w-collapsed: 60px;
  --topbar-h:        56px;

  /* --- Transitions --- */
  --transition:      all 0.18s ease;
  --transition-fast: all 0.10s ease;
  --transition-slow: all 0.30s ease;

  /* ----------------------------------------------------------------
     BACKWARD-COMPAT ALIASES
     Map legacy variable names used by existing pages → design tokens
     ---------------------------------------------------------------- */

  /* Navy aliases */
  --navy:            #071B31;
  --header-navy:     #071B31;
  --panel:           #102B4E;
  --panel-navy:      #102B4E;
  --navy-light:      #102B4E;
  --navy-mid:        #1a3a60;
  --sidebar-navy:    #0D2340;

  /* Gold aliases */
  --gold:            #C9A33A;
  --gold-hi:         #E0BB58;
  --gold-bright:     #E0BB58;
  --gold-light:      #E0BB58;
  --gold-dim:        #a07810;
  --gold-pale:       rgba(201, 163, 58, 0.10);

  /* Teal (Support Portal accent) */
  --teal:            #1CB8A0;
  --teal-hi:         #3DCFC0;
  --teal-dim:        rgba(28, 184, 160, 0.12);
  --teal-border:     rgba(28, 184, 160, 0.28);

  /* Surface/text aliases */
  --canvas:          #F4F7FB;
  --white:           #FFFFFF;
  --black:           #040b18;
  --soft:            #D9E1EA;
  --light:           #e2e8f0;
  --slate:           #94a3b8;
  --card:            rgba(255, 255, 255, 0.04);
  --muted:           #D9E1EA;
  --input-border:    rgba(217, 225, 234, 0.22);

  /* Gray scale (va-call-assistant and other pages) */
  --gray-50:         #f8fafc;
  --gray-100:        #F4F7FB;
  --gray-200:        #D9E1EA;
  --gray-300:        #CBD5E0;
  --gray-400:        #94A3B8;
  --gray-500:        #6B7A90;
  --gray-600:        #4A5568;
  --gray-700:        #2D3748;
  --gray-800:        #0B1726;
  --gray-900:        #071B31;

  /* Status aliases */
  --green:           #19C37D;
  --red:             #E45C5C;
  --amber:           #E9B949;
  --blue:            #3B82F6;
  --error:           #E45C5C;
  --error-bg:        rgba(228, 92, 92, 0.10);
  --success-bg:      rgba(25, 195, 125, 0.10);
  --warning-bg:      rgba(233, 185, 73, 0.12);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-light);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-tight);
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover { color: var(--accent-hover); }

/* ============================================================
   3. DS BUTTON COMPONENTS  (.ds-btn)
   ============================================================ */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.ds-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary — success green fill */
.ds-btn-primary {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.ds-btn-primary:hover:not(:disabled) {
  background: #15a869;
  border-color: #15a869;
  color: #fff;
  box-shadow: 0 4px 12px rgba(25, 195, 125, 0.35);
  transform: translateY(-1px);
}
.ds-btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary — gold outline */
.ds-btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}
.ds-btn-secondary:hover:not(:disabled) {
  background: var(--gold-bg);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(201, 163, 58, 0.20);
  transform: translateY(-1px);
}
.ds-btn-secondary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

/* Ghost — transparent */
.ds-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.ds-btn-ghost:hover:not(:disabled) {
  background: var(--bg-light);
  color: var(--text-primary);
  border-color: var(--border);
}

/* Danger */
.ds-btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.ds-btn-danger:hover:not(:disabled) {
  background: #c94040;
  border-color: #c94040;
  color: #fff;
}

/* Navy — for dark backgrounds */
.ds-btn-navy {
  background: var(--secondary-navy);
  color: #fff;
  border-color: var(--secondary-navy);
}
.ds-btn-navy:hover:not(:disabled) {
  background: #183d6e;
  border-color: #183d6e;
  color: #fff;
}

/* Sizes */
.ds-btn-sm { padding: 7px 14px; font-size: var(--text-xs); }
.ds-btn-lg { padding: 15px 32px; font-size: var(--text-base); }
.ds-btn-xl { padding: 18px 40px; font-size: var(--text-lg); border-radius: var(--radius-md); }

/* ============================================================
   4. DS CARD COMPONENT  (.ds-card)
   ============================================================ */
.ds-card {
  background: var(--card-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.ds-card:hover {
  box-shadow: var(--shadow-md);
}
.ds-card-sm { padding: var(--space-2); }
.ds-card-lg { padding: var(--space-4); }

/* Dark card (for navy backgrounds) */
.ds-card-dark {
  background: var(--secondary-navy);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* KPI card */
.ds-kpi-card {
  background: var(--card-white);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-kpi-card__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ds-kpi-card__value {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  font-family: var(--font-heading);
  line-height: 1;
}
.ds-kpi-card__delta {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}
.ds-kpi-card__delta--up   { color: var(--success); }
.ds-kpi-card__delta--down { color: var(--danger); }
.ds-kpi-card__delta--flat { color: var(--text-muted); }

/* ============================================================
   5. DS BADGE / STATUS PILL  (.ds-badge)
   ============================================================ */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: capitalize;
}
.ds-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.ds-badge-success   { background: var(--success-bg); color: var(--success); }
.ds-badge-warning   { background: var(--warning-bg); color: #b8891a; }
.ds-badge-danger    { background: var(--danger-bg);  color: var(--danger); }
.ds-badge-info      { background: var(--info-bg);    color: var(--info); }
.ds-badge-muted     { background: var(--muted-bg);   color: var(--text-secondary); }
.ds-badge-gold      { background: var(--gold-bg);    color: var(--accent-gold); }

/* Alternate naming for existing badge classes */
.ds-badge-confirmed  { background: var(--success-bg); color: var(--success); }
.ds-badge-pending    { background: var(--warning-bg); color: #b8891a; }
.ds-badge-cancelled  { background: var(--danger-bg);  color: var(--danger); }
.ds-badge-active     { background: var(--success-bg); color: var(--success); }
.ds-badge-inactive   { background: var(--muted-bg);   color: var(--text-secondary); }
.ds-badge-no-response { background: var(--muted-bg);  color: var(--text-secondary); }

/* ============================================================
   6. DS FORM INPUTS  (.ds-input, .ds-select, .ds-textarea)
   ============================================================ */
.ds-input,
.ds-select,
.ds-textarea {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--card-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.ds-input::placeholder,
.ds-textarea::placeholder {
  color: var(--text-muted);
}
.ds-input:hover,
.ds-select:hover,
.ds-textarea:hover {
  border-color: #b8c6d4;
}
.ds-input:focus,
.ds-select:focus,
.ds-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(201, 163, 58, 0.15);
}
.ds-textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}
.ds-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7A90' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.ds-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.ds-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.ds-input-error {
  border-color: var(--danger) !important;
}
.ds-input-error:focus {
  box-shadow: 0 0 0 3px rgba(228, 92, 92, 0.15) !important;
}
.ds-error-text {
  font-size: var(--text-xs);
  color: var(--danger);
  margin-top: 4px;
}

/* Dark variant (for navy backgrounds) */
.ds-input-dark,
.ds-select-dark,
.ds-textarea-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.ds-input-dark::placeholder,
.ds-textarea-dark::placeholder {
  color: rgba(255,255,255,0.35);
}
.ds-input-dark:focus,
.ds-select-dark:focus,
.ds-textarea-dark:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 163, 58, 0.15);
}

/* ============================================================
   7. DS TABLE  (.ds-table)
   ============================================================ */
.ds-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-white);
}
.ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.ds-table thead th {
  background: var(--primary-navy);
  color: rgba(255,255,255,0.85);
  font-weight: var(--fw-semibold);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: none;
}
.ds-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.ds-table thead th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }
.ds-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition-fast);
}
.ds-table tbody tr:last-child { border-bottom: none; }
.ds-table tbody tr:hover {
  background: rgba(201, 163, 58, 0.04);
}
.ds-table tbody td {
  padding: 13px 16px;
  color: var(--text-primary);
  vertical-align: middle;
}
.ds-table tfoot td {
  padding: 12px 16px;
  font-weight: var(--fw-semibold);
  border-top: 2px solid var(--border);
  background: var(--bg-light);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   8. DS SIDEBAR NAV  (.ds-sidebar)
   ============================================================ */
.ds-sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-navy);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: width 0.22s ease;
  overflow: hidden;
}
.ds-sidebar.collapsed {
  width: var(--sidebar-w-collapsed);
}
.ds-sidebar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ds-sidebar__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: 14px;
  color: var(--primary-navy);
  flex-shrink: 0;
}
.ds-sidebar__logo-text {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  color: #fff;
  white-space: nowrap;
}
.ds-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 8px;
  scrollbar-width: none;
}
.ds-sidebar__nav::-webkit-scrollbar { display: none; }
.ds-sidebar__section-label {
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 12px 10px 6px;
  white-space: nowrap;
}
.ds-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  color: rgba(255,255,255,0.62);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  border-left: 3px solid transparent;
  margin-bottom: 1px;
}
.ds-sidebar__item:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.90);
}
.ds-sidebar__item.active,
.ds-sidebar__item[aria-current="page"] {
  background: rgba(201, 163, 58, 0.12);
  color: var(--accent-gold);
  border-left-color: var(--accent-gold);
}
.ds-sidebar__item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}
.ds-sidebar__item.active .ds-sidebar__item-icon,
.ds-sidebar__item[aria-current="page"] .ds-sidebar__item-icon {
  opacity: 1;
}
.ds-sidebar__footer {
  padding: 12px 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================================
   9. DS TOPBAR  (.ds-topbar)
   ============================================================ */
.ds-topbar {
  height: var(--topbar-h);
  background: var(--card-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-xs);
}
.ds-topbar__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--text-lg);
  color: var(--text-primary);
  flex: 1;
}
.ds-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-topbar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--secondary-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================
   10. DS MODAL  (.ds-modal)
   ============================================================ */
.ds-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 27, 49, 0.65);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ds-fade-in 0.15s ease;
}
.ds-modal {
  background: var(--card-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  animation: ds-slide-up 0.18s ease;
}
.ds-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-3) 0;
}
.ds-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}
.ds-modal__close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-size: 18px;
  line-height: 1;
}
.ds-modal__close:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}
.ds-modal__body {
  padding: var(--space-3);
}
.ds-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 var(--space-3) var(--space-3);
}

/* ============================================================
   11. DS SECTION / LAYOUT HELPERS
   ============================================================ */
.ds-section {
  padding: 80px 0;
}
.ds-section-lg {
  padding: 120px 0;
}
.ds-container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.ds-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.ds-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ds-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ds-flex { display: flex; }
.ds-flex-center { display: flex; align-items: center; justify-content: center; }
.ds-flex-between { display: flex; align-items: center; justify-content: space-between; }
.ds-flex-gap-1 { gap: var(--space-1); }
.ds-flex-gap-2 { gap: var(--space-2); }
.ds-flex-gap-3 { gap: var(--space-3); }

/* KPI Row Pattern */
.ds-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

/* Dashboard 2-col */
.ds-dash-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

/* 3-col workspace layout */
.ds-workspace-3col {
  display: grid;
  grid-template-columns: 26% 52% 22%;
  gap: var(--space-2);
  align-items: start;
}

/* ============================================================
   12. DS HERO (WEBSITE)  (.ds-hero)
   ============================================================ */
.ds-hero {
  min-height: 720px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 60%, #1a3a60 100%);
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.ds-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201, 163, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.ds-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
  position: relative;
  z-index: 1;
}
.ds-hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 16px;
}
.ds-hero__headline {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  color: #fff;
  line-height: var(--lh-tight);
  margin: 0 0 20px;
}
.ds-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  line-height: var(--lh-relaxed);
  margin: 0 0 36px;
}
.ds-hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   13. DIVIDER & UTILITY
   ============================================================ */
.ds-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-3) 0;
}
.ds-divider-dark {
  border-top-color: rgba(255,255,255,0.08);
}
.ds-text-sm     { font-size: var(--text-sm) !important; }
.ds-text-xs     { font-size: var(--text-xs) !important; }
.ds-text-muted  { color: var(--text-muted) !important; }
.ds-text-gold   { color: var(--accent-gold) !important; }
.ds-text-success { color: var(--success) !important; }
.ds-text-danger { color: var(--danger) !important; }
.ds-text-warning { color: var(--warning) !important; }
.ds-mt-1 { margin-top: var(--space-1); }
.ds-mt-2 { margin-top: var(--space-2); }
.ds-mt-3 { margin-top: var(--space-3); }
.ds-mb-1 { margin-bottom: var(--space-1); }
.ds-mb-2 { margin-bottom: var(--space-2); }
.ds-mb-3 { margin-bottom: var(--space-3); }
.ds-p-1 { padding: var(--space-1); }
.ds-p-2 { padding: var(--space-2); }
.ds-p-3 { padding: var(--space-3); }

/* ============================================================
   14. ANIMATIONS
   ============================================================ */
@keyframes ds-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ds-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ds-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
.ds-animate-fade   { animation: ds-fade-in 0.3s ease; }
.ds-animate-up     { animation: ds-slide-up 0.3s ease; }
.ds-animate-pulse  { animation: ds-pulse 1.5s ease infinite; }

/* ============================================================
   15. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .ds-workspace-3col {
    grid-template-columns: 1fr 1fr;
  }
  .ds-workspace-3col > :last-child {
    grid-column: span 2;
  }
  .ds-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ds-hero__cta-row {
    justify-content: center;
  }
  .ds-hero {
    min-height: auto;
    padding: 60px 0;
  }
  .ds-hero__headline {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .ds-workspace-3col {
    grid-template-columns: 1fr;
  }
  .ds-workspace-3col > :last-child {
    grid-column: span 1;
  }
  .ds-dash-2col {
    grid-template-columns: 1fr;
  }
  .ds-grid-3,
  .ds-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .ds-sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-w);
  }
  .ds-sidebar.open {
    transform: translateX(0);
  }
  .ds-kpi-row {
    grid-template-columns: 1fr 1fr;
  }
  .ds-hero__headline { font-size: 28px; }
  .ds-section, .ds-section-lg { padding: 48px 0; }
}
@media (max-width: 480px) {
  .ds-grid-3,
  .ds-grid-4 {
    grid-template-columns: 1fr;
  }
  .ds-kpi-row {
    grid-template-columns: 1fr;
  }
  .ds-table thead { display: none; }
  .ds-table tbody tr { display: block; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; }
  .ds-table tbody td { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--border); }
  .ds-table tbody td:last-child { border-bottom: none; }
  .ds-table tbody td::before { content: attr(data-label); font-weight: var(--fw-semibold); color: var(--text-secondary); }
}

/* ============================================================
   16. SCROLLBAR POLISH
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
