.dashboard-page--growth {
  --gm-surface: var(--clr-surface, #ffffff);
  --gm-surface-alt: var(--clr-bg-alt, #eef7f2);
  --gm-border: var(--clr-border, rgba(45, 106, 79, 0.15));
  --gm-border-strong: var(--clr-border-dark, rgba(45, 106, 79, 0.28));
  --gm-text: var(--clr-primary-dark, #1b4332);
  --gm-text-body: var(--clr-text-md, #5b6470);
  --gm-text-muted: var(--clr-text-light, #6b7280);
  --gm-shadow: var(--shadow-sm, 0 8px 24px rgba(27, 67, 50, 0.06));
  --gm-subnav-bg: linear-gradient(135deg, rgba(45, 106, 79, 0.08), rgba(149, 213, 178, 0.12));
  --gm-result-bg: var(--clr-bg-alt, #f1f5f9);
  --gm-result-text: var(--clr-text-md, #475569);
  --gm-invite-bg: var(--clr-bg-alt, #f8fafc);
}

html[data-theme="dark"] .dashboard-page--growth {
  --gm-surface: var(--clr-surface, #1a2e26);
  --gm-surface-alt: var(--clr-bg-alt, #122820);
  --gm-border: var(--clr-border, #1f3d30);
  --gm-border-strong: var(--clr-border-dark, #2d5a47);
  --gm-text: var(--clr-text, #e8f5ee);
  --gm-text-body: var(--clr-text-md, #b8d4c4);
  --gm-text-muted: var(--clr-text-light, #7a9b8a);
  --gm-shadow: var(--shadow-sm, 0 4px 20px rgba(0, 0, 0, 0.35));
  --gm-subnav-bg: linear-gradient(135deg, rgba(82, 183, 136, 0.1), rgba(27, 67, 50, 0.22));
  --gm-result-bg: var(--clr-surface-elevated, #223d32);
  --gm-result-text: var(--clr-text-md, #b8d4c4);
  --gm-invite-bg: var(--clr-bg-alt, #122820);
}

.gm-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  background: var(--gm-subnav-bg, linear-gradient(135deg, rgba(45, 106, 79, 0.08), rgba(149, 213, 178, 0.12)));
  border: 1px solid var(--gm-border, rgba(45, 106, 79, 0.15));
  border-radius: 16px;
}

.gm-subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gm-text, #1b4332);
  background: var(--gm-surface, rgba(255, 255, 255, 0.75));
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.gm-subnav__link:hover {
  background: var(--gm-surface, #fff);
  border-color: var(--gm-border-strong, rgba(45, 106, 79, 0.25));
  transform: translateY(-1px);
}

.gm-subnav__link.is-active {
  background: var(--clr-primary, #2d6a4f);
  color: #fff;
  border-color: var(--clr-primary, #2d6a4f);
}

.gm-subnav__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.gm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gm-card {
  background: var(--gm-surface, #fff);
  border: 1px solid var(--gm-border, rgba(45, 106, 79, 0.12));
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--gm-shadow, 0 8px 24px rgba(27, 67, 50, 0.06));
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.dashboard-page--growth .gm-card:hover {
  border-color: var(--gm-border-strong, rgba(45, 106, 79, 0.25));
}

.gm-card--spaced {
  margin-top: 16px;
}

.gm-card--spaced-lg {
  margin-top: 18px;
}

.gm-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.gm-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.gm-card__title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--gm-text, #1b4332);
}

.gm-card__desc {
  margin: 0;
  color: var(--gm-text-body, #5b6470);
  line-height: 1.7;
  font-size: 0.95rem;
}

.gm-card__meta {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--gm-text-muted, #6b7280);
}

.gm-card__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gm-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gm-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--gm-result-bg, #f1f5f9);
  color: var(--gm-result-text, #475569);
  border: 1px solid var(--gm-border, rgba(45, 106, 79, 0.12));
  min-height: 48px;
  line-height: 1.65;
  font-size: 0.92rem;
}

.gm-result.is-success {
  background: linear-gradient(135deg, var(--clr-green-bg, #ecfdf5), rgba(149, 213, 178, 0.15));
  color: var(--clr-primary-dark, #14532d);
  border: 1px solid var(--gm-border-strong, rgba(45, 106, 79, 0.2));
}

.gm-result.is-error {
  background: var(--clr-red-bg, #fef2f2);
  color: var(--clr-red, #991b1b);
  border: 1px solid rgba(240, 113, 103, 0.35);
}

.gm-result__title {
  font-weight: 700;
  margin: 0 0 8px;
}

.gm-result__list {
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--gm-text-body, #5b6470);
}

.gm-result__meters {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.gm-result__meters li {
  margin-bottom: 12px;
}

.gm-result__meters .gm-meter-row__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--gm-text, #1b4332);
}

.gm-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.gm-meter__bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.12);
  overflow: hidden;
}

.gm-meter__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.gm-meter--low .gm-meter__fill {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.gm-meter--mid .gm-meter__fill {
  background: linear-gradient(90deg, #eab308, #facc15);
}

.gm-meter--high .gm-meter__fill {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.gm-meter__val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: end;
  color: var(--gm-text, #1b4332);
}

.gm-bulletin-meters {
  display: grid;
  gap: 14px;
  margin: 12px 0;
}

.gm-stat-list,
.gm-tips-list {
  margin: 10px 0 0;
  padding-inline-start: 1.2rem;
  color: var(--gm-text-body, #5b6470);
}

.gm-stat-list li,
.gm-tips-list li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.gm-leaderboard {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.92rem;
}

.gm-leaderboard th,
.gm-leaderboard td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gm-border, rgba(45, 106, 79, 0.12));
  text-align: start;
  color: var(--gm-text-body, #5b6470);
}

.gm-leaderboard th {
  color: var(--gm-text, #1b4332);
  font-weight: 700;
}

.gm-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(45, 106, 79, 0.12);
  color: var(--gm-text, #1b4332);
}

.gm-badge--on {
  background: var(--clr-green-bg, #dcfce7);
  color: var(--clr-green, #166534);
}

.gm-badge--off {
  background: var(--clr-red-bg, #fee2e2);
  color: var(--clr-red, #991b1b);
}

.gm-invite-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gm-invite-bg, #f8fafc);
  border: 1px dashed var(--gm-border-strong, rgba(45, 106, 79, 0.35));
  font-family: ui-monospace, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--gm-text, #1b4332);
}

.gm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .gm-split {
    grid-template-columns: 1fr;
  }

  .gm-subnav__link {
    font-size: 0.85rem;
    padding: 7px 11px;
  }
}

.growth-hub-page .gh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.growth-hub-page .gh-hero-actions--center {
  justify-content: center;
}

.growth-hub-page .gh-hero-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
}

.growth-hub-page .gh-lead {
  max-width: 760px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.growth-hub-page .gh-meta {
  margin-top: 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.growth-hub-page .gh-meta a {
  color: #fde68a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.growth-hub-page .gh-meta a:hover {
  color: #fff;
}

.growth-hub-page .gh-status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.85rem;
}

.growth-hub-page .gh-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.growth-hub-page .gh-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.growth-hub-page .gh-content {
  background: var(--clr-bg, #f8faf9);
  padding-top: 48px;
  padding-bottom: 64px;
}

.growth-hub-page .gh-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.growth-hub-page .gh-feature-card {
  background: var(--clr-surface, #fff);
  border: 1px solid var(--clr-border, rgba(45, 106, 79, 0.12));
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm, 0 10px 30px rgba(27, 67, 50, 0.06));
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.growth-hub-page .gh-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 14px 36px rgba(27, 67, 50, 0.1));
  border-color: var(--clr-border-dark, rgba(45, 106, 79, 0.25));
}

.growth-hub-page .gh-feature-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.growth-hub-page .gh-feature-card__icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.growth-hub-page .gh-feature-card h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--clr-primary-dark, #1b4332);
  line-height: 1.35;
}

.growth-hub-page .gh-feature-card p {
  margin: 0 0 16px;
  line-height: 1.8;
  color: var(--clr-text-md, #5b6470);
}

.growth-hub-page .gh-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.growth-hub-page .gh-step {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--clr-primary-bg, rgba(45, 106, 79, 0.06));
  border: 1px solid var(--clr-border, rgba(45, 106, 79, 0.12));
}

.growth-hub-page .gh-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--clr-primary-dark, #1b4332);
  font-size: 0.98rem;
}

.growth-hub-page .gh-step span {
  display: block;
  color: var(--clr-text-md, #5b6470);
  line-height: 1.65;
  font-size: 0.92rem;
}

.growth-hub-page .gh-whatsapp-card {
  margin: 0 0 28px;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(45, 106, 79, 0.06));
  border: 1px solid rgba(37, 211, 102, 0.22);
}

.growth-hub-page .gh-whatsapp-card__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.growth-hub-page .gh-whatsapp-card__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.growth-hub-page .gh-whatsapp-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--clr-primary-dark, #1b4332);
}

.growth-hub-page .gh-whatsapp-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--clr-text-md, #5b6470);
}

.growth-hub-page .gh-whatsapp-card a {
  color: var(--clr-primary, #2d6a4f);
  font-weight: 700;
}

.growth-hub-page .gh-cta-card {
  margin-top: 32px;
  padding: 28px 24px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--clr-primary-bg, #d8f3dc) 0%, var(--clr-bg-alt, #eef7f2) 100%);
  border: 1px solid var(--clr-border, rgba(45, 106, 79, 0.15));
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(27, 67, 50, 0.06));
}

.growth-hub-page .gh-cta-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--clr-primary-dark, #1b4332);
}

.growth-hub-page .gh-cta-card p {
  margin: 0 0 18px;
  color: var(--clr-text-md, #5b6470);
  line-height: 1.75;
}

/* ── الوضع الداكن: صفحة Growth Hub ── */
html[data-theme="dark"] .growth-hub-page .page-hero--growth {
  background: linear-gradient(160deg, #0a1410 0%, #0f2319 42%, #1b4332 100%);
}

html[data-theme="dark"] .growth-hub-page .gh-hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .growth-hub-page .gh-lead {
  color: var(--clr-text-md, #b8d4c4);
}

html[data-theme="dark"] .growth-hub-page .gh-meta {
  color: var(--clr-text-light, #7a9b8a);
}

html[data-theme="dark"] .growth-hub-page .gh-meta a {
  color: var(--clr-accent-light, #d4b84a);
}

html[data-theme="dark"] .growth-hub-page .gh-status-pill {
  background: rgba(82, 183, 136, 0.12);
  border-color: rgba(82, 183, 136, 0.28);
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .growth-hub-page .gh-content {
  background: var(--clr-bg, #0d1a14);
}

html[data-theme="dark"] .growth-hub-page .gh-feature-card {
  background: var(--clr-surface, #1a2e26);
  border-color: var(--clr-border, #1f3d30);
  box-shadow: var(--shadow-sm, 0 4px 20px rgba(0, 0, 0, 0.35));
}

html[data-theme="dark"] .growth-hub-page .gh-feature-card:hover {
  border-color: var(--clr-border-dark, #2d5a47);
  box-shadow: var(--shadow-md, 0 8px 28px rgba(0, 0, 0, 0.45));
}

html[data-theme="dark"] .growth-hub-page .gh-feature-card h2 {
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .growth-hub-page .gh-feature-card p {
  color: var(--clr-text-md, #b8d4c4);
}

html[data-theme="dark"] .growth-hub-page .gh-whatsapp-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(45, 106, 79, 0.14));
  border-color: rgba(37, 211, 102, 0.28);
}

html[data-theme="dark"] .growth-hub-page .gh-whatsapp-card h2 {
  color: #d8f3dc;
}

html[data-theme="dark"] .growth-hub-page .gh-step {
  background: var(--clr-surface, #1a2e26);
  border-color: var(--clr-border, #1f3d30);
}

html[data-theme="dark"] .growth-hub-page .gh-step strong {
  color: var(--clr-primary, #52b788);
}

html[data-theme="dark"] .growth-hub-page .gh-step span {
  color: var(--clr-text-md, #b8d4c4);
}

html[data-theme="dark"] .growth-hub-page .gh-cta-card {
  background: linear-gradient(135deg, var(--clr-surface, #1a2e26) 0%, var(--clr-bg-alt, #122820) 100%);
  border-color: var(--clr-border-dark, #2d5a47);
  box-shadow: var(--shadow-md, 0 8px 28px rgba(0, 0, 0, 0.4));
}

html[data-theme="dark"] .growth-hub-page .gh-cta-card h2 {
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .growth-hub-page .gh-cta-card p {
  color: var(--clr-text-md, #b8d4c4);
}

html[data-theme="dark"] .growth-hub-page .gh-btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .growth-hub-page .btn-secondary {
  background: var(--clr-surface-elevated, #223d32);
  border-color: var(--clr-border-dark, #2d5a47);
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .growth-hub-page .gm-card {
  background: var(--clr-surface, #1a2e26);
  border-color: var(--clr-border, #1f3d30);
}

html[data-theme="dark"] .growth-hub-page .gm-card__title {
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .growth-hub-page .gm-card__desc {
  color: var(--clr-text-md, #b8d4c4);
}

/* ── لوحة التحكم: مركز النمو (جميع الصفحات الفرعية) ── */
html[data-theme="dark"] .dashboard-page--growth .gm-subnav__link:not(.is-active) {
  background: var(--clr-surface-elevated, #223d32);
  color: var(--clr-text-md, #b8d4c4);
  border-color: var(--clr-border, #1f3d30);
}

html[data-theme="dark"] .dashboard-page--growth .gm-subnav__link:not(.is-active):hover {
  background: var(--clr-surface, #1a2e26);
  border-color: var(--clr-border-dark, #2d5a47);
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .dashboard-page--growth .gm-result.is-success {
  background: linear-gradient(135deg, rgba(82, 183, 136, 0.12), rgba(27, 67, 50, 0.2));
  color: var(--clr-primary-dark, #95d5b2);
  border-color: rgba(82, 183, 136, 0.35);
}

html[data-theme="dark"] .dashboard-page--growth .gm-result.is-error {
  background: var(--clr-red-bg, #2a1513);
  color: var(--clr-red, #f07167);
  border-color: rgba(240, 113, 103, 0.35);
}

html[data-theme="dark"] .dashboard-page--growth .gm-badge--on {
  background: rgba(82, 183, 136, 0.18);
  color: var(--clr-primary, #52b788);
}

html[data-theme="dark"] .dashboard-page--growth .gm-badge--off {
  background: rgba(240, 113, 103, 0.12);
  color: var(--clr-red, #f07167);
}

html[data-theme="dark"] .dashboard-page--growth .form-control,
html[data-theme="dark"] .dashboard-page--growth textarea.form-control {
  background: var(--clr-surface-elevated, #223d32);
  border-color: var(--clr-border-dark, #2d5a47);
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .dashboard-page--growth .form-control::placeholder {
  color: var(--clr-text-muted, #5c7a6c);
}

html[data-theme="dark"] .dashboard-page--growth .form-control:focus {
  border-color: var(--clr-primary, #52b788);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

html[data-theme="dark"] .dashboard-page--growth .gm-subnav__link.is-disabled {
  opacity: 0.35;
  background: var(--clr-surface, #1a2e26);
}

html[data-theme="dark"] .dashboard-page--growth .gm-leaderboard th {
  color: var(--clr-text, #e8f5ee);
}

html[data-theme="dark"] .dashboard-page--growth .gm-leaderboard td {
  color: var(--clr-text-md, #b8d4c4);
}

.dashboard-page--growth .form-control,
.dashboard-page--growth textarea.form-control {
  border-radius: 12px;
  border-color: var(--gm-border, rgba(45, 106, 79, 0.2));
  background: var(--gm-surface, #fff);
  color: var(--clr-text, #1a2e24);
}

.dashboard-page--growth .form-control:focus {
  border-color: var(--clr-primary, #2d6a4f);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.growth-hub-onboard {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(45, 106, 79, 0.15);
}

.growth-hub-onboard p {
  margin: 0 0 12px;
  color: #374151;
  line-height: 1.7;
}

.gm-invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.gm-wa-btn {
  background: #25d366;
  color: #fff;
  border: none;
}

.gm-wa-btn:hover {
  background: #1ebe57;
  color: #fff;
}

.gm-chart-wrap {
  margin-top: 16px;
  padding: 12px 8px 4px;
  border-radius: 14px;
  background: var(--gm-surface-alt, rgba(45, 106, 79, 0.04));
  border: 1px solid var(--gm-border, rgba(45, 106, 79, 0.1));
}

.gm-chart-wrap canvas {
  max-height: 280px;
}

.dashboard-page--growth .gm-form-control--narrow {
  max-width: 220px;
}

.gm-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}

body.gm-tour-active {
  overflow: hidden;
}

.gm-tour-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10053;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #1b4332, #2d6a4f);
  color: #fff;
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.gm-tour-topbar__label {
  font-size: 0.92rem;
  font-weight: 700;
}

.gm-tour-skip-btn,
.gm-tour-skip-link {
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}

.gm-tour-skip-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.88rem;
}

.gm-tour-skip-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.gm-tour-highlight {
  position: fixed;
  border: 2px solid #52b788;
  border-radius: 16px;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62);
  pointer-events: none;
  z-index: 10051;
  transition: top 0.2s, left 0.2s, width 0.2s, height 0.2s;
}

.gm-tour-tooltip {
  position: fixed;
  z-index: 10052;
  width: min(360px, calc(100vw - 28px));
  max-height: min(420px, calc(100vh - 100px));
  overflow-y: auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

.gm-tour-tooltip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.gm-tour-skip-link {
  padding: 4px 12px;
  border: 1px solid rgba(45, 106, 79, 0.35);
  background: #f0fdf4;
  color: #1b4332;
  font-size: 0.82rem;
}

.gm-tour-skip-link:hover {
  background: #dcfce7;
}

.gm-tour-step {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d6a4f;
}

.gm-tour-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #1b4332;
}

.gm-tour-body {
  margin: 0 0 14px;
  color: #5b6470;
  line-height: 1.7;
  font-size: 0.92rem;
}

.gm-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

html[data-theme="dark"] .gm-tour-tooltip {
  background: #1f2937;
  color: #e5e7eb;
}

html[data-theme="dark"] .gm-tour-title {
  color: #d1fae5;
}

html[data-theme="dark"] .gm-tour-body {
  color: #cbd5e1;
}

html[data-theme="dark"] .gm-tour-skip-link {
  background: rgba(82, 183, 136, 0.15);
  color: #d1fae5;
  border-color: rgba(82, 183, 136, 0.35);
}
