/* Product tour: menu copy, workflow illustration, and verifiable deliverables.
   Visual direction: a soft warm-white product showcase rather than a admin dashboard. */
.product-workspace-preview { width: min(100%, 1180px); margin: 0 auto; }
.product-workspace-preview *, .product-workspace-preview *::before, .product-workspace-preview *::after { box-sizing: border-box; }
.product-app-frame {
  --tour-accent: #718a95;
  --tour-soft: #edf3f4;
  --tour-border: #e2e9e9;
  --tour-ink: #3f434a;
  --tour-muted: #8b8f95;
  --tour-faint: #a2a7ae;
  --tour-hairline: #efece6;
  --tour-paper: #fffdfa;
  --tour-canvas: #ffffffe0;
  --tour-mist: #f6f5f1;
  position: relative;
  height: 620px;
  overflow: hidden;
  border: 1px solid #ffffffed;
  border-radius: 24px;
  background: var(--tour-canvas);
  box-shadow: 0 36px 80px -44px #3a33281f, 0 10px 28px -18px #3a332814, inset 0 1px 0 #fff;
  color: var(--tour-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}
.product-app-frame[data-tour-tone="peach"] { --tour-accent: #ad7351; --tour-soft: #fbf0e7; --tour-border: #f1e1d2; }
.product-app-layout { display: grid; height: 100%; grid-template-columns: 156px minmax(0, 1fr) minmax(0, 1.05fr); min-height: 0; }

/* Left navigation: airy, no hard divider; the selected item carries a soft pill. */
.product-app-sidebar { display: flex; flex-direction: column; gap: 22px; min-width: 0; overflow-y: auto; padding: 28px 8px 24px; background: #f6f6f180; scrollbar-width: thin; }
.product-tour-menu-group { display: flex; flex-direction: column; gap: 3px; }
.product-tour-menu-group > p { margin: 0 13px 10px; color: var(--tour-faint); font-size: 10px; letter-spacing: .08em; }
.product-tour-menu { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; min-height: 38px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; color: #7a827c; font: inherit; font-size: 12px; line-height: 1.5; text-align: left; white-space: nowrap; cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; }
.product-tour-menu svg { width: 16px; height: 16px; flex: none; color: #a0a8b4; transition: color .18s; }
.product-tour-menu:hover { background: #f1efea; color: #34405a; }
.product-tour-menu:hover svg { color: #7a8494; }
.product-tour-menu[aria-pressed="true"] { background: #fff; color: var(--tour-accent); font-weight: 600; box-shadow: 0 1px 2px #3a33280f, 0 6px 16px -10px #3a332826; }
.product-tour-menu[aria-pressed="true"] svg { color: var(--tour-accent); }
.product-tour-menu[aria-pressed="true"]::after { content: ''; width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: currentColor; opacity: .7; }
.product-tour-menu:focus-visible { outline: 2px solid var(--tour-accent); outline-offset: 2px; }

/* Two content columns sit on a shared paper surface; no vertical rules between them. */
.product-tour-introduction, .product-tour-explanation { display: flex; min-width: 0; min-height: 0; }
.product-tour-introduction { background: transparent; }
.product-tour-explanation { background: linear-gradient(155deg, #dceaf6 0%, #eef0f3 50%, #f5dec5 100%); border-radius: 20px; margin: 8px 8px 8px 0; }
.product-tour-overview { display: flex; flex: 1; flex-direction: column; min-width: 0; overflow-y: auto; padding: 37px 32px 26px; }
.product-tour-intro-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.product-tour-intro-icon { display: grid; flex: none; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--tour-soft); color: var(--tour-accent); }
.product-tour-intro-icon svg { width: 16px; height: 16px; }
.product-tour-eyebrow { margin: 0; color: var(--tour-faint); font-size: 10px; letter-spacing: .04em; }
.product-tour-menu-name { color: var(--tour-accent); font-size: 11px; }
.product-tour-overview h2 { margin: 0; color: #3f434a; font-size: 25px; font-weight: 500; line-height: 1.6; letter-spacing: -.01em; white-space: pre-line; }
.product-tour-summary { max-width: 420px; margin: 15px 0 0; color: var(--tour-muted); font-size: 14px; line-height: 1.95; }
.product-tour-artwork { flex: none; margin: auto 0 0; padding-top: 26px; }

/* Workflow illustration: loose steps on mist, no box inside a box. */
.product-tour-flow { padding: 0; border: 0; background: transparent; }
.product-tour-flow-label { margin-bottom: 12px; color: var(--tour-faint); font-size: 10px; letter-spacing: .06em; }
.product-tour-flow-steps { display: flex; align-items: stretch; gap: 16px; }
.product-tour-flow-step { position: relative; display: flex; flex: 1; align-items: center; justify-content: center; min-width: 0; padding: 13px 6px; border-radius: 14px; background: #f3f1ec; color: #4b5769; font-size: 10.5px; line-height: 1.55; text-align: center; }
.product-tour-flow-arrow { position: absolute; top: 50%; right: -13px; z-index: 1; color: #b5bcc6; font-size: 12px; transform: translateY(-50%); }
.product-tour-flow-result { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; padding: 0 2px; }
.product-tour-flow-result span { flex: none; color: var(--tour-faint); font-size: 9.5px; letter-spacing: .06em; }
.product-tour-flow-result strong { color: var(--tour-accent); font-size: 10.5px; font-weight: 600; line-height: 1.6; }
.product-tour-artwork figcaption { display: flex; align-items: center; gap: 7px; padding: 12px 2px 0; color: var(--tour-faint); font-size: 10px; line-height: 1.6; }
.product-tour-artwork figcaption > span:first-child { width: 4px; height: 4px; flex: none; border-radius: 50%; background: var(--tour-accent); opacity: .6; }

/* Deliverables column: a light-mist card with roomy rhythm. */
.product-tour-results { display: flex; flex: 1; flex-direction: column; min-width: 0; overflow-y: auto; padding: 30px 26px 24px; }
.product-tour-results-eyebrow { margin: 0 0 10px; color: var(--tour-accent); font-size: 10px; letter-spacing: .08em; }
.product-tour-results h3 { margin: 0; color: #454a52; font-size: 22px; font-weight: 400; line-height: 1.5; letter-spacing: -.01em; }
.product-tour-result-description { margin: 10px 0 14px; color: var(--tour-muted); font-size: 12px; line-height: 1.85; }
.product-tour-outcomes { display: flex; flex-direction: column; gap: 10px; }
.product-tour-outcome { padding: 15px 16px 16px; border: 0; border-radius: 14px; background: #fffcf8; }
.product-tour-outcome h4 { margin: 0 0 7px; color: #3b4759; font-size: 12.5px; font-weight: 600; }
.product-tour-outcome p { margin: 0; color: #5e6a7c; font-size: 11px; line-height: 1.8; }
.product-tour-outcome > span { display: block; margin-top: 6px; color: #8b94a3; font-size: 10.5px; line-height: 1.75; }
.product-tour-takeaway { margin: 20px 0 0; padding: 0 2px; color: #8b9097; font-size: 11px; line-height: 1.8; }
.product-tour-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 720px) and (max-width: 1023px) {
  .product-app-layout { grid-template-columns: 156px minmax(0, 1fr) minmax(0, 1fr); }
  .product-app-sidebar { padding: 24px 10px 20px; }
  .product-tour-menu { padding-inline: 10px; font-size: 12px; }
  .product-tour-overview { padding: 32px 22px 22px 16px; }
  .product-tour-overview h2 { font-size: 22px; }
  .product-tour-summary { font-size: 13px; }
  .product-tour-flow-steps { gap: 12px; }
  .product-tour-flow-step { padding: 11px 4px; font-size: 9.5px; }
  .product-tour-flow-arrow { right: -10px; }
  .product-tour-explanation { margin: 12px 12px 12px 0; }
  .product-tour-results { padding: 32px 20px 22px 20px; }
  .product-tour-results h3 { font-size: 19px; }
  .product-tour-outcome { padding: 13px 14px 14px; }
}

@media (max-width: 719px) {
  .product-workspace-preview { width: calc(100vw - 32px); margin-inline: 0; align-self: center; }
  .product-app-frame { height: auto; border-radius: 20px; }
  .product-app-layout { display: flex; flex-direction: column; }
  .product-app-sidebar { flex-direction: row; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 14px 14px 6px; border: 0; scrollbar-width: none; scroll-padding-inline: 14px; }
  .product-app-sidebar::-webkit-scrollbar { display: none; }
  .product-tour-menu-group { flex: none; flex-direction: row; gap: 6px; }
  .product-tour-menu-group + .product-tour-menu-group { padding-left: 0; border: 0; }
  .product-tour-menu-group > p { display: none; }
  .product-tour-menu { width: auto; min-height: 36px; padding: 8px 12px; font-size: 12px; }
  .product-tour-menu[aria-pressed="true"]::after { display: none; }
  .product-tour-introduction { border: 0; }
  .product-tour-overview { overflow: visible; padding: 20px 22px 22px; }
  .product-tour-intro-meta { gap: 8px; margin-bottom: 14px; }
  .product-tour-intro-icon { width: 27px; height: 27px; border-radius: 8px; }
  .product-tour-overview h2 { font-size: 23px; line-height: 1.48; }
  .product-tour-summary { margin: 12px 0 0; font-size: 12px; line-height: 1.9; }
  .product-tour-artwork { padding-top: 22px; }
  .product-tour-flow-steps { flex-direction: column; gap: 0; }
  .product-tour-flow-step { flex: none; padding: 11px 14px; }
  .product-tour-flow-arrow { top: auto; right: auto; bottom: -13px; left: 50%; transform: translateX(-50%) rotate(90deg); line-height: 1; }
  .product-tour-artwork figcaption { padding-top: 10px; font-size: 9.5px; }
  .product-tour-explanation { margin: 0 10px 10px; border-radius: 16px; }
  .product-tour-results { overflow: visible; padding: 22px 14px 18px; }
  .product-tour-results h3 { font-size: 19px; }
  .product-tour-result-description { margin-bottom: 14px; }
  .product-tour-outcome { padding: 14px 15px 15px; }
  .product-tour-takeaway { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) { .product-tour-menu { transition: none; } }
