/* Demo block (d1 v4, d2 v5): feature cards on the left overlap a browser with the live widget; the widget expands in place; outcome cards. */
.demo-head { max-width: 860px; margin: 0 auto 52px; text-align: center; }
.demo-lead { margin: 18px auto 0; max-width: 680px; }

.demo-stage { position: relative; padding: 24px 0 32px; }
/* v5: no plate under the scene (the beige aifeat section sits right above); only a soft glow behind the browser */
.demo-screen::before { content: ""; position: absolute; z-index: -1; inset: 8% -6% -4% 4%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 30% 40%, rgba(246, 200, 106, .30), transparent 62%), radial-gradient(ellipse at 78% 62%, rgba(243, 167, 138, .24), transparent 60%);
  filter: blur(46px); }

/* feature cards */
.demo-cards { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 3; }
.demo-card { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 14px 18px 14px 14px; border: 0;
  border-radius: 20px; background: #fff;
  text-align: left; cursor: pointer; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(27, 23, 19, .045), 0 1px 2px rgba(27, 23, 19, .04), 0 12px 28px -18px rgba(60, 30, 10, .22);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.demo-card:hover { background: #fff; }
.demo-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.demo-card[aria-pressed="true"] { background: #fff; box-shadow: var(--shadow-float); }
.demo-sq { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; color: var(--ink); opacity: .72;
  transition: opacity .25s; }
.demo-sq svg { width: 20px; height: 20px; }
.demo-card[aria-pressed="true"] .demo-sq { opacity: 1; }
.demo-copy { display: flex; flex-direction: column; min-width: 0; padding-top: 11px; }
.demo-copy strong { font: 600 17px/1.3 var(--font); letter-spacing: -0.012em; color: var(--ink-2); transition: color .25s; }
.demo-copy small { display: block; max-height: 0; overflow: hidden; opacity: 0; font: 400 14.5px/1.5 var(--font); color: var(--ink-2);
  transition: max-height .35s var(--ease), opacity .3s var(--ease), margin .3s var(--ease); }
.demo-card[aria-pressed="true"] .demo-copy { padding-top: 2px; }
.demo-card[aria-pressed="true"] strong { color: var(--ink); }
.demo-card[aria-pressed="true"] small { max-height: 120px; opacity: 1; margin-top: 5px; }

/* browser frame */
.demo-screen { position: relative; z-index: 1; min-width: 0; }
.demo-browser { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-float); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; background: #FBF8F4; border-bottom: 1px solid var(--line); }
.demo-dots { display: inline-flex; gap: 6px; width: 54px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E9DFD3; }
.demo-url { flex: 1; max-width: 300px; margin: 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 26px; border-radius: 8px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 500 12.5px/1 var(--font); color: var(--muted); }
.demo-url svg { width: 12px; height: 12px; }
.demo-bar-end { width: 54px; display: flex; justify-content: flex-end; }
.demo-exp { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border: 0; border-radius: 99px; white-space: nowrap;
  background: #fff; box-shadow: 0 1px 2px rgba(27, 23, 19, .08); font: 500 12.5px/1 var(--font); color: var(--ink-2); cursor: pointer; }
.demo-exp:hover { color: var(--ink); box-shadow: 0 2px 8px rgba(27, 23, 19, .12); }
.demo-exp:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.demo-exp svg { width: 14px; height: 14px; }
.demo .demo-bar-end { width: auto; min-width: 54px; gap: 8px; align-items: center; }
/* v6: compact widget-style switch (the real v8 styles), sits in the browser bar next to Expand */
.demo-sty { display: inline-flex; gap: 2px; padding: 2px; border-radius: 99px; background: #fff; box-shadow: 0 1px 2px rgba(27, 23, 19, .08); }
.demo-sty-b { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 6px; border: 0; border-radius: 99px; background: transparent;
  font: 500 12px/1 var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.demo-sty-b:hover { color: var(--ink); }
.demo-sty-b[aria-checked="true"] { background: #F4F1EC; color: var(--ink); }
.demo-sty-b:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.demo-sty-sw { width: 12px; height: 12px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27, 23, 19, .12); }
.demo-sty-sw.s-notion { background: linear-gradient(135deg, #fcfbf8 48%, #eea30d 52%); }
.demo-sty-sw.s-aura { background: linear-gradient(135deg, #f5dcbf, #ECA10D); border-radius: 5px; }
.demo-sty-sw.s-atelier { background: linear-gradient(135deg, #f5f1e9 48%, #16130e 52%); border-radius: 3px; }
.demo-page { position: relative; display: flex; gap: 28px; padding: 22px; background: #FFFEFC; }

/* neutral site skeleton */
.demo-site { flex: 1; min-width: 0; padding: 4px 6px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, .12) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, .12) 88%, transparent 100%); }
.demo-site-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 56px; }
.demo-site-logo { width: 26px; height: 26px; border-radius: 8px; background: #F1ECE5; }
.demo-site-nav i { display: block; width: 46px; height: 8px; border-radius: 4px; background: #F5F1EB; }
.demo-site-pill { margin-left: auto; width: 82px; height: 28px; border-radius: 999px; background: #F1ECE5; }
.demo-site-hero { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin-left: auto; }
.demo-site-hero b { display: block; height: 22px; border-radius: 7px; background: #F2EDE6; }
.demo-site-hero b:nth-child(2) { width: 72%; }
.demo-site-hero span { display: block; height: 9px; border-radius: 5px; background: #F6F2ED; width: 88%; }
.demo-site-hero span:nth-of-type(2) { width: 64%; }
.demo-site-hero em { width: 120px; height: 34px; border-radius: 999px; background: #EDE7DF; margin-top: 10px; }
.demo-site-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.demo-site-tiles i { display: block; height: 150px; border-radius: 14px; background: #F7F4EF; }

/* widget + agent channel overlay */
.demo-wgt-wrap { position: relative; flex: none; width: 404px; max-width: 100%; }
.demo-wgt { --tbw-h: 640px; }
.demo-wgt .tbw-embed[data-layout=panel] { max-width: none; }
.demo-missing { padding: 60px; color: var(--muted); text-align: center; }

.demo-aich { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 18px; border-radius: 20px;
  background: rgba(251, 247, 241, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.is-ai .demo-aich, .is-ai-final .demo-aich { opacity: 1; }
.demo-aich-card { width: 100%; max-width: 360px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-float); border: 1px solid var(--line); }
.demo-aich-head { display: flex; align-items: center; gap: 10px; }
.demo-aich-logo { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--soft); }
.demo-aich-logo img { width: 18px; height: 18px; }
.demo-aich-who { display: flex; flex-direction: column; min-width: 0; }
.demo-aich-who strong { font: 600 14.5px/1.25 var(--font); color: var(--ink); }
.demo-aich-who small { font: 400 12.5px/1.35 var(--font); color: var(--muted); }
.demo-aich-ch { margin-left: auto; flex: none; align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: var(--soft); font: 500 11.5px/1.2 var(--font); color: var(--ink-2); }
.demo-aich-req { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--soft-2); border: 1px solid var(--line); font: 400 14px/1.45 var(--font); color: var(--ink); }
.demo-aich-ans { margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.demo-aich-agent { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 600 13px/1.2 var(--font); color: var(--ink-2); }
.demo-aich-b { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 11px/1 var(--font); }
.demo-aich-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font: 400 13.5px/1.35 var(--font); color: var(--muted); }
.demo-aich-row b { font-weight: 500; color: var(--ink); text-align: right; }
.demo-aich-out { margin-top: 14px; }
.demo-aich-out .tb-tag { height: auto; min-height: 28px; padding: 5px 12px; white-space: normal; line-height: 1.3; }

/* stagger: request, agent rows, outcome */
.is-ai .demo-aich-req, .is-ai .demo-aich-agent, .is-ai .demo-aich-row, .is-ai .demo-aich-out { opacity: 0; transform: translateY(6px); animation: demoIn .45s var(--ease) forwards; }
.is-ai .demo-aich-req { animation-delay: .35s; }
.is-ai .demo-aich-agent { animation-delay: 1.4s; }
.is-ai .demo-aich-row:nth-child(2) { animation-delay: 2.1s; }
.is-ai .demo-aich-row:nth-child(3) { animation-delay: 2.7s; }
.is-ai .demo-aich-row:nth-child(4) { animation-delay: 3.3s; }
.is-ai .demo-aich-out { animation-delay: 4.1s; }
@keyframes demoIn { to { opacity: 1; transform: none; } }

/* outcome cards (ample-v6): avatar, title, who, calm status pill, detail with a dot, AI mark in the corner. No side stripe. */
.demo-out { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px 16px 14px 14px;
  border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(27, 23, 19, .05), 0 18px 40px -22px rgba(60, 30, 10, .35); text-align: left; }
.demo-out-av { grid-row: 1 / span 3; position: relative; width: 44px; height: 44px; }
.demo-out-av > img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; }
.demo-out-av i { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 7px; background: #1B1713; box-shadow: 0 0 0 2px #fff; }
.demo-out-av i img { width: 12px; height: 12px; filter: invert(1); }
.demo-out-ai { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--soft-2, #F6F1EA); color: var(--ink-2); }
.demo-out-ai svg { width: 12px; height: 12px; }
.demo-out b { padding-right: 28px; font: 600 16px/1.25 var(--font); letter-spacing: -0.015em; color: var(--ink); }
.demo-out small { margin-top: 2px; font: 400 13px/1.35 var(--font); color: var(--muted); }
.demo-out-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.demo-out-row em { font-style: normal; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: #F7EFC9; color: #5E4B12; font: 600 12px/1 var(--font); }
.demo-out-d { display: inline-flex; align-items: center; gap: 7px; font: 400 13px/1.3 var(--font); color: var(--ink-2); }
.demo-out-d::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E0855A; }
.demo-outs { position: absolute; right: 448px; bottom: 36px; z-index: 6; width: 330px; pointer-events: none; }
.demo-outs .demo-out { position: absolute; right: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .5s var(--ease), transform .6s var(--ease); }
.demo-outs .demo-out.on { opacity: 1; transform: none; }
.demo-browser-wrap { position: relative; }
.demo-aich-out .demo-out { box-shadow: none; padding: 12px 0 0; border-top: 1px solid var(--line); border-radius: 0; }
.demo-aich-out .demo-out-ai { top: 12px; right: 0; }

/* v5: expand in place. The skeleton folds away, the widget grows to its wide size, the cards fold into an icon rail. */
.demo-site { max-width: 1200px; transition: max-width .6s var(--ease), opacity .3s var(--ease), padding .6s var(--ease); }
.demo-page { transition: gap .6s var(--ease); }
.demo-wgt-wrap { transition: width .6s var(--ease); }
.demo-wgt .tbw-embed { transition: height .6s var(--ease); }
.demo-v1 .demo-cards { transition: width .55s var(--ease), left .55s var(--ease); }
.demo-v1 .demo-screen { transition: margin-left .55s var(--ease); }
.demo-copy { transition: opacity .25s var(--ease), max-width .5s var(--ease); max-width: 320px; }
.is-wide .demo-page { gap: 0; }
.is-wide .demo-site { max-width: 0; padding: 0; opacity: 0; overflow: hidden; }
.is-wide .demo-wgt-wrap { width: 100%; }
.is-wide .demo-wgt { --tbw-h: 700px; }
@media (min-width: 1101px) {
  .is-wide.demo-v1 .demo-cards { width: 72px; left: 0; }
  .is-wide.demo-v1 .demo-screen { margin-left: 96px; }
  .is-wide .demo-copy { opacity: 0; max-width: 0; max-height: 0; padding: 0; overflow: hidden; }
  .is-wide .demo-card { padding: 14px; gap: 0; }
  .is-wide .demo-sq { opacity: 1; }
  .is-wide .demo-card[aria-pressed="true"] { box-shadow: var(--shadow-float), 0 0 0 2px var(--ink); }
}
.is-wide .demo-outs { opacity: 0; }

/* variant 1: scene, cards float over the left of a wide browser */
.demo-v1 .demo-cards { position: absolute; left: 24px; top: 132px; width: 372px; }
.demo-v1 .demo-screen { margin-left: 196px; }

/* variant 2: card column overlaps the browser edge, widget in its wide layout */
.demo-v2 .demo-stage { display: grid; grid-template-columns: 392px minmax(0, 1fr); align-items: center; padding: 56px 48px 56px 40px; }
.demo-v2 .demo-cards { margin-right: -26px; }
.demo-v2 .demo-card[aria-pressed="true"] { transform: none; }
.demo-v2 .demo-page { padding: 0; display: block; background: #fff; }
.demo-v2 .demo-wgt-wrap { width: 100%; }
.demo-v2 .demo-wgt { --tbw-h: 640px; }
.demo-v2 .demo-wgt .tbw-embed { max-width: none; }
.demo-v2 .demo-wgt .tbw-win { border: 0; border-radius: 0; box-shadow: none; }
.demo-v2 .demo-aich { border-radius: 0; }
.demo-v2 .demo-browser { margin-left: 0; }

@media (max-width: 1260px) {
  .demo-site-tiles { display: none; }
  .demo-v1 .demo-cards { width: 330px; }
  .demo-v1 .demo-screen { margin-left: 170px; }
}
@media (max-width: 1100px) {
  .demo-outs { position: relative; right: auto; bottom: auto; width: auto; max-width: 404px; margin: 14px auto 0; }
  .demo-outs .demo-out { position: relative; display: none; }
  .demo-outs .demo-out.on { display: grid; }
  .demo-stage, .demo-v2 .demo-stage { display: block; padding: 32px; }
  .demo-v1 .demo-cards, .demo-v2 .demo-cards { position: relative; left: auto; top: auto; width: auto; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; }
  .demo-card[aria-pressed="true"] { transform: none; }
  .demo-v1 .demo-screen { margin-left: 0; }
  .demo-site { display: none; }
  .demo-page { justify-content: center; }
}
@media (max-width: 700px) {
  .demo.wrap { padding: 0 16px; }
  .demo.sec-pad { padding-top: 88px; }
  .demo-head { margin-bottom: 28px; text-align: left; }
  .demo-lead { margin-left: 0; }
  .demo-stage, .demo-v2 .demo-stage { padding: 12px; border-radius: 24px; }
  .demo-v1 .demo-cards, .demo-v2 .demo-cards { grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
  .demo-card { padding: 10px 14px 10px 10px; }
  .demo-sq { width: 38px; height: 38px; border-radius: 11px; }
  .demo-copy { padding-top: 9px; }
  .demo-copy strong { font-size: 15.5px; }
  .demo-copy small { font-size: 14px; }
  .demo-page { padding: 0; }
  .demo-browser { border-radius: 14px; }
  .demo-bar { height: 36px; padding: 0 12px; }
  .demo-dots, .demo-bar-end { width: 40px; }
  .demo-wgt, .demo-v2 .demo-wgt { --tbw-h: 560px; }
  .demo-wgt .tbw-win { border: 0; border-radius: 0; box-shadow: none; }
  .demo-aich { border-radius: 0; padding: 12px; }
  .demo-exp span { display: none; }
  .demo-exp { width: 28px; padding: 0; justify-content: center; }
  .demo-outs { margin-top: 10px; }
  .demo-exp { display: none; }
  .demo-sty-b { padding: 0 6px; }
  .demo-sty-b span { display: none; }
  .demo-dots { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-card, .demo-copy, .demo-copy small, .demo-aich, .demo-outs .demo-out, .demo-site, .demo-page, .demo-wgt-wrap, .demo-wgt .tbw-embed, .demo-v1 .demo-cards, .demo-v1 .demo-screen { transition: none; }
  .is-ai .demo-aich-req, .is-ai .demo-aich-agent, .is-ai .demo-aich-row, .is-ai .demo-aich-out { animation: none; opacity: 1; transform: none; }
}

/* v7 (d4): black squares with white icons (v7-77), the active card clearly marked, four v8 styles, three widget views */
.demo-sq { background: #1B1713; color: #fff; opacity: 1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.demo-card:not([aria-pressed="true"]) .demo-sq { background: #2A2621; }
.demo-card[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-float); }
.demo-card[aria-pressed="true"] .demo-sq { background: #000; }
.demo-card:not([aria-pressed="true"]):hover { box-shadow: 0 0 0 1px rgba(27, 23, 19, .12), 0 1px 2px rgba(27, 23, 19, .04), 0 12px 28px -18px rgba(60, 30, 10, .22); }
.demo-sty-sw.s-soft { background: linear-gradient(135deg, #fff 48%, #286caa 52%); }
.demo-mode-ic { width: 13px; height: 11px; flex: none; position: relative; border-radius: 3px; box-shadow: inset 0 0 0 1.4px currentColor; opacity: .8; }
.demo-mode-ic::after { content: ""; position: absolute; background: currentColor; border-radius: 1px; }
.demo-mode-ic.m-closed::after { right: 2px; bottom: 2px; width: 6px; height: 2px; }
.demo-mode-ic.m-open::after { right: 2px; top: 2px; bottom: 2px; width: 4px; }
.demo-mode-ic.m-wide::after { left: 2px; right: 2px; top: 2px; bottom: 2px; }
/* closed: the site is just a site; the widget waits as a dock bar in the corner */
.demo-wgt { position: relative; }
.is-closed .demo-aich { opacity: 0; }
@media (max-width: 1260px) { .demo-sty-b span { display: none; } .demo-sty-b { padding: 0 7px; } }
@media (max-width: 700px) { .demo-mode { display: inline-flex; } .demo-bar { gap: 8px; } .demo-url { display: none; } .demo-bar-end { width: auto; margin-left: auto; } }

/* lead 02.10 (L-61), phones: five feature cards; a tap opens a small static picture of that feature at once
   (no widget copy, no autoplay). Desktop keeps the live widget. */
.demo-mob { display: none; }
@media (max-width: 700px) {
  .demo-stage, .demo-v2 .demo-stage { display: none; }
  .demo-mob { display: grid; gap: 8px; }
  .dm-item { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(27, 23, 19, .08), 0 10px 26px -20px rgba(60, 30, 10, .3); }
  .dm-item.open { box-shadow: 0 0 0 1.5px var(--ink), 0 14px 30px -20px rgba(60, 30, 10, .35); }
  .dm-card { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 0; background: none; text-align: left;
    font: inherit; color: var(--ink); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .dm-card .demo-sq { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #1B1713; color: #fff; }
  .dm-card .demo-sq svg { width: 20px; height: 20px; }
  .dm-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
  .dm-t strong { font: 600 15.5px/1.3 var(--font); }
  .dm-t small { display: none; font: 400 14px/1.45 var(--font); color: var(--muted); }
  .dm-item.open .dm-t small { display: block; }
  .dm-chev { flex: none; width: 9px; height: 9px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); }
  .dm-item.open .dm-chev { transform: rotate(-135deg) translate(-2px, -2px); }
  .dm-panel { display: none; padding: 0 12px 12px; }
  .dm-item.open .dm-panel { display: block; }
  .dm-ill { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: #F7F2EA; font: 400 14px/1.45 var(--font); color: var(--ink-2); }
  .dm-ill p { margin: 0; }
  .dm-q { justify-self: end; max-width: 88%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: #1B1713; color: #fff; }
  .dm-a { display: grid; gap: 8px; max-width: 94%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 0 0 1px rgba(27, 23, 19, .06); }
  .dm-tbl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 8px 10px; border-radius: 10px; background: #F7F2EA; font-size: 13px; }
  .dm-tbl small { color: var(--muted); font-size: 12px; text-align: right; }
  .dm-tbl .on { font-weight: 600; color: var(--ink); }
  .dm-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .dm-slots span { padding: 9px 0; border-radius: 10px; background: #fff; text-align: center; font-weight: 500; box-shadow: 0 0 0 1px rgba(27, 23, 19, .08); }
  .dm-slots .on { background: #1B1713; color: #fff; box-shadow: none; }
  .dm-done { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #fff; font-weight: 500; color: var(--ink);
    box-shadow: 0 0 0 1px rgba(27, 23, 19, .06); }
  .dm-done svg { flex: none; width: 16px; height: 16px; color: #2F8F5B; }
  .dm-from { display: flex; align-items: center; gap: 10px; }
  .dm-from span:last-child { display: grid; gap: 1px; min-width: 0; }
  .dm-from b { font-weight: 600; color: var(--ink); }
  .dm-from small { font-size: 12.5px; color: var(--muted); }
  .dm-logo { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(27, 23, 19, .08); }
  .dm-logo img { width: 16px; height: 16px; }
  .dm-agent { font-weight: 600; color: var(--ink); }
  .dm-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
  .dm-row span { color: var(--muted); }
  .dm-row b { font-weight: 500; color: var(--ink); text-align: right; }
  .dm-file { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #fff; font-weight: 500; color: var(--ink); box-shadow: 0 0 0 1px rgba(27, 23, 19, .06); }
  .dm-file svg { width: 18px; height: 18px; flex: none; }
  .dm-src { font-size: 12px; color: var(--muted); }
  .dm-voice { display: flex; align-items: center; gap: 12px; }
  .dm-mic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1B1713; color: #fff; }
  .dm-mic svg { width: 18px; height: 18px; }
  .dm-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
  .dm-wave i { width: 3px; border-radius: 2px; background: #9C8FD9; }
}

/* lead 02.10: voice illustration on phones: the wave shrinks inside the card, bubbles keep their width */
@media (max-width: 700px) {
  .demo-mob, .dm-item, .dm-panel, .dm-ill { min-width: 0; max-width: 100%; }
  .dm-ill.dm-voice { display: grid; align-items: stretch; }  /* the panel shares the class name with its inner wave row */
  p.dm-voice { min-width: 0; overflow: hidden; }
  .dm-wave { flex: 1; min-width: 0; overflow: hidden; }
  .dm-ill .dm-q { max-width: 88%; } .dm-ill .dm-a { max-width: 94%; }
}
