/* Genesis Dashboard token overlay — load after styles.css. Do not edit styles.css. */

:root,
[data-bs-theme="light"] {
  --gd-brand: #13695c;
  --gd-brand-rgb: 19, 105, 92;
  --gd-ink: #0f1f2d;
  --gd-cta: #f06b2d;
  --gd-cta-rgb: 240, 107, 45;
  --gd-brand-hover: #0c4e45;
  --gd-bg: #f7f8f6;
  --gd-surface: #ffffff;
  --gd-surface-muted: #eff3f2;
  --gd-ink-muted: #5e6f7a;

  --bs-primary: var(--gd-brand);
  --bs-primary-rgb: var(--gd-brand-rgb);
  --bs-primary-bg-subtle: rgba(19, 105, 92, 0.1);
  --bs-link-color: var(--gd-brand);
  --bs-link-hover-color: var(--gd-brand-hover);
  --bs-font-sans-serif: "Plus Jakarta Sans", system-ui, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-bg: var(--gd-bg);
  --bs-body-color: var(--gd-ink);
  --bs-heading-color: var(--gd-ink);
  --bs-secondary-color: var(--gd-ink-muted);
  --bs-border-color: #dce6e3;
  --bs-emphasis-color: var(--gd-ink);
  --bs-card-bg: var(--gd-surface);
}

html,
body {
  /* The vendor body rule is !important; preserve the approved Genesis font. */
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  background: var(--gd-bg);
  color: var(--gd-ink);
}

h1, h2, h3, h4, h5, h6,
.card-title,
.navbar-brand {
  color: var(--gd-ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

a:not(.btn) {
  color: var(--gd-brand);
}

.text-primary,
.sidebar-link.active,
.sidebar-item .sidebar-link:hover {
  color: var(--gd-brand) !important;
}

.btn-primary {
  --bs-btn-bg: var(--gd-cta);
  --bs-btn-border-color: var(--gd-cta);
  --bs-btn-hover-bg: #d85e24;
  --bs-btn-hover-border-color: #d85e24;
  --bs-btn-active-bg: #c4541f;
  --bs-btn-active-border-color: #c4541f;
  --bs-btn-color: #fff;
  background-color: var(--gd-cta);
  border-color: var(--gd-cta);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #d85e24;
  border-color: #d85e24;
  color: #fff;
}

.btn-outline-primary {
  --bs-btn-color: var(--gd-brand);
  --bs-btn-border-color: var(--gd-brand);
  --bs-btn-hover-bg: var(--gd-brand);
  --bs-btn-hover-border-color: var(--gd-brand);
  --bs-btn-hover-color: #fff;
  color: var(--gd-brand);
  border-color: var(--gd-brand);
}

.card,
.auth-card,
.topbar,
.sidebar-nav {
  background-color: var(--gd-surface);
}

html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .auth-card,
html[data-bs-theme="dark"] .topbar,
html[data-bs-theme="dark"] .sidebar-nav,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .modal-content {
  background-color: var(--gd-surface) !important;
  color: var(--gd-ink) !important;
}

/* Mini-nav = brand rail. Second-level .sidebarmenu stays the light work surface. */
.side-mini-panel {
  background: var(--gd-ink) !important;
}

.side-mini-panel .mini-nav,
.side-mini-panel .mini-nav .simplebar-content,
.side-mini-panel .mini-nav .simplebar-content-wrapper {
  background: var(--gd-ink) !important;
}

.side-mini-panel .mini-nav .mini-nav-item > a {
  background: transparent !important;
  margin-bottom: 0.35rem;
}

.side-mini-panel .mini-nav .mini-nav-item > a:hover:before {
  background: rgba(255, 255, 255, 0.08) !important;
}

.side-mini-panel .mini-nav {
  border-right: 1px solid rgba(247, 248, 246, 0.06);
}

.side-mini-panel .mini-nav .sidebar-divider {
  width: 22px;
  height: 1px;
  margin: 0.85rem auto;
  background: rgba(247, 248, 246, 0.14);
  border: 0;
  opacity: 1;
}

.side-mini-panel .mini-nav .brand-logo .nav-link,
.side-mini-panel .mini-nav .mini-nav-item > a iconify-icon {
  color: rgba(247, 248, 246, 0.78) !important;
}

.side-mini-panel .mini-nav .mini-nav-item > a:hover iconify-icon,
.side-mini-panel .mini-nav .brand-logo .nav-link:hover iconify-icon {
  color: #fff !important;
}

.side-mini-panel .mini-nav .mini-nav-item.selected > a iconify-icon {
  color: #fff !important;
}

.side-mini-panel .mini-nav .mini-nav-item.selected > a:before {
  background: var(--gd-brand) !important;
}

.side-mini-panel .sidebartoggler {
  color: rgba(247, 248, 246, 0.78) !important;
}

.side-mini-panel .sidebarmenu,
.side-mini-panel .sidebarmenu .sidebar-nav {
  background: var(--gd-surface) !important;
}

@media (max-width: 991.98px) {
  .side-mini-panel {
    width: 64px !important;
  }

  .body-wrapper,
  .page-wrapper {
    margin-left: 64px !important;
  }

  .side-mini-panel .sidebarmenu {
    position: fixed !important;
    left: 64px !important;
    top: 0;
    bottom: 0;
    width: min(260px, calc(100vw - 72px));
    z-index: 1040;
    box-shadow: 16px 0 40px rgba(15, 31, 45, 0.2);
  }
}

html[data-bs-theme="dark"] .card {
  border-color: var(--bs-border-color) !important;
}

html[data-bs-theme="dark"] .topbar {
  background: var(--gd-surface) !important;
}

html[data-bs-theme="dark"] .body-wrapper,
html[data-bs-theme="dark"] .page-wrapper,
html[data-bs-theme="dark"] #main-wrapper {
  background: var(--gd-bg) !important;
}

html[data-bs-theme="dark"] .apexcharts-legend-text,
html[data-bs-theme="dark"] .apexcharts-text,
html[data-bs-theme="dark"] .apexcharts-yaxis text,
html[data-bs-theme="dark"] .apexcharts-xaxis text {
  fill: #8a9aa3 !important;
}

html[data-bs-theme="dark"] .apexcharts-gridline {
  stroke: #2a3a42 !important;
}

html[data-bs-theme="dark"] .apexcharts-tooltip.apexcharts-theme-light {
  background: #151e24 !important;
  border-color: #2a3a42 !important;
  color: #e8eef0 !important;
}

.card {
  border: 1px solid var(--bs-border-color);
  box-shadow: none;
  border-radius: 12px;
}

.body-wrapper,
.page-wrapper,
#main-wrapper {
  background: var(--gd-bg);
}

/* Full-width from first paint — do not inset .body-wrapper like a boxed stage */
.body-wrapper {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  background: var(--gd-bg) !important;
  min-height: calc(100vh - 72px);
}

.page-wrapper {
  background: var(--gd-bg) !important;
}

.form-control,
.form-select {
  background-color: var(--gd-surface-muted);
  border-color: var(--bs-border-color);
  color: var(--gd-ink);
}

.form-control:focus {
  border-color: var(--gd-brand);
  box-shadow: 0 0 0 0.2rem rgba(19, 105, 92, 0.15);
}

.logo-img img,
.navbar-brand img {
  height: 32px;
  width: auto;
}

.gd-kpi {
  background: var(--gd-surface-muted);
  border: 0;
}

.gd-hero {
  background: var(--gd-brand-hover);
  color: #fff;
  border: 0;
}

.gd-hero h1,
.gd-hero h2,
.gd-hero h3,
.gd-hero p,
.gd-hero span {
  color: #fff;
}

.gd-hero .text-muted,
.gd-hero .text-dark-light {
  color: rgba(255, 255, 255, 0.72) !important;
}

.radial-gradient {
  background: var(--gd-bg) !important;
}

.gd-auth-panel {
  background: var(--gd-brand-hover) !important;
}

.sidebar-item .sidebar-link.active {
  background: rgba(19, 105, 92, 0.1);
}

.logo-img img,
.navbar-brand img {
  height: 32px;
  width: auto;
}

.preloader {
  background: var(--gd-bg);
}

.badge-gd {
  background: rgba(19, 105, 92, 0.12);
  color: var(--gd-brand);
  font-weight: 600;
}

.badge-gd-cta {
  background: rgba(240, 107, 45, 0.12);
  color: var(--gd-cta);
  font-weight: 600;
}

.table > :not(caption) > * > * {
  background: transparent;
  color: var(--gd-ink);
}

.text-muted,
.text-dark-light,
.text-body-secondary {
  color: var(--gd-ink-muted) !important;
}

html[data-bs-theme="light"][data-color-theme="Blue_Theme"]:root,
html[data-bs-theme="light"][data-color-theme="Aqua_Theme"]:root,
html[data-bs-theme="light"][data-color-theme="Purple_Theme"]:root,
html[data-bs-theme="light"][data-color-theme="Green_Theme"]:root,
html[data-bs-theme="light"][data-color-theme="Cyan_Theme"]:root,
html[data-bs-theme="light"][data-color-theme="Orange_Theme"]:root {
  --bs-primary: #13695c !important;
  --bs-primary-rgb: 19, 105, 92 !important;
  --bs-primary-bg-subtle: rgba(19, 105, 92, 0.1) !important;
  --bs-link-color: #13695c !important;
  --bs-body-bg: #f7f8f6 !important;
  --bs-body-color: #0f1f2d !important;
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"][data-color-theme="Blue_Theme"],
html[data-bs-theme="dark"][data-color-theme="Aqua_Theme"],
html[data-bs-theme="dark"][data-color-theme="Purple_Theme"],
html[data-bs-theme="dark"][data-color-theme="Green_Theme"],
html[data-bs-theme="dark"][data-color-theme="Cyan_Theme"],
html[data-bs-theme="dark"][data-color-theme="Orange_Theme"] {
  --gd-bg: #0b1419;
  --gd-surface: #151e24;
  --gd-surface-muted: #1c282e;
  --gd-ink: #e8eef0;
  --gd-ink-muted: #8a9aa3;
  --gd-brand: #3d9a8a;
  --bs-body-bg: #0b1419 !important;
  --bs-body-color: #e8eef0 !important;
  --bs-heading-color: #e8eef0 !important;
  --bs-border-color: #2a3a42 !important;
  --bs-primary: #3d9a8a !important;
  --bs-primary-rgb: 61, 154, 138 !important;
  --bs-primary-bg-subtle: rgba(61, 154, 138, 0.16) !important;
  --bs-link-color: #3d9a8a !important;
  --bs-card-bg: #151e24 !important;
  --bs-tertiary-bg: #1c282e;
  color-scheme: dark;
}

html[data-bs-theme="light"][data-color-theme="Blue_Theme"]:root .btn-primary,
html[data-bs-theme="light"][data-color-theme="Aqua_Theme"]:root .btn-primary,
html[data-bs-theme="light"][data-color-theme="Purple_Theme"]:root .btn-primary,
html[data-bs-theme="light"][data-color-theme="Green_Theme"]:root .btn-primary,
html[data-bs-theme="light"][data-color-theme="Cyan_Theme"]:root .btn-primary,
html[data-bs-theme="light"][data-color-theme="Orange_Theme"]:root .btn-primary {
  --bs-btn-bg: #f06b2d !important;
  --bs-btn-border-color: #f06b2d !important;
  --bs-btn-hover-bg: #d85e24 !important;
  --bs-btn-hover-border-color: #d85e24 !important;
  --bs-btn-color: #fff !important;
  background-color: #f06b2d !important;
  border-color: #f06b2d !important;
  color: #fff !important;
}

.sidebar-nav ul .sidebar-item .sidebar-link.active,
#sidebarnav .sidebar-link.active {
  background-color: rgba(19, 105, 92, 0.12) !important;
  color: #13695c !important;
}

html[data-boxed-layout="full"] .body-wrapper .container-fluid,
html[data-boxed-layout="boxed"] .body-wrapper .container-fluid,
html[data-boxed-layout="full"] .page-wrapper .container-fluid,
html[data-boxed-layout="boxed"] .page-wrapper .container-fluid {
  max-width: 100% !important;
  width: 100%;
}

html[data-gd-marketing] .container-fluid {
  max-width: 1200px !important;
  margin-left: auto;
  margin-right: auto;
}

.body-wrapper .container-fluid {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.gd-palette {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.gd-palette[hidden] {
  display: none !important;
}

[data-gd-palette] iconify-icon,
[data-gd-palette] svg {
  pointer-events: none !important;
}

.gd-palette__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 45, 0.45);
}

.gd-palette__panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 2rem));
  margin: 12vh auto 0;
  background: var(--gd-surface, #fff);
  border: 1px solid var(--bs-border-color, #dce6e3);
  border-radius: 16px;
  padding: 1rem 1rem 0.75rem;
}

.gd-palette__kicker {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gd-brand, #13695c);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gd-palette__input {
  width: 100%;
  border: 0;
  background: var(--gd-surface-muted, #eff3f2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--gd-ink, #0f1f2d);
  outline: none;
}

.gd-palette__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  max-height: 48vh;
  overflow: auto;
}

.gd-palette__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}

.gd-palette__item em {
  font-style: normal;
  color: var(--gd-ink-muted, #5e6f7a);
  font-size: 0.8rem;
}

.gd-palette__item.is-active {
  background: rgba(19, 105, 92, 0.12);
}

.gd-palette__hint {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0 0.25rem;
  font-size: 0.75rem;
  color: var(--gd-ink-muted, #5e6f7a);
}

.gd-palette__hint kbd {
  font-family: inherit;
  background: var(--gd-surface-muted, #eff3f2);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.gd-hotkey-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 1030;
  border: 1px solid var(--bs-border-color, #dce6e3);
  background: var(--gd-surface, #fff);
  color: var(--gd-ink, #0f1f2d);
  border-radius: 999px;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 650;
  margin-right: 0.35rem;
}

.gd-hotkey-chip kbd {
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--gd-surface-muted, #eff3f2);
  border-radius: 0.3rem;
  padding: 0.12rem 0.32rem;
}

@media (max-width: 575.98px) {
  .gd-hotkey-chip {
    font-size: 0;
    gap: 0.2rem;
    padding: 0.35rem 0.45rem;
  }

  .gd-hotkey-chip kbd {
    font-size: 0.65rem;
  }
}

.gd-sortable-ghost {
  opacity: 0.45;
}

body.gd-palette-open {
  overflow: hidden;
}

/* Product chrome — Linear / Vercel / Stripe: quiet UI, color = meaning */

html {
  color-scheme: light dark;
}

::selection {
  background: rgba(19, 105, 92, 0.22);
  color: var(--gd-ink);
}

:focus-visible {
  outline: 2px solid var(--gd-brand);
  outline-offset: 2px;
}

h1, h2, h3, .card-title, .fw-bolder {
  letter-spacing: -0.03em;
}

.table,
.card h3,
.card h4,
.card h5,
.fs-13,
.fw-bolder {
  font-variant-numeric: tabular-nums;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--bs-border-color);
  background: color-mix(in srgb, var(--gd-surface) 88%, transparent) !important;
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}

@media (min-width: 1300px) {
  html[data-layout="vertical"] header.topbar,
  html[data-layout="vertical"] .topbar {
    position: fixed !important;
    left: 320px !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] header.topbar,
  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] .topbar {
    left: 80px !important;
  }
}

#exampleModal.modal,
#exampleModal {
  display: none !important;
}

body.gd-palette-open .modal-backdrop {
  display: none !important;
}

.sidebar-menu .sidebar-link {
  min-height: 36px;
  border-radius: 8px;
}

.text-bg-primary,
.card.text-bg-primary {
  background-color: var(--gd-brand-hover) !important;
  color: #fff !important;
  border: 0;
}

.bg-primary-subtle,
.bg-secondary-subtle,
.bg-success-subtle,
.bg-danger-subtle,
.bg-warning-subtle,
.bg-info-subtle,
.bg-light-primary,
.bg-light-secondary,
.bg-light-success,
.bg-light-danger,
.bg-light-warning {
  background-color: var(--gd-surface-muted) !important;
  color: var(--gd-ink) !important;
}

.toast-onload {
  display: none !important;
}

.preloader::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 32%;
  background: var(--gd-cta);
  animation: gd-load 0.9s ease forwards;
}

@keyframes gd-load {
  to { width: 100%; opacity: 0; }
}

.customizer-btn.btn-danger,
.customizer-btn {
  background: var(--gd-ink) !important;
  border-color: var(--gd-ink) !important;
  color: var(--gd-surface) !important;
}

.gd-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.75rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gd-ink-muted);
}

.gd-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.table > :not(caption) > * > * {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Genesis Ops — own rail. Genesis Dashboard dual-rail menu is display:none until a mini-icon is selected. */
html[data-genesis-product] .side-mini-panel,
html[data-genesis-product] .toast-onload {
  display: none !important;
}

html[data-gd-console] .left-sidebar.with-horizontal,
html[data-gd-console] .app-header.with-horizontal {
  display: none !important;
}

.customizer-btn,
.offcanvas.customizer {
  display: none !important;
}

.topbar-image {
  display: none !important;
}

.profile-dropdown a[href*="page-pricing.html"],
.profile-dropdown a[href*="app-invoice.html"] {
  display: none !important;
}

.nav-item:has(img[src*="icon-flag"]),
.navbar-nav > li:has(> a img[src*="icon-flag"]) {
  display: none !important;
}

.mega-dd-bg,
.mega-dropdown .col-4:has(.mega-dd-bg) {
  display: none !important;
}

.gd-lp-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: var(--gd-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 32px rgba(15, 31, 45, 0.05);
}

.gd-lp-panel:hover {
  border-color: var(--gd-brand);
  color: inherit;
}

.gd-lp-panel em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-brand);
}

.gd-lp-panel strong {
  font-size: 1.45rem;
  color: var(--gd-ink);
}

.gd-lp-panel span {
  color: var(--gd-ink-muted);
  font-size: 0.95rem;
}

.gd-plan {
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: var(--gd-surface);
}

.gd-plan--featured {
  border-color: var(--gd-brand);
  box-shadow: 0 16px 40px rgba(19, 105, 92, 0.12);
}

.gd-plan__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-brand);
  margin-bottom: 0.35rem;
}

.gd-trace {
  padding-left: 1.2rem;
}

.gd-trace li {
  margin-bottom: 0.55rem;
  color: var(--gd-ink-muted);
}

.gd-trace strong {
  color: var(--gd-ink);
}

.gd-audit li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: 0.92rem;
}

.gd-now li {
  grid-template-columns: 3.5rem 1fr;
}

.gd-audit li:last-child,
.gd-now li:last-child {
  border-bottom: 0;
}

.gd-audit time,
.gd-now span:first-child {
  color: var(--gd-ink-muted);
  font-variant-numeric: tabular-nums;
}

.gd-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 0.85rem;
  overflow-x: auto;
}

.gd-kanban__col {
  background: var(--gd-surface-muted);
  border-radius: 0.85rem;
  padding: 0.85rem;
  min-width: 180px;
}

.gd-kanban__col h6 {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gd-ink-muted);
  margin-bottom: 0.75rem;
}

.gd-kanban__card {
  background: var(--gd-surface);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.65rem;
}

.gd-kanban__card strong {
  display: block;
  font-size: 0.92rem;
}

.gd-kanban__card span {
  font-size: 0.78rem;
  color: var(--gd-ink-muted);
}

@media (max-width: 991.98px) {
  .gd-kanban {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

.gd-kanban__card small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--gd-ink-muted);
}

.gd-kanban__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.gd-dash__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

body[data-gd-dash] .body-wrapper .row {
  --bs-gutter-y: 1.1rem;
}

.gd-dash__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-ink-muted);
}

.gd-dash__head h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
}

.gd-dash__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.gd-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bs-border-color);
  background: var(--gd-surface);
  color: var(--gd-ink-muted);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.gd-chip--on {
  border-color: rgba(19, 105, 92, 0.35);
  background: rgba(19, 105, 92, 0.1);
  color: var(--gd-brand);
}

.card.gd-kpi {
  background: var(--gd-surface);
  border: 1px solid var(--bs-border-color);
}

.gd-kpi .card-body {
  padding: 1rem 1.1rem 0.85rem;
}

.gd-kpi__label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gd-ink-muted);
}

.gd-kpi__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.15rem 0 0.35rem;
}

.gd-kpi__row h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.gd-kpi__delta {
  font-size: 0.78rem;
  font-weight: 700;
}

.gd-kpi__delta.is-up {
  color: var(--gd-brand);
}

.gd-kpi__delta.is-down {
  color: #b42318;
}

.gd-kpi__hint {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: var(--gd-ink-muted);
}

.gd-spark {
  min-height: 46px;
  margin: 0 -0.25rem;
}

.gd-bar {
  height: 6px;
  border-radius: 99px;
  background: var(--gd-surface-muted);
  overflow: hidden;
}

.gd-bar > i {
  display: block;
  height: 100%;
  background: var(--gd-brand);
  border-radius: 99px;
}

.gd-bar.is-warn > i {
  background: #c9a227;
}

.gd-bar.is-bad > i {
  background: #b42318;
}

.gd-funnel__step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(19, 105, 92, 0.08);
  font-size: 0.85rem;
}

.gd-funnel__step:nth-child(2) {
  width: 86%;
}

.gd-funnel__step:nth-child(3) {
  width: 62%;
}

.gd-funnel__step:nth-child(4) {
  width: 42%;
}

.gd-funnel__step b {
  font-weight: 650;
}

.gd-log {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  background: var(--gd-ink);
  color: #d7e4df;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  max-height: 280px;
  overflow: auto;
}

.gd-log div {
  white-space: nowrap;
}

.gd-log em {
  color: #8fbfb4;
  font-style: normal;
}

.gd-trace {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gd-trace li {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--bs-border-color);
  margin: 0;
  font-size: 0.86rem;
}

.gd-trace time {
  color: var(--gd-ink-muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
}

.gd-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(19, 105, 92, 0.12);
  color: var(--gd-brand);
}

.gd-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gd-ink-muted);
  font-weight: 650;
  white-space: nowrap;
}

.gd-table td {
  vertical-align: middle;
  font-size: 0.86rem;
}

.gd-now {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gd-now li {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: 0.86rem;
}

html[data-genesis-product] .gd-ops-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  z-index: 100;
  background: var(--gd-surface);
  border-right: 1px solid var(--bs-border-color);
  padding: 1.1rem 0.85rem 1.5rem;
  overflow: auto;
}

html[data-genesis-product] .gd-ops-rail__brand img {
  height: 28px;
  width: auto;
}

html[data-genesis-product] .gd-ops-rail__ws {
  margin: 1.1rem 0.65rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-ink-muted);
}

html[data-genesis-product] .gd-ops-rail__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[data-genesis-product] .gd-ops-rail__link {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--gd-ink) !important;
  text-decoration: none;
  font-weight: 550;
}

html[data-genesis-product] .gd-ops-rail__link:hover,
html[data-genesis-product] .gd-ops-rail__link.is-active {
  background: rgba(19, 105, 92, 0.1);
  color: var(--gd-brand) !important;
}

html[data-genesis-product] .gd-ops-rail__cap {
  margin: 1rem 0.7rem 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-ink-muted);
}

html[data-genesis-product] .topbar {
  position: fixed !important;
  top: 0;
  left: 240px !important;
  right: 0 !important;
  width: calc(100% - 240px) !important;
  max-width: none !important;
}

html[data-genesis-product] .topbar .navbar,
html[data-genesis-product] .topbar .navbar.gd-ops-topbar {
  width: 100%;
  min-height: 4rem;
  padding: 0 1.15rem;
  justify-content: flex-end;
  gap: 0.35rem;
}

html[data-genesis-product] .topbar .navbar > ul.navbar-nav {
  display: none;
}

html[data-genesis-product] .topbar .navbar-toggler {
  display: none;
}

html[data-genesis-product] .topbar .navbar-collapse {
  flex-grow: 0 !important;
  display: flex !important;
}

html[data-genesis-product] .topbar .navbar-collapse .navbar-nav {
  align-items: center;
  gap: 0.15rem;
}

/* Lupa do kit e chip Ctrl+K abriam a mesma paleta — fica só o comando. */
html[data-genesis-product] .topbar a[data-gd-palette]:not(.gd-hotkey-chip),
html[data-gd-console] .topbar a[data-gd-palette]:not(.gd-hotkey-chip) {
  display: none !important;
}

html[data-genesis-product] .topbar .navbar-nav > li:has(> a[data-gd-palette]),
html[data-gd-console] .topbar .navbar-nav > li:has(> a[data-gd-palette]) {
  display: none !important;
}

html[data-genesis-product] .gd-hotkey-chip {
  margin-right: 0.15rem;
}

@media (max-width: 991.98px) {
  html[data-genesis-product] .topbar .navbar > ul.navbar-nav {
    display: flex;
  }

  html[data-genesis-product] .topbar .navbar > ul.navbar-nav > li:not(:has(.sidebartoggler)) {
    display: none !important;
  }

  html[data-genesis-product] .topbar .navbar {
    justify-content: space-between;
  }

  html[data-genesis-product].gd-ops-rail-open .gd-ops-rail {
    display: block;
    z-index: 1100;
    box-shadow: 8px 0 32px rgba(15, 31, 45, 0.18);
  }
}

html[data-genesis-product] .page-wrapper {
  margin-left: 240px !important;
}

@media (max-width: 991.98px) {
  html[data-genesis-product] .gd-ops-rail {
    display: none;
  }

  html[data-genesis-product] .topbar {
    left: 0 !important;
    width: 100% !important;
  }

  html[data-genesis-product] .page-wrapper {
    margin-left: 0 !important;
  }
}

html[data-genesis-product] .gd-ops-hero {
  margin: 0 0 1.75rem;
}

html[data-genesis-product] .gd-ops-hero h1 {
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin: 0 0 0.35rem;
}

html[data-genesis-product] .gd-ops-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--gd-brand);
  margin-bottom: 0.35rem;
}

html[data-genesis-product] .gd-ops-lede {
  color: var(--gd-ink-muted);
  margin: 0;
}

html[data-genesis-product] .gd-ops-card {
  border-radius: 10px;
}

html[data-genesis-product] .gd-ops-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gd-ink-muted);
  font-weight: 650;
  background: transparent;
}

html[data-genesis-product] .gd-ops-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.6rem;
  vertical-align: middle;
  background: var(--gd-ink-muted);
}

html[data-genesis-product] .gd-ops-dot--danger {
  background: var(--gd-cta);
}

html[data-genesis-product] .gd-ops-dot--warning {
  background: #c4a35a;
}

html[data-genesis-product] .gd-ops-dot--info {
  background: var(--gd-brand);
}

html[data-genesis-product] .gd-ops-activity {
  color: var(--gd-ink-muted);
  font-size: 0.85rem;
}

html[data-genesis-product] .gd-ops-activity__item {
  padding: 0.35rem 0;
}

html[data-genesis-product] .gd-ops-activity__item span {
  display: inline-block;
  min-width: 6.5rem;
}

html[data-genesis-product] .gd-ops-page {
  padding: 1.5rem 2rem 3rem;
  max-width: none;
}

html[data-gd-shot] .preloader,
html[data-gd-shot] .customizer {
  display: none !important;
}

.gd-lp-preview {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: var(--gd-surface-muted, #eff3f2);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
}

.gd-lp-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 900px;
  border: 0;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
}

.gd-lp-preview--hero {
  height: 360px;
}

.gd-lp-preview--hero iframe {
  transform: scale(0.38);
}

.gd-state {
  --gd-state-paper: #e8eeea;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--gd-ink);
  color: var(--gd-state-paper);
}

.gd-state__num {
  position: absolute;
  right: -4vw;
  top: 18%;
  margin: 0;
  font-size: clamp(8rem, 28vw, 22rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.75;
  color: #fff;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.gd-state__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 8vw;
}

.gd-state__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--gd-state-paper);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.gd-state__brand b {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.4rem;
  background: var(--gd-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.gd-state__ws {
  font-size: 0.78rem;
  color: rgba(232, 238, 234, 0.55);
}

.gd-state__ws strong {
  color: var(--gd-state-paper);
  font-weight: 650;
}

.gd-state__main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 38rem;
  padding: 3rem 8vw 4.5rem;
}

.gd-state__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fbfb4;
}

.gd-state__main h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
}

.gd-state__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(232, 238, 234, 0.72);
  max-width: 32rem;
}

.gd-state__ghost {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  max-width: 26rem;
}

.gd-state__ghost i {
  display: block;
  height: 2.65rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gd-state__ghost i:nth-child(2) {
  width: 84%;
}

.gd-state__ghost i:nth-child(3) {
  width: 62%;
}

.gd-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.gd-state__actions .btn-outline-primary {
  --bs-btn-color: var(--gd-state-paper);
  --bs-btn-border-color: rgba(232, 238, 234, 0.28);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(232, 238, 234, 0.5);
  --bs-btn-hover-color: #fff;
  color: var(--gd-state-paper);
  border-color: rgba(232, 238, 234, 0.28);
}

.gd-state__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-state__chips li {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: rgba(232, 238, 234, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.gd-state__chips strong {
  color: #fff;
  font-weight: 650;
}

@media (max-width: 767.98px) {
  .gd-state__top,
  .gd-state__main {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }

  .gd-state__num {
    top: 8%;
    right: -8vw;
    font-size: 9rem;
  }
}

.gd-faq details {
  border: 1px solid var(--bs-border-color, #dce6e3);
  border-radius: 12px;
  background: var(--gd-surface, #fff);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.gd-faq summary {
  font-weight: 650;
  cursor: pointer;
  color: var(--gd-ink, #0f1f2d);
}

.gd-faq details p {
  margin: 0.65rem 0 0;
  color: var(--gd-ink-muted, #5e6f7a);
}

.gd-contact {
  border: 1px solid var(--bs-border-color, #dce6e3);
  border-radius: 12px;
  background: var(--gd-surface, #fff);
  padding: 1.5rem;
}
