/* =====================================================================
   Etalier AI Workspace – self-playing product preview
   Uses the site's tokens (--bg, --text, --muted, --border, --accent, --ease)
   ===================================================================== */
.ws {
  --ws-surface: #fdfcfa;
  --ws-side: #f6f5f1;
  --ws-line: #ebe8e1;
  --ws-hover: rgba(28, 28, 26, 0.04);
  --ws-accent-soft: rgba(42, 59, 212, 0.08);
  --ws-out: cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  margin: 0 var(--rail);
  padding: clamp(32px, 3vw, 44px) var(--pad) clamp(36px, 3.4vw, 56px);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* ---------- heading ---------- */
.ws__head { max-width: 760px; margin: 0 auto; text-align: center; }
.ws__kicker { margin: 0 0 16px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; }
.ws__title { margin: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; }
.ws__lead { margin: 18px auto 0; max-width: 600px; font-size: 17px; line-height: 1.55; color: var(--text-2); text-wrap: balance; }
.ws__note { margin: 20px auto 0; max-width: 640px; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- the four features: they play one after another ---------- */
.ws-scenarios { max-width: 1080px; margin: 48px auto 0; }
.ws-scenarios__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.ws-scn {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 22px 0 4px; border: 0; background: none; cursor: pointer;
  font: inherit; text-align: left; color: var(--text);
  transition: transform 140ms var(--ease);
}
/* progress line: grey track, dark fill = how much of this feature's demo has run */
.ws-scn__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: #e6e3dc; overflow: hidden; }
.ws-scn__bar i { position: absolute; inset: 0; border-radius: inherit; background: var(--text); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ws-scn__num { font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 200ms var(--ease); }
.ws-scn__title { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: #8d8a83; transition: color 200ms var(--ease); }
.ws-scn__text { font-size: 14px; line-height: 1.45; color: #a3a09a; text-wrap: pretty; transition: color 200ms var(--ease); }
.ws-scn:hover .ws-scn__title { color: var(--text-2); }
.ws-scn[aria-pressed="true"] .ws-scn__num { color: var(--text); }
.ws-scn[aria-pressed="true"] .ws-scn__title { color: var(--text); }
.ws-scn[aria-pressed="true"] .ws-scn__text { color: var(--text-2); }
.ws-scn:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.ws-scn:active { transform: scale(0.985); }

/* ---------- stage ---------- */
.ws-stage { position: relative; max-width: 1080px; margin: 36px auto 0; }
/* ---------- laptop: same dark aluminium, black glass and shadows as the iPad / iPhone ---------- */
.ws-laptop { position: relative; padding: 0 1.6%; }
/* soft ambient shadow under the whole device, light from top left */
.ws-laptop::before {
  content: ""; position: absolute; left: 4%; right: 2%; bottom: -14px; height: 60px; z-index: 0;
  background: rgba(58, 48, 34, 0.26); filter: blur(22px); border-radius: 50%;
}
.ws-laptop__lid {
  position: relative; z-index: 1;
  padding: 26px 16px 18px; border-radius: 20px 20px 6px 6px;
  background: linear-gradient(160deg, #17181a 0%, #0c0c0d 38%, #070708 100%);
  box-shadow:
    0 0 0 1.5px #3a3b40,
    0 0 0 2.5px #1d1e21,
    inset 1px 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -34px rgba(30, 24, 16, 0.5);
}
/* faint reflection across the glass, never a glow */
.ws-laptop__lid::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 30%, rgba(255, 255, 255, 0) 48%);
}
.ws-laptop__cam {
  position: absolute; left: 50%; top: 10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #2b3140 0%, #101216 55%, #050506 100%);
}
/* the display shows the app full screen */
.ws-laptop__screen {
  position: relative; overflow: hidden; border-radius: 5px;
  aspect-ratio: 16 / 10; background: #fbfaf8;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
/* base: thin aluminium deck seen from the front, a little wider than the lid, with the opening notch */
.ws-laptop__base {
  position: relative; z-index: 2; height: 16px; margin: 0 -1.6%;
  border-radius: 2px 2px 14px 14px / 2px 2px 10px 10px;
  background: linear-gradient(180deg, #5d5f64 0%, #3a3b40 22%, #26272b 70%, #18191b 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 10px 18px -10px rgba(30, 24, 16, 0.55);
}
.ws-laptop__base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 6px; transform: translateX(-50%);
  border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #1c1d20, #2c2d31);
}


/* =====================================================================
   The app on the laptop screen. Drawn at a real desktop size (1280 × 800)
   and scaled to the screen, so proportions read like a real Mac app.
   ===================================================================== */
.ws-app {
  --wa-bg: #fbfaf8;
  --wa-side: #f4f3ef;
  --wa-line: #e9e6df;
  --wa-ink: #1c1c1a;
  --wa-ink-2: #4a4a46;
  --wa-mute: #8b8880;
  --wa-chip: #efede7;
  position: absolute; left: 0; top: 0;
  width: 1280px; height: 800px;
  transform-origin: 0 0; transform: scale(var(--s, 0.77));
  display: grid; grid-template-columns: 252px minmax(0, 1fr);
  background: var(--wa-bg); color: var(--wa-ink);
  font-size: 14px; line-height: 1.45; letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}
.wa-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* the Etalier mark: a house drawn in one line ("Haus vom Nikolaus") */
.wa-mark { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wa-mark path { stroke-dasharray: 100; stroke-dashoffset: 0; }
/* drawn once when it comes into view … */
.ws-app.is-ready:not(.is-drawn) .wa-ai__mark .wa-mark path { stroke-dashoffset: 100; }
.ws-app.is-drawn .wa-ai__mark .wa-mark path { animation: wa-draw 1600ms cubic-bezier(0.45, 0, 0.2, 1) both; }
/* … and drawn / undrawn while Etalier is working (used by the later animation) */
.wa-ai__mark.is-working .wa-mark path { animation: wa-work 2400ms cubic-bezier(0.45, 0, 0.2, 1) infinite; }
@keyframes wa-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes wa-work { 0% { stroke-dashoffset: 100; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }

/* ---------- sidebar ---------- */
.wa-side { display: flex; flex-direction: column; min-height: 0; padding: 14px 12px 12px; background: var(--wa-side); border-right: 1px solid var(--wa-line); }
.wa-brand { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px; margin-bottom: 10px; }
.wa-brand__mark { width: 22px; height: 22px; color: var(--wa-ink); }
.wa-brand__mark .wa-mark { width: 22px; height: 22px; stroke-width: 1.9; }
.wa-brand__word { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.wa-brand__panel { margin-left: auto; color: var(--wa-mute); }
.wa-new {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; margin-bottom: 6px;
  border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--wa-line), 0 1px 2px rgba(28, 24, 18, 0.05);
  font-weight: 500;
}
.wa-new kbd { margin-left: auto; font: inherit; font-size: 11.5px; color: var(--wa-mute); }
.wa-nav { margin: 4px 0 16px; padding: 0; list-style: none; }
.wa-nav li { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; color: var(--wa-ink-2); }
.wa-nav li .wa-i { color: var(--wa-mute); }
.wa-nav em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--wa-mute); }
/* expandable nav item: "Dokument erstellen" opens its templates in place */
.wa-nav__chev { margin-left: auto; width: 15px !important; height: 15px !important; transform: rotate(-90deg); transition: transform 200ms var(--ease); }
.wa-nav__group.is-open .wa-nav__chev { transform: none; }
.wa-nav li.wa-nav__kids { display: block; height: auto; padding: 0; }
.wa-nav__kids ul { margin: 0 0 4px 19px; padding: 0 0 0 12px; list-style: none; border-left: 1px solid var(--wa-line); }
.wa-nav__kids li { display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; color: var(--wa-ink-2); }
.wa-projects { margin: 0 0 16px; padding: 0; list-style: none; }
.wa-projects li { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; color: var(--wa-ink-2); white-space: nowrap; }
.wa-projects li i { flex: none; width: 20px; height: 20px; border-radius: 5px; background: #ddd center / cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.wa-projects li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wa-projects li em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--wa-mute); }
.wa-projects li.is-active { background: rgba(28, 24, 18, 0.06); color: var(--wa-ink); font-weight: 500; }
.wa-label { margin: 0 10px 6px; font-size: 12px; font-weight: 500; color: var(--wa-mute); }
.wa-recent { margin: 0; padding: 0; list-style: none; }
.wa-recent li { height: 32px; padding: 0 10px; border-radius: 8px; line-height: 32px; color: var(--wa-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-recent li.is-active { background: rgba(28, 24, 18, 0.06); color: var(--wa-ink); }
.wa-user { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px; border-top: 1px solid var(--wa-line); }
.wa-user__av { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #dcd8cf; font-size: 11.5px; font-weight: 600; color: var(--wa-ink-2); }
.wa-user__txt { display: flex; flex-direction: column; }
.wa-user__txt b { font-weight: 500; }
.wa-user__txt span { font-size: 12px; color: var(--wa-mute); }

/* ---------- main ---------- */
.wa-main { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.wa-top { flex: none; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px 0 22px; }
.wa-top__title { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.wa-top__title .wa-i { width: 15px; height: 15px; color: var(--wa-mute); }
.wa-top__tag { margin-left: auto; font-size: 12px; color: var(--wa-mute); }
.wa-iconbtn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--wa-ink-2); }
.wa-iconbtn--line { box-shadow: inset 0 0 0 1px var(--wa-line); }

/* thread: a fixed viewport anchored to the bottom, like a chat that has scrolled down */
.wa-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.wa-col { width: 100%; max-width: 720px; margin: 0 auto; padding: 12px 32px 12px; }
.wa-user-msg { width: fit-content; max-width: 78%; margin: 0 0 22px auto; padding: 11px 16px; border-radius: 18px; background: var(--wa-chip); font-size: 15px; }

.wa-ai { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
.wa-ai__mark { width: 28px; height: 28px; color: var(--accent); padding-top: 1px; }
.wa-ai__mark .wa-mark { width: 26px; height: 26px; }
.wa-ai__body { min-width: 0; font-size: 15.5px; line-height: 1.62; color: var(--wa-ink); }
.wa-ai__body > p { margin: 0 0 14px; }
.wa-trace { display: inline-flex; align-items: center; gap: 4px; height: 26px; margin-bottom: 8px; font-size: 13.5px; color: var(--wa-mute); }
.wa-trace .wa-i { width: 14px; height: 14px; }
.wa-src { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; margin-left: 2px; border-radius: 6px; background: var(--wa-chip); font-size: 12px; line-height: 1; color: var(--wa-ink-2); vertical-align: 1px; }

/* what goes into the report: a quiet definition list, no boxes */
.wa-facts { margin: 0 0 14px; border-top: 1px solid var(--wa-line); }
.wa-facts > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 38px; padding: 5px 0; border-bottom: 1px solid var(--wa-line); }
.wa-facts dt { font-size: 13.5px; color: var(--wa-mute); }
.wa-facts dd { margin: 0; font-size: 14.5px; color: var(--wa-ink); }
.wa-photos { display: flex; align-items: center; gap: 14px; color: var(--wa-ink-2) !important; }
.wa-thumbs { display: flex; gap: 6px; }
.wa-thumbs i { width: 48px; height: 36px; border-radius: 6px; background: #ddd center / cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }

.wa-aside { display: flex; align-items: center; gap: 8px; font-size: 13.5px !important; line-height: 1.45 !important; color: var(--wa-mute); }
.wa-aside .wa-i { width: 15px; height: 15px; }

/* the result as a document card, like an artifact */
.wa-doc { display: flex; align-items: center; gap: 14px; width: min(100%, 600px); margin: 0 0 16px; padding: 10px 12px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--wa-line), 0 1px 2px rgba(28, 24, 18, 0.04); }
.wa-doc__page { position: relative; flex: none; width: 44px; height: 54px; border-radius: 6px; background: #f6f4ef; box-shadow: inset 0 0 0 1px #e6e2d9; }
.wa-doc__page i { position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 1px; background: #d9d5cc; }
.wa-doc__page i:nth-child(1) { top: 11px; right: 18px; background: #bdb8ad; }
.wa-doc__page i:nth-child(2) { top: 18px; } .wa-doc__page i:nth-child(3) { top: 23px; right: 14px; }
.wa-doc__page i:nth-child(4) { top: 31px; height: 12px; background: #e3dfd6; }
.wa-doc__txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.wa-doc__txt b { font-size: 14.5px; font-weight: 500; }
.wa-doc__txt span { font-size: 12.5px; color: var(--wa-mute); }
.wa-doc__acts { margin-left: auto; display: flex; gap: 8px; }
.wa-doc__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--wa-line); background: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; transition: transform 140ms var(--ease), background 200ms var(--ease), color 200ms var(--ease); }
.wa-doc__btn .wa-i { width: 15px; height: 15px; color: var(--wa-ink-2); }
.wa-doc__btn.is-press { transform: scale(0.96); background: #f3f1ec; }
.wa-doc__btn.is-done { color: var(--wa-ink-2); background: #f5f3ee; box-shadow: none; }
.wa-doc__btn.is-done .wa-i { color: var(--accent); }
/* PDF file icon: page with folded corner and red type label */
.wa-pdf { position: relative; flex: none; width: 40px; height: 50px; }
.wa-pdf svg { width: 40px; height: 50px; fill: #fff; stroke: #cdc8be; stroke-width: 1.4; stroke-linejoin: round; }
.wa-pdf svg .l { stroke: #e2ded5; stroke-width: 2; stroke-linecap: round; fill: none; }
.wa-pdf b { position: absolute; left: -5px; bottom: 7px; padding: 1px 5px; border-radius: 3px; background: #c4473a; color: #fff; font-size: 9.5px; font-weight: 700; line-height: 12px; letter-spacing: 0.03em; }

.wa-actions { display: flex; gap: 4px; margin: -4px 0 0 -6px; color: var(--wa-mute); }
.wa-actions .wa-i { width: 30px; height: 30px; padding: 7px; border-radius: 8px; }

/* ---------- composer ---------- */
.wa-composer { flex: none; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 32px 10px; }
.wa-composer__box { padding: 14px 12px 10px 16px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--wa-line), 0 6px 20px -12px rgba(28, 24, 18, 0.18); }
.wa-composer__ph { display: block; height: 26px; font-size: 15px; color: #a4a19a; }
.wa-composer__row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.wa-composer__sp { flex: 1; }
.wa-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--wa-line); font-size: 13px; color: var(--wa-ink-2); }
.wa-chip .wa-i { width: 15px; height: 15px; color: var(--wa-mute); }
.wa-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #d9d6cf; color: #fff; }
.wa-send .wa-i { width: 17px; height: 17px; stroke-width: 2; }
.wa-disclaimer { margin: 8px 0 0; text-align: center; font-size: 11.5px; color: var(--wa-mute); }

/* ---------- narrow layouts: no laptop, the app as a card, no sidebar ---------- */
@media (max-width: 1100px) {
  .ws-scenarios__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
}
@media (max-width: 899px) {
  .ws { padding-left: 16px; padding-right: 16px; }
  .ws-laptop { padding: 0; }
  .ws-laptop::before, .ws-laptop__lid::after, .ws-laptop__cam, .ws-laptop__base { display: none; }
  .ws-laptop__lid { padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .ws-laptop__screen { aspect-ratio: 720 / 800; border-radius: 16px; box-shadow: 0 0 0 1px var(--border), 0 24px 50px -30px rgba(28, 24, 18, 0.4); }
  .ws-app { width: 720px; height: 800px; grid-template-columns: minmax(0, 1fr); }
  .wa-side { display: none; }
}
@media (max-width: 560px) {
  .ws__lead { font-size: 15.5px; }
  .ws-scenarios { margin-top: 32px; }
  .ws-scenarios__track { gap: 14px 16px; }
  .ws-scn { padding-top: 16px; gap: 3px; }
  .ws-scn__title { font-size: 16px; }
  .ws-scn__text { display: none; }
  /* phone: a narrower virtual screen so the text stays readable */
  .ws-laptop__screen { aspect-ratio: 460 / 950; }
  .ws-app { width: 460px; height: 950px; }
  .wa-col, .wa-composer { padding-left: 16px; padding-right: 16px; }
  .wa-ai { grid-template-columns: minmax(0, 1fr); }
  .wa-ai__mark { margin-bottom: 4px; }
  .wa-facts > div { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }
  .wa-thumbs i { width: 40px; height: 32px; }
  .wa-photos { flex-wrap: wrap; gap: 6px 10px; }
  .wa-top__tag { display: none; }
  .wa-top .wa-iconbtn { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ws *, .ws *::before, .ws *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   01 Bautagebuch – the animated run (built by workspace.js; the static
   frame above is the end state and the reduced-motion / no-JS view)
   ===================================================================== */
/* new blocks open their own height, so the bottom-anchored thread glides instead of jumping */
.wa-grow { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 520ms cubic-bezier(0.2, 0, 0, 1), opacity 380ms var(--ease) 120ms; }
.wa-grow > * { min-height: 0; overflow: hidden; }
.wa-grow.is-in { grid-template-rows: 1fr; opacity: 1; }
.wa-grow.is-gone { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 420ms cubic-bezier(0.2, 0, 0, 1), opacity 200ms var(--ease); }

/* empty chat */
.wa-hello { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding-bottom: 40px; text-align: center; transition: opacity 300ms var(--ease), transform 400ms var(--ease); }
.wa-hello.is-out { opacity: 0; transform: translateY(-8px); }
.wa-hello .wa-mark { width: 40px; height: 40px; color: var(--accent); stroke-width: 1.5; }
.wa-hello h3 { margin: 4px 0 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.wa-hello p { margin: 0; font-size: 15px; color: var(--wa-mute); }
.wa-thread.is-empty { justify-content: center; }

/* composer while typing */
.wa-composer__ph.is-typed { color: var(--wa-ink); }
.wa-send { transition: background 180ms var(--ease), transform 140ms var(--ease); }
.wa-send.is-ready { background: var(--wa-ink); }
.wa-send.is-press { transform: scale(0.9); }

/* sidebar reactions */
.wa-nav__kids li, .wa-recent li { transition: background 260ms var(--ease), color 260ms var(--ease); }
.wa-nav__kids li.is-active { background: rgba(28, 24, 18, 0.06); color: var(--wa-ink); }
.wa-recent-new { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 420ms cubic-bezier(0.2, 0, 0, 1), opacity 300ms var(--ease) 100ms; }
.wa-recent-new > span { min-height: 0; overflow: hidden; display: block; }
.wa-recent-new.is-in { grid-template-rows: 1fr; opacity: 1; }
.wa-recent li.wa-recent-new { height: auto; line-height: 32px; padding: 0; }
.wa-recent-new > span { padding: 0 10px; border-radius: 8px; }
.wa-top__title { transition: opacity 220ms var(--ease); }
.wa-top__title.is-swap { opacity: 0; }

/* working steps: each one stays, a thin line leads to the next, with its time */
.wa-steps { margin: 2px 0 6px; padding: 0; list-style: none; }
.wa-steps li { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 0 0 10px 20px; font-size: 13.5px; line-height: 20px; color: var(--wa-mute); }
.wa-steps li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 8px; height: 8px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid #c4c0b7; background: var(--wa-bg); transition: background 220ms var(--ease), border-color 220ms var(--ease); }
.wa-steps li + li::after { content: ""; position: absolute; left: 4.5px; top: -16px; width: 1px; height: 22px; background: #dcd8cf; }
.wa-steps li.is-run { color: var(--wa-ink-2); }
.wa-steps li.is-run::before { border-color: var(--wa-ink-2); }
.wa-steps li.is-done::before { background: #c4c0b7; }
.wa-steps em { font-style: normal; margin-left: auto; font-size: 12px; color: #aaa69e; font-variant-numeric: tabular-nums; }
.wa-ai__mark.is-settle .wa-mark path { animation: wa-draw 900ms cubic-bezier(0.45, 0, 0.2, 1) both; }

/* streamed answer text */
.wa-w { opacity: 0; transition: opacity 260ms var(--ease); }
.wa-w.is-in { opacity: 1; }

/* expandable fact rows */
.wa-facts > div.wa-fact--more { position: relative; padding-right: 26px; }
.wa-fact__chev { position: absolute; right: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--wa-mute); transform: rotate(-90deg); transition: transform 220ms var(--ease); }
.wa-fact--more.is-open .wa-fact__chev { transform: none; }
.wa-facts > div.wa-fact__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: stretch; grid-template-rows: 0fr; min-height: 0; padding: 0; border-bottom: 0; transition: grid-template-rows 460ms cubic-bezier(0.2, 0, 0, 1); }
.wa-facts > div.wa-fact__panel > div { min-height: 0; overflow: hidden; }
.wa-facts > div.wa-fact__panel.is-open { grid-template-rows: 1fr; border-bottom: 1px solid var(--wa-line); }
.wa-panel { padding: 4px 0 12px 148px; }
.wa-panel__thumbs { display: flex; gap: 8px; }
.wa-panel__thumbs i { position: relative; width: 66px; height: 50px; border-radius: 7px; background: #ddd center / cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); transition: opacity 400ms var(--ease), filter 400ms var(--ease); }
.wa-panel__thumbs i.is-on::after {
  content: ""; position: absolute; right: 4px; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.wa-panel__thumbs i.is-off { opacity: 0.32; filter: grayscale(0.7); }
.wa-panel__note { margin: 8px 0 0; font-size: 12.5px; color: var(--wa-mute); }
.wa-panel ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; }
.wa-panel li { display: flex; gap: 8px; padding: 2px 0; color: var(--wa-ink-2); }
.wa-panel li b { font-weight: 500; color: var(--wa-ink); }
.wa-panel li.is-internal { color: var(--wa-mute); }
.wa-panel li.is-internal .wa-i { width: 14px; height: 14px; margin-top: 3px; }
.wa-panel li.is-internal em { margin-left: auto; font-style: normal; font-size: 12px; color: #9a7b14; white-space: nowrap; }

/* go row: the draft is created by itself when the countdown ends */
.wa-go { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.wa-go__hint { font-size: 13.5px; color: var(--wa-mute); }
.wa-go__btn {
  position: relative; overflow: hidden; margin-left: auto; height: 36px; padding: 0 16px; border-radius: 10px;
  background: var(--wa-ink); color: #fff; font-size: 13.5px; font-weight: 500; line-height: 36px; white-space: nowrap;
  transition: background 200ms var(--ease);
}
.wa-go__btn::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.16); transform-origin: left; transform: scaleX(var(--c, 0)); }
.wa-go__btn span { position: relative; }
.wa-go__btn.is-busy { background: #55534e; }
.wa-actions { transition: opacity 300ms var(--ease); }

/* live run: the conversation starts at the top like a real chat; once it no longer fits,
   workspace.js shifts it up so the newest content stays in view (never a scrollbar) */
.wa-thread.is-live { justify-content: flex-start; }
.wa-thread.is-live.is-empty { justify-content: center; }
@media (max-width: 560px) { .wa-panel { padding-left: 0; } .wa-panel__thumbs { flex-wrap: wrap; gap: 6px; } .wa-panel__thumbs i { width: 56px; height: 42px; } .wa-go__hint { display: none; } }

/* selectable observations */
.wa-sel { align-items: flex-start; border-radius: 6px; transition: background 160ms var(--ease), color 200ms var(--ease); }
.wa-sel.is-press { background: rgba(28, 24, 18, 0.05); }
.wa-cb { position: relative; flex: none; width: 15px; height: 15px; margin-top: 3px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #c4c0b7; transition: background 160ms var(--ease), box-shadow 160ms var(--ease); }
.wa-sel.is-on .wa-cb { background: var(--accent); box-shadow: none; }
.wa-sel.is-on .wa-cb::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.wa-sel:not(.is-on):not(.is-internal) { color: var(--wa-mute); }
.wa-sel:not(.is-on):not(.is-internal) b { color: var(--wa-mute); }
.wa-sel.is-internal .wa-cb { background: #f1efea; }

/* small coloured symbols make the facts quicker to scan */
.wa-facts dd.wa-metas { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.wa-meta { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.wa-meta .wa-i { width: 16px; height: 16px; color: var(--wa-mute); }
.wa-meta--cloud .wa-i { color: #7c8aa3; }
.wa-meta--ruler .wa-i { color: var(--accent); }
.wa-meta--drop .wa-i { color: #3d86c6; }
.wa-meta--bolt .wa-i { color: #cf9420; }

/* =====================================================================
   02–04: purpose-built answer UIs
   ===================================================================== */
.wa-nav li.is-hint { background: rgba(28, 24, 18, 0.06); color: var(--wa-ink); }
.wa-acts { display: flex; gap: 8px; margin: 0 0 14px; }
.wa-aside .wa-i { flex: none; }

/* floor plan cut (same drawing as on the iPad) */
.wa-plan { display: block; width: 100%; height: 100%; }
.wa-plan * { vector-effect: non-scaling-stroke; }
.wa-plan .pl-fix, .wa-plan .pl-win, .wa-plan .pl-door, .wa-plan .pl-dimlines { stroke-width: 0.7px; }
.wa-plan .pl-sec, .wa-plan .pl-sec-t, .wa-plan .pl-north, .wa-plan .pl-dim, .wa-plan .pl-dimlines, .wa-plan .pl-small { display: none; }
.wa-plan .pl-room { font-size: 40px; }
.wa-plan .pl-area { display: none; }
.wa-pin { opacity: 0; transition: opacity 300ms var(--ease); }
.wa-pin.is-in { opacity: 1; }
.wa-pin circle { fill: var(--accent); stroke: #fff; stroke-width: 2px; transition: fill 200ms var(--ease); }
.wa-pin text { fill: #fff; font-size: 30px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.wa-pin.is-focus circle { fill: #1a26a8; }
.is-focus .wa-pin:not(.is-focus) circle { fill: #9aa3e6; }

/* 02 – how the request was understood */
.wa-query { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 14px; }
.wa-query__label { font-size: 12.5px; color: var(--wa-mute); margin-right: 2px; }
.wa-qchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 9px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--wa-line); font-size: 13px; color: var(--wa-ink); transition: opacity 280ms var(--ease), transform 320ms cubic-bezier(0.2, 0, 0, 1); }
.wa-qchip .wa-i { width: 15px; height: 15px; color: var(--accent); }
.wa-qchip em { font-style: normal; color: var(--wa-mute); margin-right: 2px; }
.wa-qchip.is-hidden { opacity: 0; transform: translateY(4px) scale(0.97); }

/* 02 – building timeline with the wall closing as boundary */
.wa-tl { position: relative; height: 78px; margin: 4px 0 16px; }
.wa-tl__axis { position: absolute; left: 0; right: 0; top: 30px; height: 2px; border-radius: 2px; background: #dcd8cf; transform-origin: left; transform: scaleX(0); transition: transform 900ms cubic-bezier(0.2, 0, 0, 1); }
.wa-tl.is-drawn .wa-tl__axis { transform: none; }
.wa-tl__range { position: absolute; left: 0; width: 62%; top: 4px; height: 52px; border-radius: 8px; background: rgba(42, 59, 212, 0.06); opacity: 0; transition: opacity 500ms var(--ease) 700ms; }
.wa-tl__range em { position: absolute; left: 8px; top: 3px; font-style: normal; font-size: 11px; color: var(--accent); }
.wa-tl.is-drawn .wa-tl__range { opacity: 1; }
.wa-tl__m { position: absolute; left: var(--x); top: 24px; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); opacity: 0; transition: opacity 300ms var(--ease); white-space: nowrap; }
.wa-tl.is-drawn .wa-tl__m { opacity: 1; }
.wa-tl.is-drawn .wa-tl__m:nth-of-type(3) { transition-delay: 300ms; }
.wa-tl.is-drawn .wa-tl__m:nth-of-type(4) { transition-delay: 500ms; }
.wa-tl.is-drawn .wa-tl__m:nth-of-type(5) { transition-delay: 700ms; }
.wa-tl.is-drawn .wa-tl__m:nth-of-type(6) { transition-delay: 900ms; }
.wa-tl__m i { width: 14px; height: 14px; border-radius: 50%; background: var(--wa-bg); box-shadow: inset 0 0 0 2px #bdb8ad; }
.wa-tl__m b { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--wa-ink-2); font-variant-numeric: tabular-nums; }
.wa-tl__m span { font-size: 11.5px; color: var(--wa-mute); }
.wa-tl__m.is-hit i { background: var(--accent); box-shadow: 0 0 0 4px rgba(42, 59, 212, 0.15); }
.wa-tl__m.is-hit b, .wa-tl__m.is-hit span { color: var(--accent); }
.wa-tl__m.is-wall i { width: 4px; height: 22px; margin-top: -4px; border-radius: 2px; background: var(--wa-ink); box-shadow: none; }
.wa-tl__m.is-wall b { margin-top: 2px; }

/* 02 – plan + photos */
.wa-hits { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 10px; margin: 0 0 14px; transition: none; }
.wa-hits__plan { position: relative; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--wa-line); padding: 22px 6px 6px; aspect-ratio: 1 / 0.92; }
.wa-hits__cap { position: absolute; left: 10px; top: 6px; font-size: 11px; color: var(--wa-mute); }
.wa-hit { display: flex; flex-direction: column; min-width: 0; padding: 6px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--wa-line); transition: opacity 300ms var(--ease), box-shadow 300ms var(--ease); }
.wa-hit__img { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; background: #ddd center / cover; }
.wa-hit__img b { position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.wa-hit__img b.is-none { background: #fff; color: var(--wa-mute); box-shadow: 0 0 0 1px #d6d2c9; }
.wa-hit__t { margin: 7px 2px 0; font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.wa-hit__m { margin: 2px 2px 2px; font-size: 11.5px; color: var(--wa-mute); }
.wa-hits.is-focus .wa-hit:not(.is-focus) { opacity: 0.45; }
.wa-hits.is-focus .wa-hit.is-focus { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* 03 – source counts */
.wa-counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.wa-counts span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--wa-chip); font-size: 12.5px; color: var(--wa-ink-2); }
.wa-counts .wa-i { width: 14px; height: 14px; color: var(--wa-mute); }
.wa-counts b { font-weight: 600; color: var(--wa-ink); margin-left: 2px; }

/* 03 – chronicle */
.wa-chron { position: relative; margin: 0 0 14px; padding: 0; list-style: none; }
.wa-chron::before { content: ""; position: absolute; left: 101px; top: 14px; bottom: 14px; width: 1.5px; background: #dcd8cf; transform-origin: top; transform: scaleY(0); transition: transform 2600ms cubic-bezier(0.2, 0, 0, 1); }
.wa-chron.is-drawn::before { transform: none; }
.wa-chron__e { position: relative; display: grid; grid-template-columns: 86px 32px minmax(0, 1fr); align-items: start; gap: 0; padding: 6px 0; }
.wa-chron__d { padding-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--wa-ink-2); font-variant-numeric: tabular-nums; }
.wa-chron__dot { position: relative; z-index: 1; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: var(--wa-bg); box-shadow: inset 0 0 0 1.5px #d2cdc3; color: var(--wa-ink-2); }
.wa-chron__dot .wa-i { width: 14px; height: 14px; }
.wa-chron__c { display: flex; gap: 12px; padding-left: 8px; min-width: 0; }
.wa-chron__img { flex: none; width: 58px; height: 44px; border-radius: 7px; background: #ddd center / cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.wa-chron__doc { flex: none; width: 58px; height: 44px; display: grid; place-items: center; border-radius: 7px; background: #f3f1ec; }
.wa-chron__doc .wa-pdf { transform: scale(0.62); }
.wa-chron__ph { flex: none; width: 58px; height: 44px; border-radius: 7px; border: 1.5px dashed #d9c27a; background: #fdf8ea; }
.wa-chron__txt { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.wa-chron__txt b { font-size: 13.5px; font-weight: 500; }
.wa-chron__txt > span { font-size: 12px; color: var(--wa-mute); }
.wa-quote { display: block; margin-top: 6px; padding: 4px 0 4px 10px; border-left: 2px solid #d2cdc3; font-size: 12.5px; line-height: 1.45; color: var(--wa-ink-2); quotes: none; }
.wa-quote mark { background: transparent; color: inherit; transition: background 400ms var(--ease); border-radius: 3px; }
.wa-quote.is-lit mark { background: #fbeec2; }
.wa-chron__e--ok .wa-chron__dot { color: #2f8a57; box-shadow: inset 0 0 0 1.5px #a8d4b9; }
.wa-chron__e--flag .wa-chron__dot { color: #b8483a; box-shadow: inset 0 0 0 1.5px #e3b2aa; }
.wa-chron__e--gap .wa-chron__dot { color: #a07c12; background: #fdf8ea; box-shadow: inset 0 0 0 1.5px #e3cf8f; }
.wa-chron__e--gap .wa-chron__txt b { color: #7d6210; }
.wa-chron__e--gap .wa-chron__txt > span { color: #a08a4a; }
.wa-chron__e--gap .wa-chron__d { color: #a08a4a; font-weight: 500; }
.wa-chron__e--gap { border-radius: 10px; transition: background 400ms var(--ease); }
.wa-chron__e--gap.is-lit { background: #fdf6e3; }

/* 04 – route through the floor plan */
.wa-round { margin: 0 0 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--wa-line), 0 1px 2px rgba(28, 24, 18, 0.04); overflow: hidden; }
.wa-round__head { display: flex; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--wa-line); }
.wa-round__head span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.wa-round__head .wa-i { width: 16px; height: 16px; color: var(--accent); }
.wa-round__head em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--wa-mute); }
.wa-round__body { display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: start; }
.wa-round__plan { padding: 12px; border-right: 1px solid var(--wa-line); background: #fcfbf9; }
.wa-round__plan .wa-plan { height: auto; aspect-ratio: 1240 / 910; }
.wa-route { fill: none; stroke: var(--accent); stroke-width: 2px; stroke-dasharray: 26 20; vector-effect: none !important; stroke-width: 9; opacity: 0; transition: opacity 400ms var(--ease); }
.wa-round.is-drawn .wa-route { opacity: 0.8; }
.wa-stops { margin: 0; padding: 8px 14px 6px; list-style: none; }
.wa-stop { display: flex; gap: 12px; padding: 8px 6px; border-radius: 10px; transition: background 260ms var(--ease), opacity 300ms var(--ease); }
.wa-stop + .wa-stop { border-top: 1px solid var(--wa-line); border-radius: 0; }
.wa-stop__n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; margin-top: 1px; }
.wa-stop__room { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.wa-stop ul { margin: 0; padding: 0; list-style: none; }
.wa-stop ul li { display: flex; align-items: flex-start; gap: 9px; padding: 4px 0; font-size: 13px; }
.wa-stop__x { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wa-stop__m { display: flex; align-items: center; gap: 8px; }
.wa-stop__m em { font-style: normal; font-size: 11px; color: var(--wa-mute); }
.wa-box { flex: none; width: 14px; height: 14px; margin-top: 2px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #c4c0b7; }
.wa-tag { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 7px; border-radius: 6px; background: var(--wa-chip); font-size: 11.5px; color: var(--wa-ink-2); white-space: nowrap; transition: opacity 300ms var(--ease), transform 320ms cubic-bezier(0.2, 0, 0, 1); }
.wa-tag .wa-i { width: 13px; height: 13px; }
.wa-tag--cam { background: rgba(42, 59, 212, 0.08); color: var(--accent); }
.wa-tag--img i { width: 18px; height: 14px; border-radius: 3px; background: #ddd center / cover; }
.wa-tag.is-hidden { opacity: 0; transform: translateX(6px); }
.wa-round.is-focus .wa-stop:not(.is-focus) { opacity: 0.5; }
.wa-round.is-focus .wa-stop.is-focus { background: #f7f6f2; }

@media (max-width: 899px) {
  .wa-hits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-round__body { grid-template-columns: minmax(0, 1fr); }
  .wa-round__plan { border-right: 0; border-bottom: 1px solid var(--wa-line); }
  .wa-round__plan .wa-plan { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .wa-tl__m span { display: none; }
  .wa-chron__e { grid-template-columns: 70px 30px minmax(0, 1fr); }
  .wa-chron::before { left: 84px; }
  .wa-chron__img, .wa-chron__doc, .wa-chron__ph { display: none; }
  .wa-acts { flex-wrap: wrap; }
}
.wa-round .wa-pin text { font-size: 52px; }
.wa-round .plan-svg__focus { display: none; }
.wa-round .pl-room { font-size: 46px; }
.wa-plan text { stroke: none !important; font-family: var(--font); }

/* =====================================================================
   Scenarios: titles + descriptions stay as four columns; a black block slides
   behind the one that is playing. Under the laptop: the same control as the
   feature slideshow (dots in a black capsule + play/pause).
   ===================================================================== */
.ws-scenarios__track { position: relative; isolation: isolate; gap: 0 12px; }
.ws-scn { padding: 18px 18px 20px; border-radius: 14px; gap: 6px; }
.ws-scn__bar { display: none; }               /* progress now lives in the capsule under the laptop */
/* the black block, positioned by workspace.js behind the active scenario */
.ws-scn-hl {
  position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: -1;
  border-radius: 14px; background: #121212;
  transition: transform 520ms cubic-bezier(0.2, 0, 0, 1), width 520ms cubic-bezier(0.2, 0, 0, 1), height 520ms cubic-bezier(0.2, 0, 0, 1);
}
.ws-scn[aria-pressed="true"] .ws-scn__num { color: rgba(255, 255, 255, 0.55); }
.ws-scn[aria-pressed="true"] .ws-scn__title { color: #fff; }
.ws-scn[aria-pressed="true"] .ws-scn__text { color: rgba(255, 255, 255, 0.72); }
.ws-scn:not([aria-pressed="true"]):hover { background: rgba(28, 28, 26, 0.04); }
.ws-scn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 14px; }

/* ---------- control under the laptop (same as .frs__ctrl) ---------- */
.ws-ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(32px, 3vw, 44px); }
.ws-dots { display: flex; align-items: center; height: 38px; padding: 0 9px; border-radius: 999px; background: #121212; }
.ws-dot {
  display: inline-grid; place-items: center; height: 44px; margin: -3px 0; padding: 0 8px;
  border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ws-dot span {
  position: relative; overflow: hidden; display: block;
  width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.32);
  transition: width 360ms var(--ease), background-color 240ms var(--ease);
}
.ws-dot:hover span { background: rgba(255, 255, 255, 0.55); }
.ws-dot.is-on span { width: 64px; background: rgba(255, 255, 255, 0.32); }
.ws-dot span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff;
  transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0;
}
.ws-dot.is-on span::after { opacity: 1; }
.ws-dot:focus-visible { outline: none; }
.ws-dot:focus-visible span { outline: 2px solid #a3adff; outline-offset: 4px; }
.ws-dot:active span { transform: scale(0.94); }
.ws-play {
  position: relative; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: #121212; color: #fff;
  transition: background-color 150ms var(--ease), transform 120ms var(--ease);
}
.ws-play::after { content: ""; position: absolute; inset: -3px; }
.ws-play:hover { background: #2a2a29; }
.ws-play:active { transform: scale(0.96); }
.ws-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ws-play svg { grid-area: 1 / 1; width: 15px; height: 15px; }
.ws-play__pause { stroke-width: 2.2; }
.ws-play__play { fill: currentColor; stroke: none; opacity: 0; }
.ws-play[aria-pressed="true"] .ws-play__pause { opacity: 0; }
.ws-play[aria-pressed="true"] .ws-play__play { opacity: 1; }
@media (max-width: 560px) {
  .ws-scn { padding: 14px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ws-scn-hl { transition: none; } }

/* ---------- wide screens: the scenarios as a compact list left of the laptop,
   so list, laptop and control are seen at one glance ---------- */
@media (min-width: 1100px) {
  .ws {
    display: grid;
    /* laptop left, the feature list on the right */
    grid-template-columns: minmax(0, 1fr) minmax(200px, 232px);
    column-gap: clamp(20px, 2vw, 32px);
    align-items: center;
  }
  .ws__head { grid-column: 1 / -1; }
  /* the laptop may reach a little into the left padding, closer to the rail */
  .ws-stage { grid-column: 1; grid-row: 2; max-width: none; margin: 36px 0 0 calc(var(--pad) * -0.4); }
  .ws-scenarios { grid-column: 2; grid-row: 2; max-width: none; margin: 36px 0 0; align-self: center; }
  .ws-ctrl { grid-column: 1 / -1; grid-row: 3; }      /* centred on the page, not under the laptop */
  .ws-scenarios__track { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ws-scn { padding: 13px 16px 14px; border-radius: 12px; gap: 4px; }
  .ws-scn-hl { border-radius: 12px; }
  .ws-scn__num { font-size: 11px; }
  .ws-scn__title { font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
  .ws-scn__text { font-size: 12.5px; line-height: 1.4; }
}
