:root {
  --blue: #1267f5;
  --blue-dark: #071f63;
  --cyan: #17c8ee;
  --green: #19c88a;
  --red: #ff4d55;
  --purple: #7663ff;
  --ink: #08111f;
  --muted: #647084;
  --soft: #eef4ff;
  --line: #e5edf7;
  --panel: #ffffff;
  --shadow: 0 18px 55px rgba(22, 42, 83, 0.12);
  --shadow-soft: 0 10px 28px rgba(22, 42, 83, 0.08);
  --radius: 16px;
  --container: min(1320px, calc(100% - 64px));
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 75% 18%, rgba(23, 200, 238, 0.16), transparent 66%),
    radial-gradient(780px 460px at 12% 24%, rgba(18, 103, 245, 0.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f9fcff 54%, #ffffff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 237, 247, 0.62);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  min-height: 78px;
}

.brand,
.mini-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.05em;
  position: relative;
}

.brand {
  font-size: 28px;
}

/* Dukungan aset wordmark lama. Brand utama kini memakai wordmark teks seperti onboarding. */
.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(180px, 42vw);
  object-fit: contain;
}

.footer-brand .brand-logo {
  height: 36px;
}

.brand strong,
.mini-brand strong {
  color: #e31825;
}

/* Wordmark MOTOVAX tanpa swoosh/garis biru, konsisten dengan halaman onboarding. */
.brand:not(:has(.brand-logo))::after,
.mini-brand:not(:has(.brand-logo))::after {
  content: none;
}

.mini-brand {
  font-size: 16px;
  margin-bottom: 22px;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  font-size: 14px;
  color: #172236;
}

.nav a {
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--blue);
}

.mobile-nav-trigger,
.mobile-nav-panel,
.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-trigger {
  width: 42px;
  height: 42px;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid #dbe6f4;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.mobile-nav-trigger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: #15243c;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-trigger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-trigger.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-trigger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 78px 0 0;
  z-index: 74;
  border: 0;
  background: rgba(8, 17, 31, 0.44);
  backdrop-filter: blur(3px);
}

.mobile-nav-panel {
  position: fixed;
  top: 78px;
  right: 0;
  bottom: 0;
  z-index: 75;
  width: min(430px, 92vw);
  padding: 22px;
  overflow-y: auto;
  border-left: 1px solid #dfe8f4;
  background: #fff;
  box-shadow: -24px 28px 70px rgba(8, 30, 68, 0.2);
}

.mobile-nav-panel[hidden],
.mobile-nav-backdrop[hidden] {
  display: none !important;
}

.mobile-nav-links {
  display: grid;
  gap: 4px;
}

.mobile-nav-links > a,
.mobile-nav-links summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 12px 4px;
  border-bottom: 1px solid #e8eef6;
  color: #14233b;
  font-size: 15px;
  font-weight: 700;
}

.mobile-nav-links details summary {
  cursor: pointer;
  list-style: none;
}

.mobile-nav-links details summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-links details[open] summary span {
  display: inline-block;
  transform: rotate(45deg);
}

.mobile-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 0 18px;
}

.mobile-solutions-grid a {
  min-width: 0;
  padding: 11px;
  border: 1px solid #e2eaf5;
  border-radius: 10px;
  color: #172a49;
  background: #f9fbfe;
  font-size: 12px;
  font-weight: 700;
}

.mobile-solutions-grid small {
  display: block;
  margin-top: 3px;
  color: #74839a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-solutions-grid a:first-child small {
  color: #087e5a;
}

.mobile-nav-cta {
  width: 100%;
  margin-top: 20px;
}

body.mobile-menu-open {
  overflow: hidden;
}

.site-header:has(.mobile-nav-trigger.is-open) {
  z-index: 90;
}

/* —— Menu Produk (full-width mega, layout Qontak) —— */
.nav-item-produk {
  position: static;
  display: flex;
  align-items: center;
}

.nav-produk-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #232933;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease;
}

.nav-produk-trigger::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #2c76ed;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: width 0.2s linear;
}

.nav-produk-trigger:hover::after,
.nav-item-produk.is-open .nav-produk-trigger::after,
.nav-item-produk.is-current .nav-produk-trigger::after {
  width: 100%;
}

.nav-produk-trigger:hover,
.nav-item-produk.is-open .nav-produk-trigger,
.nav-item-produk.is-current .nav-produk-trigger {
  color: #232933;
}

.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-item-produk.is-open .nav-chevron {
  transform: rotate(180deg);
}

.produk-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: 78px;
  z-index: 60;
  max-height: calc(100vh - 78px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow:
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.produk-mega[hidden] {
  display: none !important;
}

/* Tab bar Kapabilitas | Suite Motovax */
.produk-mega-tabs {
  flex: 0 0 auto;
  background: #f1f5f9;
  border-bottom: 1px solid #edf0f2;
  border-top: 1px solid #d0d6dd;
}

.produk-mega-tabs-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1248px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  min-height: 52px;
}

.produk-mega-tab {
  position: relative;
  margin: 0;
  padding: 14px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #626b79;
  cursor: pointer;
  white-space: nowrap;
}

.produk-mega-tab:hover {
  color: #232933;
}

.produk-mega-tab.is-active {
  color: #081833;
  font-weight: 600;
}

.produk-mega-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #2c76ed;
  border-radius: 2px 2px 0 0;
}

.produk-mega-layout {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(520px, calc(100vh - 78px - 52px));
  max-width: 1248px;
  margin: 0 auto;
  width: 100%;
}

.produk-mega-sidebar {
  flex: 0 0 272px;
  width: 272px;
  background: #f1f5f9;
  padding: 20px 0 24px;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto;
}

.produk-mega-group[hidden] {
  display: none !important;
}

.produk-mega-group-title {
  padding: 0 24px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #626b79;
}

.produk-mega-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 24px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #232933;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.produk-mega-nav-btn:hover {
  background: rgba(44, 118, 237, 0.06);
}

.produk-mega-nav-btn.is-active {
  background: #fff;
  border-left-color: #2c76ed;
  color: #2c76ed;
  font-weight: 600;
}

.produk-mega-nav-btn .chev {
  flex-shrink: 0;
  opacity: 0.55;
}

.produk-mega-nav-btn.is-active .chev {
  opacity: 1;
  color: #2c76ed;
}

.produk-mega-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 24px 32px 28px 28px;
  background: #fff;
  overflow-y: auto;
}

.produk-mega-pane {
  display: none;
}

.produk-mega-pane.is-active {
  display: block;
}

.produk-mega-pane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.produk-mega-pane-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #081833;
  line-height: 1.3;
}

.produk-mega-demo-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #2c76ed;
  border-radius: 9px;
  background: #2c76ed;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(44, 118, 237, 0.18);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.produk-mega-demo-button:hover,
.produk-mega-demo-button:focus-visible {
  border-color: #1e62ce;
  background: #1e62ce;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
}

.produk-mega-demo-button svg {
  width: 16px;
  height: 16px;
}

.produk-mega-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.produk-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: calc(33.333% - 11px);
  min-width: 200px;
  max-width: 100%;
  margin: 0;
  padding: 12px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.produk-mega-item:hover,
.produk-mega-item:focus-visible {
  background: #f4f8ff;
  outline: none;
  text-decoration: none;
}

.produk-mega-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--icon-bg, #eaf2ff);
  color: var(--icon-fg, #2c76ed);
}

.produk-mega-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.produk-mega-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.produk-mega-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #081833;
}

.produk-mega-item-title .badge-new {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: #ef4444;
  vertical-align: middle;
}

.produk-mega-item-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #626b79;
}

.site-header:has(.nav-item-produk.is-open) {
  z-index: 70;
}

body.produk-menu-open {
  overflow: hidden;
}

.produk-mega-scrim {
  position: fixed;
  inset: 0;
  top: 78px;
  z-index: 55;
  background: rgba(15, 23, 42, 0.28);
}

.produk-mega-scrim[hidden] {
  display: none !important;
}

/* —— Menu Solusi (Industri | Roles, ala Qontak) —— */
.solusi-mega {
  overflow-y: auto;
}

.solusi-mega-content {
  width: 100%;
  max-width: 1248px;
  min-height: 0;
  margin: 0 auto;
  padding: 24px 24px 26px;
  background: #fff;
}

.solusi-mega-panel[hidden] {
  display: none !important;
}

.solusi-mega-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.solusi-mega-heading span {
  color: #8791a1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.solusi-mega-heading h3 {
  margin: 0;
  color: #081833;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.solusi-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 20px;
}

.solusi-mega-grid-roles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.solusi-mega-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  color: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.solusi-mega-item:hover,
.solusi-mega-item:focus-visible {
  color: #2c76ed;
  background: #f4f8ff;
  outline: none;
}

.solusi-mega-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #2c76ed;
  background: #eaf2ff;
}

.solusi-mega-item:nth-child(4n + 2) .solusi-mega-icon {
  color: #0f8f72;
  background: #e8faf5;
}

.solusi-mega-item:nth-child(4n + 3) .solusi-mega-icon {
  color: #7c5bea;
  background: #f0edff;
}

.solusi-mega-item:nth-child(4n + 4) .solusi-mega-icon {
  color: #d97706;
  background: #fff6df;
}

.solusi-mega-icon svg {
  width: 22px;
  height: 22px;
}

.solusi-mega-meta {
  min-width: 0;
}

.solusi-mega-meta strong,
.solusi-mega-meta small {
  display: block;
}

.solusi-mega-meta strong {
  color: #081833;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.solusi-mega-title-row {
  display: flex !important;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.solusi-mega-status {
  display: inline-flex !important;
  flex: none;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #66758d;
  background: #edf2f8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.solusi-mega-status.live {
  color: #087e5a;
  background: #e4f8f0;
}

.solusi-mega-meta small {
  margin-top: 2px;
  color: #626b79;
  font-size: 12.5px;
  line-height: 1.4;
}

.solusi-mega-arrow {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.solusi-mega-item:hover .solusi-mega-arrow,
.solusi-mega-item:focus-visible .solusi-mega-arrow {
  opacity: 1;
  transform: translateX(0);
}

.solusi-mega-contact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 18px 10px 0;
  color: #626b79;
  font-size: 13px;
}

.solusi-mega-contact strong {
  color: #2c76ed;
}

.solusi-mega-contact svg {
  width: 16px;
  height: 16px;
  color: #2c76ed;
}

.solusi-mega-contact:hover strong {
  text-decoration: underline;
}

body.solusi-menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  /* Tablet memakai navigasi ringkas agar logo, menu, dan CTA tidak bertumpuk. */
  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .mobile-nav-trigger {
    display: grid;
  }

  .mobile-nav-panel,
  .mobile-nav-backdrop {
    display: block;
  }

  .produk-mega-tabs-inner {
    gap: 24px;
    padding: 0 16px;
    min-height: 48px;
  }

  .produk-mega-tab {
    font-size: 15px;
    padding: 12px 0;
  }

  .produk-mega-layout {
    flex-direction: column;
    max-height: min(70vh, calc(100vh - 78px - 48px));
    overflow: auto;
  }

  .produk-mega-sidebar {
    flex: none;
    width: 100%;
    max-height: none;
    padding: 12px 0 8px;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    overflow: visible;
  }

  .produk-mega-nav-btn {
    padding: 10px 16px;
  }

  .produk-mega-content {
    padding: 18px 16px 24px;
    overflow: visible;
  }

  .produk-mega-pane-heading {
    align-items: flex-start;
  }

  .produk-mega-item {
    width: 100%;
    min-width: 0;
  }

  .solusi-mega-content {
    padding: 18px 16px 22px;
  }

  .solusi-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .produk-mega,
  .produk-mega-scrim {
    top: 64px;
  }
}

/* —— Halaman detail fitur v2: long-form product showcase —— */
.feature-detail-page {
  color: #0b1930;
  background: #fff;
}

.feature-page-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 82px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(48, 125, 247, 0.16), transparent 28%),
    radial-gradient(circle at 8% 10%, rgba(27, 198, 180, 0.09), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #fff 76%);
}

.feature-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(36, 100, 195, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 100, 195, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.feature-page-hero .container {
  position: relative;
  z-index: 1;
}

.feature-breadcrumb {
  margin-bottom: 26px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.feature-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.feature-hero-copy {
  min-width: 0;
}

.feature-availability {
  margin: 0 0 18px;
  color: #52657c;
  font-size: 13px;
  font-weight: 700;
}

.feature-availability.live { color: #087458; }
.feature-availability.partial { color: #9a5a05; }
.feature-availability.roadmap { color: #6444b7; }

.feature-hero-badges {
  margin-bottom: 20px;
}

.feature-badge {
  padding: 6px 11px;
  border-color: #c7dafa;
  background: #edf5ff;
  color: #0a5ad6;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.feature-badge.live {
  border-color: #b9ead9;
  background: #eafaf4;
  color: #087458;
}

.feature-badge.partial {
  border-color: #f4d49d;
  background: #fff8e8;
  color: #9a5a05;
}

.feature-badge.roadmap {
  border-color: #d9d2fa;
  background: #f5f2ff;
  color: #6444b7;
}

.feature-page-hero h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5.1vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.feature-hero-desc {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.72;
}

.feature-hero-list {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: #334760;
  font-size: 14px;
}

.feature-hero-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-hero-list li > span {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ff;
  color: #1267f5;
  font-size: 11px;
  font-weight: 900;
}

.feature-hero-actions {
  margin-bottom: 0;
}

.feature-hero-demo {
  border-color: #bfd3ee;
  background: rgba(255, 255, 255, 0.72);
}

.feature-product-visual,
.feature-showcase-visual {
  --feature-accent: #1b6ef3;
  --feature-accent-soft: #e9f2ff;
}

.family-crm {
  --feature-accent: #7657e6;
  --feature-accent-soft: #f0edff;
}

.family-campaign {
  --feature-accent: #e75d7c;
  --feature-accent-soft: #fff0f4;
}

.family-analytics {
  --feature-accent: #07a287;
  --feature-accent-soft: #e8faf5;
}

.family-workflow {
  --feature-accent: #df7a16;
  --feature-accent-soft: #fff5e8;
}

.family-suite {
  --feature-accent: #164dc8;
  --feature-accent-soft: #e9efff;
}

.feature-product-visual {
  position: relative;
  min-width: 0;
  padding: 28px 0 34px 24px;
}

.feature-product-visual::before {
  content: "";
  position: absolute;
  inset: 6% -7% 0 9%;
  border-radius: 42px;
  background: linear-gradient(145deg, var(--feature-accent-soft), rgba(255, 255, 255, 0.28));
  transform: rotate(-2deg);
}

.feature-ui-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(134, 160, 199, 0.36);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(24, 54, 105, 0.19), 0 7px 22px rgba(24, 54, 105, 0.08);
}

.feature-ui-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid #e7edf6;
  background: #fbfdff;
  color: #263850;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.feature-ui-topbar > strong {
  font-size: 11px;
}

.feature-ui-dots {
  display: flex;
  gap: 5px;
}

.feature-ui-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8d2e0;
}

.feature-ui-dots i:first-child {
  background: #fd7f6d;
}

.feature-ui-live {
  justify-self: end;
  color: #61728b;
  letter-spacing: 0;
}

.feature-ui-live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #19b987;
  box-shadow: 0 0 0 4px rgba(25, 185, 135, 0.12);
}

.feature-ui-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 390px;
}

.feature-ui-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 15px 0;
  background: #0d1b32;
}

.feature-ui-sidebar b {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 8px;
  background: var(--feature-accent);
  color: #fff;
  font-size: 9px;
}

.feature-ui-sidebar i {
  width: 17px;
  height: 6px;
  border-radius: 4px;
  background: #40506a;
}

.feature-ui-sidebar i.active {
  height: 17px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.09);
}

.feature-ui-main {
  min-width: 0;
  padding: 21px;
  background: #f6f8fc;
}

.feature-ui-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}

.feature-ui-heading div {
  display: grid;
  gap: 4px;
}

.feature-ui-heading small,
.feature-mini-body main > small {
  color: var(--feature-accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.feature-ui-heading strong {
  color: #172842;
  font-size: 16px;
}

.feature-ui-heading button {
  padding: 8px 11px;
  border: 0;
  border-radius: 7px;
  background: var(--feature-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.feature-ui-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.feature-ui-metrics > div {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e3e9f2;
  border-radius: 9px;
  background: #fff;
}

.feature-ui-metrics span {
  overflow: hidden;
  color: #758399;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-ui-metrics strong {
  color: #172842;
  font-size: 11px;
}

.feature-ui-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(120px, 0.8fr);
  gap: 11px;
}

.feature-ui-list,
.feature-ui-activity {
  overflow: hidden;
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  background: #fff;
}

.feature-ui-row {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 11px;
  border-bottom: 1px solid #edf1f6;
}

.feature-ui-row:last-child {
  border-bottom: 0;
}

.feature-ui-avatar {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  background: var(--feature-accent-soft);
  color: var(--feature-accent);
  font-size: 10px;
  font-weight: 800;
}

.feature-ui-row > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.feature-ui-row strong {
  overflow: hidden;
  color: #273951;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-ui-row small {
  overflow: hidden;
  color: #8a96a8;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-ui-row em {
  padding: 4px 6px;
  border-radius: 999px;
  background: #eaf9f3;
  color: #16815f;
  font-size: 7px;
  font-style: normal;
}

.feature-ui-activity {
  padding: 12px;
}

.feature-ui-activity > strong {
  display: block;
  margin-bottom: 13px;
  color: #293b55;
  font-size: 9px;
}

.feature-ui-activity > div {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 13px;
  color: #64748b;
  font-size: 8px;
}

.feature-ui-activity i {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--feature-accent-soft);
  color: var(--feature-accent);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.feature-visual-orbit {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 50%;
  background: var(--feature-accent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--feature-accent) 32%, transparent);
}

.feature-visual-orbit.one {
  top: 5px;
  right: 9%;
  width: 18px;
  height: 18px;
}

.feature-visual-orbit.two {
  right: -5px;
  bottom: 15%;
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

.feature-proof-strip {
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #e5ebf3;
  background: #fff;
}

.feature-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-outcome-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 105px;
  padding: 20px 25px;
  border-right: 1px solid #e5ebf3;
}

.feature-outcome-card:first-child {
  border-left: 1px solid #e5ebf3;
}

.feature-outcome-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #eef5ff;
  color: #1267f5;
  font-size: 16px;
  font-weight: 800;
}

.feature-outcome-card strong {
  color: #253850;
  font-size: 12px;
  line-height: 1.5;
}

.feature-page-section {
  padding: 88px 0;
}

.feature-section-heading {
  max-width: 690px;
  margin-bottom: 42px;
}

.feature-section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-section-heading > span,
.feature-page-cta-inner > div:first-child > span {
  display: block;
  margin-bottom: 12px;
  color: #1267f5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-section-heading h2 {
  margin: 0 0 15px;
  color: #0b1930;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.042em;
}

.feature-section-heading p {
  margin: 0;
  color: #5e6f86;
  font-size: 16px;
  line-height: 1.7;
}

.feature-use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-use-case-card {
  min-height: 100%;
  padding: 27px;
  border: 1px solid #e0e8f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(30, 67, 115, 0.065);
}

.feature-use-case-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.feature-use-case-topline > span {
  color: #b2bdcb;
  font-size: 12px;
  font-weight: 700;
}

.feature-use-case-topline em {
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf5ff;
  color: #1267f5;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.feature-use-case-card h3 {
  margin: 0 0 22px;
  color: #13233b;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.feature-use-case-card ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-use-case-card li {
  display: grid;
  gap: 5px;
  padding-top: 16px;
  border-top: 1px solid #edf1f6;
}

.feature-use-case-card li strong {
  color: #263951;
  font-size: 13px;
}

.feature-use-case-card li span {
  color: #69798e;
  font-size: 12px;
  line-height: 1.55;
}

.feature-showcase-section {
  background: #f7f9fc;
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
}

.feature-showcase-list {
  display: grid;
  gap: 82px;
}

.feature-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.feature-showcase-row.reverse .feature-showcase-copy {
  order: 2;
}

.feature-showcase-row.reverse {
  grid-template-columns: minmax(460px, 1.18fr) minmax(0, 0.82fr);
}

.feature-showcase-row.reverse .feature-showcase-visual {
  order: 1;
}

.feature-showcase-row.is-expanded-preview {
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.feature-showcase-row.is-expanded-preview .feature-showcase-copy,
.feature-showcase-row.is-expanded-preview .feature-showcase-visual {
  order: initial;
}

.feature-showcase-row.is-expanded-preview .feature-showcase-copy {
  max-width: 780px;
}

.feature-showcase-number {
  display: inline-block;
  margin-bottom: 14px;
  color: #1267f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.feature-showcase-copy h3 {
  margin: 0 0 15px;
  color: #102039;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.feature-showcase-copy > p {
  margin: 0 0 22px;
  color: #5c6e84;
  font-size: 15px;
  line-height: 1.72;
}

.feature-showcase-copy ul {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature-showcase-copy li {
  position: relative;
  padding-left: 23px;
  color: #3e5168;
  font-size: 13px;
  line-height: 1.6;
}

.feature-showcase-copy li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  color: #1267f5;
  font-weight: 900;
}

.feature-showcase-copy > a {
  color: #1267f5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.feature-showcase-visual {
  min-width: 0;
  padding: 44px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--feature-accent) 25%, transparent), transparent 32%),
    linear-gradient(145deg, var(--feature-accent-soft), #fff);
}

.feature-mini-window {
  overflow: hidden;
  border: 1px solid rgba(103, 128, 168, 0.26);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(35, 63, 105, 0.15);
}

.feature-mini-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid #e8edf4;
  color: #78869a;
  font-size: 8px;
}

.feature-mini-top > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--feature-accent);
}

.feature-mini-top i {
  justify-self: end;
  font-style: normal;
}

.feature-mini-body {
  display: grid;
  grid-template-columns: 40px 1fr;
  min-height: 285px;
}

.feature-mini-body > aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  background: #0e1c32;
}

.feature-mini-body > aside b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: var(--feature-accent);
  color: #fff;
  font-size: 7px;
}

.feature-mini-body > aside i {
  width: 13px;
  height: 5px;
  border-radius: 3px;
  background: #42516a;
}

.feature-mini-body > aside i.active {
  height: 13px;
  background: #fff;
}

.feature-mini-body main {
  min-width: 0;
  padding: 21px;
  background: #f7f9fc;
}

.feature-mini-body h4 {
  margin: 5px 0 16px;
  color: #1d2f48;
  font-size: 14px;
}

.feature-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.feature-mini-cards > div {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid #e3e9f2;
  border-radius: 7px;
  background: #fff;
}

.feature-mini-cards span {
  overflow: hidden;
  color: #748297;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-mini-cards b {
  color: var(--feature-accent);
  font-size: 9px;
}

.feature-mini-chart {
  display: flex;
  gap: 9px;
  align-items: end;
  height: 88px;
  margin-top: 15px;
  padding: 14px 15px 0;
  border: 1px solid #e3e9f2;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.feature-mini-chart i {
  flex: 1;
  height: var(--bar);
  min-height: 14px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--feature-accent), color-mix(in srgb, var(--feature-accent) 40%, white));
  opacity: 0.8;
}

.feature-mini-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid #e3e9f2;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  color: #758399;
  font-size: 7px;
}

.feature-mini-status span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: #12aa7c;
}

.feature-mini-status b {
  color: #12aa7c;
}

.feature-foundation-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(38, 111, 242, 0.28), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(23, 191, 167, 0.14), transparent 30%),
    #0a172c;
}

.feature-foundation-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 58px 58px;
}

.feature-foundation-section .container {
  position: relative;
  z-index: 1;
}

.feature-section-heading.light h2 {
  color: #fff;
}

.feature-section-heading.light p {
  color: #aebbd0;
}

.feature-foundation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-foundation-grid article {
  min-height: 240px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}

.feature-foundation-grid article > span {
  display: block;
  margin-bottom: 64px;
  color: #5998ff;
  font-size: 12px;
  font-weight: 800;
}

.feature-foundation-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
}

.feature-foundation-grid p {
  margin: 0;
  color: #aebbd0;
  font-size: 12.5px;
  line-height: 1.65;
}

.feature-process-section {
  background: #fff;
}

.feature-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.feature-process-grid .feature-section-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.feature-process-grid .feature-section-heading .btn {
  margin-top: 24px;
}

.feature-steps {
  gap: 0;
  counter-reset: process;
}

.feature-step {
  position: relative;
  gap: 20px;
  padding: 0 0 34px;
}

.feature-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 7px;
  left: 20px;
  width: 1px;
  background: #dbe5f2;
}

.feature-step-num {
  width: 41px;
  height: 41px;
  background: #eaf3ff;
  color: #1267f5;
  box-shadow: 0 0 0 7px #fff;
}

.feature-step > div {
  padding-top: 7px;
}

.feature-step strong {
  margin-bottom: 7px;
  font-size: 17px;
}

.feature-step p {
  font-size: 14px;
  line-height: 1.65;
}

.feature-related-section {
  background: #f7f9fc;
  border-top: 1px solid #edf1f6;
}

.feature-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-related-card {
  position: relative;
  min-height: 175px;
  padding: 24px;
  border-radius: 16px;
}

.feature-related-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #1267f5 !important;
  font-size: 17px !important;
}

.feature-related-card strong {
  align-self: end;
  margin-top: 54px;
  font-size: 16px;
}

.feature-faq-section {
  background: #fff;
}

.feature-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.feature-faq-layout .feature-section-heading {
  margin-bottom: 0;
}

.feature-faq-list {
  border-top: 1px solid #dfe7f1;
}

.feature-faq-item {
  border-bottom: 1px solid #dfe7f1;
}

.feature-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  color: #1c2f49;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.feature-faq-item summary::-webkit-details-marker {
  display: none;
}

.feature-faq-item summary > span {
  color: #1267f5;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.feature-faq-item[open] summary > span {
  transform: rotate(45deg);
}

.feature-faq-item p {
  max-width: 720px;
  margin: -6px 0 24px;
  color: #607188;
  font-size: 14px;
  line-height: 1.72;
}

.feature-page-cta {
  padding: 80px 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(117, 188, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #0956d5, #0d74f5);
}

.feature-page-cta-inner > div:first-child {
  max-width: 680px;
}

.feature-page-cta-inner > div:first-child > span {
  color: #cfe6ff;
}

.feature-page-cta h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.feature-page-cta p {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .feature-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 36px;
  }

  .feature-ui-shell {
    min-height: 345px;
  }

  .feature-foundation-grid,
  .feature-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .feature-page-hero {
    padding-top: 98px;
  }

  .feature-hero-grid,
  .feature-showcase-row,
  .feature-showcase-row.reverse,
  .feature-process-grid,
  .feature-faq-layout {
    grid-template-columns: 1fr;
  }

  .feature-product-visual {
    padding-left: 0;
  }

  .feature-use-case-grid {
    grid-template-columns: 1fr;
  }

  .feature-showcase-row.reverse .feature-showcase-copy,
  .feature-showcase-row.reverse .feature-showcase-visual {
    order: initial;
  }

  .feature-process-grid .feature-section-heading {
    position: static;
  }

  .feature-faq-layout .feature-section-heading {
    margin-bottom: 10px;
  }
}

@media (max-width: 680px) {
  .feature-page-hero {
    padding-bottom: 62px;
  }

  .feature-page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .feature-page-section {
    padding: 66px 0;
  }

  .feature-ui-shell {
    grid-template-columns: 37px minmax(0, 1fr);
    min-height: 320px;
  }

  .feature-ui-main {
    padding: 13px;
  }

  .feature-ui-heading button,
  .feature-ui-live,
  .feature-ui-activity {
    display: none;
  }

  .feature-ui-content {
    grid-template-columns: 1fr;
  }

  .feature-ui-metrics {
    gap: 5px;
  }

  .feature-ui-metrics > div {
    padding: 8px;
  }

  .feature-outcome-grid,
  .feature-foundation-grid,
  .feature-related-grid {
    grid-template-columns: 1fr;
  }

  .feature-outcome-card {
    min-height: 82px;
    border-left: 1px solid #e5ebf3;
    border-bottom: 1px solid #e5ebf3;
  }

  .feature-showcase-list {
    gap: 62px;
  }

  .feature-showcase-visual {
    padding: 18px;
    border-radius: 20px;
  }

  .feature-mini-body {
    grid-template-columns: 33px minmax(0, 1fr);
  }

  .feature-mini-body main {
    padding: 14px;
  }

  .feature-mini-cards {
    grid-template-columns: 1fr;
  }

  .feature-mini-cards > div:nth-child(n + 2) {
    display: none;
  }

  .feature-page-cta-inner {
    align-items: flex-start;
  }

  .feature-hero-actions,
  .feature-page-cta-inner > .btn {
    width: 100%;
  }

  .feature-hero-actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b4ccb);
  box-shadow: 0 14px 28px rgba(18, 103, 245, 0.22);
}

.btn-secondary {
  color: #172236;
  background: #fff;
  border: 1px solid #ccd8e8;
}

.btn-light {
  color: #172236;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.play-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #0d1727;
  border-radius: 50%;
  font-size: 10px;
  padding-left: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 44px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 360px at 14% 18%, rgba(255, 77, 85, 0.12), transparent 62%),
    radial-gradient(880px 440px at 82% 30%, rgba(18, 103, 245, 0.18), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.98));
}

.ascii-indonesia-bg {
  position: absolute;
  inset: -6% -3% 0;
  z-index: -2;
  opacity: 0.82;
  pointer-events: none;
}

.ascii-indonesia-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #e1ebf8;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 14px;
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf5ff;
}

.hero h1 {
  margin: 30px 0 16px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: inline-block;
  color: var(--blue);
}

.hero p {
  max-width: 610px;
  color: #4c5b70;
  line-height: 1.72;
  font-size: 16px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #3c4658 0 18%, transparent 19%),
    radial-gradient(circle at 50% 96%, #6c7890 0 30%, transparent 31%),
    var(--c);
  border: 3px solid #fff;
  margin-left: -9px;
  box-shadow: 0 4px 12px rgba(15, 31, 62, 0.14);
}

.avatars span:first-child {
  margin-left: 0;
}

.stars {
  color: #ffbd16;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.social-proof small {
  color: var(--muted);
  font-size: 12px;
}

.positioning-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.positioning-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 11px;
  border: 1px solid #dce7f5;
  border-radius: 999px;
  color: #52647e;
  background: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 800;
}

.positioning-proof .proof-live {
  color: #087e5a;
  border-color: #bdebd9;
  background: #f0fbf7;
}

.positioning-proof i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.hero-visual {
  min-width: 0;
}

.trend-mockup {
  border: 1px solid rgba(226, 235, 246, 0.92);
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 36px 110px rgba(24, 55, 106, 0.16);
  padding: 20px;
  overflow: hidden;
}

.trend-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.trend-breadcrumb {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 7px;
}

.trend-topbar strong {
  display: block;
  color: #172236;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.trend-topbar span,
.trend-panel-head span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 3px;
}

.trend-topbar .trend-vertical-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin: 6px 0 3px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #087e5a;
  background: #e4f8f0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.trend-actions {
  display: flex;
  gap: 7px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.trend-actions button {
  min-height: 27px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font: 800 11px/1 Inter, sans-serif;
  padding: 0 10px;
}

.trend-actions button.active {
  color: #4f46e5;
  background: #eef2ff;
}

.trend-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.trend-stat {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.trend-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}

.trend-icon.indigo { color: #6366f1; background: #eef2ff; }
.trend-icon.blue { color: #0ea5e9; background: #e0f2fe; }
.trend-icon.slate { color: #475569; background: #f1f5f9; }
.trend-icon.green { color: #10b981; background: #ecfdf5; }
.trend-icon.red { color: #ef4444; background: #fef2f2; }

.trend-stat small {
  display: block;
  overflow: hidden;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-stat b {
  display: block;
  overflow: hidden;
  color: #1e293b;
  font-size: 16px;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-stat em {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  color: #059669;
  background: #ecfdf5;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.trend-stat em.down {
  color: #ef4444;
  background: #fef2f2;
}

.trend-main-grid,
.trend-bottom-grid {
  display: grid;
  gap: 12px;
}

.trend-main-grid {
  grid-template-columns: 2fr 1fr;
  margin-bottom: 12px;
}

.trend-bottom-grid {
  grid-template-columns: 1fr 1.25fr;
}

.trend-panel {
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
  padding: 16px;
}

.trend-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.trend-panel-head b {
  color: #1e293b;
  font-size: 13px;
}

.trend-panel-head.compact {
  align-items: center;
  margin-bottom: 12px;
}

.trend-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.trend-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #f87171;
}

.trend-legend i:last-child {
  background: #34d399;
}

.stacked-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 14px;
  height: 150px;
  padding: 12px 8px 0;
  border-bottom: 1px solid #eef2f7;
  background:
    linear-gradient(#f8fafc 1px, transparent 1px) 0 0 / 100% 34px;
}

.stacked-bars span {
  display: block;
  height: calc(var(--cogs) + var(--gp));
  min-height: 42px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(to top, #f87171 0 var(--cogs), #34d399 var(--cogs) 100%);
}

.trend-summary,
.inventory-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 13px;
  background: #f8fafc;
}

.trend-summary p,
.inventory-meta p {
  margin: 0;
  text-align: center;
}

.trend-summary small,
.inventory-meta small {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
}

.trend-summary b,
.inventory-meta b {
  color: #334155;
  font-size: 12px;
}

.trend-summary b.red { color: #dc2626; }
.trend-summary b.green { color: #059669; }

.branch-bars {
  display: grid;
  gap: 13px;
}

.branch-bars p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin: 0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}

.branch-bars i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #818cf8 0 var(--w), #f1f5f9 var(--w) 100%);
}

.inventory-strip {
  display: flex;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f5f9;
}

.inventory-strip span {
  width: var(--w);
  background: var(--c);
}

.conversion-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.conversion-flow div {
  min-height: 76px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.conversion-flow b,
.conversion-flow span {
  display: block;
}

.conversion-flow b {
  color: #1e293b;
  font-size: 19px;
}

.conversion-flow span {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
}

.conversion-flow i {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 24px;
  border-radius: 999px;
  color: #4f46e5;
  background: #eef2ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.dashboard {
  background: #fff;
  border: 1px solid #e2ebf6;
  border-radius: 26px;
  box-shadow: 0 36px 110px rgba(24, 55, 106, 0.16);
  overflow: hidden;
}

.hero-dashboard {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 536px;
}

.dash-sidebar {
  padding: 28px 22px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border-right: 1px solid #e7eef8;
}

.dash-sidebar a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: #637087;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.dash-sidebar a.active {
  color: var(--blue);
  background: #eaf2ff;
}

.dash-main {
  padding: 28px;
}

.dash-main.full {
  width: 100%;
}

.dash-top,
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dash-top strong {
  font-size: 15px;
}

.dash-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-controls span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  color: #5b6780;
  border: 1px solid #e6eef8;
  border-radius: 8px;
  font-size: 11px;
  background: #fff;
}

.dash-controls i,
.dash-controls b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f6ff;
  border: 1px solid #e2ebf6;
}

.dash-controls b {
  background:
    radial-gradient(circle at 50% 34%, #2c3443 0 18%, transparent 19%),
    radial-gradient(circle at 50% 94%, #68758a 0 28%, transparent 29%),
    #f3d7c7;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.kpi {
  padding: 17px;
  border: 1px solid #e3ebf7;
  border-radius: 11px;
  background: #fff;
  min-width: 0;
}

.kpi small {
  display: block;
  color: #6a7589;
  font-size: 11px;
  margin-bottom: 8px;
}

.kpi strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.kpi span {
  display: block;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
  margin-top: 5px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.panel {
  border: 1px solid #e3ebf7;
  border-radius: 13px;
  background: #fff;
  padding: 18px;
}

.panel-title {
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}

.funnel-panel {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 10px;
}

.funnel-panel .panel-title {
  grid-column: 1 / -1;
}

.funnel {
  display: grid;
  gap: 8px;
  align-content: start;
}

.funnel span {
  display: block;
  height: 39px;
  background: linear-gradient(90deg, #2e7dff, #a7dfff);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}

.funnel span:nth-child(2) {
  width: 78%;
  margin-inline: auto;
  opacity: 0.75;
}

.funnel span:nth-child(3) {
  width: 58%;
  margin-inline: auto;
  opacity: 0.55;
}

.funnel span:nth-child(4) {
  width: 38%;
  margin-inline: auto;
  opacity: 0.38;
}

.funnel-meta p,
.source-list p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 13px;
  color: #657083;
  font-size: 12px;
}

.funnel-meta b,
.source-list b {
  color: #1a2435;
}

.donut-wrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
}

.donut {
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 45%, var(--blue) 45% 70%, var(--red) 70% 85%, var(--purple) 85% 95%, #79d0ff 95% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf2f8;
}

.donut.small {
  width: 104px;
}

.donut.small::after {
  inset: 24px;
}

.donut-wrap ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  color: #5c687b;
  font-size: 12px;
}

.donut-wrap li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.donut-wrap li b {
  margin-left: auto;
  color: #1f2c3e;
}

i.wa,
.wa {
  --dot: var(--green);
}

i.web,
.web {
  --dot: var(--blue);
}

i.ig,
.ig {
  --dot: var(--red);
}

i.fb,
.fb {
  --dot: var(--purple);
}

i.tel,
.tel {
  --dot: #77cfff;
}

.donut-wrap i,
.source-list i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  background: var(--dot);
}

.chart-panel {
  grid-column: span 1;
}

.chart-panel svg,
.response-panel svg,
.micro-chart {
  width: 100%;
  height: auto;
  display: block;
}

.response-panel strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.response-panel span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.ecosystem {
  padding: 30px 0 18px;
}

.ecosystem h2 {
  text-align: center;
  font-size: 16px;
  margin: 0 0 16px;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 13px;
}

.partner-strip div {
  min-height: 58px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid #e2ebf6;
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: #1c2738;
  font-size: 12px;
  font-weight: 800;
  padding: 10px;
}

.section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 30px;
}

.section-head span {
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
}

.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 296px;
  padding: 22px;
  border: 1px solid #dfebf7;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.feature-card-demo {
  display: flex;
  flex-direction: column;
  border-color: #cbdcf7;
  box-shadow: 0 16px 42px rgba(18, 103, 245, 0.12);
}

.feature-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.demo-available-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #bdebd9;
  border-radius: 999px;
  background: #f0fbf7;
  color: #0f865e;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.demo-available-badge i,
.demo-mode i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), #0a54d2);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.feature-demo-button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b4ccb);
  box-shadow: 0 10px 24px rgba(18, 103, 245, 0.2);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.feature-demo-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(18, 103, 245, 0.26);
}

.feature-demo-button span {
  font-size: 18px;
}

.feature-demo-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
}

.feature-demo-note {
  display: block;
  margin-top: 9px;
  color: #8490a2;
  font-size: 10px;
  text-align: center;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: #536175;
  line-height: 1.6;
  font-size: 13px;
}

.unit-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.car-visual {
  height: 72px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 24% 82%, #172236 0 7px, transparent 8px),
    radial-gradient(ellipse at 76% 82%, #172236 0 7px, transparent 8px),
    linear-gradient(12deg, transparent 0 12%, #e9eef5 13% 33%, #ffffff 34% 58%, #dbe4ef 59% 100%);
  border: 1px solid #d9e4ef;
  box-shadow: inset 0 -10px 22px rgba(24, 55, 106, 0.08);
}

.unit-card strong {
  font-size: 13px;
  line-height: 1.35;
  display: block;
}

.badges,
.mini-stats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 9px;
}

.badges span,
.mini-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef7f4;
  color: #14966b;
  font-size: 10px;
  font-weight: 800;
}

.mini-stats {
  align-items: end;
  justify-content: space-between;
  margin-top: 16px;
}

.mini-stats small {
  display: block;
  color: #6a7589;
  font-size: 11px;
}

.mini-stats b {
  font-size: 22px;
}

.channel-icons {
  display: flex;
  gap: 18px;
  margin: 24px 0 16px;
}

.channel-icons span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--dot) 14%, white);
  color: var(--dot);
  font-size: 11px;
  font-weight: 900;
}

.chat-mini {
  display: grid;
  gap: 10px;
}

.chat-mini p {
  max-width: 72%;
  padding: 12px 14px;
  border-radius: 15px;
  background: #f1f6ff;
  color: #4c5b70;
}

.chat-mini p:nth-child(2) {
  margin-left: auto;
  background: #e8f1ff;
}

.calendar-mock {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 14px;
  margin-top: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  font-size: 11px;
  color: #6b778a;
}

.calendar-grid b,
.calendar-grid span {
  min-height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}

.calendar-grid span.active {
  color: #fff;
  background: var(--blue);
}

.ad-score {
  padding: 12px;
  border: 1px solid #e2ebf6;
  border-radius: 11px;
}

.ad-score small,
.ad-score strong,
.ad-score span {
  display: block;
}

.ad-score small {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 9px;
}

.ad-score strong {
  margin-bottom: 10px;
}

.ad-score span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0 18px;
  border-radius: 10px;
  overflow: hidden;
}

.pipeline span {
  min-height: 60px;
  padding: 10px;
  color: #536175;
  background: #e7effa;
  font-size: 11px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
  margin-left: -12px;
}

.pipeline span:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.pipeline .won {
  background: #d7f4e8;
  color: #08724d;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #536175;
  font-size: 13px;
}

.check-list li::before {
  content: "OK";
  color: var(--green);
  font-weight: 900;
  margin-right: 10px;
}

.micro-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 16px;
}

.micro-dashboard div {
  padding: 14px;
  border: 1px solid #e2ebf6;
  border-radius: 10px;
}

.micro-dashboard small,
.micro-dashboard b,
.micro-dashboard span {
  display: block;
}

.micro-dashboard small {
  color: var(--muted);
  font-size: 10px;
}

.micro-dashboard b {
  font-size: 18px;
  margin: 6px 0;
}

.micro-dashboard span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.insight-card-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.insight-card-visual .source-list {
  width: 100%;
  margin-top: 0;
}

.source-list p {
  align-items: center;
}

.insight-card-visual .donut.small {
  position: relative;
  right: auto;
  bottom: auto;
}

.ai-section {
  padding-top: 10px;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
}

.ai-banner {
  position: relative;
  min-height: 248px;
  padding: 34px 42px;
  color: #fff;
  border-radius: 15px;
  background:
    radial-gradient(circle at 76% 44%, rgba(255, 255, 255, 0.34), transparent 21%),
    radial-gradient(circle at 72% 50%, rgba(23, 200, 238, 0.55), transparent 35%),
    linear-gradient(135deg, #0d54ec, #13aaf4);
  overflow: hidden;
}

.ai-banner > span {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 16px;
}

.ai-banner h2 {
  max-width: 430px;
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.ai-banner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-weight: 800;
}

.ai-banner li::before {
  content: "AI";
  margin-right: 10px;
}

.ai-orb {
  position: absolute;
  right: 82px;
  top: 48px;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
}

.ai-face {
  width: 84px;
  height: 54px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #cce8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 14px 44px rgba(6, 50, 138, 0.24);
}

.ai-face i {
  width: 12px;
  height: 12px;
  background: #073dbe;
  border-radius: 50%;
}

.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.36);
  font-size: 9px;
  font-weight: 900;
}

.bubble.one {
  left: -8px;
  top: 44px;
}

.bubble.two {
  right: -5px;
  top: 55px;
}

.bubble.three {
  left: 28px;
  bottom: -3px;
}

.bubble.four {
  right: 24px;
  bottom: 6px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-grid article,
.result-grid article {
  min-height: 114px;
  padding: 24px;
  border: 1px solid #e2ebf6;
  border-radius: 13px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: var(--shadow-soft);
}

.benefit-grid b,
.benefit-grid span,
.result-grid strong,
.result-grid b,
.result-grid span {
  display: block;
}

.benefit-grid b {
  color: var(--blue);
  margin-bottom: 10px;
}

.benefit-grid span,
.result-grid span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.performance-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.performance-card {
  border-radius: 14px;
}

.kpi-row.compact .kpi {
  padding: 14px;
}

.bottom-dash-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.75fr;
  gap: 16px;
}

.mini-bar-chart,
.consultants,
.donut-report {
  min-height: 160px;
  border: 1px solid #e2ebf6;
  border-radius: 12px;
  padding: 18px;
}

.mini-bar-chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  align-items: end;
}

.mini-bar-chart b {
  grid-column: 1 / -1;
  align-self: start;
  font-size: 12px;
}

.mini-bar-chart span {
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: #72b6ff;
}

.mini-bar-chart span:nth-child(even) {
  background: #85dfe6;
}

.consultants b,
.donut-report b {
  display: block;
  font-size: 12px;
  margin-bottom: 14px;
}

.consultants p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #526074;
  font-size: 12px;
}

.consultants i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dce7f4;
}

.consultants span {
  margin-left: auto;
  color: #172236;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.result-grid strong {
  color: var(--blue);
  font-size: 34px;
  letter-spacing: -0.06em;
  margin-bottom: 10px;
}

.result-grid b {
  margin-bottom: 10px;
}

.workflow-section,
.advantages-section {
  scroll-margin-top: 92px;
}

.workflow-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e5edf7;
  background:
    radial-gradient(620px 260px at 15% 0%, rgba(18, 103, 245, 0.1), transparent 68%),
    linear-gradient(180deg, #f8fbff, #fff);
}

.workflow-heading {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.workflow-heading p {
  font-size: 15px;
  line-height: 1.7;
}

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

.workflow-card {
  position: relative;
  min-height: 286px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(22, 42, 83, 0.07);
}

.workflow-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #1267f5, #17c8ee);
}

.workflow-number {
  display: block;
  color: #aab7c9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.workflow-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 34px 0 22px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #1267f5, #0a54d2);
  box-shadow: 0 11px 24px rgba(18, 103, 245, 0.22);
  font-size: 11px;
  font-weight: 900;
}

.workflow-card:nth-child(2) .workflow-icon {
  background: linear-gradient(135deg, #7663ff, #5543d7);
}

.workflow-card:nth-child(3) .workflow-icon {
  background: linear-gradient(135deg, #17a888, #087e68);
}

.workflow-card:nth-child(4) .workflow-icon {
  background: linear-gradient(135deg, #ff7f4d, #e95729);
}

.workflow-card h3 {
  margin: 0 0 11px;
  color: #132440;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.workflow-card p {
  margin: 0;
  color: #627087;
  font-size: 13px;
  line-height: 1.65;
}

.advantages-section {
  color: #fff;
  background:
    radial-gradient(620px 360px at 12% 28%, rgba(18, 103, 245, 0.34), transparent 66%),
    radial-gradient(520px 300px at 92% 80%, rgba(23, 200, 238, 0.15), transparent 72%),
    #07152b;
}

.advantages-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.advantages-intro > span {
  color: #77b5ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.advantages-intro h2 {
  margin: 16px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.advantages-intro p {
  margin: 0;
  color: #afbdd0;
  font-size: 14px;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  color: #86c1ff;
  font-size: 13px;
  font-weight: 800;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.advantages-grid article {
  min-height: 208px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}

.advantages-grid strong,
.advantages-grid b,
.advantages-grid span {
  display: block;
}

.advantages-grid strong {
  margin-bottom: 34px;
  color: #5fa8ff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.advantages-grid b {
  margin-bottom: 10px;
  font-size: 16px;
}

.advantages-grid span {
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.65;
}

.footer {
  padding: 36px 0 24px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 42px;
}

.footer p,
.footer a {
  display: block;
  color: #6b778a;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.footer h3 {
  margin: 0 0 14px;
  font-size: 13px;
}

.footer-brand {
  font-size: 24px;
  margin-bottom: 22px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #07111f;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.copyright {
  color: #a3adbb;
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
}

/* Dedicated contact page — form-led layout inspired by the Qontak contact flow. */
.contact-page {
  background: #f7f9fd;
}

.contact-page .site-header {
  background: rgba(255, 255, 255, 0.94);
}

.contact-page .nav > a {
  position: relative;
}

.contact-page .nav > a.is-current {
  color: var(--blue);
  font-weight: 700;
}

.contact-page .nav > a.is-current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    linear-gradient(135deg, rgba(231, 240, 255, 0.88), rgba(247, 249, 253, 0) 45%),
    #f7f9fd;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.contact-orb-one {
  top: -180px;
  right: -110px;
  width: 470px;
  height: 470px;
  background: radial-gradient(circle at 38% 38%, rgba(63, 128, 255, 0.25), rgba(63, 128, 255, 0));
}

.contact-orb-two {
  bottom: -240px;
  left: -220px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 55% 45%, rgba(28, 201, 172, 0.14), rgba(28, 201, 172, 0));
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "intro form"
    "channels form";
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 30px 64px;
  align-items: start;
}

.contact-intro {
  grid-area: intro;
  padding-top: 48px;
}

.contact-intro h1 {
  max-width: 620px;
  margin: 24px 0 22px;
  color: #081b3b;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.contact-intro > p {
  max-width: 600px;
  margin: 0;
  color: #53627a;
  font-size: 17px;
  line-height: 1.8;
}

.contact-channels {
  grid-area: channels;
}

.contact-channels > p {
  margin: 0 0 12px;
  color: #4f607a;
  font-size: 12px;
  font-weight: 700;
}

.contact-points {
  display: grid;
  gap: 12px;
}

.contact-point {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dce5f3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #102348;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-point:hover {
  transform: translateY(-2px);
  border-color: #a9c5f7;
  box-shadow: 0 14px 34px rgba(28, 70, 132, 0.1);
}

.contact-point-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #eaf2ff;
  color: var(--blue);
}

.contact-point-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-point strong,
.contact-point small {
  display: block;
}

.contact-point strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.contact-point small {
  color: #6b778a;
  font-size: 12px;
  line-height: 1.5;
}

.contact-point > i {
  color: var(--blue);
  font-size: 20px;
  font-style: normal;
}

.contact-form-card {
  grid-area: form;
  scroll-margin-top: 110px;
  padding: 38px;
  border: 1px solid rgba(218, 228, 241, 0.92);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(17, 47, 94, 0.14);
}

.contact-form-heading > span,
.section-label {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-form-heading h2 {
  margin: 10px 0 10px;
  color: #0a1e40;
  font-size: 30px;
  letter-spacing: -0.025em;
}

.contact-form-heading p {
  margin: 0;
  color: #6b778a;
  font-size: 13px;
  line-height: 1.65;
}

.contact-form {
  margin-top: 28px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.contact-form label > span:not(.contact-point-icon) {
  display: block;
  margin-bottom: 8px;
  color: #213251;
  font-size: 12px;
  font-weight: 700;
}

.contact-form label em {
  color: #df334d;
  font-style: normal;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5dfec;
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: #172236;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input:not([type="checkbox"]),
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa6b8;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #5c91ec;
  box-shadow: 0 0 0 3px rgba(18, 103, 245, 0.11);
}

.contact-form-wide {
  grid-column: 1 / -1;
}

.contact-consent {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 20px;
  cursor: pointer;
}

.contact-consent input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.contact-form .contact-consent > span {
  margin: 0;
  color: #6b778a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}

.contact-submit {
  width: 100%;
  margin-top: 22px;
  justify-content: center;
  border: 0;
}

.contact-form-note {
  margin: 10px 0 0;
  color: #8a96a8;
  font-size: 10px;
  text-align: center;
}

.contact-expectations {
  padding: 88px 0;
  background: #fff;
}

.contact-section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-section-heading h2,
.contact-faq h2 {
  margin: 12px 0 0;
  color: #0a1e40;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.contact-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-step-grid article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 30px;
  border: 1px solid #e0e7f1;
  border-radius: 20px;
  background: #f9fbff;
}

.contact-step-grid article > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #e8f1ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.contact-step-grid h3 {
  margin: 42px 0 10px;
  color: #102348;
  font-size: 20px;
}

.contact-step-grid p {
  margin: 0;
  color: #657187;
  font-size: 13px;
  line-height: 1.7;
}

.contact-faq {
  padding: 88px 0 100px;
  background: #f5f8fc;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1.28fr);
  gap: 90px;
  align-items: start;
}

.contact-faq-grid > div:first-child > p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #657187;
  font-size: 14px;
  line-height: 1.75;
}

.contact-faq-list {
  display: grid;
  gap: 12px;
}

.contact-faq-list details {
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
}

.contact-faq-list summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  color: #162847;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.contact-faq-list summary::-webkit-details-marker {
  display: none;
}

.contact-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 22px;
  font-weight: 500;
}

.contact-faq-list details[open] summary::after {
  content: "−";
}

.contact-faq-list details p {
  margin: -2px 52px 20px 20px;
  color: #657187;
  font-size: 13px;
  line-height: 1.7;
}

/* Interactive Inventory Management demo */
body.demo-open {
  overflow: hidden;
}

.inventory-demo {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  color: #111827;
  background: #f4f7fb;
}

.inventory-demo.is-open {
  display: block;
}

/*
 * Hover affordance: browser default for <button> is cursor:default (arrow).
 * Force pointer on clickable controls inside product demos (IMS + CRM/omni/dll
 * yang memakai class inventory-demo).
 */
.inventory-demo button:not(:disabled),
.inventory-demo [role="button"]:not([aria-disabled="true"]),
.inventory-demo a[href],
.inventory-demo summary,
.inventory-demo select,
.inventory-demo [data-unit-id],
.inventory-demo .ims-upload-drop,
.inventory-demo .demo-stat,
.inventory-demo .demo-mobile-card {
  cursor: pointer;
}

.inventory-demo button:disabled,
.inventory-demo [disabled],
.inventory-demo [aria-disabled="true"] {
  cursor: not-allowed;
}

.demo-app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.demo-topbar {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 8px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.demo-brand-wrap,
.demo-topbar-actions {
  display: flex;
  align-items: center;
}

.demo-brand-wrap {
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.demo-brand {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
}

.demo-brand strong {
  color: #e31825;
}

.demo-divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

.demo-brand-wrap > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.demo-brand-wrap b {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(320px, 42vw);
}

.demo-brand-wrap div span {
  color: #94a3b8;
  font-size: 10px;
}

.demo-topbar-actions {
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.demo-mode {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #047857;
  background: #f0fdf4;
  font-size: 11px;
  font-weight: 800;
}

.demo-mode.is-readonly {
  border-color: #fde68a;
  color: #a16207;
  background: #fffbeb;
}

.demo-mode.is-readonly i {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.demo-mode.is-error {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}

.demo-mode.is-error i {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.demo-reset-button,
.demo-close-button,
.demo-detail-header button,
.demo-guide-popover > button,
.demo-toast > button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.demo-reset-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #475569;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.demo-close-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #475569;
  background: #f1f5f9;
  font-size: 25px;
  line-height: 1;
}

.demo-layout {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 12px;
  border-right: 1px solid #e2e8f0;
  background: #fff;
  min-height: 0;
  overflow: auto;
}

.demo-sidebar nav {
  display: grid;
  gap: 5px;
}

.demo-nav-section {
  margin: 2px 12px 7px;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-sidebar nav button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.demo-nav-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.demo-sidebar nav button.active {
  color: #4338ca;
  background: #eef2ff;
}

.demo-sidebar-tip {
  padding: 15px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(145deg, #eff6ff, #f8fbff);
}

.demo-sidebar-tip span,
.demo-guide-popover > span,
.demo-detail-header span,
.demo-detail-insight span {
  color: #2563eb;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.demo-sidebar-tip b {
  display: block;
  margin: 7px 0 5px;
  color: #1e3a8a;
  font-size: 11px;
}

.demo-sidebar-tip p {
  margin: 0;
  color: #64748b;
  font-size: 9px;
  line-height: 1.55;
}

.demo-workspace {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  padding: 25px 28px 30px;
  background: #f8fafc;
  -webkit-overflow-scrolling: touch;
}

.ims-view[hidden] {
  display: none !important;
}

.ims-view.is-active {
  display: block;
}

.ims-mobile-nav {
  display: none;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.ims-mobile-nav button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.ims-mobile-nav button.active {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
}

.demo-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.demo-guide-actions button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.demo-guide-actions [data-demo-guide-next],
.demo-guide-actions [data-demo-guide-finish],
.demo-guide-actions [data-social-guide-next],
.demo-guide-actions [data-social-guide-finish],
.demo-guide-actions [data-crm-guide-next],
.demo-guide-actions [data-crm-guide-finish],
.demo-guide-actions [data-omni-guide-next],
.demo-guide-actions [data-omni-guide-finish],
.demo-guide-actions [data-dashboard-guide-next],
.demo-guide-actions [data-dashboard-guide-finish],
.demo-guide-actions [data-insight-guide-next],
.demo-guide-actions [data-insight-guide-finish],
.demo-guide-actions .demo-guide-next,
.demo-guide-actions .demo-guide-finish {
  background: #4338ca;
  color: #fff;
}

/* Pastikan tombol action di tooltip biru tidak tertimpa aturan di atas */
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-demo-guide-next],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-demo-guide-finish],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-crm-guide-next],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-crm-guide-finish],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-social-guide-next],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-social-guide-finish],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-omni-guide-next],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-omni-guide-finish],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-dashboard-guide-next],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-dashboard-guide-finish],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-insight-guide-next],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-insight-guide-finish],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions .demo-guide-next,
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions .demo-guide-finish {
  background: #fff;
  color: #1d4ed8;
}

.demo-guide-actions [data-demo-guide-prev],
.demo-guide-actions [data-social-guide-prev],
.demo-guide-actions [data-crm-guide-prev],
.demo-guide-actions [data-omni-guide-prev],
.demo-guide-actions [data-dashboard-guide-prev],
.demo-guide-actions [data-insight-guide-prev],
.demo-guide-actions .demo-guide-prev {
  background: #e2e8f0;
  color: #334155;
}

.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-crm-guide-prev],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-social-guide-prev],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-omni-guide-prev],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-dashboard-guide-prev],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-insight-guide-prev],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions .demo-guide-prev {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Shared highlight ring for all solution demos (IMS product-tour style) */
.demo-guide-highlight {
  border-radius: 10px;
  outline: 2px solid transparent;
  transition: outline 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  z-index: 50;
}

/*
 * AI Falcon layout (inspirasi product-tour Mekari):
 * kiri = rail pilih agent + mode; tengah = mock iPhone WhatsApp hero.
 */
.falcon-demo-layout {
  --falcon-card-height: clamp(680px, calc(100dvh - 145px), 800px);
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 14px auto 0;
  min-width: 0;
  width: 100%;
  max-width: 1240px;
  height: var(--falcon-card-height);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

/* —— Left rail: pilih agent / mode —— */
.falcon-picker-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px 14px 16px;
  background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 42%, #172554 100%);
  color: #e2e8f0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.falcon-picker-head span {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.falcon-picker-head p {
  margin: 6px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 10px;
  line-height: 1.5;
}

.falcon-picker-list {
  display: grid;
  gap: 8px;
}

.falcon-picker-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.falcon-picker-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.falcon-picker-card.is-selected {
  background: #fff;
  color: #0f172a;
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
}

.falcon-picker-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.falcon-picker-card.is-selected .falcon-picker-ico {
  background: #eff6ff;
}

.falcon-picker-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.falcon-picker-copy strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.falcon-picker-copy small {
  color: rgba(226, 232, 240, 0.72);
  font-size: 10px;
  line-height: 1.4;
}

.falcon-picker-card.is-selected .falcon-picker-copy small {
  color: #64748b;
}

.falcon-picker-section {
  display: grid;
  gap: 8px;
}

.falcon-picker-label {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.falcon-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.falcon-mode-toggle button {
  display: grid;
  gap: 2px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.22);
  color: #e2e8f0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.falcon-mode-toggle button strong {
  font-size: 11px;
  font-weight: 800;
}

.falcon-mode-toggle button small {
  color: rgba(226, 232, 240, 0.65);
  font-size: 9px;
}

.falcon-mode-toggle button.is-active {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #0c4a6e;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.falcon-mode-toggle button.is-active small {
  color: rgba(12, 74, 110, 0.75);
}

.falcon-picker-status {
  padding: 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.falcon-picker-status > span,
.falcon-role-badge > span {
  color: #7dd3fc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.falcon-picker-status.is-management > span,
.falcon-role-badge.is-management > span {
  color: #6ee7b7;
}

.falcon-picker-status.is-live > span,
.falcon-role-badge.is-live > span {
  color: #fde68a;
}

.falcon-picker-status b,
.falcon-role-badge b {
  display: block;
  margin: 5px 0 4px;
  color: #fff;
  font-size: 14px;
}

.falcon-picker-status p,
.falcon-role-badge p {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  font-size: 10px;
  line-height: 1.45;
}

.falcon-picker-tools {
  display: grid;
  gap: 8px;
  margin-top: auto;
  min-width: 0;
}

.falcon-tutorial-list {
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.2);
  display: grid;
  gap: 6px;
  max-height: min(200px, 28vh);
  overflow-y: auto;
  min-width: 0;
}

.falcon-tutorial-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: rgba(226, 232, 240, 0.78);
  font-size: 10px;
  font-weight: 600;
}

.falcon-tutorial-list li.is-done {
  color: #6ee7b7;
}

.falcon-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.falcon-quick-prompts button {
  min-height: 28px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e0f2fe;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.falcon-quick-prompts button:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* —— Center stage: large WhatsApp phone —— */
.falcon-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  height: 100%;
  padding: 16px clamp(20px, 4vw, 44px) 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.08), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.falcon-phone-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.iphone-frame {
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  padding: 12px 10px 16px;
  border: 2px solid #334155;
  border-radius: 38px;
  background: linear-gradient(145deg, #334155 0%, #0f172a 42%, #020617 100%);
  box-shadow:
    0 24px 54px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 0 5px rgba(15, 23, 42, 0.05);
  justify-self: center;
  box-sizing: border-box;
}

.iphone-notch {
  width: min(120px, 42%);
  height: 20px;
  margin: 0 auto 10px;
  border-radius: 0 0 14px 14px;
  background: #020617;
}

.iphone-screen {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: calc(100% - 42px);
  width: 100%;
  max-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 29px;
  background: #ece5dd;
  min-height: 0;
}

.wa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #075e54;
  color: #fff;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wa-back {
  font-size: 22px;
  line-height: 1;
  opacity: 0.85;
}

.wa-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #34d399;
  color: #064e3b;
  font-size: 11px;
  font-weight: 900;
  flex: 0 0 auto;
}

.wa-avatar.is-management {
  background: #93c5fd;
  color: #1e3a8a;
}

.wa-header b {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.wa-header small {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.wa-header-left > div {
  min-width: 0;
}

.wa-header-actions {
  font-size: 18px;
  opacity: 0.9;
}

.wa-messages {
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
}

.wa-bubble {
  max-width: 86%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.wa-bubble p {
  margin: 0;
}

.wa-in {
  align-self: flex-start;
  background: #fff;
  color: #0f172a;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06);
}

.wa-out {
  align-self: flex-end;
  background: #dcf8c6;
  color: #0f172a;
  border-top-right-radius: 2px;
}

.wa-system {
  align-self: center;
  margin: 2px 0;
}

.wa-system span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #475569;
  font-size: 10px;
  font-weight: 700;
}

.wa-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}

.wa-photo-grid-out {
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.wa-photo-grid-in {
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
}

.wa-photo-card {
  position: relative;
  display: grid;
  place-content: end start;
  min-height: 72px;
  padding: 8px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.72)),
    linear-gradient(135deg, #94a3b8, #64748b);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.wa-photo-card.has-photo {
  min-height: 88px;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  background-blend-mode: normal;
}

.wa-photo-card.has-photo.is-plain {
  min-height: 96px;
  place-content: center;
  box-shadow: none;
}

.wa-photo-card.has-photo.is-plain::after {
  display: none;
}

.wa-photo-card.has-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.78));
  content: "";
  pointer-events: none;
}

.wa-photo-card.has-photo.is-plain::after {
  display: none;
}

.wa-photo-card b,
.wa-photo-card span {
  position: relative;
  z-index: 1;
}

.wa-photo-card b {
  font-size: 9px;
  line-height: 1.25;
}

.wa-photo-card span {
  font-size: 8px;
  opacity: 0.9;
}

.wa-media-thumb {
  margin-bottom: 6px;
  padding: 18px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  color: #0f172a;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.wa-report {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.wa-report > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f1f5f9;
  font-size: 10px;
}

.wa-composer {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 6px;
  align-items: center;
  padding: 8px;
  background: #f0f2f5;
  min-width: 0;
}

.wa-composer input {
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 11px;
  outline: none;
}

.wa-attach,
.wa-send {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  font: inherit;
  cursor: pointer;
}

.wa-attach {
  background: transparent;
  color: #64748b;
  font-size: 16px;
}

.wa-send {
  background: #00a884;
  color: #fff;
  font-size: 13px;
}

/* Stack: rail di atas, phone hero di bawah */
@media (max-width: 1100px) {
  .falcon-demo-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .falcon-picker-rail {
    height: auto;
    max-height: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .falcon-picker-tools {
    margin-top: 0;
  }

  .falcon-tutorial-list {
    max-height: min(140px, 22vh);
  }

  .iphone-frame {
    width: min(100%, clamp(288px, 42vw, 320px));
    height: auto;
    max-height: none;
  }

  .iphone-screen {
    height: auto;
    aspect-ratio: 9 / 17.9;
  }
}

@media (max-width: 600px) {
  .iphone-frame {
    width: min(100%, 292px);
  }
}

/* Viewport pendek (zoom 150% pada tinggi 768–900) */
@media (max-height: 720px) {
  .falcon-tutorial-list {
    max-height: min(120px, 22dvh);
  }

  .ims-view[data-ims-view="falcon"] .demo-page-heading p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Heading AI Falcon: aman wrap saat lebar efektif menyusut (zoom) */
.ims-view[data-ims-view="falcon"] .demo-page-heading {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
}

.ims-view[data-ims-view="falcon"] .demo-page-heading > div {
  min-width: 0;
  flex: 1 1 220px;
}

.ims-view[data-ims-view="falcon"] .demo-page-heading p {
  max-width: min(62ch, 100%);
  overflow-wrap: anywhere;
}

.ims-view[data-ims-view="falcon"] .demo-page-heading .demo-primary-action {
  flex: 0 0 auto;
}

.falcon-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.falcon-live-cta[hidden] {
  display: none !important;
}

.falcon-exit-live {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 12px;
}

.falcon-exit-live:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.falcon-role-gate {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.falcon-role-gate[hidden] {
  display: none !important;
}

.falcon-role-gate-card {
  width: 100%;
  max-width: 280px;
  padding: 16px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  display: grid;
  gap: 8px;
}

.falcon-role-gate-card > span {
  color: #059669;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.falcon-role-gate-card > b {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.3;
}

.falcon-role-gate-card > p {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.falcon-role-gate-card button[data-falcon-pick-role] {
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font: inherit;
  cursor: pointer;
}

.falcon-role-gate-card button[data-falcon-pick-role]:hover {
  border-color: #a5b4fc;
  background: #eef2ff;
}

.falcon-role-gate-card button[data-falcon-pick-role] strong {
  color: #1e1b4b;
  font-size: 12px;
}

.falcon-role-gate-card button[data-falcon-pick-role] small {
  color: #64748b;
  font-size: 10px;
  line-height: 1.35;
}

.falcon-gate-cancel {
  margin-top: 2px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.wa-bubble.is-typing p {
  color: #64748b;
  font-style: italic;
}

.wa-composer.is-live-busy {
  opacity: 0.7;
  pointer-events: none;
}

.falcon-live-cta[hidden],
.falcon-exit-live[hidden] {
  display: none !important;
}

.ims-branch-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}

.ims-branch-totals button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font: inherit;
  cursor: pointer;
}

.ims-branch-totals button small {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.ims-branch-totals button b {
  font-size: 12px;
  font-weight: 800;
}

.ims-branch-totals button.sky {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

.ims-branch-totals button.rose {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.ims-branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.ims-branch-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.ims-branch-card header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ims-branch-pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef2ff;
  font-size: 14px;
}

.ims-branch-card header b {
  display: block;
  color: #0f172a;
  font-size: 13px;
}

.ims-branch-card header span {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
}

.ims-branch-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ims-branch-metrics button {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  background: #f8fafc;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.ims-branch-metrics button small {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ims-branch-metrics button b {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

.ims-branch-metrics button.sky {
  background: #f0f9ff;
  border-color: #e0f2fe;
}

.ims-branch-open {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: #eef2ff;
  color: #4338ca;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.ims-branch-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  text-align: center;
}

.ims-branch-empty b {
  display: block;
  margin-bottom: 6px;
  color: #334155;
}

.ims-branch-empty p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
}

.ims-upload-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 14px;
}

.ims-upload-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ims-upload-tabs button.active {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
}

.ims-upload-panel {
  display: grid;
  gap: 14px;
}

.ims-upload-drop {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 36px 24px;
  border: 1px dashed #c7d2fe;
  border-radius: 16px;
  background: linear-gradient(160deg, #f8fafc, #eef2ff 120%);
  text-align: center;
  cursor: pointer;
}

.ims-upload-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  color: #4338ca;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(67, 56, 202, 0.12);
}

.ims-upload-drop b {
  color: #0f172a;
  font-size: 15px;
}

.ims-upload-drop p {
  max-width: 420px;
  margin: 0 0 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.ims-upload-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ims-upload-steps li {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.ims-upload-steps em {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.ims-upload-steps b {
  display: block;
  margin-bottom: 3px;
  color: #0f172a;
  font-size: 12px;
}

.ims-upload-steps span {
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.45;
}

.ims-upload-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ims-upload-meta > div {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.ims-upload-meta small {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ims-upload-meta b {
  color: #0f172a;
  font-size: 16px;
}

.demo-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.demo-breadcrumb {
  color: #94a3b8;
  font-size: 10px;
}

.demo-page-heading h2 {
  margin: 8px 0 3px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.demo-page-heading p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
}

.demo-primary-action,
.demo-secondary-action {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.demo-primary-action {
  border: 1px solid #4338ca;
  color: #fff;
  background: #4f46e5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18);
}

.demo-primary-action:disabled {
  border-color: #cbd5e1;
  color: #94a3b8;
  background: #e2e8f0;
  box-shadow: none;
  cursor: not-allowed;
}

.demo-secondary-action {
  border: 1px solid #dbe4f0;
  color: #475569;
  background: #fff;
}

.demo-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 14px;
}

.demo-stat {
  min-width: 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: inherit;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.demo-stat:hover,
.demo-stat.active {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.demo-stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 900;
}

.demo-stat-icon.indigo {
  color: #4f46e5;
  background: #eef2ff;
}

.demo-stat-icon.green {
  color: #059669;
  background: #ecfdf5;
}

.demo-stat-icon.amber {
  color: #d97706;
  background: #fffbeb;
}

.demo-stat-icon.blue {
  color: #2563eb;
  background: #eff6ff;
}

.demo-stat small,
.demo-stat b {
  display: block;
}

.demo-stat small {
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
}

.demo-stat b {
  margin-top: 4px;
  font-size: 20px;
}

.demo-stat em {
  align-self: end;
  padding: 3px 6px;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.demo-stat em.positive {
  color: #047857;
  background: #ecfdf5;
}

.demo-inventory-panel {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

/* —— Manajemen Unit parity persis screenshot Mobix —— */
.ims-units-view {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: -8px -4px 0;
}

.ims-units-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 0;
  padding: 8px 4px 10px;
}

.ims-units-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.ims-units-breadcrumb strong {
  color: #0f172a;
  font-weight: 700;
}

.ims-bc-sep {
  color: #cbd5e1;
  font-weight: 400;
}

.ims-units-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ims-guide-link {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ims-guide-link:hover {
  color: #334155;
  background: #f1f5f9;
}

.ims-export-menu {
  position: relative;
}

.ims-export-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
}

.ims-export-trigger:hover {
  background: #f8fafc;
}

.ims-export-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  min-width: 150px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.ims-export-dropdown button {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.ims-export-dropdown button:hover {
  background: #f1f5f9;
}

.ims-stat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ims-units-panel {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.ims-units-filters {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
}

.ims-filter-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ims-units-search {
  flex: 1 1 220px;
  min-width: 200px;
  min-height: 36px;
  border-radius: 8px;
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  grid-template-columns: 28px 1fr;
  padding-left: 8px;
}

.ims-search-ico {
  display: grid;
  place-items: center;
  color: #94a3b8;
}

.ims-units-search input {
  font-size: 13px;
  font-weight: 400;
}

.ims-branch-popover {
  position: relative;
  flex: 0 0 auto;
}

.ims-branch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  cursor: pointer;
  white-space: nowrap;
}

.ims-branch-btn.is-active {
  border-color: #8b5cf6;
  background: #f5f3ff;
  color: #6d28d9;
}

.ims-branch-btn span:last-child {
  color: #94a3b8;
  font-size: 10px;
}

.ims-branch-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 25;
  min-width: 180px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.ims-branch-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.ims-branch-menu button:last-child {
  border-bottom: 0;
}

.ims-branch-menu button:hover {
  background: #f8fafc;
}

.ims-branch-menu button.is-selected {
  background: #f5f3ff;
  color: #6d28d9;
  box-shadow: inset 0 0 0 1px #ddd6fe;
}

.ims-branch-menu button.is-selected::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #7c3aed;
}

.ims-status-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.ims-status-pills::-webkit-scrollbar {
  display: none;
}

.ims-status-pills button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.ims-status-pills button.pill-all {
  color: #475569;
}

.ims-status-pills button.pill-active {
  color: #0284c7;
}

.ims-status-pills button.pill-ready {
  color: #059669;
}

.ims-status-pills button.pill-booked {
  color: #ea580c;
}

.ims-status-pills button:hover {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.ims-status-pills button.pill-all.active {
  border-color: #334155;
  background: #334155;
  color: #fff;
}

.ims-status-pills button.pill-active.active {
  border-color: #0284c7;
  background: #f0f9ff;
  color: #0369a1;
}

.ims-status-pills button.pill-ready.active {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}

.ims-status-pills button.pill-booked.active {
  border-color: #f97316;
  background: #fff7ed;
  color: #c2410c;
}

.ims-adv-toggle,
.ims-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  white-space: nowrap;
}

.ims-adv-toggle.is-open {
  border-color: #cbd5e1;
  background: #e2e8f0;
}

.ims-adv-toggle.has-filters {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.18);
}

.ims-adv-badge {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.ims-reset-btn {
  color: #64748b;
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

.ims-reset-btn:hover {
  color: #334155;
  background: #f1f5f9;
}

.ims-filter-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ims-unit-count {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
}

.ims-active-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ims-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 8px 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

.ims-chip button {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.ims-chip button:hover {
  color: #dc2626;
}

.ims-chip-clear {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.ims-chip-clear:hover {
  color: #dc2626;
}

.ims-adv-panel {
  padding: 14px 16px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.ims-adv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ims-adv-header b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ims-adv-header button {
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ims-adv-header button:hover {
  color: #4f46e5;
}

.ims-adv-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 14px;
}

.ims-adv-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ims-adv-grid span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.ims-adv-grid input,
.ims-adv-grid select {
  min-height: 34px;
  width: 100%;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 12px;
}

.ims-units-table-wrap {
  min-height: 280px;
  max-height: calc(100vh - 250px);
  overflow: auto;
  background: #fff;
}

.ims-units-table {
  width: 100%;
  table-layout: fixed;
}

.ims-units-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  box-shadow: 0 1px 0 #e2e8f0;
}

.ims-units-table th.th-unit {
  width: 22%;
  text-align: center;
}

.ims-units-table th.th-plate {
  width: 10%;
  text-align: center;
}

.ims-units-table th.th-status {
  width: 10%;
  text-align: center;
}

.ims-units-table td {
  padding: 14px 12px;
  vertical-align: top;
  font-size: 13px;
  border-top: 1px solid #f1f5f9;
  color: #334155;
}

.ims-units-table tbody tr {
  cursor: pointer;
}

.ims-units-table tbody tr:hover {
  background: #fafbfc;
}

.ims-unit-title-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 0 2px;
}

.ims-unit-title-cell b {
  display: -webkit-box;
  overflow: hidden;
  color: #312e81;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: uppercase;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ims-unit-title-cell span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  word-break: break-word;
}

.ims-unit-title-cell em {
  display: block;
  margin-top: 4px;
  color: #7c3aed;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ims-units-table .demo-plate {
  display: inline-block;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.ims-units-table .demo-cell-stack b {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.ims-units-table .demo-cell-stack b.price {
  color: #4f46e5;
}

.ims-units-table .demo-cell-stack span {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 11px;
}

.ims-odo-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.ims-odo-line svg {
  color: #cbd5e1;
  flex-shrink: 0;
}

.ims-units-table .demo-aging {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  font-size: 13px;
}

.ims-units-table .demo-aging.ok {
  color: #059669 !important;
}

.ims-units-table .demo-aging.mid {
  color: #ea580c !important;
}

.ims-units-table .demo-aging.high {
  color: #dc2626 !important;
}

.ims-units-table .demo-aging.sold {
  color: #2563eb !important;
}

.ims-branch-cell {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ims-branch-cell b {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.ims-branch-cell b .ims-pin {
  color: #818cf8;
  font-size: 11px;
  line-height: 1;
}

.ims-branch-cell span {
  color: #94a3b8;
  font-size: 11px;
}

.ims-branch-cell .ims-source {
  color: #94a3b8;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.ims-units-table .demo-status {
  min-height: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ims-units-table .demo-status.ready {
  color: #047857;
  background: #ecfdf5;
}

.ims-units-table .demo-status.booked {
  color: #c2410c;
  background: #fff7ed;
}

.ims-units-table .demo-status.sold {
  color: #1d4ed8;
  background: #eff6ff;
}

.ims-units-mobile .demo-mobile-card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 12px;
  cursor: pointer;
}

.ims-units-mobile .demo-mobile-card h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  line-height: 1.3;
}

.ims-units-mobile .demo-mobile-card-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.ims-sort-hidden {
  display: none !important;
}

/* Units view: tighter workspace padding to mirror app card */
.demo-workspace:has(.ims-units-view.is-active) {
  padding-top: 12px;
}

.demo-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 170px;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid #eef2f7;
}

.demo-search {
  min-height: 40px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #94a3b8;
  background: #fff;
}

.demo-search:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.13);
}

.demo-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #1e293b;
  background: transparent;
  font: inherit;
  font-size: 11px;
}

.demo-search input::placeholder {
  color: #94a3b8;
}

.demo-select-wrap {
  min-height: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  padding: 0 9px 0 11px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
}

.demo-select-wrap > span {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 700;
}

.demo-select-wrap select {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #334155;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
}

.demo-filter-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 14px;
  border-bottom: 1px solid #eef2f7;
}

.demo-filter-pills {
  display: flex;
  align-items: center;
  gap: 5px;
}

.demo-filter-pills button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.demo-filter-pills button.active {
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
}

.demo-result-count {
  color: #94a3b8;
  font-size: 9px;
}

.demo-table-wrap {
  position: relative;
  min-height: 250px;
  overflow: auto;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.demo-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 12px;
  color: #64748b;
  background: #f8fafc;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.demo-table th:nth-child(1) {
  width: 23%;
}

.demo-table th:nth-child(2) {
  width: 10%;
}

.demo-table th:nth-child(3),
.demo-table th:nth-child(4) {
  width: 13%;
}

.demo-table th:nth-child(5) {
  width: 12%;
}

.demo-table th:nth-child(6) {
  width: 18%;
}

.demo-table th:nth-child(7) {
  width: 11%;
  text-align: center;
}

.demo-table td {
  padding: 12px;
  border-top: 1px solid #eef2f7;
  color: #475569;
  font-size: 9px;
  vertical-align: middle;
}

.demo-table tbody tr {
  cursor: pointer;
  transition: background 0.14s ease;
}

.demo-table tbody tr:hover {
  background: #f8fbff;
}

.demo-unit-cell {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
}

.demo-unit-thumb {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  color: #2563eb;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  font-size: 9px;
  font-weight: 900;
  flex-shrink: 0;
}

.demo-unit-thumb.has-photo {
  background: #0f172a;
}

.demo-unit-thumb.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-unit-cell b,
.demo-unit-cell span,
.demo-cell-stack b,
.demo-cell-stack span {
  display: block;
}

.demo-unit-cell b {
  overflow: hidden;
  color: #312e81;
  font-size: 10px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.demo-unit-cell span {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 8px;
  text-transform: uppercase;
}

.demo-plate {
  color: #334155;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.demo-cell-stack b {
  color: #334155;
  font-size: 9px;
}

.demo-cell-stack b.price {
  color: #047857;
}

.demo-cell-stack span {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 8px;
}

.demo-aging {
  color: #d97706 !important;
  font-weight: 800;
}

.demo-aging.high {
  color: #dc2626 !important;
}

.demo-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.demo-status.ready {
  color: #047857;
  background: #d1fae5;
}

.demo-status.booked {
  color: #b45309;
  background: #fef3c7;
}

.demo-status.sold {
  color: #1d4ed8;
  background: #dbeafe;
}

.demo-mobile-list {
  display: none;
}

.demo-empty-state {
  min-height: 230px;
  place-items: center;
  align-content: center;
  color: #94a3b8;
  text-align: center;
}

.demo-empty-state:not([hidden]) {
  display: grid;
}

.demo-empty-state > span {
  font-size: 30px;
}

.demo-empty-state b {
  margin-top: 8px;
  color: #334155;
  font-size: 13px;
}

.demo-empty-state p {
  margin: 4px 0 12px;
  font-size: 10px;
}

.demo-empty-state button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  color: #1d4ed8;
  background: #eff6ff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.demo-detail-backdrop {
  position: fixed;
  inset: 68px 0 0;
  z-index: 5;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(2px);
}

.demo-detail-panel {
  position: fixed;
  z-index: 6;
  top: 68px;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.2);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

.demo-detail-panel.is-open {
  transform: translateX(0);
}

/* —— Full-page unit detail (Mobix parity) —— */
/* Saat detail unit terbuka: sembunyikan list + filter sticky (bukan tembus di belakang) */
.inventory-demo.is-unit-detail-open .demo-layout {
  visibility: hidden;
  pointer-events: none;
}

.inventory-demo.is-unit-detail-open .demo-detail-backdrop {
  z-index: 40;
  inset: 68px 0 0;
  background: #f1f5f9;
  backdrop-filter: none;
}

.demo-detail-panel.ims-unit-detail {
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  z-index: 41;
  box-shadow: none;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  background: #f8fafc;
  /* Ruang luar agar tidak nempel tepi demo */
  padding: 0;
}

.demo-detail-panel.ims-unit-detail.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ims-ud-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: auto;
  margin: 12px 16px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.ims-ud-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}

.ims-ud-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
}

.ims-ud-breadcrumb strong {
  color: #4f46e5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ims-ud-bc-link {
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.ims-ud-bc-link:hover {
  color: #0f172a;
  text-decoration: underline;
}

.ims-ud-back {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.ims-ud-back:hover {
  background: #f1f5f9;
}

.ims-ud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #0f172a;
  color: #fff;
  flex-shrink: 0;
}

.ims-ud-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.ims-ud-plate {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ims-ud-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid #334155;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.ims-ud-mocil {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.ims-ud-mocil:hover {
  background: #3b82f6;
}

.ims-ud-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ims-ud-ghost-btn {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #1e293b;
  color: #e2e8f0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ims-ud-ghost-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.ims-ud-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #059669;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ims-ud-status.is-booked {
  background: #ea580c;
}

.ims-ud-status.is-sold {
  background: #2563eb;
}

.ims-ud-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid #cbd5e1;
  background: #f8fafc;
  overflow-x: auto;
  flex-shrink: 0;
}

.ims-ud-tabs button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.ims-ud-tabs button.active {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.ims-unit-detail .demo-detail-content.ims-ud-content {
  flex: 1;
  min-height: 0;
  padding: 0;
  background: #fff;
  overflow: auto;
}

.ims-ud-tab-panel {
  padding: 0 0 8px;
}

.ims-ud-tab-panel[data-ims-ud-panel="detail"] {
  /* konten tabel full-bleed di dalam card shell */
  padding-bottom: 12px;
}

.ims-ud-tab-panel[hidden] {
  display: none !important;
}

.ims-ud-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #cbd5e1;
}

.ims-ud-grid-2 > .ims-ud-section:first-child {
  border-right: 1px solid #cbd5e1;
}

.ims-ud-section {
  min-width: 0;
}

.ims-ud-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 8px 12px;
  border-bottom: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ims-ud-section-head-split em,
.ims-ud-section-head-dark em {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ims-ud-buy-aging {
  color: #dc2626;
  font-size: 11px;
}

.ims-ud-section-head-dark {
  background: #1e293b;
  color: #fff;
  border-bottom-color: #0f172a;
}

.ims-ud-section-head-dark em {
  color: #fcd34d;
  font-size: 11px;
}

.ims-ud-section-head-green {
  background: #047857;
  color: #fff;
  border-bottom-color: #065f46;
}

.ims-ud-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.ims-ud-table th,
.ims-ud-table td {
  padding: 7px 12px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
  text-align: left;
}

.ims-ud-table th {
  width: 38%;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
}

.ims-ud-table td.upper {
  text-transform: uppercase;
}

.ims-ud-table td.strong {
  font-weight: 700;
}

.ims-ud-table td.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.ims-ud-table td.muted {
  color: #64748b;
}

.ims-ud-table td.italic {
  font-style: italic;
}

.ims-ud-table td.price {
  color: #047857;
  font-weight: 700;
}

.ims-ud-table-wide th {
  width: 28%;
}

.ims-ud-table-recon thead th {
  width: auto;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
}

.ims-ud-table-recon .col-jenis {
  width: 90px;
}

.ims-ud-table-recon .col-est {
  width: 140px;
  text-align: right;
}

.ims-ud-table-recon td.right,
.ims-ud-table-profit td.right {
  text-align: right;
  font-weight: 700;
}

.ims-ud-est-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
}

.ims-ud-stock-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ims-ud-stock-badge.is-out {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.ims-ud-sales-grid {
  border-bottom: 2px solid #047857;
}

.ims-ud-table-sales th {
  background: #ecfdf5;
}

.ims-ud-table-profit th {
  background: #f0f9ff;
}

.ims-ud-table-profit td.buy-red {
  color: #dc2626;
}

.ims-ud-table-profit td.gp {
  color: #7c3aed;
  font-weight: 800;
}

.ims-ud-gp-row th,
.ims-ud-gp-row td {
  background: #0f172a !important;
  color: #fff !important;
  border-bottom: 0;
}

.ims-ud-footmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 14px 16px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ims-ud-footmeta em {
  font-style: normal;
  color: #64748b;
  font-weight: 700;
}

.ims-ud-media-empty {
  padding: 28px 20px 36px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.ims-ud-photo-hero {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #0f172a;
  max-width: 520px;
}

.ims-ud-photo-hero img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.ims-ud-photo-count {
  display: inline-flex;
  margin-top: 10px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 800;
}

.ims-ud-doc-list,
.ims-ud-history {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  max-width: 420px;
}

.ims-ud-doc-list li,
.ims-ud-history li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
  font-size: 12px;
}

.ims-ud-doc-list span {
  color: #94a3b8;
  font-weight: 700;
}

.ims-ud-doc-list b {
  color: #334155;
  font-weight: 700;
}

@media (max-width: 900px) {
  .ims-ud-shell {
    margin: 8px 10px 12px;
    border-radius: 10px;
  }

  .ims-ud-grid-2 {
    grid-template-columns: 1fr;
  }

  .ims-ud-grid-2 > .ims-ud-section:first-child {
    border-right: 0;
    border-bottom: 1px solid #cbd5e1;
  }

  .ims-ud-header {
    padding: 12px 14px;
  }

  .ims-ud-breadcrumb-bar {
    padding: 8px 14px;
  }

  .ims-ud-tabs {
    padding: 10px 14px;
  }
}

.demo-detail-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.demo-detail-header h3 {
  margin: 5px 0 0;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.demo-detail-header button,
.demo-guide-popover > button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 20px;
}

.demo-detail-content {
  flex: 1;
  overflow: auto;
  padding: 20px;
}

.demo-detail-car {
  position: relative;
  height: 145px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 30% 74%, #172236 0 12px, transparent 13px),
    radial-gradient(ellipse at 70% 74%, #172236 0 12px, transparent 13px),
    linear-gradient(12deg, transparent 0 18%, #cbd5e1 19% 38%, #fff 39% 58%, #dbeafe 59% 100%);
}

.demo-detail-car span {
  color: rgba(37, 99, 235, 0.34);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.demo-detail-car img[data-detail-photo] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.demo-detail-car.has-photo {
  background: #0f172a;
}

.demo-detail-car.has-photo span {
  display: none;
}

.demo-detail-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
}

.demo-detail-status-row > span:last-child {
  color: #475569;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.demo-detail-price {
  padding: 15px;
  border: 1px solid #d1fae5;
  border-radius: 11px;
  background: #f0fdf4;
}

.demo-detail-price small,
.demo-detail-price b,
.demo-detail-price span {
  display: block;
}

.demo-detail-price small {
  color: #64748b;
  font-size: 9px;
}

.demo-detail-price b {
  margin: 5px 0;
  color: #047857;
  font-size: 22px;
}

.demo-detail-price span {
  color: #64748b;
  font-size: 9px;
}

.demo-detail-features-block {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #f8fafc;
}

.demo-detail-features-block > span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.demo-detail-features-block ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-detail-features-block li {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
}

.demo-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  overflow: hidden;
}

.demo-detail-specs div {
  padding: 11px 13px;
  border-bottom: 1px solid #eef2f7;
}

.demo-detail-specs div:nth-child(odd) {
  border-right: 1px solid #eef2f7;
}

.demo-detail-specs div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.demo-detail-specs dt {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.demo-detail-specs dd {
  margin: 4px 0 0;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
}

.demo-detail-insight {
  padding: 13px;
  border: 1px solid #fde68a;
  border-radius: 11px;
  background: #fffbeb;
}

.demo-detail-insight span {
  color: #b45309;
}

.demo-detail-insight p {
  margin: 6px 0 0;
  color: #78350f;
  font-size: 10px;
  line-height: 1.55;
}

.demo-detail-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 9px;
  padding: 15px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.demo-detail-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: #94a3b8;
  font-size: 8px;
  text-align: center;
}

/* Spotlight cutout: hole tetap transparan (UI asli kelihatan), shadow besar = dim */
.demo-guide-spotlight {
  position: fixed;
  z-index: 49;
  pointer-events: none;
  border-radius: 12px;
  border: 2px solid #38bdf8;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.28),
    0 0 0 9999px rgba(15, 23, 42, 0.48);
  transition:
    top 0.18s ease,
    left 0.18s ease,
    width 0.18s ease,
    height 0.18s ease;
}

.demo-guide-spotlight[hidden] {
  display: none !important;
}

/* Target elemen juga dapat ring halus (scroll target / a11y) */
.ims-guide-highlight {
  border-radius: 10px;
  outline: 2px solid transparent;
  transition: outline 0.15s ease;
}

.demo-guide-popover {
  position: fixed;
  /* Di atas sticky filter (12), export menu (20), toast (9), detail panel (6), spotlight (49) */
  z-index: 51;
  top: 92px;
  right: 28px;
  width: min(320px, calc(100% - 24px));
  padding: 18px 18px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  pointer-events: auto;
}

/* Tooltip product-tour: biru seperti callout referensi (Mekari-style) */
.demo-guide-popover.demo-guide-tooltip {
  border: none;
  background: linear-gradient(160deg, #0ea5e9 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
  box-shadow:
    0 18px 50px rgba(37, 99, 235, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.12) inset;
}

.demo-guide-popover.demo-guide-tooltip > span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.demo-guide-popover.demo-guide-tooltip h3 {
  color: #fff;
}

.demo-guide-popover.demo-guide-tooltip p {
  color: rgba(255, 255, 255, 0.92);
}

.demo-guide-popover.demo-guide-tooltip > button[data-close-demo-guide],
.demo-guide-popover.demo-guide-tooltip > button[data-close-crm-guide],
.demo-guide-popover.demo-guide-tooltip > button[data-close-social-guide],
.demo-guide-popover.demo-guide-tooltip > button[data-close-omni-guide],
.demo-guide-popover.demo-guide-tooltip > button[data-close-dashboard-guide],
.demo-guide-popover.demo-guide-tooltip > button[data-close-insight-guide],
.demo-guide-popover.demo-guide-tooltip > button[data-close-capability-guide] {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.demo-guide-popover.demo-guide-tooltip > button[data-close-demo-guide]:hover,
.demo-guide-popover.demo-guide-tooltip > button[data-close-crm-guide]:hover,
.demo-guide-popover.demo-guide-tooltip > button[data-close-social-guide]:hover,
.demo-guide-popover.demo-guide-tooltip > button[data-close-omni-guide]:hover,
.demo-guide-popover.demo-guide-tooltip > button[data-close-dashboard-guide]:hover,
.demo-guide-popover.demo-guide-tooltip > button[data-close-insight-guide]:hover,
.demo-guide-popover.demo-guide-tooltip > button[data-close-capability-guide]:hover {
  background: rgba(255, 255, 255, 0.28);
}

.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-demo-guide-next],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-demo-guide-finish],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions .demo-guide-next,
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions .demo-guide-finish {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.demo-guide-popover.demo-guide-tooltip .demo-guide-actions [data-demo-guide-prev],
.demo-guide-popover.demo-guide-tooltip .demo-guide-actions .demo-guide-prev {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Saat langkah AI Falcon / anchored: popover diposisikan JS di samping area sorot */
.demo-guide-popover.is-falcon-anchor,
.demo-guide-popover.is-anchored {
  right: auto;
  pointer-events: auto;
}

/* Pastikan mockup iPhone tetap di atas konten workspace, di bawah popover panduan */
.falcon-demo-layout .iphone-frame {
  position: relative;
  z-index: 1;
}

/* Falcon punya entry demo mandiri, tetapi tetap memakai engine/data IMS yang sama. */
.inventory-demo.is-falcon-standalone .demo-sidebar,
.inventory-demo.is-falcon-standalone .ims-mobile-nav {
  display: none !important;
}

.inventory-demo.is-falcon-standalone .demo-layout {
  grid-template-columns: minmax(0, 1fr);
}

.inventory-demo.is-falcon-standalone .demo-workspace {
  width: 100%;
}

.demo-nav-section-connected {
  margin-top: 16px;
}

/* WhatsApp Broadcast — extension dari Social Growth, bukan klaim pengiriman live. */
.broadcast-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.broadcast-builder,
.broadcast-preview > div {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.broadcast-builder > header,
.broadcast-step {
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.broadcast-builder > header span,
.broadcast-summary > span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.broadcast-builder > header h3 {
  margin: 7px 0 5px;
  color: #0f172a;
  font-size: 20px;
}

.broadcast-builder > header p,
.broadcast-step-heading small,
.broadcast-phone > small {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.broadcast-step:last-child {
  border-bottom: 0;
}

.broadcast-step-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.broadcast-step-heading > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.broadcast-step-heading > div {
  display: grid;
}

.broadcast-step-heading b {
  color: #0f172a;
  font-size: 13px;
}

.broadcast-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.broadcast-segments button {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.broadcast-segments button.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px #2563eb;
}

.broadcast-segments b { font-size: 12px; }
.broadcast-segments span { color: #2563eb; font-size: 18px; font-weight: 900; }
.broadcast-segments small { color: #64748b; font-size: 10px; line-height: 1.35; }

.broadcast-template-field {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.broadcast-template-field span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.broadcast-template-field em {
  color: #059669;
  font-style: normal;
  font-weight: 700;
}

.broadcast-template-field textarea {
  width: 100%;
  resize: vertical;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  font: inherit;
  font-weight: 500;
  line-height: 1.55;
}

.broadcast-variable-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.broadcast-variable-row span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 9px;
  font-weight: 700;
}

.broadcast-schedule > div:last-of-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.broadcast-schedule label {
  display: grid;
  gap: 5px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.broadcast-schedule input {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font: inherit;
}

.broadcast-schedule > button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.broadcast-preview {
  display: grid;
  gap: 14px;
}

.broadcast-phone {
  overflow: hidden;
  background: #efeae2 !important;
}

.broadcast-phone > header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #075e54;
  color: #fff;
}

.broadcast-phone > header > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #075e54;
  font-size: 11px;
  font-weight: 900;
}

.broadcast-phone header div { display: grid; }
.broadcast-phone header b { font-size: 12px; }
.broadcast-phone header small { color: rgba(255,255,255,.72); font-size: 9px; }

.broadcast-bubble {
  margin: 28px 18px 10px;
  padding: 12px;
  border-radius: 11px 11px 2px 11px;
  background: #d9fdd3;
  color: #1f2937;
  font-size: 11px;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(15,23,42,.12);
}

.broadcast-phone > small {
  display: block;
  padding: 0 18px 22px;
}

.broadcast-summary {
  padding: 18px;
}

.broadcast-summary dl,
.broadcast-result ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 0;
}

.broadcast-summary dl div {
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
}

.broadcast-summary dt { color: #64748b; font-size: 9px; }
.broadcast-summary dd { margin: 3px 0 0; color: #0f172a; font-size: 17px; font-weight: 900; }

.broadcast-result {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.broadcast-result[hidden] { display: none !important; }
.broadcast-result b { color: #047857; font-size: 12px; }
.broadcast-result p { margin: 4px 0 0; color: #64748b; font-size: 10px; }
.broadcast-result ol { grid-template-columns: repeat(4, 1fr); padding: 0; list-style: none; }
.broadcast-result li { color: #64748b; font-size: 9px; text-align: center; }
.broadcast-result li span { display: block; color: #0f172a; font-size: 14px; font-weight: 900; }

@media (max-width: 980px) {
  .broadcast-demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .broadcast-segments { grid-template-columns: 1fr; }
  .broadcast-schedule > div:last-of-type { grid-template-columns: 1fr; }
}

/* WhatsApp Integration + Automation Control Center. */
.capability-layout {
  grid-template-columns: 236px minmax(0, 1fr);
}

.capability-workspace {
  background: #f8fafc;
}

.capability-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #047857;
  font-size: 10px;
  font-weight: 800;
}

.capability-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.capability-heading-actions > button {
  min-height: 34px;
  white-space: nowrap;
}

.capability-heading-actions > button[hidden] { display: none !important; }

.capability-live-badge i,
.automation-status-strip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.14);
}

.capability-view[hidden] { display: none !important; }

.capability-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.capability-kpis article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
}

.capability-kpis article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}

.capability-kpis article div { display: grid; gap: 2px; min-width: 0; }
.capability-kpis small { color: #64748b; font-size: 9px; }
.capability-kpis b { color: #0f172a; font-size: 13px; overflow-wrap: anywhere; }

.capability-grid {
  display: grid;
  gap: 14px;
}

.whatsapp-capability-grid {
  grid-template-columns: minmax(220px, .8fr) minmax(280px, 1fr) minmax(240px, .9fr);
}

.capability-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}

.capability-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.capability-panel > header div { display: grid; gap: 3px; }
.capability-panel > header span { color: #2563eb; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.capability-panel > header h3 { margin: 0; color: #0f172a; font-size: 14px; }
.capability-panel > header em { color: #059669; font-size: 9px; font-style: normal; font-weight: 800; }
.capability-panel > header button { border: 0; background: transparent; color: #2563eb; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }

.wa-integration-list,
.automation-rule-list {
  display: grid;
  padding: 10px;
}

.wa-integration-list button,
.automation-rule-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #0f172a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.wa-integration-list button.active,
.automation-rule-list button.active {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.wa-integration-list button > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #dcfce7;
  color: #047857;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.wa-integration-list button > span,
.automation-rule-list button > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.wa-integration-list b,
.automation-rule-list b { font-size: 11px; }
.wa-integration-list small,
.automation-rule-list small { color: #64748b; font-size: 9px; line-height: 1.35; }
.wa-integration-list em,
.automation-rule-list em { color: #059669; font-size: 8px; font-style: normal; font-weight: 800; }

.wa-role-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 12px;
}

.wa-role-identity > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #075e54;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.wa-role-identity div { display: grid; gap: 3px; }
.wa-role-identity b { color: #0f172a; font-size: 13px; }
.wa-role-identity small { color: #64748b; font-size: 10px; }

.wa-role-config dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 16px;
}

.wa-role-config dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #f1f5f9;
  font-size: 10px;
}

.wa-role-config dt { color: #64748b; }
.wa-role-config dd { margin: 0; color: #0f172a; font-weight: 700; }
.cap-status-ok { color: #047857; }

.wa-role-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 14px 16px;
}

.wa-role-actions button,
.automation-simulator > button {
  min-height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.capability-dependency-note {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  font-size: 9px;
  line-height: 1.5;
}

.capability-activity ol,
.automation-log-panel ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 14px 14px;
  list-style: none;
}

.capability-activity li,
.automation-log-panel li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 2px;
  border-bottom: 1px solid #f1f5f9;
}

.capability-activity time,
.automation-log-panel time { color: #94a3b8; font-size: 9px; }
.capability-activity li > span,
.automation-log-panel li > span { display: grid; gap: 2px; min-width: 0; }
.capability-activity b,
.automation-log-panel b { color: #0f172a; font-size: 10px; }
.capability-activity small,
.automation-log-panel small { color: #64748b; font-size: 9px; overflow-wrap: anywhere; }
.capability-activity li > i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.automation-log-panel li > em { color: #059669; font-size: 8px; font-style: normal; font-weight: 800; }

.automation-status-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #334155;
  font-size: 10px;
}

.automation-status-strip > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #047857; font-weight: 800; }
.automation-status-strip em { margin-left: auto; color: #92400e; font-style: normal; font-weight: 800; }

.automation-capability-grid {
  grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.2fr);
}

.automation-rule-list button > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #f1f5f9;
  color: #475569;
  font-size: 9px;
  font-weight: 900;
}

.automation-rule-list button.active > span { background: #dbeafe; color: #1d4ed8; }

.automation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 20px 16px;
}

.automation-flow div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
}

.automation-flow span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.automation-flow b { color: #334155; font-size: 9px; line-height: 1.35; }
.automation-flow i { position: absolute; top: 8px; right: -8px; color: #94a3b8; font-style: normal; }

.automation-simulator > button {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.automation-run-result {
  margin: 0 16px 16px;
  padding: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
}

.automation-run-result[hidden] { display: none !important; }
.automation-run-result b { color: #047857; font-size: 10px; }
.automation-run-result p { margin: 4px 0 0; color: #166534; font-size: 9px; line-height: 1.45; }

.automation-knowledge ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 16px 14px;
  list-style: none;
}

.automation-knowledge li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 10px;
}

.automation-knowledge li b { color: #0f172a; font-size: 9px; }
.automation-knowledge li b.roadmap { color: #92400e; }
.automation-log-panel li.empty { display: block; color: #94a3b8; font-size: 10px; }

@media (max-width: 1120px) {
  .whatsapp-capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-activity { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .capability-layout { grid-template-columns: 1fr; }
  .capability-sidebar { display: block; width: 100%; border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .capability-sidebar nav { display: flex; gap: 6px; overflow-x: auto; }
  .capability-sidebar .demo-nav-section,
  .capability-truth-note { display: none; }
  .capability-sidebar nav button { flex: 0 0 auto; }
  .capability-kpis { grid-template-columns: 1fr 1fr; }
  .whatsapp-capability-grid,
  .automation-capability-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .capability-heading-actions { justify-content: flex-start; width: 100%; }
  .capability-kpis { grid-template-columns: 1fr; }
  .automation-flow { grid-template-columns: 1fr 1fr; }
  .automation-flow i { display: none; }
}

.demo-guide-popover > button {
  position: absolute;
  top: 12px;
  right: 12px;
}

.demo-guide-popover h3 {
  margin: 9px 0 7px;
  font-size: 16px;
  padding-right: 22px;
}

.demo-guide-popover p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.demo-guide-popover > button:last-child {
  position: static;
  width: auto;
  height: 36px;
  padding: 0 14px;
  color: #fff;
  background: #2563eb;
  font-size: 10px;
  font-weight: 800;
}

.demo-toast {
  position: fixed;
  z-index: 9;
  right: 24px;
  bottom: 24px;
  width: min(340px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 34px 1fr 26px;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.2);
}

.demo-toast[hidden] {
  display: none;
}

.demo-toast > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #047857;
  background: #d1fae5;
  font-weight: 900;
}

.demo-toast b {
  font-size: 10px;
}

.demo-toast p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 9px;
}

.demo-toast > button {
  color: #94a3b8;
  background: transparent;
  font-size: 18px;
}

/* Autopilot CRM demo */
.crm-workspace {
  padding-bottom: 40px;
}

.crm-page-heading {
  align-items: center;
}

.crm-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.crm-heading-metric {
  min-width: 118px;
  padding: 8px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
}

.crm-heading-metric span,
.crm-heading-metric b {
  display: block;
}

.crm-heading-metric span {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.crm-heading-metric b {
  margin-top: 3px;
  color: #334155;
  font-size: 12px;
}

.crm-heading-metric.forecast {
  border-color: #c7d2fe;
  background: #eef2ff;
}

.crm-heading-metric.forecast b {
  color: #4338ca;
}

.crm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 14px;
}

.crm-kpi-grid article {
  min-height: 78px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
}

.crm-kpi-grid small,
.crm-kpi-grid b {
  display: block;
}

.crm-kpi-grid small {
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
}

.crm-kpi-grid b {
  margin-top: 4px;
  font-size: 20px;
}

.crm-kpi-grid em {
  grid-column: 1 / -1;
  margin-top: -6px;
  color: #94a3b8;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.crm-kpi-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
}

.crm-kpi-icon.indigo {
  color: #4f46e5;
  background: #eef2ff;
}

.crm-kpi-icon.amber {
  color: #d97706;
  background: #fffbeb;
}

.crm-kpi-icon.green {
  color: #059669;
  background: #ecfdf5;
}

.crm-kpi-icon.violet {
  color: #7c3aed;
  background: #f5f3ff;
}

.crm-pipeline-panel {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.crm-source-toolbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-bottom: 1px solid #eef2f7;
}

.crm-source-groups {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 8px;
  background: #f1f5f9;
}

.crm-source-groups button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.crm-source-groups button.active {
  color: #4338ca;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
}

.crm-search {
  min-height: 36px;
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #94a3b8;
}

.crm-search:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.13);
}

.crm-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #334155;
  background: transparent;
  font: inherit;
  font-size: 10px;
}

.crm-demo-safety {
  color: #059669;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.crm-stage-tabs {
  display: none;
}

.crm-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  background: #f8fafc;
}

.crm-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.crm-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px;
  border-bottom: 2px solid #cbd5e1;
  background: #fff;
}

.crm-column-head > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.crm-column-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
}

.crm-column-head b {
  color: #334155;
  font-size: 10px;
  text-transform: uppercase;
}

.crm-column-head em {
  padding: 2px 6px;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.crm-column-head > small {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 700;
}

.crm-column-head.warm {
  border-bottom-color: #f59e0b;
}

.crm-column-head.warm i {
  background: #f59e0b;
}

.crm-column-head.hot {
  border-bottom-color: #ef4444;
}

.crm-column-head.hot i {
  background: #ef4444;
}

.crm-column-head.prospect {
  border-bottom-color: #4f46e5;
}

.crm-column-head.prospect i {
  background: #4f46e5;
}

.crm-column-list {
  min-height: 274px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 8px;
}

.crm-lead-card {
  position: relative;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.crm-lead-card:hover,
.crm-lead-card:focus {
  border-color: #a5b4fc;
  outline: 0;
  box-shadow: 0 7px 18px rgba(79, 70, 229, 0.1);
  transform: translateY(-1px);
}

.crm-lead-card.featured {
  border-color: #818cf8;
  box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.12);
}

.crm-try-badge {
  position: absolute;
  top: -7px;
  right: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: #4f46e5;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.crm-lead-card-head,
.crm-lead-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.crm-lead-card h3 {
  margin: 0;
  overflow: hidden;
  color: #1e293b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-score {
  color: #4338ca;
  font-size: 9px;
  font-weight: 900;
}

.crm-lead-unit {
  min-height: 27px;
  margin: 7px 0;
  color: #64748b;
  font-size: 8px;
  line-height: 1.45;
}

.crm-lead-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid #f1f5f9;
}

.crm-lead-meta b {
  color: #334155;
  font-size: 9px;
}

.crm-source-badge,
.crm-stage-badge,
.crm-score-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-source-badge.whatsapp {
  color: #047857;
  background: #d1fae5;
}

.crm-source-badge.instagram {
  color: #be185d;
  background: #fce7f3;
}

.crm-source-badge.facebook {
  color: #1d4ed8;
  background: #dbeafe;
}

.crm-source-badge.excel_import,
.crm-source-badge.walk_in {
  color: #475569;
  background: #e2e8f0;
}

.crm-lead-card-footer {
  margin-top: 8px;
}

.crm-handler {
  max-width: 68%;
  overflow: hidden;
  color: #64748b;
  font-size: 7px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-stale {
  color: #94a3b8;
  font-size: 7px;
}

.crm-stale.high {
  color: #dc2626;
  font-weight: 900;
}

.crm-empty {
  min-height: 96px;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 9px;
  text-align: center;
}

.crm-closed-section {
  border-top: 1px solid #e2e8f0;
}

.crm-closed-section > button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 0;
  color: #475569;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.crm-closed-section > button > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-closed-section button i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #047857;
  background: #d1fae5;
  font-size: 9px;
  font-style: normal;
}

.crm-closed-section button b {
  font-size: 10px;
}

.crm-closed-section button em {
  color: #94a3b8;
  font-size: 8px;
  font-style: normal;
}

.crm-closed-list article {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid #eef2f7;
}

.crm-closed-list b,
.crm-closed-list small {
  display: block;
}

.crm-closed-list b,
.crm-closed-list strong {
  color: #334155;
  font-size: 9px;
}

.crm-closed-list small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 8px;
}

.crm-detail-panel {
  width: min(460px, 100%);
}

.crm-detail-header {
  min-height: 86px;
}

.crm-detail-header h3 {
  text-transform: none;
}

.crm-detail-header p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 9px;
}

.crm-detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.crm-stage-badge.cold {
  color: #475569;
  background: #e2e8f0;
}

.crm-stage-badge.warm {
  color: #b45309;
  background: #fef3c7;
}

.crm-stage-badge.hot {
  color: #b91c1c;
  background: #fee2e2;
}

.crm-stage-badge.prospect {
  color: #4338ca;
  background: #e0e7ff;
}

.crm-score-badge {
  color: #6d28d9;
  background: #ede9fe;
}

.crm-lead-overview {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.2fr;
  gap: 0;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.crm-lead-overview div {
  padding: 11px;
  border-right: 1px solid #eef2f7;
}

.crm-lead-overview div:last-child {
  border-right: 0;
}

.crm-lead-overview small,
.crm-lead-overview b {
  display: block;
}

.crm-lead-overview small {
  color: #94a3b8;
  font-size: 7px;
}

.crm-lead-overview b {
  margin-top: 4px;
  color: #334155;
  font-size: 9px;
}

.crm-ai-summary,
.crm-recommendation,
.crm-message-preview {
  margin-top: 12px;
  padding: 13px;
  border-radius: 11px;
}

.crm-ai-summary {
  border: 1px solid #c7d2fe;
  background: #eef2ff;
}

.crm-ai-summary > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4338ca;
}

.crm-ai-summary b {
  font-size: 9px;
}

.crm-ai-summary p,
.crm-recommendation p {
  margin: 7px 0 0;
  color: #475569;
  font-size: 9px;
  line-height: 1.6;
}

.crm-recommendation {
  border: 1px solid #fde68a;
  background: #fffbeb;
}

.crm-recommendation > span,
.crm-message-preview-head span {
  color: #b45309;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.crm-recommendation > b {
  display: block;
  margin-top: 6px;
  color: #78350f;
  font-size: 10px;
}

.crm-message-preview {
  border: 1px solid #a7f3d0;
  background: #f0fdf4;
}

.crm-message-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.crm-message-preview-head b {
  display: block;
  margin-top: 3px;
  color: #047857;
  font-size: 9px;
}

.crm-simulation-pill {
  padding: 4px 7px;
  border-radius: 999px;
  color: #047857 !important;
  background: #d1fae5;
}

.crm-message-bubble {
  margin: 11px 0 7px;
  padding: 10px 11px;
  border-radius: 10px 10px 2px 10px;
  color: #334155;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  font-size: 9px;
  line-height: 1.6;
}

.crm-message-preview > p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 8px;
}

.crm-message-preview .demo-primary-action {
  width: 100%;
}

.crm-timeline {
  margin-top: 16px;
}

.crm-timeline-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.crm-timeline-title b {
  font-size: 9px;
}

.crm-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.crm-timeline-item > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4338ca;
  background: #e0e7ff;
  font-size: 8px;
  font-weight: 900;
}

.crm-timeline-item b,
.crm-timeline-item small {
  display: block;
}

.crm-timeline-item b {
  color: #475569;
  font-size: 8px;
}

.crm-timeline-item small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 7px;
}

.crm-timeline-item > time {
  color: #94a3b8;
  font-size: 7px;
}

.crm-detail-footer {
  grid-template-columns: 0.8fr 1.5fr;
}

.crm-toast > span {
  color: #b91c1c;
  background: #fee2e2;
}

/* CRM multi-view + unit card + auto follow + guide */
.crm-guide-popover {
  z-index: 50;
}

.crm-guide-highlight,
.social-guide-highlight,
.omni-guide-highlight {
  /* Alias — highlight utama lewat .demo-guide-highlight + spotlight */
  border-radius: 10px;
  outline: 2px solid transparent;
  transition: outline 0.15s ease;
}

.crm-view[hidden] {
  display: none !important;
}

.crm-view.is-active {
  display: block;
}

.crm-intent-badge,
.crm-intent-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
}

.crm-unit-card {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef2ff 0%, #fff 48%);
}

.crm-unit-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.crm-unit-card-head span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #4338ca;
}

.crm-unit-card-head em {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
}

.crm-unit-card h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.crm-unit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 10px;
}

.crm-unit-specs,
.crm-unit-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.crm-unit-specs div,
.crm-unit-price-row div {
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.crm-unit-specs small,
.crm-unit-price-row small {
  display: block;
  color: #94a3b8;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.crm-unit-specs b,
.crm-unit-price-row b {
  display: block;
  margin-top: 2px;
  color: #0f172a;
  font-size: 11px;
}

.crm-unit-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.crm-unit-features span {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  color: #3730a3;
  background: #e0e7ff;
}

.crm-conversation-status {
  margin: 12px 0;
  padding: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.crm-section-label {
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.crm-conversation-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crm-handler-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: #6366f1;
}

.crm-handler-icon.human {
  background: #059669;
}

.crm-conversation-row b {
  display: block;
  font-size: 12px;
  color: #0f172a;
}

.crm-conversation-row small {
  color: #64748b;
  font-size: 10px;
}

.crm-customer-panel {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.crm-customer-search {
  max-width: 320px;
  margin-bottom: 12px;
}

.crm-customer-table-wrap {
  overflow: auto;
}

.crm-customer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.crm-customer-table th {
  text-align: left;
  padding: 8px 10px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.crm-customer-table td {
  padding: 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  color: #334155;
}

.crm-customer-table tr[data-lead-id] {
  cursor: pointer;
}

.crm-customer-table tr[data-lead-id]:hover {
  background: #eef2ff;
}

.crm-customer-table b {
  display: block;
  color: #0f172a;
}

.crm-muted {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 10px;
}

.crm-empty-cell {
  text-align: center;
  color: #94a3b8;
  padding: 24px !important;
}

.crm-af-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 14px;
}

.crm-af-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.crm-af-card {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.crm-af-card.is-active {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.06);
}

.crm-af-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.crm-af-type {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  color: #4338ca;
  background: #e0e7ff;
}

.crm-af-card h3 {
  margin: 0;
  font-size: 13px;
  color: #0f172a;
}

.crm-af-card-head em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.crm-af-card-head em.on {
  color: #047857;
  background: #d1fae5;
}

.crm-af-card-head em.off {
  color: #64748b;
  background: #f1f5f9;
}

.crm-af-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.crm-af-note {
  margin: 0;
  color: #94a3b8;
  font-size: 10px;
}

.crm-panduan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.crm-panduan-grid article {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.crm-panduan-grid article > span {
  display: inline-block;
  margin-bottom: 8px;
  color: #6366f1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.crm-panduan-grid h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #0f172a;
}

.crm-panduan-grid p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .crm-af-list,
  .crm-panduan-grid {
    grid-template-columns: 1fr;
  }
}

/* AI Omnichannel & Call Center demo */
.omni-workspace {
  padding-bottom: 32px;
}

.omni-page-heading {
  align-items: center;
}

.omni-page-heading p {
  max-width: 690px;
}

.omni-safe-mode {
  border-color: #a7f3d0;
  color: #047857;
  background: #ecfdf5;
}

.omni-difference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 12px;
}

.omni-difference-grid article {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
}

.omni-difference-grid b,
.omni-difference-grid p {
  display: block;
}

.omni-difference-grid b {
  color: #334155;
  font-size: 10px;
}

.omni-difference-grid p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 8px;
  line-height: 1.45;
}

.omni-difference-grid em {
  grid-column: 1 / -1;
  width: fit-content;
  margin-top: -5px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.omni-difference-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.omni-difference-icon.agentic {
  color: #6d28d9;
  background: #ede9fe;
}

.omni-difference-icon.grounded {
  color: #0369a1;
  background: #e0f2fe;
}

.omni-difference-icon.eval {
  color: #047857;
  background: #d1fae5;
}

.omni-difference-icon.secure {
  color: #b45309;
  background: #fef3c7;
}

.omni-lab {
  min-height: 485px;
  display: grid;
  grid-template-columns: 230px minmax(340px, 1fr) 292px;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.omni-lab-tabs {
  display: none;
}

.omni-inbox,
.omni-trace-panel {
  min-width: 0;
  background: #fff;
}

.omni-inbox {
  border-right: 1px solid #e2e8f0;
}

.omni-trace-panel {
  border-left: 1px solid #e2e8f0;
}

.omni-panel-head {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
}

.omni-panel-head b,
.omni-panel-head span {
  display: block;
}

.omni-panel-head b {
  color: #334155;
  font-size: 10px;
}

.omni-panel-head > div > span {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 8px;
}

.omni-live-pill,
.omni-eval-status {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
}

.omni-live-pill {
  color: #047857;
  background: #d1fae5;
}

.omni-live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

.omni-eval-status.pass {
  color: #047857;
  background: #d1fae5;
}

.omni-eval-status.blocked {
  color: #b91c1c;
  background: #fee2e2;
}

.omni-channel-filter {
  display: flex;
  gap: 3px;
  padding: 8px;
  border-bottom: 1px solid #eef2f7;
  overflow-x: auto;
}

.omni-channel-filter button {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.omni-channel-filter button.active {
  border-color: #c7d2fe;
  color: #4338ca;
  background: #eef2ff;
}

.omni-channel-filter button b {
  min-width: 15px;
  padding: 2px 4px;
  border-radius: 999px;
  color: inherit;
  background: rgba(148, 163, 184, 0.14);
  font-size: 7px;
}

.omni-contact-list {
  max-height: 390px;
  overflow: auto;
}

.omni-contact {
  width: 100%;
  min-height: 69px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  color: inherit;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.omni-contact:hover,
.omni-contact.active {
  background: #eef2ff;
}

.omni-contact.active {
  box-shadow: inset 3px 0 #4f46e5;
}

.omni-contact-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.omni-contact-avatar.whatsapp {
  background: linear-gradient(145deg, #10b981, #047857);
}

.omni-contact-avatar.instagram {
  background: linear-gradient(145deg, #ec4899, #7c3aed);
}

.omni-contact-avatar.messenger {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
}

.omni-contact-main {
  min-width: 0;
}

.omni-contact-main > span,
.omni-contact-main > small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.omni-contact-main > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.omni-contact-main b {
  overflow: hidden;
  color: #334155;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.omni-channel-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.omni-channel-dot.whatsapp {
  background: #10b981;
}

.omni-channel-dot.instagram {
  background: #ec4899;
}

.omni-channel-dot.messenger {
  background: #3b82f6;
}

.omni-contact-main small {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 7px;
}

.omni-contact > time {
  align-self: start;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 7px;
}

.omni-contact-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #94a3b8;
  font-size: 9px;
  text-align: center;
}

.omni-chat-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(210px, 1fr) auto auto;
  background: #f8fafc;
}

.omni-chat-head {
  min-height: 55px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.omni-chat-head b,
.omni-chat-head span {
  display: block;
}

.omni-chat-head b {
  color: #334155;
  font-size: 10px;
}

.omni-chat-head > div > span {
  margin-top: 3px;
  color: #64748b;
  font-size: 8px;
}

.omni-chat-head > div > span i {
  width: 5px;
  height: 5px;
  display: inline-block;
  border-radius: 50%;
  background: #10b981;
}

.omni-chat-head > button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #c7d2fe;
  border-radius: 7px;
  color: #4338ca;
  background: #eef2ff;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.omni-chat-head > button.taken {
  border-color: #bbf7d0;
  color: #047857;
  background: #ecfdf5;
}

.omni-chat-scroll {
  min-height: 210px;
  max-height: 285px;
  overflow: auto;
  padding: 16px;
  background:
    linear-gradient(rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.92)),
    radial-gradient(#cbd5e1 0.7px, transparent 0.7px);
  background-size: auto, 12px 12px;
}

.omni-message {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 10px;
}

.omni-message.customer {
  margin-left: auto;
}

.omni-message-bubble {
  padding: 9px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 12px 12px 12px 3px;
  color: #475569;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
  font-size: 9px;
  line-height: 1.55;
}

.omni-message.customer .omni-message-bubble {
  border-color: #4f46e5;
  border-radius: 12px 12px 3px 12px;
  color: #fff;
  background: #4f46e5;
}

.omni-message.blocked .omni-message-bubble {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.omni-message-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 0 3px;
  color: #94a3b8;
  font-size: 7px;
}

.omni-message.customer .omni-message-meta {
  justify-content: flex-end;
}

.omni-ai-badge {
  padding: 2px 5px;
  border-radius: 999px;
  color: #4338ca;
  background: #e0e7ff;
  font-weight: 900;
}

.omni-blocked-badge {
  padding: 2px 5px;
  border-radius: 999px;
  color: #b91c1c;
  background: #fee2e2;
  font-weight: 900;
}

.omni-scenario-strip {
  padding: 8px 11px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.omni-scenario-strip > span {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.omni-scenario-strip > div {
  display: flex;
  gap: 5px;
  overflow-x: auto;
}

.omni-scenario-strip button {
  min-height: 26px;
  flex: 0 0 auto;
  padding: 0 8px;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  color: #4338ca;
  background: #eef2ff;
  font: inherit;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.omni-scenario-strip button.danger {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}

.omni-composer {
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: end;
  gap: 8px;
  padding: 9px 11px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.omni-composer label {
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #f8fafc;
}

.omni-composer label:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.12);
}

.omni-composer textarea {
  width: 100%;
  min-height: 32px;
  display: block;
  resize: none;
  border: 0;
  outline: 0;
  color: #334155;
  background: transparent;
  font: inherit;
  font-size: 9px;
  line-height: 1.45;
}

.omni-composer label > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 7px;
}

.omni-composer label > span i {
  color: #059669;
  font-style: normal;
  font-weight: 900;
}

.omni-composer > button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #4f46e5;
  font-size: 15px;
  cursor: pointer;
}

.omni-trace-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
}

.omni-trace-summary div {
  min-width: 0;
  padding: 8px;
  border-right: 1px solid #eef2f7;
}

.omni-trace-summary div:last-child {
  border-right: 0;
}

.omni-trace-summary small,
.omni-trace-summary b {
  display: block;
}

.omni-trace-summary small {
  color: #94a3b8;
  font-size: 6px;
  text-transform: uppercase;
}

.omni-trace-summary b {
  margin-top: 4px;
  overflow: hidden;
  color: #334155;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.omni-reasoning-flow {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px 7px;
  padding: 3px 12px 11px;
}

.omni-reasoning-flow > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4338ca;
  background: #e0e7ff;
  font-size: 7px;
  font-weight: 900;
}

.omni-reasoning-flow b,
.omni-reasoning-flow p {
  display: block;
}

.omni-reasoning-flow b {
  color: #475569;
  font-size: 8px;
}

.omni-reasoning-flow p {
  margin: 3px 0 0;
  color: #94a3b8;
  font-size: 7px;
  line-height: 1.45;
}

.omni-eval-card {
  margin: 0 10px 10px;
  padding: 11px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  background: #eef2ff;
}

.omni-eval-card > div span,
.omni-eval-card > div b {
  display: block;
}

.omni-eval-card > div span {
  color: #6366f1;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.omni-eval-card > div b {
  margin-top: 4px;
  color: #312e81;
  font-size: 9px;
}

.omni-eval-card ul {
  display: grid;
  gap: 6px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.omni-eval-card li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 7px;
}

.omni-eval-card li span {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 7px;
  font-weight: 900;
}

.omni-eval-card li.pass span {
  color: #047857;
  background: #d1fae5;
}

.omni-eval-card li.blocked span {
  color: #b91c1c;
  background: #fee2e2;
}

.omni-sandbox-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 10px 10px;
  padding: 10px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: #ecfdf5;
}

.omni-sandbox-note > span {
  font-size: 14px;
}

.omni-sandbox-note b {
  color: #047857;
  font-size: 8px;
}

.omni-sandbox-note p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 7px;
  line-height: 1.45;
}

.omni-toast {
  border-color: #fecaca;
}

.omni-toast > span {
  color: #b91c1c;
  background: #fee2e2;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .nav {
    gap: 24px;
  }

  .hero-grid,
  .ai-grid,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .trend-main-grid,
  .trend-bottom-grid {
    grid-template-columns: 1fr;
  }

  .partner-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-sidebar {
    display: none;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .ims-mobile-nav {
    display: flex;
  }

  .ims-upload-steps,
  .ims-upload-meta {
    grid-template-columns: 1fr;
  }

  .demo-stat {
    grid-template-columns: 36px 1fr;
  }

  .demo-stat em {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 36px, 760px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .mobile-nav-trigger {
    display: grid;
  }

  .mobile-nav-panel,
  .mobile-nav-backdrop {
    display: block;
  }

  .advantages-layout {
    grid-template-columns: 1fr;
  }

  .advantages-intro {
    max-width: 720px;
  }

  .hero {
    padding-top: 42px;
  }

  .trend-topbar {
    flex-direction: column;
  }

  .trend-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-dashboard {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .kpi-row,
  .feature-grid,
  .benefit-grid,
  .result-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-grid,
  .bottom-dash-grid {
    grid-template-columns: 1fr;
  }

  .partner-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-topbar {
    padding: 0 16px;
  }

  .demo-reset-button {
    display: none;
  }

  .demo-workspace {
    padding: 20px;
  }

  .demo-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ims-adv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ims-units-table-wrap {
    max-height: none;
  }

  .demo-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .demo-search {
    grid-column: 1 / -1;
  }

  .demo-table {
    min-width: 980px;
  }

  .crm-page-heading {
    align-items: flex-start;
  }

  .crm-heading-actions {
    flex-wrap: wrap;
  }

  .crm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-source-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .crm-demo-safety {
    grid-column: 1 / -1;
  }

  .crm-stage-tabs {
    display: flex;
    gap: 5px;
    padding: 10px 12px 0;
    overflow-x: auto;
    background: #f8fafc;
  }

  .crm-stage-tabs button {
    flex: 1 0 auto;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    color: #64748b;
    background: #fff;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
  }

  .crm-stage-tabs button.active {
    border-color: #a5b4fc;
    color: #4338ca;
    background: #eef2ff;
  }

  .crm-kanban {
    display: block;
  }

  .crm-column {
    display: none;
  }

  .crm-column.is-mobile-active {
    display: flex;
  }

  .omni-page-heading {
    align-items: flex-start;
  }

  .omni-difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .omni-lab {
    display: block;
  }

  .omni-lab-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 7px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
  }

  .omni-lab-tabs button {
    min-height: 32px;
    border: 0;
    border-radius: 7px;
    color: #64748b;
    background: transparent;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
  }

  .omni-lab-tabs button.active {
    color: #4338ca;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }

  .omni-inbox {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .omni-inbox .omni-panel-head {
    display: none;
  }

  .omni-contact-list {
    max-height: none;
    display: flex;
    overflow-x: auto;
  }

  .omni-contact {
    min-width: 190px;
    border-right: 1px solid #f1f5f9;
    border-bottom: 0;
  }

  .omni-chat-panel,
  .omni-trace-panel {
    display: none;
  }

  .omni-chat-panel.is-mobile-active {
    display: grid;
  }

  .omni-trace-panel.is-mobile-active {
    display: block;
    border-left: 0;
  }

  .omni-chat-scroll {
    max-height: 330px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 520px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .mobile-nav-panel {
    top: 68px;
    width: 100%;
    padding: 18px;
    border-left: 0;
  }

  .mobile-nav-backdrop {
    inset: 68px 0 0;
  }

  .brand {
    font-size: 23px;
  }

  .header-cta {
    display: none;
  }

  .mobile-solutions-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-actions,
  .social-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .positioning-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .positioning-proof span {
    justify-content: center;
  }

  .trend-mockup {
    padding: 14px;
    border-radius: 16px;
  }

  .trend-stat-grid,
  .trend-summary,
  .inventory-meta,
  .conversion-flow {
    grid-template-columns: 1fr;
  }

  .trend-stat {
    grid-template-columns: 38px 1fr;
  }

  .trend-stat em {
    grid-column: 2;
    width: fit-content;
  }

  .conversion-flow i {
    justify-self: center;
  }

  .dash-main {
    padding: 18px;
  }

  .dash-top,
  .donut-wrap,
  .unit-card,
  .calendar-mock {
    grid-template-columns: 1fr;
    display: grid;
  }

  .dash-controls {
    display: none;
  }

  .kpi-row,
  .feature-grid,
  .partner-strip,
  .benefit-grid,
  .result-grid,
  .workflow-grid,
  .advantages-grid,
  .footer-grid,
  .micro-dashboard {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 250px;
  }

  .advantages-grid article {
    min-height: 184px;
  }

  .funnel-panel {
    grid-template-columns: 1fr;
  }

  .source-list {
    width: 100%;
  }

  .insight-card-visual {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
  }

  .insight-card-visual .donut.small {
    width: 88px;
  }

  .ai-banner {
    padding: 28px;
    min-height: 430px;
  }

  .ai-orb {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 34px;
    transform: translateX(-50%);
  }

  .feature-card-topline {
    align-items: center;
  }

  .demo-topbar {
    min-height: 64px;
  }

  .demo-brand-wrap {
    gap: 9px;
  }

  .demo-brand {
    font-size: 17px;
  }

  .demo-divider,
  .demo-brand-wrap > div {
    display: none;
  }

  .demo-mode {
    max-width: 138px;
    min-height: 29px;
    overflow: hidden;
    padding: 0 9px;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .demo-close-button {
    width: 33px;
    height: 33px;
  }

  .demo-layout {
    /* tinggi mengikuti flex parent (.demo-app), bukan calc topbar tetap */
    height: auto;
    min-height: 0;
  }

  .demo-workspace {
    padding: 16px 14px 22px;
  }

  .demo-page-heading {
    align-items: flex-start;
  }

  .demo-page-heading .demo-primary-action {
    min-width: 40px;
    width: 40px;
    overflow: hidden;
    padding: 0;
    font-size: 0;
    white-space: nowrap;
  }

  .demo-page-heading .demo-primary-action span {
    width: 0;
    height: 0;
    display: block;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
    margin-left: 0;
    font-size: 0;
  }

  .demo-page-heading h2 {
    font-size: 21px;
  }

  .demo-page-heading p {
    max-width: 290px;
    font-size: 10px;
  }

  .demo-stat-grid {
    gap: 8px;
    margin-top: 16px;
  }

  .demo-stat {
    min-height: 68px;
    padding: 10px;
  }

  .demo-stat-icon {
    width: 34px;
    height: 34px;
  }

  .demo-stat b {
    font-size: 17px;
  }

  .demo-toolbar {
    grid-template-columns: 1fr;
    padding: 11px;
  }

  .ims-units-topbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ims-adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ims-filter-main {
    gap: 6px;
  }

  .ims-units-search {
    flex: 1 1 100%;
  }

  .ims-branch-popover {
    flex: 1 1 auto;
  }

  .ims-branch-btn {
    width: 100%;
    justify-content: space-between;
  }

  .demo-search {
    grid-column: auto;
  }

  .demo-filter-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-filter-pills {
    width: 100%;
    overflow-x: auto;
  }

  .demo-filter-pills button {
    flex: 0 0 auto;
  }

  .demo-table {
    display: none;
  }

  .demo-mobile-list {
    display: grid;
    gap: 9px;
    padding: 10px;
  }

  .demo-mobile-card {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }

  .demo-mobile-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .demo-mobile-card h3 {
    margin: 0;
    color: #312e81;
    font-size: 11px;
    text-transform: uppercase;
  }

  .demo-mobile-card .demo-plate {
    display: block;
    margin-top: 5px;
  }

  .demo-mobile-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
  }

  .demo-mobile-card-meta small,
  .demo-mobile-card-meta b {
    display: block;
  }

  .demo-mobile-card-meta small {
    color: #94a3b8;
    font-size: 8px;
  }

  .demo-mobile-card-meta b {
    margin-top: 4px;
    color: #334155;
    font-size: 9px;
  }

  .demo-detail-backdrop {
    inset: 64px 0 0;
  }

  .demo-detail-panel {
    top: 64px;
  }

  .demo-detail-car {
    height: 115px;
  }

  .demo-guide-popover {
    top: 78px;
    right: 14px;
  }

  .demo-toast {
    right: 16px;
    bottom: 16px;
  }

  .crm-page-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .crm-heading-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    justify-content: stretch;
  }

  .crm-heading-metric {
    min-width: 0;
  }

  .crm-heading-actions .demo-primary-action {
    justify-self: end;
  }

  .crm-kpi-grid {
    gap: 8px;
    margin-top: 14px;
  }

  .crm-kpi-grid article {
    min-height: 68px;
    grid-template-columns: 32px 1fr;
    gap: 8px;
    padding: 9px;
  }

  .crm-kpi-grid b {
    font-size: 17px;
  }

  .crm-kpi-icon {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .crm-source-toolbar {
    grid-template-columns: 1fr;
  }

  .crm-source-groups {
    overflow-x: auto;
  }

  .crm-source-groups button {
    flex: 1 0 auto;
  }

  .crm-demo-safety {
    grid-column: auto;
  }

  .crm-column-list {
    min-height: 230px;
  }

  .crm-closed-section button em {
    display: none;
  }

  .crm-closed-list article {
    grid-template-columns: 68px 1fr;
  }

  .crm-closed-list strong {
    grid-column: 2;
  }

  .crm-lead-overview {
    grid-template-columns: 1fr 1fr;
  }

  .crm-lead-overview div:nth-child(2) {
    border-right: 0;
  }

  .crm-lead-overview div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid #eef2f7;
  }

  .crm-detail-footer {
    grid-template-columns: 0.8fr 1.5fr;
  }

  .omni-difference-grid {
    gap: 7px;
    margin-top: 14px;
  }

  .omni-difference-grid article {
    min-height: 91px;
    grid-template-columns: 32px 1fr;
    gap: 7px;
    padding: 9px;
  }

  .omni-difference-grid p {
    font-size: 7px;
  }

  .omni-difference-icon {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .omni-channel-filter {
    padding: 7px;
  }

  .omni-contact {
    min-width: 172px;
  }

  .omni-chat-head {
    grid-template-columns: 32px 1fr auto;
  }

  .omni-chat-head > button {
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .omni-chat-scroll {
    min-height: 240px;
    max-height: 300px;
    padding: 12px;
  }

  .omni-message {
    max-width: 90%;
  }

  .omni-composer {
    grid-template-columns: 1fr 36px;
  }

  .omni-composer > button {
    width: 36px;
    height: 36px;
  }

  .omni-guide-popover {
    top: 78px;
  }
}

/* One Dashboard interactive product demo */
.dashboard-feature-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(79, 70, 229, 0.09), transparent 28%),
    linear-gradient(180deg, #fff, #fbfdff);
}

.dashboard-flex-mode {
  border-color: #c7d2fe;
  color: #4338ca;
  background: #eef2ff;
}

.dashboard-flex-mode i {
  background: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.dashboard-sidebar nav button:first-of-type .demo-nav-icon {
  fill: currentColor;
  stroke: none;
}

.dashboard-sidebar-tip {
  border-color: #c7d2fe;
  background:
    radial-gradient(circle at 100% 0, rgba(99, 102, 241, 0.16), transparent 48%),
    linear-gradient(145deg, #eef2ff, #f8fbff);
}

.dashboard-sidebar-tip span,
.dashboard-sidebar-tip b {
  color: #4338ca;
}

.dashboard-sidebar-tip button {
  margin-top: 11px;
  padding: 0;
  border: 0;
  color: #4338ca;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-workspace {
  position: relative;
  background:
    linear-gradient(rgba(248, 250, 252, 0.94), rgba(248, 250, 252, 0.94)),
    radial-gradient(circle at 20% 0, #c7d2fe, transparent 28%);
}

.dashboard-page-heading {
  align-items: center;
}

.dashboard-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dashboard-branch-select {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
}

.dashboard-branch-select span {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-branch-select select {
  max-width: 118px;
  border: 0;
  outline: 0;
  color: #334155;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
}

.dashboard-period-switch {
  display: flex;
  padding: 3px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
}

.dashboard-period-switch button {
  min-width: 36px;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  color: #94a3b8;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-period-switch button.active {
  color: #4338ca;
  background: #eef2ff;
}

.dashboard-customize-button {
  white-space: nowrap;
}

.dashboard-customize-button span {
  margin-right: 5px;
}

.dashboard-personalization-banner {
  min-height: 49px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid #c7d2fe;
  border-radius: 11px;
  color: #3730a3;
  background:
    radial-gradient(circle at 80% -60%, rgba(99, 102, 241, 0.24), transparent 28%),
    linear-gradient(90deg, #eef2ff, #f8faff);
}

.dashboard-banner-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #4f46e5, #7c3aed);
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.24);
}

.dashboard-personalization-banner b,
.dashboard-personalization-banner p {
  display: block;
}

.dashboard-personalization-banner b {
  font-size: 10px;
}

.dashboard-personalization-banner p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 8px;
}

.dashboard-personalization-banner button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #a5b4fc;
  border-radius: 7px;
  color: #4338ca;
  background: #fff;
  font: inherit;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 10px;
}

.dashboard-kpi-card {
  min-width: 0;
  padding: 13px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.035);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dashboard-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.dashboard-kpi-card > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-kpi-card > span i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 9px;
  font-style: normal;
}

.dashboard-kpi-card b {
  display: block;
  margin: 10px 0 5px;
  color: #0f172a;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.dashboard-kpi-card small {
  color: #94a3b8;
  font-size: 7px;
}

.dashboard-kpi-card small em {
  margin-right: 4px;
  color: #059669;
  font-style: normal;
  font-weight: 900;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.8fr);
  gap: 10px;
}

.dashboard-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.03);
}

.dashboard-panel[hidden],
.dashboard-kpi-grid[hidden] {
  display: none;
}

.dashboard-panel > header {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid #f1f5f9;
}

.dashboard-panel header span,
.dashboard-panel header h3 {
  display: block;
}

.dashboard-panel header span {
  color: #6366f1;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dashboard-panel header h3 {
  margin: 3px 0 0;
  color: #1e293b;
  font-size: 10px;
}

.dashboard-panel header em,
.dashboard-panel header button {
  color: #64748b;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.dashboard-panel header button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dashboard-legend {
  display: flex;
  gap: 9px;
}

.dashboard-legend span {
  display: flex !important;
  align-items: center;
  gap: 4px;
  color: #94a3b8 !important;
  font-size: 7px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.dashboard-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #4f46e5;
}

.dashboard-legend i.forecast {
  background: #c7d2fe;
}

.dashboard-revenue-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 14px 0;
}

.dashboard-revenue-total b {
  color: #0f172a;
  font-size: 17px;
}

.dashboard-revenue-total span {
  color: #059669;
  font-size: 7px;
  font-weight: 800;
}

.dashboard-bar-chart {
  height: 129px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 20px 14px 11px;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 32px, #f1f5f9 33px);
}

.dashboard-bar-item {
  min-width: 0;
  height: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  position: relative;
}

.dashboard-bar-item i {
  width: min(12px, 38%);
  display: block;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #6366f1, #4338ca);
}

.dashboard-bar-item i.forecast {
  background: repeating-linear-gradient(135deg, #c7d2fe, #c7d2fe 3px, #e0e7ff 3px, #e0e7ff 6px);
}

.dashboard-bar-item small {
  position: absolute;
  bottom: -11px;
  left: 50%;
  color: #94a3b8;
  font-size: 6px;
  transform: translateX(-50%);
}

.dashboard-funnel-panel {
  grid-row: span 1;
}

.dashboard-funnel {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.dashboard-funnel-row {
  display: grid;
  grid-template-columns: 57px 1fr 26px;
  align-items: center;
  gap: 6px;
}

.dashboard-funnel-row span,
.dashboard-funnel-row b {
  font-size: 7px;
}

.dashboard-funnel-row span {
  color: #64748b;
}

.dashboard-funnel-row b {
  color: #334155;
  text-align: right;
}

.dashboard-funnel-track {
  height: 15px;
  overflow: hidden;
  border-radius: 5px;
  background: #f1f5f9;
}

.dashboard-funnel-track i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #818cf8, #4f46e5);
}

.dashboard-branch-panel {
  grid-column: 1;
}

.dashboard-table-wrap {
  overflow-x: auto;
}

.dashboard-branch-panel table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-branch-panel th,
.dashboard-branch-panel td {
  padding: 8px 13px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  font-size: 7px;
  text-align: left;
  white-space: nowrap;
}

.dashboard-branch-panel th {
  color: #94a3b8;
  background: #fafbfc;
  font-size: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-branch-panel td:first-child {
  color: #1e293b;
  font-weight: 800;
}

.dashboard-target-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dashboard-target-cell i {
  width: 44px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.dashboard-target-cell i::after {
  width: var(--progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #22c55e;
  content: "";
}

.dashboard-agents-panel {
  grid-column: 2;
}

.dashboard-channels-panel {
  grid-column: 1 / -1;
}

.dashboard-channel-list {
  display: grid;
  gap: 0;
  padding: 5px 12px 9px;
}

.dashboard-channel {
  display: grid;
  grid-template-columns: 18px 25px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
}

.dashboard-channel:last-child {
  border-bottom: 0;
}

.dashboard-channel > span:first-child {
  color: #94a3b8;
  font-size: 7px;
  font-weight: 900;
  text-align: center;
}

.dashboard-channel-avatar {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #4338ca;
  background: #e0e7ff;
  font-size: 7px;
  font-weight: 900;
}

.dashboard-channel b,
.dashboard-channel small {
  display: block;
}

.dashboard-channel b {
  color: #334155;
  font-size: 8px;
}

.dashboard-channel small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.dashboard-channel-bar {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.dashboard-channel-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share, 40%);
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #2563eb);
}

.dashboard-channel strong {
  color: #059669;
  font-size: 8px;
}

.dashboard-sidebar nav button[data-dashboard-nav] {
  cursor: pointer;
}

.dashboard-content-grid:has(.dashboard-channels-panel:not([hidden])) .dashboard-funnel-panel {
  grid-column: 1 / -1;
}

.dashboard-agent-list {
  display: grid;
  padding: 5px 12px 9px;
}

.dashboard-agent {
  display: grid;
  grid-template-columns: 18px 25px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
}

.dashboard-agent:last-child {
  border-bottom: 0;
}

.dashboard-agent > span:first-child {
  color: #94a3b8;
  font-size: 7px;
  font-weight: 900;
  text-align: center;
}

.dashboard-agent-avatar {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #4338ca;
  background: #e0e7ff;
  font-size: 7px;
  font-weight: 900;
}

.dashboard-agent b,
.dashboard-agent small {
  display: block;
}

.dashboard-agent b {
  color: #334155;
  font-size: 8px;
}

.dashboard-agent small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.dashboard-agent strong {
  color: #059669;
  font-size: 8px;
}

.dashboard-alert-panel {
  grid-column: 1 / -1;
}

.dashboard-content-grid:has(.dashboard-revenue-panel[hidden]) .dashboard-funnel-panel,
.dashboard-content-grid:has(.dashboard-funnel-panel[hidden]) .dashboard-revenue-panel,
.dashboard-content-grid:has(.dashboard-branch-panel[hidden]) .dashboard-agents-panel,
.dashboard-content-grid:has(.dashboard-agents-panel[hidden]) .dashboard-branch-panel {
  grid-column: 1 / -1;
}

.dashboard-content-grid:has(.dashboard-branch-panel[hidden]) .dashboard-agent-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.dashboard-kpi-grid[hidden] + .dashboard-content-grid {
  margin-top: 14px;
}

.dashboard-alert-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px 12px;
}

.dashboard-alert-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 8px;
  padding: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fafcff;
}

.dashboard-alert-item > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #b45309;
  background: #fef3c7;
  font-size: 9px;
  font-weight: 900;
}

.dashboard-alert-item.positive > span {
  color: #047857;
  background: #d1fae5;
}

.dashboard-alert-item.info > span {
  color: #1d4ed8;
  background: #dbeafe;
}

.dashboard-alert-item b,
.dashboard-alert-item p {
  display: block;
}

.dashboard-alert-item b {
  color: #334155;
  font-size: 8px;
}

.dashboard-alert-item p {
  margin: 3px 0 0;
  color: #94a3b8;
  font-size: 7px;
  line-height: 1.45;
}

.dashboard-customizer {
  position: fixed;
  z-index: 8;
  top: 68px;
  right: 0;
  bottom: 0;
  width: min(360px, 92vw);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

.dashboard-customizer.is-open {
  transform: translateX(0);
}

.dashboard-customizer > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
  background:
    radial-gradient(circle at 100% 0, rgba(99, 102, 241, 0.14), transparent 48%),
    #fff;
}

.dashboard-customizer header span {
  color: #6366f1;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dashboard-customizer header h3 {
  margin: 6px 0 4px;
  color: #172033;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.dashboard-customizer header p {
  max-width: 260px;
  margin: 0;
  color: #64748b;
  font-size: 9px;
  line-height: 1.5;
}

.dashboard-customizer header button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  color: #64748b;
  background: #f1f5f9;
  font: inherit;
  font-size: 21px;
  cursor: pointer;
}

.dashboard-customizer-scroll {
  overflow-y: auto;
  padding: 18px 20px;
}

.dashboard-customizer fieldset {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.dashboard-customizer legend {
  margin-bottom: 9px;
  color: #334155;
  font-size: 10px;
  font-weight: 900;
}

.dashboard-role-options,
.dashboard-widget-options {
  display: grid;
  gap: 7px;
}

.dashboard-role-options button {
  min-height: 52px;
  display: grid;
  grid-template-columns: 31px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dashboard-role-options button > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 8px;
  font-weight: 900;
}

.dashboard-role-options button b,
.dashboard-role-options button small {
  display: block;
}

.dashboard-role-options button b {
  color: #334155;
  font-size: 9px;
}

.dashboard-role-options button small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 7px;
}

.dashboard-role-options button i {
  display: none;
  color: #4f46e5;
  font-size: 11px;
  font-style: normal;
}

.dashboard-role-options button.active {
  border-color: #818cf8;
  background: #f5f7ff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.dashboard-role-options button.active > span {
  color: #4338ca;
  background: #e0e7ff;
}

.dashboard-role-options button.active i {
  display: block;
}

.dashboard-widget-options label {
  min-height: 45px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  cursor: pointer;
}

.dashboard-widget-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dashboard-widget-options label > span {
  position: relative;
  width: 29px;
  height: 17px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 180ms ease;
}

.dashboard-widget-options label > span i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.24);
  transition: transform 180ms ease;
}

.dashboard-widget-options input:checked + span {
  background: #4f46e5;
}

.dashboard-widget-options input:checked + span i {
  transform: translateX(12px);
}

.dashboard-widget-options label > div b,
.dashboard-widget-options label > div small {
  display: block;
}

.dashboard-widget-options label > div b {
  color: #334155;
  font-size: 9px;
}

.dashboard-widget-options label > div small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 7px;
}

.dashboard-customizer > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.dashboard-customizer footer small {
  color: #64748b;
  font-size: 8px;
}

.dashboard-customizer footer small span {
  margin-right: 4px;
  color: #22c55e;
}

.dashboard-customizer footer button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #4f46e5;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
  cursor: pointer;
}

.dashboard-customizer-backdrop {
  position: fixed;
  z-index: 7;
  inset: 68px 0 0;
  border: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(1px);
}

/* One Dashboard — industry badge, onboarding, highlight editors */
.dashboard-industry-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-change-business {
  border-color: #c7d2fe !important;
  color: #4338ca !important;
  background: #eef2ff !important;
}

.dashboard-onboarding {
  position: absolute;
  z-index: 6;
  inset: 68px 0 0;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  overflow: auto;
  background:
    radial-gradient(circle at 20% 0, rgba(99, 102, 241, 0.14), transparent 32%),
    radial-gradient(circle at 90% 100%, rgba(37, 99, 235, 0.08), transparent 28%),
    rgba(248, 250, 252, 0.98);
}

.dashboard-onboarding[hidden] {
  display: none !important;
}

.dashboard-onboarding-card {
  width: min(860px, 100%);
  padding: 22px 22px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.dashboard-onboarding-card > header span {
  color: #6366f1;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dashboard-onboarding-card > header h2 {
  margin: 8px 0 6px;
  color: #0f172a;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.dashboard-onboarding-card > header p {
  max-width: 620px;
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}

.dashboard-vertical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 14px;
}

.dashboard-vertical-card {
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: inherit;
  background: linear-gradient(180deg, #fff, #f8fafc);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-vertical-card:hover {
  border-color: #a5b4fc;
  transform: translateY(-1px);
}

.dashboard-vertical-card.active {
  border-color: #818cf8;
  background: #f5f7ff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.dashboard-vertical-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #4338ca;
  background: #e0e7ff;
  font-size: 9px;
  font-weight: 900;
}

.dashboard-vertical-card b {
  color: #1e293b;
  font-size: 11px;
}

.dashboard-vertical-card small {
  color: #94a3b8;
  font-size: 8px;
  line-height: 1.4;
}

.dashboard-business-desc {
  display: grid;
  gap: 6px;
}

.dashboard-business-desc > span {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
}

.dashboard-business-desc > span em {
  color: #94a3b8;
  font-style: normal;
  font-weight: 600;
}

.dashboard-business-desc textarea {
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  color: #334155;
  background: #fff;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
  resize: vertical;
}

.dashboard-business-desc textarea:focus {
  outline: 0;
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.dashboard-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.dashboard-onboarding-skip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  color: #475569;
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-onboarding-generate {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22);
  cursor: pointer;
}

.dashboard-onboarding-generate span {
  margin-left: 4px;
}

.dashboard-highlight-fieldset {
  margin-top: 4px;
}

.dashboard-highlight-hint {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 8px;
  line-height: 1.45;
}

.dashboard-highlight-editors {
  display: grid;
  gap: 10px;
}

.dashboard-highlight-editor {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.dashboard-highlight-editor-top {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
}

.dashboard-highlight-editor label {
  display: grid;
  gap: 4px;
}

.dashboard-highlight-editor label > span {
  color: #94a3b8;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-highlight-editor input,
.dashboard-highlight-editor select,
.dashboard-highlight-editor textarea {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  color: #334155;
  background: #fff;
  font: inherit;
  font-size: 9px;
}

.dashboard-highlight-editor textarea {
  resize: vertical;
  min-height: 48px;
  line-height: 1.4;
}

.dashboard-highlight-reset {
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: #4338ca;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

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

  .dashboard-highlight-editor-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dashboard-vertical-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-onboarding-card {
    padding: 16px;
  }

  .dashboard-onboarding-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

.dashboard-toast > span {
  color: #4338ca;
  background: #e0e7ff;
}

@media (max-width: 1180px) {
  .dashboard-heading-actions {
    flex-wrap: wrap;
  }

  .dashboard-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-revenue-panel,
  .dashboard-branch-panel,
  .dashboard-alert-panel {
    grid-column: 1 / -1;
  }

  .dashboard-funnel-panel,
  .dashboard-agents-panel {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .dashboard-product-demo .demo-brand-wrap > div,
  .dashboard-product-demo .demo-divider {
    display: none;
  }

  .dashboard-workspace {
    padding: 15px 13px 22px;
  }

  .dashboard-heading-actions {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .dashboard-branch-select {
    grid-column: 1 / -1;
  }

  .dashboard-branch-select select {
    max-width: none;
    flex: 1;
  }

  .dashboard-customize-button {
    width: 48px;
    min-width: 48px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .dashboard-customize-button span {
    margin: 0;
    font-size: 12px;
  }

  .dashboard-personalization-banner {
    grid-template-columns: 28px 1fr;
  }

  .dashboard-personalization-banner button {
    grid-column: 1 / -1;
  }

  .dashboard-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-kpi-card:last-child {
    grid-column: 1 / -1;
  }

  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-revenue-panel,
  .dashboard-funnel-panel,
  .dashboard-branch-panel,
  .dashboard-agents-panel,
  .dashboard-alert-panel {
    grid-column: 1;
  }

  .dashboard-alert-list {
    grid-template-columns: 1fr;
  }

  .dashboard-content-grid:has(.dashboard-branch-panel[hidden]) .dashboard-agent-list {
    grid-template-columns: 1fr;
  }

  .dashboard-branch-panel table {
    min-width: 520px;
  }

  .dashboard-customizer {
    width: 100%;
  }
}

/* Social Media & Ads Automation demo */
.social-feature-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(217, 70, 239, 0.09), transparent 27%),
    linear-gradient(180deg, #fff, #fffaff);
}

.social-safe-mode {
  border-color: #a7f3d0;
  color: #047857;
  background: #ecfdf5;
}

.social-sidebar nav button {
  position: relative;
}

.social-sidebar nav button em {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 999px;
  color: #4338ca;
  background: #e0e7ff;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}

.social-sidebar nav button.active {
  color: #7c3aed;
  background: #f3e8ff;
}

.social-sidebar nav button:first-of-type .demo-nav-icon {
  fill: currentColor;
  stroke: none;
}

.social-sidebar-tip {
  border-color: #e9d5ff;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 70, 239, 0.14), transparent 48%),
    linear-gradient(145deg, #faf5ff, #fff);
}

.social-sidebar-tip span,
.social-sidebar-tip b {
  color: #7e22ce;
}

.social-sidebar-tip > div {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.social-sidebar-tip > div i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}

.social-sidebar-tip > div span {
  color: #64748b;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0;
}

.social-workspace {
  background:
    linear-gradient(rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 70% 0, #f5d0fe, transparent 28%);
}

.social-page-heading {
  align-items: center;
}

.social-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.social-heading-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-guide-popover,
.crm-guide-popover,
.omni-guide-popover,
.dashboard-guide-popover,
.insight-guide-popover {
  z-index: 51;
}

.social-heading-status span,
.social-heading-status b {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 8px;
}

.social-heading-status span {
  border: 1px solid #bbf7d0;
  color: #047857;
  background: #f0fdf4;
  font-weight: 800;
}

.social-heading-status span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.social-heading-status b {
  color: #64748b;
  background: #eef2f7;
}

.social-view {
  margin-top: 15px;
}

.social-view[hidden] {
  display: none;
}

.social-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.social-progress span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  font-size: 8px;
  font-weight: 800;
}

.social-progress span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: calc(100% - 92px);
  height: 1px;
  background: #e2e8f0;
  content: "";
}

.social-progress span i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #94a3b8;
  background: #f1f5f9;
  font-size: 7px;
  font-style: normal;
}

.social-progress span.active {
  color: #6d28d9;
}

.social-progress span.active i {
  color: #fff;
  background: linear-gradient(145deg, #8b5cf6, #6d28d9);
}

.social-studio-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.76fr);
  align-items: start;
  gap: 12px;
  margin-top: 10px;
}

.social-editor-panel {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.social-editor-section,
.social-preview-head,
.social-post-preview,
.social-schedule-box,
.social-calendar-panel,
.social-campaign-toolbar,
.social-insight-panel {
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.03);
}

.social-editor-section {
  min-width: 0;
  padding: 12px;
}

.social-control-row > div,
.social-platform-row button,
.social-template-choice > span {
  min-width: 0;
}

.social-editor-section > header,
.social-preview-head,
.social-calendar-panel > header,
.social-insight-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-editor-section > header > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-editor-section > header > div > span,
.social-schedule-box > div:first-child > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  color: #6d28d9;
  background: #f3e8ff;
  font-size: 7px;
  font-weight: 900;
}

.social-editor-section h3 {
  margin: 0;
  color: #1e293b;
  font-size: 10px;
}

.social-editor-section header em {
  color: #94a3b8;
  font-size: 7px;
  font-style: normal;
}

.social-editor-section header > button {
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  color: #6d28d9;
  background: #f5f3ff;
  font: inherit;
  font-size: 7px;
  font-weight: 900;
  cursor: pointer;
}

.social-vehicle-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.social-vehicle-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 43px 1fr 15px;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  color: #475569;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.social-vehicle-card.active {
  border-color: #8b5cf6;
  background: #faf5ff;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.08);
}

.social-vehicle-thumb {
  width: 43px;
  height: 35px;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
}

.social-vehicle-thumb.has-photo {
  background: #0f172a;
}

.social-vehicle-thumb.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.social-vehicle-thumb.has-photo::before,
.social-vehicle-thumb.has-photo::after {
  display: none;
}

.social-vehicle-thumb::before {
  position: absolute;
  right: 5px;
  bottom: 9px;
  left: 5px;
  height: 10px;
  border-radius: 7px 10px 4px 4px;
  background: var(--car-color, #334155);
  box-shadow: inset 0 -3px rgba(15, 23, 42, 0.16);
  content: "";
}

.social-vehicle-thumb::after {
  position: absolute;
  right: 10px;
  bottom: 16px;
  left: 12px;
  height: 8px;
  border-radius: 10px 10px 2px 2px;
  background: color-mix(in srgb, var(--car-color, #334155) 72%, white);
  content: "";
}

.social-vehicle-card b,
.social-vehicle-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-vehicle-card b {
  color: #334155;
  font-size: 8px;
}

.social-vehicle-card small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 6px;
}

.social-vehicle-card small.social-vehicle-meta {
  white-space: normal;
  line-height: 1.35;
  font-size: 6px;
  color: #a1a1aa;
}

.social-vehicle-card > em {
  display: none;
  color: #7c3aed;
  font-size: 10px;
  font-style: normal;
}

.social-vehicle-card.active > em {
  display: block;
}

.social-control-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(230px, 1.2fr);
  gap: 12px;
  margin-top: 10px;
}

.social-control-row label,
.social-copy-controls label,
.social-caption-field > span,
.social-schedule-fields label {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 7px;
  font-weight: 800;
}

.social-template-choice {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid #8b5cf6;
  border-radius: 9px;
  color: #475569;
  background: #faf5ff;
  font: inherit;
  text-align: left;
}

.social-template-choice > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #4f46e5, #d946ef);
  font-size: 8px;
  font-style: italic;
  font-weight: 900;
}

.social-template-choice b,
.social-template-choice small {
  display: block;
}

.social-template-choice b {
  color: #334155;
  font-size: 8px;
}

.social-template-choice small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 6px;
}

.social-template-choice > em {
  color: #7c3aed;
  font-size: 10px;
  font-style: normal;
}

.social-format-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.social-format-options button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  color: #64748b;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.social-format-options button.active {
  border-color: #8b5cf6;
  color: #6d28d9;
  background: #faf5ff;
}

.social-format-options button > i {
  display: block;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.social-format-options i.square {
  width: 17px;
  height: 17px;
}

.social-format-options i.portrait {
  width: 15px;
  height: 19px;
}

.social-format-options i.story {
  width: 12px;
  height: 21px;
}

.social-format-options b,
.social-format-options small,
.social-format-options span {
  display: block;
}

.social-format-options span {
  font-size: 7px;
  font-weight: 800;
  text-align: left;
}

.social-format-options small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.social-copy-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}

.social-copy-controls label {
  margin: 0;
}

.social-copy-controls input {
  width: 100%;
  height: 31px;
  display: block;
  margin-top: 5px;
  padding: 0 9px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  outline: 0;
  color: #334155;
  background: #f8fafc;
  font: inherit;
  font-size: 8px;
}

.social-copy-controls input:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.12);
}

.social-platform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.social-platform-row button {
  min-height: 43px;
  display: grid;
  grid-template-columns: 29px 1fr 16px;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  color: #64748b;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.social-platform-row button.active {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.social-platform-row button > i {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.social-platform-row .instagram > i {
  background: linear-gradient(145deg, #7c3aed, #ec4899, #f59e0b);
}

.social-platform-row .facebook > i {
  background: #2563eb;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.social-platform-row b,
.social-platform-row small {
  display: block;
}

.social-platform-row b {
  color: #334155;
  font-size: 8px;
}

.social-platform-row small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.social-platform-row button > em {
  display: none;
  color: #7c3aed;
  font-size: 10px;
  font-style: normal;
}

.social-platform-row button.active > em {
  display: block;
}

.social-caption-field {
  display: block;
  margin-top: 9px;
}

.social-caption-field > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.social-caption-field > span small {
  color: #94a3b8;
  font-size: 6px;
}

.social-caption-field textarea {
  width: 100%;
  min-height: 73px;
  display: block;
  padding: 8px 9px;
  resize: vertical;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  outline: 0;
  color: #475569;
  background: #f8fafc;
  font: inherit;
  font-size: 8px;
  line-height: 1.5;
}

.social-preview-column {
  position: sticky;
  top: -10px;
  display: grid;
  gap: 8px;
}

.social-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
}

.social-preview-head span {
  color: #7c3aed;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.social-preview-head b {
  color: #64748b;
  font-size: 7px;
}

.social-post-preview {
  max-width: 315px;
  margin: 0 auto;
  overflow: hidden;
}

.social-post-preview > header {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
}

.social-account-avatar {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #4f46e5, #d946ef);
  font-size: 8px;
  font-weight: 900;
}

.social-post-preview header b,
.social-post-preview header small {
  display: block;
}

.social-post-preview header b {
  color: #334155;
  font-size: 8px;
}

.social-post-preview header small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.social-post-preview header em {
  color: #64748b;
  font-size: 8px;
  font-style: normal;
}

.social-creative-frame {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 38%, rgba(34, 211, 238, 0.72), transparent 24%),
    linear-gradient(145deg, #172554 0%, #312e81 45%, #7e22ce 100%);
  transition: aspect-ratio 180ms ease;
}

.social-creative-frame.portrait {
  aspect-ratio: 4 / 5;
}

.social-creative-frame.story {
  width: 65%;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.social-creative-frame::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, 0.09) 58% 59%, transparent 59%),
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(255, 255, 255, 0.035) 21px);
  content: "";
}

.social-creative-brand {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 8%;
  color: #fff;
  font-size: 10px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.04em;
}

/* Brand mark on generated template: Motovax only (no MOBIX). */
.social-creative-brand::after {
  content: none;
}

.social-creative-copy {
  position: absolute;
  z-index: 2;
  top: 20%;
  left: 8%;
  max-width: 68%;
}

.social-creative-copy small,
.social-creative-copy strong,
.social-creative-copy span {
  display: block;
}

.social-creative-copy small {
  color: #a5f3fc;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.social-creative-copy strong {
  margin: 5px 0 3px;
  font-size: 17px;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.social-creative-copy span {
  color: #ddd6fe;
  font-size: 6px;
}

.social-car-art {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 22%;
  left: 8%;
  height: 25%;
  filter: drop-shadow(0 15px 12px rgba(15, 23, 42, 0.42));
}

.social-car-art::before {
  position: absolute;
  right: 0;
  bottom: 16%;
  left: 0;
  height: 52%;
  border-radius: 23% 35% 13% 13% / 55% 65% 25% 25%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--preview-car, #f8fafc) 78%, white), var(--preview-car, #f8fafc));
  box-shadow: inset 0 -8px 11px rgba(15, 23, 42, 0.22);
  content: "";
}

.social-car-art::after {
  position: absolute;
  right: 18%;
  bottom: 57%;
  left: 25%;
  height: 31%;
  border-radius: 55% 58% 0 0;
  background: linear-gradient(145deg, #dbeafe 0 47%, #64748b 48% 100%);
  transform: skewX(-12deg);
  content: "";
}

.social-car-art i {
  position: absolute;
  z-index: 3;
  bottom: 4%;
  width: 18%;
  aspect-ratio: 1;
  border: 4px solid #0f172a;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: inset 0 0 0 3px #334155;
}

.social-car-art i:first-child {
  left: 15%;
}

.social-car-art i:last-child {
  right: 13%;
}

.social-car-art.has-photo {
  right: 6%;
  bottom: 18%;
  left: 6%;
  height: 42%;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  filter: drop-shadow(0 12px 14px rgba(15, 23, 42, 0.35));
}

.social-car-art.has-photo::before,
.social-car-art.has-photo::after,
.social-car-art.has-photo i {
  display: none;
}

.social-creative-frame.has-photo .social-creative-copy {
  text-shadow: 0 1px 8px rgba(15, 23, 42, 0.55);
}

.social-creative-offer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 18%;
  padding: 5% 8%;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
}

.social-creative-offer small,
.social-creative-offer b {
  display: block;
}

.social-creative-offer small {
  color: #c4b5fd;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.social-creative-offer b {
  margin-top: 3px;
  font-size: 11px;
}

.social-post-actions {
  display: flex;
  gap: 11px;
  padding: 8px 10px 4px;
  color: #334155;
  font-size: 12px;
}

.social-post-actions em {
  margin-left: auto;
  font-style: normal;
}

.social-post-preview > p {
  min-height: 31px;
  margin: 0;
  padding: 2px 10px 9px;
  overflow: hidden;
  color: #475569;
  font-size: 7px;
  line-height: 1.45;
}

.social-schedule-box {
  padding: 10px;
}

.social-schedule-box > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-schedule-box b,
.social-schedule-box small {
  display: block;
}

.social-schedule-box b {
  color: #334155;
  font-size: 9px;
}

.social-schedule-box small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.social-schedule-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.social-schedule-fields label {
  margin: 0;
}

.social-schedule-fields input {
  width: 100%;
  min-height: 31px;
  display: block;
  margin-top: 4px;
  padding: 0 7px;
  border: 1px solid #dbe4f0;
  border-radius: 7px;
  color: #475569;
  background: #f8fafc;
  font: inherit;
  font-size: 7px;
}

.social-schedule-box > button {
  width: 100%;
  min-height: 35px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(100deg, #7c3aed, #4f46e5);
  font: inherit;
  font-size: 8px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.2);
}

.social-schedule-box > button span {
  margin-right: 5px;
}

.social-schedule-box > small {
  margin-top: 7px;
  text-align: center;
}

.social-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.social-stat-grid article {
  min-height: 67px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.social-stat-grid article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 900;
}

.social-stat-grid span.all {
  color: #4338ca;
  background: #e0e7ff;
}

.social-stat-grid span.draft {
  color: #64748b;
  background: #f1f5f9;
}

.social-stat-grid span.planned {
  color: #b45309;
  background: #fef3c7;
}

.social-stat-grid span.published {
  color: #047857;
  background: #d1fae5;
}

.social-stat-grid small,
.social-stat-grid b {
  display: block;
}

.social-stat-grid small {
  color: #64748b;
  font-size: 7px;
}

.social-stat-grid b {
  margin-top: 4px;
  color: #1e293b;
  font-size: 16px;
}

.social-calendar-panel {
  margin-top: 10px;
  overflow: hidden;
}

.social-calendar-panel > header {
  min-height: 51px;
  padding: 9px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.social-calendar-panel header > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-calendar-panel header button {
  min-width: 27px;
  min-height: 27px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  color: #64748b;
  background: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.social-calendar-panel header button.active {
  color: #fff;
  background: #7c3aed;
}

.social-calendar-panel header b {
  margin-left: 5px;
  color: #334155;
  font-size: 10px;
}

.social-calendar-weekdays,
.social-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.social-calendar-weekdays {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.social-calendar-weekdays span {
  padding: 7px;
  color: #94a3b8;
  font-size: 7px;
  font-weight: 900;
  text-align: center;
}

.social-calendar-day {
  min-height: 78px;
  position: relative;
  padding: 6px;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.social-calendar-day:nth-child(7n) {
  border-right: 0;
}

.social-calendar-day.is-muted {
  color: #cbd5e1;
  background: #fafafa;
}

.social-calendar-day > span {
  display: block;
  color: #64748b;
  font-size: 7px;
  font-weight: 800;
}

.social-calendar-post {
  width: 100%;
  display: block;
  margin-top: 5px;
  padding: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  color: #6d28d9;
  background: #f3e8ff;
  font: inherit;
  font-size: 6px;
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.social-calendar-post.published {
  color: #047857;
  background: #d1fae5;
}

.social-calendar-post.facebook {
  color: #1d4ed8;
  background: #dbeafe;
}

.social-calendar-post i {
  margin-right: 3px;
  font-style: normal;
}

.social-campaign-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 84% 0, rgba(34, 211, 238, 0.15), transparent 30%),
    #fff;
}

.social-campaign-toolbar > div > span {
  color: #0891b2;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.social-campaign-toolbar h3 {
  margin: 4px 0;
  color: #172033;
  font-size: 15px;
}

.social-campaign-toolbar p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.social-campaign-toolbar code,
.social-campaign-toolbar em {
  padding: 3px 6px;
  border-radius: 5px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 7px;
  font-style: normal;
}

.social-campaign-toolbar label {
  color: #64748b;
  font-size: 7px;
  font-weight: 800;
}

.social-campaign-toolbar select {
  min-width: 170px;
  min-height: 33px;
  display: block;
  margin-top: 5px;
  padding: 0 9px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #334155;
  background: #fff;
  font: inherit;
  font-size: 8px;
}

.social-insight-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 10px 0;
}

.social-insight-kpi {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.social-insight-kpi > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #0e7490;
  background: #cffafe;
  font-size: 10px;
  font-weight: 900;
}

.social-insight-kpi:nth-child(3) > span,
.social-insight-kpi:nth-child(4) > span {
  color: #047857;
  background: #d1fae5;
}

.social-insight-kpi small,
.social-insight-kpi b,
.social-insight-kpi em {
  display: block;
}

.social-insight-kpi small {
  color: #64748b;
  font-size: 7px;
}

.social-insight-kpi b {
  margin: 3px 0 2px;
  color: #1e293b;
  font-size: 16px;
}

.social-insight-kpi em {
  color: #059669;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.social-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.75fr);
  gap: 9px;
}

.social-insight-panel {
  overflow: hidden;
}

.social-insight-panel > header {
  min-height: 49px;
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.social-insight-panel header span,
.social-insight-panel header h3 {
  display: block;
}

.social-insight-panel header span {
  color: #0891b2;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.social-insight-panel header h3 {
  margin: 3px 0 0;
  color: #334155;
  font-size: 10px;
}

.social-insight-panel header em,
.social-insight-panel header > div:last-child,
.social-insight-panel header button {
  color: #94a3b8;
  font-size: 7px;
  font-style: normal;
}

.social-insight-panel header > div:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-insight-panel header > div:last-child i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #0891b2;
}

.social-insight-panel header > div:last-child i:nth-child(2) {
  margin-left: 5px;
  background: #10b981;
}

.social-insight-panel header button {
  border: 0;
  color: #4f46e5;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.social-trend-chart {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 23px 14px 16px;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 35px, #f1f5f9 36px);
}

.social-trend-panel {
  grid-row: span 2;
}

.social-trend-panel .social-trend-chart {
  height: calc(100% - 49px);
  min-height: 255px;
}

.social-trend-day {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  position: relative;
}

.social-trend-day i {
  width: 10px;
  display: block;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #22d3ee, #0891b2);
}

.social-trend-day i:last-of-type {
  width: 6px;
  background: linear-gradient(180deg, #34d399, #059669);
}

.social-trend-day span {
  position: absolute;
  bottom: -12px;
  color: #94a3b8;
  font-size: 6px;
}

.social-attribution-flow {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.social-attribution-step {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 8px;
  position: relative;
}

.social-attribution-step:not(:last-child)::after {
  position: absolute;
  top: 27px;
  bottom: -8px;
  left: 13px;
  width: 1px;
  background: #dbeafe;
  content: "";
}

.social-attribution-step > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  z-index: 1;
  border-radius: 8px;
  color: #0e7490;
  background: #cffafe;
  font-size: 8px;
  font-weight: 900;
}

.social-attribution-step:last-child > span {
  color: #047857;
  background: #d1fae5;
}

.social-attribution-step b,
.social-attribution-step small {
  display: block;
}

.social-attribution-step b {
  color: #334155;
  font-size: 8px;
}

.social-attribution-step small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.social-attribution-step strong {
  color: #0f766e;
  font-size: 9px;
}

.social-product-performance {
  grid-column: 2;
}

.social-product-performance > div {
  display: grid;
  padding: 5px 11px 9px;
}

.social-product-row {
  display: grid;
  grid-template-columns: 18px 32px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
}

.social-product-row:last-child {
  border-bottom: 0;
}

.social-product-row > span:first-child {
  color: #94a3b8;
  font-size: 7px;
  font-weight: 900;
  text-align: center;
}

.social-product-thumb {
  width: 32px;
  height: 27px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(145deg, #dbeafe, #ede9fe);
}

.social-product-thumb::after {
  position: absolute;
  right: 4px;
  bottom: 7px;
  left: 4px;
  height: 8px;
  border-radius: 5px;
  background: #6366f1;
  content: "";
}

.social-product-row b,
.social-product-row small {
  display: block;
}

.social-product-row b {
  color: #334155;
  font-size: 7px;
}

.social-product-row small {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 6px;
}

.social-product-row strong {
  color: #059669;
  font-size: 8px;
}

.social-lead-table {
  grid-column: 1 / -1;
}

.social-lead-table table {
  width: 100%;
  border-collapse: collapse;
}

.social-lead-table th,
.social-lead-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 7px;
  text-align: left;
}

.social-lead-table th {
  color: #94a3b8;
  background: #fafbfc;
  font-size: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-lead-table td:first-child {
  color: #334155;
  font-weight: 800;
}

.social-lead-status {
  display: inline-flex;
  padding: 3px 6px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-size: 6px;
  font-weight: 900;
}

.social-toast > span {
  color: #6d28d9;
  background: #f3e8ff;
}

@media (max-width: 1180px) {
  .social-studio-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }
}

@media (max-width: 900px) {
  .social-page-heading {
    align-items: flex-start;
  }

  .social-studio-grid {
    grid-template-columns: 1fr;
  }

  .social-preview-column {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .social-preview-head {
    grid-column: 1 / -1;
  }

  .social-post-preview {
    width: 100%;
  }

  .social-schedule-box {
    align-self: start;
  }

  .social-insight-grid {
    grid-template-columns: 1fr;
  }

  .social-product-performance,
  .social-lead-table {
    grid-column: 1;
  }

  .social-trend-panel {
    grid-row: auto;
  }

  .social-trend-panel .social-trend-chart {
    height: 150px;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .social-product-demo .demo-brand-wrap > div,
  .social-product-demo .demo-divider {
    display: none;
  }

  .social-workspace {
    padding: 15px 13px 22px;
  }

  .social-page-heading {
    align-items: flex-start;
  }

  .social-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .social-heading-status {
    width: 100%;
  }

  .social-heading-status span {
    flex: 1;
  }

  .social-progress {
    grid-template-columns: repeat(4, minmax(55px, 1fr));
    overflow-x: auto;
  }

  .social-progress span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .social-progress span:not(:last-child)::after {
    display: none;
  }

  .social-vehicle-options,
  .social-control-row,
  .social-copy-controls,
  .social-platform-row {
    grid-template-columns: 1fr;
  }

  .social-vehicle-options {
    display: flex;
    overflow-x: auto;
  }

  .social-vehicle-card {
    min-width: 190px;
  }

  .social-preview-column {
    grid-template-columns: 1fr;
  }

  .social-preview-head {
    grid-column: 1;
  }

  .social-stat-grid,
  .social-insight-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-calendar-panel {
    overflow-x: auto;
  }

  .social-calendar-panel > header,
  .social-calendar-weekdays,
  .social-calendar-days {
    min-width: 680px;
  }

  .social-campaign-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .social-campaign-toolbar select {
    width: 100%;
  }

  .social-campaign-toolbar p {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-lead-table {
    overflow-x: auto;
  }

  .social-lead-table table {
    min-width: 520px;
  }
}

/* Data Insight & Higher Conversion demo */
.insight-feature-card {
  background:
    radial-gradient(circle at 91% 9%, rgba(6, 182, 212, 0.11), transparent 28%),
    linear-gradient(180deg, #fff, #f8fdff);
}

.insight-safe-mode {
  border-color: #a5f3fc;
  color: #0e7490;
  background: #ecfeff;
}

.insight-safe-mode i {
  background: #06b6d4;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.insight-sidebar nav button.active {
  color: #0e7490;
  background: #ecfeff;
}

.insight-sidebar-tip {
  border-color: #a5f3fc;
  background:
    radial-gradient(circle at 100% 0, rgba(34, 211, 238, 0.17), transparent 48%),
    linear-gradient(145deg, #ecfeff, #f8fdff);
}

.insight-sidebar-tip span,
.insight-sidebar-tip b {
  color: #0e7490;
}

.insight-sidebar-tip button {
  margin-top: 11px;
  padding: 0;
  border: 0;
  color: #0e7490;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.insight-workspace {
  position: relative;
  background:
    linear-gradient(rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 76% 0, #cffafe, transparent 29%);
}

.insight-page-heading {
  align-items: center;
}

.insight-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insight-period-switch button {
  min-width: 48px;
}

.insight-customize-button {
  border-color: #0891b2;
  background: linear-gradient(105deg, #0891b2, #0e7490);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.2);
  white-space: nowrap;
}

.insight-customize-button span {
  margin-right: 4px;
}

.insight-personalization-banner {
  border-color: #a5f3fc;
  color: #155e75;
  background:
    radial-gradient(circle at 80% -60%, rgba(6, 182, 212, 0.24), transparent 28%),
    linear-gradient(90deg, #ecfeff, #f8fdff);
}

.insight-personalization-banner .dashboard-banner-icon {
  background: linear-gradient(145deg, #06b6d4, #0e7490);
  box-shadow: 0 6px 14px rgba(8, 145, 178, 0.24);
}

.insight-personalization-banner button {
  border-color: #67e8f9;
  color: #0e7490;
}

.insight-kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.insight-kpi-grid .dashboard-kpi-card > span i {
  color: #0e7490;
  background: #cffafe;
}

.insight-kpi-grid .dashboard-kpi-card.is-priority {
  border-color: #67e8f9;
  background: linear-gradient(145deg, #ecfeff, #fff);
}

.insight-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(265px, 0.75fr);
  gap: 10px;
}

.insight-content-grid > [hidden],
.insight-kpi-grid[hidden] {
  display: none;
}

.insight-funnel-panel {
  min-width: 0;
}

.insight-funnel {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.insight-funnel-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 34px 36px;
  align-items: center;
  gap: 7px;
}

.insight-funnel-row > span {
  color: #64748b;
  font-size: 8px;
  font-weight: 700;
}

.insight-funnel-row > b {
  color: #334155;
  font-size: 8px;
  text-align: right;
}

.insight-funnel-row > em {
  color: #94a3b8;
  font-size: 7px;
  font-style: normal;
  text-align: right;
}

.insight-funnel-track {
  height: 19px;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f5f9;
}

.insight-funnel-track i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #0891b2);
}

.insight-funnel-row:nth-child(3) .insight-funnel-track i {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.insight-funnel-row:nth-child(4) .insight-funnel-track i {
  background: linear-gradient(90deg, #fb7185, #e11d48);
}

.insight-funnel-row:last-child .insight-funnel-track i {
  background: linear-gradient(90deg, #34d399, #059669);
}

.insight-funnel-panel > footer,
.insight-heatmap-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 13px;
  border-top: 1px solid #f1f5f9;
  background: #fffbeb;
}

.insight-funnel-panel footer span,
.insight-heatmap-panel footer span {
  color: #b45309;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-funnel-panel footer b,
.insight-heatmap-panel footer b {
  color: #92400e;
  font-size: 8px;
}

.insight-opportunity-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid #67e8f9;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #164e63, #0e7490 55%, #0891b2);
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.18);
}

.insight-opportunity-glow {
  position: absolute;
  top: -55px;
  right: -45px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.62), transparent 68%);
}

.insight-opportunity-card > header {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.insight-opportunity-card > header > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.13);
}

.insight-opportunity-card header small {
  display: block;
  color: #a5f3fc;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.insight-opportunity-card h3 {
  margin: 5px 0 0;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.insight-opportunity-card > p {
  position: relative;
  margin: 13px 0;
  color: #cffafe;
  font-size: 8px;
  line-height: 1.55;
}

.insight-uplift {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
}

.insight-uplift small,
.insight-uplift b {
  display: block;
}

.insight-uplift small {
  color: #a5f3fc;
  font-size: 6px;
}

.insight-uplift b {
  margin-top: 3px;
  font-size: 15px;
}

.insight-uplift > span {
  color: #67e8f9;
  font-size: 14px;
}

.insight-opportunity-card > button {
  width: 100%;
  min-height: 34px;
  position: relative;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  color: #0e7490;
  background: #fff;
  font: inherit;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 7px 17px rgba(8, 51, 68, 0.16);
}

.insight-opportunity-card > button.is-complete {
  color: #047857;
  background: #d1fae5;
}

.insight-opportunity-card > button span {
  margin-right: 5px;
}

.insight-opportunity-card > small {
  position: relative;
  display: block;
  margin-top: 7px;
  color: #a5f3fc;
  font-size: 6px;
  text-align: center;
}

.insight-source-panel {
  grid-column: 1 / -1;
}

.insight-source-list {
  display: grid;
}

.insight-source-head,
.insight-source-row {
  display: grid;
  grid-template-columns: minmax(135px, 1.2fr) minmax(105px, 1fr) 70px 70px 82px 75px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
}

.insight-source-head {
  color: #94a3b8;
  background: #fafbfc;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-source-row {
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 7px;
}

.insight-source-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

.insight-source-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
}

.insight-source-icon.whatsapp {
  background: #16a34a;
}

.insight-source-icon.instagram {
  background: linear-gradient(145deg, #7c3aed, #ec4899, #f59e0b);
}

.insight-source-icon.facebook {
  background: #2563eb;
}

.insight-source-icon.website {
  background: #0f766e;
}

.insight-source-volume {
  display: flex;
  align-items: center;
  gap: 7px;
}

.insight-source-volume i {
  width: 60px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.insight-source-volume i::after {
  width: var(--source-width);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #06b6d4;
  content: "";
}

.insight-source-rate {
  color: #059669;
  font-weight: 900;
}

.insight-source-status {
  display: inline-flex;
  width: fit-content;
  padding: 3px 6px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-size: 6px;
  font-weight: 900;
}

.insight-source-status.warning {
  color: #b45309;
  background: #fef3c7;
}

.insight-heatmap-panel {
  grid-column: 1;
}

.insight-heatmap {
  display: grid;
  grid-template-columns: 43px repeat(5, minmax(34px, 1fr));
  gap: 5px;
  padding: 12px;
}

.insight-heatmap span {
  min-height: 24px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #64748b;
  font-size: 6px;
  font-weight: 700;
}

.insight-heatmap span.axis {
  background: transparent;
}

.insight-heatmap span.cell {
  color: transparent;
  background: color-mix(in srgb, #06b6d4 var(--heat), #ecfeff);
}

.insight-heatmap-panel > footer {
  background: #ecfeff;
}

.insight-heatmap-panel footer span,
.insight-heatmap-panel footer b {
  color: #0e7490;
}

.insight-actions-panel {
  grid-column: 2;
}

.insight-action-list {
  display: grid;
  gap: 7px;
  padding: 11px;
}

.insight-action-item {
  display: grid;
  grid-template-columns: 29px 1fr auto;
  align-items: start;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fafcff;
}

.insight-action-item > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #b45309;
  background: #fef3c7;
  font-size: 9px;
  font-weight: 900;
}

.insight-action-item.critical > span {
  color: #be123c;
  background: #ffe4e6;
}

.insight-action-item.positive > span {
  color: #047857;
  background: #d1fae5;
}

.insight-action-item b,
.insight-action-item p {
  display: block;
}

.insight-action-item b {
  color: #334155;
  font-size: 8px;
}

.insight-action-item p {
  margin: 3px 0 0;
  color: #94a3b8;
  font-size: 6px;
  line-height: 1.45;
}

.insight-action-item em {
  padding: 3px 5px;
  border-radius: 5px;
  color: #0e7490;
  background: #cffafe;
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.insight-content-grid:has(.insight-funnel-panel[hidden]) .insight-opportunity-card,
.insight-content-grid:has(.insight-opportunity-card[hidden]) .insight-funnel-panel,
.insight-content-grid:has(.insight-heatmap-panel[hidden]) .insight-actions-panel,
.insight-content-grid:has(.insight-actions-panel[hidden]) .insight-heatmap-panel {
  grid-column: 1 / -1;
}

.insight-customizer header span {
  color: #0891b2;
}

.insight-goal-options button.active {
  border-color: #06b6d4;
  background: #ecfeff;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.08);
}

.insight-goal-options button.active > span {
  color: #0e7490;
  background: #cffafe;
}

.insight-goal-options button.active i {
  color: #0891b2;
}

.insight-goal-options button[data-insight-goal="hot"] > span {
  font-size: 6px;
}

.insight-source-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.insight-source-options label {
  min-height: 42px;
  display: grid;
  grid-template-columns: 27px 1fr 14px;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  cursor: pointer;
}

.insight-source-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.insight-source-options label > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 6px;
  font-weight: 900;
}

.insight-source-options label > span.wa {
  color: #15803d;
  background: #dcfce7;
}

.insight-source-options label > span.ig {
  color: #be185d;
  background: #fce7f3;
}

.insight-source-options label > span.fb {
  color: #1d4ed8;
  background: #dbeafe;
}

.insight-source-options label > span.web {
  color: #0f766e;
  background: #ccfbf1;
}

.insight-source-options label > b {
  color: #475569;
  font-size: 8px;
}

.insight-source-options label > i {
  color: #cbd5e1;
  font-size: 9px;
  font-style: normal;
}

.insight-source-options label:has(input:checked) {
  border-color: #67e8f9;
  background: #ecfeff;
}

.insight-source-options input:checked ~ i {
  color: #0891b2;
}

.insight-customizer footer button {
  background: #0891b2;
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.2);
}

.insight-toast > span {
  color: #0e7490;
  background: #cffafe;
}

@media (max-width: 1180px) {
  .insight-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .insight-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .insight-heading-actions {
    width: 100%;
  }

  .insight-content-grid {
    grid-template-columns: 1fr;
  }

  .insight-funnel-panel,
  .insight-opportunity-card,
  .insight-source-panel,
  .insight-heatmap-panel,
  .insight-actions-panel {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .insight-product-demo .demo-brand-wrap > div,
  .insight-product-demo .demo-divider {
    display: none;
  }

  .insight-workspace {
    padding: 15px 13px 22px;
  }

  .insight-heading-actions {
    display: grid;
    grid-template-columns: 1fr 44px;
  }

  .insight-customize-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .insight-customize-button span {
    margin: 0;
    font-size: 12px;
  }

  .insight-period-switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .insight-period-switch button {
    min-width: 0;
  }

  .insight-personalization-banner {
    grid-template-columns: 28px 1fr;
  }

  .insight-personalization-banner button {
    grid-column: 1 / -1;
  }

  .insight-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-source-list {
    overflow-x: auto;
  }

  .insight-source-head,
  .insight-source-row {
    min-width: 650px;
  }

  .insight-funnel-row {
    grid-template-columns: 62px minmax(0, 1fr) 29px 31px;
    gap: 5px;
  }

  .insight-funnel-panel > footer,
  .insight-heatmap-panel > footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .insight-source-options {
    grid-template-columns: 1fr;
  }
}

/* ========== Call Center dense demo (parity produksi) ========== */
.cc-product-demo .demo-app.cc-app {
  display: flex;
  flex-direction: column;
  height: min(92vh, 900px);
  max-height: 92vh;
  background: #f8fafc;
  overflow: hidden;
}
.cc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}
.cc-topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cc-topbar-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef2ff;
  color: #4338ca;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}
.cc-topbar-brand b {
  display: block;
  font-size: 13px;
  color: #0f172a;
}
.cc-topbar-brand span {
  display: block;
  font-size: 10px;
  color: #64748b;
}
.cc-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.cc-pill {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
}
.cc-pill.tour {
  background: #0f172a;
  border-color: #0f172a;
  color: #fde68a;
}
.cc-pill.warn {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #d97706;
  cursor: default;
}
.cc-pill.ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cc-pill.ok i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}
.cc-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) minmax(260px, 300px);
  background: #f8fafc;
}
.cc-queue,
.cc-chat,
.cc-context {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e8f0;
  background: #fff;
}
.cc-context { border-right: 0; }
.cc-queue { background: #f8fafc; }
.cc-queue-head {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}
.cc-search-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.cc-search-row input {
  flex: 1;
  height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 11px;
  background: #f8fafc;
  font-family: inherit;
}
.cc-icon-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.cc-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.cc-tag-chips button {
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.cc-tag-chips button.on {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #4338ca;
}
.cc-main-tabs {
  display: flex;
  gap: 3px;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 8px;
}
.cc-main-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  padding: 5px 2px;
  cursor: pointer;
  font-family: inherit;
}
.cc-main-tabs button.active {
  background: #fff;
  color: #4338ca;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.cc-main-tabs b {
  font-weight: 800;
  margin-left: 2px;
}
.cc-channel-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 -10px -8px;
  padding: 4px 10px 0;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}
.cc-channel-tabs button {
  min-width: 0;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: none;
  padding: 2px 1px 6px;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.cc-channel-tabs button.active {
  border-color: #0f172a;
  color: #0f172a;
  font-weight: 800;
}
.cc-channel-tabs button:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: -3px;
  border-radius: 6px 6px 0 0;
}
.cc-channel-tabs button b {
  min-width: 18px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #52627a;
  background: #e8edf5;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cc-channel-tabs button.active b {
  color: #334155;
  background: #dfe5ee;
}
.cc-channel-tabs [data-omni-channel="all"] .cc-channel-label {
  display: none;
}
.cc-channel-icon {
  width: 14px;
  height: 14px;
  display: inline-grid;
  flex: 0 0 14px;
  place-items: center;
  color: #64748b;
}
.cc-channel-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.cc-channel-icon.whatsapp {
  color: #00a884;
}
.cc-channel-icon.messenger {
  color: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.cc-channel-icon.instagram {
  color: #e60076;
}
.cc-channel-icon.instagram .cc-instagram-dot {
  fill: currentColor;
  stroke: none;
}
.cc-bulk-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #334155;
}
.cc-bulk-bar button {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  cursor: pointer;
  font-family: inherit;
}
.cc-queue-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  background: #fff;
}
.cc-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;
}
.cc-bucket-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid;
}
.cc-bucket-head:not(.nested) {
  position: sticky;
  z-index: 2;
  top: 0;
}
.cc-bucket-head.call-center {
  color: #047857;
  border-color: #d1fae5;
  background: #ecfdf5;
}
.cc-bucket-head.mr,
.cc-bucket-head.mr-pending {
  color: #c2410c;
  border-color: #ffedd5;
  background: #fff7ed;
}
.cc-bucket-head.mr-done,
.cc-bucket-head.ai-fresh {
  color: #047857;
  border-color: #d1fae5;
  background: #ecfdf5;
}
.cc-bucket-head.ai {
  color: #4f46e5;
  border-color: #e0e7ff;
  background: #eef2ff;
}
.cc-bucket-head.ai-aging {
  color: #c2410c;
  border-color: #fef3c7;
  background: #fffbeb;
}
.cc-bucket-head.ai-old {
  color: #c2410c;
  border-color: #ffedd5;
  background: #fff7ed;
}
.cc-bucket-toggle {
  min-width: 0;
  min-height: 33px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 9px;
  border: 0;
  border-radius: 4px;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.cc-bucket-toggle:hover {
  background: rgba(15, 23, 42, 0.04);
}
.cc-bucket-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
.cc-bucket-icon {
  width: 14px;
  height: 14px;
  display: inline-grid;
  flex: 0 0 14px;
  place-items: center;
}
.cc-bucket-icon svg,
.cc-bucket-select svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}
.cc-bucket-title {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.cc-bucket-count {
  margin-left: auto;
  font-size: 10px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}
.cc-bucket-chevron {
  width: 17px;
  height: 17px;
  display: inline-grid;
  flex: 0 0 17px;
  place-items: center;
  opacity: 0.72;
}
.cc-bucket-chevron svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}
.cc-bucket-chevron.is-open svg {
  transform: rotate(90deg);
}
.cc-bucket-select {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  padding: 6px;
  margin-right: 3px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.cc-bucket-select:hover,
.cc-bucket-select:focus-visible {
  outline: 0;
  background: rgba(15, 23, 42, 0.07);
}
.cc-bucket-content[hidden] {
  display: none;
}
.cc-bucket-empty {
  padding: 10px 8px;
  font-size: 9px;
}
.cc-bucket-nested {
  margin: 8px;
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.07);
}
.cc-bucket-nested.ai {
  border-color: #dbeafe;
}
.cc-bucket-head.nested {
  min-height: 33px;
}
.cc-bucket-head.nested .cc-bucket-toggle {
  min-height: 32px;
  padding-left: 8px;
}
.cc-bucket-head.nested .cc-bucket-title {
  font-size: 9px;
}
.cc-mr-filter {
  position: relative;
  display: block;
  margin: 7px 8px 2px;
}
.cc-mr-filter select {
  width: 100%;
  height: 29px;
  appearance: none;
  padding: 0 28px 0 9px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  outline: 0;
  color: #334155;
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.cc-mr-filter select:focus-visible {
  border-color: #fb923c;
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.15);
}
.cc-mr-filter > span:last-child {
  position: absolute;
  top: 4px;
  right: 9px;
  color: #64748b;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}
.cc-group-title {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cc-group-title.ai { color: #4f46e5; }
.cc-group-title.pending { color: #d97706; }
.cc-group-title.mr { color: #ea580c; }
.cc-group-title.cc { color: #059669; }
.cc-group-title.closed { color: #64748b; }
.cc-group-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px 4px;
}
.cc-group-actions button {
  font-size: 9px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  cursor: pointer;
  font-family: inherit;
}
.cc-row {
  display: grid;
  grid-template-columns: 18px 36px 1fr auto;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  align-items: start;
  cursor: pointer;
  border-left: 3px solid transparent;
  text-align: left;
  width: 100%;
  font-family: inherit;
  border-right: 0;
  border-top: 0;
}
.cc-row:hover { background: #f8fafc; }
.cc-row.active { background: #eef2ff; }
.cc-row.escalated { border-left-color: #dc2626; background: #fef2f2; }
.cc-row.mr-timeout { border-left-color: #ea580c; }
.cc-row.pending { border-left-color: #f59e0b; }
.cc-row input[type="checkbox"] {
  margin-top: 10px;
  cursor: pointer;
}
.cc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  position: relative;
  flex-shrink: 0;
}
.cc-avatar .dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #fff;
}
.cc-avatar.whatsapp .dot,
.dot.whatsapp { background: #10b981; }
.cc-avatar.instagram .dot,
.dot.instagram { background: #ec4899; }
.cc-avatar.messenger .dot,
.dot.messenger { background: #3b82f6; }
.cc-row-main b {
  font-size: 11px;
  color: #0f172a;
}
.cc-row-main .meta {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.cc-row-side {
  text-align: right;
  font-size: 9px;
  color: #94a3b8;
}
.cc-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}
.cc-tag.cold { background: #e0f2fe; color: #0284c7; }
.cc-tag.warm { background: #fef3c7; color: #d97706; }
.cc-tag.hot { background: #fee2e2; color: #dc2626; }
.cc-tag.book { background: #d1fae5; color: #059669; }
.cc-badge-sm {
  display: inline-block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 3px;
}
.cc-badge-sm.es { background: #fef2f2; color: #dc2626; }
.cc-badge-sm.mr { background: #fff7ed; color: #ea580c; }
.cc-badge-sm.claim {
  background: #fef3c7;
  color: #b45309;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  margin-top: 3px;
}
.cc-pin {
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.35;
  font-size: 11px;
  padding: 0;
}
.cc-row:hover .cc-pin,
.cc-pin.on { opacity: 1; }

/* Chat */
.cc-chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}
.cc-chat-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: inherit;
}
.cc-chat-id-text b {
  display: block;
  font-size: 12px;
  color: #0f172a;
}
.cc-chat-id-text small {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-top: 1px;
}
.cc-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.cc-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  height: 28px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.cc-btn.em { border-color: #6ee7b7; color: #059669; }
.cc-btn.ind { border-color: #a5b4fc; color: #4338ca; }
.cc-btn.danger { border-color: #fca5a5; color: #dc2626; }
.cc-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.cc-status-banner {
  padding: 6px 10px;
  font-size: 10px;
  background: #eef2ff;
  color: #4338ca;
  border-bottom: 1px solid #e0e7ff;
  flex-shrink: 0;
  display: none;
}
.cc-status-banner.show { display: block; }
.cc-status-banner.pending { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.cc-status-banner.mr { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.cc-status-banner.other { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.cc-status-banner button {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #6ee7b7;
  background: #fff;
  color: #047857;
  border-radius: 6px;
  padding: 2px 8px;
  cursor: pointer;
  font-family: inherit;
}
.cc-chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f8fafc;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cc-chat-scroll.short { min-height: 160px; max-height: 240px; }
.cc-msg {
  max-width: min(78%, 420px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: flex-start;
  width: fit-content;
}
.cc-msg.out {
  align-self: flex-end;
}
/* cc-bubble: jangan pakai class .bubble (landing = bulat 34px absolute) */
.cc-msg .cc-bubble {
  position: static;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 0;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-sizing: border-box;
}
.cc-msg.out .cc-bubble {
  background: #eef2ff;
  border-color: #e0e7ff;
}
.cc-msg.agent .cc-bubble {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.cc-msg.mr .cc-bubble {
  background: #fff7ed;
  border-color: #fed7aa;
}
.cc-msg.blocked .cc-bubble {
  background: #fef2f2;
  border-color: #fecaca;
}
.cc-msg .meta {
  font-size: 9px;
  color: #94a3b8;
  display: flex;
  gap: 6px;
  align-items: center;
}
.cc-msg.out .meta { justify-content: flex-end; }
.cc-ai-badge {
  font-size: 8px;
  font-weight: 900;
  color: #4f46e5;
  letter-spacing: 0.04em;
}
.cc-ai-badge.guard { color: #b91c1c; }
.cc-scenario-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  font-size: 10px;
  color: #64748b;
  flex-shrink: 0;
}
.cc-jasmine-journey {
  padding: 9px 12px 8px;
  border-bottom: 1px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  flex-shrink: 0;
}
.cc-jasmine-intro {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-jasmine-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.22);
}
.cc-jasmine-intro > div { min-width: 0; }
.cc-jasmine-intro b,
.cc-jasmine-intro small { display: block; }
.cc-jasmine-intro b { color: #1e293b; font-size: 11px; }
.cc-jasmine-intro small { color: #64748b; font-size: 9px; }
.cc-jasmine-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #047857;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.cc-jasmine-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.cc-jasmine-scenarios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 7px;
}
.cc-jasmine-scenarios button {
  min-width: 0;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #c7d2fe;
  border-radius: 7px;
  color: #4338ca;
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}
.cc-jasmine-scenarios button span {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #818cf8;
  font-size: 8px;
}
.cc-jasmine-scenarios button:hover,
.cc-jasmine-scenarios button.active {
  color: #fff;
  border-color: #4f46e5;
  background: #4f46e5;
}
.cc-jasmine-scenarios button.active span { color: #4338ca; background: #fff; }
.cc-jasmine-journey > p {
  margin: 6px 0 0;
  color: #475569;
  font-size: 9px;
  line-height: 1.35;
}
.cc-scenario-strip button {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.cc-scenario-strip button.danger {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}
.cc-aksi-cepat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  overflow-x: auto;
  flex-shrink: 0;
}
.cc-aksi-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  white-space: nowrap;
}
.cc-aksi-cepat button {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 26px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.cc-composer {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  padding: 8px 10px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}
.cc-composer-tools {
  display: flex;
  gap: 4px;
  opacity: 0.4;
  font-size: 14px;
  padding-bottom: 8px;
}
.cc-composer textarea {
  flex: 1;
  min-height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  font-size: 11px;
  resize: none;
  font-family: inherit;
}
.cc-composer button[type="submit"] {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

/* Context panel */
.cc-ctx-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.cc-ctx-tabs button {
  flex: 1;
  border: 0;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  padding: 9px 4px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.cc-ctx-tabs button.active {
  color: #4338ca;
  border-bottom-color: #4f46e5;
}
.cc-ctx-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding-bottom: 12px;
}
.cc-card {
  margin: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}
.cc-card.dashed {
  border-style: dashed;
}
.cc-card.mr-tip {
  border-color: #fdba74;
  background: #fff7ed;
}
.cc-card h4 {
  margin: 0 0 6px;
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.cc-card p {
  margin: 0;
  font-size: 11px;
  color: #0f172a;
  line-height: 1.4;
}
.cc-card p.muted,
.cc-card .muted {
  color: #94a3b8;
  font-style: italic;
}
.cc-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.cc-priority {
  font-size: 9px;
  font-weight: 800;
  background: #e0e7ff;
  color: #4338ca;
  border-radius: 999px;
  padding: 2px 8px;
}
.cc-pipeline {
  display: flex;
  gap: 4px;
}
.cc-pipeline i {
  flex: 1;
  text-align: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 2px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #94a3b8;
}
.cc-pipeline i.done { background: #d1fae5; color: #059669; }
.cc-pipeline i.cur { background: #fee2e2; color: #dc2626; }
.cc-timeline {
  padding: 10px 12px 10px 18px;
  border-left: 2px solid #e2e8f0;
  margin: 10px 14px;
}
.cc-timeline-item {
  position: relative;
  margin-bottom: 12px;
  font-size: 10px;
  color: #475569;
}
.cc-timeline-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #4f46e5;
  border-radius: 999px;
  position: absolute;
  left: -23px;
  top: 3px;
}
.cc-timeline-item b {
  display: block;
  color: #0f172a;
  font-size: 11px;
  margin-bottom: 2px;
}
.cc-trace-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
}
.cc-trace-head b { display: block; font-size: 11px; color: #334155; }
.cc-trace-head span { font-size: 9px; color: #94a3b8; }
.cc-context .omni-trace-summary,
.cc-context .omni-reasoning-flow,
.cc-context .omni-eval-card,
.cc-context .omni-sandbox-note {
  margin: 8px 10px;
}

/* Modals */
.cc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 16px;
}
.cc-modal-backdrop[hidden] { display: none !important; }
.cc-modal {
  position: relative;
  width: min(420px, 100%);
  max-height: min(85vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}
.cc-modal.wide { width: min(760px, 100%); }
.cc-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
}
.cc-modal-kicker {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #4f46e5;
  margin-bottom: 6px;
}
.cc-modal h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f172a;
}
.cc-modal > p {
  margin: 0 0 12px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.cc-field {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
}
.cc-field input,
.cc-field select,
.cc-field textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  font-family: inherit;
  font-weight: 500;
}
.cc-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.cc-sim-result,
.cc-falcon-answer {
  font-size: 12px;
  line-height: 1.5;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
}
.cc-inv-list {
  display: grid;
  gap: 8px;
}
.cc-inv-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
}
.cc-inv-item b { display: block; margin-bottom: 2px; }
.cc-inv-item span { color: #64748b; font-size: 11px; }
.cc-tutorial-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0;
}
.cc-tutorial-steps span {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
}
.cc-tutorial-steps span.on {
  background: #eef2ff;
  color: #4338ca;
}
.cc-mr-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-right: 24px;
}
.cc-mr-top p { margin: 4px 0 0; font-size: 12px; color: #64748b; }
.cc-mr-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
}
.cc-mr-chat {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  min-height: 0;
}
.cc-mr-side {
  border-left: 1px solid #e2e8f0;
  background: #fff;
  overflow-y: auto;
}
.cc-role-list {
  margin: 0;
  padding-left: 16px;
  font-size: 11px;
  color: #475569;
  line-height: 1.45;
}
.cc-empty {
  padding: 24px 12px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}
.cc-context.is-hidden {
  display: none;
}
.cc-shell.context-hidden {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
}

@media (max-width: 960px) {
  .cc-product-demo .demo-app.cc-app {
    height: 100%;
    max-height: none;
  }
  .cc-shell {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .cc-queue { max-height: 40vh; }
  .cc-chat { min-height: 50vh; }
  .cc-context { min-height: 40vh; }
  .cc-shell.context-hidden { grid-template-columns: 1fr; }
  .cc-mr-layout { grid-template-columns: 1fr; }
  .cc-topbar { flex-direction: column; align-items: flex-start; }
  .cc-jasmine-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-jasmine-scenarios button { min-height: 40px; font-size: 10px; }
}

@media (max-width: 480px) {
  .cc-jasmine-intro { align-items: flex-start; }
  .cc-jasmine-live { font-size: 0; margin-top: 7px; }
  .cc-jasmine-intro small { line-height: 1.3; }
}

/* —— Halaman detail fitur (ala qontak.com/fitur/*) —— */
.feature-detail-page {
  background: #fff;
}

.feature-page-hero {
  padding: 110px 0 48px;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(25, 103, 242, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #fff 100%);
  border-bottom: 1px solid #e8eef6;
}

.feature-breadcrumb {
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
}

.feature-breadcrumb a {
  color: #2c76ed;
  font-weight: 600;
}

.feature-breadcrumb .crumb-sep {
  margin: 0 6px;
  color: #94a3b8;
}

.feature-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.feature-badge.muted {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

.feature-badge.new {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.feature-page-hero h1 {
  margin: 0 0 14px;
  max-width: 820px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #081833;
}

.feature-hero-desc {
  margin: 0 0 22px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
}

.feature-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-source-note {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
}

.feature-page-section {
  padding: 56px 0;
}

.feature-page-section.alt {
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.feature-section-head {
  margin-bottom: 28px;
}

.feature-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-cap-card {
  background: #fff;
  border: 1px solid #e2ebf6;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.feature-cap-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.feature-cap-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #536175;
}

.feature-two-col {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.feature-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.feature-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #2c76ed;
}

.feature-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #0f172a;
}

.feature-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
}

.feature-benefits-panel {
  background: #0b1220;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #1e293b;
}

.feature-benefits-panel h3 {
  margin: 0 0 14px;
  font-size: 17px;
  color: #fff;
}

.feature-benefits {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #cbd5e1;
}

.feature-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-related-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e2ebf6;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-related-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(18, 103, 245, 0.08);
}

.feature-related-card strong {
  font-size: 14px;
  color: #0f172a;
}

.feature-related-card span {
  font-size: 12.5px;
  line-height: 1.45;
  color: #64748b;
}

.feature-page-cta {
  padding: 48px 0 72px;
  background: linear-gradient(135deg, #1967f2, #0a54d2);
  color: #fff;
}

.feature-page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.feature-page-cta h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.feature-page-cta p {
  margin: 0;
  opacity: 0.92;
  font-size: 14px;
}

.feature-index-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-index-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2ebf6;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.feature-index-list a:hover {
  border-color: #93c5fd;
}

.feature-index-list strong {
  color: #1267f5;
}

@media (max-width: 900px) {
  .feature-cap-grid,
  .feature-two-col,
  .feature-related-grid {
    grid-template-columns: 1fr;
  }

  .feature-page-hero {
    padding-top: 96px;
  }
}

/* Screenshot produk asli pada hero halaman detail fitur. */
.feature-product-preview {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 28px 0 34px 24px;
}

.feature-preview-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(126, 153, 193, 0.38);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(24, 54, 105, 0.2), 0 8px 22px rgba(24, 54, 105, 0.09);
}

.feature-preview-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 45px;
  padding: 0 15px;
  border-bottom: 1px solid #e4eaf2;
  background: #fbfdff;
  color: #405169;
  font-size: 10px;
}

.feature-preview-topbar > strong {
  color: #203047;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.feature-preview-dots {
  display: flex;
  gap: 5px;
}

.feature-preview-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c6d1df;
}

.feature-preview-dots i:first-child {
  background: #fb7b6a;
}

.feature-preview-dots i:nth-child(2) {
  background: #f3c44f;
}

.feature-preview-dots i:last-child {
  background: #25bb83;
}

.feature-preview-status {
  display: inline-flex;
  justify-self: end;
  gap: 6px;
  align-items: center;
  color: #64748b;
}

.feature-preview-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16b981;
  box-shadow: 0 0 0 3px rgba(22, 185, 129, 0.12);
}

.feature-preview-image-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f8fafc;
}

.feature-preview-image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.3);
}

.feature-preview-image-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.feature-preview-image-shell.is-wide img {
  object-fit: contain;
  object-position: center;
}

.feature-preview-window figcaption {
  margin: 0;
  padding: 9px 15px 10px;
  border-top: 1px solid #e7edf5;
  background: #fff;
  color: #718198;
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 900px) {
  .feature-product-preview {
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .feature-preview-topbar {
    grid-template-columns: 1fr auto;
  }

  .feature-preview-status {
    display: none;
  }

  .feature-preview-window figcaption {
    text-align: left;
  }
}

/* Semua visual fitur unggulan menggunakan capture antarmuka produk Motovax. */
.feature-showcase-preview {
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
}

.feature-showcase-preview-window {
  overflow: hidden;
  border: 1px solid rgba(112, 139, 181, 0.3);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(35, 63, 105, 0.16);
}

.feature-showcase-preview-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-bottom: 1px solid #e7edf5;
  background: #fbfdff;
  color: #64748b;
  font-size: 9px;
  font-style: normal;
}

.feature-showcase-preview-topbar > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.feature-showcase-preview-topbar > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--feature-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--feature-accent) 13%, transparent);
}

.feature-showcase-preview-topbar > strong {
  color: #25364e;
  font-size: 10px;
}

.feature-showcase-preview-topbar > em {
  justify-self: end;
  color: #718096;
  font-size: 9px;
  font-style: normal;
}

.feature-showcase-preview-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f8fafc;
}

.feature-showcase-preview-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.28);
}

.feature-showcase-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-showcase-preview-image.is-wide img {
  object-fit: contain;
  object-position: center;
}

.feature-showcase-preview-window figcaption {
  margin: 0;
  padding: 10px 13px 11px;
  border-top: 1px solid #e7edf5;
  color: #65768d;
  font-size: 10px;
  line-height: 1.45;
}

.feature-showcase-preview-window figcaption:has(button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-showcase-preview-window figcaption button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #1267f5;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.feature-showcase-preview-window figcaption button:hover,
.feature-showcase-preview-window figcaption button:focus-visible {
  text-decoration: underline;
}

body.feature-image-open { overflow: hidden; }
.feature-image-modal[hidden] { display: none; }
.feature-image-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 34px);
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(5px);
}
.feature-image-modal-panel {
  width: min(1440px, 96vw);
  max-height: 94vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
}
.feature-image-modal-panel > header {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px 9px 18px;
  border-bottom: 1px solid #e2e8f0;
}
.feature-image-modal-panel > header div { min-width: 0; }
.feature-image-modal-panel > header span { display: block; color: #1267f5; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.feature-image-modal-panel > header strong { display: block; overflow: hidden; color: #0f172a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.feature-image-modal-panel > header button {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #475569;
  background: #f1f5f9;
  font-size: 25px;
  cursor: pointer;
}
.feature-image-modal-scroll {
  max-height: calc(94vh - 58px);
  overflow: auto;
  background: #e2e8f0;
}
.feature-image-modal-scroll img {
  display: block;
  width: 100%;
  min-width: min(100%, 900px);
  height: auto;
  margin: 0 auto;
}

@media (max-width: 520px) {
  .feature-showcase-preview-topbar {
    grid-template-columns: 1fr auto;
  }

  .feature-showcase-preview-topbar > em {
    display: none;
  }

  .feature-showcase-preview-window figcaption:has(button) {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-image-modal { padding: 8px; }
  .feature-image-modal-panel { width: 100%; max-height: 96vh; border-radius: 13px; }
  .feature-image-modal-scroll { max-height: calc(96vh - 58px); }
  .feature-image-modal-scroll img { width: auto; min-width: 100%; max-width: none; height: auto; }
}

@media (max-width: 1100px) {
  .contact-hero-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
    gap: 30px 40px;
  }

  .contact-intro h1 {
    font-size: clamp(38px, 4.8vw, 52px);
  }
}

@media (max-width: 900px) {
  .contact-hero {
    padding: 54px 0 72px;
  }

  .contact-hero-grid,
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-grid {
    grid-template-areas:
      "intro"
      "form"
      "channels";
    gap: 28px;
  }

  .contact-intro {
    padding-top: 0;
  }

  .contact-intro h1,
  .contact-intro > p {
    max-width: 720px;
  }

  .contact-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-point {
    grid-template-columns: 42px 1fr;
    align-items: start;
  }

  .contact-point > i {
    display: none;
  }

  .contact-step-grid {
    grid-template-columns: 1fr;
  }

  .contact-step-grid article {
    min-height: 0;
  }

  .contact-step-grid h3 {
    margin-top: 26px;
  }

  .contact-faq-grid {
    gap: 36px;
  }
}

@media (max-width: 700px) {
  .contact-page .header-inner {
    grid-template-columns: 1fr auto auto;
    min-height: 62px;
    gap: 16px;
  }

  .contact-page .brand-logo {
    height: 30px;
  }

  .contact-page .header-cta {
    display: inline-flex;
    min-height: 38px;
    padding: 9px 13px;
    font-size: 11px;
  }

  .contact-hero {
    padding: 34px 0 56px;
  }

  .contact-hero-grid {
    gap: 24px;
  }

  .contact-intro .eyebrow {
    padding: 6px 10px;
    font-size: 10px;
  }

  .contact-intro h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 9.3vw, 42px);
    line-height: 1.07;
    letter-spacing: -0.04em;
  }

  .contact-intro > p {
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-points {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px 20px;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(17, 47, 94, 0.12);
  }

  .contact-form-heading h2 {
    margin-top: 8px;
    font-size: 25px;
  }

  .contact-form {
    margin-top: 22px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-wide {
    grid-column: auto;
  }

  .contact-expectations,
  .contact-faq {
    padding: 58px 0;
  }

  .contact-section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .contact-section-heading h2,
  .contact-faq h2 {
    font-size: 30px;
  }

  .contact-step-grid {
    gap: 12px;
  }

  .contact-step-grid article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 7px 14px;
    padding: 20px;
    border-radius: 16px;
  }

  .contact-step-grid article > span {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
  }

  .contact-step-grid h3 {
    margin: 0;
    font-size: 17px;
  }

  .contact-step-grid p {
    grid-column: 2;
  }

  .contact-faq-grid {
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .contact-page .header-cta {
    padding-inline: 13px;
  }

  .contact-page .header-cta .header-cta-full,
  .contact-page .header-cta > span:last-child {
    display: none;
  }

  .contact-channels > p {
    margin-bottom: 10px;
  }

  .contact-step-grid article {
    padding: 18px;
  }

  .contact-faq-list summary {
    padding-block: 17px;
  }
}

/* ==========================================================================
   Public onboarding (self-serve) + landing header CTAs
   ========================================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-login {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.header-actions .header-cta {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.closing-actions .btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.closing-actions .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.onboarding-body {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(23, 200, 238, 0.14), transparent 62%),
    radial-gradient(720px 400px at 8% 12%, rgba(18, 103, 245, 0.1), transparent 60%),
    linear-gradient(180deg, #f7fafd 0%, #ffffff 48%, #f9fcff 100%);
}

.onboarding-header .header-inner,
.onboarding-header-inner {
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.onboarding-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Wordmark header onboarding: tanpa garis biru (swoosh) di bawah logo */
.onboarding-header .brand:not(:has(.brand-logo))::after,
.onboarding-header .mini-brand:not(:has(.brand-logo))::after {
  content: none;
}

.onboarding-link-muted {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.onboarding-link-muted:hover {
  color: var(--blue);
}

.onboarding-page {
  padding: 36px 0 56px;
}

.onboarding-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.onboarding-aside {
  position: sticky;
  top: 96px;
  padding: 8px 8px 8px 0;
}

.onboarding-aside h1 {
  margin: 22px 0 14px;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.onboarding-aside h1 span {
  color: var(--blue);
}

.onboarding-aside > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 420px;
}

.onboarding-rail {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.onboarding-rail li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #647084;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.onboarding-rail li i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef3fb;
  color: #647084;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.onboarding-rail li b {
  display: block;
  font-size: 14px;
  color: #172236;
}

.onboarding-rail li small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #8a96a8;
}

.onboarding-rail li.is-active {
  border-color: #d7e6ff;
  background: linear-gradient(180deg, #fff, #f4f8ff);
  box-shadow: var(--shadow-soft);
}

.onboarding-rail li.is-active i {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b4ccb);
}

.onboarding-rail li.is-done i {
  color: #0f766e;
  background: #d1fae5;
}

.onboarding-aside-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.onboarding-aside-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.onboarding-aside-points li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f766e;
  background: #d1fae5;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-aside-points b {
  display: block;
  font-size: 13px;
  color: #172236;
}

.onboarding-aside-points small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.onboarding-panel {
  position: relative;
  min-height: 560px;
  padding: 28px 28px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.onboarding-progress {
  height: 4px;
  margin: -28px -28px 22px;
  background: #edf2f9;
}

.onboarding-progress-bar {
  height: 100%;
  width: var(--p, 25%);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.28s ease;
}

.onboarding-step-head {
  margin-bottom: 20px;
}

.onboarding-step-head > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.onboarding-step-head h2 {
  margin: 8px 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.onboarding-step-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 520px;
}

.onboarding-auth-tabs {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6f9fd;
  gap: 4px;
}

.onboarding-auth-tabs button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #526074;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.onboarding-auth-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b4ccb);
  box-shadow: 0 8px 18px rgba(18, 103, 245, 0.2);
}

.onboarding-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.onboarding-auth-divider::before,
.onboarding-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.onboarding-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #d7e2ef;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.onboarding-google-btn:hover {
  border-color: rgba(18, 103, 245, 0.45);
  box-shadow: 0 8px 20px rgba(18, 103, 245, 0.12);
}

.onboarding-google-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.onboarding-google-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed rgba(18, 103, 245, 0.4);
  border-radius: 12px;
  background: rgba(18, 103, 245, 0.05);
}

.onboarding-google-panel[hidden] {
  display: none !important;
}

.onboarding-google-note {
  margin: 0;
  color: #526074;
  font-size: 12.5px;
  line-height: 1.5;
}

.onboarding-form {
  display: grid;
  gap: 14px;
}

/* display:grid di atas menimpa UA [hidden]; wajib force-hide */
.onboarding-form[hidden],
.onboarding-step[hidden] {
  display: none !important;
}

.onboarding-form label {
  display: grid;
  gap: 6px;
}

.onboarding-form label > span {
  color: #526074;
  font-size: 12px;
  font-weight: 700;
}

.onboarding-form label > span em {
  color: #94a3b8;
  font-style: normal;
  font-weight: 600;
}

.onboarding-form input,
.onboarding-form select,
.onboarding-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d7e2ef;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.onboarding-form textarea {
  min-height: 72px;
  resize: vertical;
  line-height: 1.5;
}

.onboarding-form input:focus,
.onboarding-form select:focus,
.onboarding-form textarea:focus {
  outline: 0;
  border-color: #8bb6ff;
  box-shadow: 0 0 0 3px rgba(18, 103, 245, 0.12);
}

.onboarding-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.onboarding-form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
  background: #fef2f2;
  font-size: 13px;
  font-weight: 600;
}

.onboarding-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
  padding-top: 8px;
}

.onboarding-hint {
  margin-right: auto;
  max-width: 280px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.onboarding-choice-field,
.onboarding-goal-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.onboarding-choice-field legend,
.onboarding-goal-field legend {
  margin-bottom: 10px;
  color: #526074;
  font-size: 12px;
  font-weight: 700;
}

.onboarding-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.onboarding-choice-card {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 104px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: inherit;
  background: linear-gradient(180deg, #fff, #f8fafc);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.onboarding-choice-card:hover {
  border-color: #a8c7ff;
  transform: translateY(-1px);
}

.onboarding-choice-card.is-active {
  border-color: #7aa8ff;
  background: #f3f8ff;
  box-shadow: 0 0 0 3px rgba(18, 103, 245, 0.1);
}

.onboarding-choice-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #e8f0ff;
  font-size: 10px;
  font-weight: 900;
}

.onboarding-choice-card b {
  font-size: 13px;
  color: #172236;
}

.onboarding-choice-card small {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.4;
}

.onboarding-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.onboarding-module-card {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 4px;
  align-content: start;
  min-height: 96px;
  padding: 14px 14px 14px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.onboarding-module-card:has(input:checked) {
  border-color: #7aa8ff;
  background: #f3f8ff;
  box-shadow: 0 0 0 3px rgba(18, 103, 245, 0.1);
}

.onboarding-module-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.onboarding-module-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
}

.onboarding-module-card:has(input:checked) .onboarding-module-check {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 2px #fff;
}

.onboarding-module-icon {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--blue);
  background: #e8f0ff;
  font-size: 10px;
  font-weight: 900;
  align-self: start;
}

.onboarding-module-card b {
  padding-right: 22px;
  font-size: 13px;
  color: #172236;
}

.onboarding-module-card small {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.4;
}

.onboarding-goal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.onboarding-goal-chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d7e2ef;
  border-radius: 999px;
  color: #475569;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.onboarding-goal-chip.is-active {
  color: #0b4ccb;
  border-color: #a8c7ff;
  background: #edf4ff;
}

.onboarding-success-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(18, 103, 245, 0.1), transparent 60%),
    linear-gradient(180deg, #fff, #f8fafc);
}

.onboarding-success-hero h3 {
  margin: 10px 0 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.onboarding-success-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.onboarding-success-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #0f766e;
  background: #d1fae5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.onboarding-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.onboarding-summary-grid div {
  padding: 12px;
  border: 1px solid #e8eef6;
  border-radius: 10px;
  background: #fff;
}

.onboarding-summary-grid dt {
  margin: 0 0 4px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onboarding-summary-grid dd {
  margin: 0;
  color: #172236;
  font-size: 14px;
  font-weight: 700;
}

.onboarding-summary-label {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onboarding-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.onboarding-summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #0b4ccb;
  background: #edf4ff;
  border: 1px solid #d7e6ff;
  font-size: 12px;
  font-weight: 700;
}

.onboarding-ready-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.onboarding-reset-link {
  margin-left: auto;
  padding: 0;
  border: 0;
  color: #647084;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.onboarding-reset-link:hover {
  color: var(--blue);
}

.onboarding-footer {
  padding: 8px 0 32px;
  color: #94a3b8;
  font-size: 12px;
}

.onboarding-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.onboarding-footer a {
  color: #647084;
  font-weight: 600;
}

.onboarding-footer a:hover {
  color: var(--blue);
}

.onboarding-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid #d7e6ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.onboarding-toast[hidden] {
  display: none !important;
}

.onboarding-toast > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f766e;
  background: #d1fae5;
  font-weight: 900;
  flex-shrink: 0;
}

.onboarding-toast b {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.onboarding-toast p {
  margin: 2px 0 0;
  color: #647084;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .onboarding-shell {
    grid-template-columns: 1fr;
  }

  .onboarding-aside {
    position: static;
  }

  .onboarding-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding-aside-points {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-actions {
    gap: 6px;
  }

  .header-login {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .header-actions .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .header-actions .header-cta span {
    display: none;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .closing-actions {
    width: 100%;
  }

  .closing-actions .btn {
    flex: 1 1 auto;
  }

  .road-car {
    display: none;
  }

  .onboarding-form-row,
  .onboarding-choice-grid,
  .onboarding-module-grid,
  .onboarding-summary-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-panel {
    padding: 20px 16px 16px;
  }

  .onboarding-progress {
    margin: -20px -16px 18px;
  }

  .onboarding-step-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .onboarding-hint {
    margin-right: 0;
    max-width: none;
    text-align: center;
  }

  .onboarding-ready-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .onboarding-reset-link {
    margin-left: 0;
    text-align: center;
  }

  .onboarding-rail {
    grid-template-columns: 1fr;
  }

  .onboarding-header-actions .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  /* Keep onboarding CTAs visible on landing; override global hide of .header-cta */
  .header-actions .header-cta {
    display: inline-flex;
  }
}
