/* Zoho Assist page only. Loaded via `extra: crm, mid, p-assist`. Every class is scoped with .pas- */
:root { --pas-ink: #082238; --pas-body: #334155; --pas-muted: #64748B; --pas-line: #E2E8F0; --pas-paper: #F3F7F9; --pas-blue: #0B7DC1; --pas-amber: #FFB81C; --pas-green: #16A34A; }

/* ---------- 1. hero: remote session window ---------- */
.pas-hero .pas-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; }
.pas-hero .pas-win { margin-top: clamp(0px, 6vw, 96px); }
.pas-hero .crm-sub { max-width: 40ch; }
.pas-tops { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 580px; }
.pas-tops li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 999px; background: #fff; border: 1px solid #DCE7EF; font: 600 13.5px/1.25 var(--f-body); color: var(--pas-ink); box-shadow: 0 10px 20px -16px rgba(8,34,56,.5); }
.pas-tops svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 7px; background: #E4F2FB; fill: none; stroke: var(--pas-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pas-win { position: relative; margin: 0; border-radius: 18px; background: #0E2236; box-shadow: 0 60px 100px -50px rgba(8,34,56,.7), 0 0 0 1px rgba(8,34,56,.08); overflow: visible; }
.pas-win__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px 18px 0 0; background: #13304B; color: #DCEAF5; font: 600 12.5px/1.2 var(--f-body); }
.pas-win__dots { display: flex; gap: 6px; } .pas-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF6B5E; } .pas-win__dots i:nth-child(2) { background: #FFC23D; } .pas-win__dots i:nth-child(3) { background: #3CCB6E; }
.pas-win__title { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pas-mark { width: 18px; height: 18px; flex: none; fill: none; stroke: #7CC8F2; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pas-win__rec { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.08); font: 700 12.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; font-variant-numeric: tabular-nums; }
.pas-win__rec i { width: 8px; height: 8px; border-radius: 50%; background: #3CCB6E; box-shadow: 0 0 0 0 rgba(60,203,110,.6); animation: pas-pulse 1.6s infinite; }
@keyframes pas-pulse { 70% { box-shadow: 0 0 0 7px rgba(60,203,110,0); } 100% { box-shadow: 0 0 0 0 rgba(60,203,110,0); } }
.pas-win__body { display: grid; grid-template-columns: minmax(0, 1fr) 168px; min-height: 330px; }
.pas-desk { position: relative; padding: 18px; background: linear-gradient(135deg, #1D5D96 0%, #0E8BB8 55%, #12A39A 100%); overflow: hidden; }
.pas-desk__icons { display: grid; gap: 12px; width: 70px; }
.pas-desk__icons span { display: grid; justify-items: center; gap: 4px; font: 600 10.5px/1.2 var(--f-body); color: #fff; text-align: center; }
.pas-desk__icons i { width: 30px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.85); box-shadow: inset 0 -6px 0 rgba(11,125,193,.25); }
.pas-dlg { position: absolute; left: 96px; right: 16px; top: 22px; padding: 14px 14px 12px; border-radius: 12px; background: #fff; box-shadow: 0 30px 50px -30px rgba(0,0,0,.6); }
.pas-dlg__h { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font: 700 13.5px/1.2 var(--f-display); color: var(--pas-ink); }
.pas-dlg__h em { padding: 3px 8px; border-radius: 99px; background: var(--pas-paper); font: 600 10.5px/1 var(--f-body); font-style: normal; color: var(--pas-muted); }
.pas-dlg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pas-dlg__list li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--pas-paper); font: 500 12.5px/1.25 var(--f-body); color: var(--pas-body); }
.pas-dlg__list b { font-weight: 700; color: var(--pas-green); white-space: nowrap; }
.pas-dlg__list .pas-dlg__bad { color: #C2410C; transition: color .3s; }
.pas-dlg__ft { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.pas-dlg__prog { flex: 1; height: 6px; border-radius: 6px; background: #E2E8F0; overflow: hidden; }
.pas-dlg__prog i { display: block; width: 0; height: 100%; background: var(--pas-blue); border-radius: inherit; }
.pas-dlg__btn { padding: 7px 12px; border-radius: 8px; background: var(--pas-blue); color: #fff; font: 700 12px/1 var(--f-body); white-space: nowrap; transition: transform .15s, background-color .3s; }
.pas-toast { position: absolute; left: 96px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 13px; border-radius: 10px; background: #fff; font: 600 12.5px/1.2 var(--f-body); color: var(--pas-ink); box-shadow: 0 20px 34px -22px rgba(0,0,0,.6); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.pas-toast svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--pas-green); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pas-cur { position: absolute; left: 30%; top: 72%; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; transition: left 1s cubic-bezier(.45,.05,.3,1), top 1s cubic-bezier(.45,.05,.3,1); z-index: 2; }
.pas-cur svg { width: 20px; height: 20px; fill: var(--pas-amber); stroke: var(--pas-ink); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.pas-cur b { margin-top: 14px; padding: 3px 7px; border-radius: 6px; background: var(--pas-amber); font: 700 10.5px/1 var(--f-body); color: var(--pas-ink); }
.pas-side { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: #F7FAFC; border-left: 1px solid #DCE6EE; }
.pas-side__h { margin: 0 0 2px; font: 700 11px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pas-muted); }
.pas-bub { margin: 0; padding: 7px 10px; border-radius: 12px; font: 500 12px/1.35 var(--f-body); }
.pas-bub--c { align-self: flex-start; background: #E8EEF4; color: #0F172A; border-bottom-left-radius: 4px; }
.pas-bub--t { align-self: flex-end; background: var(--pas-blue); color: #fff; border-bottom-right-radius: 4px; }
.pas-bub--late { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.pas-tools { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: auto 0 0; padding: 8px 0 0; border-top: 1px solid #DCE6EE; }
.pas-tools li { padding: 6px 4px; border-radius: 7px; background: #fff; border: 1px solid #DCE6EE; text-align: center; font: 600 11px/1 var(--f-body); color: var(--pas-ink); }
.pas-win__foot { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-radius: 0 0 18px 18px; background: #13304B; font: 600 11.5px/1.2 var(--f-body); color: #B8CDE0; }
.pas-win__foot span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.pas-win__foot i { width: 8px; height: 8px; border-radius: 50%; background: #3CCB6E; }
.pas-chip { position: absolute; right: -14px; bottom: -22px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: #fff; border: 1px solid #DCE7EF; box-shadow: 0 24px 40px -26px rgba(8,34,56,.6); font: 600 12.5px/1.2 var(--f-body); color: var(--pas-ink); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.pas-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--pas-green); }
.pas-chip em { padding: 2px 7px; border-radius: 99px; background: var(--pas-paper); font: 600 10.5px/1 var(--f-body); font-style: normal; color: var(--pas-muted); }
/* animation states (set by p-assist.js; the end state shows with reduced motion) */
.pas-win.is-s1 .pas-cur { left: 66%; top: 33%; }
.pas-win.is-s2 .pas-cur { left: 83%; top: 46%; }
.pas-win.is-s2 .pas-dlg__btn { transform: scale(.94); background: #075E92; }
.pas-win.is-s3 .pas-dlg__prog i { width: 100%; transition: width 1.4s linear; }
.pas-win.is-s4 .pas-dlg__bad { color: var(--pas-green); }
.pas-win.is-s4 .pas-toast, .pas-win.is-s4 .pas-bub--late, .pas-win.is-s4 .pas-chip { opacity: 1; transform: none; }
.pas-win.is-s4 .pas-cur { left: 44%; top: 58%; }
.pas-win.is-fade .pas-toast, .pas-win.is-fade .pas-bub--late, .pas-win.is-fade .pas-chip { opacity: 0; }

/* ---------- 2. edges ---------- */
.pas-grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pas-edge { position: relative; padding: 22px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--pas-line); box-shadow: 0 30px 60px -48px rgba(8,34,56,.5); }
.pas-edge::before { content: ""; position: absolute; left: 22px; top: 0; width: 46px; height: 4px; border-radius: 0 0 4px 4px; background: var(--pas-blue); }
.pas-edge--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: center; }
.pas-grid > .pas-edge--wide:last-child { grid-column: 1 / -1; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); }
.pas-edge h3 { margin: 0 0 8px; font: 700 19px/1.3 var(--f-display); letter-spacing: -.01em; color: var(--pas-ink); }
.pas-edge p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--pas-body); }
.pas-edge__vis { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 64px; margin-bottom: 14px; padding: 12px; border-radius: 14px; background: var(--pas-paper); font: 600 12.5px/1.2 var(--f-body); color: var(--pas-ink); }
.pas-edge--wide .pas-edge__vis { margin-bottom: 0; min-height: 120px; justify-content: center; }
.pas-vis-join__in { padding: 6px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--pas-line); }
.pas-vis-join i { flex: 0 0 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--pas-blue) 0 6px, transparent 6px 10px); }
.pas-vis-join b { padding: 7px 12px; border-radius: 99px; background: var(--pas-green); color: #fff; }
.pas-vis-wol span { width: 34px; height: 26px; border-radius: 6px; background: var(--pas-blue); box-shadow: 0 0 0 3px rgba(11,125,193,.15); }
.pas-vis-wol span.is-off { background: #94A3B8; box-shadow: none; }
.pas-vis-wol em { margin-left: auto; font-style: normal; color: var(--pas-blue); }
.pas-vis-tix { justify-content: space-between; }
.pas-vis-tix b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pas-vis-tix span { flex: 1; color: var(--pas-muted); font-weight: 500; }
.pas-vis-tix em { padding: 6px 10px; border-radius: 8px; background: var(--pas-blue); color: #fff; font-style: normal; }
.pas-vis-os span { padding: 5px 9px; border-radius: 7px; background: #fff; border: 1px solid var(--pas-line); }
.pas-vis-lock svg { width: 26px; height: 26px; fill: none; stroke: var(--pas-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pas-vis-lock span { padding: 5px 9px; border-radius: 99px; background: #DDF4EF; color: #0F6B5E; }
.pas-vis-price { flex-direction: column; justify-content: center; gap: 2px; }
.pas-vis-price b { font: 800 44px/1.1 var(--f-display); color: var(--pas-blue); letter-spacing: -.02em; }
.pas-vis-price span { color: var(--pas-muted); font-weight: 500; text-align: center; }

/* ---------- 3. scroll-story J4: technician and customer thread ---------- */
.pas-ss { padding: 0; background-image: linear-gradient(180deg, rgba(228,242,251,.75) 0%, rgba(255,255,255,0) 60%); overflow-x: clip; }
.pas-ss__stage { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.pas-ss__head .pg-answer { margin-bottom: 0; }
.pas-ss__steps { display: none; }
.pas-ss__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 32px; }
.pas-ss__chat { margin: 0; border-radius: 22px; background: #fff; border: 1px solid var(--pas-line); box-shadow: 0 40px 70px -44px rgba(8,34,56,.45); overflow: hidden; }
.pas-ss__top { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--pas-line); background: #0E2236; }
.pas-ss__top i { width: 36px; height: 36px; flex: none; border-radius: 10px; background: linear-gradient(135deg, #0B7DC1, #00B2A9); box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); }
.pas-ss__top b { display: block; font: 700 15px/1.25 var(--f-body); color: #fff; }
.pas-ss__top small { display: block; font: 600 12px/1.3 var(--f-body); color: #9FB6CB; letter-spacing: .04em; text-transform: uppercase; }
.pas-ss__body { padding: 16px 18px 18px; }
.pas-ss__thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pas-ss__d { align-self: center; margin: 8px 0 2px; font: 700 11.5px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pas-muted); text-align: center; }
.pas-ss__d:first-child { margin-top: 0; }
.pas-ss__m { max-width: 82%; padding: 9px 14px 10px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.pas-ss__m > b { display: block; margin-bottom: 2px; font: 700 11px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.pas-ss__m--c { align-self: flex-start; background: #EEF2F6; color: #0F172A; border-bottom-left-radius: 6px; }
.pas-ss__m--t { align-self: flex-end; background: var(--pas-blue); color: #fff; border-bottom-right-radius: 6px; }
.pas-ss__m--z { align-self: center; max-width: 94%; display: flex; gap: 9px; align-items: flex-start; padding: 8px 12px; background: #FFF8E6; border: 1px solid #F6DFA0; color: #5B4300; font-size: 13px; border-radius: 12px; }
.pas-ss__m--z img, .pas-ss__ic { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.pas-ss__ic { border-radius: 6px; background: #0B7DC1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M9 21h6M12 17v4'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pas-ss__m--z b { font-weight: 700; color: #3F2E00; }
.pas-ss__typing { display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: #EEF2F6; align-self: flex-start; }
.pas-ss__typing--t { align-self: flex-end; background: #D3E8F6; }
.pas-ss__typing i { width: 7px; height: 7px; border-radius: 50%; background: #94A3B8; animation: pas-ss-blink 1s infinite; }
.pas-ss__typing i:nth-child(2) { animation-delay: .15s; } .pas-ss__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pas-ss-blink { 50% { opacity: .25; } }
@keyframes pas-ss-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.pas-ss__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pas-ss__st { background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 0 30px 60px -44px rgba(8,34,56,.45); border: 1px solid var(--pas-line); border-left: 5px solid var(--c); }
.pas-ss__when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 12.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.pas-ss__n { padding: 4px 9px; border-radius: 99px; background: var(--c); color: #fff; letter-spacing: .06em; }
.pas-ss__st h3 { margin: 0 0 12px; font: 700 clamp(20px, 1rem + .7vw, 25px)/1.25 var(--f-display); letter-spacing: -.02em; color: var(--pas-ink); }
.pas-ss__a, .pas-ss__b { margin: 0 0 10px; padding-left: 12px; font-size: 15.5px; line-height: 1.55; }
.pas-ss__a b, .pas-ss__b b { display: block; margin-bottom: 2px; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.pas-ss__a { border-left: 3px solid #CBD5E1; color: var(--pas-muted); }
.pas-ss__a b { color: #94A3B8; }
.pas-ss__b { border-left: 3px solid var(--c); color: var(--pas-body); margin-bottom: 0; }
.pas-ss__b b { color: var(--c); }
.pas-ss__bar { display: none; }
.pas-ss__note { max-width: 80ch; margin: 18px 0 0; font-size: 14px; color: var(--pas-muted); }
.pas-ss__steps button:focus-visible { outline: 2px solid var(--pas-blue); outline-offset: 2px; }

.pas-ss--live .pas-ss__track { height: calc(100vh + 6 * 52vh); }
.pas-ss--live .pas-ss__stage { position: sticky; top: 0; height: 100vh; min-height: 600px; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 20px; }
.pas-ss--live .pg-h2 { font-size: clamp(26px, 1rem + 1.2vw, 36px); margin-bottom: 8px; max-width: none; }
.pas-ss--live .pas-ss__head .hp-kick { margin-bottom: 8px; }
.pas-ss--live .pg-answer { font-size: 16px; line-height: 1.55; max-width: 92ch; }
.pas-ss--live .pas-ss__steps { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 14px 0 0; padding: 0; }
.pas-ss__steps button { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border: 1px solid var(--pas-line); border-radius: 99px; background: #fff; font: 600 12.5px/1.2 var(--f-body); white-space: nowrap; color: var(--pas-body); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.pas-ss__steps button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pas-paper); font: 800 11.5px/1 var(--f-display); color: var(--pas-ink); transition: background-color .3s, color .3s; }
.pas-ss__steps button.is-past { border-color: #C9D6E2; color: var(--pas-ink); }
.pas-ss__steps button.is-past span { background: var(--c); color: #fff; }
.pas-ss__steps button[aria-current="step"] { background: var(--pas-ink); border-color: var(--pas-ink); color: #fff; }
.pas-ss__steps button[aria-current="step"] span { background: var(--pas-amber); color: var(--pas-ink); }
.pas-ss__steps em { font-style: normal; }
.pas-ss--live .pas-ss__grid { margin-top: 16px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pas-ss--live .pas-ss__body { height: clamp(230px, calc(100vh - 446px), 460px); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px); mask-image: linear-gradient(180deg, transparent 0, #000 36px); }
.pas-ss--live .pas-ss__thread { min-height: 100%; justify-content: flex-end; }
.pas-ss--live .pas-ss__thread > li { display: none; }
.pas-ss--live .pas-ss__thread > li.is-in { display: flex; }
.pas-ss--live .pas-ss__thread > .pas-ss__m--c.is-in, .pas-ss--live .pas-ss__thread > .pas-ss__m--t.is-in, .pas-ss--live .pas-ss__thread > .pas-ss__d.is-in { display: block; }
.pas-ss--live .pas-ss__thread > li.is-new { animation: pas-ss-in .38s cubic-bezier(.2,.8,.2,1) both; }
.pas-ss--live .pas-ss__list { display: block; position: relative; min-height: clamp(270px, calc(100vh - 400px), 480px); }
.pas-ss--live .pas-ss__st { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; pointer-events: none; transform: translateY(-44%) scale(.97); transition: opacity .2s, transform .3s; }
.pas-ss--live .pas-ss__st.is-on { opacity: 1; pointer-events: auto; transform: translateY(-50%); transition: opacity .45s .12s, transform .6s .12s cubic-bezier(.2,.8,.2,1); }
.pas-ss--live .pas-ss__foot { display: flex; align-items: center; gap: 10px 20px; margin-top: 14px; }
.pas-ss--live .pas-ss__bar { display: flex; flex: none; gap: 6px; }
.pas-ss__bar i { width: 26px; height: 5px; border-radius: 4px; background: rgba(8,34,56,.14); transition: background-color .4s; }
.pas-ss__bar i.on { background: var(--pas-amber); }
.pas-ss--live .pas-ss__note { margin: 0; font-size: 13px; line-height: 1.4; max-width: none; }
.pas-ss--live .pas-ss__steps button:not([aria-current]) { padding-right: 4px; }
.pas-ss--live .pas-ss__steps button:not([aria-current]) em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pas-ss--live .pas-ss__steps button:not([aria-current]):hover { border-color: var(--c); }
@media (max-height: 780px) {
  .pas-ss--live .pas-ss__head .hp-kick { display: none; }
  .pas-ss--live .pas-ss__stage { padding-top: 78px; }
  .pas-ss--live .pg-h2 { font-size: 26px; }
  .pas-ss--live .pas-ss__steps { margin-top: 8px; }
  .pas-ss--live .pas-ss__grid { margin-top: 10px; }
  .pas-ss--live .pas-ss__body { height: clamp(210px, calc(100vh - 380px), 360px); }
  .pas-ss--live .pas-ss__list { min-height: clamp(250px, calc(100vh - 360px), 380px); }
  .pas-ss--live .pas-ss__st { padding: 16px 20px; }
  .pas-ss--live .pas-ss__st h3 { font-size: 21px; margin-bottom: 8px; }
  .pas-ss--live .pas-ss__a, .pas-ss--live .pas-ss__b { font-size: 14.5px; line-height: 1.5; }
}
.pas-ss:not(.pas-ss--live) .pas-ss__thread { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; }

/* ---------- 4. signature interactive: plan fit (dark band) ---------- */
.pas-fit__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 36px); margin-top: 30px; align-items: start; }
.pas-fit__ask { display: grid; gap: 22px; padding: clamp(18px, 2.4vw, 28px); border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pas-fit fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pas-fit legend { margin-bottom: 10px; font: 700 14px/1.3 var(--f-body); color: #fff; }
.pas-fit__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pas-fit__types legend { grid-column: 1 / -1; }
.pas-type { position: relative; cursor: pointer; }
.pas-type input, .pas-fit__chips input, .pas-fit__bill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pas-type > span { display: grid; gap: 6px; height: 100%; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.2); color: #DCEAF5; transition: background-color .25s, border-color .25s, transform .25s; }
.pas-type svg { width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: rgba(255,255,255,.1); fill: none; stroke: #9FD6F5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pas-type b { font: 700 15px/1.25 var(--f-display); color: #fff; }
.pas-type small { font-size: 13px; line-height: 1.4; color: #B8CDE0; }
.pas-type input:checked + span { background: rgba(255,184,28,.12); border-color: var(--pas-amber); transform: translateY(-2px); }
.pas-type input:checked + span svg { background: var(--pas-amber); stroke: var(--pas-ink); }
.pas-type input:focus-visible + span, .pas-fit__chips input:focus-visible + span, .pas-fit__bill input:focus-visible + span { outline: 2px solid var(--pas-amber); outline-offset: 2px; }
.pas-fit__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pas-range { display: grid; gap: 8px; font: 600 14px/1.3 var(--f-body); color: #DCEAF5; }
.pas-range > span { display: flex; justify-content: space-between; }
.pas-range output { font: 800 16px/1 var(--f-display); color: var(--pas-amber); }
.pas-range input { width: 100%; accent-color: var(--pas-amber); }
.pas-range.is-off { opacity: .4; }
.pas-fit__chips, .pas-fit__bill { display: flex; flex-wrap: wrap; gap: 8px; }
.pas-fit__chips legend, .pas-fit__bill legend { width: 100%; }
.pas-fit__chips label, .pas-fit__bill label { position: relative; cursor: pointer; }
.pas-fit__chips span, .pas-fit__bill span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); font: 600 13.5px/1.2 var(--f-body); color: #DCEAF5; transition: background-color .2s, color .2s, border-color .2s; }
.pas-fit__chips input:checked + span, .pas-fit__bill input:checked + span { background: #fff; border-color: #fff; color: var(--pas-ink); }
.pas-fit__out { position: sticky; top: 96px; padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; background: #fff; color: var(--pas-body); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.pas-fit__lbl { display: flex; justify-content: space-between; margin: 0 0 12px; font: 700 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pas-muted); }
.pas-fit__lbl em { font-style: normal; padding: 3px 8px; border-radius: 99px; background: var(--pas-paper); letter-spacing: .04em; }
.pas-fit__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pas-fit__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 13px; border-radius: 12px; background: var(--pas-paper); border-left: 4px solid var(--pas-blue); }
.pas-fit__lines li.is-ua { border-left-color: #0D9488; }
.pas-fit__lines li.is-free { border-left-color: var(--pas-green); }
.pas-fit__lines b { font: 700 15px/1.3 var(--f-display); color: var(--pas-ink); }
.pas-fit__lines span { grid-column: 1; font-size: 13px; line-height: 1.4; color: var(--pas-muted); }
.pas-fit__lines i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 800 16px/1 var(--f-display); font-style: normal; color: var(--pas-ink); white-space: nowrap; }
.pas-fit__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; padding-top: 14px; border-top: 1px dashed var(--pas-line); }
.pas-fit__total b { font: 800 38px/1.1 var(--f-display); letter-spacing: -.02em; color: var(--pas-ink); }
.pas-fit__total span { font-size: 14px; color: var(--pas-muted); }
.pas-fit__why { margin: 0 0 12px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.pas-fit__why li + li { margin-top: 4px; }
.pas-fit__note { margin: 0 0 16px; font-size: 13px; line-height: 1.45; color: var(--pas-muted); }
.pas-fit__note:empty { display: none; }
.pas-fit__out.is-flash .pas-fit__total b { animation: pas-flash .5s ease; }
@keyframes pas-flash { 40% { color: var(--pas-blue); transform: translateY(-2px); } }

/* ---------- 5. licence heatmap, pricing, versus ---------- */
.pas-lic .mk-heat, .pas-vs .mk-versus { margin-top: 28px; }
.pas-table th[scope="row"] { white-space: nowrap; }
.pas-fair { margin-top: 22px; max-width: 80ch; }

/* ---------- 6. scope: three cards ---------- */
.pas-scope__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pas-core { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pas-blue); }
.pas-core svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pas-fit__grid { grid-template-columns: minmax(0, 1fr); }
  .pas-fit__out { position: static; }
}
@media (max-width: 960px) {
  .pas-hero .pas-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pas-hero .pas-win { margin-top: 8px; max-width: 620px; }
}
@media (max-width: 900px) {
  .pas-ss__grid { grid-template-columns: minmax(0, 1fr); }
  .pas-ss__chat { max-width: 560px; }
  .pas-scope__grid { grid-template-columns: minmax(0, 1fr); }
  .pas-chip { right: 8px; }
}
@media (max-width: 680px) {
  .pas-grid { grid-template-columns: minmax(0, 1fr); }
  .pas-edge--wide, .pas-grid > .pas-edge--wide:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pas-edge--wide .pas-edge__vis { min-height: 72px; }
  .pas-win__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pas-desk { min-height: 260px; }
  .pas-side { display: none; }
  .pas-dlg { left: 84px; right: 10px; }
  .pas-toast { left: 84px; }
  .pas-win__title { font-size: 11.5px; }
  .pas-chip { display: none; }
  .pas-fit__types { grid-template-columns: minmax(0, 1fr); }
  .pas-fit__nums { grid-template-columns: minmax(0, 1fr); }
  .pas-ss__body { padding: 14px 12px 16px; }
  .pas-ss__m { max-width: 90%; font-size: 14px; }
  .pas-ss__st { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pas-win__rec i, .pas-ss__typing i, .pas-ss__thread > li { animation: none !important; }
  .pas-cur, .pas-toast, .pas-bub--late, .pas-chip, .pas-dlg__prog i, .pas-ss__st, .pas-ss__steps button, .pas-ss__bar i, .pas-type > span { transition: none !important; }
  .pas-fit__out.is-flash .pas-fit__total b { animation: none; }
}
