/**
 * TAKE A TOUR overlay (Troy 2026-08-22). The spotlight is a transparent box
 * whose enormous box-shadow darkens everything else — no canvas, no SVG, no
 * vendor. Sits above the appbar, the FAB and core dialogs.
 */
.ldtour-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
}
.ldtour-spot {
  position: fixed;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62);
  transition: top .18s ease, left .18s ease, width .18s ease, height .18s ease;
  pointer-events: none;
}
.ldtour-card {
  position: fixed;
  width: min(304px, calc(100vw - 16px));
  background: var(--erpal-surface, #fff);
  color: var(--erpal-text, #1b2430);
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  padding: 14px 16px 12px;
  font-size: 14px;
  line-height: 1.45;
}
.ldtour-title {
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 28px;
}
.ldtour-body { margin: 0 0 10px; }
.ldtour-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.ldtour-btn {
  min-height: 40px;
  min-width: 64px;
  border: 1px solid var(--erpal-border, #d3d4d9);
  border-radius: 8px;
  background: var(--erpal-surface, #fff);
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ldtour-btn--primary {
  background: var(--erpal-accent, #1a73e8);
  border-color: var(--erpal-accent, #1a73e8);
  color: #fff;
}
.ldtour-btn--close {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 32px;
  min-height: 32px;
  border: 0;
  background: transparent;
  font-size: 16px;
}
.erpal-topbar__tour {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--erpal-border, #d3d4d9);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.erpal-topbar__tour:hover { background: var(--erpal-hover, #eef1f6); }
/* The label SHORTENS, never disappears (the 1.2.2 hub-button lesson). */
@media (max-width: 900px) {
  .erpal-topbar__tour .ldtour-label-long { display: none; }
}
@media (min-width: 901px) {
  .erpal-topbar__tour .ldtour-label-short { display: none; }
}
