/* ===== T194 Dialogue Lab «پسته» (Owner 2026-11-05, «آزمایشگاه تایید است بساز»; Figma mxCbD9iTE8SAE4HC2dPzrQ page 147:2, boards 160:2–164:2;
   claude-fixes/96-dialogue-lab-figma, build plan claude-fixes/97-t194-lab-build/PLAN.md D1–D11).
   A visual and usability redesign of every Dialogue Lab screen, sheet and state: pistachio #2E5E1A / #9BCB5F, forest #1E3B22, milk #F5F7EF,
   blush #F6E9E4 for the AI partner, rose #9A3B4E for «با کمک», red only for delete and exit; dark «پسته شب» from the same roles.
   final-dialogue.css (T108) paints from the --n-* tokens, so the tokens are re-defined only on the three Lab containers: the content
   (.f-dialogue-live, not .f-dialogue, which holds the ≡ world head), the dialogs appended to <body> (.f-lab-layer) and the «فعلاً نه»
   panel (#not-now-practice-context); the page ground is repainted only while app.js sets html[data-nx-world="lab"]. The world head,
   the ≡ menu, the dock, the floating N, the N assistant, the learning and Explore worlds and the notifications are never selected.
   No has() selector, no inline style, no data: or external URL (the hero pattern is the local /app/dialogue-lab-hero.svg); logical properties
   only; text at WCAG AA in paper and dark; every target at least 44px; motion only without Reduced Motion. ===== */

/* ---------- tokens: paper ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live,
html[data-theme] body>.f-lab-layer.f-lab-layer,
html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context{
  --lp-bg:#F5F7EF;--lp-surface:#FFFFFF;--lp-well:#EDF2E4;--lp-line:#DCE4CF;--lp-ink:#17241A;--lp-ink2:#3C4A3F;--lp-muted:#56635A;
  --lp-pr:#2E5E1A;--lp-on-pr:#FFFFFF;--lp-on-pr-muted:#DDEBCF;--lp-prd:#24501A;--lp-tpr:#2E5E1A;--lp-pist:#9BCB5F;--lp-pists:#E4F1D2;
  --lp-glow:#C9E6A8;--lp-forest:#1E3B22;--lp-hero-sub:#D7E7C9;--lp-blush:#F6E9E4;--lp-blush-ring:#E8D4D4;--lp-rose:#9A3B4E;--lp-roses:#FBE8EC;--lp-on-rose:#FFFFFF;
  --lp-danger:#B42318;--lp-dangers:#FDECEA;--lp-danger-line:#F6CFCA;--lp-dis-bg:#E3E8DA;--lp-dis-fg:#7A857C;--lp-track:#7F8C80;--lp-edge:#7F8C80;--lp-track-lock:#DCE3D2;
  --lp-ph:#5C685E;--lp-soon:#FAFBF7;--lp-receipt:#F7FBF0;--lp-skel:#F7FAF2;--lp-ring:rgba(46,94,26,.18);--lp-scrim:rgba(23,36,26,.48);
  --lp-shadow:0 8px 18px -10px rgba(46,94,26,.7);--lp-lift:0 18px 30px -18px rgba(23,36,26,.8);
  --n-paper:#F5F7EF;--n-wash:#EDF2E4;--n-surface:#FFFFFF;--n-surface2:#EDF2E4;--n-ink:#17241A;--n-ink2:#3C4A3F;--n-muted:#56635A;--n-line:#DCE4CF;
  --n-gold:#2E5E1A;--n-gold-l:#E4F1D2;--n-gold-d:#24501A;--n-on-gold:#FFFFFF;--n-primary:#2E5E1A;--n-on-primary:#FFFFFF;--n-focus:#2E5E1A;
  --n-ok:#24501A;--n-ok-l:#E4F1D2;--n-danger:#B42318;--n-danger-l:#FDECEA;--n-danger-line:#F6CFCA;
  --n-hero:#1E3B22;--n-hero-line:transparent;--n-hero-text:#FFFFFF;--n-hero-muted:#D7E7C9;--n-hero-accent:#C9E6A8;
  --n-scrim:rgba(23,36,26,.48);--n-shadow-card:0 10px 22px -18px rgba(23,36,26,.35);--n-shadow-raised:0 1px 2px rgba(23,36,26,.06),0 10px 26px -12px rgba(23,36,26,.22);
}
/* ---------- tokens: dark «پسته شب» ---------- */
html[data-theme="dark"] :is(#app,.f-layer) .f-dialogue .f-dialogue-live,
html[data-theme="dark"] body>.f-lab-layer.f-lab-layer,
html[data-theme="dark"] :is(#app,.f-layer) .f-dialogue #not-now-practice-context{
  --lp-bg:#0F1711;--lp-surface:#17221A;--lp-well:#1E2B22;--lp-line:#2D3C31;--lp-ink:#EEF3E8;--lp-ink2:#D3DCCF;--lp-muted:#A7B5AA;
  --lp-pr:#3D7A27;--lp-on-pr:#FFFFFF;--lp-on-pr-muted:#F0F6EA;--lp-prd:#B5DC8A;--lp-tpr:#B5DC8A;--lp-pist:#5C8C3C;--lp-pists:#22351C;
  --lp-glow:#C9E6A8;--lp-forest:#1E3B22;--lp-hero-sub:#D7E7C9;--lp-blush:#34282A;--lp-blush-ring:#4A3A3D;--lp-rose:#F2A7B6;--lp-roses:#3A2228;--lp-on-rose:#3A2228;
  --lp-danger:#FF9E98;--lp-dangers:#3A1615;--lp-danger-line:#6B2C29;--lp-dis-bg:#243027;--lp-dis-fg:#87948A;--lp-track:#64786A;--lp-edge:#64786A;--lp-track-lock:#2A382E;
  --lp-ph:#A7B5AA;--lp-soon:#141E17;--lp-receipt:#1A281D;--lp-skel:#26352B;--lp-ring:rgba(181,220,138,.22);--lp-scrim:rgba(4,8,5,.66);
  --lp-shadow:0 8px 18px -10px rgba(0,0,0,.7);--lp-lift:0 18px 30px -18px rgba(0,0,0,.9);
  --n-paper:#0F1711;--n-wash:#1E2B22;--n-surface:#17221A;--n-surface2:#1E2B22;--n-ink:#EEF3E8;--n-ink2:#D3DCCF;--n-muted:#A7B5AA;--n-line:#2D3C31;
  --n-gold:#3D7A27;--n-gold-l:#22351C;--n-gold-d:#B5DC8A;--n-on-gold:#FFFFFF;--n-primary:#3D7A27;--n-on-primary:#FFFFFF;--n-focus:#B5DC8A;
  --n-ok:#B5DC8A;--n-ok-l:#22351C;--n-danger:#FF9E98;--n-danger-l:#3A1615;--n-danger-line:#6B2C29;
  --n-hero:#1E3B22;--n-hero-line:transparent;--n-hero-text:#FFFFFF;--n-hero-muted:#D7E7C9;--n-hero-accent:#C9E6A8;
  --n-scrim:rgba(4,8,5,.66);--n-shadow-card:0 10px 22px -18px rgba(0,0,0,.6);--n-shadow-raised:0 1px 2px rgba(0,0,0,.3),0 10px 26px -12px rgba(0,0,0,.6);
}

/* ---------- page ground (only while the Lab is the current world) ---------- */
html[data-theme][data-nx-world="lab"] body,html[data-theme][data-nx-world="lab"] .f-shell,html[data-theme][data-nx-world="lab"] #app .f-page{background:#F5F7EF}
html[data-theme="dark"][data-nx-world="lab"] body,html[data-theme="dark"][data-nx-world="lab"] .f-shell,html[data-theme="dark"][data-nx-world="lab"] #app .f-page{background:#0F1711}

/* ---------- base type, notes, chips ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab{gap:12px;color:var(--lp-ink)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-h2{color:var(--lp-ink);font-size:21px;font-weight:800;line-height:1.45;text-wrap:balance}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sub{color:var(--lp-muted);font-size:13.5px;font-weight:500;line-height:1.75}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-eyebrow{color:var(--lp-ink2);font-size:15px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-status{color:var(--lp-ink2);font-size:13px;font-weight:600}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hint{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--lp-muted);font-size:13px;font-weight:600}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hint:empty{display:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-tag{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:7px;background:var(--lp-well);color:var(--lp-muted);font-size:11px;font-weight:700;line-height:1.5}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-count{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--lp-pr);color:var(--lp-on-pr);font-size:12px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-note{gap:10px;padding:11px 12px;border:0;border-radius:14px;background:var(--lp-pists);color:var(--lp-ink2);font-size:13.5px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-note>.f-lab-ico{width:18px;height:18px;margin-block-start:2px;color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-note--plain{border:0;background:var(--lp-well);color:var(--lp-ink2)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-honest{padding:9px 12px;font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chip{gap:5px;min-height:28px;padding:2px 10px;border:0;border-radius:999px;background:var(--lp-well);color:var(--lp-ink2);font-size:12.5px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chip--gold{background:var(--lp-pists);color:var(--lp-prd)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chip--ok{background:var(--lp-pr);color:var(--lp-on-pr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chip--warn{background:var(--lp-roses);color:var(--lp-rose)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-source{min-height:32px;padding:0 12px;background:var(--lp-pists);color:var(--lp-prd);font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-empty{padding:12px 14px;border:1.5px dashed var(--lp-line);border-radius:16px;background:var(--lp-surface);color:var(--lp-ink2);font-size:13px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-error{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border-radius:12px;background:var(--lp-dangers);color:var(--lp-danger);font-size:13px;font-weight:600;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-error:empty{display:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-error::before{content:"";flex:none;width:16px;height:16px;margin-block-start:3px;border:2px solid currentColor;border-radius:50%;background:linear-gradient(currentColor,currentColor) 50% 2px/2px 5px no-repeat,linear-gradient(currentColor,currentColor) 50% 8.5px/2px 2px no-repeat}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-setup .f-lab-error{padding:0;background:none;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-loading{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--lp-line);border-radius:16px;background:var(--lp-surface);color:var(--lp-muted);font-size:13px;text-align:center}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-loading::before,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-loading::after{content:"";display:block;height:14px;border-radius:7px;background:linear-gradient(90deg,var(--lp-well),var(--lp-skel),var(--lp-well))}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-loading::before{order:-2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-loading::after{order:-1;inline-size:60%}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter{display:inline-flex;align-items:center;gap:3px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter i{width:18px;height:6px;border-radius:3px;background:var(--lp-line)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter i.is-on{background:var(--lp-pr)}

/* ---------- buttons ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn{min-height:52px;padding:6px 18px;border:1.5px solid var(--lp-line);border-radius:16px;background:var(--lp-surface);color:var(--lp-ink);font-size:16px;font-weight:700;line-height:1.4;box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn .f-lab-ico,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn .f-lab-ico{width:19px;height:19px;stroke-width:2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn--quiet .f-lab-ico,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn--quiet .f-lab-ico{color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn--gold,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn--gold{border-color:transparent;background:var(--lp-pr);color:var(--lp-on-pr);font-size:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),var(--lp-shadow)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn--gold .f-lab-ico,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn--gold .f-lab-ico{color:currentColor}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn--danger,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn--danger{border-color:var(--lp-danger-line);background:var(--lp-dangers);color:var(--lp-danger)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn--danger .f-lab-ico,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn--danger .f-lab-ico{color:currentColor}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn:disabled,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn:disabled{opacity:1;filter:none;border-color:var(--lp-dis-bg);background:var(--lp-dis-bg);color:var(--lp-dis-fg);box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-btn:disabled .f-lab-ico,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-btn:disabled .f-lab-ico{color:currentColor}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live :is(.f-lab-resume__acts,.f-lab-receipt,.f-lab-inbox,.f-lab-coach,.f-lab-secgrid,.f-lab-indep,.f-lab-assist,.f-lab-confirm,.f-lab-dd,.f-lab-privacy,.f-lab-fb-actions,.f-lab-out,.f-lab-sec) .f-lab-btn{min-height:44px;padding:4px 12px;border-radius:14px;font-size:14.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-iconbtn{width:44px;height:44px;border:1px solid var(--lp-line);border-radius:50%;background:var(--lp-surface);color:var(--lp-ink)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-iconbtn .f-lab-ico{width:22px;height:22px;stroke-width:2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-link{gap:4px;min-height:44px;color:var(--lp-tpr);font-size:14px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-link--del{color:var(--lp-danger)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-appbar{min-height:52px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-appbar .f-lab-eyebrow{flex:1;text-align:center}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-two{gap:10px}

/* ---------- orb (pistachio; the motion grammar of final-dialogue.css is kept) ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-orb__ball{border:1px solid rgba(155,203,95,.6);background:radial-gradient(circle at 35% 30%,#C9E6A8 0%,#7FB54A 45%,#2E5E1A 100%);box-shadow:0 10px 24px -10px rgba(30,59,34,.8)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-orb__ball b{color:#1E3B22;font-size:.42em;font-weight:900}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-orb{font-size:84px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-orb__ring{inset:-6px;border:1.5px solid rgba(155,203,95,.55);opacity:1}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-orb__ring--2{inset:-12px;border-color:rgba(155,203,95,.25)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-orb{padding:14px 0 4px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-orb .f-lab-orb{width:58px;height:58px;font-size:58px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chat .f-lab-ready-orb{padding:24px 0 8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chat .f-lab-ready-orb .f-lab-orb{width:84px;height:84px;font-size:84px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-live-resume-actor]{flex-direction:row-reverse}

/* ---------- S1 hub ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hub__head{position:relative;align-items:flex-start;gap:14px;margin:0 0 -50px;padding:24px 18px 70px;overflow:hidden;border-radius:24px;background:url("/app/dialogue-lab-hero.svg") 0 0/390px 240px no-repeat,linear-gradient(165deg,#24472A 0%,#1E3B22 60%,#183019 100%);color:#FFFFFF}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hub__head .f-lab-orb{width:56px;height:56px;margin:6px;font-size:56px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hub__head>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hub__head h2{flex-basis:100%;order:1;margin:0;color:#FFFFFF;font-size:22px;font-weight:900;line-height:1.5;text-wrap:balance}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hub__head h2 em{color:#C9E6A8}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hub__head p:not(.f-lab-hi){order:2;color:#D7E7C9;font-size:13.5px;font-weight:500}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hi{display:inline-flex;align-items:center;gap:5px;order:3;min-height:26px;padding:0 10px;border-radius:999px;background:rgba(201,230,168,.14);color:#C9E6A8;font-size:12px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hi .f-lab-ico{width:14px;height:14px;stroke-width:2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-dialogue-handoff-slot]{position:relative;z-index:1;padding-inline:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-dialogue-handoff-slot]:empty{display:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding-inline:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>*{grid-column:1/-1}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card{gap:12px;min-height:64px;padding:10px 12px;border:1px solid var(--lp-line);border-radius:18px;background:var(--lp-surface);color:var(--lp-ink);box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card__ic{width:40px;height:40px;border-radius:13px;background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card__ic .f-lab-ico{width:21px;height:21px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card__tx strong{font-size:15px;font-weight:800;line-height:1.5}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card__tx small{color:var(--lp-muted);font-size:12.5px;line-height:1.6}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card__go{width:18px;height:18px;color:var(--lp-muted);stroke-width:2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--primary{gap:14px;min-height:78px;padding:14px 16px;border:0;border-radius:22px;background:var(--lp-pr);color:var(--lp-on-pr);box-shadow:var(--lp-lift)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--primary .f-lab-card__ic{width:48px;height:48px;border-radius:16px;background:#C9E6A8;color:#1E3B22}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--primary .f-lab-card__ic .f-lab-ico{width:24px;height:24px;fill:currentColor;stroke:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--primary .f-lab-card__tx strong{color:var(--lp-on-pr);font-size:17px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--primary .f-lab-card__tx small,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--primary .f-lab-card__go{color:var(--lp-on-pr-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--primary .f-lab-card__go{width:22px;height:22px;stroke-width:2.2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-card--gold{border-color:var(--lp-pist);background:var(--lp-pists)}
/* audit P2-1: while a handoff receipt is shown its «تأیید و ورود به تمرین» is the one filled step; the start card takes the plain card look */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-dialogue-handoff-slot]:not(:empty)+.f-lab-cards>.f-lab-card--primary{border:1px solid var(--lp-line);background:var(--lp-surface);color:var(--lp-ink);box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-dialogue-handoff-slot]:not(:empty)+.f-lab-cards>.f-lab-card--primary .f-lab-card__ic{background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-dialogue-handoff-slot]:not(:empty)+.f-lab-cards>.f-lab-card--primary .f-lab-card__tx strong{color:var(--lp-ink)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-dialogue-handoff-slot]:not(:empty)+.f-lab-cards>.f-lab-card--primary :is(.f-lab-card__tx small,.f-lab-card__go){color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-human-hub],html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-history]{position:relative;grid-column:auto;flex-direction:column;align-items:flex-start;gap:6px;min-height:96px;padding:12px;border-radius:20px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-human-hub] .f-lab-card__go,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-history] .f-lab-card__go{display:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-human-hub] .f-lab-card__tx strong,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-history] .f-lab-card__tx strong{font-size:14.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-human-hub] .f-lab-card__tx small,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-history] .f-lab-card__tx small{font-size:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cards>[data-dialogue-history] .f-lab-count{position:absolute;inset-block-start:12px;inset-inline-end:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume{display:flex;flex-direction:column;gap:2px;padding:12px 14px 14px;border:1px solid var(--lp-line);border-radius:20px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume h3{margin-block-start:2px;font-size:16px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume__meta{color:var(--lp-muted);font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume__top{gap:6px;color:var(--lp-prd);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume__top .f-lab-ico{width:17px;height:17px;color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume__acts{grid-template-columns:1fr 1fr;gap:10px;margin-block-start:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume__acts .f-lab-confirm{grid-column:1/-1}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-resume [data-dialogue-resume]{border-color:transparent;background:var(--lp-pists);color:var(--lp-prd);box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-inbox-card{gap:8px;margin:0;padding:12px;border:1px solid var(--lp-line);border-radius:18px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt{border-color:var(--lp-pist);background:linear-gradient(180deg,var(--lp-surface),var(--lp-receipt))}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt h3,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-inbox-card h3{gap:6px;font-size:15px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt h3 .f-lab-ico,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-inbox-card h3 .f-lab-ico{width:19px;height:19px;color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt>p{color:var(--lp-muted);font-size:12.5px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt dl div{flex-direction:column;gap:0;padding:6px 10px;border-radius:12px;background:var(--lp-well)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt dt{min-width:0;color:var(--lp-muted);font-size:11.5px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-receipt dd{font-size:13px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-inbox{padding:6px 10px;border:0;border-radius:14px;background:var(--lp-bg)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-inbox b{font-size:14px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-inbox small{color:var(--lp-muted);font-size:12px}

/* details: the guide, the readiness details, «دیدن گفتگو», «جزئیات فنی» */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd{border:1px solid var(--lp-line);border-radius:18px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd>summary{gap:12px;min-height:56px;padding:8px 12px;color:var(--lp-ink);font-size:15px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd__lead{width:40px;height:40px;padding:9.5px;border-radius:13px;background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd__grow small{color:var(--lp-muted);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd__chev{width:18px;height:18px;color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd__in{gap:10px;padding:2px 12px 12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd--inner{border:0;border-radius:14px;background:var(--lp-well)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dd--inner>summary{min-height:48px;font-size:14px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cycle li{gap:10px;padding-block-end:10px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cycle li::before{width:26px;height:26px;border-radius:9px;background:var(--lp-pists);color:var(--lp-prd);font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cycle b{font-size:14px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cycle span{color:var(--lp-muted);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-example{font-size:13px;line-height:1.7;color:var(--lp-ink2)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-example__acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-example__acts button{flex:1 1 auto;min-height:44px;padding:4px 10px;border:1.5px solid var(--lp-line);border-radius:14px;background:var(--lp-surface);color:var(--lp-ink);font-size:13.5px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-example__acts .f-lab-iconbtn{flex:none;width:44px;padding:0;border:0;border-radius:50%;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skills{gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skills li{justify-content:flex-start;gap:8px;min-height:52px;padding:2px 10px;border:1px solid var(--lp-line);border-radius:16px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skill-ic{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:13px;background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skill-ic .f-lab-ico{width:20px;height:20px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skills b{flex:1 1 auto;font-size:14.5px;font-weight:800;white-space:nowrap}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skills .f-lab-link{flex:none;font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skills .f-lab-link::after{content:"";flex:none;width:7px;height:7px;margin-inline-start:4px;border-block-end:2px solid currentColor;border-inline-end:2px solid currentColor;transform:rotate(45deg)}

/* ---------- S2 setup ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-stepper__lbl{margin-block-end:8px;font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-stepper__lbl span:first-child{color:var(--lp-prd);font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-stepper__lbl span:last-child{color:var(--lp-muted);font-weight:600}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-stepper__bars li{height:6px;border-radius:3px;background:var(--lp-line)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-stepper__bars li.is-on{background:var(--lp-pr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-setup form{gap:14px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-fld__lab,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-fld__lab{color:var(--lp-ink);font-size:14px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-fld__lab small{color:var(--lp-muted);font-size:12px;font-weight:600}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chips{gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chips--4{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-opt{flex-direction:row;gap:6px;min-height:46px;padding:4px 8px;border:1.5px solid var(--lp-edge);border-radius:14px;background:var(--lp-surface);color:var(--lp-ink);font-size:14.5px;font-weight:600;line-height:1.35;overflow-wrap:normal}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-opt[aria-checked="true"]{border-color:var(--lp-pr);background:var(--lp-pists);color:var(--lp-prd);font-weight:800;box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-opt[aria-checked="true"]::before{content:"";flex:none;width:6px;height:11px;margin-block-start:-3px;border-block-end:2.4px solid currentColor;border-inline-start:2.4px solid currentColor;transform:rotate(45deg)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-opt--soon{flex-direction:row;background:var(--lp-soon);color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-tag--soon{min-height:18px;padding:0 6px;font-size:11px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-input,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-input{min-height:52px;padding:12px 14px;border:1.5px solid var(--lp-edge);border-radius:14px;background:var(--lp-surface);color:var(--lp-ink);font-size:14.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live textarea.f-lab-input,html[data-theme] body>.f-lab-layer.f-lab-layer textarea.f-lab-input{min-height:84px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-input::placeholder,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-input::placeholder{color:var(--lp-ph);opacity:1}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-input:focus,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-input:focus{border-color:var(--lp-pr);outline:none;box-shadow:0 0 0 3px var(--lp-ring)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sum{padding:2px 12px;border:1px solid var(--lp-line);border-radius:18px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sum__row{gap:10px;min-height:48px;border-block-end:1px solid var(--lp-well);font-size:14px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sum__k{width:92px;color:var(--lp-muted);font-size:12.5px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sum__v{font-size:14px;font-weight:700;line-height:1.6}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sum__v.is-empty{color:var(--lp-muted);font-weight:500}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sum__ed{min-width:56px;min-height:44px;color:var(--lp-tpr);font-size:13.5px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sws{gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw{align-items:center;gap:12px;min-height:64px;padding:10px 12px;border:1.5px solid var(--lp-line);border-radius:16px;background:var(--lp-surface);color:var(--lp-ink)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw[aria-checked="true"]{border-color:var(--lp-pist)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw__tx b{gap:6px;font-size:14.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw__tx>span{color:var(--lp-muted);font-size:12.5px;line-height:1.6}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-req{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:6px;background:var(--lp-roses);color:var(--lp-rose);font-size:11px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw__knob{width:52px;height:32px;margin:0;border-radius:16px;background:var(--lp-track)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw__knob::after{inset-block-start:3px;inset-inline-start:3px;width:26px;height:26px;box-shadow:0 2px 4px rgba(0,0,0,.18)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw[aria-checked="true"] .f-lab-sw__knob{background:var(--lp-pr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw[aria-checked="true"] .f-lab-sw__knob::after{inset-inline-start:23px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw.is-off{opacity:1;border-color:var(--lp-well);background:var(--lp-well)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw.is-off .f-lab-sw__knob{display:grid;place-items:center;background:var(--lp-track-lock);color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw.is-off .f-lab-sw__knob::after{display:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw.is-off .f-lab-sw__knob .f-lab-ico{width:14px;height:14px;stroke-width:2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-auto{align-items:flex-start;gap:8px;padding:0;background:none;color:var(--lp-ink2);font-size:13px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-auto .f-lab-ico{width:18px;height:18px;margin-block-start:2px;color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-auto b{color:var(--lp-prd)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-setup .f-lab-dd--inner{border:1px solid var(--lp-line);border-radius:16px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-setup .f-lab-dd--inner>summary{min-height:44px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-setup .f-lab-dd--inner[open]{padding-block-end:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-setup .f-lab-dd--inner>:not(summary){margin-inline:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-setup .f-lab-dd--inner .f-lab-btn{width:auto;margin-block-start:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-facts{gap:6px;color:var(--lp-ink2);font-size:12.5px;line-height:1.6}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-facts li{font-size:12.5px;line-height:1.6}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-facts li::before{content:"";display:inline-block;width:6px;height:6px;margin-inline-end:8px;border-radius:3px;background:var(--lp-pist);vertical-align:middle}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-live-start]:not(:disabled)+.f-lab-hint{color:var(--lp-prd)}

/* ---------- S3/S4 chat ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-chat-top{gap:10px;min-height:58px;padding:6px 0;border:0;border-radius:0;background:var(--lp-bg);box-shadow:0 12px 12px -14px rgba(23,36,26,.35)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-avatar{width:42px;height:42px;border:2px solid var(--lp-surface);background:var(--lp-blush);color:var(--lp-rose);font-size:12px;font-weight:900;box-shadow:0 0 0 1.5px var(--lp-blush-ring)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-avatar.is-speaking{box-shadow:0 0 0 2px var(--lp-pist),0 0 0 6px rgba(155,203,95,.25)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-who h2{font-size:16px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-who .f-lab-eyebrow{color:var(--lp-muted);font-size:12px;font-weight:600}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-state{color:var(--lp-prd);font-size:12px;font-weight:600}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scn{justify-content:flex-start;gap:6px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msgs{gap:10px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg{gap:4px;max-width:84%}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg.is-me{align-items:flex-end}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg__who{display:flex;align-items:center;gap:5px;padding:0 4px;color:var(--lp-muted);font-size:11.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg.is-partner .f-lab-msg__who::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;background:var(--lp-blush);box-shadow:0 0 0 1.5px var(--lp-blush-ring)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg__b{padding:9px 13px;border:0;border-radius:18px;border-start-start-radius:6px;background:var(--lp-blush);color:var(--lp-ink);font-size:14.5px;line-height:1.75}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg.is-me .f-lab-msg__b{border-radius:18px;border-start-end-radius:6px;background:var(--lp-pr);color:var(--lp-on-pr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg.is-me .f-lab-chip{align-self:flex-end}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-msg.is-empty .f-lab-msg__b{border:1.5px dashed var(--lp-blush-ring);background:var(--lp-surface);color:var(--lp-muted);font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-typing i{width:5px;height:5px;background:var(--lp-rose)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-interrupt{min-height:44px;padding:0 12px;border:1.5px solid var(--lp-danger-line);border-radius:12px;background:var(--lp-surface);color:var(--lp-danger);font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-turn{align-self:center;min-height:28px;padding:0 12px;border-radius:999px;background:var(--lp-pists);color:var(--lp-prd);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-turn::after{display:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-composer{gap:8px;padding:6px;border:1.5px solid var(--lp-edge);border-radius:20px;background:var(--lp-surface);box-shadow:0 10px 24px -16px rgba(23,36,26,.4)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-composer:focus-within{border-color:var(--lp-pr);box-shadow:0 0 0 3px var(--lp-ring)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-composer__field{color:var(--lp-ink);font-size:14.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-composer__field::placeholder{color:var(--lp-ph)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mic{width:46px;height:46px;border-radius:14px;background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mic:disabled{display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;opacity:1;background:var(--lp-well);color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mic small{margin:0;color:var(--lp-muted);font-size:11px;font-weight:800;line-height:1.2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mic .f-lab-ico{width:20px;height:20px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-send{width:46px;height:46px;border:0;border-radius:14px;background:var(--lp-track);color:#FFFFFF}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-send:not(:disabled){background:var(--lp-pr);color:var(--lp-on-pr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-send:disabled{opacity:1}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-send .f-lab-ico{width:20px;height:20px}
/* the coach stays an inline section (D5/F13), drawn as a docked sheet card: handle, ladder, output, actions */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-coach{position:relative;gap:10px;padding:18px 16px 16px;border:1px solid var(--lp-line);border-radius:28px 28px 20px 20px;background:var(--lp-surface);box-shadow:0 -14px 40px -26px rgba(23,36,26,.45)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-coach::before{content:"";align-self:center;width:44px;height:5px;margin:-8px 0 2px;border-radius:3px;background:var(--lp-line)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-coach__hd h3{font-size:15px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-coach__hd small{color:var(--lp-muted);font-size:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-bulb{width:40px;height:40px;border-radius:13px;background:var(--lp-pists);color:var(--lp-prd)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-bulb .f-lab-ico{width:20px;height:20px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ladder{align-items:stretch;gap:6px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung:nth-child(n){min-height:68px;padding:6px 4px;border:1.5px solid var(--lp-line);border-radius:14px;background:var(--lp-bg);color:var(--lp-ink);font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung small{color:var(--lp-muted);font-size:11px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung .f-lab-ico{width:18px;height:18px;color:var(--lp-prd)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung.is-done{border-color:var(--lp-line);background:var(--lp-surface);color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung[aria-pressed="true"]{border:2px solid var(--lp-pr);background:var(--lp-pists);color:var(--lp-prd)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung[aria-pressed="true"] :is(small,.f-lab-ico){color:var(--lp-prd)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rung:disabled:not([aria-pressed="true"]):not(.is-done){opacity:1;color:var(--lp-dis-fg)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cap{color:var(--lp-muted);font-size:12.5px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-out{gap:6px;padding:10px 12px;border:1px dashed var(--lp-pist);border-radius:14px;background:var(--lp-bg);color:var(--lp-ink);font-size:13.5px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-out__tl{color:var(--lp-rose);font-size:12px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-out .f-lab-btn{align-self:flex-start;width:auto}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-next{gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-next [data-live-finish]{border-color:var(--lp-line);background:var(--lp-surface);color:var(--lp-ink);box-shadow:none;min-height:44px;border-radius:14px;font-size:14.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-next [data-live-finish] .f-lab-ico{color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-next [data-live-finish]:disabled{border-color:var(--lp-dis-bg);background:var(--lp-dis-bg);color:var(--lp-dis-fg)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-next [data-live-finish]:disabled .f-lab-ico{color:currentColor}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-secgrid{gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-secgrid .f-lab-btn{font-size:14px;padding:4px 8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mode{gap:5px;min-height:28px;padding:0 11px;background:#1E3B22;color:#FFFFFF;font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-indep{grid-template-columns:1fr 1fr;gap:10px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-assist{gap:10px;padding:12px;border:1.5px solid var(--lp-pist);border-radius:16px;background:var(--lp-surface);color:var(--lp-ink2);font-size:13.5px;line-height:1.75}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-assist b{color:var(--lp-ink)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-assist+.f-lab-secgrid{grid-template-columns:1fr;justify-items:center}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-assist+.f-lab-secgrid .f-lab-btn{width:auto;border-color:transparent;background:none;color:var(--lp-danger)}

/* the «کمک برای همین لحظه» sheet */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scrim{background:var(--lp-scrim)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sheet{gap:12px;padding:10px 18px calc(30px + env(safe-area-inset-bottom));border-block-start:0;border-radius:28px 28px 0 0;background:var(--lp-surface);color:var(--lp-ink);box-shadow:0 -14px 40px -20px rgba(0,0,0,.5)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-grab{width:44px;height:5px;border-radius:3px;background:var(--lp-line)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sheet__head{align-items:flex-start;gap:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sheet__head h2{font-size:18px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sheet__head p{color:var(--lp-muted);font-size:13px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-brain-ic{width:40px;height:40px;border-radius:13px;background:var(--lp-pists);color:var(--lp-prd)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-excerpt{gap:6px;padding:12px;border:0;border-radius:16px;background:var(--lp-bg);font-size:14px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-excerpt__lab{gap:6px;color:var(--lp-prd);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-cite{padding-block-start:0;border-block-start:0;color:var(--lp-muted);font-size:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sheet__acts{grid-template-columns:1fr;gap:10px}

/* the modal dialogs (body-appended dialog() and the in-round human overlay) */
html[data-theme] body>.f-lab-layer.f-lab-layer,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-layer{place-items:center;background:var(--lp-scrim)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dialog,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dialog{gap:12px;width:min(100%,400px);padding:20px;border:0;border-radius:24px;background:var(--lp-surface);color:var(--lp-ink);box-shadow:0 30px 60px -24px rgba(0,0,0,.55)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dialog h2,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dialog h2{font-size:18px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dialog p,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dialog p{color:var(--lp-ink2);font-size:14px;line-height:1.75}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dialog .f-lab-eyebrow,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dialog .f-lab-eyebrow{color:var(--lp-muted);font-size:12.5px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dialog .f-lab-two,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dialog .f-lab-two{grid-template-columns:1fr;gap:10px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dli,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dli{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dli--rose,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dli--rose{background:var(--lp-roses);color:var(--lp-rose)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-dli .f-lab-ico,html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-dli .f-lab-ico{width:24px;height:24px;stroke-width:2}
html[data-theme] body>.f-lab-layer.f-lab-layer .f-lab-ico{width:1.2em;height:1.2em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- S5 result ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-fb-top{text-align:start}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-fb-top h2{font-size:21px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-fb-top p{color:var(--lp-muted);font-size:13.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:2px 12px;padding:14px;border:1px solid var(--lp-line);border-radius:20px;background:var(--lp-surface);text-align:start}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery__ic{display:grid;place-items:center;grid-row:1/3;width:50px;height:50px;border-radius:16px;background:var(--lp-well);color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery__ic .f-lab-ico{width:24px;height:24px;stroke-width:2.2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery b{align-self:end;padding:0;border-radius:0;background:none;color:var(--lp-ink);font-size:18px;font-weight:900;line-height:1.5}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery>span:last-child{align-self:start;color:var(--lp-muted);font-size:13px;line-height:1.6}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="NONE"]{border-style:dashed}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="INDEPENDENT"]{border-color:transparent;background:#1E3B22}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="INDEPENDENT"] b{background:none;color:#C9E6A8}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="INDEPENDENT"]>span:last-child{color:#D7E7C9}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="INDEPENDENT"] .f-lab-mastery__ic{background:#2E5E1A;color:#FFFFFF}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="ASSISTED"]{border-color:transparent;background:var(--lp-roses)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="ASSISTED"] b{background:none;color:var(--lp-rose)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="ASSISTED"]>span:last-child{color:var(--lp-ink2)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="ASSISTED"] .f-lab-mastery__ic{background:var(--lp-rose);color:var(--lp-on-rose)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="INVALID"]{border-color:transparent;background:var(--lp-well)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="INVALID"]>span:last-child{color:var(--lp-ink2)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-mastery[data-mastery="INVALID"] .f-lab-mastery__ic{background:var(--lp-surface);color:var(--lp-ink2)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-panel{gap:8px;padding:12px;border:1px solid var(--lp-line);border-radius:18px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-panel h3{gap:6px;font-size:15px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-panel h3 .f-lab-ico{width:18px;height:18px;color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-panel>p{font-size:14px;line-height:1.75}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-panel>.f-lab-sub{font-size:13px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-reveal{padding:8px 10px;border:0;border-radius:12px;background:var(--lp-bg);color:var(--lp-ink2);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-panel .f-lab-skill-names{gap:6px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skill-names [data-dialogue-focus]{justify-content:center;min-height:46px;padding:4px 6px;border:1.5px solid var(--lp-edge);border-radius:14px;background:var(--lp-surface);color:var(--lp-ink);font-size:14px;font-weight:600}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-dialogue-focus-panel] .f-lab-skill-names{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skill-names [data-dialogue-focus].f-lab-chip--ok{border-color:var(--lp-pr);background:var(--lp-pists);color:var(--lp-prd);font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skill-names [data-dialogue-focus].f-lab-chip--ok::before{content:"";flex:none;width:6px;height:11px;margin-block-start:-3px;border-block-end:2.4px solid currentColor;border-inline-start:2.4px solid currentColor;transform:rotate(45deg)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-skill-names [data-dialogue-focus]:disabled:not(.f-lab-chip--ok){color:var(--lp-dis-fg)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live [data-lab-coin-progress]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:var(--lp-bg);color:var(--lp-ink2);font-size:12.5px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;border:0;border-radius:20px;background:#1E3B22}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card>:is(h3,p){grid-column:1/-1}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card h3{gap:6px;color:#FFFFFF;font-size:15.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card h3 .f-lab-ico{width:18px;height:18px;color:#C9E6A8}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card p{color:#D7E7C9;font-size:13px;line-height:1.75}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card .f-lab-btn{min-height:48px;padding:6px 10px;border:1.5px solid rgba(201,230,168,.55);border-radius:14px;background:transparent;color:#FFFFFF;font-size:14.5px;box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card .f-lab-btn .f-lab-ico{color:#C9E6A8}
/* audit P2-2: on the forest card the focus ring is the glow (9.0:1 on #1E3B22), not the pistachio (1.6:1) */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-ready-card :focus-visible{outline-color:#C9E6A8}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-fb-actions{gap:10px}

/* ---------- S6 my practices ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sec{gap:6px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sec h3,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sec-t{gap:6px;font-size:15.5px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sec h3>.f-lab-ico,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sec-t>.f-lab-ico{width:18px;height:18px;color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-list{gap:8px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hrow{gap:10px;padding:10px;border:1px solid var(--lp-line);border-radius:16px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hrow__ic{width:40px;height:40px;border-radius:13px;background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hrow__ic .f-lab-ico{width:20px;height:20px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hrow h4{font-size:14px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hrow__meta{gap:6px 8px;color:var(--lp-muted);font-size:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hrow__acts{justify-content:space-between;gap:16px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-privacy{gap:8px;padding:10px 12px;border:1px solid var(--lp-line);border-radius:16px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-privacy p{color:var(--lp-muted);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-privacy p b{color:var(--lp-ink);font-size:14px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-privacy>.f-lab-btn{align-self:flex-start;width:auto}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-confirm{gap:8px;padding:10px;border:0;border-radius:14px;background:var(--lp-dangers);color:var(--lp-ink);font-size:13px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-confirm [data-confirm-yes]{border-color:var(--lp-danger-line);background:var(--lp-surface);color:var(--lp-danger)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sec>.f-lab-btn{align-self:flex-start;width:auto}

/* ---------- S7 human practice ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard{gap:12px;padding:12px;border:0;border-radius:16px;background:var(--lp-well)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard.is-ok{background:var(--lp-pists)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard__ic{width:44px;height:44px;border-radius:13px;background:var(--lp-surface);color:var(--lp-ink2)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard.is-ok .f-lab-scard__ic{background:var(--lp-surface);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard.is-no .f-lab-scard__ic{background:var(--lp-surface);color:var(--lp-muted)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard__ic .f-lab-ico{width:20px;height:20px;stroke-width:2}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard b{font-size:14.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard p{color:var(--lp-ink2);font-size:13px;line-height:1.7}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-scard .f-lab-sub{color:var(--lp-muted);font-size:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rcpt{gap:12px;padding:10px 12px;border:1px solid var(--lp-line);border-radius:16px;background:var(--lp-surface)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rcpt b{font-size:15px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rcpt small{color:var(--lp-muted);font-size:12px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-rcpt .f-lab-avatar{width:46px;height:46px;border:0;background:var(--lp-pists);color:var(--lp-tpr);box-shadow:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-human .f-lab-two{display:flex;flex-wrap:wrap;gap:10px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-human .f-lab-two:empty{display:none}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-human .f-lab-two .f-lab-btn{flex:1 1 100%}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-human .f-lab-two :is([data-human-accept],[data-human-decline]){flex:1 1 0}

/* ---------- S8 special states ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-states>.f-lab-eyebrow{display:flex;align-items:center;justify-content:center;min-height:52px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice{align-items:center;gap:10px;padding:26px 18px 22px;border:1px solid var(--lp-line);border-radius:24px;background:var(--lp-surface);text-align:center}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice__hd{flex-direction:column;gap:10px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice__ic{width:76px;height:76px;border-radius:26px;background:var(--lp-well);color:var(--lp-ink2)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice__ic .f-lab-ico{width:34px;height:34px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice.is-warn .f-lab-notice__ic{background:var(--lp-roses);color:var(--lp-rose)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice.is-gold .f-lab-notice__ic{background:var(--lp-pists);color:var(--lp-tpr)}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice h2{font-size:19px;font-weight:800;line-height:1.5;text-wrap:balance}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice>p{color:var(--lp-ink2);font-size:14px;line-height:1.8}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice>.f-lab-sub{color:var(--lp-muted);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-notice__acts{align-self:stretch;gap:10px;margin-block-start:6px}

/* ---------- the «فعلاً نه» practice panel ---------- */
html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context .practice-context{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;padding:12px;border:0;border-radius:16px;background:var(--lp-well);color:var(--lp-ink)}
html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context .practice-context strong{font-size:14.5px;font-weight:800}
html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context .practice-context span{color:var(--lp-ink2);font-size:12.5px}
html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context .practice-context small{margin-block-end:4px;color:var(--lp-muted);font-size:11.5px;line-height:1.6}
html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context .practice-context button{align-self:flex-start;min-height:44px;padding:4px 14px;border:1.5px solid var(--lp-line);border-radius:14px;background:var(--lp-surface);color:var(--lp-ink);font:inherit;font-size:14.5px;font-weight:700}
html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context .error{color:var(--lp-danger)}

/* ---------- small phones and tablets ---------- */
@media (max-width:359px){
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-opt{padding:4px 5px;font-size:13.5px}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-hub__head h2{font-size:20px}
}
@media (min-width:768px){
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live,html[data-theme] :is(#app,.f-layer) .f-dialogue #not-now-practice-context{max-width:560px;margin-inline:auto}
}

/* ---------- motion: only without Reduced Motion ---------- */
@media (prefers-reduced-motion:no-preference){
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live :is(.f-lab-opt,.f-lab-btn,.f-lab-sw,.f-lab-rung,.f-lab-card,[data-dialogue-focus]){transition:background-color .16s cubic-bezier(.2,.8,.2,1),border-color .16s cubic-bezier(.2,.8,.2,1),color .16s cubic-bezier(.2,.8,.2,1)}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-sw__knob{transition:background-color .2s cubic-bezier(.2,.8,.2,1)}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-feedback>:is(.f-lab-mastery,.f-lab-panel,.f-lab-ready-card){animation:lp-rise .24s cubic-bezier(.2,.8,.2,1) both}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-feedback>.f-lab-panel{animation-delay:.06s}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-feedback>.f-lab-panel+.f-lab-panel{animation-delay:.12s}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-feedback>.f-lab-panel+.f-lab-panel+.f-lab-panel,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-feedback>.f-lab-ready-card{animation-delay:.18s}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter i.is-on{animation:lp-fill .3s ease-out both}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter i.is-on:nth-child(2){animation-delay:.09s}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter i.is-on:nth-child(3){animation-delay:.18s}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter i.is-on:nth-child(4){animation-delay:.27s}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-meter i.is-on:nth-child(5){animation-delay:.36s}
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-loading::before,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live .f-lab-loading::after{background-size:200% 100%;animation:lp-shimmer 1.4s linear infinite}
  @keyframes lp-rise{from{transform:translateY(8px)}to{transform:none}}
  @keyframes lp-fill{from{background-color:var(--lp-line)}}
  @keyframes lp-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
}
@media (prefers-reduced-motion:reduce){
  html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live *,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live *::before,html[data-theme] :is(#app,.f-layer) .f-dialogue .f-dialogue-live *::after,html[data-theme] body>.f-lab-layer.f-lab-layer *,html[data-theme] body>.f-lab-layer.f-lab-layer *::before,html[data-theme] body>.f-lab-layer.f-lab-layer *::after{animation:none!important;transition:none!important}
}
