.product-guide-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
  padding: 16px 18px;
  background: var(--theme-bg-primary, #ffffff);
  border: 1px solid var(--theme-border-light, #e2e8f0);
  border-left: 3px solid var(--theme-accent, #2563eb);
  border-radius: 12px;
}

.product-guide-welcome__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--theme-accent, #2563eb);
}

.product-guide-welcome h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 650;
  color: var(--theme-text-primary, #0f172a);
}

.product-guide-welcome__copy p:last-child {
  margin: 6px 0 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--theme-text-secondary, #475569);
}

.product-guide-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-guide-btn {
  appearance: none;
  border: 1px solid var(--theme-border-light, #cbd5e1);
  background: var(--theme-bg-primary, #ffffff);
  color: var(--theme-text-primary, #0f172a);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.product-guide-btn:hover,
.product-guide-btn:focus-visible {
  border-color: var(--theme-accent, #2563eb);
  outline: none;
}

.product-guide-btn--primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.product-guide-btn--primary:hover,
.product-guide-btn--primary:focus-visible {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.product-guide-btn--quiet {
  border-color: transparent;
  background: transparent;
  color: var(--theme-text-secondary, #64748b);
  font-weight: 500;
}

.product-guide-menu {
  position: fixed;
  z-index: 3000;
  width: 280px;
  padding: 6px;
  background: var(--theme-bg-primary, #ffffff);
  color: var(--theme-text-primary, #0f172a);
  border: 1px solid var(--theme-border-light, #e2e8f0);
  border-radius: 12px;
}

.product-guide-menu__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 2px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.product-guide-menu__item:hover,
.product-guide-menu__item:focus-visible {
  background: var(--theme-bg-secondary, #f1f5f9);
  outline: none;
}

.product-guide-menu__label {
  font-size: 14px;
  font-weight: 600;
}

.product-guide-menu__detail {
  font-size: 12px;
  line-height: 1.4;
  color: var(--theme-text-secondary, #64748b);
}

.product-guide-fallback {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.45);
}

.product-guide-fallback__card {
  width: min(520px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 20px;
  background: var(--theme-bg-primary, #ffffff);
  color: var(--theme-text-primary, #0f172a);
  border-radius: 12px;
}

.product-guide-fallback__card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.product-guide-fallback__card p,
.product-guide-fallback__card li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--theme-text-secondary, #334155);
}

.product-guide-fallback__card ol {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.product-guide-fallback__card li + li {
  margin-top: 8px;
}

.product-guide-popover.driver-popover {
  max-width: 340px;
}
