/* ============================================================
   GetQuoteAI — Unified Design System
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
}

/* ---------- Tokens ---------- */
:root {
  --mint:        #00e5a0;
  --mint-dim:    #00c48a;
  --mint-light:  rgba(0, 229, 160, 0.12);
  --mint-glow:   rgba(0, 229, 160, 0.25);

  --sidebar-bg:  #1a1a1f;
  --sidebar-w:   210px;
  --topbar-h:    60px;

  --app-bg:      #f5f6fa;
  --card-bg:     #ffffff;
  --border:      #e5e7eb;
  --border-dark: #d1d5db;

  --text:        #111827;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;

  --red:         #ef4444;
  --red-bg:      #fee2e2;
  --amber:       #f59e0b;
  --amber-bg:    #fef3c7;
  --blue:        #3b82f6;
  --blue-bg:     #dbeafe;
  --green:       #10b981;
  --green-bg:    #d1fae5;

  --radius:      12px;
  --radius-sm:   8px;
  --radius-xs:   6px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:      0 4px 12px rgba(0,0,0,.08);

  --font:        'Montserrat', system-ui, sans-serif;
  --transition:  0.15s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--font); background: var(--app-bg); color: var(--text); font-size: 14px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   AUTH / ONBOARDING BACKGROUND
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 120% 55% at 50% 0%, #063028 0%, #0a1c16 30%, #0d0d0d 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

/* ============================================================
   AUTH CARD  (Login / OTP)
   ============================================================ */
.auth-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  padding: 40px 44px;
  width: 100%;
  max-width: 480px;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.auth-logo svg { width: 52px; height: 52px; }

.auth-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 4px;
}
.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

/* Fields */
.field-group { margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.field-label .req { color: var(--red); margin-left: 2px; }
.field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.field-input::placeholder { color: var(--text-light); }
.field-input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-glow);
}
.field-input.is-error { border-color: var(--red); }
.field-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}
.field-error.visible { display: block; }

/* Auth row (remember me + forgot) */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
}
.auth-check { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.auth-check input[type=checkbox] { accent-color: var(--mint); width: 15px; height: 15px; }
.auth-link { color: var(--mint); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  padding: 12px 20px;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--mint);
  color: #0a1a14;
  width: 100%;
}
.btn-primary:hover { background: var(--mint-dim); }
.btn-primary:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-dark);
  color: var(--text);
}
.btn-outline:hover { background: var(--app-bg); }

.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: #1f2937; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--app-bg); }

/* OR divider */
.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.auth-or::before, .auth-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Social buttons */
.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
  margin-bottom: 10px;
}
.social-btn:hover { background: var(--app-bg); }
.social-btn img { width: 20px; height: 20px; }

/* Below card */
.auth-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.auth-bottom a, .auth-bottom .link { color: var(--mint); font-weight: 600; }
.auth-fine {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  max-width: 380px;
  line-height: 1.6;
}

/* General alert */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.alert.visible { display: block; }
.alert-error { background: var(--red-bg); color: var(--red); border: 1px solid #fca5a5; }
.alert-success { background: var(--green-bg); color: var(--green); border: 1px solid #6ee7b7; }

/* ============================================================
   OTP SCREEN
   ============================================================ */
.otp-boxes {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 14px;
}
.otp-box {
  width: 70px;
  height: 62px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.otp-box:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-glow);
}
.otp-box.is-error { border-color: var(--red); }
.otp-timer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.otp-timer .resend-link {
  color: var(--mint);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 13px;
  font-family: var(--font);
}
.otp-timer .resend-link:disabled { color: var(--text-light); cursor: default; }

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 120% 55% at 50% 0%, #063028 0%, #0a1c16 30%, #0d0d0d 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.splash-logo { margin-bottom: 28px; }
.splash-logo svg { width: 88px; height: 88px; }
.splash-heading {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}
.splash-heading span { color: var(--mint); }
.splash-sub {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  text-align: center;
  margin-bottom: 60px;
}
.splash-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* dot spinner */
.dot-spinner {
  width: 44px;
  height: 44px;
  position: relative;
  animation: spin 1.2s linear infinite;
}
.dot-spinner span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  top: 50%;
  left: 50%;
  transform-origin: -10px -10px;
}
.dot-spinner span:nth-child(1)  { transform: rotate(0deg)   translateX(18px); opacity: 1; }
.dot-spinner span:nth-child(2)  { transform: rotate(45deg)  translateX(18px); opacity: .8; }
.dot-spinner span:nth-child(3)  { transform: rotate(90deg)  translateX(18px); opacity: .65; }
.dot-spinner span:nth-child(4)  { transform: rotate(135deg) translateX(18px); opacity: .5; }
.dot-spinner span:nth-child(5)  { transform: rotate(180deg) translateX(18px); opacity: .38; }
.dot-spinner span:nth-child(6)  { transform: rotate(225deg) translateX(18px); opacity: .28; }
.dot-spinner span:nth-child(7)  { transform: rotate(270deg) translateX(18px); opacity: .18; }
.dot-spinner span:nth-child(8)  { transform: rotate(315deg) translateX(18px); opacity: .1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   ONBOARDING
   ============================================================ */
.onboard-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 120% 45% at 50% 0%, #063028 0%, #0a1c16 25%, #0d0d0d 55%);
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.onboard-header { text-align: center; margin-bottom: 36px; }
.onboard-title { font-size: 36px; font-weight: 700; color: #fff; }
.onboard-title span { color: var(--mint); }
.onboard-subtitle { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 6px; }

/* Stepper */
.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  width: 100%;
  max-width: 580px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 1.5px;
  background: rgba(255,255,255,.2);
  z-index: 0;
}
.step.done:not(:last-child)::after,
.step.active:not(:last-child)::after { background: var(--mint); }

.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step.active .step-dot {
  background: var(--mint);
  border-color: var(--mint);
  color: #0a1a14;
}
.step.done .step-dot {
  background: var(--mint);
  border-color: var(--mint);
  color: #0a1a14;
}
.step-name { font-size: 13px; font-weight: 700; color: #fff; text-align: center; }
.step-sub { font-size: 11px; color: rgba(255,255,255,.45); text-align: center; }

/* Onboarding card */
.onboard-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
  width: 100%;
  max-width: 900px;
  padding: 32px;
}

/* Step panels */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* Branding layout (2 col) */
.branding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 680px) {
  .branding-grid { grid-template-columns: 1fr; }
}

/* Upload box */
.upload-box {
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: #fafafa;
}
.upload-box:hover { border-color: var(--mint); background: var(--mint-light); }
.upload-box.is-dragover { border-color: var(--mint); background: var(--mint-light); }
.upload-icon { font-size: 28px; color: var(--text-light); margin-bottom: 8px; }
.upload-text { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.upload-hint { font-size: 11px; color: var(--text-light); }

/* File chip */
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  max-width: 280px;
}
.file-chip .chip-icon { width: 32px; height: 32px; flex-shrink: 0; }
.file-chip .chip-info { display: flex; flex-direction: column; }
.file-chip .chip-name { font-weight: 600; font-size: 13px; }
.file-chip .chip-size { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.file-chip .chip-remove {
  position: absolute;
  top: -8px; right: -8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Preview box */
.preview-box {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f9fafb;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.preview-empty { font-size: 13px; color: var(--text-light); }
.preview-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  width: 100%;
}
.preview-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  object-fit: contain;
  background: #e5e7eb;
}
.preview-company { font-size: 15px; font-weight: 700; color: var(--text); }
.preview-email { font-size: 12px; color: var(--text-muted); }

/* Template preview area */
.template-preview-area {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f9fafb;
  min-height: 220px;
  padding: 20px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.template-preview-area.has-content { align-items: flex-start; }

/* Note box */
.note-box {
  background: #f1f5f9;
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}
.note-box b { color: var(--text); }

/* DB tabs */
.tab-switcher {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 50px;
  padding: 3px;
  margin-bottom: 24px;
  gap: 2px;
}
.tab-switcher .tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-switcher .tab-btn.active {
  background: var(--mint);
  color: #0a1a14;
}

/* 3-col form grid */
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) { .form-grid-3 { grid-template-columns: 1fr; } }

/* Onboarding nav */
.onboard-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  max-width: 900px;
  width: 100%;
}
.onboard-nav.has-back { justify-content: space-between; }

/* Success / loading modals (overlay) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  text-align: center;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.modal-icon { margin: 0 auto 20px; }
.modal-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.modal-continue-link {
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
}

/* Loading bars */
.loading-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.loading-bar-row { display: flex; align-items: center; gap: 10px; }
.loading-bar-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }
.loading-bar-track {
  flex: 1;
  height: 8px;
  background: var(--mint-light);
  border-radius: 50px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: var(--mint);
  animation: loadBar 1.8s ease-in-out infinite;
}
.loading-bar-row:nth-child(2) .loading-bar-fill { animation-delay: .2s; opacity: .7; }
.loading-bar-row:nth-child(3) .loading-bar-fill { animation-delay: .4s; opacity: .4; }
.loading-bar-row:nth-child(2) .loading-bar-dot { opacity: .7; }
.loading-bar-row:nth-child(3) .loading-bar-dot { opacity: .4; }
@keyframes loadBar {
  0%   { width: 0%; }
  60%  { width: 100%; }
  100% { width: 100%; }
}

/* ============================================================
   APP LAYOUT (Sidebar + Topbar)
   ============================================================ */
.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  overflow-y: auto;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  margin-bottom: 28px;
  text-decoration: none;
}
.sidebar-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.sidebar-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.3px;
}

.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.nav-item.active { background: #fff; color: var(--text); }
.nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
.nav-item.active svg { color: var(--mint); }

/* Upgrade card */
.upgrade-card {
  margin-top: 20px;
  background: linear-gradient(135deg, #00c887, #00a870);
  border-radius: 12px;
  padding: 14px;
}
.upgrade-card-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.upgrade-card-sub { font-size: 11px; color: rgba(255,255,255,.8); margin-bottom: 12px; line-height: 1.5; }
.upgrade-btn {
  width: 100%;
  padding: 8px;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-xs);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  transition: background var(--transition);
}
.upgrade-btn:hover { background: rgba(255,255,255,.3); }

/* Main content wrapper */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

/* Topbar */
.topbar {
  height: var(--topbar-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--app-bg);
  border-bottom: 1px solid var(--border);
}
.topbar-greeting { font-size: 15px; font-weight: 700; color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-bell {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
  transition: background var(--transition);
}
.topbar-bell:hover { background: var(--app-bg); }
.topbar-user {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.topbar-user:hover { background: rgba(0,0,0,.04); }
.topbar-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c887, #006d50);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.topbar-info { display: flex; flex-direction: column; }
.topbar-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.topbar-email { font-size: 11px; color: var(--text-muted); }
.topbar-chevron { color: var(--text-muted); }

/* Page scroll area */
.page-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

/* ============================================================
   COMMON PAGE COMPONENTS
   ============================================================ */

/* Page header row */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.page-title { font-size: 24px; font-weight: 700; color: var(--text); }
.page-step { font-size: 18px; font-weight: 700; color: var(--text); }

/* Metric cards row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 900px) { .metrics-row { grid-template-columns: repeat(2,1fr); } }
.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.metric-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.metric-icon { color: var(--mint); }
.metric-icon svg { width: 18px; height: 18px; }
.metric-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.metric-value { font-size: 30px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 4px; }
.metric-sub { font-size: 12px; }
.metric-sub.positive { color: var(--mint); }
.metric-sub.negative { color: var(--red); }
.metric-sub.warning { color: var(--amber); }
.metric-sub.neutral { color: var(--text-muted); }

/* White card / panel */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.card-title { font-size: 15px; font-weight: 700; color: var(--text); }
.card-body { padding: 0; }

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 14px;
}
.empty-state-text { font-size: 14px; color: var(--text-muted); }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.data-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafcff; }

/* Status pills */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pill-green  { background: var(--green-bg);  color: var(--green); }
.pill-amber  { background: var(--amber-bg);  color: #b45309; }
.pill-red    { background: var(--red-bg);    color: var(--red); }
.pill-blue   { background: var(--blue-bg);   color: var(--blue); }
.pill-mint   { background: var(--mint-light); color: #047857; }

/* View all button */
.btn-view-all {
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-view-all:hover { border-color: var(--mint); color: var(--text); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  padding: 14px 20px;
}
.page-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font);
  transition: all var(--transition);
}
.page-btn:hover { background: var(--border); color: var(--text); }
.page-btn.active { background: var(--mint); color: #0a1a14; }
.page-btn.arrow { color: var(--text); background: var(--border); }
.page-btn.arrow:hover { background: var(--mint); color: #0a1a14; }

/* Search + filter bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.search-input-wrap {
  position: relative;
  flex: 0 0 260px;
}
.search-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  width: 15px;
}
.search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font);
}
.search-input:focus { border-color: var(--mint); }
.filter-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  transition: border-color var(--transition);
}
.filter-btn:hover { border-color: var(--mint-dim); }

/* Kebab action */
.kebab-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-family: var(--font);
  transition: background var(--transition);
}
.kebab-btn:hover { background: var(--app-bg); }

/* ============================================================
   DASHBOARD SPECIFIC
   ============================================================ */
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 1100px) { .dash-two-col { grid-template-columns: 1fr; } }

.rfq-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.rfq-item:last-child { border-bottom: none; }
.rfq-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--app-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--mint);
  flex-shrink: 0;
  overflow: hidden;
}
.rfq-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rfq-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.rfq-meta { font-size: 12px; color: var(--text-muted); }
.rfq-meta .conf { color: var(--mint); font-weight: 600; }

/* Pipeline */
.pipeline-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.pipeline-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.pipeline-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.pipeline-top svg { width: 16px; color: var(--mint); }
.pipeline-count { font-size: 28px; font-weight: 700; color: var(--text); }
.pipeline-sub { font-size: 12px; color: var(--text-muted); }

/* System status */
.status-list { display: flex; flex-direction: column; gap: 0; }
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.status-row:last-child { border-bottom: none; }
.status-label { color: var(--text-muted); }
.status-val { font-weight: 600; }

/* Period filter */
.period-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
}

/* ============================================================
   RFQ UPLOAD (Step 1/3)
   ============================================================ */
.rfq-dropzone {
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius);
  background: var(--card-bg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
  padding: 40px;
  gap: 10px;
}
.rfq-dropzone:hover, .rfq-dropzone.is-dragover {
  border-color: var(--mint);
  background: var(--mint-light);
}
.rfq-drop-icon { color: var(--text-light); margin-bottom: 4px; }
.rfq-drop-title { font-size: 15px; font-weight: 600; color: var(--mint); }
.rfq-drop-hint { font-size: 13px; color: var(--text-muted); }

/* RFQ states */
.rfq-state { display: none; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.rfq-state.visible { display: flex; }
.rfq-state-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.rfq-state-icon.processing { background: #f1f5f9; color: var(--text-muted); }
.rfq-state-icon.success { background: var(--mint-light); color: var(--mint); }
.rfq-state-title { font-size: 16px; font-weight: 700; color: var(--text); }
.rfq-state-sub { font-size: 13px; color: var(--text-muted); }
.rfq-state-sub b { color: var(--text); }

/* Progress bar */
.progress-wrap { width: 100%; max-width: 320px; }
.progress-label { font-size: 13px; font-weight: 600; color: var(--mint); margin-bottom: 4px; }
.progress-track {
  width: 100%;
  height: 8px;
  background: var(--mint-light);
  border-radius: 50px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--mint);
  border-radius: 50px;
  transition: width .3s ease;
}

/* CTA area below dropzone */
.rfq-cta { margin-top: 20px; display: flex; justify-content: center; }

/* ============================================================
   MATCHING (Step 2/3)
   ============================================================ */
.matching-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.matching-meta { font-size: 13px; color: var(--text-muted); }
.matching-meta .conf { color: var(--mint); font-weight: 700; }
.matching-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.conf-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.conf-high   { background: var(--mint-light); color: #047857; }
.conf-medium { background: var(--amber-bg);   color: #b45309; }
.conf-low    { background: var(--red-bg);      color: var(--red); }

.action-icon-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
  transition: all var(--transition);
}
.action-icon-btn:hover { border-color: var(--mint); color: var(--mint); }
.action-icon-btn.approve:hover { border-color: var(--green); color: var(--green); }

/* Finding matches modal */
.finding-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.finding-modal-overlay.visible { opacity: 1; pointer-events: all; }
.finding-modal {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  text-align: center;
  width: 100%; max-width: 400px;
  box-shadow: var(--shadow);
}

/* ============================================================
   RESULTS / QUOTE GENERATION (Step 3/3)
   ============================================================ */
.results-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 1000px) { .results-layout { grid-template-columns: 1fr; } }

.quote-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.quote-preview-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
  font-size: 13px;
  color: var(--text-muted);
}
.quote-preview-toolbar .pv-title { font-weight: 700; color: var(--text); }
.quote-preview-toolbar .pv-sep { color: var(--border-dark); }
.quote-preview-body {
  padding: 24px;
  overflow-y: auto;
  max-height: 620px;
}

/* Inline quotation document styles */
.quotation-doc { font-size: 12px; color: var(--text); }
.quotation-doc .doc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.quotation-doc .doc-company { display: flex; align-items: flex-start; gap: 10px; }
.quotation-doc .doc-company-logo {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--mint-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.quotation-doc .doc-company-name { font-weight: 700; font-size: 13px; }
.quotation-doc .doc-company-addr { color: var(--text-muted); font-size: 11px; line-height: 1.5; }
.quotation-doc .doc-right { text-align: right; }
.quotation-doc .doc-right h2 { font-size: 16px; font-weight: 700; }
.quotation-doc .doc-right p { font-size: 11px; color: var(--text-muted); line-height: 1.6; }
.quotation-doc .bill-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
  padding: 12px; background: #f9fafb; border-radius: var(--radius-sm);
}
.quotation-doc .bill-section h4 { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.quotation-doc .bill-section p { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.quotation-doc .doc-items-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.quotation-doc .doc-items-table th {
  padding: 8px 10px; text-align: left;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  border-bottom: 1px solid var(--border); background: #fafafa;
}
.quotation-doc .doc-items-table td {
  padding: 10px 10px; border-bottom: 1px solid var(--border);
}
.quotation-doc .doc-items-table td:last-child { text-align: right; }
.quotation-doc .doc-item-name { font-weight: 600; margin-bottom: 2px; }
.quotation-doc .doc-item-desc { font-size: 10px; color: var(--text-muted); }
.quotation-doc .doc-totals {
  margin-left: auto; margin-top: 12px;
  width: 220px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.quotation-doc .doc-total-row {
  display: flex; justify-content: space-between;
  padding: 7px 12px; font-size: 11px;
  border-bottom: 1px solid var(--border);
}
.quotation-doc .doc-total-row:last-child { border-bottom: none; font-weight: 700; font-size: 13px; }
.quotation-doc .doc-terms { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.quotation-doc .doc-terms-header { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.quotation-doc .doc-terms-text { font-size: 11px; color: var(--text-muted); line-height: 1.6; }

/* Right panel */
.quote-details-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.qd-section { padding: 16px 18px; border-bottom: 1px solid var(--border); }
.qd-section:last-child { border-bottom: none; }
.qd-section-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.qd-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.qd-row .qd-key { color: var(--text-muted); }
.qd-row .qd-val { font-weight: 600; text-align: right; }
.qd-total-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 4px; }

/* Share/action buttons */
.share-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
  text-align: left;
}
.share-action-btn:last-child { border-bottom: none; }
.share-action-btn:hover { background: var(--app-bg); }
.share-action-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #0a1a14;
}
.share-action-icon svg { width: 16px; height: 16px; }

/* Status badges on quote details */
.status-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.status-badge.in-review { background: var(--amber-bg); color: #b45309; }
.status-badge.pending   { background: var(--amber-bg); color: #b45309; }
.status-badge.sent      { background: var(--green-bg);  color: var(--green); }
.status-badge.draft     { background: var(--blue-bg);   color: var(--blue); }
.status-badge.approved  { background: var(--green-bg);  color: var(--green); }
.status-badge.denied    { background: var(--red-bg);    color: var(--red); }

/* Edit Terms modal */
.modal-terms-textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  resize: vertical;
  outline: none;
  font-family: var(--font);
  margin-bottom: 20px;
  transition: border-color var(--transition);
}
.modal-terms-textarea:focus { border-color: var(--mint); }

/* ============================================================
   QUOTATIONS PAGE
   ============================================================ */
.quot-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.quot-breadcrumb a { color: var(--text-muted); }
.quot-breadcrumb a:hover { color: var(--mint); }
.quot-breadcrumb span { color: var(--text-muted); }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}
.back-btn:hover { border-color: var(--mint); }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */

/* ============================================================
   SETTINGS PAGE
   ============================================================ */
.settings-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.settings-tab {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: #fff;
  border: none;
  border-right: 1.5px solid var(--border);
  font-family: var(--font);
  transition: all var(--transition);
}
.settings-tab:last-child { border-right: none; }
.settings-tab.active { background: var(--mint); color: #0a1a14; }
.settings-tab:not(.active):hover { background: var(--app-bg); }

/* Settings panel */
.settings-panel { display: none; }
.settings-panel.active { display: block; }

/* Company profile grid */
.company-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 24px;
}
@media (max-width: 800px) { .company-grid { grid-template-columns: 1fr; } }
.company-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Quotation templates list layout */
.qt-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}
.qt-list {
  border-right: 1px solid var(--border);
  padding: 16px;
}
.qt-list-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.qt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  margin-bottom: 6px;
}
.qt-item:hover { background: var(--app-bg); }
.qt-item.active { border-color: var(--mint); background: var(--mint-light); }
.qt-item-icon { color: #ef4444; flex-shrink: 0; }
.qt-item-info { min-width: 0; }
.qt-item-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-item-size { font-size: 11px; color: var(--text-muted); }
.qt-right { padding: 20px; }

/* Create template form */
.create-tmpl-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}
.create-tmpl-form-section { margin-bottom: 20px; }
.create-tmpl-form-section-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

/* ============================================================
   IMPORT PRODUCTS
   ============================================================ */
.import-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.select-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  outline: none;
  font-family: var(--font);
  cursor: pointer;
}
.select-input:focus { border-color: var(--mint); }

/* Add product modal */
.add-product-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.add-product-modal.visible { opacity: 1; pointer-events: all; }
.add-product-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow);
}
.add-product-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.add-product-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.advance-toggle {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--text);
  cursor: pointer; background: none; border: none;
  font-family: var(--font); padding: 0; margin-bottom: 16px;
}
.advance-section { display: none; }
.advance-section.visible { display: block; }

/* Price input */
.price-wrap { position: relative; }
.price-wrap .price-prefix {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: var(--text-muted); font-weight: 600;
}
.price-wrap .field-input { padding-left: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .pipeline-row { grid-template-columns: 1fr 1fr; }
}
