.sample-tour-launchers {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  vertical-align: middle;
}
.sample-tour-launch {
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid #6686a366;
  border-radius: 6px;
  background: #112c44;
  color: #91d7ff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.sample-tour-launch:hover { background: #194669; border-color: #73b6df; }
.sample-tour-launch-secondary { background: #194669; }
.sample-tour-launch:focus-visible { outline: 3px solid #16b8e9; outline-offset: 2px; }

/* Match the navigation palette so the companion guide is distinct from page content. */
.suite-demo-root { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.suite-demo-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 32px));
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: contain;
  border-left: 1px solid #6686a366;
  background: linear-gradient(110deg, #0b1e30, #061321);
  color: #fff;
  box-shadow: -8px 0 28px #07192d55;
  pointer-events: auto;
  font: inherit;
}
.suite-demo-panel[hidden] { display: none; }
.suite-demo-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b5c9da transparent;
}
.suite-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px 12px;
  border-bottom: 1px solid #6686a366;
  background: #061321;
}
.suite-demo-brand { display: grid; justify-items: start; gap: 3px; }
.suite-demo-brand-logo { display:block; width:150px; height:auto; max-width:100%; object-fit:contain; background:transparent; border:0; border-radius:0; box-shadow:none; }
.suite-demo-brand strong { color: #fff; font-size: 17px; line-height: 1.25; }
.suite-demo-kicker { color: #c5d8ec; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.suite-demo-window-controls { display: flex; gap: 4px; }
.suite-demo-icon {
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #c5d8ec;
  font: 400 22px/1 Arial, sans-serif;
  cursor: pointer;
}
.suite-demo-icon:hover { border-color: #73b6df; background: #1c3a52; }
.suite-demo-icon:focus-visible,
.suite-demo-locate:focus-visible,
.suite-demo-begin:focus-visible,
.suite-demo-step-controls button:focus-visible,
.suite-demo-audiences button:focus-visible,
.suite-demo-reopen:focus-visible { outline: 3px solid #08a7d5; outline-offset: 2px; }
.suite-demo-audiences {
  display: flex;
  gap: 4px;
  margin: 12px 16px 0;
  padding: 3px;
  border: 1px solid #6686a366;
  border-radius: 8px;
  background: #061321;
}
.suite-demo-audiences button {
  flex: 1;
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #c5d8ec;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.suite-demo-audiences button:hover { background: #112c44; }
.suite-demo-audiences button.is-active { border-color: #73b6df; background: #194669; color: #fff; box-shadow: 0 1px 3px #07192d33; }
.suite-demo-content { padding: 12px 16px 2px; }
.suite-demo-context > span { color: #91d7ff; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.suite-demo-context h2 { margin: 4px 0 5px; color: #fff; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.suite-demo-context > p { margin: 0; color: #c5d8ec; font-size: 13px; line-height: 1.5; }
.suite-demo-instruction { margin-top: 12px; color: #c5d8ec; font-size: 13px; font-weight: 700; }
.suite-demo-topic-list { display: grid; gap: 7px; margin-top: 8px; }
.suite-demo-topic {
  overflow: hidden;
  border: 1px solid #6686a366;
  border-radius: 8px;
  background: #112c44;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.suite-demo-topic:hover { border-color: #73b6df; }
.suite-demo-topic[open] { border-color: #73b6df; background: #14334d; box-shadow: 0 2px 8px #0b578512; }
.suite-demo-topic > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 8px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.suite-demo-topic > summary::-webkit-details-marker,
.suite-demo-shared > summary::-webkit-details-marker { display: none; }
.suite-demo-topic-index {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 6px;
  background: #1c3a52;
  color: #c5d8ec;
  font-size: 11px;
  font-weight: 700;
}
.suite-demo-topic-title { flex: 1; }
.suite-demo-topic-chevron { color: #c5d8ec; font-size: 17px; line-height: 1; transition: transform .16s ease; }
.suite-demo-topic[open] > summary .suite-demo-topic-chevron,
.suite-demo-shared[open] > summary .suite-demo-topic-chevron { transform: rotate(45deg); }
.suite-demo-topic > summary:focus-visible,
.suite-demo-shared > summary:focus-visible { outline: 3px solid #08a7d5; outline-offset: -3px; }
.suite-demo-topic-body { padding: 0 12px 12px 42px; }
.suite-demo-topic-body > p { margin: 0; color: #c5d8ec; font-size: 13px; line-height: 1.5; }
.suite-demo-topic-body .suite-demo-explore { margin-top: 7px; color: #c5d8ec; }
.suite-demo-topic-body .suite-demo-explore strong { color: #fff; }
.suite-demo-locate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  margin-top: 9px;
  padding: 4px 9px;
  border: 1px solid #6686a366;
  border-radius: 6px;
  background: #14334d;
  color: #91d7ff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.suite-demo-locate:hover { border-color: #73b6df; background: #194669; }
.suite-demo-shared { margin: 10px 16px 0; border: 1px solid #6686a366; border-radius: 8px; background: #061321; }
.suite-demo-shared > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.suite-demo-shared-intro { margin: -4px 12px 8px; color: #c5d8ec; font-size: 12px; }
.suite-demo-shared [data-demo-shared-topics] { display: grid; gap: 6px; padding: 0 8px 8px; }
.suite-demo-shared .suite-demo-topic { background: #112c44; }
.suite-demo-empty { margin: 6px 0 2px; color: #c5d8ec; font-size: 13px; line-height: 1.5; }
.suite-demo-footer {
  flex: 0 0 auto;
  padding: 10px 16px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #6686a366;
  background: #061321;
  color: #c5d8ec;
  font-size: 12px;
}
.suite-demo-progress { margin-bottom: 8px; color: #c5d8ec; font-size: 12px; font-weight: 700; text-align: center; }
.suite-demo-begin,
.suite-demo-step-controls button {
  min-height: 34px;
  border: 1px solid #6686a366;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.suite-demo-begin { width: 100%; background: #076baa; border-color: #73b6df; color: #fff; }
.suite-demo-begin:hover { background: #085a90; }
.suite-demo-step-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 7px; }
.suite-demo-step-controls button { background: #112c44; color: #fff; }
.suite-demo-step-controls button:hover:not(:disabled) { border-color: #73b6df; background: #194669; }
.suite-demo-step-controls button:disabled { opacity: 1; color: #93a9bb; background: #0b1e30; border-color: #2e4a61; cursor: default; }
.suite-demo-footer p { margin-top: 7px; color: #c5d8ec; font-size: 11px; line-height: 1.4; text-align: center; }
.suite-demo-reopen {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #6686a366;
  border-radius: 20px;
  background: linear-gradient(110deg, #0b1e30, #061321);
  color: #fff;
  box-shadow: 0 6px 22px #07192d55;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
}
.suite-demo-reopen[hidden] { display: none; }
.suite-demo-reopen span { color: #91d7ff; }
.suite-demo-highlight {
  outline: 3px solid #08a8d7 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #08a8d71f !important;
  scroll-margin: 24px;
  transition: outline-color .16s ease, box-shadow .16s ease;
}
#main .card.suite-demo-highlight {
  position: relative;
  z-index: 1;
  outline: 0 !important;
  box-shadow: none !important;
}
#main .card.suite-demo-highlight::after {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 4px;
  border: 4px solid #08a8d7;
  border-radius: 7px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 7px #087fd0, 0 0 20px #087fd088;
  pointer-events: none;
}
#main .roster-calendar.suite-demo-highlight {
  position: relative;
  z-index: 1;
  outline: 0 !important;
  box-shadow: none !important;
}
#main .roster-calendar.suite-demo-highlight::after {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 4px;
  border: 4px solid #08a8d7;
  border-radius: 7px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 7px #087fd0, 0 0 20px #087fd088;
  pointer-events: none;
}
.suite-demo-panel button:focus-visible { outline: 3px solid #08a7d5; outline-offset: 2px; }

@media (max-width: 760px) {
  .sample-tour-launchers { display: flex; flex: 0 0 100%; justify-content: flex-start; flex-wrap: wrap; margin: 7px 0 0; }
  .sample-tour-launch { min-height: 32px; }
  .suite-demo-panel {
    top: max(72px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    left: max(10px, env(safe-area-inset-left));
    bottom: auto;
    width: auto;
    height: auto;
    max-height: min(72dvh, calc(100dvh - 92px));
    border-radius: 11px;
    border: 1px solid #6686a366;
    box-shadow: 0 18px 56px #07192d38;
  }
  .suite-demo-scroll { flex: 1 1 auto; }
  .suite-demo-header { padding: 12px 14px 10px; }
  .suite-demo-content { padding: 10px 12px 2px; }
  .suite-demo-context h2 { font-size: 19px; }
  .suite-demo-shared { margin-right: 12px; margin-left: 12px; }
}
@media (min-width: 761px) {
  body.suite-demo-open { --suite-demo-dock-width: clamp(300px, 31vw, 380px); }
  body.suite-demo-open .suite-shell {
    margin-right: var(--suite-demo-dock-width);
    transition: margin-left .18s ease, margin-right .22s ease;
  }
  body.suite-demo-open .suite-demo-panel {
    width: var(--suite-demo-dock-width);
    height: 100dvh;
    border-radius: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }
  body.suite-demo-open[data-page="flights"] .plan-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.suite-demo-open[data-page="flights"] .plan-fields .field:last-child { grid-column: 1 / -1; }
}
@media (max-height: 620px) and (min-width: 761px) {
  .suite-demo-panel { max-height: calc(100dvh - 92px); }
  .suite-demo-context h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .suite-demo-topic,
  .suite-demo-topic-chevron,
  .suite-demo-highlight { transition: none; }
}
@media (forced-colors: active) {
  .suite-demo-panel,
  .suite-demo-scroll,
  .suite-demo-topic,
  .suite-demo-shared,
  .suite-demo-audiences,
  .suite-demo-locate,
  .suite-demo-begin,
  .suite-demo-step-controls button { border: 1px solid CanvasText; }
  .suite-demo-highlight { outline: 3px solid Highlight !important; box-shadow: none !important; }
  #main .card.suite-demo-highlight::after { border-color: Highlight; box-shadow: 0 0 0 3px Canvas, 0 0 0 7px Highlight; }
  #main .roster-calendar.suite-demo-highlight::after { border-color: Highlight; box-shadow: 0 0 0 3px Canvas, 0 0 0 7px Highlight; }
  .suite-demo-audiences button.is-active { outline: 2px solid Highlight; }
}

/* Keep the introduction and page context scrollable without moving navigation. */
.suite-demo-header, .suite-demo-audiences { flex-shrink: 0; }
.suite-demo-pitch { margin: 18px 0; padding: 15px; border: 1px solid #6686a366; border-radius: 9px; background: #10314c; }
.suite-demo-pitch > span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #91d7ff; }
.suite-demo-pitch h3 { margin: 7px 0; font-size: 18px; color: #fff; }
.suite-demo-pitch p, .suite-demo-pitch li, .suite-demo-page-summary p, .suite-demo-welcome > p { font-size: 13px; line-height: 1.6; color: #c5d8ec; }
.suite-demo-pitch ul { margin: 10px 0; padding-left: 17px; }
.suite-demo-pitch li + li { margin-top: 7px; }
.suite-demo-page-summary h3 { margin: 15px 0 5px; font-size: 14px; color: #fff; }
.suite-demo-page-summary p { margin: 0; }
.suite-demo-sample-note { padding: 10px; margin: 12px 0 !important; border-left: 3px solid #73cfff; background: #ffffff0c; font-size: 13px !important; line-height: 1.5; }
.suite-demo-topic[aria-current="step"] { border-color: #73b6df; }
.suite-demo-topic[aria-current="step"] .suite-demo-topic-index { background: #076baa; color: #fff; }
.suite-demo-shared[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { body.suite-demo-open .suite-shell { transition: none; } }
