/* Home, phone-native demos (8 Nov 2026). Josh: "The visuals need to be built FOR mobile, even if it's reinvented for it."
   Linked with media="(max-width: 600px)" after mobile.css, and every rule also sits inside the same query, so a desktop
   never reads a line of it. Each demo has its own phone composition laid out at its real width: no desktop scene shrunk
   or cropped into the box (the 5 Nov data-v9-m / data-mo-m framing is gone from this page).
   The phone scenes that replace an iframe piece live in <template>s in index.html; phone.js puts them in on phones. */
@media (max-width: 600px) {

  /* ---------- shared: a phone screen ---------- */
  .ph-scr { position: relative; width: 100%; max-width: 420px; margin-inline: auto; border-radius: 28px; background: #FFFFFF; overflow: clip;
    box-shadow: 0 0 0 1px rgba(58, 30, 60, .07), 0 24px 48px -28px rgba(58, 30, 60, .35); color: var(--plum, #3A1E3C);
    font-family: "PP Neue Montreal", "Helvetica Neue", Arial, sans-serif; text-align: left; }
  /* the serif's ff/fi ligatures broke in Chromium ("kicko f"): every phone scene draws them as plain letters */
  .ph-scr, .ph-scr * { font-variant-ligatures: no-common-ligatures; font-feature-settings: "liga" 0, "clig" 0; }
  .ph-serif { font-family: var(--serif, "Tobias", Georgia, serif); font-weight: 400; letter-spacing: -.02em; }
  /* the iframe placements this page replaces on a phone: hidden, so host.js never loads them here */
  html body .ph-gone { display: none !important; }

  /* ---------- the inline windows: laid out at the stage's own width, never scaled (beats home-v10f.js's inline fit) ---------- */
  html body .v9e-stage[data-v9-fit] { height: auto !important; overflow: visible !important; }
  html body .v9e-stage[data-v9-fit] > .v9e-fit-in { width: auto !important; transform: none !important; }
  html body .v9e-mo .v9e-stage { margin-top: 32px; }

  /* ================= Hero: the role line and the window you can try ================= */
  /* the role is one unit: it moves to its own line rather than run past the edge, and its focus ring stays close */
  html body .v10-hero .hx-pk-btn { display: inline-block; max-width: 100%; white-space: nowrap; }
  html body .v10-hero .hx-pk-btn:focus-visible { outline-offset: 2px; }
  html body .v10-hero .hx-pk-btn:focus:not(:focus-visible) { outline: none; }
  /* The windows: the kit's 16:10 and 9:15 aspect ratios meet a fixed height and overflow:clip here. Safari then drew the
     Form studio 240px tall (its automatic minimum size is off under clip) and the browser windows 549px wide. On a
     phone every window is the stack's width and one phone height. */
  html body .hx-rstack > .hl-win { aspect-ratio: auto !important; width: 100%; max-width: 100%; height: 640px; }
  html body .hx-rstack > .hl-win > .rv { flex: 1 1 0; min-height: 0; }
  /* the Form studio, as a phone shows it: the bar and the Form your client answers. The question rail and the
     format switch are the desktop studio's side panels; the dots under each question duplicate its "Question 1" line. */
  html body .hx-rstack .ka-form .ka-crumbs, html body .hx-rstack .ka-form .ka-rail, html body .hx-rstack .ka-form .ka-ptool,
  html body .hx-rstack .ka-form .ka-dots { display: none !important; }
  html body .hx-rstack .ka-form .ka-bar { justify-content: space-between; }
  html body .hx-rstack .ka-form .ka-body { padding: 0; gap: 0; display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; }
  html body .hx-rstack .ka-form .ka-prev { flex: 1 1 0; min-height: 0; margin: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; }
  html body .hx-rstack .ka-form .ka-pbody { flex: 1 1 0; min-height: 0; }
  html body .hx-rstack .ka-form .ka-slides { height: 100%; }

  /* ================= Forms: the client's Form on their phone ================= */
  html body #m-form .v10-fwin { container: ka / inline-size; height: 640px; border-radius: 28px; box-shadow: 0 0 0 1px rgba(58, 30, 60, .07), 0 24px 48px -28px rgba(58, 30, 60, .35); }
  html body #m-form .v10-fwin .ka-chrome { grid-template-columns: minmax(0, 1fr); justify-items: center; height: 44px; padding: 0 16px; }
  html body #m-form .v10-fwin .ka-chrome .dots, html body #m-form .v10-fwin .ka-chrome > span:last-child { display: none; }
  html body #m-form .v10-fwin .ka-url { font-size: 13px; }
  /* the steps share the window: the answer rows at a phone's reading size, one line each; the step's own dots go (the
     pill already says where they are) */
  html body #m-form .v10-form .rv-dots { display: none; }
  html body #m-form .v10-form .ka-ballot { gap: 8px; }
  html body #m-form .v10-form .ka-ballot > span { min-height: 50px; height: auto; font-size: 19px; line-height: 1.2; }
  html body #m-form .v10-form .rv-qt { font-size: 28px; line-height: 1.08; }


  /* hero Comparison: the two directions side by side, the way a phone shows a pair; the studio's lineup note goes */
  html body .hx-rstack .v9e-hwin .rv-meta { display: none; }
  html body .hx-rstack .v9e-hwin .rv-cmp-body { padding: 18px 14px 20px; }
  html body .hx-rstack .v9e-hwin .rv-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; row-gap: 0; margin-top: 8px; }
  html body .hx-rstack .v9e-hwin .rv-pair > .rv-pairset > .rv-dir { grid-row: 1; height: 290px; }
  html body .hx-rstack .v9e-hwin .rv-pair .rv-vs { position: absolute; grid-row: auto; left: 50%; top: 50%; translate: -50% -50%; margin: 0; width: 40px; height: 40px; z-index: 2; }
  html body .hx-rstack .v9e-hwin .rv-dl { min-height: 32px; padding: 0 12px; font-size: 13px; }
  html body .hx-rstack .v9e-hwin .rv-choose { min-height: 36px; padding: 0 14px; font-size: 14px; }
  /* the browser windows' address row: the address and the pause button side by side, nothing pushed past the edge */
  html body .hx-rstack .v9e-hwin .ka-chrome { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; height: 46px; padding: 0 8px 0 12px; }
  html body .hx-rstack .v9e-hwin .ka-chrome .dots { display: none; }
  html body .hx-rstack .v9e-hwin .ka-chrome .ka-url { min-width: 0; font-size: 14px; }
  html body .hx-rstack .v9e-hwin .ka-chrome .hx-cend { display: flex; }
  html body .hx-rstack .ka-logo { border-right: 0; padding-right: 0; }

  /* ================= Send: the Send card, then Who you asked as its own phone card under it ================= */
  html body #m-send .v10-sd { width: auto; height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  html body #m-send .v10-sd-svg { display: none; }
  html body #m-send .v10-send { padding: 24px 20px 20px; border-radius: 24px; }
  html body #m-send .v10-send-h { font-size: 28px; }
  html body #m-send .v10-send-p { font-size: 15px; }
  html body #m-send .v10-send-row { font-size: 15px; }
  html body #m-send .v10-send-link { padding: 0 6px 0 14px; gap: 10px; }
  html body #m-send .v10-send-u { min-width: 0; overflow: hidden; text-overflow: clip; white-space: nowrap; font-size: 15px; }
  /* Under 390: the whole link always shows (its last character was clipped at 375); the Copied pill sits beside it when
     there is room and wraps under it when there isn't (360, 320). */
  @media (max-width: 389px) {
    html body #m-send .v10-send-link { flex-wrap: wrap; height: auto; min-height: 50px; padding: 8px 6px 8px 12px; gap: 8px; }
    html body #m-send .v10-send-u { font-size: 14px; overflow: visible; }
    html body #m-send .v10-send-c { padding: 0 10px; gap: 4px; }
  }
  html body #m-send .v10-who { width: auto; height: auto; border-radius: 24px; }
  html body #m-send .v10-who .ka-band { display: none; }
  html body #m-send .v10-who .ka-body { display: block; min-height: 0; padding: 22px 20px 6px; }
  html body #m-send .v10-who .ka-hleft { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
  html body #m-send .v10-who .ka-hleft .k, html body #m-send .v10-who .ka-hleft > p { display: none; }
  html body #m-send .v10-who .ka-hleft h4 { margin: 0; font-size: 28px; }
  html body #m-send .v10-who .ka-nums { margin: 0; gap: 18px; }
  html body #m-send .v10-who .ka-nums > span { display: flex; align-items: baseline; gap: 6px; }
  html body #m-send .v10-who .ka-nums b { font-size: 28px; }
  html body #m-send .v10-who .ka-nums span span { margin: 0; font-size: 14px; }
  html body #m-send .v10-who .ka-hright { contain: none; -webkit-mask-image: none; mask-image: none; margin-top: 14px; }
  html body #m-send .v10-who .ka-lhead { display: none; }
  html body #m-send .v10-who .ka-person { padding: 14px 0; border-top: 1px solid rgba(58, 30, 60, .08); }
  html body #m-send .v10-who .ka-person b { font-size: 16px; }
  html body #m-send .v10-who .ka-person b small { font-size: 14px; margin-left: 8px; }
  html body #m-send .v10-who .ka-person .line { margin-top: 8px; gap: 10px; }
  html body #m-send .v10-who .ka-person .line i { width: 14px; height: 22px; }
  html body #m-send .v10-who .ka-person .line span { font-size: 14px; }

  /* ================= Results: the Results screen on a phone: the title, the count, the answers landing ================= */
  html body #m-res .v9e-res { width: auto; height: auto; border-radius: 28px; }
  html body #m-res .v9e-res .ka-bar { display: none; }
  html body #m-res .v9e-res .ka-htitle { padding: 18px 20px 0; flex-wrap: wrap; row-gap: 12px; }
  html body #m-res .v9e-res .ka-htitle h4 { font-size: 26px; margin-bottom: 0; }
  html body #m-res .v9e-res .ka-htitle > span:not(.ka-tabs) { display: inline; margin-bottom: 2px; font-size: 15px; }
  html body #m-res .v9e-res .ka-tabs { display: none; }
  html body #m-res .v9e-res .ka-band { padding-bottom: 16px; }
  html body #m-res .v9e-res .ka-body { display: block; min-height: 0; padding: 22px 20px 8px; }
  html body #m-res .v9e-res .ka-hleft .k, html body #m-res .v9e-res .ka-hleft > p { display: none; }
  html body #m-res .v9e-res .ka-hleft h4 { margin: 0; font-size: 30px; line-height: 1.08; }
  html body #m-res .v9e-res .ka-nums { margin-top: 16px; gap: 28px; }
  html body #m-res .v9e-res .ka-nums > span { display: flex; align-items: baseline; gap: 8px; }
  html body #m-res .v9e-res .ka-nums b { font-size: 34px; }
  html body #m-res .v9e-res .ka-nums span span { margin: 0; font-size: 15px; }
  html body #m-res .v9e-res .ka-hright { contain: none; -webkit-mask-image: none; mask-image: none; margin-top: 18px; }
  html body #m-res .v9e-res .ka-lhead { font-size: 14px; padding-bottom: 10px; }
  html body #m-res .v9e-res .ka-ans { padding: 16px 0 14px; border-bottom: 1px solid rgba(58, 30, 60, .08); }
  html body #m-res .v9e-res .ka-ans:last-child { border-bottom: 0; }
  html body #m-res .v9e-res .ka-ans > small { font-size: 14px; }
  html body #m-res .v9e-res .ka-ans > b { font-size: 16px; }
  html body #m-res .v9e-res .ka-ans > b em { font-size: 14px; }
  html body #m-res .v9e-res .ka-ans .line { gap: 10px; margin-top: 10px; }
  html body #m-res .v9e-res .ka-ans .line span { font-size: 14px; }
  html body #m-res .v9e-res .ka-tiles i { width: 14px; height: 22px; }


  /* ================= the phone scenes (templates in index.html, put in by phone.js) ================= */
  .ph-stage { display: block; margin-top: 32px; }
  #yours .ph-stage { margin-top: 36px; }

  /* ---- Try it as: the welcome screen your client opens, on their phone ---- */
  .ph-y { --a: #5B478B; --ai: #FFFFFF; padding: 18px 16px 18px; background: #FFFFFF; }
  .ph-y-wash { position: absolute; inset: 0 0 auto 0; height: 300px; background: linear-gradient(180deg, var(--w, #EAE5F7) 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
  .ph-y-wash2 { --w: #EAE5F7; clip-path: inset(0 0 100% 0); }
  .ph-y-id { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 4px; }
  .ph-y-mono { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: var(--plum, #3A1E3C);
    box-shadow: inset 0 0 0 1px rgba(58, 30, 60, .14); font-size: 13px; font-weight: 500; letter-spacing: .02em; }
  .ph-y-wm { font-size: 22px; line-height: 1.1; color: var(--plum, #3A1E3C); min-width: 0; overflow-wrap: anywhere; }
  .ph-y-card { position: relative; margin-top: 18px; padding: 26px 22px 24px; border-radius: 22px; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(58, 30, 60, .08), 0 14px 30px -18px rgba(58, 30, 60, .25); }
  .ph-y-rule { display: block; width: 44px; height: 2px; border-radius: 2px; background: var(--a); }
  .ph-y-k { margin: 18px 0 0; font-size: 14px; color: #6E5A70; }
  .ph-y-h { margin: 6px 0 0; font-size: 34px; line-height: 1.04; color: var(--plum, #3A1E3C); }
  .ph-y-l { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: #3A1E3C; }
  .ph-y-do { margin-top: 20px; }
  .ph-y ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
  .ph-y li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; }
  .ph-y li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--a); }
  .ph-y-sm { margin: 18px 0 0; font-size: 14px; line-height: 1.45; color: #6E5A70; }
  .ph-y-cta { margin-top: 22px; height: 50px; border-radius: 999px; display: grid; place-items: center; background: var(--a); color: var(--ai); font-size: 16px; font-weight: 500; }

  /* ---- Moodboards: the client's board on their phone, the wall moving up, a rating landing on each ---- */
  .ph-m { display: flex; flex-direction: column; height: 560px; }
  .ph-m-head { position: relative; z-index: 2; padding: 22px 20px 14px; background: #FFFFFF; }
  .ph-m-k { margin: 0; font-size: 14px; color: #6E5A70; }
  .ph-m-t { margin: 6px 0 0; font-size: 28px; line-height: 1.08; }
  .ph-m-view { position: relative; flex: 1 1 0; min-height: 0; overflow: clip;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 36px), transparent 100%); }
  .ph-m-wall { columns: 2; column-gap: 10px; padding: 6px 14px 0; }
  .ph-m-wall figure { position: relative; margin: 0 0 10px; break-inside: avoid; border-radius: 14px; overflow: clip; aspect-ratio: 4 / 3; background: #EEEBF0; }
  .ph-m-wall figure.tall { aspect-ratio: 4 / 5; }
  .ph-m-wall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .ph-m-wall b { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: #F1EEF8; color: #3A1E3C; font-size: 15px; font-weight: 500; box-shadow: 0 4px 12px rgba(20, 10, 30, .18); }
  .ph-m-wall b.on { background: #3A1E3C; color: #F6F3EE; }
  .ph-m-tray { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 12px 12px; padding: 12px 16px; border-radius: 16px;
    background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(58, 30, 60, .1), 0 10px 24px -12px rgba(58, 30, 60, .3); font-size: 14px; color: #6E5A70; }
  .ph-m-n { color: #3A1E3C; font-size: 15px; white-space: nowrap; }
  .ph-m-n b { font-weight: 500; }
  .ph-m-hint { text-align: right; }

  /* ---- Comparisons: one pair on the phone, the tap, and each pick becoming a line under it ---- */
  .ph-p { padding: 22px 16px 18px; }
  .ph-p-q { text-align: center; }
  .ph-p-k { margin: 0; font-size: 14px; color: #6E5A70; }
  .ph-p-t { margin: 6px 0 0; font-size: 26px; line-height: 1.1; }
  .ph-p-pair { position: relative; margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ph-p-pic { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: clip; background: #EEEBF0; transform-origin: 50% 60%; }
  .ph-p-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .ph-p-pic span { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .86); color: #4F3B52; font-size: 13px; font-weight: 500; white-space: nowrap; }
  .ph-p-pic.is-pick { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px #5B478B; }
  .ph-p-vs { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .92); color: #6E5A70; font-size: 14px; font-style: normal; font-weight: 500; box-shadow: 0 6px 16px rgba(20, 10, 30, .14); }
  .ph-p-list { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(58, 30, 60, .08); }
  .ph-p-chap { margin: 0 0 4px; font-size: 14px; color: #6E5A70; }
  .ph-p-line { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
  /* a line not yet picked: its place shows as a dashed frame, so the list reads as the three picks to come */
  .ph-p-th::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 46px; box-sizing: border-box; border-radius: 10px; border: 2px dashed rgba(58, 30, 60, .16); }
  .ph-p-th { position: relative; flex: none; width: 74px; height: 46px; }
  .ph-p-th img { position: absolute; display: block; object-fit: cover; }
  .ph-p-th img:first-child { left: 0; top: 0; width: 46px; height: 46px; border-radius: 10px; }
  .ph-p-th img:last-child { left: 52px; bottom: 0; width: 22px; height: 26px; border-radius: 6px; opacity: .45; }
  .ph-p-w b { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
  .ph-p-w small { display: block; font-size: 14px; color: #6E5A70; }

  /* ---- Flow: the Flow studio as Encore lays it out on a phone: the steps in order, each opening in turn, then Send ---- */
  .ph-f { padding-bottom: 10px; }
  .ph-f-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(58, 30, 60, .08); }
  .ph-f-logo { font-size: 22px; }
  .ph-f-send { height: 36px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; background: #3A1E3C; color: #FFFFFF; font-size: 15px; font-weight: 500; transition: transform .2s ease; }
  .ph-f-send.is-press { transform: scale(.94); }
  .ph-f-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 6px; }
  .ph-f-head .ka-ico { width: 24px; height: 24px; }
  .ph-f-head b { display: block; font-size: 17px; font-weight: 500; }
  .ph-f-head small { display: block; font-size: 14px; color: #6E5A70; }
  .ph-f-steps { list-style: none; margin: 6px 0 0; padding: 0 12px; }
  .ph-f-steps > li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 10px; border-radius: 16px; transition: background-color .35s ease; }
  .ph-f-steps > li + li::before { content: ""; position: absolute; left: 20px; top: -6px; width: 2px; height: 12px; border-radius: 1px; background: rgba(58, 30, 60, .12); }
  .ph-f-steps .ka-ico { width: 22px; height: 22px; }
  .ph-f-n b { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
  .ph-f-n small { display: block; font-size: 14px; color: #6E5A70; }
  .ph-f-st.is-on { background: #F4F1FA; }
  .ph-f-prev { grid-column: 2; height: 0; overflow: clip; }
  .ph-f-pin { padding-top: 12px; }
  .ph-f-pk { margin: 0; font-size: 13px; color: #6E5A70; }
  .ph-f-pq { margin: 4px 0 8px; font-size: 18px; line-height: 1.15; }
  .ph-f-opt { display: flex; align-items: center; height: 42px; margin-top: 8px; padding: 0 14px; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(58, 30, 60, .12); font-size: 15px; transition: background-color .3s ease, color .3s ease; }
  .ph-f-opt.is-on { background: #3A1E3C; color: #FFFFFF; box-shadow: none; }
  .ph-f-mb, .ph-f-cp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ph-f-cp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-f-mb figure, .ph-f-cp figure { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 12px; overflow: clip; transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease; }
  .ph-f-cp figure { aspect-ratio: 4 / 3; }
  .ph-f-mb img, .ph-f-cp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .ph-f-mb b { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #3A1E3C; color: #F6F3EE; font-size: 13px; font-weight: 500; opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
  .ph-f-mb .is-r.is-on b { opacity: 1; transform: none; }
  .ph-f-cp.is-pick .is-b { opacity: .34; transform: scale(.97); }
  .ph-f-cp.is-pick .is-a { transform: translateY(-3px); box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #5B478B; }
  /* the toast rides over the card's foot (the room the taller Form step leaves), so it reserves no empty row */
  .ph-f-copied { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; height: 44px; border-radius: 12px; background: #E8F2EC; color: #2E6B4E; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
  .ph-f-copied.is-on { opacity: 1; transform: none; }
  .ph-f-copied svg { width: 15px; height: 15px; flex: none; }

  /* ---- Works with: one chat on the phone, in the picked agent's own look ---- */
  .ph-a { --bg: #262624; --ink: #F5F2EA; --mute: rgba(245, 242, 234, .68); --bub: #141413; --line: rgba(255, 255, 255, .1); --acc: #D97757; height: 600px; background: var(--bg); color: var(--ink); transition: background-color .4s ease; }
  .ph-a[data-agent="1"] { --bg: #FFFFFF; --ink: #0D0D0D; --mute: #5D5D5D; --bub: #F2F2F2; --line: rgba(0, 0, 0, .08); --acc: #0D0D0D; }
  .ph-a[data-agent="2"] { --bg: #181818; --ink: #E4E4E4; --mute: rgba(228, 228, 228, .66); --bub: #262626; --line: rgba(255, 255, 255, .09); --acc: #E4E4E4; }
  .ph-a[data-agent="3"] { --bg: #0E0E10; --ink: #E8E6E3; --mute: rgba(232, 230, 227, .66); --bub: #1B1B1F; --line: rgba(255, 255, 255, .09); --acc: #8EC07C; }
  .ph-a-sc { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; }
  .ph-a-sc.is-on { opacity: 1; visibility: visible; }
  .ph-a-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
  .ph-a-name { font-size: 17px; font-weight: 500; }
  .ph-a-sub { font-size: 13px; color: var(--mute); text-align: right; min-width: 0; }
  .ph-a-body { flex: 1 1 0; min-height: 0; padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; overflow: clip; }
  .ph-a-u { align-self: flex-end; max-width: 86%; margin: 0; padding: 11px 14px; border-radius: 18px 18px 6px 18px; background: var(--bub); font-size: 15px; line-height: 1.4; }
  .ph-a-tool { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
  .ph-a-tool i { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: #3A1E3C; color: #F6F3EE; font-family: var(--serif); font-style: normal; font-size: 13px; }
  .ph-a-tool code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--ink); }
  .ph-a-r { margin: 0; font-size: 15px; line-height: 1.5; font-variant-ligatures: no-common-ligatures; }
  .ph-a[data-agent="0"] .ph-a-r { font-family: var(--serif); font-size: 16px; line-height: 1.45; }
  .ph-a[data-agent="3"] .ph-a-u, .ph-a[data-agent="3"] .ph-a-r, .ph-a[data-agent="3"] .ph-a-in { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.55; }
  .ph-a[data-agent="3"] .ph-a-u { align-self: stretch; max-width: none; border-radius: 8px; }
  .ph-a-card { padding: 14px 16px; border-radius: 16px; background: #FFFFFF; color: #3A1E3C; box-shadow: 0 0 0 1px rgba(58, 30, 60, .1), 0 12px 24px -16px rgba(0, 0, 0, .45); }
  .ph-a-card small { display: block; font-size: 13px; color: #6E5A70; }
  .ph-a-ck { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
  .ph-a-ck .ka-ico { width: 18px; height: 18px; }
  .ph-a-ck em { margin-left: auto; font-style: normal; font-weight: 400; font-size: 13px; color: #6E5A70; }
  .ph-a-card ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
  .ph-a-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
  .ph-a-card li .ka-ico { width: 18px; height: 18px; }
  .ph-a-card li em { margin-left: auto; font-style: normal; font-size: 13px; color: #6E5A70; }
  .ph-a-q p { margin: 4px 0 10px; font-size: 20px; line-height: 1.15; }
  .ph-a-wp { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
  .ph-a-wp b { height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--serif); font-weight: 400; font-size: 18px; box-shadow: inset 0 0 0 1px rgba(58, 30, 60, .14); }
  .ph-a-wp em { font-style: normal; font-size: 13px; color: #6E5A70; }
  .ph-a-url { margin: 0 0 8px; font-size: 13px; color: #5B478B; }
  .ph-a-l p.ph-serif { margin: 2px 0 10px; font-size: 22px; line-height: 1.1; }
  .ph-a-begin { display: grid; place-items: center; height: 40px; border-radius: 999px; background: #3A1E3C; color: #FFFFFF; font-size: 15px; font-weight: 500; }
  .ph-a-res blockquote { margin: 10px 0 0; padding-left: 10px; border-left: 2px solid #EDC9D8; font-size: 14px; line-height: 1.4; }
  .ph-a-res cite { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: #6E5A70; }
  .ph-a-in { margin: 12px 14px 14px; padding: 13px 16px; border-radius: 18px; background: var(--bub); color: var(--mute); font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); }

}

/* The Flow scene as the shipped List (Encore 4.135.0): plum welcome, numbered steps on a line, peach ending. */
@media (max-width: 600px) {
  .ph-f--list .ph-f-head { display: block; padding: 16px 18px 4px; }
  .ph-f--list .ph-f-t { margin: 6px 0 0; font-size: 26px; line-height: 1.05; color: #3A1E3C; }
  .ph-f--list .ph-f-head small { margin-top: 6px; }
  .ph-f--list .ph-f-steps { position: relative; padding: 0 12px 0 10px; margin-top: 10px; }
  .ph-f--list .ph-f-steps::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: rgba(58, 30, 60, .12); }
  .ph-f--list .ph-f-steps > li { grid-template-columns: 32px minmax(0, 1fr) auto; column-gap: 10px; padding: 8px 12px 8px 0; margin-top: 6px; background: transparent; }
  .ph-f--list .ph-f-steps > li + li::before { display: none; }
  .ph-f--list .ph-f-node { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(58, 30, 60, .24); font-style: normal; font-size: 14px; font-weight: 600; color: #3A1E3C; }
  .ph-f--list .ph-f-n { min-width: 0; padding: 8px 0 8px 14px; border-radius: 14px 0 0 14px; }
  .ph-f--list .ph-f-n small { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #7D6B7F; }
  .ph-f--list .ph-f-n small .fl-px { width: 24px; height: 24px; margin: -4px 0; }
  .ph-f--list .ph-f-n b { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; }
  .ph-f--list .ph-f-steps > li > .fl-ready { padding-right: 12px; }
  .ph-f--list .ph-f-steps > li::after { content: ""; position: absolute; z-index: 0; left: 42px; right: 0; top: 0; bottom: 0; border-radius: 16px; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(58, 30, 60, .1); pointer-events: none; }
  .ph-f--list .ph-f-steps > li > * { position: relative; z-index: 1; }
  .ph-f--list .ph-f-wel::after { background: #3A1E3C !important; box-shadow: none !important; }
  .ph-f--list .ph-f-wel .ph-f-n small, .ph-f--list .ph-f-wel .fl-ready { color: rgba(246, 243, 238, .8); }
  .ph-f--list .ph-f-wel .ph-f-n b { color: #F6F3EE; }
  .ph-f--list .ph-f-end::after { background: #FBE6D8 !important; box-shadow: none !important; }
  .ph-f--list .ph-f-st.is-on { background: transparent; }
  .ph-f--list .ph-f-st.is-on::after { box-shadow: inset 0 0 0 1.5px rgba(58, 30, 60, .2); }
  .ph-f--list .ph-f-prev { grid-column: 2 / 4; padding: 0 12px 0 14px; }
  .ph-f--list .ph-f-node .fl-px { width: 24px; height: 24px; }
}
