/* White presentation shell. Application snapshots retain their shared styles. */
html:has(.product-tour), body.product-tour {
  height: auto; min-height: 100%; overflow-x: clip; overflow-y: auto;
  background: var(--qa-surface); scroll-behavior: smooth;
  scrollbar-color: #bec5ce var(--qa-surface); scrollbar-width: thin;
}
:root body.product-tour { margin: 0; color: var(--qa-ink); background: var(--qa-surface); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
.product-tour { --display: var(--font-ui); --mono: ui-monospace, monospace; }
.product-tour *, .product-tour *::before, .product-tour *::after { box-sizing: border-box; }
.crm-cover h1, .cover-heading p, .theme-heading h2, .theme-heading p { margin: 0; }
:root .product-tour a { text-decoration: none; }
:root .product-tour a:focus-visible, :root .product-tour button:focus-visible { outline: 3px solid var(--qa-blue); outline-offset: 5px; }
.tour-skip { position: absolute; z-index: 10; top: -80px; left: 24px; padding: 14px; background: var(--qa-surface); }
.tour-skip:focus { top: 12px; }
.tour-nav { height: 92px; padding: 0 clamp(24px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tour-nav img { display: block; width: 74px; height: auto; }
.tour-nav nav { display: flex; gap: 10px; }
:root .product-tour .tour-nav nav a { width: auto; min-height: 40px; padding: 11px 20px; border-radius: 5px; font: 500 13px/1.2 var(--font-ui); box-shadow: none; white-space: nowrap; }
.crm-cover { max-width: 1280px; min-height: 340px; margin: 0 auto; position: relative; padding: 28px 40px 42px; color: var(--qa-ink); background: var(--qa-surface); overflow: clip; border-bottom: 1px solid var(--qa-line); }
:root .tour-back { display: inline-flex; align-items: center; gap: 10px; color: var(--qa-muted); font-size: 13px; }
.tour-back span { font-size: 20px; }
.cover-heading { padding: 36px 0 14px; }
.crm-cover h1 { font-size: clamp(76px, 8vw, 112px); line-height: .95; font-weight: 500; letter-spacing: -.06em; }
.cover-heading p { margin-top: 22px; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.4; letter-spacing: -.02em; }
.crm-cover-mark { position: absolute; right: 8%; top: 74px; width: clamp(130px, 14vw, 190px); height: auto; color: var(--qa-blue); }
:root .cover-next { position: absolute; right: 40px; bottom: 36px; display: flex; gap: 28px; align-items: center; font-size: 13px; color: var(--qa-muted); }
.cover-next span { font-size: 22px; }
.tour-theme { max-width: 1280px; margin: 0 auto; padding: 76px 40px 12px; scroll-margin-top: 24px; }
.theme-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; margin-bottom: 32px; }
.theme-index { display: block; color: var(--qa-blue); font: 11px/1.5 var(--mono); letter-spacing: .08em; margin-bottom: 16px; }
.theme-heading h2 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.07; font-weight: 500; letter-spacing: -.045em; max-width: 480px; }
.theme-heading p { color: var(--qa-muted); font-size: 17px; line-height: 1.55; padding-bottom: 2px; }
.tour-tabs { display: flex; align-items: stretch; gap: 28px; position: relative; z-index: 2; margin-bottom: 20px; border-bottom: 1px solid var(--qa-line); }
:root .tour-tabs a { padding: 14px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--qa-muted); font-size: 15px; font-weight: 500; transition: color 160ms; }
:root .tour-tabs a:hover, :root .tour-tabs a[aria-selected="true"] { color: var(--qa-blue); }
:root .tour-tabs a[aria-selected="true"] { border-bottom-color: var(--qa-blue); }
:root .tour-tabs a:focus-visible { outline-offset: 3px; }
.tour-screen { position: relative; }
.tour-scene { position: relative; }
.tour-scene[hidden] { display: none; }
.tour-scene + .tour-scene { margin-top: 32px; }
.tour-enhanced .tour-scene { margin-top: 0; }
.scene-caption { min-height: 46px; padding: 18px 0 0; margin: 0; font-size: 14px; line-height: 1.5; color: var(--qa-muted); }
.tour-playback { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; font-size: 11px; color: var(--qa-muted); }
.tour-playback > div { display: flex; align-items: center; gap: 16px; }
.playback-track { width: 64px; height: 2px; background: var(--qa-line); display: none; }
.tour-enhanced .playback-track { display: block; }
.playback-track i { display: block; height: 100%; background: var(--qa-blue); transform-origin: left; transform: scaleX(var(--playback-progress, 0)); }
:root .product-tour :is(.tour-replay, .tour-pause) { width: auto; padding: 8px 0 8px 8px; border: 0; color: var(--qa-ink); background: transparent; font: inherit; cursor: pointer; box-shadow: none; }
:root .product-tour .tour-pause:disabled { color: var(--qa-muted); cursor: default; opacity: .55; }
.tour-replay span { display: inline-block; font-size: 18px; margin-left: 6px; vertical-align: -1px; }
.tour-replay[hidden], .tour-pause[hidden] { display: none; }
.tour-footer { max-width: 1200px; margin: 72px auto 0; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--qa-line); font-size: 13px; }
.tour-footer > span { color: var(--qa-muted); }
.tour-catalogue { max-width: 1280px; margin: 0 auto; padding: 80px 40px 12px; }
.catalogue-heading { margin-bottom: 26px; }
.catalogue-heading h2 { margin: 0; font-size: clamp(32px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.04em; }
.catalogue-heading p { color: var(--qa-muted); margin: 14px 0 0; font-size: 16px; }
.tour-capabilities > summary { display: inline-flex; align-items: center; gap: 28px; width: auto; padding: 12px 22px; cursor: pointer; list-style: none; }
.tour-capabilities > summary::-webkit-details-marker { display: none; }
.tour-capabilities > summary:focus-visible, .capability-scroll:focus-visible { outline: 3px solid var(--qa-blue); outline-offset: 5px; }
.tour-capabilities > summary .capability-less, .tour-capabilities[open] > summary .capability-more { display: none; }
.tour-capabilities[open] > summary .capability-less { display: inline; }
.tour-capabilities[open] > summary .capability-arrow { transform: rotate(90deg); }
.capability-scroll { overflow-x: auto; max-width: 100%; margin-top: 32px; }
.capability-table { min-width: 740px; table-layout: fixed; width: 100%; }
.capability-table caption { text-align: left; font-size: 18px; padding: 0 0 20px; color: var(--qa-ink); }
.capability-table thead th:nth-child(1) { width: 15%; }
.capability-table thead th:nth-child(2) { width: 23%; }
.capability-table thead th:nth-child(3) { width: 43%; }
.capability-table thead th:nth-child(4) { width: 19%; }
.product-tour .capability-table :is(th, td) { white-space: normal; overflow-wrap: anywhere; text-align: left; vertical-align: top; padding: 17px 14px; line-height: 1.55; }
.capability-table tbody th { font-weight: 500; font-family: var(--font-ui); letter-spacing: normal; }
.capability-table tbody td:first-child, .capability-table tbody td:last-child { color: var(--qa-muted); font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tour-scene.scene-enter { animation: scene-enter 260ms ease-out both; }
@keyframes scene-enter { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 1280px) { .tour-footer { margin-inline: 40px; } }
@media (max-width: 760px) {
  .tour-nav { height: 80px; } .tour-nav img { width: 66px; }
  .crm-cover { padding-inline: 28px; min-height: 335px; }
  .crm-cover-mark { width: 130px; right: 7%; top: 90px; }
  .theme-heading { gap: 28px; } .theme-heading p { font-size: 15px; }
  .wide-break { display: none; }
  .tour-theme { padding: 58px 28px 12px; }
  .tour-tabs { gap: 24px; } :root .tour-tabs a { font-size: 14px; }
}
@media (max-width: 520px) {
  .tour-catalogue { padding: 48px 24px 8px; }
  .product-tour[data-product] .crm-cover h1 { font-size: 64px; }
  .product-tour[data-product] .crm-cover-mark { width: 54px; top: 24px; right: 24px; }
  :root .product-tour .tour-nav nav a { padding: 10px 13px; min-height: 38px; font-size: 12px; }
  .tour-nav { padding-inline: 20px; gap: 12px; } .tour-nav nav { gap: 8px; } .tour-nav img { width: 58px; }
  .crm-cover { min-height: 345px; padding: 22px 24px 36px; }
  .crm-cover-mark { width: 88px; top: 92px; right: 25px; }
  .crm-cover h1 { font-size: 72px; } .cover-heading p { font-size: 18px; }
  :root .cover-next { right: 24px; bottom: 24px; gap: 14px; }
  .tour-theme { padding: 48px 16px 8px; }
  .theme-heading { display: block; padding: 0 8px; margin-bottom: 20px; }
  .theme-heading h2 { font-size: 35px; }
  .theme-heading p { margin-top: 18px; max-width: 340px; }
  .theme-index { margin-bottom: 14px; }
  .tour-tabs { gap: 19px; margin-bottom: 16px; }
  :root .tour-tabs a { font-size: 12px; padding: 12px 0; }
  .scene-caption { font-size: 12px; min-height: 54px; padding-top: 14px; }
  .tour-playback { font-size: 10px; flex-wrap: wrap; } .tour-playback > div { gap: 12px; }
  .playback-track { width: 40px; }
  .tour-footer { margin: 44px 24px 0; padding: 26px 0; flex-wrap: wrap; font-size: 12px; }
  .tour-footer > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.product-tour) { scroll-behavior: auto; }
  .product-tour *, .product-tour *::after { animation: none !important; transition: none !important; }
}
