/* Zoho HR & Payroll bundle page only. Every class is scoped with .pxhr- (loaded via extra: crm, p-zoho-hr-payroll). */
:root { --pxhr-ink: #082238; --pxhr-body: #334155; --pxhr-muted: #64748B; --pxhr-line: #E2E8F0; --pxhr-paper: #F3F7F9; --pxhr-blue: #00A3D9; --pxhr-link: #0A6FA8; --pxhr-green: #1E9E62; --pxhr-amber: #FFB81C; }

/* ---------- 1. hero: relay ---------- */
.pxhr-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.pxhr-hero .pg-h1 { max-width: 20ch; font-size: clamp(34px, 1.1rem + 2.5vw, 52px); }
.pxhr-hero .pg-lead { font-size: 17px; }

.pxhr-relay { position: relative; margin: 0; padding: 20px; border-radius: 26px; background: rgba(255,255,255,.86); border: 1px solid var(--pxhr-line); box-shadow: 0 50px 90px -50px rgba(8,34,56,.5), 0 14px 30px -24px rgba(8,34,56,.3); }
.pxhr-relay__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 0 4px 14px; border-bottom: 1px solid var(--pxhr-line); }
.pxhr-relay__top b { font: 800 15px/1.2 var(--f-display); color: var(--pxhr-ink); }
.pxhr-relay__top span { font-size: 12.5px; color: var(--pxhr-muted); }
.pxhr-relay__top em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #FFF4D6; color: #8A5A00; }
.pxhr-lanes { position: relative; margin-top: 14px; }
.pxhr-lanes__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pxhr-lane { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 10px; }
.pxhr-lane__app { display: flex; align-items: center; gap: 8px; font: 700 14px/1 var(--f-display); color: var(--pxhr-ink); }
.pxhr-lane__app img { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--pxhr-line); }
.pxhr-lane__track { position: relative; display: flex; align-items: center; justify-content: center; height: 58px; border-radius: 14px;
  background: repeating-linear-gradient(90deg, rgba(8,34,56,.08) 0 10px, transparent 10px 18px) 0 50% / 100% 2px no-repeat, var(--pxhr-paper);
  transition: background-color .5s, box-shadow .5s; }
.pxhr-lane.is-done .pxhr-lane__track { background-color: color-mix(in srgb, var(--c) 9%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 40%, transparent); }
.pxhr-lane.is-live .pxhr-lane__track { box-shadow: inset 0 0 0 1.5px var(--c); }
.pxhr-lane__tag { position: relative; z-index: 0; padding: 6px 10px; border-radius: 99px; background: #fff; box-shadow: 0 6px 14px -10px rgba(8,34,56,.5); font: 600 12px/1.2 var(--f-body); font-style: normal; color: var(--pxhr-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 92%; opacity: 0; transform: scale(.85); transition: opacity .4s, transform .4s; }
.pxhr-lane__tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--c); vertical-align: 1px; }
.pxhr-lane.is-done .pxhr-lane__tag { opacity: 1; transform: none; }
.pxhr-baton { position: absolute; left: 0; top: 0; z-index: 2; width: 150px; padding: 7px 11px; border-radius: 12px; background: var(--pxhr-ink); color: #fff; box-shadow: 0 16px 30px -14px rgba(8,34,56,.8); transform: translate3d(var(--x, 114px), var(--y, 8px), 0); transition: transform .95s cubic-bezier(.55,.05,.3,1), opacity .4s; will-change: transform; pointer-events: none; }
.pxhr-baton small { display: block; font-size: 10.5px; color: #9FC0D8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pxhr-baton b { display: block; font: 700 13px/1.25 var(--f-display); }
.pxhr-baton::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--pxhr-amber); box-shadow: 0 0 0 4px rgba(255,184,28,.25); }
.pxhr-baton.is-hide { opacity: 0; }
.pxhr-check { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--pxhr-line); box-shadow: 0 24px 40px -30px rgba(8,34,56,.5); font-variant-numeric: tabular-nums; transition: opacity .6s, transform .6s; }
.pxhr-js .pxhr-check { opacity: .18; transform: translateY(8px); }
.pxhr-js .pxhr-check.is-on { opacity: 1; transform: none; }
.pxhr-check__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-bottom: 8px; border-bottom: 2px solid var(--pxhr-ink); }
.pxhr-check__head b { font: 800 14.5px/1.2 var(--f-display); color: var(--pxhr-ink); }
.pxhr-check__head span { margin-left: auto; font-size: 12px; color: var(--pxhr-muted); }
.pxhr-check__rows { margin: 6px 0 0; }
.pxhr-check__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--pxhr-line); }
.pxhr-check__rows dt { font-size: 13px; color: var(--pxhr-body); }
.pxhr-check__rows dt small { display: block; font-size: 11.5px; color: var(--pxhr-muted); }
.pxhr-check__rows dd { margin: 0; font: 700 13.5px/1.2 var(--f-display); color: var(--pxhr-ink); white-space: nowrap; }
.pxhr-check__rows .is-net { border-bottom: 0; }
.pxhr-check__rows .is-net dt { font-weight: 700; color: var(--pxhr-ink); }
.pxhr-check__rows .is-net dd { font-size: 18px; color: var(--pxhr-green); }
.pxhr-check__stamp { display: inline-block; margin: 6px 0 0; padding: 4px 10px; border-radius: 8px; border: 1.5px solid var(--pxhr-green); color: var(--pxhr-green); font: 800 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-3deg); }
.pxhr-replay { margin-top: 12px; padding: 8px 14px; border: 1px solid var(--pxhr-line); border-radius: 99px; background: #fff; font: 600 13px/1 var(--f-body); color: var(--pxhr-link); cursor: pointer; }
.pxhr-replay:hover { border-color: var(--pxhr-blue); }
.pxhr-replay:focus-visible, .pxhr-tabs__bar button:focus-visible, .pxhr-cal__tabs button:focus-visible, .pxhr-access__roles button:focus-visible, .pxhr-sw button:focus-visible { outline: 2px solid var(--pxhr-blue); outline-offset: 2px; }

/* ---------- 2. hand-off cards ---------- */
.pxhr-hand__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: none; }
.pxhr-hand__card { position: relative; padding: 22px 22px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--pxhr-line); border-top: 4px solid var(--c); box-shadow: 0 24px 50px -42px rgba(8,34,56,.55); }
.pxhr-hand__card:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 44px; z-index: 1; width: 12px; height: 12px; border-top: 2.5px solid var(--c); border-right: 2.5px solid var(--c); transform: rotate(45deg); }
.pxhr-hand__n { position: absolute; right: 18px; top: 14px; margin: 0; font: 800 40px/1 var(--f-display); color: var(--bg); -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 30%, transparent); }
.pxhr-hand__card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 18px/1.25 var(--f-display); }
.pxhr-hand__card h3 img { padding: 5px; border-radius: 10px; background: var(--bg); }
.pxhr-hand__card h3 a { color: var(--pxhr-ink); text-decoration: none; }
.pxhr-hand__card h3 a:hover { color: var(--pxhr-link); }
.pxhr-hand__k { margin: 12px 0 2px !important; font: 700 11.5px/1.2 var(--f-body) !important; letter-spacing: .07em; text-transform: uppercase; color: var(--c) !important; }
.pxhr-hand__card p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- 3. 30-day calendar strip ---------- */
.pxhr-cal { margin-top: 36px; padding: clamp(18px, 2.4vw, 28px); border-radius: 26px; background: #fff; border: 1px solid var(--pxhr-line); box-shadow: 0 34px 70px -56px rgba(8,34,56,.6); }
.pxhr-cal__scroll { overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pxhr-cal__days { position: relative; display: grid; grid-template-columns: repeat(30, minmax(30px, 1fr)); gap: 4px; min-width: 960px; margin: 0; padding: 22px 0 0; list-style: none; }
.pxhr-cal__days li { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 0 10px; border-radius: 10px; background: var(--pxhr-paper); font: 600 13px/1 var(--f-display); color: var(--pxhr-ink); transition: background-color .35s, color .35s, transform .35s; }
.pxhr-cal__days li small { font: 600 10px/1 var(--f-body); color: var(--pxhr-muted); text-transform: uppercase; letter-spacing: .04em; }
.pxhr-cal__days li.is-we { background: transparent; color: #94A3B8; }
.pxhr-cal__days li.is-past { background: #E3F4FB; }
.pxhr-cal__days li.is-ev { cursor: pointer; box-shadow: inset 0 -3px 0 var(--c); }
.pxhr-cal__days li.is-ev::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--c); }
.pxhr-cal__days li.is-sel { background: var(--c); color: #fff; transform: translateY(-4px); }
.pxhr-cal__days li.is-sel small { color: rgba(255,255,255,.85); }
.pxhr-cal__days li i { position: absolute; left: 2px; top: -20px; font: 700 11px/1 var(--f-body); font-style: normal; color: var(--pxhr-muted); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.pxhr-cal__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.pxhr-cal__tabs button { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--pxhr-line); border-left: 4px solid var(--c); border-radius: 14px; background: #fff; text-align: left; font: 500 14px/1.3 var(--f-body); color: var(--pxhr-body); cursor: pointer; transition: box-shadow .25s, transform .25s; }
.pxhr-cal__tabs button b { font: 700 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.pxhr-cal__tabs button[aria-selected="true"] { background: color-mix(in srgb, var(--c) 8%, #fff); box-shadow: 0 16px 30px -22px rgba(8,34,56,.6); transform: translateY(-2px); color: var(--pxhr-ink); font-weight: 600; }
.pxhr-cal__panels { margin-top: 18px; }
.pxhr-cal__panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 8px 32px; padding: 22px 24px; border-radius: 18px; background: var(--pxhr-paper); }
.pxhr-cal__panel[hidden] { display: none; }
.pxhr-cal__when { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0; font: 600 13.5px/1.2 var(--f-body); color: var(--pxhr-link); }
.pxhr-cal__panel h3 { grid-column: 1; margin: 4px 0 0; font: 700 21px/1.25 var(--f-display); color: var(--pxhr-ink); }
.pxhr-cal__panel > p:not(.pxhr-cal__when) { grid-column: 1; margin: 0; font-size: 16px; line-height: 1.65; }
.pxhr-cal__who { grid-column: 2; grid-row: 2 / span 2; display: grid; gap: 10px; align-content: start; margin: 4px 0 0; }
.pxhr-cal__who div { padding: 12px 14px; border-radius: 12px; background: #fff; }
.pxhr-cal__who dt { font: 600 11.5px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--pxhr-muted); }
.pxhr-cal__who dd { margin: 4px 0 0; font: 700 15px/1.3 var(--f-display); color: var(--pxhr-ink); }
.pxhr-cal__note { margin: 14px 0 0; font-size: 13.5px; color: var(--pxhr-muted); }

/* ---------- 4. payday checker (dark band) ---------- */
.pxhr-pay__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 3vw, 40px); margin-top: 36px; align-items: start; }
.pxhr-pay__form { display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pxhr-field { display: grid; gap: 10px; }
.pxhr-field > span { display: flex; justify-content: space-between; gap: 10px; font: 600 14.5px/1.3 var(--f-body); color: #fff; }
.pxhr-field output { font: 800 17px/1 var(--f-display); color: #5FD3F3; }
.pxhr-field input[type="range"] { width: 100%; accent-color: var(--pxhr-amber); }
.pxhr-field--light > span { color: var(--pxhr-ink); }
.pxhr-field--light output { color: var(--pxhr-link); }
.pxhr-field--light input[type="range"] { accent-color: var(--pxhr-blue); }
.pxhr-seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.pxhr-seg legend { margin-bottom: 8px; padding: 0; font: 600 14.5px/1.3 var(--f-body); color: #fff; }
.pxhr-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.pxhr-seg legend { flex: 0 0 100%; }
.pxhr-seg label { position: relative; }
.pxhr-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pxhr-seg span { display: inline-block; padding: 9px 13px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); font: 600 13.5px/1 var(--f-body); color: #D7E6F0; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pxhr-seg input:checked + span { background: var(--pxhr-amber); border-color: var(--pxhr-amber); color: var(--pxhr-ink); }
.pxhr-seg input:focus-visible + span { outline: 2px solid #5FD3F3; outline-offset: 2px; }
.pxhr-pay__out { padding: 24px; border-radius: 22px; background: #fff; color: var(--pxhr-body); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); min-width: 0; }
.pxhr-pay__score { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--pxhr-line); }
.pxhr-pay__score p { margin: 0; display: flex; align-items: center; gap: 12px; }
.pxhr-pay__score b { font: 800 44px/1 var(--f-display); color: #C2410C; transition: color .3s; }
.pxhr-pay__score b.is-ok { color: var(--pxhr-green); }
.pxhr-pay__score span { max-width: 22ch; font: 600 15px/1.35 var(--f-display); color: var(--pxhr-ink); }
.pxhr-pay__yr { font-size: 13.5px; color: var(--pxhr-muted); max-width: 30ch; }
.pxhr-pay__list { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.pxhr-pay__list th { padding: 8px 8px; text-align: left; font: 700 11.5px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--pxhr-muted); }
.pxhr-pay__list td { padding: 10px 8px; vertical-align: top; border-top: 1px solid var(--pxhr-line); }
.pxhr-pay__list td:first-child { font: 700 14px/1.35 var(--f-display); color: var(--pxhr-ink); white-space: nowrap; }
.pxhr-pay__list td:first-child::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #F59E0B; vertical-align: 1px; }
.pxhr-pay__list tr.is-na td:first-child::before { background: #CBD5E1; }
.pxhr-pay__list tr.is-na td { color: #94A3B8; }
.pxhr-pay__list td:nth-child(2) { color: #9A3412; }
.pxhr-pay__list td:nth-child(3) { color: #166534; }
.pxhr-pay__list tr.is-na td:nth-child(2), .pxhr-pay__list tr.is-na td:nth-child(3) { color: #94A3B8; }
.pxhr-pay__h { margin: 16px 0 8px; font: 700 12px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--pxhr-muted); }
.pxhr-pay__apps ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pxhr-pay__apps li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 10px; background: var(--pxhr-paper); font: 600 13.5px/1.25 var(--f-body); color: var(--pxhr-ink); }
.pxhr-pay__apps li img { width: 18px; height: 18px; }
.pxhr-pay__apps li em { font-style: normal; font-weight: 500; color: var(--pxhr-muted); }
.pxhr-pay__send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.pxhr-pay__send span { font-size: 13.5px; color: var(--pxhr-muted); }

/* ---------- 5. apps tabs (+ shared tab bar) ---------- */
.pxhr-tabs { margin-top: 32px; }
.pxhr-tabs__bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: var(--pxhr-paper); border: 1px solid var(--pxhr-line); width: fit-content; max-width: 100%; }
.pxhr-tabs__bar button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 12px; background: transparent; font: 600 14.5px/1 var(--f-body); color: var(--pxhr-body); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.pxhr-tabs__bar button[aria-selected="true"] { background: #fff; color: var(--pxhr-ink); box-shadow: 0 8px 18px -12px rgba(8,34,56,.6); }
.pxhr-app { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(22px, 3vw, 44px); margin-top: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--pxhr-line); box-shadow: 0 30px 60px -50px rgba(8,34,56,.6); }
.pxhr-app[hidden] { display: none; }
.pxhr-app h3 { margin: 0 0 8px; font: 700 22px/1.25 var(--f-display); color: var(--pxhr-ink); }
.pxhr-app p { margin: 0; font-size: 16px; line-height: 1.6; }
.pxhr-app ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pxhr-app li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.45; }
.pxhr-app li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--pxhr-green); border-bottom: 2px solid var(--pxhr-green); transform: rotate(-45deg); }
.pxhr-app__price { display: grid; gap: 10px; align-content: start; margin: 0; }
.pxhr-app__price div { padding: 14px 16px; border-radius: 14px; background: var(--pxhr-paper); }
.pxhr-app__price dt { font: 600 13px/1.3 var(--f-body); color: var(--pxhr-muted); }
.pxhr-app__price dd { margin: 4px 0 0; font: 500 14px/1.35 var(--f-body); color: var(--pxhr-ink); }
.pxhr-app__price dd b { font: 800 26px/1 var(--f-display); letter-spacing: -.02em; }

/* ---------- 6. compliance ---------- */
.pxhr-law__states { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(140deg, #F0F7FD, #EEF8F3); border: 1px solid #DCEBF3; }
.pxhr-law__st { display: inline-grid; gap: 2px; padding: 8px 14px; border-radius: 12px; background: #fff; font-size: 12.5px; color: var(--pxhr-muted); box-shadow: 0 8px 16px -12px rgba(8,34,56,.5); }
.pxhr-law__st b { font: 800 18px/1 var(--f-display); color: var(--pxhr-ink); }
.pxhr-law__states i { width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--pxhr-blue) 0 5px, transparent 5px 9px); }
.pxhr-law__states p { flex: 1 1 260px; margin: 0 0 0 8px; font-size: 15px; line-height: 1.5; }
.pxhr-law__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.pxhr-law__col { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--pxhr-line); }
.pxhr-law__col.is-zoho { border-color: color-mix(in srgb, var(--pxhr-green) 40%, #fff); box-shadow: 0 26px 50px -44px rgba(30,158,98,.8); }
.pxhr-law__col h3 { margin: 0 0 12px; font: 700 18.5px/1.3 var(--f-display); color: var(--pxhr-ink); }
.pxhr-law__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pxhr-law__col li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; }
.pxhr-law__col li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #E2E8F0; }
.pxhr-law__col.is-zoho li::before { background: #D5F2E2; box-shadow: inset 0 0 0 5px #D5F2E2, inset 0 0 0 8px var(--pxhr-green); }
.pxhr-law__col:not(.is-zoho) li::before { background: #fff; box-shadow: inset 0 0 0 2px #94A3B8; }

/* ---------- 7. access matrix ---------- */
.pxhr-access__roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pxhr-access__roles button { padding: 9px 15px; border-radius: 99px; border: 1.5px solid #CFE2EE; background: #fff; font: 600 14px/1 var(--f-body); color: var(--pxhr-ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pxhr-access__roles button[aria-pressed="true"] { background: var(--pxhr-ink); border-color: var(--pxhr-ink); color: #fff; }
.pxhr-access__say { min-height: 1.6em; margin: 14px 0 0; font-size: 15.5px; color: var(--pxhr-ink); }
.pxhr-access__wrap { margin-top: 12px; overflow-x: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--pxhr-line), 0 26px 50px -44px rgba(8,34,56,.55); background: #fff; }
.pxhr-access__t { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.pxhr-access__t th, .pxhr-access__t td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--pxhr-line); transition: background-color .25s, opacity .25s; }
.pxhr-access__t thead th { font: 700 12.5px/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--pxhr-muted); background: var(--pxhr-paper); }
.pxhr-access__t tbody th { font: 600 14.5px/1.3 var(--f-display); color: var(--pxhr-ink); white-space: nowrap; }
.pxhr-access__t tbody tr:last-child > * { border-bottom: 0; }
.pxhr-access__t td { font-weight: 600; white-space: nowrap; }
.pxhr-access__t td::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }
.pxhr-access__t td[data-v="full"]::before { background: #0A6FA8; }
.pxhr-access__t td[data-v="view"]::before { background: #7CC6E6; }
.pxhr-access__t td[data-v="team"]::before { background: #3FB97A; }
.pxhr-access__t td[data-v="self"]::before { background: #FFB81C; }
.pxhr-access__t td[data-v="none"] { color: #94A3B8; font-weight: 500; }
.pxhr-access__t td[data-v="none"]::before { background: #E2E8F0; }
.pxhr-access__t.has-role td:not(.is-col), .pxhr-access__t.has-role thead th:not(.is-col):not(:first-child) { opacity: .38; }
.pxhr-access__t .is-col { background: #EEF8FD; opacity: 1; }
.pxhr-access__t thead .is-col { background: #DDF0FA; color: var(--pxhr-ink); }

/* ---------- 8. connections + moving from ---------- */
.pxhr-connect__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.pxhr-connect__cards li { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--pxhr-line); }
.pxhr-connect__cards img, .pxhr-connect__mono { width: 34px; height: 34px; }
.pxhr-connect__mono { display: grid; place-items: center; border-radius: 10px; background: #E9F7EF; color: var(--pxhr-green); font: 800 18px/1 var(--f-display); }
.pxhr-connect__cards h3 { margin: 12px 0 6px; font: 700 18px/1.3 var(--f-display); color: var(--pxhr-ink); }
.pxhr-connect__cards h3 a { color: inherit; text-decoration: none; }
.pxhr-connect__cards h3 a:hover { color: var(--pxhr-link); }
.pxhr-connect__cards p { margin: 0; font-size: 15px; line-height: 1.6; }
.pxhr-from { margin-top: 36px; padding: clamp(20px, 2.6vw, 28px); border-radius: 24px; background: linear-gradient(140deg, #F0F7FD, #F6FBF8); border: 1px solid #DCEBF3; }
.pxhr-from__q { margin: 0 0 10px; font: 700 13px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pxhr-muted); }
.pxhr-from .pxhr-tabs__bar { background: #fff; }
.pxhr-from .pxhr-tabs__bar button[aria-selected="true"] { background: var(--pxhr-ink); color: #fff; }
.pxhr-from__p { margin-top: 16px; }
.pxhr-from__p[hidden] { display: none; }
.pxhr-from__p dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.pxhr-from__p dl div { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--pxhr-line); }
.pxhr-from__p dt { font: 700 11.5px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pxhr-link); }
.pxhr-from__p dd { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--pxhr-ink); }

/* ---------- 9. licence calculator ---------- */
.pxhr-calc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 36px); margin-top: 32px; padding: clamp(20px, 2.6vw, 30px); border-radius: 26px; background: #fff; border: 1px solid var(--pxhr-line); box-shadow: 0 34px 70px -56px rgba(8,34,56,.6); }
.pxhr-calc__in { display: grid; gap: 18px; align-content: start; }
.pxhr-sw { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--pxhr-paper); border: 1px solid var(--pxhr-line); width: fit-content; max-width: 100%; }
.pxhr-sw button { padding: 9px 14px; border: 0; border-radius: 10px; background: transparent; font: 600 13.5px/1 var(--f-body); color: var(--pxhr-body); cursor: pointer; }
.pxhr-sw button[aria-pressed="true"] { background: #fff; color: var(--pxhr-ink); box-shadow: 0 6px 14px -10px rgba(8,34,56,.6); }
.pxhr-calc__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.pxhr-calc__col { position: relative; padding: 20px; border-radius: 18px; background: var(--pxhr-paper); border: 1.5px solid transparent; transition: border-color .3s, background-color .3s; }
.pxhr-calc__col.is-win { background: #F0FAF5; border-color: var(--pxhr-green); }
.pxhr-calc__h { margin: 0 0 10px; font: 700 15.5px/1.3 var(--f-display); color: var(--pxhr-ink); }
.pxhr-calc__col ul { display: grid; gap: 7px; margin: 0; padding: 0 0 12px; list-style: none; border-bottom: 1px dashed #CBD5E1; }
.pxhr-calc__col li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; line-height: 1.4; }
.pxhr-calc__col li b { flex: none; font-weight: 700; color: var(--pxhr-ink); font-variant-numeric: tabular-nums; }
.pxhr-calc__tot { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 0; }
.pxhr-calc__tot b { font: 800 34px/1 var(--f-display); letter-spacing: -.02em; color: var(--pxhr-ink); font-variant-numeric: tabular-nums; }
.pxhr-calc__tot span { font-size: 14px; color: var(--pxhr-muted); }
.pxhr-calc__yr { margin: 4px 0 0; font-size: 13.5px; color: var(--pxhr-muted); }
.pxhr-calc__win { position: absolute; top: -11px; right: 14px; padding: 4px 10px; border-radius: 99px; background: var(--pxhr-green); color: #fff; font: 700 11.5px/1.2 var(--f-body); font-style: normal; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.pxhr-calc__col.is-win .pxhr-calc__win { opacity: 1; transform: none; }
.pxhr-calc__note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--pxhr-body); }

/* ---------- 10. packages ---------- */
.pxhr-pk__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; align-items: stretch; }
.pxhr-pk__card { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--pxhr-line); box-shadow: 0 24px 50px -42px rgba(8,34,56,.55); }
.pxhr-pk__card.is-pick { border: 0; box-shadow: 0 0 0 2px var(--pxhr-blue), 0 34px 60px -36px rgba(10,111,168,.55); }
.pxhr-pk__flag { position: absolute; top: -13px; left: 22px; margin: 0; padding: 5px 12px; border-radius: 99px; background: var(--pxhr-amber); color: var(--pxhr-ink); font: 700 12px/1.2 var(--f-body); }
.pxhr-pk__lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 0 0 16px; }
.pxhr-pk__lanes i { height: 6px; border-radius: 3px; background: var(--c); }
.pxhr-pk__lanes i.is-off { background: #E2E8F0; }
.pxhr-pk__card h3 { margin: 0; font: 700 21px/1.25 var(--f-display); color: var(--pxhr-ink); }
.pxhr-pk__for { margin: 6px 0 0; font-size: 14.5px; color: var(--pxhr-muted); }
.pxhr-pk__card ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--pxhr-line); list-style: none; flex: 1; align-content: start; }
.pxhr-pk__card li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; }
.pxhr-pk__card li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 5px; border-left: 2px solid var(--pxhr-blue); border-bottom: 2px solid var(--pxhr-blue); transform: rotate(-45deg); }
.pxhr-pk__fee { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--pxhr-paper); font: 600 14.5px/1.45 var(--f-body); color: var(--pxhr-ink); }

/* ---------- 11. rollout ---------- */
.pxhr-roll__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: pxhr; }
.pxhr-roll__list li { position: relative; display: grid; gap: 6px; align-content: start; padding: 46px 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--pxhr-line); counter-increment: pxhr; }
.pxhr-roll__list li::before { content: counter(pxhr, decimal-leading-zero); position: absolute; left: 14px; top: 14px; font: 800 15px/1 var(--f-display); color: var(--pxhr-blue); }
.pxhr-roll__list li.is-key { background: #F0FAF5; border-color: color-mix(in srgb, var(--pxhr-green) 45%, #fff); }
.pxhr-roll__list li.is-key::before { color: var(--pxhr-green); }
.pxhr-roll__list b { font: 700 15px/1.3 var(--f-display); color: var(--pxhr-ink); }
.pxhr-roll__list span { font-size: 13.5px; line-height: 1.5; }

/* ---------- 12. industries ---------- */
.pxhr-ind__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.pxhr-ind__list a { display: grid; gap: 6px; height: 100%; box-sizing: border-box; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--pxhr-line); border-left: 4px solid var(--c); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.pxhr-ind__list a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgba(8,34,56,.55); background: var(--bg); }
.pxhr-ind__list b { font: 700 17px/1.3 var(--f-display); color: var(--pxhr-ink); }
.pxhr-ind__list span { font-size: 14.5px; line-height: 1.55; color: var(--pxhr-body); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pxhr-hand__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxhr-hand__card:nth-child(2)::after { display: none; }
  .pxhr-roll__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pxhr-cal__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pxhr-hero__grid, .pxhr-pay__grid, .pxhr-calc { grid-template-columns: 1fr; }
  .pxhr-relay { max-width: 560px; }
  .pxhr-pk__list { grid-template-columns: 1fr; max-width: 560px; }
  .pxhr-connect__cards { grid-template-columns: 1fr; }
  .pxhr-ind__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pxhr-app, .pxhr-cal__panel { grid-template-columns: 1fr; }
  .pxhr-cal__who { grid-column: 1; grid-row: auto; grid-template-columns: 1fr 1fr; }
  .pxhr-law__grid, .pxhr-from__p dl { grid-template-columns: 1fr; }
  .pxhr-calc__out { grid-template-columns: 1fr; }
  .pxhr-pay__list thead { display: none; }
  .pxhr-pay__list tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-top: 1px solid var(--pxhr-line); }
  .pxhr-pay__list td { border-top: 0; padding: 4px 6px; }
  .pxhr-pay__list td:first-child { grid-column: 1 / -1; white-space: normal; }
  .pxhr-pay__list td:nth-child(2)::before { content: "By hand: "; font-weight: 700; }
  .pxhr-pay__list td:nth-child(3)::before { content: "In Zoho: "; font-weight: 700; }
}
@media (max-width: 640px) {
  .pxhr-hand__list, .pxhr-ind__list { grid-template-columns: 1fr; }
  .pxhr-hand__card::after { display: none; }
  .pxhr-roll__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxhr-cal__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pxhr-relay { padding: 14px; }
  .pxhr-lane { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .pxhr-lane__app b { display: none; }
  .pxhr-baton { width: 128px; padding: 6px 9px; }
  .pxhr-baton b { font-size: 12px; }
  .pxhr-lane__tag { font-size: 11px; }
  .pxhr-relay__top em { margin-left: 0; }
  .pxhr-tabs__bar button { padding: 9px 12px; font-size: 14px; }
  .pxhr-pay__form, .pxhr-pay__out { padding: 18px; }
  .pxhr-law__states i { display: none; }
  .pxhr-law__states p { margin: 4px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pxhr-baton, .pxhr-lane__tag, .pxhr-check, .pxhr-cal__days li, .pxhr-cal__tabs button, .pxhr-calc__win, .pxhr-ind__list a { transition: none !important; }
  .pxhr-js .pxhr-check { opacity: 1; transform: none; }
}
