/* The guided tour's popover in the app's own type and colours (households
   plan D29). driver.css is the vendored base; these are the only overrides.
   Colours come from the app's tokens, which flip in dark mode (#42) —
   driver.css's own white would not. */
.driver-popover.tour-popover {
  --driver-popover-font-family: inherit;
  background-color: var(--color-surface, #fff);
  color: var(--color-slate-900, #0f172a);
  border: 1px solid var(--color-hairline, #d8dbec);
  border-radius: 0.75rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 1rem 1.25rem;
}
.tour-popover .driver-popover-title { font-size: 1rem; font-weight: 600; line-height: 1.4; color: inherit; }
/* driver.css draws the pointer in a hard-coded white; on a dark card it
   would be a white notch, so the popover goes without one. */
.tour-popover .driver-popover-arrow { display: none; }
.tour-popover .driver-popover-close-btn { color: var(--color-slate-500, #64748b); }
.tour-popover .driver-popover-description { font-size: 0.875rem; line-height: 1.5; color: var(--color-slate-600, #475569); }
.tour-popover .driver-popover-progress-text { font-size: 0.75rem; color: var(--color-slate-500, #64748b); }
.tour-popover .driver-popover-footer button {
  background-color: var(--color-surface, #fff);
  border: 1px solid var(--color-hairline, #d8dbec);
  color: var(--color-slate-900, #0f172a);
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  text-shadow: none;
}
.tour-popover .driver-popover-footer button.driver-popover-next-btn {
  background-color: var(--color-accent, #4f46e5);
  border-color: var(--color-accent, #4f46e5);
  color: #fff;
}
