/* jadeos.ai's full-screen demo tour (Miguel, 2026-10-18 19:47: "Yes, this A. Write it up for the Site"; HQ
   projects/hq-app/product/demo-tour-2026-10-18.md; the board "jade.os demo tour", version 21, its tour3.py and phone.py).
   The jade.os app's window over the dimmed site, in the contrast look: the app's own values (its sheet on main, the
   contrast blocks), copied here under the demo's own root, .jdemo, so nothing of the home page's sheet reaches in and
   nothing of this reaches out. demo.js builds the demo when the pill in 04 is pressed. The way in, the pill, is drawn
   at the top. The phone width (A) below 900 px; the pages fit their own width (container queries), so they fit beside
   the corner chat too. */

/* ---- the way in: one quiet pill above 04's words, the four arrows pointing out on its orange round ---- */
.jd-way{display:inline-flex;align-items:center;gap:12px;height:44px;margin:0;padding:0 18px 0 6px;border:0;border-radius:999px;background:var(--chip);color:var(--text);font:600 15px/1 'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.jd-way .ci{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:50%;background:#ff6a1a;color:#070708}
.jd-way:focus-visible{outline:var(--pg-ring,2px) solid #ff6a1a;outline-offset:2px}
[data-theme='light'] .jd-way:focus-visible{outline-color:#b0400a}
.desk .jd-at{display:flex;flex-direction:column;align-items:flex-start}
.desk .jd-way{margin-bottom:16px}
/* on the phone page it stands at the end of 04's eyebrow row, so the board's heights hold */
.mob .jd-way{position:absolute;top:52px;right:20px;gap:10px;height:36px;padding:0 14px 0 4px;font-size:13.5px}
.mob .jd-way .ci{width:28px;height:28px}
html.jd-open{overflow:hidden}

/* ---- the demo's root and the two looks ---- */
.jdemo{position:fixed;inset:0;z-index:1000;overflow:hidden;font-family:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;color:var(--ivory);
  --sground:#121212;--schip:#1e1e1e;--stext:#f4f4f1;--sdim:#a1a1a9;--sveil:rgba(6,6,6,.80);
  --black:#151515;--ink:#111111;--row:#212121;--pill:rgba(244,244,241,.08);--ivory:#f4f4f1;--gray:#a1a1a9;--dim:#8a8a92;--on-ivory:#141417;--ivory-soft:#5c5c64;--ivory-wash:rgba(20,20,23,.07);
  --orange:#ff6a1a;--orange-ink:#ff6a1a;--on-orange:#070708;--orange-on-ivory:#b0400a;--veil:rgba(0,0,0,.58);--line2:rgba(244,244,241,.18);--mine:#212121;--track:rgba(244,244,241,.12);
  --y:#ffd24d;--p:#f7a1c4;--here:#5ad19a;--here-glow:rgba(90,209,154,.25);--b-lead:#f4f4f1;--b-studio:#a593ce;--b-money:#7fb19e;--b-goals:#789fa2;--b-workshop:#90949a;
  --wshadow:0 40px 100px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.07);--fshadow:0 18px 50px rgba(0,0,0,.55)}
[data-theme='light'] .jdemo{--sground:#f1f0ec;--schip:#e6e5e0;--stext:#141417;--sdim:#5c5c64;--sveil:rgba(251,251,249,.78);
  --black:#f2f2ee;--ink:#fafaf8;--row:#ffffff;--pill:#ecece7;--ivory:#141417;--gray:#5c5c64;--dim:#66666e;--on-ivory:#f4f4f1;--ivory-soft:#a1a1a9;--ivory-wash:rgba(244,244,241,.10);
  --orange:#ff6a1a;--orange-ink:#b0400a;--on-orange:#070708;--orange-on-ivory:#ff6a1a;--veil:rgba(20,20,23,.38);--line2:rgba(20,20,23,.20);--mine:#e4e4df;--track:rgba(20,20,23,.10);
  --y:#a67f0b;--p:#c2477f;--here:#11744b;--here-glow:rgba(17,116,75,.18);--b-lead:#141417;--b-studio:#543599;--b-money:#146849;--b-goals:#094b4f;--b-workshop:#313742;
  --wshadow:0 30px 80px rgba(20,20,23,.18),0 0 0 1px rgba(20,20,23,.08);--fshadow:0 18px 50px rgba(20,20,23,.16)}
.jdemo *,.jdemo *::before,.jdemo *::after{box-sizing:border-box}
.jdemo [hidden]{display:none!important}
.jdemo h1,.jdemo h2,.jdemo h3,.jdemo h4,.jdemo p,.jdemo ol,.jdemo ul{margin:0}
.jdemo button{margin:0;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.jdemo button[disabled]{cursor:not-allowed}
.jdemo button:focus-visible{outline:2px solid var(--orange-ink);outline-offset:2px}
.jdemo .jd-act button:focus-visible,.jdemo .jd-rv button:focus-visible,.jdemo .jd-ag.ready button:focus-visible,.jdemo .jd-sheet button:focus-visible,.jdemo .jd-gnext button:focus-visible{outline-color:var(--orange-on-ivory)}
.jdemo .mono{font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace}
.jdemo .w-short{display:none}
.jdemo .jb{display:block;flex:none}
.jdemo .b-lead{color:var(--b-lead)}
.jdemo .b-studio{color:var(--b-studio)}
.jdemo .b-money{color:var(--b-money)}
.jdemo .b-goals{color:var(--b-goals)}
.jdemo .b-workshop{color:var(--b-workshop)}
.jdemo .dot{display:block;flex:none;width:8px;height:8px;border-radius:50%}
.jdemo .dot.y{background:var(--y)}
.jdemo .dot.p{background:var(--p)}
.jdemo .dot.hm{background:var(--gray)}
:root:not([data-theme='light']) .jdemo .i-moon,[data-theme='light'] .jdemo .i-sun{display:none}

/* ---- over the site: its veil, and the strip above the window, never dimmed ---- */
.jdemo .jd-veil{position:absolute;inset:0;background:var(--sveil)}
.jdemo .jd-strip{position:absolute;z-index:22;left:40px;right:40px;top:0;height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--stext)}
.jdemo .jd-tag{display:flex;align-items:center;gap:8px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--sdim);white-space:nowrap}
.jdemo .jd-tag i{display:block;flex:none;width:7px;height:7px;border-radius:50%;background:#ff6a1a}
.jdemo .jd-seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--schip)}
.jdemo .jd-seg button{height:36px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--sdim);font-size:14px;font-weight:600;white-space:nowrap}
.jdemo .jd-seg button.on{background:var(--stext);color:var(--sground)}
.jdemo .jd-ends{display:flex;align-items:center;gap:10px}
.jdemo .jd-round{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:var(--schip);color:var(--stext)}
.jdemo .jd-exit{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:40px;padding:0 16px 0 18px;border:0;border-radius:999px;background:var(--schip);color:var(--stext);font-size:14px;font-weight:600;white-space:nowrap}
/* the site behind the demo blurred, so the demo stands out, most at the top (Miguel, 2026-10-19 17:51: "Yes, the blurred
   demo background looks good as previewed"; HQ product/demo-blur-2026-10-19.md): a lighter veil with a blur, a frosted
   band under the strip, the strip's buttons as glass. Where a browser cannot blur, all of it stays as it was: the veil's
   own tint (--sveil) and the strip's buttons. */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
.jdemo .jd-veil{background:rgba(6,6,6,.50);-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%)}
.jdemo .jd-veil::after{content:"";position:absolute;left:0;right:0;top:0;height:140px;background:linear-gradient(rgba(6,6,6,.55),rgba(6,6,6,0));pointer-events:none}
[data-theme='light'] .jdemo .jd-veil{background:rgba(251,251,249,.48)}
[data-theme='light'] .jdemo .jd-veil::after{background:linear-gradient(rgba(251,251,249,.62),rgba(251,251,249,0))}
.jdemo .jd-seg,.jdemo .jd-round,.jdemo .jd-exit{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
[data-theme='light'] .jdemo .jd-seg,[data-theme='light'] .jdemo .jd-round,[data-theme='light'] .jdemo .jd-exit{background:rgba(255,255,255,.55);box-shadow:inset 0 0 0 1px rgba(20,20,23,.08)}
}
/* reduced transparency asked for in the system's settings: today's solid veil and buttons, no blur or glass */
@media (prefers-reduced-transparency: reduce){
.jdemo .jd-veil,[data-theme='light'] .jdemo .jd-veil{background:var(--sveil);-webkit-backdrop-filter:none;backdrop-filter:none}
.jdemo .jd-veil::after{content:none}
.jdemo .jd-seg,.jdemo .jd-round,.jdemo .jd-exit,[data-theme='light'] .jdemo .jd-seg,[data-theme='light'] .jdemo .jd-round,[data-theme='light'] .jdemo .jd-exit{background:var(--schip);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* ---- the app's window: its bar and its one box ---- */
.jdemo .jd-win{position:absolute;z-index:1;left:40px;right:40px;top:72px;bottom:24px;overflow:hidden;border-radius:14px;background:var(--black);color:var(--ivory);box-shadow:var(--wshadow)}
.jdemo .jd-bar{position:absolute;left:0;right:0;top:0;height:40px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 0 14px}
.jdemo .jd-bar .l{display:flex;align-items:center;gap:6px;min-width:0}
.jdemo .jd-brand{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;letter-spacing:-.01em;color:var(--ivory);white-space:nowrap}
.jdemo .jd-brand .logo{display:block;flex:none;width:18px;height:18px}
.jdemo .jd-brand .dot{display:inline;width:auto;height:auto;border-radius:0;background:none;color:#ff6a1a}
.jdemo .jd-r{display:flex;align-items:center;gap:8px;color:var(--dim)}
.jdemo .jd-chip{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px;border:0;border-radius:999px;background:var(--pill);color:var(--gray);font-size:12px;white-space:nowrap}
.jdemo .jd-chip.on{background:var(--row);color:var(--ivory)}
.jdemo .jd-ver{margin:0 6px;font-size:11px;white-space:nowrap}
.jdemo .jd-wb{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:30px;padding:0;border:0;background:transparent;color:var(--dim)}
.jdemo .jd-pib{display:none;align-items:center;justify-content:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--gray)}
.jdemo .jd-usage{position:absolute;z-index:12;top:42px;right:150px;width:300px;display:flex;flex-direction:column;gap:14px;padding:16px 18px;border-radius:16px;background:var(--row);box-shadow:var(--fshadow)}
.jdemo .jd-usage .u b{display:flex;justify-content:space-between;gap:10px;font-size:13px;font-weight:600}
.jdemo .jd-usage .u b span{font-weight:400;color:var(--gray)}
.jdemo .jd-usage .u .m{height:5px;margin:7px 0 5px;overflow:hidden;border-radius:3px;background:var(--track)}
.jdemo .jd-usage .u .m i{display:block;height:100%;background:var(--ivory)}
.jdemo .jd-usage .u small{font-size:11.5px;color:var(--dim)}
.jdemo .jd-box{position:absolute;left:10px;right:10px;top:40px;bottom:10px;display:flex;gap:10px}
.jdemo .jd-main{flex:1;min-width:0;display:flex;gap:10px}
.jdemo .jd-side{width:224px;flex:none;overflow-y:auto;scrollbar-width:none;padding:10px 8px;border-radius:14px;background:var(--ink)}
.jdemo .jd-side::-webkit-scrollbar{display:none}
.jdemo .jd-navlist{display:flex;flex-direction:column;gap:1px}
.jdemo .jd-nav{display:flex;align-items:center;gap:11px;width:100%;height:33px;padding:0 10px 0 12px;border:0;border-radius:10px;background:transparent;color:var(--gray);font-size:14px;text-align:left;white-space:nowrap}
.jdemo .jd-nav svg{flex:none}
/* a page this demo has nothing behind: half strength, no pointer, as the small demo's (.lv-dim) */
.jdemo .jd-nav.quiet{opacity:.5;cursor:default}
.jdemo .jd-nav.on{background:var(--ivory);color:var(--on-ivory);font-weight:600;box-shadow:inset 3px 0 0 var(--orange)}
.jdemo .jd-nav .n{display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:auto;padding:0 6px;border-radius:999px;background:var(--orange);color:var(--on-orange);font-size:11px;font-weight:700}
.jdemo .jd-nav .c{margin-left:auto;font-size:11px;color:var(--dim)}
.jdemo .jd-nav.on .c{color:var(--ivory-soft)}
.jdemo .jd-lab{padding:12px 12px 4px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.jdemo .jd-ngap{flex:none;height:10px}
.jdemo .jd-biz{display:flex;align-items:center;gap:11px;height:30px;padding:0 12px;color:var(--gray);font-size:14px;white-space:nowrap}
/* the app's arrow on the sidebar's edge, its middle level with Today's (10 of room, half a row of 33, less half the
   arrow); folded, the sidebar is the app's rail of icons, 70 wide, laid out as when open so nothing moves up or down:
   a page's name is kept for a screen reader only, Today's count sits on its icon, a business keeps its dot */
.jdemo .jd-ntog{display:none}
@media (min-width: 900px){
  .jdemo .jd-ntog{position:absolute;z-index:2;left:213px;top:15.5px;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:var(--ink);color:var(--gray)}
  .jdemo .jd-ntog:hover{background:var(--row);color:var(--ivory)}
  .jdemo .jd-box.folded .jd-ntog{left:59px}
  .jdemo .jd-box.folded .jd-ntog svg{transform:scaleX(-1)}
  .jdemo .jd-box.folded .jd-side{width:70px}
  .jdemo .jd-box.folded .jd-nav{position:relative;justify-content:center;gap:0;padding:0}
  .jdemo .jd-box.folded .jd-nav > span:not(.n){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .jdemo .jd-box.folded .jd-nav .n{position:absolute;top:2px;left:30px;min-width:16px;height:16px;margin:0;padding:0 4px;font-size:9px}
  .jdemo .jd-box.folded .jd-lab{visibility:hidden}
  .jdemo .jd-box.folded .jd-biz{justify-content:center;gap:0;padding:0;font-size:0}
}
.jdemo .jd-page{position:relative;flex:1;min-width:0;padding:22px 30px;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;container-type:inline-size}
.jdemo .jd-page::-webkit-scrollbar{display:none}

/* ---- the pages' common parts ---- */
.jdemo .jd-ttl{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;min-height:48px}
.jdemo .jd-ttl h1{font-size:44px;font-weight:700;letter-spacing:-.03em;line-height:1.1}
.jdemo .jd-meta{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.jdemo .jd-soon{display:inline-flex;align-items:center;min-height:24px;padding:4px 10px;border-radius:999px;background:var(--pill);color:var(--gray);font-size:10.5px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase}
.jdemo .jd-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}
.jdemo .jd-tbtn{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border:0;border-radius:999px;background:var(--pill);color:var(--ivory);font-size:13px;font-weight:600;white-space:nowrap}
.jdemo .jd-gopill{display:inline-flex;align-items:center;gap:12px;height:40px;padding:0 6px 0 18px;border:0;border-radius:999px;background:var(--ivory);color:var(--on-ivory);font-size:14px;font-weight:600;white-space:nowrap}
.jdemo .jd-gopill .ci{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--orange);color:var(--on-orange)}
.jdemo .jd-gopill[disabled]{opacity:.45}
.jdemo .jd-pill{display:inline-flex;align-items:center;gap:12px;height:44px;padding:0 6px 0 20px;border:0;border-radius:999px;background:var(--on-ivory);color:var(--ivory);font-size:15px;font-weight:600;white-space:nowrap}
.jdemo .jd-pill .arr{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--orange);color:var(--on-orange)}
.jdemo .jd-pill.plain{padding:0 22px}
.jdemo .jd-pill[aria-disabled="true"],.jdemo .jd-pill[disabled]{opacity:.55;cursor:not-allowed}
.jdemo .jd-qpill{display:inline-flex;align-items:center;height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--ivory-wash);color:var(--on-ivory);font-size:15px;font-weight:600;white-space:nowrap}
.jdemo .jd-then{margin:24px 0 10px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.jdemo .jd-link{padding:0;border:0;background:none;color:var(--gray);font-size:13px;text-decoration:underline;white-space:nowrap}
.jdemo .jd-back{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px 0 8px;border:0;border-radius:999px;background:var(--pill);color:var(--gray);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.jdemo .jd-ai{display:flex;gap:12px;font-size:17px;line-height:1.6}
.jdemo .jd-ai > div{min-width:0}
.jdemo .jd-ai p{margin:0 0 8px}
.jdemo .jd-me{align-self:flex-end;max-width:80%;padding:13px 18px;border-radius:20px 20px 6px 20px;background:var(--mine);font-size:16px;line-height:1.45}
.jdemo .jd-send{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--orange);color:var(--on-orange)}
.jdemo .jd-ph{display:flex;flex-wrap:wrap;column-gap:6px;min-width:0}
.jdemo .jd-noai{opacity:.8}
.jdemo .jd-fchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.jdemo .jd-fchip{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px;border:0;border-radius:999px;background:var(--pill);color:var(--gray);font-size:13px;white-space:nowrap}
.jdemo .jd-fchip.on{background:var(--ivory);color:var(--on-ivory);font-weight:600}
.jdemo .jd-aseg{display:flex;gap:2px;padding:3px;border-radius:999px;background:var(--pill)}
.jdemo .jd-aseg button{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 13px;border:0;border-radius:999px;background:transparent;color:var(--gray);font-size:13px;font-weight:500;white-space:nowrap}
.jdemo .jd-aseg button.on{background:var(--row);color:var(--ivory);font-weight:600}

/* ---- Today ---- */
.jdemo .jd-hero{display:flex;gap:14px;min-height:238px;margin-top:20px}
.jdemo .jd-count{display:flex;flex-direction:column;justify-content:space-between;flex:none;width:250px;padding:18px 20px;border-radius:24px;background:var(--orange);color:var(--on-orange)}
.jdemo .jd-count .top{font-size:10.5px;letter-spacing:.12em}
.jdemo .jd-count .bot2{display:flex;align-items:flex-end;gap:16px}
.jdemo .jd-count .num{font-size:150px;font-weight:700;line-height:.78;letter-spacing:-.06em}
.jdemo .jd-count .what{padding-bottom:4px;font-size:15px;font-weight:600;line-height:1.25}
.jdemo .jd-ticks{display:flex;gap:4px;min-height:4px;margin-bottom:8px}
.jdemo .jd-ticks i{display:block;width:14px;height:4px;border-radius:2px;background:var(--on-orange)}
.jdemo .jd-act{display:flex;flex-direction:column;flex:1;min-width:0;padding:20px 24px 22px;border-radius:24px;background:var(--ivory);color:var(--on-ivory)}
.jdemo .jd-head{display:flex;justify-content:space-between;gap:10px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ivory-soft)}
.jdemo .jd-head span{display:flex;align-items:center;gap:8px}
.jdemo .jd-act h2{margin:auto 0 6px;font-size:34px;font-weight:700;letter-spacing:-.03em;line-height:1.1}
.jdemo .jd-act p,.jdemo .jd-rv p{margin:0 0 16px;font-size:15px;color:var(--ivory-soft)}
.jdemo .jd-row{display:flex;align-items:center;gap:14px;min-height:62px;margin-bottom:8px;padding:8px 12px 8px 18px;border-radius:14px;background:var(--row)}
.jdemo .jd-row > div{min-width:0}
.jdemo .jd-row b{display:block;font-size:15px;font-weight:600}
.jdemo .jd-row .s{font-size:13px;color:var(--gray)}
.jdemo .jd-row .jd-btn{flex:none;height:34px;margin-left:auto;padding:0 16px;border:0;border-radius:999px;background:var(--pill);color:var(--ivory);font-size:13px;font-weight:600}
.jdemo .jd-said{margin-top:14px;font-size:11px;letter-spacing:.06em;color:var(--orange-ink)}

/* ---- the Main chat, as the app's contrast block draws it ---- */
.jdemo .jd-page.jd-chatpage{display:flex;gap:28px;padding:0 0 0 18px}
.jdemo .jd-sside{display:flex;flex-direction:column;gap:4px;flex:none;width:248px;padding:18px 0 14px;overflow-y:auto;scrollbar-width:none}
.jdemo .jd-sside::-webkit-scrollbar{display:none}
.jdemo .jd-sshead{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 12px 15px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
/* its arrow, the app's: folded, the list is a strip of 52 with the arrow and New session's + (the head keeps its height) */
.jdemo .jd-sfb{display:grid;place-items:center;flex:none;width:28px;height:28px;margin:-6px 0;padding:0;border:0;border-radius:8px;background:none;color:var(--gray)}
.jdemo .jd-sfb:hover{background:var(--row);color:var(--ivory)}
.jdemo .jd-sside.folded{width:52px}
.jdemo .jd-sside.folded .jd-sshead{justify-content:center;padding:4px 0 12px}
.jdemo .jd-sside.folded .jd-sshead > span{display:none}
.jdemo .jd-sside.folded .jd-sfb svg{transform:rotate(180deg)}
.jdemo .jd-sside.folded .jd-snew{justify-content:center;padding:0}
.jdemo .jd-sside.folded .jd-snew span{display:none}
/* the list scrolls and its rows run its whole width, so a ring drawn outside one would be cut: drawn inside */
.jdemo .jd-sside button:focus-visible{outline-offset:-2px}
.jdemo .jd-snew{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 14px 0 15px;border:0;border-radius:14px;background:none;color:var(--gray);font-size:15px;font-weight:500;text-align:left}
.jdemo .jd-sfold{padding:14px 15px 6px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.jdemo .jd-srow{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 14px 0 15px;border:0;border-radius:14px;background:none;color:var(--gray);font-size:15px;text-align:left}
.jdemo .jd-srow.now{background:var(--row);color:var(--ivory);font-weight:600;box-shadow:inset 3px 0 0 var(--orange)}
.jdemo .jd-cchat{display:flex;flex-direction:column;flex:1;min-width:0;padding-bottom:18px}
.jdemo .jd-chead{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;min-height:76px;padding:12px 22px 0 0}
.jdemo .jd-chead h1{font-size:44px;font-weight:700;letter-spacing:-.035em;line-height:1.12}
.jdemo .jd-cstat{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--gray);white-space:nowrap}
.jdemo .jd-cstat i{display:block;width:7px;height:7px;border-radius:50%;background:var(--here)}
.jdemo .jd-cmodel{margin-left:auto;font-size:11px;color:var(--dim);white-space:nowrap}
.jdemo .jd-cmsgs{display:flex;flex-direction:column;gap:28px;flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding:20px max(20px,calc((100% - 760px) / 2))}
.jdemo .jd-cmsgs::-webkit-scrollbar{display:none}
.jdemo .jd-cmsgs > :first-child{margin-top:auto}
.jdemo .jd-saved{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.06em;color:var(--gray)}
.jdemo .jd-offer{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-left:38px;font-size:14px;color:var(--gray)}
.jdemo .jd-obtn{height:36px;padding:0 16px;border:0;border-radius:999px;background:var(--orange);color:var(--on-orange);font-size:13px;font-weight:700;white-space:nowrap}
.jdemo .jd-crow{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:10px;padding:0 max(22px,calc((100% - 760px) / 2 + 2px))}
.jdemo .jd-ans{min-height:36px;padding:7px 16px;border:0;border-radius:18px;background:var(--pill);color:var(--ivory);font-size:14px;font-weight:600;line-height:1.35;text-align:left}
.jdemo .jd-ccomp{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;margin:4px max(20px,calc((100% - 760px) / 2)) 0;padding:0 12px 0 26px;border-radius:24px;background:var(--ivory);color:var(--ivory-soft);font-size:16px}
.jdemo .jd-ccomp .jd-send{width:42px;height:42px}

/* ---- Agents ---- */
.jdemo .jd-pickbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;min-height:56px;margin-top:14px;padding:8px 8px 8px 20px;border-radius:18px;background:var(--ink);color:var(--gray);font-size:14.5px}
.jdemo .jd-pickbar > span{flex:1;min-width:0}
.jdemo .jd-pickbar .jd-link{padding-right:12px;font-size:13.5px;font-weight:600;text-decoration:none}
.jdemo .jd-agents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.jdemo .jd-ag{display:flex;flex-direction:column;min-width:0;min-height:200px;padding:18px 18px 16px;border-radius:20px;background:var(--row)}
.jdemo .jd-ag.ready{background:var(--ivory);color:var(--on-ivory)}
.jdemo .jd-ag.picked{box-shadow:inset 3px 0 0 var(--orange)}
.jdemo .jd-ag .k{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--gray)}
.jdemo .jd-ag.ready .k,.jdemo .jd-ag.ready .s,.jdemo .jd-ag.ready .f{color:var(--ivory-soft)}
.jdemo .jd-ag .k span{display:flex;align-items:center;gap:8px;min-width:0}
.jdemo .jd-ag b{display:block;margin-top:auto;padding-top:14px;font-size:19px;font-weight:700;letter-spacing:-.01em}
.jdemo .jd-ag .s{margin-top:2px;font-size:13px;color:var(--gray)}
.jdemo .jd-prog{height:4px;margin-top:14px;overflow:hidden;border-radius:2px;background:var(--track)}
.jdemo .jd-prog i{display:block;height:100%;background:var(--ivory)}
.jdemo .jd-ag .f{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;min-height:34px;margin-top:12px;font-size:11px;color:var(--dim)}
.jdemo .jd-spill{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 5px 0 14px;border:0;border-radius:999px;background:var(--on-ivory);color:var(--ivory);font-size:13px;font-weight:600}
.jdemo .jd-spill .arr{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--orange);color:var(--on-orange)}
.jdemo .jd-olink{padding:0;border:0;background:none;color:var(--gray);font-size:11px;font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace;text-decoration:underline}
.jdemo .jd-pbtn{height:30px;padding:0 12px;border:0;border-radius:999px;background:var(--pill);color:var(--ivory);font-size:12px;font-weight:600}
.jdemo .jd-ag.ready .jd-pbtn{background:var(--ivory-wash);color:var(--on-ivory)}
.jdemo .jd-sheetveil{position:absolute;left:0;right:0;top:40px;bottom:0;z-index:8;background:var(--veil)}
.jdemo .jd-sheet{position:absolute;z-index:9;left:50%;top:50%;transform:translate(-50%,-46%);display:flex;flex-direction:column;gap:14px;width:min(540px,calc(100% - 32px));max-height:calc(100% - 60px);overflow-y:auto;padding:28px 30px 26px;border-radius:28px;background:var(--ivory);color:var(--on-ivory)}
.jdemo .jd-sheet h3{font-size:28px;font-weight:700;letter-spacing:-.02em}
.jdemo .jd-sheet p{font-size:15px;line-height:1.5;color:var(--ivory-soft)}
.jdemo .jd-sheet .lab2{margin-top:4px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ivory-soft)}
.jdemo .jd-sheet .opts{display:flex;flex-wrap:wrap;gap:8px}
.jdemo .jd-sopt{min-height:38px;padding:6px 16px;border:0;border-radius:19px;background:var(--ivory-wash);color:var(--on-ivory);font-size:14px;font-weight:600;text-align:left}
.jdemo .jd-sopt.on{background:var(--on-ivory);color:var(--ivory)}
.jdemo .jd-sheet .go{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}

/* ---- the grid, as the live app draws it (no line, round 24, the one typed into a step lighter, its orange edge) ---- */
.jdemo .jd-grid{position:absolute;z-index:3;left:0;right:0;top:40px;bottom:0;display:flex;flex-direction:column;background:var(--black)}
.jdemo .jd-sidepage{display:flex;flex-direction:column;flex:1;min-width:0}
.jdemo .jd-sbar{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;flex:none;min-height:68px;padding:4px 14px 8px}
.jdemo .jd-sidepage .jd-sbar{padding:4px 12px 8px}
.jdemo .jd-sbar strong{margin-left:8px;font-size:30px;font-weight:700;letter-spacing:-.03em;line-height:1}
.jdemo .jd-gcount{font-size:12px;color:var(--gray);white-space:nowrap}
.jdemo .jd-sback{display:flex;align-items:center;gap:6px;height:34px;padding:0 14px 0 8px;border:0;border-radius:999px;background:transparent;color:var(--gray);font-size:13.5px;font-weight:500}
.jdemo .jd-gtext{height:40px;margin-left:auto;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--ivory);font-size:13.5px;font-weight:600;white-space:nowrap}
.jdemo .jd-bringw{position:relative}
.jdemo .jd-gbring{display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--row);color:var(--ivory);font-size:13.5px;font-weight:600;white-space:nowrap}
.jdemo .jd-bring{position:absolute;z-index:6;right:0;top:46px;display:flex;flex-direction:column;width:260px;padding:6px;border-radius:14px;background:var(--row);box-shadow:var(--fshadow)}
.jdemo .jd-bring button{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--ivory);font-size:13.5px;text-align:left}
.jdemo .jd-bring p{padding:10px;font-size:13px;color:var(--gray)}
.jdemo .jd-tiles{display:grid;flex:1;min-height:0;gap:10px;padding:0 12px 12px;overflow-y:auto;scrollbar-width:none}
.jdemo .jd-tiles::-webkit-scrollbar{display:none}
.jdemo .jd-tiles.c1{grid-template-columns:minmax(0,1fr)}
.jdemo .jd-tiles.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.jdemo .jd-tiles.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.jdemo .jd-tiles.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
/* a row is never shorter than its tiles' head and box (the messages give way first, as their height is 0 before they
   grow), so on a short window the tiles scroll rather than cut a box (review-2 S1) */
.jdemo .jd-tiles.r1{grid-template-rows:minmax(min-content,1fr)}
.jdemo .jd-tiles.r2{grid-template-rows:repeat(2,minmax(min-content,1fr))}
.jdemo .jd-tiles.r3{grid-template-rows:repeat(3,minmax(min-content,1fr))}
.jdemo .jd-tile{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-left:3px solid transparent;border-radius:24px;background:var(--ink)}
.jdemo .jd-tile.looking{border-left-color:var(--orange);background:var(--row)}
.jdemo .jd-shead{display:flex;align-items:center;gap:10px;padding:12px 12px 4px 19px}
.jdemo .jd-shead .nm{display:flex;flex-direction:column;flex:1;min-width:0}
.jdemo .jd-shead strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.jdemo .jd-shead .bz{font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.jdemo .jd-icb{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--dim)}
.jdemo .jd-smsgs{display:flex;flex-direction:column;gap:18px;flex:1 1 0px;height:0;min-height:0;overflow:hidden;padding:14px 12px 12px 19px}
.jdemo .jd-smsgs .jd-ai{font-size:15px}
.jdemo .jd-smsgs .jd-me{padding:10px 16px;font-size:15px;line-height:1.3}
.jdemo .jd-scomp{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;min-height:50px;margin:0 12px 12px;padding:6px 8px 6px 18px;border:0;border-radius:18px;background:var(--pill);color:var(--dim);font-size:14.5px;text-align:left}
.jdemo .jd-scomp .jd-send{width:34px;height:34px;background:none;color:var(--dim)}
.jdemo .jd-tile.looking .jd-scomp{background:var(--ivory);color:var(--ivory-soft)}
.jdemo .jd-tile.looking .jd-scomp .jd-send{background:var(--orange);color:var(--on-orange)}
.jdemo .jd-tile.looking .jd-scomp:focus-visible{outline-color:var(--orange-ink)}
.jdemo .jd-slot{display:grid;place-items:center;padding:0;border:0;border-radius:24px;background:var(--ink);color:var(--dim);opacity:.55}
/* the tiles scroll, so a ring drawn outside a square in the top row would be cut: the square's ring is drawn inside it,
   and the square shows at full strength while it has the keyboard, so its ring does too */
.jdemo .jd-slot:focus-visible{outline-offset:-4px;opacity:1}
.jdemo .jd-gmost{flex:none;margin:0;padding:0 16px 12px;font-size:12px;line-height:1.45;color:var(--gray);text-align:center}

/* ---- an approval: the card and its draft side by side ---- */
.jdemo .jd-apwrap{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px;min-height:100%}
.jdemo .jd-rvwrap{flex:1 1 300px;min-width:0;max-width:520px}
.jdemo .jd-rv{margin-top:18px;padding:22px 24px;border-radius:24px;background:var(--ivory);color:var(--on-ivory)}
.jdemo .jd-rv h2{margin:40px 0 6px;font-size:34px;font-weight:700;letter-spacing:-.03em;line-height:1.1}
.jdemo .jd-rv .go{display:flex;flex-wrap:wrap;gap:10px}
.jdemo .jd-hold{margin-top:12px;font-size:11px;letter-spacing:.06em;color:var(--gray)}
.jdemo .jd-pv{position:relative;flex:1 1 280px;align-self:stretch;min-width:0;min-height:520px;padding:24px 26px 56px;border-radius:20px;background:var(--row)}
.jdemo .jd-pv .k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.jdemo .jd-pv h4{margin:22px 0 16px;font-size:24px;font-weight:700;letter-spacing:-.02em}
.jdemo .jd-pv .it{padding:14px 0}
.jdemo .jd-pv .it b{display:block;font-size:16px}
.jdemo .jd-pv .it span{font-size:14px;color:var(--gray)}
.jdemo .jd-pv .made{position:absolute;left:26px;right:26px;bottom:22px;font-size:11px;letter-spacing:.06em;color:var(--dim)}

/* ---- Goals, as decided 2026-10-18 14:30 (coming soon) ---- */
.jdemo .jd-ghead{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:14px}
.jdemo .jd-ghead p{margin-top:6px;font-size:14px;color:var(--gray)}
.jdemo .jd-gside{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.jdemo .jd-waits{display:flex;align-items:baseline;gap:8px}
.jdemo .jd-waits .n2{font-size:36px;font-weight:700;line-height:1;color:var(--orange-ink)}
.jdemo .jd-waits .w{max-width:6.5rem;font-size:12.5px;line-height:1.2;color:var(--gray)}
.jdemo .jd-cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px;margin-top:26px}
.jdemo .jd-cat{display:flex;flex-direction:column;gap:10px;min-width:0}
.jdemo .jd-cat-h{display:flex;align-items:baseline;gap:8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.jdemo .jd-cat-h .c{color:var(--dim)}
.jdemo .jd-gcard{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;border:0;border-radius:14px;background:var(--row);color:var(--ivory);text-align:left}
.jdemo .jd-gcard .nm{display:block;font-size:14.5px;font-weight:600;line-height:1.25}
.jdemo .jd-gcard .st{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--gray)}
.jdemo .jd-need{font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace;font-size:10px;letter-spacing:.04em;color:var(--orange-ink)}
.jdemo .jd-live{color:var(--here)}
.jdemo .ring-bg{fill:none;stroke:var(--track)}
.jdemo .ring-fg{fill:none;stroke:var(--ivory);stroke-linecap:round}
.jdemo .ring-go{fill:none;stroke:var(--here);stroke-linecap:round}
.jdemo .jd-gtop{margin-top:18px}
.jdemo .jd-rootpill{display:inline-block;padding:8px 16px;border-radius:999px;background:var(--ivory);color:var(--on-ivory);font-size:16px;font-weight:700}
.jdemo .jd-gsum{margin-top:8px;font-size:13px;color:var(--gray)}
.jdemo .jd-gnext{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px;padding:16px 18px;border-radius:16px;background:var(--ivory);color:var(--on-ivory)}
.jdemo .jd-gnext .l{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ivory-soft)}
.jdemo .jd-gnext p{margin-top:6px;font-size:15px;font-weight:500}
.jdemo .jd-trunk{position:relative;display:flex;flex-direction:column;gap:4px;margin-top:18px;padding:0 0 0 26px;list-style:none}
.jdemo .jd-trunk::before{content:"";position:absolute;left:9px;top:6px;bottom:6px;width:2px;border-radius:2px;background:var(--track)}
.jdemo .jd-trunk li{position:relative}
.jdemo .jd-msd{position:absolute;left:-23px;top:13px;width:14px;height:14px;border-radius:50%;background:var(--black);box-shadow:inset 0 0 0 2px var(--track)}
.jdemo .jd-msd.done{background:var(--ivory);box-shadow:none}
.jdemo .jd-msd.now{background:radial-gradient(circle,var(--here) 0 3px,var(--black) 3.5px);box-shadow:inset 0 0 0 2px var(--here),0 0 0 5px var(--here-glow)}
.jdemo .jd-msrow{display:grid;grid-template-columns:3.4rem minmax(0,1fr) 7rem 4.4rem;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:12px;background:transparent;color:var(--ivory);text-align:left}
.jdemo .jd-msrow.open{background:var(--row)}
.jdemo .jd-msrow .mtag{font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace;font-size:11px;color:var(--gray)}
.jdemo .jd-msrow.isnow .mtag{color:var(--here)}
.jdemo .jd-msrow .mtitle{font-size:14.5px;font-weight:600}
.jdemo .jd-msrow.todo .mtitle{color:var(--gray);font-weight:500}
.jdemo .jd-msrow .mbar{display:flex;height:5px;overflow:hidden;border-radius:999px;background:var(--track)}
.jdemo .jd-msrow .mbar i{display:block;height:100%}
.jdemo .jd-msrow .mbar .d{background:var(--ivory)}
.jdemo .jd-msrow .mbar .n{background:var(--here)}
.jdemo .jd-msrow .mcount{font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace;font-size:11px;color:var(--gray);text-align:right}
.jdemo .jd-mopen{position:relative;display:flex;flex-direction:column;gap:10px;margin:2px 0 8px 10px;padding:8px 0 4px 18px}
.jdemo .jd-mopen::before{content:"";position:absolute;left:0;top:0;bottom:6px;width:2px;border-radius:2px;background:var(--track)}
.jdemo .band-h{display:flex;align-items:baseline;gap:8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.jdemo .band-h .c{color:var(--dim)}
.jdemo .bnow .band-h span:first-child{color:var(--here)}
.jdemo .byou .band-h span:first-child{color:var(--orange-ink)}
.jdemo .leaves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:6px 0 0;padding:0;list-style:none}
.jdemo .leaves li{display:flex;gap:9px;font-size:13px;color:var(--gray)}
.jdemo .leaves li::before{content:"";flex:none;width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--track)}
.jdemo .leaves li.lnow{color:var(--ivory)}
.jdemo .leaves li.lnow::before{background:var(--here);box-shadow:0 0 0 3px var(--here-glow)}
.jdemo .leaves li.lyou::before{background:transparent;box-shadow:inset 0 0 0 1.5px var(--orange)}
.jdemo .jd-foldb{align-self:flex-start;padding:5px 12px;border:0;border-radius:999px;background:var(--pill);color:var(--gray);font-size:12px}

/* ---- Finance (coming soon), with sample books ---- */
.jdemo .jd-fk{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.jdemo .jd-ft{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-width:0;min-height:108px;padding:14px 18px;border-radius:20px;background:var(--row)}
.jdemo .jd-ft.left{background:var(--ivory);color:var(--on-ivory)}
.jdemo .jd-ft .k{display:flex;align-items:center;gap:8px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--gray)}
.jdemo .jd-ft .k i{display:block;width:7px;height:7px;border-radius:50%;background:var(--orange)}
.jdemo .jd-ft.left .k,.jdemo .jd-ft.left small{color:var(--ivory-soft)}
.jdemo .jd-ft .v{font-size:32px;font-weight:700;letter-spacing:-.035em;line-height:1}
.jdemo .jd-ft small{font-size:12px;color:var(--gray)}
.jdemo .jd-fmid,.jdemo .jd-fbot{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;margin-top:12px}
.jdemo .jd-fmid{height:222px}
.jdemo .jd-fc{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:14px 18px;border-radius:20px;background:var(--row)}
.jdemo .jd-fmid .jd-fc{overflow:hidden}
.jdemo .jd-fc .k{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--gray)}
.jdemo .jd-bars{display:flex;align-items:flex-end;flex:1;gap:22px;padding:8px 6px 0}
.jdemo .jd-bars .m{display:flex;flex-direction:column;align-items:center;flex:1;gap:8px}
.jdemo .jd-bars .pair{display:flex;align-items:flex-end;gap:5px;height:146px}
.jdemo .jd-bars .pair i{display:block;width:16px;border-radius:6px 6px 3px 3px}
.jdemo .jd-bars .in{background:var(--orange)}
.jdemo .jd-bars .out{background:var(--ivory)}
.jdemo .jd-bars small{font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace;font-size:10.5px;color:var(--dim)}
.jdemo .jd-fnh{display:flex;align-items:baseline;gap:8px}
.jdemo .jd-fnh .n3{font-size:32px;font-weight:700;line-height:1;color:var(--orange-ink)}
.jdemo .jd-fnh .w3{font-size:12.5px;color:var(--gray)}
.jdemo .jd-nrow{display:flex;align-items:center;gap:10px;padding:9px 10px 9px 12px;border-radius:12px;background:var(--black)}
.jdemo .jd-nrow > div{min-width:0}
.jdemo .jd-nrow b{display:block;font-size:13.5px;font-weight:600}
.jdemo .jd-nrow .s{font-size:12px;color:var(--gray)}
.jdemo .jd-nrow button{flex:none;height:30px;margin-left:auto;padding:0 12px;border:0;border-radius:999px;background:var(--ivory);color:var(--on-ivory);font-size:12px;font-weight:600;white-space:nowrap}
.jdemo .jd-fsaid{margin-top:auto;font-size:11px;letter-spacing:.04em;color:var(--orange-ink)}
.jdemo .jd-trow{display:grid;grid-template-columns:62px minmax(0,1fr) 128px 70px 84px;align-items:center;gap:10px;min-height:33px;font-size:13px}
.jdemo .jd-trow.h{min-height:20px;font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.jdemo .jd-trow .d{font-family:'Martian Mono',ui-monospace,Menlo,Consolas,monospace;font-size:11px;color:var(--dim)}
.jdemo .jd-trow.h .d{font-size:10px}
.jdemo .jd-trow .nm{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.jdemo .jd-trow .cat{justify-self:start;display:inline-flex;align-items:center;max-width:100%;height:22px;padding:0 9px;overflow:hidden;border-radius:999px;background:var(--pill);color:var(--gray);font-size:11.5px;white-space:nowrap}
.jdemo .jd-trow.h .cat{height:auto;padding:0;background:none;color:inherit;font-size:10px}
.jdemo .jd-trow .src{font-size:12px;color:var(--gray)}
.jdemo .jd-trow.h .src{font-size:10px;color:inherit}
.jdemo .jd-trow .amt{font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.jdemo .jd-trow .amt.in{color:var(--orange-ink)}
.jdemo .jd-where{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.jdemo .jd-where > div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;font-size:14px}
.jdemo .jd-where strong{font-weight:500}
.jdemo .jd-where span{color:var(--gray)}
.jdemo .jd-where i{display:block;grid-column:1 / -1;height:5px;overflow:hidden;border-radius:3px;background:var(--track)}
.jdemo .jd-where i b{display:block;height:100%;background:var(--ivory)}

/* ---- the plain page, the corner button and the chat beside the page ---- */
.jdemo .jd-crown{position:absolute;z-index:4;right:22px;bottom:22px;display:flex;align-items:center;justify-content:center;width:58px;height:58px;padding:0;border:0;border-radius:50%;background:var(--ink);box-shadow:0 14px 44px rgba(0,0,0,.4)}
.jdemo .jd-panel{display:flex;flex-direction:column;gap:14px;flex:none;width:360px;min-height:0;padding:12px 14px 14px;border-radius:14px;background:var(--ink)}
.jdemo .jd-panel .phd{display:flex;align-items:center;justify-content:space-between}
.jdemo .jd-pseg{display:flex;gap:2px;padding:3px;border-radius:999px;background:var(--pill)}
.jdemo .jd-pseg span{display:flex;align-items:center;height:28px;padding:0 13px;border-radius:999px;font-size:13px;color:var(--gray)}
.jdemo .jd-pseg span.on{background:var(--ivory);color:var(--on-ivory);font-weight:600}
.jdemo .jd-pbody{display:flex;flex-direction:column;justify-content:flex-end;gap:12px;flex:1;min-height:0;overflow:hidden}
.jdemo .jd-pbody .jd-ai{font-size:14px}
.jdemo .jd-pbox{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;flex:none;min-height:80px;padding:12px 10px 10px 16px;border-radius:16px;background:var(--ivory);color:var(--ivory-soft);font-size:14px}
.jdemo .jd-pbox .jd-ph{align-self:flex-start}

/* ---- the tour: the app's ring, everything else under its veil, and the app's card ---- */
.jdemo .jd-ring{position:absolute;z-index:20;top:0;left:0;width:0;height:0;border:2px solid #ff6a1a;border-radius:14px;box-shadow:0 0 0 3000px var(--veil);pointer-events:none;opacity:0;transition:top .25s ease,left .25s ease,width .25s ease,height .25s ease,opacity .2s ease}
.jdemo.touring .jd-ring{opacity:1}
/* the tour's first frame: the ring and card put on stop 1 at once (they glide only between stops) */
.jdemo.jd-snap .jd-ring,.jdemo.jd-snap .jd-tcard{transition:none}
/* the one status line a screen reader hears, kept outside the window so a redraw never replaces it */
.jdemo .jd-sr{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.jdemo .jd-tcard{position:absolute;z-index:21;top:0;left:0;width:320px;display:flex;flex-direction:column;gap:8px;padding:16px 18px;border:1px solid var(--line2);border-radius:16px;background:var(--ink);color:var(--ivory);transition:top .25s ease,left .25s ease}
.jdemo .jd-tcard .jd-cnt{font-size:11px;color:var(--gray)}
.jdemo .jd-tcard strong{font-size:16px}
.jdemo .jd-tcard p{font-size:14px;line-height:1.5;color:var(--gray)}
.jdemo .jd-tcard .acts{display:flex;align-items:center;gap:16px;margin-top:4px}

/* ---- the progress, meter and bar sizes, as classes (the content policy refuses an inline style) ---- */
.jdemo .w8{width:8%}
.jdemo .w9{width:9%}
.jdemo .w18{width:18%}
.jdemo .w20{width:20%}
.jdemo .w28{width:28%}
.jdemo .w30{width:30%}
.jdemo .w31{width:31%}
.jdemo .w40{width:40%}
.jdemo .w58{width:58%}
.jdemo .w70{width:70%}
.jdemo .w92{width:92%}
.jdemo .w100{width:100%}
.jdemo .h56{height:56px}
.jdemo .h67{height:67px}
.jdemo .h70{height:70px}
.jdemo .h72{height:72px}
.jdemo .h74{height:74px}
.jdemo .h77{height:77px}
.jdemo .h96{height:96px}
.jdemo .h102{height:102px}
.jdemo .h112{height:112px}
.jdemo .h120{height:120px}
.jdemo .h128{height:128px}
.jdemo .h142{height:142px}

/* ---- a page narrower than drawn (beside the corner chat, a small window, the phone): fewer columns, then stacked ---- */
@container (max-width: 860px){
  .jdemo .jd-fk{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jdemo .jd-fmid,.jdemo .jd-fbot{grid-template-columns:minmax(0,1fr);height:auto}
  .jdemo .jd-fmid .jd-fc{height:222px}
  .jdemo .jd-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jdemo .jd-agents{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jdemo .jd-hero{min-height:238px}
  .jdemo .jd-count{width:200px}
}
@container (max-width: 700px){
  .jdemo .jd-sside{width:190px}
  .jdemo .jd-page.jd-chatpage{gap:16px}
}
@container (max-width: 560px){
  .jdemo .jd-hero{flex-direction:column;min-height:0}
  .jdemo .jd-count{flex-direction:row;align-items:flex-end;justify-content:space-between;width:auto;height:104px;padding:14px 16px;border-radius:22px}
  .jdemo .jd-count .top{display:none}
  .jdemo .jd-count .bot2{justify-content:space-between;width:100%}
  .jdemo .jd-count .num{font-size:84px}
  .jdemo .jd-count .what{text-align:right}
  .jdemo .jd-count .jd-ticks{justify-content:flex-end}
  .jdemo .jd-act{padding:16px 18px;border-radius:22px}
  .jdemo .jd-act h2,.jdemo .jd-rv h2{font-size:26px}
  .jdemo .jd-agents{grid-template-columns:minmax(0,1fr)}
  .jdemo .jd-ag{min-height:150px}
  .jdemo .jd-trow{grid-template-columns:50px minmax(0,1fr) auto;row-gap:2px}
  .jdemo .jd-trow .amt{grid-column:3;grid-row:1}
  .jdemo .jd-trow .cat{grid-column:2;grid-row:2}
  .jdemo .jd-trow .src{grid-column:3;grid-row:2;text-align:right}
  .jdemo .jd-bars{gap:8px}
  .jdemo .jd-bars .pair i{width:12px}
  .jdemo .jd-msrow{grid-template-columns:3.4rem minmax(0,1fr) 3.4rem}
  .jdemo .jd-msrow .mbar{grid-column:2 / -1;grid-row:2}
  .jdemo .jd-pv{min-height:0}
  .jdemo .jd-sside{display:none}
  .jdemo .jd-page.jd-chatpage{padding:0}
  .jdemo .jd-chead h1{font-size:34px}
}
@container (max-width: 480px){
  .jdemo .jd-cats{grid-template-columns:minmax(0,1fr)}
  .jdemo .leaves{grid-template-columns:minmax(0,1fr)}
  .jdemo .jd-ttl h1{font-size:34px}
}
@container (max-width: 400px){
  .jdemo .jd-ft{padding:12px 14px}
  .jdemo .jd-ft .v{font-size:24px}
}

/* ---- a small window on the desktop page: the corner chat goes under the page, not beside it ---- */
@media (min-width: 900px) and (max-width: 1279.98px){
  .jdemo .jd-box.with-panel .jd-main{flex-direction:column}
  .jdemo .jd-box.with-panel .jd-panel{width:auto;height:44%}
}

/* ---- the phone width (A): the strip compact, the app full width under it, its sidebar behind a menu button ---- */
@media (max-width: 899.98px){
  .jdemo .jd-strip{left:12px;right:12px;top:10px;height:44px;gap:8px}
  .jdemo .w-full{display:none}
  .jdemo .w-short{display:inline}
  .jdemo .jd-tag{gap:7px;font-size:10px}
  .jdemo .jd-seg{gap:2px;padding:3px}
  .jdemo .jd-seg button{height:30px;padding:0 12px;font-size:12.5px}
  .jdemo .jd-strip .jd-round{display:none}
  .jdemo .jd-exit{width:36px;height:36px;padding:0;border-radius:11px}
  .jdemo .jd-win{left:0;right:0;top:62px;bottom:0;border-radius:20px 20px 0 0}
  .jdemo .jd-bar{height:48px;padding:0 10px 0 6px}
  .jdemo .jd-pib{display:flex}
  .jdemo .jd-ver,.jdemo .jd-wb{display:none}
  .jdemo .jd-chip{width:40px;height:40px;padding:0;justify-content:center;border-radius:12px;background:transparent}
  .jdemo .jd-chip.on{background:var(--row)}
  .jdemo .jd-usage{top:50px;right:8px;width:min(320px,calc(100% - 16px))}
  .jdemo .jd-box{left:0;right:0;top:48px;bottom:0;gap:0}
  .jdemo .jd-side{display:none;position:absolute;z-index:7;left:8px;top:0;width:260px;max-height:calc(100% - 8px);box-shadow:var(--fshadow)}
  .jdemo .jd-box.menu .jd-side{display:block}
  .jdemo .jd-main{flex-direction:column;gap:0}
  .jdemo .jd-page{padding:6px 16px 16px}
  .jdemo .jd-page.jd-chatpage{padding:0}
  .jdemo .jd-panel{width:auto;height:50%;border-radius:14px 14px 0 0}
  .jdemo .jd-crown{right:16px;bottom:18px;width:54px;height:54px}
  .jdemo .jd-grid,.jdemo .jd-sheetveil{top:48px}
  .jdemo .jd-sbar{flex-wrap:nowrap;gap:8px;min-height:52px;padding:4px 12px 10px}
  .jdemo .jd-sbar strong{margin-left:0;font-size:24px}
  .jdemo .jd-sback{width:32px;padding:0;justify-content:center}
  .jdemo .jd-aseg,.jdemo .jd-gtext,.jdemo .jd-bringw{display:none}
  .jdemo .jd-sbar .jd-gopill{height:36px;margin-left:auto;padding:0 5px 0 13px;font-size:13px}
  .jdemo .jd-sbar .jd-gopill .ci{width:26px;height:26px}
  .jdemo .jd-tiles[class]{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:minmax(220px,auto);overflow-y:auto;padding:0 10px 10px}
  .jdemo .jd-slot{display:none}
  .jdemo .jd-gmost{padding:8px 14px 10px;font-size:11px}
  .jdemo .jd-tile{min-height:220px}
  .jdemo .jd-smsgs{flex:1;height:auto}
  .jdemo .jd-tcard{transition:none}
}

/* ---- reduced motion: no glide (the ring and card move at once), no other motion ---- */
@media (prefers-reduced-motion: reduce){.jdemo *,.jdemo *::before,.jdemo *::after{transition:none!important;animation:none!important}}
