/* Zoho Analytics page only. Loaded via `extra: crm, p-analytics`. Every class is scoped with .pxa- */
:root { --pxa-red: #E42527; --pxa-ink: #082238; }

/* ---------- hero: dashboard drawing itself + Ask Zia ---------- */
.pxa-hero .pxa-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.pxa-hero .pg-h1 { max-width: 21ch; font-size: clamp(34px, 1rem + 2.3vw, 50px); }
.pxa-hero .crm-sub { max-width: 38ch; }
.pxa-tops { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 580px; }
.pxa-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: #082238; box-shadow: 0 10px 20px -16px rgba(8,34,56,.5); }
.pxa-tops svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 7px; background: #FDE8E8; fill: none; stroke: var(--pxa-red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pxa-dash { position: relative; margin: 70px 0 0; padding: 30px 0 26px; will-change: transform; }
.pxa-dash__ask { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0 18px -18px; padding: 10px 10px 10px 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 40px -26px rgba(8,34,56,.55); }
.pxa-dash__ask > img { flex: none; }
.pxa-dash__q { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font: 500 14px/1.3 var(--f-body); color: #082238; }
.pxa-caret { display: inline-block; width: 2px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--pxa-red); animation: pxaBlink 1s steps(1) infinite; }
.pxa-dash__ask b { flex: none; padding: 7px 12px; border-radius: 9px; background: #FFB81C; font: 700 12.5px/1 var(--f-body); color: #082238; }
@keyframes pxaBlink { 50% { opacity: 0; } }

.pxa-dash__card { position: relative; padding: 34px 20px 20px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 50px 90px -45px rgba(8,34,56,.55); }
.pxa-dash__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.pxa-dash__top b { font: 700 15px/1.2 var(--f-display); color: #082238; }
.pxa-dash__top em, .pxa-mb__top em, .pxa-z__head em, .pxa-z__lbl em, .pxa-board__bar em { padding: 3px 8px; border-radius: 999px; background: #F3F7F9; font: 600 11px/1 var(--f-body); font-style: normal; color: #5B6B7F; }
.pxa-dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pxa-dash__kpis div { padding: 10px; border-radius: 12px; background: #F3F7F9; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
.pxa-dash__kpis div:nth-child(2) { transition-delay: .1s; } .pxa-dash__kpis div:nth-child(3) { transition-delay: .2s; } .pxa-dash__kpis div:nth-child(4) { transition-delay: .3s; }
.pxa-dash__kpis small { display: block; font: 600 10.5px/1.2 var(--f-body); color: #5B6B7F; }
.pxa-dash__kpis b { display: block; margin: 5px 0 3px; font: 800 18px/1 var(--f-display); color: #082238; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pxa-dash__kpis i { font: 600 10.5px/1 var(--f-body); font-style: normal; color: #5B6B7F; }
.pxa-dash__kpis i.up { color: #15803D; } .pxa-dash__kpis i.dn { color: #B45309; }
.pxa-dash__row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: 12px; }
.pxa-dash__row p { margin: 0 0 8px; font: 600 11.5px/1.2 var(--f-body); color: #64748B; }
.pxa-dash__line, .pxa-dash__bars { padding: 12px; border-radius: 12px; border: 1px solid #EDF2F6; }
.pxa-dash__line svg { display: block; width: 100%; height: 120px; overflow: visible; }
.pxa-grid { fill: none; stroke: #EDF2F6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pxa-stroke { fill: none; stroke: #0A6FA8; stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .3s; }
.pxa-area { opacity: 0; transition: opacity .8s 1.4s; }
.pxa-dot { fill: #fff; stroke: #0A6FA8; stroke-width: 2.5; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .3s 1.8s; }
.pxa-dash__bars ul { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 8px; height: 120px; margin: 0; padding: 0; list-style: none; }
.pxa-dash__bars li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.pxa-dash__bars li i { order: 2; width: 100%; max-width: 34px; height: 0; border-radius: 6px 6px 2px 2px; background: #BFD9EE; transition: height .9s cubic-bezier(.2,.8,.2,1), background .4s, box-shadow .4s; }
.pxa-dash__bars li:nth-child(2) i { transition-delay: .1s; } .pxa-dash__bars li:nth-child(3) i { transition-delay: .2s; } .pxa-dash__bars li:nth-child(4) i { transition-delay: .3s; }
.pxa-dash__bars li b { order: 1; margin-bottom: 4px; font: 700 10.5px/1 var(--f-body); color: #082238; opacity: 0; transition: opacity .4s .9s; }
.pxa-dash__bars li span { order: 3; margin-top: 6px; font: 600 10.5px/1 var(--f-body); color: #64748B; }
.pxa-dash__ans { position: absolute; z-index: 3; right: -8px; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: #082238; color: #fff; font: 600 13px/1 var(--f-body); box-shadow: 0 18px 30px -16px rgba(8,34,56,.7); opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .4s, transform .5s cubic-bezier(.2,1.4,.4,1); }
.pxa-dash__ans i { width: 8px; height: 8px; border-radius: 50%; background: #FFB81C; box-shadow: 0 0 0 4px rgba(255,184,28,.25); }
.pxa-dash__sync { position: absolute; z-index: 3; left: -10px; top: 2px; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid #E2E8F0; font: 600 11.5px/1 var(--f-body); color: #15803D; box-shadow: 0 12px 24px -16px rgba(8,34,56,.5); }
.pxa-dash__sync img { width: 16px; height: 16px; }
/* hero states, set by p-analytics.js */
.pxa-dash.is-drawn .pxa-dash__kpis div { opacity: 1; transform: none; }
.pxa-dash.is-drawn .pxa-stroke { stroke-dashoffset: 0; }
.pxa-dash.is-drawn .pxa-area, .pxa-dash.is-drawn .pxa-dot { opacity: 1; }
.pxa-dash.is-drawn .pxa-dash__bars li i { height: calc(var(--h) * .72); }
.pxa-dash.is-drawn .pxa-dash__bars li b { opacity: 1; }
.pxa-dash.is-a-bars .pxa-dash__bars li.is-top i { background: var(--pxa-red); box-shadow: 0 0 0 4px rgba(228,37,39,.15); }
.pxa-dash.is-a-bars .pxa-dash__bars li:not(.is-top) i { background: #DCE7EF; }
.pxa-dash.is-a-line .pxa-dash__line { border-color: #0A6FA8; box-shadow: 0 0 0 3px rgba(10,111,168,.12); }
.pxa-dash.is-a-kpi .pxa-dash__kpis div:nth-child(4) { background: #FFF6DB; box-shadow: 0 0 0 2px #FFB81C inset; }
.pxa-dash.is-ans .pxa-dash__ans { opacity: 1; transform: none; }

/* ---------- 01 Why Zoho Analytics: dashboard of widgets ---------- */
.pxa-edges { position: relative; isolation: isolate; overflow-x: clip; }
.pxa-board { margin-top: 40px; border-radius: 24px; background: #EEF3F7; border: 1px solid #DCE7EF; box-shadow: 0 40px 80px -60px rgba(8,34,56,.55); overflow: hidden; }
.pxa-board__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff; border-bottom: 1px solid #DCE7EF; }
.pxa-board__bar b { font: 700 14px/1 var(--f-display); color: #082238; }
.pxa-board__bar em { margin-left: auto; }
.pxa-board__dots { display: inline-flex; gap: 6px; } .pxa-board__dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; } .pxa-board__dots i:first-child { background: #FCA5A5; } .pxa-board__dots i:nth-child(2) { background: #FCD34D; } .pxa-board__dots i:nth-child(3) { background: #86EFAC; }
.pxa-board__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding: 16px; }
.pxa-w { position: relative; display: flex; flex-direction: column; grid-column: span 2; padding: 0 20px 20px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; transition: transform .35s cubic-bezier(.2,.7,.1,1), box-shadow .35s; }
.pxa-w:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -36px rgba(8,34,56,.5); }
.pxa-w__h { display: flex; align-items: center; justify-content: space-between; margin: 0 -20px 14px; padding: 10px 16px; border-bottom: 1px solid #EDF2F6; font: 700 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #5B6B7F; }
.pxa-w__h i { width: 14px; height: 4px; border-radius: 2px; background: radial-gradient(circle, #CBD5E1 1.5px, transparent 2px) 0 0 / 5px 4px; }
.pxa-w h3 { margin: 16px 0 8px; font: 700 19px/1.25 var(--f-display); letter-spacing: -.01em; color: #082238; }
.pxa-w p { margin: 0; font-size: 15px; line-height: 1.55; color: #334155; }
.pxa-w__chip { align-self: flex-start; margin-top: 14px; padding: 5px 10px; border-radius: 999px; background: #FDE8E8; font: 700 12px/1.2 var(--f-body); color: #A51C1E; }
.pxa-w__chip--vs { background: #FFF1CC; color: #7C4A03; }
.pxa-w__vis { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 14px; border-radius: 12px; background: #F3F7F9; overflow: hidden; }
.pxa-w--zia { grid-column: span 3; grid-row: span 2; }
.pxa-w--zia h3 { font-size: clamp(22px, 1rem + .8vw, 28px); }
.pxa-w--zia p { font-size: 16px; }
.pxa-w--apps, .pxa-w--seats { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); column-gap: 20px; align-items: start; }
.pxa-w--apps .pxa-w__h, .pxa-w--seats .pxa-w__h { grid-column: 1 / -1; }
.pxa-w--apps h3, .pxa-w--seats h3 { margin-top: 0; }
.pxa-w--seats .pxa-w__chip { grid-column: 2; }
/* widget visuals */
.pxa-vz { flex-direction: column; align-items: stretch; gap: 12px; min-height: 230px; padding: 18px; background: linear-gradient(160deg, #FFF7F7, #F3F7F9); }
.pxa-vz__q { position: relative; margin: 0 !important; padding: 11px 14px 11px 36px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; font: 500 14px/1.3 var(--f-body) !important; color: #082238 !important; }
.pxa-vz__q::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid var(--pxa-red); }
.pxa-vz ul { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 12px; height: 110px; margin: 0; padding: 0 8px; list-style: none; }
.pxa-vz li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.pxa-vz li i { width: 100%; max-width: 46px; height: 0; border-radius: 7px 7px 2px 2px; background: #BFD9EE; transition: height 1s cubic-bezier(.2,.8,.2,1); }
.pxa-vz li:first-child i { background: var(--pxa-red); }
.pxa-vz li:nth-child(2) i { transition-delay: .1s; } .pxa-vz li:nth-child(3) i { transition-delay: .2s; } .pxa-vz li:nth-child(4) i { transition-delay: .3s; }
.pxa-vz li span { margin-top: 6px; font: 700 11px/1 var(--f-body); color: #64748B; }
.pxa-in .pxa-vz li i { height: calc(var(--h) * .85); }
.pxa-vz__a { margin: 0 !important; font: 600 12.5px/1.2 var(--f-body) !important; color: #64748B !important; text-align: center; }
.pxa-va { flex-wrap: wrap; align-content: center; gap: 8px; }
.pxa-va img, .pxa-va span { width: 40px; height: 40px; padding: 7px; box-sizing: border-box; border-radius: 10px; background: #fff; border: 1px solid #E2E8F0; }
.pxa-va span { display: grid; place-items: center; padding: 0; font: 800 12px/1 var(--f-display); color: #0A6FA8; }
.pxa-va span:last-child { background: #082238; border-color: #082238; color: #fff; }
.pxa-vs { flex-direction: column; align-items: stretch; gap: 10px; }
.pxa-vs div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
.pxa-vs span { font: 600 11.5px/1.2 var(--f-body); color: #334155; }
.pxa-vs b { font: 800 14px/1 var(--f-display); color: #082238; }
.pxa-vs i { grid-column: 1 / -1; height: 9px; border-radius: 999px; background: #E2E8F0; position: relative; overflow: hidden; }
.pxa-vs i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: #94A3B8; transition: width 1.1s cubic-bezier(.2,.7,.1,1); }
.pxa-vs div:first-child i::before { background: linear-gradient(90deg, #1D3F8F, #00A3D9); }
.pxa-in .pxa-vs i::before { width: var(--w); }
.pxa-vs small { font: 600 10.5px/1 var(--f-body); color: #5B6B7F; }
.pxa-vp span { padding: 8px 9px; border-radius: 9px; background: #fff; border: 1px solid #E2E8F0; font: 700 11.5px/1 var(--f-body); color: #334155; white-space: nowrap; }
.pxa-vp span.is-on { background: #082238; border-color: #082238; color: #fff; }
.pxa-vp i { flex: 1; max-width: 22px; height: 2px; background: repeating-linear-gradient(90deg, #00A3D9 0 4px, transparent 4px 7px); }
.pxa-vf svg { width: 100%; max-width: 200px; height: 70px; overflow: visible; }
.pxa-vf path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pxa-vf .a { stroke: #0A6FA8; } .pxa-vf .f { stroke: #3FB97A; stroke-dasharray: 5 5; }
.pxa-vf circle { fill: #fff; stroke: var(--pxa-red); stroke-width: 2.5; }
.pxa-ve { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px; }
.pxa-ve__url { display: flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 6px; background: #fff; font: 600 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #64748B; }
.pxa-ve__url i { width: 6px; height: 6px; border-radius: 50%; background: #CBD5E1; }
.pxa-ve__url i:nth-child(3) { margin-right: 4px; }
.pxa-ve__logo { align-self: flex-start; padding: 4px 8px; border-radius: 6px; border: 1.5px dashed #94A3B8; font: 700 11px/1 var(--f-body); color: #082238; }
.pxa-ve__bars { display: flex; align-items: flex-end; gap: 5px; height: 30px; }
.pxa-ve__bars i { flex: 1; border-radius: 3px 3px 0 0; background: #BFD9EE; height: 40%; } .pxa-ve__bars i:nth-child(2) { height: 70%; } .pxa-ve__bars i:nth-child(3) { height: 55%; background: #FFB81C; } .pxa-ve__bars i:nth-child(4) { height: 90%; }
.pxa-edges__more { margin: 22px 0 0; max-width: 80ch; font-size: 15.5px; line-height: 1.6; color: #475569; }
.pxa-edges__more a, .pxa-price a:not(.btn) { color: #0A6FA8; font-weight: 600; }
.pxa-w[data-pxa-rv] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.1,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.1,1) var(--d, 0s), box-shadow .35s; }
.pxa-w[data-pxa-rv].pxa-in { opacity: 1; transform: none; }
.pxa-w[data-pxa-rv].pxa-in:hover { transform: translateY(-3px); }

/* ---------- 02 five sources merge into one board ---------- */
.pxa-merge { position: relative; isolation: isolate; overflow-x: clip; background: linear-gradient(180deg, #F3F7F9, #fff); }
.pxa-merge__pin { margin-top: 36px; }
.pxa-merge__stage { display: grid; grid-template-columns: minmax(0, 300px) minmax(60px, 1fr) minmax(0, 480px); align-items: center; }
.pxa-src { align-self: stretch; display: grid; grid-template-rows: repeat(5, 1fr); align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pxa-src__i { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; border-left: 4px solid var(--c); box-shadow: 0 16px 30px -26px rgba(8,34,56,.5); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.pxa-src__i img, .pxa-src__mono { flex: none; width: 28px; height: 28px; }
.pxa-src__i .pxa-src__mono { display: grid; margin: 0; place-items: center; border-radius: 8px; background: #FEF3C7; font: 800 14px/1 var(--f-display); color: #B45309; }
.pxa-src__i b { display: block; font: 700 14.5px/1.2 var(--f-display); color: #082238; }
.pxa-src__i span { display: block; margin-top: 2px; font-size: 13px; color: #64748B; }
.pxa-wires { align-self: stretch; display: block; width: 100%; height: 100%; min-height: 300px; overflow: visible; }
.pxa-wires path { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; }
.pxa-mb { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 40px 80px -50px rgba(8,34,56,.6); }
.pxa-mb__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pxa-mb__top b { font: 700 15px/1 var(--f-display); color: #082238; }
.pxa-mb__top em { margin-left: auto; }
.pxa-mb__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pxa-mb__w { padding: 11px 12px; border-radius: 12px; background: #F7FAFC; border-top: 3px solid var(--c); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.pxa-mb__w small { display: block; font: 600 11px/1.2 var(--f-body); color: #64748B; }
.pxa-mb__w b { display: block; margin: 4px 0 2px; font: 800 20px/1.1 var(--f-display); color: #082238; font-variant-numeric: tabular-nums; }
.pxa-mb__w span { display: block; font-size: 12px; line-height: 1.4; color: #64748B; }
.pxa-mb__w--join { grid-column: 1 / -1; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); border-top-color: #FFB81C; }
.pxa-mb__w--join small, .pxa-mb__w--join span { color: #BFD3E2; } .pxa-mb__w--join b { color: #FFB81C; font-size: 26px; }
.pxa-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.pxa-step { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; font-size: 14px; line-height: 1.5; color: #475569; transition: opacity .4s, border-color .4s, box-shadow .4s; }
.pxa-step b { display: block; margin-bottom: 4px; font: 700 14px/1.3 var(--f-display); color: #082238; }
/* scroll-driven states (JS adds .is-live; without it everything shows) */
.pxa-merge__pin.is-live .pxa-src__i, .pxa-merge__pin.is-live .pxa-mb__w, .pxa-merge__pin.is-live .pxa-step { opacity: .32; }
.pxa-merge__pin.is-live .pxa-src__i { transform: translateX(-8px); }
.pxa-merge__pin.is-live .pxa-wires path { stroke-dashoffset: 1; }
.pxa-merge__pin.is-live .pxa-mb__w { transform: scale(.96); }
.pxa-merge__pin.is-live .is-on { opacity: 1 !important; transform: none !important; }
.pxa-merge__pin.is-live .pxa-src__i.is-on { box-shadow: 0 20px 34px -22px rgba(8,34,56,.55); }
.pxa-merge__pin.is-live .pxa-step.is-now { border-color: #00A3D9; box-shadow: 0 0 0 3px rgba(0,163,217,.12); }

/* ---------- 03 signature: ask a question, get the chart (dark band) ---------- */
.pxa-z { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; margin-top: 36px; }
.pxa-z__side { display: flex; flex-direction: column; gap: 12px; }
.pxa-z__lbl { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 13px/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: #9FE3F5; }
.pxa-z__lbl em { background: rgba(255,255,255,.12); color: #BFD3E2; text-transform: none; letter-spacing: 0; }
.pxa-z__lbl--s { margin-top: 8px; }
.pxa-z__form { display: grid; gap: 10px; }
.pxa-z__input { display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: #fff; }
.pxa-z__input input { flex: 1; min-width: 0; padding: 10px 12px; border: 0; border-radius: 9px; font: 500 15px/1.3 var(--f-body); color: #082238; background: transparent; }
.pxa-z__input input:focus-visible { outline: 2px solid #00A3D9; outline-offset: 0; }
.pxa-z__input .btn { flex: none; padding: 10px 18px; }
.pxa-z__qs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pxa-z__qs button { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #E2EEF6; font: 500 14.5px/1.35 var(--f-body); text-align: left; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.pxa-z__qs button:hover { background: rgba(255,255,255,.12); }
.pxa-z__qs button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #082238; font-weight: 600; }
.pxa-z__qs button:focus-visible, .pxa-z__types button:focus-visible { outline: 2px solid #FFB81C; outline-offset: 2px; }
.pxa-z__out { display: flex; flex-direction: column; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.pxa-z__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pxa-z__title { margin: 0; font: 700 17px/1.25 var(--f-display); color: #082238; }
.pxa-z__types { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 0; padding: 4px; border-radius: 11px; background: #F3F7F9; align-self: flex-start; }
.pxa-z__types button { padding: 7px 13px; border: 0; border-radius: 8px; background: transparent; font: 600 13px/1 var(--f-body); color: #475569; cursor: pointer; }
.pxa-z__types button[aria-pressed="true"] { background: #fff; color: #082238; box-shadow: 0 2px 6px rgba(8,34,56,.12); }
.pxa-z__types button.is-zia::after { content: "Zia"; margin-left: 6px; padding: 2px 5px; border-radius: 5px; background: var(--pxa-red); color: #fff; font-size: 10px; }
.pxa-z__chart { position: relative; height: 250px; margin-top: 14px; }
.pxa-z__chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pxa-z__chart text { font: 600 11px var(--f-body); fill: #64748B; }
.pxa-z__chart .v { font-weight: 700; fill: #082238; }
.pxa-z__chart .gl { stroke: #EDF2F6; stroke-width: 1; }
.pxa-z__chart .ln { fill: none; stroke: #0A6FA8; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: pxaDraw 1s cubic-bezier(.4,0,.2,1) forwards; }
.pxa-z__chart .ln--f { stroke: #3FB97A; stroke-dasharray: 6 6; animation: pxaFade .6s .8s both; stroke-dashoffset: 0; }
.pxa-z__chart .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: pxaGrow .7s cubic-bezier(.2,.8,.2,1) both; }
.pxa-z__chart .bar--h { transform-origin: 0 50%; animation-name: pxaGrowX; }
.pxa-z__chart .seg { animation: pxaFade .5s both; }
.pxa-z__chart .tgt { stroke: #B45309; stroke-width: 1.5; stroke-dasharray: 4 4; }
.pxa-kpi { display: grid; place-content: center; height: 100%; text-align: center; animation: pxaFade .5s both; }
.pxa-kpi small { font: 600 13px/1.2 var(--f-body); color: #64748B; }
.pxa-kpi b { margin: 8px 0; font: 800 clamp(40px, 2rem + 2vw, 64px)/1 var(--f-display); letter-spacing: -.03em; color: #082238; }
.pxa-kpi span { justify-self: center; padding: 5px 10px; border-radius: 999px; background: #DDF4E6; font: 700 13px/1 var(--f-body); color: #15803D; }
.pxa-kpi span.is-dn { background: #FFF1CC; color: #92400E; }
.pxa-z__ans { margin-top: 14px; padding-top: 14px; border-top: 1px solid #EDF2F6; }
.pxa-z__pick { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: #475569; }
.pxa-z__pick.is-off { color: #92400E; }
.pxa-z__say { margin: 0; font: 600 16px/1.5 var(--f-body); color: #082238; }
@keyframes pxaDraw { to { stroke-dashoffset: 0; } }
@keyframes pxaGrow { from { transform: scaleY(0); } }
@keyframes pxaGrowX { from { transform: scaleX(0); } }
@keyframes pxaFade { from { opacity: 0; } }

/* ---------- pricing: plan picker ---------- */
.pxa-price { position: relative; isolation: isolate; overflow-x: clip; }
.pxa-price__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 30px; }
.pxa-price__note { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: #F3F7F9; font-size: 15px; line-height: 1.55; color: #475569; }
.pxa-pp { display: grid; gap: 16px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 40px 80px -56px rgba(8,34,56,.6); }
.pxa-pp__f { margin: 0; padding: 0; border: 0; min-width: 0; }
.pxa-pp__f > label:first-child, .pxa-pp__f legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 10px; padding: 0; font: 700 14.5px/1.3 var(--f-display); color: #082238; }
.pxa-pp__f > label:first-child b { padding: 2px 10px; border-radius: 999px; background: #082238; color: #fff; font: 700 14px/1.4 var(--f-body); }
.pxa-pp input[type="range"] { width: 100%; accent-color: #0A6FA8; }
.pxa-pp fieldset label { display: inline-flex; margin: 0 6px 6px 0; cursor: pointer; }
.pxa-pp fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pxa-pp fieldset span { padding: 8px 12px; border-radius: 10px; border: 1px solid #DCE7EF; background: #F7FAFC; font: 500 13.5px/1.3 var(--f-body); color: #334155; transition: background .2s, border-color .2s, color .2s; }
.pxa-pp fieldset input:checked + span { background: #082238; border-color: #082238; color: #fff; }
.pxa-pp fieldset input:focus-visible + span { outline: 2px solid #00A3D9; outline-offset: 2px; }
.pxa-pp__out { padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); color: #BFD3E2; }
.pxa-pp__lbl { margin: 0; font: 700 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #9FE3F5; }
.pxa-pp__ed { margin: 8px 0 6px; font: 800 22px/1.2 var(--f-display); color: #fff; }
.pxa-pp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; }
.pxa-pp__price b { font: 800 34px/1 var(--f-display); color: #FFB81C; font-variant-numeric: tabular-nums; }
.pxa-pp__price span { font-size: 14px; }
.pxa-pp__math { margin: 8px 0 2px; font-size: 14px; line-height: 1.5; }
.pxa-pp__yr { margin: 0 0 14px; font: 700 14px/1.4 var(--f-body); color: #fff; }
.pxa-table tr.is-pick { outline: 2px solid #FFB81C; outline-offset: -2px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .pxa-merge__stage { grid-template-columns: minmax(0, 260px) minmax(40px, 1fr) minmax(0, 420px); }
}
@media (max-width: 980px) {
  .pxa-hero .pxa-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pxa-dash { max-width: 640px; margin-top: 24px; }
  .pxa-board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxa-w, .pxa-w--zia, .pxa-w--apps, .pxa-w--seats { grid-column: span 1; grid-row: auto; }
  .pxa-w--zia, .pxa-w--apps, .pxa-w--seats { grid-column: 1 / -1; }
  .pxa-merge__stage { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pxa-src { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .pxa-wires { display: none; }
  .pxa-mb { margin-top: 18px; position: relative; }
  .pxa-mb::before { content: ""; position: absolute; left: 50%; top: -18px; width: 2px; height: 18px; background: repeating-linear-gradient(180deg, #00A3D9 0 4px, transparent 4px 7px); }
  .pxa-steps { grid-template-columns: minmax(0, 1fr); }
  .pxa-z, .pxa-price__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pxa-dash__ask { margin-inline: 6px; }
  .pxa-dash__card { padding: 30px 12px 14px; }
  .pxa-dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxa-dash__row { grid-template-columns: 1fr; }
  .pxa-dash__ans { right: 4px; font-size: 12px; }
  .pxa-dash__sync { left: 4px; }
  .pxa-board__grid { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .pxa-w--apps, .pxa-w--seats { grid-template-columns: minmax(0, 1fr); }
  .pxa-w--seats .pxa-w__chip { grid-column: 1; }
  .pxa-w--apps h3, .pxa-w--seats h3 { margin-top: 16px; }
  .pxa-src { grid-template-columns: minmax(0, 1fr); }
  .pxa-z__out { padding: 14px; }
  .pxa-z__chart { height: 220px; }
  .pxa-pp { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pxa-caret { animation: none; }
  .pxa-dash *, .pxa-w, .pxa-w *, .pxa-z__chart *, .pxa-src__i, .pxa-mb__w { transition: none !important; animation: none !important; }
  .pxa-z__chart .ln { stroke-dashoffset: 0; }
}
