@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --primary: #355C7D;
  --primary-dark: #294A66;
  --primary-soft: #EAF1F7;
  --secondary: #D9A441;
  --secondary-dark: #BE8C27;
  --background: #FAFAF8;
  --surface: #FFFFFF;
  --text: #2B2B2B;
  --muted: #667085;
  --accent-gray: #BFC7D5;
  --border: #E3E7ED;
  --success: #2F8F6F;
  --shadow: 0 18px 45px rgba(43, 43, 43, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(217, 164, 65, 0.10), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(53, 92, 125, 0.10), transparent 28%),
    var(--background);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  top: -42px;
  left: 20px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(191, 199, 213, 0.45);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 246px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #293344;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav a { opacity: 0.88; }
.nav a:hover { color: var(--primary); opacity: 1; }
.mobile-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(53, 92, 125, 0.25);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(53, 92, 125, 0.30); }
.btn-secondary {
  background: rgba(255,255,255,.82);
  color: var(--primary);
  border-color: rgba(53, 92, 125, .55);
}
.btn-secondary:hover { background: #fff; border-color: var(--primary); }
.btn-gold {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(217, 164, 65, .26);
}

.hero {
  padding: 70px 0 54px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(53, 92, 125, .12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: center;
}
.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .78rem;
  margin: 0 0 14px;
}
h1, h2, h3 {
  font-family: Poppins, Inter, Arial, sans-serif;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.04em;
}
h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: 1.2rem; }
.text-blue { color: var(--primary); }
.text-gold { color: var(--secondary); }
.hero-copy {
  margin: 22px 0 28px;
  max-width: 610px;
  font-size: 1.12rem;
  color: #384252;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-proof {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #3D4858;
  font-weight: 800;
  font-size: .9rem;
}
.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.proof-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}
.proof-item:nth-child(2) .proof-icon { background: rgba(217,164,65,.16); color: var(--secondary-dark); }

.app-preview {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(191,199,213,.58);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 7px; }
.preview-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--accent-gray); opacity: .75; }
.preview-title { font-weight: 900; color: #243145; }
.builder-layout { display: grid; grid-template-columns: 210px 1fr 190px; min-height: 420px; }
.builder-sidebar {
  background: rgba(234, 241, 247, .78);
  border-right: 1px solid var(--border);
  padding: 18px;
}
.builder-sidebar .label { font-size: .72rem; font-weight: 900; color: #596579; text-transform: uppercase; margin-bottom: 12px; }
.category-btn {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 11px 12px;
  border-radius: 11px;
  color: #465367;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}
.category-btn.active, .category-btn:hover { background: #fff; color: var(--primary); }
.builder-main { padding: 22px; }
.package-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(217, 164, 65, .16);
  color: var(--secondary-dark);
  font-weight: 900;
  font-size: .72rem;
}
.item-row {
  display: grid;
  grid-template-columns: 28px 74px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.item-row:last-child { border-bottom: 0; }
.check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent-gray);
  border-radius: 6px;
  color: #fff;
  background: #fff;
  font-weight: 900;
  user-select: none;
}
.item-row.selected .check { border-color: var(--primary); background: var(--primary); }
.item-thumb {
  height: 54px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(53,92,125,.12), rgba(217,164,65,.14));
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.45rem;
}
.item-info strong { display: block; font-weight: 900; color: #253044; }
.item-info span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.32; }
.price { font-weight: 900; color: #253044; }
.summary-panel {
  border-left: 1px solid var(--border);
  padding: 20px;
  background: rgba(250, 250, 248, .7);
}
.summary-list { margin: 16px 0; display: grid; gap: 10px; font-size: .88rem; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; color: #3D4858; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 18px;
  font-weight: 900;
}
.summary-total strong { font-size: 1.4rem; }
.summary-actions { display: grid; gap: 10px; margin-top: 18px; }
.summary-actions .btn { width: 100%; min-height: 42px; font-size: .9rem; }

.section { padding: 74px 0; }
.section-header { max-width: 780px; margin-bottom: 30px; }
.section-header p { color: var(--muted); font-size: 1.05rem; margin: 16px 0 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card, .card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(191,199,213,.55);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(43, 43, 43, 0.06);
}
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.feature-card:nth-child(even) .feature-icon { background: var(--secondary); }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.workflow-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.steps { display: grid; gap: 16px; margin-top: 28px; }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
}
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.step:nth-child(even) .step-num { background: var(--secondary); }
.step p { margin: 4px 0 0; color: var(--muted); }
.dashboard {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(191,199,213,.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dashboard-top {
  background: var(--primary);
  color: #fff;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
}
.metric {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--background);
}
.metric span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.metric strong { display: block; font-size: 1.45rem; margin-top: 4px; }
.table-card { padding: 0 18px 18px; }
.quote-table { width: 100%; border-collapse: collapse; font-size: .88rem; overflow: hidden; border-radius: 12px; }
.quote-table th, .quote-table td { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.quote-table th { color: #596579; background: #F4F6F9; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.status { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: rgba(53,92,125,.12); color: var(--primary); font-weight: 900; font-size: .75rem; }
.status.approved { background: rgba(47,143,111,.12); color: var(--success); }

.demo-builder-section { background: rgba(234,241,247,.55); }
.builder-card {
  display: grid;
  grid-template-columns: 330px 1fr 310px;
  gap: 18px;
  background: var(--surface);
  border: 1px solid rgba(191,199,213,.64);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow);
}
.vehicle-select, .quote-panel, .product-list { padding: 18px; border-radius: 20px; background: var(--background); border: 1px solid var(--border); }
.vehicle-buttons { display: grid; gap: 10px; margin-top: 15px; }
.vehicle-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: #2E3A4C;
  border-radius: 12px;
  padding: 13px 14px;
  text-align: left;
  font-weight: 900;
}
.vehicle-btn.active, .vehicle-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.products { display: grid; gap: 12px; }
.product-option {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: #fff;
}
.product-option input { width: 20px; height: 20px; accent-color: var(--primary); }
.product-option strong { display:block; }
.product-option span { color: var(--muted); font-size: .86rem; }
.quote-panel textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  color: var(--text);
}
.quote-total-line { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px 0; }
.quote-total-line strong { font-size: 1.7rem; color: var(--primary); }
.small-note { color: var(--muted); font-size: .86rem; margin-top: 10px; }

.trust-band {
  background: linear-gradient(135deg, var(--primary), #1F3C55);
  color: #fff;
  padding: 56px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .65fr);
  gap: 24px;
  align-items: center;
}
.quote-mark { font-size: 3.8rem; color: var(--secondary); line-height: .65; }
.testimonial p { font-size: 1.15rem; margin: 8px 0 16px; color: rgba(255,255,255,.92); }
.stat { border-left: 1px solid rgba(255,255,255,.20); padding-left: 24px; }
.stat strong { display: block; font-family: Poppins, Inter, sans-serif; font-size: 2rem; }
.stat span { color: rgba(255,255,255,.72); }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-card form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 6px; font-weight: 900; color: #334155; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px;
  color: var(--text);
}
.field textarea { min-height: 110px; resize: vertical; }

.site-footer {
  background: #203D56;
  color: rgba(255,255,255,.86);
  padding: 38px 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .8fr); gap: 28px; }
.footer-logo { width: 220px; filter: brightness(1.15); margin-bottom: 12px; }
.footer-grid h4 { margin: 0 0 12px; color: #fff; font-family: Poppins, Inter, sans-serif; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(255,255,255,.78); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--primary);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  transition: transform .2s ease;
  z-index: 200;
  font-weight: 900;
}
.toast.show { transform: translateY(0); }

@media (max-width: 980px) {
  .mobile-toggle { display: inline-flex; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; font-weight: 900; color: var(--primary); }
  .nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 18px 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .header-cta { display: none; }
  .hero-grid, .workflow-grid, .contact-grid { grid-template-columns: 1fr; }
  .builder-layout { grid-template-columns: 1fr; }
  .builder-sidebar, .summary-panel { border: 0; border-bottom: 1px solid var(--border); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-card { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.20); padding: 18px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 76px; }
  .logo img { width: 210px; }
  .nav { top: 76px; }
  .hero { padding-top: 46px; }
  .hero-actions .btn { width: 100%; }
  .features-grid, .dashboard-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .item-row { grid-template-columns: 28px 1fr auto; }
  .item-thumb { display: none; }
  .quote-table { font-size: .78rem; }
}

/* Dashboard demo page */
.nav a[aria-current="page"] { color: var(--primary); font-weight: 900; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dashboard-page {
  background:
    radial-gradient(circle at 8% 12%, rgba(217, 164, 65, 0.12), transparent 22%),
    radial-gradient(circle at 88% 6%, rgba(53, 92, 125, 0.12), transparent 24%),
    #F3F6F9;
}
.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 86px);
}
.dash-sidebar {
  position: sticky;
  top: 86px;
  height: calc(100vh - 86px);
  align-self: start;
  background: linear-gradient(180deg, #203D56, var(--primary));
  color: #fff;
  padding: 28px 22px;
  overflow: auto;
  border-right: 1px solid rgba(255,255,255,.12);
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 900;
  margin-bottom: 26px;
}
.dash-brand img {
  width: 44px;
  height: 44px;
  filter: brightness(1.3);
}
.dash-menu {
  display: grid;
  gap: 8px;
}
.dash-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 14px;
  color: rgba(255,255,255,.82);
  font-weight: 800;
}
.dash-menu a:hover,
.dash-menu a.active {
  background: rgba(255,255,255,.13);
  color: #fff;
}
.dash-menu span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.10);
}
.dash-note {
  margin-top: 28px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 16px;
}
.dash-note p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}
.dash-main {
  padding: 34px;
  min-width: 0;
}
.dash-hero-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 34px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(191,199,213,.58);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.dash-hero-panel h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4vw, 4.7rem);
}
.dash-controls {
  display: grid;
  gap: 10px;
  min-width: 220px;
  background: var(--background);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 18px;
}
.dash-controls label {
  color: var(--muted);
  font-weight: 900;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.dash-controls select,
.quote-tools input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
}
.dash-metrics {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dash-metric-card,
.dash-card {
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(191,199,213,.58);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(43, 43, 43, 0.07);
}
.dash-metric-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.dash-metric-card:after {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(217, 164, 65, .12);
}
.dash-metric-card:nth-child(odd):after { background: rgba(53, 92, 125, .10); }
.dash-metric-card span {
  color: var(--muted);
  font-weight: 900;
  font-size: .86rem;
}
.dash-metric-card strong {
  display: block;
  font-family: Poppins, Inter, sans-serif;
  font-size: 2.05rem;
  margin: 7px 0;
  letter-spacing: -.04em;
}
.dash-metric-card small {
  color: var(--success);
  font-weight: 900;
}
.dash-grid-large {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 20px;
  margin-bottom: 20px;
}
.dash-grid-large.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dash-card {
  padding: 24px;
  min-width: 0;
}
.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}
.dash-card h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
}
.split-head {
  align-items: center;
}
.quote-tools {
  min-width: min(360px, 100%);
}
.dash-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
  font-size: .78rem;
  white-space: nowrap;
}
.dash-chip.gold {
  background: rgba(217,164,65,.16);
  color: var(--secondary-dark);
}
.bar-chart {
  min-height: 275px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: end;
  padding: 18px 6px 6px;
}
.bar-item {
  display: grid;
  gap: 8px;
  align-items: end;
  height: 100%;
}
.bar-stack {
  position: relative;
  min-height: 170px;
  display: flex;
  align-items: end;
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, rgba(53,92,125,.08), rgba(53,92,125,.03));
  overflow: hidden;
}
.bar-fill {
  width: 100%;
  min-height: 16px;
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, var(--secondary), var(--secondary-dark));
  box-shadow: inset 0 12px 20px rgba(255,255,255,.22);
}
.bar-item:nth-child(odd) .bar-fill {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}
.bar-label,
.bar-value {
  text-align: center;
  font-weight: 900;
  color: #415068;
  font-size: .82rem;
}
.bar-value { color: var(--text); }
.pipeline-list,
.package-rank-list,
.team-list,
.task-list {
  display: grid;
  gap: 12px;
}
.pipeline-item,
.package-rank-item,
.team-item,
.task-item,
.rollout-step {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--background);
  padding: 14px;
}
.pipeline-item {
  display: grid;
  gap: 8px;
}
.pipeline-top,
.package-topline,
.team-topline,
.task-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.pipeline-bar,
.package-bar,
.team-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #E7ECF2;
}
.pipeline-bar span,
.package-bar span,
.team-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
}
.pipeline-item:nth-child(even) .pipeline-bar span,
.package-rank-item:nth-child(even) .package-bar span,
.team-item:nth-child(even) .team-bar span { background: var(--secondary); }
.dash-table-wrap {
  overflow: auto;
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}
.dash-table th,
.dash-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.dash-table th {
  color: #596579;
  background: #F4F6F9;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dash-table tbody tr:hover { background: rgba(53,92,125,.035); }
.status.sent,
.status.presented,
.status.follow-up,
.status.approved,
.status.declined {
  white-space: nowrap;
}
.status.sent { background: rgba(53,92,125,.12); color: var(--primary); }
.status.presented { background: rgba(217,164,65,.16); color: var(--secondary-dark); }
.status.follow-up { background: rgba(110, 91, 160, .12); color: #6552A3; }
.status.declined { background: rgba(177, 64, 64, .12); color: #B14040; }
.package-rank-item,
.team-item {
  display: grid;
  gap: 10px;
}
.package-rank-item small,
.team-item small,
.task-item small {
  color: var(--muted);
}
.task-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}
.task-item input {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  margin-top: 2px;
}
.task-item.done {
  opacity: .62;
}
.task-item.done strong,
.task-item.done small {
  text-decoration: line-through;
}
.client-rollout {
  display: grid;
  gap: 13px;
}
.rollout-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
}
.rollout-step span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #E7ECF2;
  color: var(--primary);
  font-weight: 900;
}
.rollout-step.done span { background: var(--primary); color: #fff; }
.rollout-step.active span { background: var(--secondary); color: #fff; }
.rollout-step p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 1180px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: static;
    height: auto;
  }
  .dash-menu {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow: auto;
  }
  .dash-note { display: none; }
  .dash-grid-large,
  .dash-grid-large.two-column { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .dash-main { padding: 22px; }
  .dash-hero-panel,
  .split-head { flex-direction: column; align-items: stretch; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-controls { min-width: 0; }
  .bar-chart { gap: 8px; }
}
@media (max-width: 640px) {
  .dash-main { padding: 16px; }
  .dash-sidebar { padding: 20px 16px; }
  .dash-menu { grid-template-columns: 1fr 1fr; }
  .dash-metrics { grid-template-columns: 1fr; }
  .dash-hero-panel { padding: 24px; }
  .bar-chart { grid-template-columns: repeat(4, 1fr); }
}
