/* Zoho FSM page only. Loaded via `extra: crm, p-fsm`. Every class is scoped .pxv- */
.pxv-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pxv-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pxv-map__svg use, .pxv-trip__svg use { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ================= hero: live dispatch map ================= */
.pxv-hero .pxv-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
.pxv-hero .pg-h1 { max-width: 21ch; font-size: clamp(34px, 1rem + 2.3vw, 50px); }
.pxv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 600px; }
.pxv-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 999px; background: #fff; border: 1px solid #D5E6DD; box-shadow: 0 8px 18px -14px rgba(8,34,56,.5); font: 600 13.5px/1.25 var(--f-body); color: #082238; }
.pxv-chips .pxv-ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E7F6EE; color: #089949; box-sizing: border-box; }

.pxv-map { position: relative; margin: 0; padding: 0; perspective: 1400px; }
.pxv-map__frame { position: relative; aspect-ratio: 560 / 420; border-radius: 28px; overflow: hidden; background: #EAF2EF; border: 1px solid #D5E6DD; box-shadow: 0 60px 100px -50px rgba(8,34,56,.55), inset 0 0 0 6px rgba(255,255,255,.55); transform-style: preserve-3d; will-change: transform; }
.pxv-map__svg { display: block; width: 100%; height: 100%; }
.pxv-map__st path { fill: none; stroke: #fff; stroke-width: 9; }
.pxv-map__st--thin path { stroke-width: 4; stroke: rgba(255,255,255,.75); }
.pxv-map__park ellipse { fill: #CDEBD8; }
.pxv-map__wash { fill: none; stroke: #BFE3F2; stroke-width: 8; stroke-linecap: round; }
.pxv-map__fwy { fill: none; stroke: #FFD889; stroke-width: 13; stroke-linecap: round; }
.pxv-map__fwy-l { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 8 8; }
.pxv-map__lbl text { font: 600 11px/1 var(--f-body); fill: #64748B; letter-spacing: .02em; }
.pxv-rt { fill: none; stroke: var(--c); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .85; }
.pxv-rt--main { stroke-width: 5; stroke-dasharray: none; opacity: 1; filter: drop-shadow(0 2px 3px rgba(8,153,73,.35)); }
.pxv-pin path { fill: var(--c); stroke: #fff; stroke-width: 2.5; }
.pxv-pin text { font: 800 12px/1 var(--f-display); fill: #fff; text-anchor: middle; }
.pxv-pin--open path { fill: #94A3B8; }
.pxv-pin__ring { fill: none; stroke: var(--c); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pxvRing 2.4s ease-out infinite; }
@keyframes pxvRing { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
.pxv-van circle { fill: var(--c); stroke: #fff; stroke-width: 3; }
.pxv-van use { color: #fff; }
.pxv-van--main circle { filter: drop-shadow(0 4px 6px rgba(8,34,56,.35)); }

.pxv-eta { position: absolute; bottom: 14px; right: 14px; width: min(260px, 52%); padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.94); border: 1px solid #E2E8F0; box-shadow: 0 22px 40px -24px rgba(8,34,56,.55); backdrop-filter: blur(8px); }
.pxv-eta p { margin: 0; }
.pxv-eta__top { display: flex; align-items: center; gap: 7px; font: 700 12.5px/1.2 var(--f-display); color: #082238; }
.pxv-eta__top em { margin-left: auto; padding: 2px 7px; border-radius: 6px; background: #FFF4D6; color: #8A5A00; font: 600 10.5px/1.3 var(--f-body); font-style: normal; }
.pxv-eta__who { display: flex; align-items: center; gap: 9px; margin-top: 10px !important; }
.pxv-eta__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #089949; color: #fff; font: 800 11px/1 var(--f-display); flex: none; }
.pxv-eta__who b { display: block; font: 700 13px/1.2 var(--f-display); color: #082238; }
.pxv-eta__who small { font: 500 11.5px/1.2 var(--f-body); color: #64748B; }
.pxv-eta__t { margin-left: auto; text-align: right; }
.pxv-eta__t small { display: block; font: 600 10.5px/1 var(--f-body); color: #64748B; text-transform: uppercase; letter-spacing: .06em; }
.pxv-eta__t b { font: 800 18px/1.1 var(--f-display); color: #089949; font-variant-numeric: tabular-nums; }
.pxv-eta__bar { height: 6px; margin-top: 10px; border-radius: 4px; background: #E2E8F0; overflow: hidden; }
.pxv-eta__bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, #3FB97A, #089949); }
.pxv-eta__st { margin-top: 8px !important; font: 500 11.5px/1.3 var(--f-body); color: #334155; }
.pxv-eta.is-here .pxv-eta__t b { color: #0A6FA8; }
.pxv-legend { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 4px; margin: 0; padding: 10px 12px; list-style: none; border-radius: 14px; background: rgba(8,34,56,.88); color: #fff; font: 600 11.5px/1.3 var(--f-body); }
.pxv-legend li { display: flex; align-items: center; gap: 7px; }
.pxv-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.pxv-float { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 12px; background: #082238; color: #fff; font: 600 12.5px/1 var(--f-body); box-shadow: 0 18px 30px -16px rgba(8,34,56,.7); white-space: nowrap; }
.pxv-float .pxv-ic { width: 15px; height: 15px; color: #FFB81C; }
.pxv-float i { width: 8px; height: 8px; border-radius: 50%; background: #3FB97A; box-shadow: 0 0 0 4px rgba(63,185,122,.25); }
.pxv-float--a { left: -18px; top: 42%; }
.pxv-float--b { left: 28px; top: -16px; background: #fff; color: #082238; border: 1px solid #E2E8F0; }

/* ================= 01. edges: work-order tickets ================= */
.pxv-edges { position: relative; isolation: isolate; background: linear-gradient(180deg, #fff, #F3F7F9); overflow-x: clip; }
.pxv-tix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; margin-top: 44px; }
.pxv-tk { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 40px -34px rgba(8,34,56,.45); transition: transform .3s cubic-bezier(.2,.7,.1,1), box-shadow .3s; }
.pxv-tk:nth-child(3n+2) { transform: rotate(.4deg); } .pxv-tk:nth-child(3n) { transform: rotate(-.35deg); }
.pxv-tk:hover { transform: translateY(-4px) rotate(0); box-shadow: 0 34px 50px -30px rgba(8,34,56,.45); }
.pxv-tk::before, .pxv-tk::after { content: ""; position: absolute; left: 49px; width: 18px; height: 18px; border-radius: 50%; background: #F7FAFB; border: 1px solid #E2E8F0; z-index: 2; }
.pxv-tk::before { top: -10px; clip-path: inset(50% 0 0 0); } .pxv-tk::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.pxv-tk__stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 0; border-right: 2px dashed #D9E2EA; border-radius: 18px 0 0 18px; background: color-mix(in srgb, var(--c) 9%, #fff); }
.pxv-tk__stub span, .pxv-tk__stub b { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.pxv-tk__stub span { font: 700 11px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.pxv-tk__stub b { padding: 9px 5px; border-radius: 8px; background: var(--c); color: #fff; font: 700 11px/1 var(--f-body); letter-spacing: .02em; }
.pxv-tk__body { display: flex; flex-direction: column; padding: 18px 20px 20px; min-width: 0; }
.pxv-tk h3 { margin: 16px 0 0; font: 700 clamp(18px, 1rem + .35vw, 21px)/1.28 var(--f-display); letter-spacing: -.01em; color: #082238; }
.pxv-tk__body > p:not(.pxv-vs) { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #334155; }
.pxv-vs { align-self: flex-start; margin: 14px 0 0; padding: 6px 10px; border-radius: 9px; background: #F3F7F9; border: 1px dashed #D3DEE6; font: 600 12.5px/1.35 var(--f-body); color: #64748B; }
/* micro visuals */
.pxv-mv { position: relative; min-height: 82px; border-radius: 14px; background: #F5F8FA; padding: 12px 14px; overflow: hidden; }
.pxv-mv--seats { display: grid; gap: 10px; align-content: center; }
.pxv-mv__ppl { display: flex; }
.pxv-mv__ppl i { display: grid; place-items: center; width: 30px; height: 30px; margin-right: -6px; border-radius: 50%; border: 2px solid #fff; background: #089949; color: #fff; font: 800 9.5px/1 var(--f-display); font-style: normal; animation: pxvPop 6s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .2s); }
.pxv-mv__ppl i:nth-child(2) { background: #0D9488; --n: 1; } .pxv-mv__ppl i:nth-child(3) { background: #2563EB; --n: 2; } .pxv-mv__ppl i:nth-child(4) { background: #7C3AED; --n: 3; } .pxv-mv__ppl i:nth-child(5) { background: #EA580C; --n: 4; } .pxv-mv__ppl i:nth-child(6) { background: #E11D48; --n: 5; } .pxv-mv__ppl i:nth-child(7) { background: #fff; color: #089949; border: 2px dashed #089949; --n: 6; }
@keyframes pxvPop { 0%, 80%, 100% { transform: none; } 88% { transform: translateY(-4px); } }
.pxv-mv__meter em { display: block; font: 600 11px/1 var(--f-body); font-style: normal; color: #64748B; margin-bottom: 6px; }
.pxv-mv__meter i { display: block; height: 8px; border-radius: 6px; background: #E2E8F0; overflow: hidden; }
.pxv-mv__meter b { display: block; height: 100%; width: 64%; border-radius: inherit; background: linear-gradient(90deg, #3FB97A, #089949); transform-origin: left; animation: pxvMeter 6s ease-in-out infinite; }
@keyframes pxvMeter { 0% { transform: scaleX(.2); } 70%, 100% { transform: scaleX(1); } }
.pxv-mv--gantt { display: grid; gap: 7px; align-content: center; }
.pxv-mv--gantt span { position: relative; display: block; height: 16px; padding-left: 52px; }
.pxv-mv--gantt em { position: absolute; left: 0; top: 1px; font: 600 11px/1 var(--f-body); font-style: normal; color: #64748B; }
.pxv-mv--gantt i { position: absolute; top: 0; height: 16px; left: calc(52px + var(--l) * .8); width: calc(var(--w) * .8); border-radius: 5px; background: #2563EB; opacity: .85; }
.pxv-mv--gantt i.is-drag { background: #FFB81C; box-shadow: 0 6px 12px -6px rgba(8,34,56,.6); animation: pxvDrag 5s ease-in-out infinite; }
@keyframes pxvDrag { 0%, 25% { transform: translate(0, 0); } 45%, 75% { transform: translate(-30px, 23px); } 95%, 100% { transform: translate(0, 0); } }
.pxv-mv--app { display: flex; align-items: center; gap: 12px; }
.pxv-mv__ph { display: grid; gap: 5px; width: 74px; padding: 9px 8px; border-radius: 12px; background: #082238; }
.pxv-mv__ph em { font: 700 9.5px/1 var(--f-display); font-style: normal; color: #fff; }
.pxv-mv__ph i { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); }
.pxv-mv__ph i + i { width: 70%; }
.pxv-mv__ph svg { width: 100%; height: 16px; padding: 2px; border-radius: 4px; background: #fff; }
.pxv-mv__ph path { fill: none; stroke: #7C3AED; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; animation: pxvSign 4.5s ease-in-out infinite; }
@keyframes pxvSign { 0% { stroke-dashoffset: 130; } 50%, 100% { stroke-dashoffset: 0; } }
.pxv-mv__ok { padding: 6px 10px; border-radius: 9px; background: #EEE7FE; color: #5B21B6; font: 700 12px/1.2 var(--f-body); }
.pxv-mv--plan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pxv-mv--plan span { display: grid; justify-items: center; gap: 5px; width: 44px; padding: 7px 0; border-radius: 9px; background: #fff; border: 1px solid #E2E8F0; font: 700 11px/1 var(--f-display); color: #082238; }
.pxv-mv--plan span i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #CBD5E1; }
.pxv-mv--plan span i.is-on { border-color: #0D9488; background: #0D9488; box-shadow: 0 0 0 4px rgba(13,148,136,.15); }
.pxv-mv--plan em { font: 600 11.5px/1.2 var(--f-body); font-style: normal; color: #0F766E; }
.pxv-mv--skill { display: flex; flex-wrap: wrap; gap: 6px; align-content: center; }
.pxv-mv--skill span { padding: 6px 9px; border-radius: 8px; background: #fff; border: 1px solid #E2E8F0; font: 600 11.5px/1 var(--f-body); color: #64748B; }
.pxv-mv--skill span.is-on { border-color: #EA580C; color: #9A3412; background: #FFF4EC; }
.pxv-mv--loop { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pxv-mv--loop i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #0A6FA8 0 5px, transparent 5px 9px); background-size: 18px 2px; animation: pxvFlow 1.2s linear infinite; }
@keyframes pxvFlow { to { background-position: 18px 0; } }
.pxv-mv--loop img { flex: none; }

/* ================= 02. one work order on the map ================= */
.pxv-trip { position: relative; isolation: isolate; background: #fff; overflow-x: clip; }
.pxv-trip__stage { margin-top: 36px; }
.pxv-trip__map { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid #E2E8F0; box-shadow: 0 40px 70px -50px rgba(8,34,56,.55); aspect-ratio: 1000 / 440; }
.pxv-trip__svg { display: block; width: 100%; height: 100%; }
.pxv-trip__sig { fill: none; stroke: #0A6FA8; stroke-width: 2.5; stroke-dasharray: 6 7; opacity: .35; }
.pxv-trip__ghost { fill: none; stroke: #CFE9DA; stroke-width: 8; stroke-linecap: round; }
.pxv-trip__rt { fill: none; stroke: #089949; stroke-width: 8; stroke-linecap: round; }
.pxv-trip__place rect, .pxv-trip__place > circle:not(.pxv-trip__pulse) { fill: #fff; stroke: #082238; stroke-width: 2; }
.pxv-trip__place use { color: #082238; }
.pxv-trip__place text { font: 700 14px/1 var(--f-body); fill: #082238; text-anchor: middle; paint-order: stroke; stroke: #F1F6F4; stroke-width: 5px; stroke-linejoin: round; }
.pxv-trip__place--tech > circle:not(.pxv-trip__pulse) { fill: #089949; stroke: #fff; stroke-width: 3; }
.pxv-trip__ini { font: 800 14px/1 var(--f-display) !important; fill: #fff !important; stroke: none !important; }
.pxv-trip__pulse { fill: rgba(8,153,73,.14); stroke: none; transform-box: fill-box; transform-origin: center; animation: pxvRing 2.6s ease-out infinite; }
.pxv-trip__chip rect { fill: #fff; stroke: #D5E6DD; stroke-width: 1.5; }
.pxv-trip__chip use { color: #089949; }
.pxv-trip__chip text { font: 700 13px/1 var(--f-body); fill: #082238; }
.pxv-trip__chip--plan rect { fill: #DDF4EF; stroke: #0D9488; }
.pxv-trip__van circle { fill: #089949; stroke: #fff; stroke-width: 3.5; filter: drop-shadow(0 4px 6px rgba(8,34,56,.35)); }
.pxv-trip__van use { color: #fff; }
.pxv-trip__tag { position: absolute; left: 14px; top: 14px; margin: 0; padding: 4px 9px; border-radius: 7px; background: #FFF4D6; color: #8A5A00; font: 600 11.5px/1.3 var(--f-body); }
.pxv-trip__cap { display: none; }
/* static / mobile: map above, numbered list below */
.pxv-trip__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: trip; }
.pxv-trip__steps li { position: relative; padding: 16px 18px 16px 58px; border-radius: 16px; background: #F7FAFC; border: 1px solid #E2E8F0; counter-increment: trip; }
.pxv-trip__steps li::before { content: counter(trip); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #089949; color: #fff; font: 800 12px/1 var(--f-display); }
.pxv-trip__t { display: inline-block; padding: 3px 8px; border-radius: 6px; background: #082238; color: #fff; font: 700 11.5px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.pxv-trip__steps h3 { margin: 8px 0 4px; font: 700 17.5px/1.3 var(--f-display); color: #082238; }
.pxv-trip__steps p { margin: 0; font-size: 15px; line-height: 1.6; color: #334155; }
/* map highlight states (JS adds .is-live to the stage) */
.pxv-trip__stage.is-live [data-mk] { transition: opacity .4s ease, transform .4s ease; }
.pxv-trip__stage.is-live .pxv-trip__chip { opacity: 0; }
.pxv-trip__stage.is-live .pxv-trip__chip.is-on { opacity: 1; }
.pxv-trip__stage.is-live .pxv-trip__sig { opacity: 0; }
.pxv-trip__stage.is-live .pxv-trip__sig.is-on { opacity: .9; animation: pxvDash 1s linear infinite; }
@keyframes pxvDash { to { stroke-dashoffset: -26; } }
.pxv-trip__stage.is-live .pxv-trip__place { opacity: .55; }
.pxv-trip__stage.is-live .pxv-trip__place.is-on { opacity: 1; }
.pxv-trip__stage.is-live .pxv-trip__pulse { display: none; }
.pxv-trip__stage.is-live .pxv-trip__place.is-on .pxv-trip__pulse { display: block; }
/* pinned desktop mode */
.pxv-trip.is-pin { padding-top: clamp(80px, 9vh, 104px); padding-bottom: 32px; }
.pxv-trip.is-pin .pxv-trip__stage { margin-top: 22px; }
.pxv-trip.is-pin .pxv-trip__map { aspect-ratio: auto; height: clamp(300px, calc(100vh - 480px), 460px); }
.pxv-trip.is-pin .pxv-trip__steps { display: none; }
.pxv-trip.is-pin .pxv-trip__cap { display: block; position: absolute; left: 18px; bottom: 18px; width: min(380px, 38%); padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.96); border: 1px solid #E2E8F0; box-shadow: 0 30px 50px -28px rgba(8,34,56,.55); }
.pxv-trip__cap h3 { margin: 8px 0 4px; font: 700 18px/1.3 var(--f-display); color: #082238; }
.pxv-trip__cap p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #334155; }
.pxv-trip__cap.is-swap { animation: pxvSwap .45s ease; }
@keyframes pxvSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pxv-trip__dots { display: none; }
.pxv-trip.is-pin .pxv-trip__dots { display: flex; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.pxv-trip__dots li { flex: 1; min-width: 0; padding-top: 9px; border-top: 4px solid #E2E8F0; font: 600 12px/1.2 var(--f-body); color: #94A3B8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s, border-color .3s; }
.pxv-trip__dots li.is-past { border-color: #9AD9B4; color: #64748B; }
.pxv-trip__dots li.is-on { border-color: #089949; color: #082238; }

/* ================= 03. dispatch board (dark band) ================= */
.pxv-disp { margin-top: 36px; padding: 18px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.pxv-disp__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 4px 6px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pxv-disp__bar p { margin: 0; }
.pxv-disp__tag { padding: 4px 9px; border-radius: 7px; background: #FFB81C; color: #082238; font: 700 11.5px/1.2 var(--f-body); }
.pxv-disp__kpi { font: 500 13.5px/1.2 var(--f-body); color: rgba(255,255,255,.75); }
.pxv-disp__kpi b { margin-left: 4px; font: 800 17px/1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; }
.pxv-disp__ctl { display: flex; gap: 8px; margin-left: auto; }
.pxv-disp__reset { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 600 14px/1 var(--f-body); cursor: pointer; }
.pxv-disp__reset:hover, .pxv-disp__reset:focus-visible { background: rgba(255,255,255,.1); }
.pxv-disp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; padding-top: 16px; }
.pxv-disp__h { margin: 0 0 10px; font: 700 13px/1.3 var(--f-body); color: rgba(255,255,255,.7); letter-spacing: .02em; }
.pxv-disp__h b { color: #fff; }
.pxv-disp__jl { display: grid; gap: 8px; }
.pxv-job { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.pxv-job:hover { background: rgba(255,255,255,.1); }
.pxv-job.is-on { background: #fff; border-color: #fff; color: #082238; transform: translateX(4px); }
.pxv-job:focus-visible, .pxv-tech__btn:focus-visible, .pxv-seg button:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; }
.pxv-job__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); background: var(--c); color: #fff; font: 800 12px/1 var(--f-display); }
.pxv-job b { display: block; font: 700 14px/1.25 var(--f-display); }
.pxv-job small { display: block; margin-top: 3px; font: 500 12px/1.3 var(--f-body); opacity: .75; }
.pxv-job em { padding: 4px 8px; border-radius: 7px; background: rgba(255,255,255,.12); font: 600 11px/1.2 var(--f-body); font-style: normal; white-space: nowrap; }
.pxv-job.is-on em { background: #F3F7F9; color: #334155; }
.pxv-job.is-done em { background: #3FB97A; color: #062A18; }
.pxv-job.is-bad em { background: #F87171; color: #3B0A0A; }
.pxv-disp__map { margin: 0; }
.pxv-disp__map svg { display: block; width: 100%; height: auto; border-radius: 14px; }
.pxv-disp__map figcaption { margin-top: 8px; font: 500 12px/1.4 var(--f-body); color: rgba(255,255,255,.55); }
.pxv-dm__st path { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 6; }
.pxv-dm__fwy { fill: none; stroke: rgba(255,184,28,.28); stroke-width: 9; stroke-linecap: round; }
.pxv-dm__lbl text { font: 600 10px/1 var(--f-body); fill: rgba(255,255,255,.45); }
.pxv-dm-job path { fill: var(--c); stroke: #0B2E4A; stroke-width: 2; }
.pxv-dm-job text, .pxv-dm-tech text { font: 800 10px/1 var(--f-display); fill: #fff; text-anchor: middle; }
.pxv-dm-job.is-on path { stroke: #fff; stroke-width: 2.5; }
.pxv-dm-job.is-on .pxv-dm__halo { opacity: 1; }
.pxv-dm__halo { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pxvRing 2s ease-out infinite; }
.pxv-dm-tech circle { fill: var(--c); stroke: #0B2E4A; stroke-width: 2.5; }
.pxv-dm-tech.is-busy circle { stroke: #fff; }
.pxv-dm-line { stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: pxvDraw .7s ease forwards; }
.pxv-dm-line.is-bad { stroke: #F87171; stroke-dasharray: 5 6; animation: none; stroke-dashoffset: 0; }
.pxv-dm-hint { stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 3 5; }
@keyframes pxvDraw { to { stroke-dashoffset: 0; } }
.pxv-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 10px; border-radius: 12px; background: rgba(255,255,255,.08); }
.pxv-seg button { padding: 7px 11px; border: 0; border-radius: 9px; background: transparent; color: rgba(255,255,255,.8); font: 600 12.5px/1.2 var(--f-body); cursor: pointer; }
.pxv-seg button.is-on { background: #fff; color: #082238; }
.pxv-disp__tl { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pxv-tech { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.pxv-tech.is-best { border-color: #3FB97A; background: rgba(63,185,122,.12); }
.pxv-tech__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); font: 800 11.5px/1 var(--f-display); }
.pxv-tech b { display: block; font: 700 14px/1.2 var(--f-display); }
.pxv-tech small { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; font: 500 12px/1.3 var(--f-body); color: rgba(255,255,255,.72); }
.pxv-tech .is-ok { color: #86EFAC; } .pxv-tech .is-no { color: #FCA5A5; }
.pxv-tech small .pxv-ic { width: 13px; height: 13px; vertical-align: -2px; }
.pxv-tech__btn { padding: 8px 12px; border-radius: 999px; border: 0; background: #FFB81C; color: #082238; font: 700 12.5px/1 var(--f-body); cursor: pointer; white-space: nowrap; }
.pxv-tech__btn:hover { background: #F0A400; }
.pxv-tech__btn:disabled { background: rgba(255,255,255,.12); color: rgba(255,255,255,.55); cursor: not-allowed; }
.pxv-tech__btn--un { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.pxv-tech__btn--un:hover { background: rgba(255,255,255,.1); }
.pxv-disp__log { margin: 16px 0 0; padding: 13px 16px; border-radius: 14px; background: rgba(0,0,0,.22); font: 500 14.5px/1.55 var(--f-body); color: rgba(255,255,255,.88); min-height: 3.2em; }
.pxv-disp__log b { color: #fff; }
.pxv-disp__log.is-end { background: rgba(63,185,122,.16); border: 1px solid rgba(63,185,122,.45); }
.pxv-disp__note { max-width: 780px; margin: 20px 0 0; font: 500 14.5px/1.6 var(--f-body); color: rgba(255,255,255,.7); }

/* ================= 04. pricing: appointment plan picker ================= */
.pxv-cost { position: relative; isolation: isolate; background: linear-gradient(180deg, #F3F7F9, #fff); overflow-x: clip; }
.pxv-plan { margin-top: 34px; padding: 24px; border-radius: 26px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 40px 70px -50px rgba(8,34,56,.5); }
.pxv-plan__in { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.2fr); gap: 18px 28px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid #E2E8F0; }
.pxv-plan__f { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pxv-plan__f > span, .pxv-plan__f legend { font: 700 13px/1.3 var(--f-body); color: #64748B; letter-spacing: .02em; padding: 0; }
.pxv-plan__f input[type=range] { width: 100%; accent-color: #089949; }
.pxv-plan__f output { font: 800 30px/1 var(--f-display); color: #082238; font-variant-numeric: tabular-nums; }
.pxv-seg--light { background: #F3F7F9; margin: 0; }
.pxv-seg--light button { color: #334155; }
.pxv-seg--light button.is-on { background: #082238; color: #fff; }
.pxv-plan__need legend { margin-bottom: 8px; }
.pxv-plan__need label { display: flex; align-items: center; gap: 9px; font: 500 14.5px/1.35 var(--f-body); color: #082238; cursor: pointer; }
.pxv-plan__need input { width: 18px; height: 18px; accent-color: #089949; flex: none; }
.pxv-plan__eds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.pxv-ed { position: relative; padding: 18px 18px 16px; border-radius: 18px; background: #F7FAFC; border: 1.5px solid #E2E8F0; transition: border-color .25s, background .25s, opacity .25s, transform .25s; }
.pxv-ed p { margin: 0; }
.pxv-ed__n { font: 700 16px/1.2 var(--f-display); color: #082238; }
.pxv-ed__p { margin-top: 10px !important; }
.pxv-ed__p b { display: block; font: 800 34px/1 var(--f-display); color: #082238; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pxv-ed__p span { display: block; margin-top: 5px; font: 500 12.5px/1.35 var(--f-body); color: #64748B; }
.pxv-ed__u { margin-top: 10px !important; display: inline-block; padding: 3px 8px; border-radius: 6px; background: #E7F6EE; color: #087A3B; font: 600 11.5px/1.3 var(--f-body); }
.pxv-ed__w { margin-top: 10px !important; font: 400 13.5px/1.5 var(--f-body); color: #334155; }
.pxv-ed.is-pick { border-color: #089949; background: #fff; box-shadow: 0 24px 40px -28px rgba(8,153,73,.55); transform: translateY(-4px); }
.pxv-ed.is-pick::before { content: "Our pick for you"; position: absolute; top: -11px; left: 16px; padding: 3px 9px; border-radius: 6px; background: #089949; color: #fff; font: 700 11px/1.3 var(--f-body); }
.pxv-ed.is-off { opacity: .45; }
.pxv-plan__out { margin-top: 18px; padding: 13px 16px; border-radius: 14px; background: #F3F7F9; font: 500 15px/1.5 var(--f-body); color: #082238; }
.pxv-plan__out b { font-weight: 800; }
.pxv-plan__tbl { margin-top: 26px; }

/* ================= responsive ================= */
@media (max-width: 1180px) {
  .pxv-tix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxv-disp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pxv-disp__map { grid-column: 1 / -1; grid-row: 1; max-width: 560px; }
  .pxv-plan__eds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxv-plan__in { grid-template-columns: minmax(0, 1fr) auto; }
  .pxv-plan__need { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .pxv-hero .pxv-hero__grid { grid-template-columns: 1fr; }
  .pxv-map { max-width: 640px; }
  .pxv-float--a { left: 10px; top: auto; bottom: 64px; }
}
@media (max-width: 760px) {
  .pxv-trip__steps { grid-template-columns: 1fr; }
  .pxv-disp__grid { grid-template-columns: 1fr; }
  .pxv-disp__ctl { margin-left: 0; width: 100%; }
  .pxv-disp__ctl .btn { flex: 1; justify-content: center; }
}
@media (max-width: 640px) {
  .pxv-tix { grid-template-columns: 1fr; }
  .pxv-tk:nth-child(n) { transform: none; }
  .pxv-map__frame { aspect-ratio: 4 / 4.2; border-radius: 22px; }
  .pxv-eta { bottom: 10px; right: 10px; width: 64%; padding: 10px 12px; }
  .pxv-legend { left: 10px; top: 10px; bottom: auto; font-size: 11px; }
  .pxv-float--a { display: none; }
  .pxv-float--b { display: none; }
  .pxv-plan { padding: 18px 14px; }
  .pxv-plan__in { grid-template-columns: 1fr; }
  .pxv-plan__eds { grid-template-columns: 1fr; }
  .pxv-disp { padding: 14px 12px; }
  .pxv-job { grid-template-columns: 28px minmax(0, 1fr); }
  .pxv-job em { grid-column: 2; justify-self: start; }
  .pxv-chips li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pxv-pin__ring, .pxv-trip__pulse, .pxv-dm__halo, .pxv-mv *, .pxv-trip__sig { animation: none !important; }
  .pxv-mv__ph path { stroke-dashoffset: 0; }
  .pxv-dm-line { animation: none; stroke-dashoffset: 0; }
  .pxv-tk, .pxv-ed, .pxv-job { transition: none; }
}
