/* ============================================================
   SR650 V3 Tour — OPTION A · REFINED ("Console")
   Three fixed regions: top bar (72px) · letterboxed stage ·
   console (296px). Two-zone console = dark chapter + white AI,
   separated by contrast only (no divider line).
   Ported 1:1 from handoff/tour-a-refined.css + tour-options.css.
   ============================================================ */

/* ---------- tokens (from tour-options.css) ---------- */
:root{
  --red:#e2231a;
  --red-hover:#c01e16;
  --red-soft:#fcecea;
  --ink:#181b1f;
  --ink-mid:#363a40;
  --ink-muted:#62656c;
  --ink-faint:#969aa1;
  --surface:#ffffff;
  --surface-2:#f7f8fa;
  --grey-100:#eff1f3;
  --grey-200:#e3e5e8;
  --grey-300:#cfd2d6;
  --line:#d7dadd;
  --rail-bg:#edeff2;
  --font:"Lenovo Sans","LenovoType","Lenovo","Montserrat",-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Roboto,Arial,sans-serif;
}

/* ============================================================
   BODY / STAGE BG — the engine's resizePage() letterboxes the
   1920×1080 canvas; we paint the body --rail-bg so letterbox
   bands read seamless with the .a2-top header and .a2-stage.
   ============================================================ */
html, body {
  background: var(--rail-bg) !important;
  margin: 0;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

/* ============================================================
   GLOBAL FONT SYNC — every embedded tour text block uses the
   design system's typeface and ink colour. No layout change.
   ============================================================ */
[id^="point"], [id^="point"] *,
[class*="point"], [class*="point"] *,
#cpHeading, #onloadCopy, #onloadCopy *,
.cptextWrapper,
.menuText, .menuitems, .menuitems1, #right_txt, #right_txt *,
.descriptionDemo, .liteAccordion .slider *, .liteAccordion .slider {
  font-family: var(--font) !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}
[id^="point"] p, [id^="point"] li, [id^="point"] span,
[class*="point"] p, [class*="point"] li,
#onloadCopy p, #onloadCopy li{
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: var(--ink-mid) !important;
}
#right_txt p, #right_txt li {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: var(--ink-mid) !important;
}
[id^="point"] h1, [id^="point"] h2, [id^="point"] h3, [id^="point"] h4,
[class*="point"] h1, [class*="point"] h2, [class*="point"] h3, [class*="point"] h4 {
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  font-weight: bold !important;
  color: var(--ink) !important;
  margin: 0 0 8px !important;
}
[id^="point"][id$="text"],
[id^="point"][id$="text"] p,
[id^="point"][id$="text"] li,
[id^="point"][id$="text"] span:not([style*="color"]),
[class*="point"][class*="text"]:not([style*="color"]) {
  color: var(--ink-mid) !important;
}

/* ============================================================
   .a2  — REDESIGNED OVERLAY ROOT (full viewport, fixed)
   Translated from tour-a-refined.jsx; classes & nesting verbatim.
   ============================================================ */
.a2{
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  background: transparent;             /* engine canvas renders behind */
  overflow: hidden;
  z-index: 99996;
  pointer-events: none;                /* children re-enable per region */
  font-family: var(--font);
}
.a2 *, .a2 *::before, .a2 *::after { box-sizing: border-box; }
/* Re-enable pointer events on the regions that should catch clicks */
.a2-top, .a2-console { pointer-events: auto; }
.a2-stage > .a2-lenovo, .a2-stage > .a2-hint, .a2-stage > .a2-bracket { pointer-events: none; }

/* red Lenovo brand flag — lower-right edge of the 3D window */
.a2-lenovo{
  position: absolute; right: 0; bottom: 64px;
  width: 42px; height: auto; z-index: 4; display: block;
  box-shadow: -1px 2px 10px rgba(0,0,0,.14);
}

/* ---------- TOP BAR ---------- */
.a2-top{
  height: 72px; flex: none; position: relative;
  background: var(--rail-bg); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; z-index: 3;
}
.a2-brand{ display: flex; align-items: baseline; gap: 11px; }
.a2-brand .wordmark{
  font-family: var(--font); font-weight: 800; font-size: 21px;
  letter-spacing: -0.01em; color: #1a1a1a; line-height: 1;
}
.a2-brand .wordmark .sys{ font-weight: 400; }
.a2-brand .divider{
  width: 2px; height: 11px; border-radius: 1px;
  background: var(--ink); align-self: baseline;
}
.a2-brand .pname{
  font-family: var(--font); font-size: 14px; font-weight: 500;
  color: var(--ink-muted); line-height: 1; letter-spacing: 0.1px;
  transform: translateY(-3px);
}
.a2-logo-img{ height: 26px; width: auto; display: block; margin-bottom: -4px; }

/* centred nav (optional / unused — kept for closeups) */
.a2-nav{ position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px; }

.a2-seg{ display: flex; gap: 5px; align-items: center; }
.a2-seg i{
  width: 22px; height: 4px; border-radius: 2px;
  background: var(--grey-200); display: block; transition: all .2s;
  /* visible 4px bar, 18px clickable hit area on hover */
  position: relative; cursor: pointer;
}
.a2-seg i::before{
  content: ""; position: absolute; left: -2px; right: -2px; top: -9px; bottom: -9px;
}
.a2-seg i:hover{ background: var(--ink-faint); }
.a2-seg i.done:hover, .a2-seg i.now:hover{ background: var(--red); opacity: 0.85; }
/* The hovered segment's chapter name is previewed in-place at
   `.a2-rnav .label .nm` (engine swaps the text on mouseenter / restores
   on mouseleave). No separate tooltip element. */
.a2-seg i.done{ background: var(--red); opacity: .5; }
.a2-seg i.now{ background: var(--red); width: 30px; }

/* RIGHT-NESTED chapter nav */
.a2-rnav{ display: flex; align-items: center; gap: 18px; }
.a2-rnav .label{ text-align: right; }
.a2-rnav .label .ey{
  font-size: 9.5px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
}
.a2-rnav .label .nm{
  font-size: 15px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin-top: 2px;
}
.a2-rnav .label .a2-seg{ justify-content: flex-end; margin-top: 7px; }
.a2-rnav .vline{ width: 1px; height: 38px; background: var(--grey-200); }
.a2-rnav .steps{ display: flex; align-items: center; gap: 8px; }
.a2-rnav .chev{
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--grey-200); background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid); cursor: pointer; padding: 0;
}
.a2-rnav .chev svg{ width: 13px; height: 13px; }
.a2-rnav .next{
  height: 42px; padding: 0 6px 0 16px; border-radius: 21px;
  border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.a2-rnav .next .nx{ text-align: left; line-height: 1.2; }
.a2-rnav .next .nx .k{
  font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
}
.a2-rnav .next .nx .v{ font-size: 13.5px; font-weight: 600; color: var(--ink); }
.a2-rnav .next .go{
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center;
}
.a2-rnav .next .go svg{ width: 12px; height: 12px; color: #fff; }

/* ---------- STAGE (seamless w/ header grey) ---------- */
.a2-stage{
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  background: transparent;             /* the 3D canvas shows through */
}
/* corner safe-frame brackets */
.a2-bracket{
  position: absolute; width: 26px; height: 26px;
  border: 2px solid rgba(24,27,31,.14); z-index: 2;
}
.a2-bracket.tl{ left: 26px; top: 26px; border-right: none; border-bottom: none; }
.a2-bracket.tr{ right: 26px; top: 26px; border-left: none; border-bottom: none; }
.a2-bracket.bl{ left: 26px; bottom: 26px; border-right: none; border-top: none; }
.a2-bracket.br{ right: 26px; bottom: 26px; border-left: none; border-top: none; }

/* floating 3D hint */
.a2-hint{
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-muted); white-space: nowrap;
}
.a2-hint .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- CONSOLE ----------
   Height + side padding shrink with the viewport so the 3D stage keeps
   as much room as possible on small laptops, but font sizes never change.
   - height: 296 ideal, never less than 240, never more than 33% of viewport
   - chapter zone width tracks viewport so the AI zone always has space */
.a2-console{
  height: clamp(240px, 33vh, 296px);
  flex: none; background: var(--surface-2);
  border-top: 1px solid var(--line); display: flex; z-index: 3;
}
.a2-col{ display: flex; flex-direction: column; min-width: 0; }
/* Both columns share IDENTICAL padding so the top + bottom exclusion zones
   line up exactly between the chapter (left) and AI (right) zones. The
   padding lives on the COLUMN (outside the scroll container) so it's a
   true visible exclusion — never consumed by scrolled content. */
.a2-col.left,
.a2-col.right{
  overflow: hidden;                   /* the inner scroll wrapper does the scrolling */
  min-height: 0;
}
/* Chapter zone — extra top/bottom padding (~1 line of body text) for the
   text display area to breathe. */
.a2-col.left{
  padding: clamp(28px, 4vh, 44px) clamp(18px, 2.4vw, 34px) clamp(28px, 4vh, 44px);
}
/* AI zone — tighter so there's more room for the answer / chips. */
.a2-col.right{
  padding: clamp(12px, 2vh, 22px) clamp(18px, 2.4vw, 34px) clamp(12px, 2vh, 22px);
}
.a2-col.left{
  width: clamp(360px, 38vw, 600px);
  flex: none;
  background: transparent;
}
.a2-col.right{
  flex: 1; min-width: 0;
  background: #fff;
}
/* Scroll viewport inside the chapter zone — pinned by the column padding
   on every side, scrolls only its own content. */
.a2-col.left > .a2-zhead { flex: none; }
.a2-scroll-l{
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 10px;                /* room for the scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
}
.a2-scroll-l::-webkit-scrollbar{ width: 6px; }
.a2-scroll-l::-webkit-scrollbar-track{ background: transparent; }
.a2-scroll-l::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.35); border-radius: 3px; }

/* The chapter "Next" CTA — lives in the chapter zone header now */
.a2-znext{
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 4px 0 13px; border-radius: 15px;
  background: transparent; border: 1px solid rgba(255,255,255,.18); cursor: pointer;
}
.a2-znext .t{ font-size: 11.5px; font-weight: 600; color: #d3d7dc; white-space: nowrap; }
.a2-znext .t b{ color: #fff; font-weight: 700; }
.a2-znext .go{
  width: 22px; height: 22px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-znext .go svg{ width: 9px; height: 9px; color: #fff; }
.a2-col.left.dark .a2-znext{ border-color: rgba(255,255,255,.18); }
.a2-znext[disabled]{ opacity: 0.4; cursor: default; }

/* Top-nav "Play guided tour" pill — replaces the Next pill */
.a2-rnav .a2-play{
  height: 42px; padding: 0 16px 0 6px; border-radius: 21px;
  border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.a2-rnav .a2-play .pb{
  width: 30px; height: 30px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-rnav .a2-play .pb svg{ width: 11px; height: 11px; fill: #fff; margin-left: 1px; }
.a2-rnav .a2-play .t{ font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* On very short screens the bottom-of-zone "stats" row would overflow —
   collapse the in-zone padding and tighten gaps a bit when height is tight. */
@media (max-height: 760px){
  .a2-zhead{ margin-bottom: 10px; }
  .a2-title{ margin-bottom: 6px; }
  .a2-conv{ margin-top: 8px; }
}

.a2-zhead{ display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.a2-zlabel{
  font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 700; color: var(--ink-faint); white-space: nowrap;
}
.a2-badge{
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-zplay{
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 13px 0 4px; border-radius: 15px;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
}
.a2-zplay .pb{
  width: 22px; height: 22px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-zplay .pb svg{ width: 8px; height: 8px; fill: #fff; margin-left: 1px; }
.a2-zplay .t{ font-size: 11.5px; font-weight: 600; color: var(--ink-mid); white-space: nowrap; }

.a2-title{
  font-size: 21px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.015em; margin: 0 0 10px;
}
.a2-body{
  font-size: 14px; line-height: 1.6; color: var(--ink-mid); margin: 0;
}
.a2-body strong{ color: var(--ink); font-weight: 600; }
.a2-body .accent{ color: var(--red); font-weight: 600; }

.a2-stats{ display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.a2-stat{
  flex: 1; border: 1px solid var(--grey-200); border-radius: 9px;
  padding: 10px 12px;
}
.a2-stat .v{ font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.a2-stat .k{ font-size: 10.5px; color: var(--ink-muted); margin-top: 2px; }

/* AI zone — ask bar on the TOP line, scrollable answer below */
.a2-aiorb{
  width: 24px; height: 24px; border-radius: 50%; background: var(--ink-mid);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-aiorb svg{ width: 12px; height: 12px; fill: #fff; }
.a2-ainame{
  font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 700; color: var(--ink-mid);
}
.a2-ctx{
  font-size: 11.5px; color: var(--ink-muted);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
}
.a2-ctx .pip{ width: 6px; height: 6px; border-radius: 50%; background: #22b07d; }

.a2-ask{
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 6px 6px 6px 8px;
}
.a2-ask .orb{
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-ask .orb svg{ width: 14px; height: 14px; fill: #fff; }
.a2-ask .ph,
.a2-ask input{
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: var(--font); font-size: 14px; color: var(--ink-faint);
}
.a2-ask input{ color: var(--ink); }
.a2-ask input::placeholder{ color: var(--ink-faint); }
.a2-ask .mic{
  width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2);
  color: var(--ink-muted);
  display: flex; align-items: center; justify-content: center; flex: none;
  border: none; cursor: pointer; padding: 0;
}
.a2-ask .mic svg{ width: 15px; height: 15px; }
.a2-ask .send{
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none;
  border: none; cursor: pointer; padding: 0;
}
.a2-ask .send svg{ width: 14px; height: 14px; }

/* conversation block */
.a2-conv{
  margin-top: 14px; flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  /* Answer text left-aligned with the ask-bar's outer-left edge (i.e. the
     left side of the input pill, not the typed-query position inside it). */
  padding-left: 0;
}
.a2-convhead{
  display: flex; align-items: center; gap: 10px; margin-bottom: 11px; flex: none;
}
.a2-convhead .a2-try, .a2-convhead .a2-asked{ margin: 0; }
.a2-brandtag{
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 700; color: var(--ink-mid); white-space: nowrap;
}
.a2-brandtag .pip{ width: 6px; height: 6px; border-radius: 50%; background: #22b07d; }

.a2-asked{
  flex: none; font-size: 12.5px; color: var(--ink-muted);
  display: flex; align-items: center; gap: 8px;
}
.a2-asked .q{ color: var(--ink); font-weight: 600; }

.a2-scroll{
  flex: 1; min-height: 0; overflow-y: auto; padding-right: 10px;
  overflow-anchor: none;   /* new answers start at the top (SR450 V4, 2026-10-22) */
  scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.a2-scroll::-webkit-scrollbar{ width: 6px; }
.a2-scroll::-webkit-scrollbar-track{ background: transparent; }
.a2-scroll::-webkit-scrollbar-thumb{ background: var(--red); border-radius: 3px; }

.a2-ans{ font-size: 13.5px; line-height: 1.6; color: var(--ink-mid); margin: 0; }
/* Round 6 item 6 (Nick 2026-09-29): the answer and the asked question are
   selectable + copyable (the engine stops the vendor's page-wide
   onselectstart at the panel). Everywhere else stays unselectable so a
   model drag never highlights the page. */
.a2-panel .a2-ans, .a2-panel .a2-asked{
  -webkit-user-select: text; -moz-user-select: text; user-select: text;
  cursor: text;
}
.a2-ans p{ margin: 0 0 11px; }
.a2-ans p:last-child{ margin-bottom: 0; }
.a2-ans strong{ color: var(--ink); font-weight: 600; }
.a2-ans .accent{ color: var(--red); font-weight: 600; }
.a2-ans a, .a2-ans .ai-case-link{
  color: var(--red); font-weight: 600; text-decoration: none;
}
.a2-ans a:hover{ text-decoration: underline; }

.a2-try{
  flex: none; font-size: 10px; letter-spacing: 1.4px;
  text-transform: uppercase; font-weight: 700;
  color: var(--ink-faint); margin: 2px 0 10px; white-space: nowrap;
}
.a2-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.a2-chip{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 18px; border: 1px solid var(--grey-200);
  background: #fff; color: var(--ink-mid); font-size: 12.5px; white-space: nowrap;
  cursor: pointer; font-family: var(--font);
}
.a2-chip .spark{ width: 12px; height: 12px; color: var(--ink-faint); flex: none; }
.a2-chip.next{ border-color: var(--red); color: var(--red); font-weight: 600; }
.a2-foot{ flex: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--grey-100); }
.a2-foot .a2-try{ margin-top: 0; }

/* Idle vs answered visibility — driven by .has-answer on .a2-col.right */
.a2-col.right:not(.has-answer) .a2-asked,
.a2-col.right:not(.has-answer) .a2-scroll,
.a2-col.right:not(.has-answer) .a2-foot { display: none; }
.a2-col.right.has-answer .a2-try,
.a2-col.right.has-answer > .a2-conv > .a2-chips { display: none; }

/* ============================================================
   FLIPPED — dark CHAPTER zone (left), light AI zone (right).
   ============================================================ */
.a2-col.left.dark{ background: #0e0f11; }
.a2-col.left.dark .a2-zlabel{ color: #868c94; }
.a2-col.left.dark .a2-zplay{ border-color: #3c424a; }
.a2-col.left.dark .a2-zplay .t{ color: #d3d7dc; }
.a2-col.left.dark .a2-title{ color: #fff; }
.a2-col.left.dark .a2-body{ color: #c3c7cd; }
.a2-col.left.dark .a2-body strong{ color: #fff; }
.a2-col.left.dark .a2-body .accent{ color: #ff6257; }
.a2-col.left.dark .a2-stat{ border-color: #3a4047; }
.a2-col.left.dark .a2-stat .v{ color: #fff; }
.a2-col.left.dark .a2-stat .k{ color: #9aa0a8; }

/* ============================================================
   LEGACY HIDES — kept from the previous overlay so the original
   demo chrome doesn't bleed through the new layout.
   ============================================================ */
#accordion              { display: none !important; }
/* NOTE: #cpHeading, #firstSlideheadWrapper and #onloadCopy are NOT hidden
   any more — the original menuNClick() functions toggle their visibility
   per chapter (e.g. menu2Click fades #onloadCopy in for the Overview
   intro). Hiding them with !important killed the text overlays. */
#firstSlideWrapper      { display: none !important; }
#point1image2           { display: none !important; }
#point1text1, .point1text1 { display: none !important; }
#point13text1 { display: none !important; }
#point14text1 { display: none !important; }
#point6text9 { display: none !important; }
/* The original demo's #lenovo_logo (the engine paints it onto the stage —
   that's the "baked" tab Marc sees doubled up). Our responsive .a2-lenovo
   is the only Lenovo flag we want. */
#lenovo_logo            { display: none !important; }

/* Strip every original Intel image regardless of container */
img[src*="intel"] { display: none !important; }
/* .point17textimg, #point7image1 { display: none !important; } */

/* Restyle the "rotate / zoom / move" help swoosh — fits light canvas */
#rightAnim img {
  filter: invert(1) brightness(0.82) saturate(0) !important;
  opacity: 0.55 !important;
}
#rightAnim,
#right_txt, #right_txt *,
#righttxt1, #righttxt1 li,
#righttxt2, #righttxt2 li {
  color: var(--ink) !important;
  font-family: var(--font) !important;
  font-weight: 500 !important;
}

/* Surgical hotspot leader-line cleanups.
   2026-08-21, option B: these r1-era recolours now carry the SOLID 1px
   hairline — they keep their !important (they exist to beat sb.css), so
   the option-B layer at the end of this file must match what is here.
   The dotted texture is retired everywhere. */
/* #hotspot42plus      { border: none !important; } */
#hotspot42plus span { border-left: 1px solid var(--red) !important; }
.hotspot43Div       { border-left: 1px solid var(--red) !important; }
.hotspot318Div      { border-left: 1px solid var(--red) !important; }
.hotspot321Div      { border-left: 1px solid var(--red) !important; }

/* Services lifecycle layout: see css/services-block.css */
/* (Previously hid #point20text/#point20text1 — that was killing the entire
   Management chapter view because menu20Click renders into those nodes.) */
body.ai-mgmt-mode #cpHeading,
body.ai-local-mgmt-mode #cpHeading {
  display: none !important;
}
/* The original demo's intro/heading overlays live inside the 3D stage —
   shift them down past our 72px top bar so they don't collide with the
   chapter eyebrow / Play guided tour pill. */
#cpHeading              { top: 92px !important; left: 32px !important; }
#onloadCopy             { top: 130px !important; left: 32px !important; }

/* The engine's resizePage() vertically centres the 16:9 canvas, which
   produces letterbox bands. Pin the stage to the top so the band falls
   into the console area which already occupies the bottom of the viewport. */
#superblaze, #superblazeWrapper, #canvasContainer { margin-top: 0 !important; }

/* Engine "thinking" indicator — small dots, always visible inside
   .a2-conv (now a sibling of .a2-convhead, NOT inside .a2-scroll which
   is hidden in idle state). Shows whenever .active is on the element. */
#ai-thinking{
  display: none; align-items: center; gap: 7px;
  padding: 8px 0 6px;
  color: var(--ink-muted); font-size: 12px; font-family: var(--font);
}
#ai-thinking.active{ display: inline-flex; }
.ai-dot{ width: 5px; height: 5px; background: var(--red); border-radius: 50%;
  animation: ai-dotPulse 1.2s infinite; }
.ai-dot:nth-child(2){ animation-delay: 0.2s; }
.ai-dot:nth-child(3){ animation-delay: 0.4s; }
@keyframes ai-dotPulse{
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40%           { opacity: 1;   transform: scale(1.2); }
}

/* ============================================================
   SPLIT DECK — client-approved redesign (2026-08).
   Appended as an override layer on the Option A stylesheet above:
   · top bar is brand-only (chapter nav removed from markup)
   · "Play guided tour" floats top-left on the stage
   · ONE white band (~190px): chapters · chapter copy · views
   · Lenovo AI collapses to a trigger in the band and opens as a
     floating panel over the stage; the band never moves.
   ============================================================ */

/* ---------- top bar ---------- */
.a2-top{ height: 64px; }
.a2-rnav{ display: none; }               /* dead selector safety */

/* ---------- floating Play guided tour (stage, top-left) ---------- */
.a2-stage .a2-play{
  position: absolute; left: 36px; top: 16px; z-index: 6;
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; border: none; cursor: pointer; padding: 4px;
  font-family: var(--font);
}
.a2-stage .a2-play .pb{
  width: 26px; height: 26px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-stage .a2-play .pb svg{ width: 10px; height: 10px; fill: #fff; margin-left: 1px; }
.a2-stage .a2-play .t{ font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* hint moves to the right, above the band */
.a2-hint{ left: auto; right: 44px; bottom: 16px; transform: none; }

/* ---------- THE BAND ---------- */
.a2-console{
  height: clamp(170px, 22vh, 200px);
  background: #fff; border-top: 1px solid var(--grey-200);
  display: flex; align-items: stretch;
  padding: 20px clamp(24px, 2.8vw, 44px) 22px;
  gap: clamp(18px, 2.2vw, 38px);
}
.a2-vdiv{ width: 1px; background: var(--grey-100); flex: none; }

/* zone 1 · chapters */
.a2-zone{ display: flex; flex-direction: column; min-width: 0; }
.a2-zone.chzone{ flex: none; }
.a2-zonehead{
  font-size: 13px; font-weight: 800; letter-spacing: 1.4px;
  color: var(--ink-mid); text-transform: uppercase;
  padding-left: 12px; margin-bottom: 7px;
}
.a2-chlist{ display: flex; gap: clamp(16px, 1.8vw, 30px); }
.a2-chcol{ display: flex; flex-direction: column; min-width: 158px; }
.a2-chrow{
  display: flex; align-items: center; gap: 9px; height: 24px;
  background: transparent; border: none; padding: 0 12px; cursor: pointer;
  font-family: var(--font); text-align: left; border-radius: 6px;
}
.a2-chrow:hover{ background: var(--grey-100); }
.a2-chrow .n{
  width: 19px; flex: none; font-size: 10.5px; font-weight: 700;
  letter-spacing: .4px; color: #c9ccd0;
}
.a2-chrow .t{ font-size: 13.5px; font-weight: 500; color: var(--ink-faint); white-space: nowrap; }
.a2-chrow.done .n{ color: #b8bbbf; }
.a2-chrow.done .t{ color: var(--ink-muted); }
.a2-chrow.now .n, .a2-chrow.now .t{ color: var(--red); font-weight: 700; }

/* Ask Lenovo AI trigger — sits under the second chapter column */
.a2-aitrigger{
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin: 8px 0 0 calc(12px + 158px + clamp(16px, 1.8vw, 30px));
  background: transparent; border: none; cursor: pointer; padding: 4px 8px 4px 0;
  font-family: var(--font); border-radius: 999px;
}
.a2-aitrigger .orb{
  width: 24px; height: 24px; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-aitrigger .orb svg{ width: 11px; height: 11px; fill: #fff; }
.a2-aitrigger .t{ font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.a2-aitrigger .pip{ width: 7px; height: 7px; border-radius: 50%; background: #2ea44f; flex: none; }
.a2-aitrigger:hover .t{ color: var(--red); }

/* zone 2 · chapter copy — light, mid-band (overrides the old dark column) */
.a2-console .a2-col.left{
  flex: 1; width: auto; min-width: 0; background: transparent;
  padding: 2px 0 0;
}
.a2-console .a2-col.left .a2-zhead{ margin-bottom: 8px; }
.a2-console .a2-col.left .a2-zlabel{ color: var(--ink-faint); }
.a2-console .a2-col.left .a2-title{ font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 7px; }
.a2-console .a2-col.left .a2-body{ font-size: 13.5px; line-height: 1.55; color: var(--ink-muted); }
.a2-console .a2-col.left .a2-body strong{ color: var(--ink); }
.a2-console .a2-scroll-l{ scrollbar-color: var(--grey-300) transparent; }
.a2-console .a2-scroll-l::-webkit-scrollbar-thumb{ background: var(--grey-300); }
/* prev/next kept for the engine but not part of the design */
.a2-ghostnav{ display: none !important; }

/* zone 3 · views */
.a2-zone.views{ flex: none; min-width: 185px; justify-content: center; }
.a2-vlist{ display: flex; flex-direction: column; }
.a2-vrow{
  display: flex; align-items: center; gap: 9px; height: 26px;
  background: transparent; border: none; padding: 0 10px; cursor: pointer;
  font-family: var(--font); text-align: left; border-radius: 6px;
}
.a2-vrow:hover{ background: var(--grey-100); }
.a2-vrow .n{
  width: 19px; flex: none; font-size: 10.5px; font-weight: 700;
  letter-spacing: .4px; color: #c9ccd0;
}
.a2-vrow .t{ font-size: 13.5px; font-weight: 500; color: var(--ink-faint); white-space: nowrap; }
.a2-vrow.now .n, .a2-vrow.now .t{ color: var(--red); font-weight: 700; }

/* ---------- LENOVO AI floating panel ---------- */
@keyframes a2PanelDrop{
  from{ opacity: 0; transform: translateY(-14px); }
  to  { opacity: 1; transform: translateY(0); }
}
.a2-panel{
  display: none;
  position: absolute; right: 40px; top: 24px; z-index: 30;
  width: min(430px, calc(100vw - 80px));
  height: min(498px, calc(100% - 48px));
  background: #fff; border: 1px solid var(--grey-300); border-radius: 8px;
  box-shadow: 0 18px 44px rgba(19,21,25,.13);
  flex-direction: column; overflow: hidden;
  pointer-events: auto;
}
.a2.ai-open .a2-panel{
  display: flex;
  animation: a2PanelDrop .4s cubic-bezier(.22,.61,.36,1) both;
}
.a2-phead{
  flex: none; display: flex; align-items: center; gap: 9px;
  padding: 14px 16px 13px 18px; border-bottom: 1px solid var(--grey-100);
}
.a2-phead .orb{
  width: 24px; height: 24px; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.a2-phead .orb svg{ width: 11px; height: 11px; fill: #fff; }
.a2-phead .pt{
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--ink);
}
.a2-phead .pip{ width: 7px; height: 7px; border-radius: 50%; background: #2ea44f; flex: none; }
.a2-pclose{
  margin-left: auto; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--grey-200); background: #fff; color: var(--ink-muted);
  font-size: 15px; line-height: 1; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font);
}
.a2-pclose:hover{ color: var(--ink); border-color: var(--grey-300); }

/* panel interior — override the old right-column padding/flex */
.a2-panel.a2-col.right{ padding: 0; flex: none; }
.a2-panel .a2-conv{
  flex: 1; min-height: 0; margin: 0;
  padding: 14px 18px 10px; display: flex; flex-direction: column;
}
.a2-panel .a2-convhead{ margin-bottom: 9px; }
/* the question renders as a chat bubble, right-aligned */
.a2-panel .a2-asked{
  align-self: flex-end; max-width: 300px; margin: 0 0 12px;
  background: var(--surface-2); border-radius: 14px 14px 4px 14px;
  padding: 10px 14px; font-size: 13.5px;
}
.a2-panel .a2-asked .q{ color: var(--ink); font-weight: 600; }
.a2-panel .a2-foot{ margin-top: 11px; padding-top: 11px; }
/* ask bar pinned at the bottom of the panel */
.a2-panel .a2-ask{ flex: none; margin: 0 16px 16px; }
.a2-panel .a2-ask .send{ background: var(--red); }

/* idle/answered visibility inside the panel (same .has-answer contract) */
.a2-panel.a2-col.right:not(.has-answer) .a2-asked,
.a2-panel.a2-col.right:not(.has-answer) .a2-scroll,
.a2-panel.a2-col.right:not(.has-answer) .a2-foot{ display: none; }
.a2-panel.a2-col.right.has-answer .a2-try,
.a2-panel.a2-col.right.has-answer > .a2-conv > .a2-chips#ai-suggest-strip{ display: none; }

/* ---------- band on short screens ---------- */
@media (max-height: 760px){
  .a2-console{ height: clamp(160px, 24vh, 190px); padding-top: 14px; }
  .a2-zonehead{ margin-bottom: 4px; }
  .a2-chrow, .a2-vrow{ height: 22px; }
  .a2-aitrigger{ margin-top: 5px; }
}

/* Split deck: interactive elements on the pointer-transparent stage */
.a2-stage .a2-play, .a2-panel{ pointer-events: auto; }

/* ============================================================
   SPLIT DECK — polish r2 (Nick's five, from live review 2026-08-17)
   ============================================================ */

/* 1 · lockup + Play guided tour left-align at 40px, like the mockup */
.a2-top{ height: 64px; padding: 0 40px; }
.a2-brand{ align-items: center; gap: 14px; }
.a2-logo-img{ margin-bottom: 0; }
.a2-brand .divider{ width: 1px; height: 20px; border-radius: 0; background: var(--grey-300); align-self: center; }
.a2-brand .pname{ font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--ink-faint); transform: none; }
.a2-stage .a2-play{ left: 36px; top: 16px; }   /* 4px inner padding -> icon at 40px;
   top 16px matches .a2-aitrigger so all three top controls share one
   circle centre line (Nick 2026-09-14: Play sat 2px low) */

/* 2 · the trigger was hugging the bottom edge — give the band the height
   its content actually needs, and tighten rows so it fits at every size */
.a2-console{ height: clamp(196px, 23vh, 214px); padding-top: 14px; padding-bottom: 12px; }
.a2-zonehead{ margin-bottom: 6px; }
.a2-chrow{ height: 23px; }
.a2-vrow{ height: 24px; }
.a2-aitrigger{ margin-top: 6px; }
@media (max-height: 800px){
  .a2-console{ height: 176px; padding-top: 10px; padding-bottom: 8px; }
  .a2-chrow, .a2-vrow{ height: 21px; }
  .a2-zonehead{ margin-bottom: 3px; }
  .a2-aitrigger{ margin-top: 4px; }
}

/* 3 · single-view chapters: no views zone, no second divider */
.a2-console.no-views .a2-zone.views,
.a2-console.no-views .a2-vdiv2{ display: none; }

/* 5 · AI panel clears the Lenovo flag */
.a2-panel{ right: 58px; }

/* css/sb.css carries hand-added tail overrides from the previous top bar
   (.a2-brand align-items:end !important, divider align-self:end !important,
   pname translateY(3px) !important) which pushed the divider and SR650 V3
   below the wordmark. Counter them at equal importance, later in document
   order, so the lockup centres like the mockup. */
.a2-brand{ align-items: center !important; }
.a2-brand .divider{ align-self: center !important; }
.a2-brand .pname{ transform: none !important; }

/* ============================================================
   OFFICIAL COPY MOVED TO THE BAND (Nick, 2026-08-17) — the tour's
   descriptive paragraphs now render in IN THIS CHAPTER, so their
   stage instances hide (moved, not duplicated). Callouts, hotspot
   labels, stage headings (#cpHeading) and the Management / Local
   Management stage surfaces are untouched. point1text1 / point13text1
   / point14text1 were already hidden by the legacy block above.
   ============================================================ */
#point17text1 { display: none !important; }   /* CPUs sentence */
#point15text1 { display: none !important; }   /* Integrated diagnostics panel */
#point16text1 { display: none !important; }   /* External diagnostics handset */
#point11text1 { display: none !important; }   /* Heatsinks */

/* AI panel chips: long suggestions wrap inside the panel instead of
   clipping at its right edge ("did you mean" chips especially). */
.a2-panel .a2-chip{
  white-space: normal; text-align: left; line-height: 1.35;
  max-width: 100%; height: auto;
}
.a2-panel .a2-chip span{ min-width: 0; }

/* ============================================================
   INTEL XEON BADGE — restored (Nick, 2026-08-17). The original tour
   showed it on Overview + CPUs; the redesign's global intel-image
   purge swallowed it. The overlay's own #ai-intel-badge is the one
   sanctioned instance: shown via body.ai-intel-on (Overview + CPUs,
   set in renderRailActive), positioned above the band by
   applyCanvasBounds. The global img[src*="intel"] hide stays for
   every stray copy in the base tour.
   ============================================================ */
#ai-intel-badge{
  position: fixed; z-index: 5; left: 40px;
  pointer-events: none;
}
body:not(.ai-intel-on) #ai-intel-badge{ display: none !important; }
#ai-intel-badge img,
#ai-intel-badge img[src*="intel"]{
  display: block !important;
  width: 92px; height: auto;
  filter: none !important; opacity: 1 !important;
}

/* Badge visibility + fallback position owned by CSS — the element is
   injected with inline display:none and applyCanvasBounds (which flips
   it) does not run on every load path. Same lesson as the mgmt grid. */
#ai-intel-badge{ /*bottom: 236px;*/ left: 170px; }
body.ai-intel-on #ai-intel-badge{ display: block !important; }

/* ============================================================
   BAND REVISION r2 (client round-2 feedback, handoff_band_revision,
   2026-08-19). Chapters · Views · Description; AI trigger top-right
   mirroring Play; panel anchored below it (arrow send, not mag glass);
   band HIDE tab -> 40px handle; ticks removed; Option E hovers
   (client-selected) on every interactive element.
   ============================================================ */

/* ---- AI trigger: top-right of the stage, mirrors Play ---- */
.a2-aitrigger{
  position: absolute; right: 58px; top: 16px; z-index: 6; margin: 0;
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; border: none; cursor: pointer; padding: 4px;
  font-family: var(--font); pointer-events: auto;
}
.a2-aitrigger .orb{
  width: 26px; height: 26px; border-radius: 50%; background: #131519;
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: background .16s ease;
}
.a2-aitrigger .orb svg{ width: 12px; height: 12px; fill: #fff; }
.a2-aitrigger .t{ font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.a2-aitrigger .pip{ width: 7px; height: 7px; border-radius: 50%; background: #2ea44f; flex: none; }
.a2-aitrigger:hover .t{ color: var(--ink); }   /* neutralise the r1 red flip; Option E below */

/* ---- panel: anchored below the trigger ---- */
.a2-panel{
  right: 58px; top: 60px;
  width: min(410px, calc(100vw - 116px));
  height: auto; max-height: min(560px, calc(100% - 84px));
  border-radius: 14px; border-color: var(--grey-300);
  box-shadow: 0 14px 34px rgba(19,21,25,.10);
}
.a2-phead .pip{ width: 7px; height: 7px; border-radius: 50%; background: #2ea44f; flex: none; }
.a2-panel .a2-conv{ flex: 0 1 auto; }
.a2-panel .a2-scroll{ max-height: 250px; }
.a2-panel .a2-asked{ background: var(--surface-2); border-radius: 12px 12px 4px 12px; }

/* ---- the band: Chapters · Views · Description ---- */
.a2-console{ position: relative; }
.a2-zone.views{ min-width: 150px; flex: none; justify-content: center; padding-left: 4px; }

/* HIDE tab, centred on the band's top edge */
.a2-hidetab{
  position: absolute; left: 50%; top: -26px; transform: translateX(-50%);
  height: 26px; padding: 0 16px;
  background: #fff; border: 1px solid var(--grey-200); border-bottom: none;
  border-radius: 8px 8px 0 0; cursor: pointer;
  font-family: var(--font); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 6px; z-index: 7;
}
.a2-hidetab .chv{ font-size: 11px; line-height: 1; color: var(--ink-muted); }
.a2-hidetab:hover .chv{ color: var(--ink); }
.a2-hidetab:hover{ color: var(--ink); }

/* collapsed state: 40px handle strip, everything else hidden */
.a2-handle{ display: none; }
.a2.band-collapsed .a2-console{
  height: 40px; min-height: 40px; padding: 0;
  align-items: center; justify-content: center;
}
.a2.band-collapsed .a2-console .a2-zone,
.a2.band-collapsed .a2-console .a2-vdiv,
.a2.band-collapsed .a2-console .a2-col.left,
.a2.band-collapsed .a2-hidetab{ display: none; }
.a2.band-collapsed .a2-handle{
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: none; cursor: pointer; padding: 0 20px;
  height: 40px; font-family: var(--font);
}
.a2-handle .chv{ font-size: 11px; line-height: 1; color: var(--ink-muted); }
.a2-handle:hover .chv{ color: var(--ink); }
.a2-handle .hlbl{
  font-size: 10px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--ink-muted);
}
.a2-handle .hsep{ width: 1px; height: 16px; background: var(--grey-200); }
.a2-handle .hnum{ font-size: 10.5px; font-weight: 700; letter-spacing: .4px; color: var(--red); }
.a2-handle .htxt{ font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ============================================================
   OPTION E hovers (client-selected): nudge + red accent, 160ms.
   Replaces the r1 grey-fill row hover.
   ============================================================ */
.a2-chrow, .a2-vrow{ transition: transform .16s ease, color .16s ease; }
.a2-chrow:hover, .a2-vrow:hover{ background: transparent; transform: translateX(4px); }
.a2-chrow:hover .t, .a2-vrow:hover .t{ color: var(--ink); }
.a2-chrow:hover .n, .a2-vrow:hover .n{ color: var(--red); }
.a2-chrow.now:hover .t, .a2-vrow.now:hover .t{ color: var(--red); }

.a2-aitrigger{ transition: transform .16s ease; }
.a2-aitrigger:hover{ transform: translateX(4px); }
.a2-aitrigger:hover .orb{ background: var(--red); }

.a2-stage .a2-play{ transition: transform .16s ease; }
.a2-stage .a2-play:hover{ transform: translateX(4px); }

.a2-chip{ transition: transform .16s ease, border-color .16s ease, color .16s ease; }
.a2-chip:hover{ transform: translateY(-2px); border-color: var(--red); color: var(--ink); }

/* ============================================================
   GUIDED-TOUR PROGRESS — option G (colleague feedback via Nick,
   approved 2026-08-20). The ring on the Play disc takes the SLOW
   job (whole-tour position + total countdown); the row fill takes
   the FAST job (liveness): the current chapter row fills across
   ALL of its stops, the view row per stop. Nothing is added to
   the band and its fixed height is untouched. Manual navigation
   mid-tour silently redirects, as before (Nick, 2026-08-20) —
   the engine derives every readout from the actual schedule.
   ============================================================ */

/* countdown ring around the Play disc */
.a2-stage .a2-play .pb{ position: relative; }
.a2-stage .a2-play .pb .ring{
  position: absolute; inset: -4px; width: 34px; height: 34px;
  margin: 0;   /* the r1 `.pb svg` rule's margin-left:1px matches this SVG too and pushed the ring off-centre */
  transform: rotate(-90deg); pointer-events: none;
}
.a2-stage .a2-play .pb .ring circle{ fill: none; stroke-width: 2; }
.a2-stage .a2-play .pb .ring .bg{ stroke: var(--grey-200); }
.a2-stage .a2-play .pb .ring .fg{ stroke: var(--red); stroke-linecap: round; }

/* mono countdown line directly beneath the control, indented to the
   label's left edge (36px button + 4px padding + 26px orb + 9px gap = 75).
   ALWAYS in the layout and faded in, so NOTHING shifts when it appears.
   Visibility owned by CSS via .a2.tour-playing (set in setPlayState) —
   never by a JS positioning pass. */
.a2-tourcd{
  position: absolute; left: 75px; top: 52px; z-index: 6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: .2px; color: var(--ink-faint);
  font-variant-numeric: tabular-nums; white-space: nowrap;
  opacity: 0; transform: translateY(-3px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.a2.tour-playing .a2-tourcd{ opacity: 1; transform: none; }
.a2-tourcd b{ color: var(--ink-mid); font-weight: 600; }

/* progress fill inside the band's current chapter / view rows:
   soft red wash + 2px underline. Widths are painted by the tour
   loop on the .now rows only; at rest they are 0 (invisible). */
.a2-chrow, .a2-vrow{ position: relative; overflow: hidden; }
.a2-chrow .rowtint, .a2-vrow .rowtint{
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--red-soft); z-index: 0; pointer-events: none;
}
.a2-chrow .rowfill, .a2-vrow .rowfill{
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); opacity: .9; z-index: 1; pointer-events: none;
}
.a2-chrow .n, .a2-chrow .t, .a2-vrow .n, .a2-vrow .t{ position: relative; z-index: 2; }
/* Round 6 item 4 (Nick 2026-09-29): the CHAPTER row's progress travels a
   FIXED track, the same length for every chapter, instead of a % of the
   row (rows stretch to their column, so "External Diagnostics LCD" gave
   Diagnostics a far longer line than Heatsinks — length is layout noise,
   not time). The engine paints --p (0..1) on the .now row's fills; the
   line runs from the label edge (12px) over --tour-track px, the wash
   from the row edge to the same end point. Tune --tour-track to taste —
   it must look right under the shortest and the longest chapter label.
   View rows keep their %-of-row wash (the view-row line is display:none). */
.a2{ --tour-track: 136px; }
.a2-chrow .rowfill{
  left: 12px; width: calc(var(--p, 0) * var(--tour-track));
}
.a2-chrow .rowtint{
  width: calc(var(--p, 0) * (var(--tour-track) + 12px));
}

/* ============================================================
   VOICE STATE — option F (approved 2026-08-20). The .listening
   class the build has always set finally gets CSS; a status line
   + coloured pip names every state; waveform bars replace the
   input while listening. No sound effects (nixed, Nick 2026-08-20).
   ============================================================ */

/* mic: red with an expanding halo while listening */
.a2-ask .mic{ position: relative; transition: background .18s ease, color .18s ease; }
.a2-ask .mic.listening{ background: var(--red); color: #fff; }
.a2-ask .mic.listening::after{
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--red); opacity: 0; pointer-events: none;
  animation: a2Halo 1.5s ease-out infinite;
}
@keyframes a2Halo{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.85); opacity: 0; }
}

/* waveform replaces the input while listening (CSS owns visibility) */
.a2-wavehost{ display: none; }
#ai-search-container.voice-listening input{ display: none; }
#ai-search-container.voice-listening .a2-wavehost{
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center;
  gap: 2.5px; height: 20px;
}
.a2-wavehost i{
  display: block; width: 2.5px; height: 3px; border-radius: 2px;
  background: var(--red); flex: none;
  transition: none;
}

/* named status line under the ask bar */
.a2-panel .a2-ask{ margin-bottom: 8px; }
.a2-voicestatus{
  display: flex; align-items: center; gap: 7px;
  margin: 0 18px 12px; min-height: 16px;
  font-size: 11.5px; color: var(--ink-faint); font-family: var(--font);
}
.a2-voicestatus .pip{
  width: 7px; height: 7px; border-radius: 50%; background: var(--grey-300);
  flex: none; transition: background .18s ease;
}
.a2-voicestatus.v-listening{ color: var(--ink-mid); }
.a2-voicestatus.v-listening .pip{ background: var(--red); }
.a2-voicestatus.v-thinking .pip,
.a2-voicestatus.v-nospeech .pip,
.a2-voicestatus.v-error .pip{ background: #d0a215; }
.a2-voicestatus.v-answered .pip{ background: #2ea44f; }

/* thinking shimmer */
.a2-voicestatus .thinkdots{ display: inline-flex; gap: 4px; margin-left: 6px; align-items: center; }
.a2-voicestatus .thinkdots i{
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint);
  animation: a2Blink 1.15s ease-in-out infinite;
}
.a2-voicestatus .thinkdots i:nth-child(2){ animation-delay: .16s; }
.a2-voicestatus .thinkdots i:nth-child(3){ animation-delay: .32s; }
@keyframes a2Blink{ 0%,80%,100%{ opacity: .25; } 40%{ opacity: 1; } }

/* ============================================================
   CALLOUT LEADER LINES — option B (Nick + colleague, 2026-08-21).
   Solid 1px Lenovo-red hairline + 5px endpoint dot, replacing the
   2px dotted red of the original tour. The ~15 PNG line sprites in
   images_gl/{Drive,NVMe,PCIe} are REDRAWN IN PLACE at identical
   pixel sizes (pure asset swap — vendor markup and positioning
   untouched); the five dotted CSS rules in css/sb.css are countered
   below, later in cascade. Label text untouched. .redOutBox (a
   highlight square, not a leader line) deliberately left alone.
   ============================================================ */
#hotspot42plus{ border-width: 1px; border-style: solid; border-color: #e2231a; border-top: none; }
#hotspot42plus span{ border-left: 1px solid #e2231a; }
#hotspot42plus::before,
#hotspot42plus::after{ background: #e2231a; }
.hotspot43Div{ border-left: 1px solid #e2231a; }
.hotspot318Div{ border-left: 1px solid #e2231a; }
.hotspot321Div{ border-left: 1px solid #e2231a; }
.hotspot43Div::before,
.hotspot318Div::before,
.hotspot321Div::before{
  background-color: #e2231a; width: 5px; height: 5px; border-radius: 50%;
}

/* ============================================================
   BAND REVISION r3 — Direction A "inline expansion" (client
   round-3 feedback; handoff-r3, 2026-09-10). The Views zone is
   DELETED from the band (markup removed in injectUI — exactly one
   vertical hairline remains: Chapters | Description) and the
   ACTIVE multi-view chapter's sub-views render inline beneath its
   row, indented 40px so the Roman numeral starts where the chapter
   label starts (12px pad + 19px number + 9px gap). Clusters are
   atomic; a column may carry up to seven rows. The .a2-zone.views
   and .no-views rules earlier in this file are DEAD SELECTORS as
   of this layer — kept only as history.
   ============================================================ */

/* inline sub-view rows, inside the chapter columns */
.a2-chcol .a2-vrow{
  display: flex; align-items: center; gap: 9px;
  height: 23px; padding: 0 12px 0 40px;
  background: transparent; border: none; cursor: pointer;
  font-family: var(--font); text-align: left; border-radius: 6px;
  overflow: hidden;
}
/* no connector line, no bullet — the indent alone marks the children
   (client-reviewed; an earlier red spine was explicitly removed) */

/* §7 header alignment: the description header sits level with CHAPTERS */
.a2-console .a2-col.left{ padding-top: 0; }
.a2-console .a2-col.left .a2-zhead{ margin-top: -4px; }

/* §3: tighten the zonehead so a seven-row column fits at every size */
.a2-zonehead{ margin-bottom: 4px; }

@media (max-height: 800px){
  .a2-chcol .a2-vrow{ height: 21px; }
  .a2-console .a2-col.left .a2-zhead{ margin-top: -4px; }
}

/* §4: honour reduced motion — state changes are instant */
@media (prefers-reduced-motion: reduce){
  .a2-chrow, .a2-chcol .a2-vrow{ transition: none !important; }
}

/* r3 polish (Nick, 2026-09-10): during the guided tour the CHAPTER row
   carries wash + 2px underline; the inline SUB-VIEW row carries the wash
   ONLY — both indicators on both rows read as overkill. The engine still
   paints the width (harmless; keeps re-enabling trivial); CSS owns the
   visibility, per the standing rule. */
.a2-chcol .a2-vrow .rowfill{ display: none; }

/* r3 polish 2 (Nick, 2026-09-10): the §7 header-alignment nudge pulled the
   24px chapter badge 4px above the description column's content box, and the
   column's overflow:hidden clipped the circle's top. The badge may paint into
   the band's 14px top padding — let it. */
.a2-console .a2-col.left{ overflow: visible; }

/* r3 polish 4 (Nick, 2026-09-10): switching between an open chapter's views
   nudged the hairline and description by ~1px — the current view's label goes
   bold(700), bold text is wider, and the view rows now live INSIDE the
   chapter column, so its intrinsic width re-measured on every click. Fix:
   every row label reserves its BOLD width via an invisible bold ghost
   (same lesson as the hover round: a real weight change reflows neighbours).
   Column width is now constant whichever row is bold. */
.a2-chrow .t, .a2-chcol .a2-vrow .t{
  display: inline-flex; flex-direction: column;
}
.a2-chrow .t::after, .a2-chcol .a2-vrow .t::after{
  content: attr(data-t);
  font-weight: 700; height: 0; overflow: hidden;
  visibility: hidden; pointer-events: none;
}

/* r3 polish 5 (client, 2026-09-10): Netflix-style clean view while the
   guided tour plays. `.a2.chrome-idle` is set by the engine after 3s of
   no pointer/touch/key activity and cleared on any activity; the Stop
   control, countdown line and drag-hint fade out and stop catching
   clicks. The Ask Lenovo AI trigger is hidden for the WHOLE tour — the
   tour owns the stage — and returns on Stop, not on mouse-wake. */
.a2-stage .a2-play{ transition: transform .16s ease, opacity .4s ease; }
.a2-hint{ transition: opacity .4s ease; }
.a2-aitrigger{ transition: transform .16s ease, opacity .4s ease; }

.a2.tour-playing .a2-aitrigger{ opacity: 0; pointer-events: none; }

.a2.tour-playing.chrome-idle .a2-stage .a2-play,
.a2.tour-playing.chrome-idle .a2-hint{ opacity: 0; pointer-events: none; }
.a2.tour-playing.chrome-idle .a2-tourcd{ opacity: 0; }

@media (prefers-reduced-motion: reduce){
  .a2-stage .a2-play, .a2-hint, .a2-aitrigger{ transition: none; }
}

/* ============================================================
   INTEL BADGE — LOAD-FLASH FIX (Nick, 2026-09-11, demo morning).
   On load a slice of the Xeon Platinum badge appeared top-left,
   overlapping "Play guided tour". Cause: body.ai-intel-on flips
   #ai-intel-badge to display:block at overlay init, but the badge
   is position:fixed with NO top/bottom until applyCanvasBounds
   anchors it after the model loads (and that call bails early if
   the canvas rect is <100px wide mid-fade, leaving the badge
   unanchored indefinitely) — so it painted at its static position
   near the viewport top, left:170px. Two CSS-owned guards, immune
   to JS timing:
   1) never show the badge before the 3D loader completes
      (gl_script.js:998 adds body.loader-complete);
   2) restore the fallback bottom (commented out in the 08-17
      layer) so the badge always has a vertical anchor; JS still
      refines the exact bottom against the live band rect.
   ============================================================ */
body:not(.loader-complete) #ai-intel-badge{ display: none !important; }
#ai-intel-badge{ bottom: 236px; }
@media (max-height: 800px){ #ai-intel-badge{ bottom: 198px; } }

/* ============================================================
   R4 — FEATURE HOTSPOTS (CD handoff-r4, 2026-09-12). Dots (four
   states + CTA halo), the computed two-rail ladder, the feature-card
   state of the description zone, the Feature Hotspots toggle, and the
   tour/idle/off gating. The vendor callout layer becomes invisible
   anchor carriers — its per-frame projection and occlusion flips are
   read by the engine's R4 tick, never re-implemented.
   ============================================================ */

/* vendor callouts: anchors only, never pixels */
div[id^="hotspot"], div.hotspot-vj { opacity: 0 !important; pointer-events: none !important; }

/* ---- layers ---- */
#r4-ladder, #r4-labels {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  opacity: 0; transition: opacity 160ms ease;
}
#r4-ladder { width: 100%; height: 100%; }
.a2.r4-composed #r4-ladder, .a2.r4-composed #r4-labels { opacity: 1; }
#r4-ladder path { stroke: var(--red); stroke-width: 1; fill: none; }
#r4-layer { position: fixed; inset: 0; z-index: 5; pointer-events: none; transition: opacity 160ms ease; }

/* ---- the dot: one element, four states ---- */
.r4-dot {
  position: fixed; left: 0; top: 0; width: 44px; height: 44px; /* kiosk hit area */
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  pointer-events: auto; opacity: 1; transition: opacity 160ms ease;
}
.r4-dot.gone { display: none; }
.r4-dot.occ { opacity: 0; pointer-events: none; }
.r4-dot .c {
  width: 10px; height: 10px; border-radius: 50%; background: var(--red);
  transition: width 160ms ease, height 160ms ease;
}
.r4-dot.hov .c, .r4-dot.act .c { width: 14px; height: 14px; }
.r4-dot.act::before {           /* held active ring — the thread to the band */
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--red);
}
.r4-dot .halo {                 /* CTA loop: ring born at the dot */
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--red); pointer-events: none;
  box-shadow: 0 0 10px rgba(226,35,26,.4), inset 0 0 6px rgba(226,35,26,.25);
  /* 2.9s cycle: same ~2.36s pulse as CD's 3.8s spec, rest 0.5s
     (Nick 2026-09-13, twice-tuned from 1.44s). The keyframe stops keep
     the pulse's absolute timing: 24% ≈ the old 18% mark, 81% ≈ the old
     62% fade-out. */
  animation: r4halo 2.9s ease-out infinite; opacity: 0;
}
.r4-dot.hov .halo, .r4-dot.act .halo { animation: none; opacity: 0; }
@keyframes r4halo {
  0%   { transform: scale(.25); opacity: .9; }
  24%  { opacity: .75; }
  81%  { transform: scale(1);   opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}
/* label chip — free movement only (no ladder): fades in on hover */
.r4-dot .chip {
  position: absolute; left: 34px; top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid var(--grey-200); border-radius: 2px;
  padding: 3px 8px; font-size: 12.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease;
}
.a2:not(.r4-composed) .r4-dot.hov .chip { opacity: 1; }
/* SR450 V4 (Nick 2026-10-22): the hovered / active dot and its label paint above
   every sibling dot (rear-view dots cluster tightly, so a later sibling used to
   overlap the chip). Dots are position:fixed; an explicit z-index makes each a
   stacking context ordered by this value rather than by DOM order. */
.r4-dot { z-index: 1; }
.r4-dot.act { z-index: 30; }
/* 2026-10-27: the hovered dot sits above the selected one too, so the label you are reading is
   never covered by the selected dot's ring (both were 30, so DOM order decided). */
.r4-dot.hov { z-index: 40; }
.r4-dot .chip { z-index: 31; box-shadow: 0 2px 8px rgba(0,0,0,.18); }

/* ---- ladder labels ---- */
.r4-lab {
  /* vertically centred on its leader line by the engine's translateY(-50%) */
  position: fixed; left: 0; top: 0;
  font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--ink-mid);
  white-space: nowrap; pointer-events: none; /* one line, never wrapped or clipped */
}
/* 2.5" rear: the bays callout wraps to three lines and is nudged up so
   the block centres on its leader line. The 3.5" rear shows the short
   "2x or 4x 3.5-inch drives" wording (data-cfg), which stays one line. */

/* at composed views the hovered feature's whole callout flips red */
/* .a2.r4-composed .r4-dot.hov ~ * {} (leader/label red-flip handled per-frame if needed) */

/* ---- the Feature Hotspots toggle — top-right stage cluster ---- */
#r4-toggle {
  /* position set by the engine: 28px left of the AI trigger, centre-aligned
     with it so all three top controls share one circle line + baseline */
  position: absolute; right: 248px; top: 12px; z-index: 6;
  pointer-events: auto; /* the stage overlay is pointer-events:none */
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; padding: 6px; /* 44px hit */
  transition: transform 160ms ease, opacity 400ms ease;
}
/* hover nudge on the CONTENTS, not the button box: the team's gl_script
   pins #takeScreenshot to this box's rect every frame, so a box transform
   dragged "Download image" along on hover (Nick 2026-09-30). The disc and
   label slide; the measured box and its separator rule stay put. */
#r4-toggle .disc, #r4-toggle .lbl { transition: transform 160ms ease; }
#r4-toggle:hover .disc, #r4-toggle:hover .lbl { transform: translateX(4px); }
#r4-toggle .disc {
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 1px solid var(--grey-300); display: inline-flex;
  align-items: center; justify-content: center;
}
#r4-toggle .glyph {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--ink-faint); background: transparent;
}
#r4-toggle.on .glyph { background: var(--red); border-color: var(--red); }
#r4-toggle .lbl {
  font-size: 14px; font-weight: 700; color: var(--ink-muted);
  white-space: nowrap; /* SINGLE line (Nick, 2026-09-12) */
}
#r4-toggle.on .lbl { color: var(--ink); }
#r4-toggle .cap {
  /* nested INSIDE .lbl so inline layout aligns its baseline to the
     label's exactly — no pixel nudging (Nick 2026-09-13: ON/OFF still
     misaligned with the top:2px approximation). */
  font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
  color: var(--ink-faint); margin-left: 4px; /* hugs the label (Nick 2026-09-14) */
}

/* ---- gating ---- */
.a2.r4-off #r4-layer, .a2.r4-off #r4-ladder, .a2.r4-off #r4-labels { display: none; }
/* NOTE (2026-09-23 fix): the tour used to force this whole layer off via
   `.a2.tour-playing #r4-layer/#r4-ladder/#r4-labels { opacity:0 !important }`.
   That contradicted the engine, which now deliberately composes the red
   dot + ladder + labels during the tour exactly as it does on a manual
   click (see ai-overlay-engine.js, r4Tick's `composedNow`). Removed so
   `.a2.r4-composed #r4-ladder, .a2.r4-composed #r4-labels { opacity: 1; }`
   above is free to apply during the tour too.
   Round 6 item 2 (Nick 2026-09-29): dots are CLICKABLE during the tour —
   a click stops the tour and opens that dot's exchange (engine,
   r4DotClick). The former `.a2.tour-playing #r4-layer .r4-dot
   { pointer-events: none !important; }` suppression is gone. */
.a2.tour-playing.chrome-idle #r4-toggle { opacity: 0; pointer-events: none; }

/* Guided tour (client feedback 2026-10-21): while the tour plays, a red dot
   shows ONLY together with its callout line + label. `.r4-composed` is set
   by the engine (r4Tick `composedNow`) exactly when the ladder (lines +
   labels) is drawn, so on any dots-only moment of the tour (overview hero,
   chapters outside ladderChapters, camera flights) the dots are hidden.
   Outside the tour nothing changes: dots-only views keep their dots. */
.a2.tour-playing:not(.r4-composed) .r4-dot {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---- feature-card state of the description zone ---- */
#r4-feyebrow { display: none; align-items: center; gap: 7px; }
#r4-feyebrow .fl { margin-left: 5px; } /* clear of the arrival pulse ring */
.a2.a2-featmode #r4-feyebrow { display: inline-flex; }
.a2.a2-featmode .a2-zlabel, .a2.a2-featmode .a2-ghostnav { display: none; }
/* (the eyebrow's second circle was removed — Nick, 2026-09-13: two circles
   next to the chapter badge was too much) */
#r4-feyebrow .fl {
  font-size: 10px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--red);
}
#r4-fchap {
  font-size: 10px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--ink-faint);
}
#r4-fclose {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  align-items: center; gap: 6px; padding: 4px;
  transition: transform 160ms ease;
}
#r4-fclose:hover { transform: translateX(4px); }
.a2.a2-featmode #r4-fclose { display: inline-flex; }
#r4-fclose .x {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--grey-300);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-mid); background: #fff; line-height: 1;
}
#r4-fclose .cw {
  font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-faint);
}

/* ---- reduced motion: static affordance, no halo animation ---- */
@media (prefers-reduced-motion: reduce) {
  .r4-dot .halo {
    /* macOS "Reduce motion" is ON on many MacBooks: the pulse is replaced by this static ring.
       It was 16px / 1px (barely visible) — now a clear ring around the dot. */
    animation: none !important; opacity: .9; width: 26px; height: 26px;
    border-width: 2px; box-shadow: none; transform: none;
  }
  #r4-fdot.pulse::after { animation: none; opacity: 0; }
  #r4-toggle, #r4-fclose { transition: none; }
}

/* ============================================================
   AI TRIGGER INTRO — Option B (approved 2026-09-22): NEW chip +
   one-time callout on the Ask Lenovo AI trigger. Runs once per
   page load, starting when the loader completes; retired for
   good the first time the panel is opened (engine removes the
   elements). Chip is absolutely positioned so the trigger and
   the Feature hotspots toggle never move.
   ============================================================ */
.a2-newchip{
  position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%);
  font-size: 9px; font-weight: 800; letter-spacing: 1.1px; color: #fff;
  background: var(--red); border-radius: 2px; padding: 2px 5px;
  opacity: 0; pointer-events: none;
}
.a2-aicallout{
  position: absolute; right: 62px; top: 56px; z-index: 6;
  background: #fff; border: 1px solid var(--grey-200); border-radius: 6px;
  box-shadow: 0 8px 28px rgba(24,27,31,.10); padding: 10px 14px 11px; max-width: 250px;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
}
.a2-aicallout:before{
  content: ""; position: absolute; right: 26px; top: -5px; width: 8px; height: 8px;
  background: #fff; border-left: 1px solid var(--grey-200);
  border-top: 1px solid var(--grey-200); transform: rotate(45deg);
}
.a2-aicallout .ct{ font-size: 10px; font-weight: 800; letter-spacing: 1.2px; color: var(--red); margin-bottom: 3px; }
.a2-aicallout .cb{ font-size: 12.5px; color: var(--ink-mid); line-height: 1.45; }
/* animation is gated on the loader AND the engine's arming class */
body.loader-complete .a2.ai-intro .a2-newchip{ animation: a2introchip 9s ease 1.3s 1 both; }
body.loader-complete .a2.ai-intro .a2-aicallout{ animation: a2introcallout 9s ease 1.3s 1 both; }
@keyframes a2introchip{
  0%{opacity:0} 5%{opacity:1} 88%{opacity:1} 100%{opacity:0}
}
@keyframes a2introcallout{
  0%{opacity:0; transform:translateY(-6px)} 5%{opacity:1; transform:none}
  88%{opacity:1; transform:none} 100%{opacity:0; transform:translateY(-4px)}
}
/* guided tour: the intro stands down with the rest of the stage chrome */
.a2.tour-playing .a2-newchip, .a2.tour-playing .a2-aicallout{
  opacity: 0 !important; animation: none !important;
}
@media (prefers-reduced-motion: reduce){
  .a2-newchip, .a2-aicallout{ animation: none !important; }
}

/* ============================================================
   ROUND 5 (approved 2026-09-25) — HOTSPOTS ENGAGE THE AI PANEL.
   Dot click = exchange in the panel (existing asked-q/answer anatomy;
   no new panel CSS needed). New here: the Show me / Back action chip
   (occupies the retired "Next ·" chip's slot), the white separation
   ring on the active dot, and the toggle's new bottom-right home
   (position set by the engine; the rule + label styles live here).
   Per CD handoff design_handoff_sr650v3_round5.
   ============================================================ */
.ai-action{
  /* geometry rhymes with .a2-chip so the two columns line up (Nick
     2026-09-25): chip = 13px inset + 12px spark + 7px gap → text at 33px;
     action = 13px inset + 13px glyph + 6px gap → text at 33px, icon left
     edges flush at 13px + border on both. */
  height: 28px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--red); background: transparent; color: var(--red);
  font-family: var(--font); font-size: 11.5px; font-weight: 600; line-height: 1;
  letter-spacing: 0.01em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: background .15s ease, color .15s ease, width .18s ease;
}
.ai-action:hover{ background: var(--red-soft); }
.ai-action:focus-visible{ outline: 2px solid var(--red); outline-offset: 2px; }
/* swap: glyph + label crossfade in place, 160ms ease; fired when the
   camera fly STARTS, not when it lands (CD spec) */
.ai-action svg, .ai-action .ai-action__label{ transition: opacity .16s ease; }
.ai-action.is-swapping svg, .ai-action.is-swapping .ai-action__label{ opacity: 0; }

/* active dot: 2px white separation ring between the 14px dot and the
   22px outer ring, so the selected feature reads against the model */
.r4-dot.act .c{ box-shadow: 0 0 0 2px #ffffff; }

/* toggle, round-5 home: engine positions it left of the drag hint;
   the 1px separator rule renders only when the hint is visible */
/* #r4-toggle{ right: 44px; top: auto; }  */
  /* base; engine overrides inline */
/* 2D screens (Services / Management): hide all three 3D-only controls the
   same frame the class flips — no fade, no waiting on the per-frame follower */
body.ai-no-model #r4-toggle,
body.ai-no-model #takeScreenshot,
body.ai-no-model .a2-hint{ display: none !important; transition: none !important; }
#r4-toggle.with-rule::after{
  /* centred in the 31px label→hint-dot gap (measured live 2026-09-30):
     15.5px from the label = 9.5px past the 6px padding; -13px sat 19/12 */
  content: ""; position: absolute; right: -9.5px; top: 50%;
  transform: translateY(-50%); width: 1px; height: 14px;
  background: var(--grey-300);
}
/* the toggle fades with the bottom stage chrome during the tour */
.a2.tour-playing.chrome-idle #r4-toggle{ opacity: 0; pointer-events: none; }

/* ---- "Download image" — the team's #takeScreenshot dressed as the
   toggle's sibling (r19, Nick 2026-09-30). Position (fixed, right/top),
   visibility and opacity are the team's (gl_script.js follows #r4-toggle
   every frame) — we only style the box and its content. Same disc,
   label weight and hover as #r4-toggle; a 1px rule on the right mirrors
   the toggle's own separator to the drag hint. Vendor css/sb.css sets the
   bare defaults on the same id; .a2-shot wins on specificity. ---- */
#takeScreenshot.a2-shot{
  display: inline-flex; align-items: center; gap: 10px;
  /* right padding 9px, not 6: the team pins the box 16px left of the
     toggle's box, so 3px more here makes label→disc 31px, the same gap
     the toggle has to the drag hint (Nick 2026-09-30: equal spacing). */
  padding: 6px 9px 6px 6px; margin: 0; border: 0; background: none; cursor: pointer;
  box-sizing: border-box;
  font-family: var(--font); color: var(--ink-muted); z-index: 6;
  transition: transform 160ms ease, opacity 400ms ease;
}
#takeScreenshot.a2-shot .disc, #takeScreenshot.a2-shot .lbl{ transition: transform 160ms ease; }
#takeScreenshot.a2-shot:hover .disc, #takeScreenshot.a2-shot:hover .lbl{ transform: translateX(4px); }
/* no hover nudge while it reads "Saved" — the cursor is still on the button
   right after the click, so the slide read as an animation on the Saved
   state (Nick 2026-09-30). The nudge belongs to "Download image" only. */
#takeScreenshot.a2-shot.saved:hover .disc, #takeScreenshot.a2-shot.saved:hover .lbl{ transform: none; }
/* focus: the button is outside .a2, so it showed Chrome's default blue
   ring after a click (Nick). Mouse focus → no ring; keyboard focus → the
   overlay's red ring, same as the panel's action pills. */
#takeScreenshot.a2-shot:focus{ outline: none; }
#takeScreenshot.a2-shot:focus-visible{ outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
#takeScreenshot.a2-shot .disc{
  /* border-box: the button sits outside .a2, so the root's box-sizing
     reset doesn't reach it and the 1px border made this 28px (Nick) */
  box-sizing: border-box;
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 1px solid var(--grey-300); display: inline-flex;
  align-items: center; justify-content: center; color: var(--ink-mid);
}
#takeScreenshot.a2-shot .disc svg{ display: block; }
#takeScreenshot.a2-shot .lbl{
  font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; /* black like the toggle (Nick) */
  /* reserve the width of the LONG label whatever the text says: the team
     pin the button by its right edge, so "Saved" (77px shorter) used to
     drag the camera 77px right and back (Nick 2026-09-30, "the saved
     graphic definitely moves"). Same invisible-ghost trick as the band's
     bold labels: ::after carries the long text at zero height. */
  display: inline-flex; flex-direction: column; align-items: flex-start;
}
#takeScreenshot.a2-shot .lbl::after{
  content: attr(data-t); height: 0; overflow: hidden; visibility: hidden; pointer-events: none;
}
#takeScreenshot.a2-shot.saved .lbl{ color: var(--red); }
#takeScreenshot.a2-shot.saved .disc{ border-color: var(--red); color: var(--red); }
#takeScreenshot.a2-shot::after{
  /* centred in the 31px label→disc gap: 15.5px from the label = 6.5px
     past the box edge (9px right padding) */
  content: ""; position: absolute; right: -6.5px; top: 50%;
  transform: translateY(-50%); width: 1px; height: 14px;
  background: var(--grey-300);
}

@media (prefers-reduced-motion: reduce){
  .ai-action svg, .ai-action .ai-action__label{ transition: none; }
}

/* r5.1 (Nick 2026-09-25): the Show me/Back action gets its own row —
   first line under the answer hairline, chips wrap below it — instead of
   flowing inline with the suggestion chips.
   r5.10 (unified Back): the row holds up to two pills — Back leftmost,
   the dynamic Show me beside it — and fades in as a unit on each state
   change (replaces the old in-place crossfade of a single pill). */
.ai-action-row{ flex: 0 0 100%; display: flex; gap: 8px; flex-wrap: wrap; animation: aiActRowIn .16s ease; }
@keyframes aiActRowIn{ from{ opacity: 0; } to{ opacity: 1; } }
@media (prefers-reduced-motion: reduce){ .ai-action-row{ animation: none; } }

/* 2D -> 3D chapter switch: hold the hotspots toggle invisible until the engine
   has measured it beside the drag hint, so it never paints at a fallback spot
   and then jumps. visibility (not display) keeps it measurable; the Download
   image button follows the toggle's visibility, so it waits too. */
/* 2D -> 3D chapter switch: the engine sets body.ai-placing until the drag hint,
   the hotspots toggle and the Download image button have settled at their final
   spot, so they never appear at a fallback/centre position and then slide.
   visibility+opacity (not display) keep them measurable for the placement code;
   transition:none holds them at opacity 0, then they fade in when released. */
body.ai-placing #r4-toggle,
body.ai-placing #takeScreenshot{
  visibility: hidden !important; opacity: 0 !important;
  transition: none !important; pointer-events: none !important;
}
/* the drag hint is held too (opacity only: the placement code reads its
   visibility/rect), so all three controls appear TOGETHER, not one by one */
body.ai-placing .a2-hint{ opacity: 0 !important; transition: none !important; }
/* release frame(s): no fades, so the three pop in at the same instant */
body.ai-reveal #r4-toggle,
body.ai-reveal #takeScreenshot,
body.ai-reveal .a2-hint{ transition: none !important; }

/* ============================================================
   FROSTED PANEL (Nick 2026-10-22): the Lenovo AI panel lets the stage show
   through softly instead of blanking it. 90% white + backdrop blur keeps the
   answer text fully legible; on the 2D screens the content blocks refit to
   the left of the panel (js/localmgmt-fit.js, js/xclarity-fit.js).
   ============================================================ */
/* The .a2-col.right rule above sets an opaque #fff at higher specificity, so the
   frosted surface must match it (SR450 V4, Nick 2026-10-22). */
.a2-panel.a2-col.right{
  background: rgba(255,255,255,.80);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}
