/* Zoho People vs BambooHR (/compare/zoho-people-vs-bamboohr/). Prefix .pcpb- */
.pcpb-hero, .pcpb-short, .pcpb-price, .pcpb-cost, .pcpb-jobs, .pcpb-who, .pcpb-weigh, .pcpb-pay, .pcpb-alt, .pcpb-move, .pcpb-trust, .pcpb-start { --pcpb-b: #3C7A1E; --pcpb-bbg: #EEF7E6; --pcpb-a: #B4432A; --pcpb-z: #0A6FA8; --pcpb-zbg: #E8F5FC; --pcpb-ink: #082238; --pcpb-paper: #FFFBF0; }
.pcpb-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pcpb-sub { margin: 14px 0 0; font: 600 clamp(18px, 1rem + .5vw, 22px)/1.45 var(--f-display); color: #0A3A63; max-width: 36ch; }

/* ---------- hero: stamped time card ---------- */
.pcpb-card { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
.pcpb-card__seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 12px 26px -22px rgba(8,34,56,.6); }
.pcpb-card__seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 0; border-radius: 10px; background: transparent; font: 600 14px/1.2 var(--f-body); color: #334155; cursor: pointer; transition: background 220ms, box-shadow 220ms; }
.pcpb-card__seg button img { display: block; height: 14px; width: auto; }
.pcpb-card__seg button[data-tc-s="1"] img { height: 18px; }
.pcpb-card__seg button.is-on { background: #F3F7F9; box-shadow: inset 0 0 0 2px #082238; color: #082238; }
.pcpb-card__seg button:focus-visible, .pcpb-seg button:focus-visible, .pcpb-cost__needs input:focus-visible + span { outline: 2px solid #00A3D9; outline-offset: 2px; }
.pcpb-card__paper { position: relative; width: 100%; max-width: 470px; padding: 22px 22px 18px; border-radius: 6px; background: var(--pcpb-paper); background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(10,111,168,.08) 27px 28px); border: 1px solid #EADFC2; box-shadow: 0 46px 70px -46px rgba(8,34,56,.7), 0 2px 0 #EADFC2; transform: rotate(-1.2deg); }
.pcpb-card__paper::before { content: ""; position: absolute; left: 50%; top: -9px; width: 62px; height: 18px; margin-left: -31px; border-radius: 9px; background: #E2E8F0; box-shadow: inset 0 2px 3px rgba(8,34,56,.25); }
.pcpb-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid #082238; }
.pcpb-card__top p { margin: 0; }
.pcpb-card__top b { display: block; font: 800 20px/1.1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: #082238; }
.pcpb-card__top span { font: 600 12.5px/1.4 var(--f-body); color: #64748B; }
.pcpb-card__top em { padding: 3px 8px; border-radius: 6px; background: #FFB81C; color: #082238; font: 700 11px/1.2 var(--f-body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.pcpb-card__grid { width: 100%; margin: 8px 0 12px; border-collapse: collapse; font: 600 13px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #1E3A5F; }
.pcpb-card__grid th, .pcpb-card__grid td { padding: 5px 6px; text-align: left; border-bottom: 1px dashed #D9CBA6; }
.pcpb-card__grid thead th { font: 700 10.5px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.pcpb-card__grid td:last-child, .pcpb-card__grid th:last-child { text-align: right; }
.pcpb-card__grid tbody tr:nth-child(2) td:nth-child(3) { color: #B4432A; }
.pcpb-card__grid .is-pto td:first-of-type { color: #0D7A5F; font-style: italic; }
.pcpb-card__jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pcpb-card__jobs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 34px; }
.pcpb-card__jobs li > span { font: 600 13.5px/1.3 var(--f-body); color: #0B2A44; }
.pcpb-stamp { display: inline-block; min-width: 9.5em; padding: 5px 9px; border: 2px solid currentColor; border-radius: 6px; font: 800 11px/1.15 var(--f-body); letter-spacing: .05em; text-transform: uppercase; text-align: center; transform: rotate(-3deg) scale(1); opacity: 1; transition: transform 300ms cubic-bezier(.2,1.4,.4,1), opacity 220ms; }
.pcpb-stamp.is-in { color: #0A6FA8; background: rgba(10,111,168,.06); }
.pcpb-stamp.is-add { color: #B4432A; background: rgba(180,67,42,.06); border-style: dashed; }
.pcpb-stamp.is-app { color: #6B5300; background: rgba(255,184,28,.14); }
.pcpb-stamp.pcpb-pre { transform: rotate(-9deg) scale(1.6); opacity: 0; }
.pcpb-card__key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 16px 0 0; font: 600 12.5px/1.3 var(--f-body); color: #475569; }
.pcpb-card__key span { display: inline-flex; align-items: center; gap: 6px; }
.pcpb-card__key span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 2px solid; }
.pcpb-card__key .is-in::before { border-color: #0A6FA8; } .pcpb-card__key .is-add::before { border-color: #B4432A; border-style: dashed; } .pcpb-card__key .is-app::before { border-color: #B58900; }
.pcpb-card__cap { margin-top: 8px; max-width: 46ch; text-align: center; font-size: 13.5px; line-height: 1.5; color: #475569; }

/* ---------- short answer ---------- */
.pcpb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.pcpb-facts li { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; }
.pcpb-facts li:nth-child(1) { box-shadow: inset 4px 0 0 var(--pcpb-z); }
.pcpb-facts li:nth-child(2) { box-shadow: inset 4px 0 0 var(--pcpb-b); }
.pcpb-facts li:nth-child(3) { box-shadow: inset 4px 0 0 #FFB81C; }
.pcpb-facts b { display: block; margin-bottom: 6px; font: 800 clamp(20px, 1rem + .7vw, 26px)/1.2 var(--f-display); color: var(--pcpb-ink); letter-spacing: -.02em; }
.pcpb-facts span { font-size: 15px; line-height: 1.55; color: #475569; }

/* ---------- price ladders ---------- */
.pcpb-ladders { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; }
.pcpb-ladder { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; }
.pcpb-ladder.is-z { box-shadow: inset 0 4px 0 var(--pcpb-z); } .pcpb-ladder.is-b { box-shadow: inset 0 4px 0 var(--pcpb-b); }
.pcpb-ladder h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 19px/1.3 var(--f-display); color: var(--pcpb-ink); }
.pcpb-bh { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 10px; background: var(--pcpb-bbg); }
.pcpb-bh img { display: block; height: 14px; width: auto; }
.pcpb-ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pcpb-ladder li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #F7FAFC; }
.pcpb-ladder.is-z li:nth-child(1) { margin-right: 18%; } .pcpb-ladder.is-z li:nth-child(2), .pcpb-ladder.is-z li:nth-child(3) { margin-right: 9%; }
.pcpb-ladder.is-b li:nth-child(1) { margin-right: 18%; } .pcpb-ladder.is-b li:nth-child(2) { margin-right: 9%; }
.pcpb-ladder li.is-add { background: #FFF6F2; border: 1px dashed #E7B4A5; }
.pcpb-ladder li p { margin: 0; }
.pcpb-ladder li b { display: block; font: 700 15.5px/1.3 var(--f-display); color: var(--pcpb-ink); }
.pcpb-ladder li span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: #475569; }
.pcpb-ladder li strong { text-align: right; font: 800 24px/1 var(--f-display); color: var(--pcpb-ink); letter-spacing: -.02em; }
.pcpb-ladder li strong small { display: block; margin-top: 4px; font: 600 11.5px/1.2 var(--f-body); color: #64748B; letter-spacing: 0; }
.pcpb-ladder__foot { margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: #475569; }
.pcpb-ladder__foot a { color: #0A6FA8; font-weight: 600; }
.pcpb-price .pg-note { margin-top: 18px; }

/* ---------- cost check (dark band) ---------- */
.pcpb-cost__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; margin-top: 32px; }
.pcpb-cost__in, .pcpb-cost__out { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); min-width: 0; }
.pcpb-cost__in { display: grid; gap: 22px; align-content: start; }
.pcpb-cost__f { margin: 0; padding: 0; border: 0; min-width: 0; color: #E2ECF5; }
.pcpb-cost__f legend, .pcpb-cost__lbl, .pcpb-cost__range > span { display: block; margin-bottom: 10px; font: 700 14px/1.4 var(--f-body); color: #fff; }
.pcpb-cost__range { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; }
.pcpb-cost__range > span { grid-column: 1 / -1; margin: 0; }
.pcpb-cost__range input { width: 100%; accent-color: #FFB81C; min-height: 32px; }
.pcpb-cost__range output { min-width: 3.2em; padding: 6px 10px; border-radius: 10px; background: #FFB81C; color: #082238; text-align: center; font: 800 18px/1 var(--f-display); }
.pcpb-cost__needs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.pcpb-cost__needs label { position: relative; cursor: pointer; }
.pcpb-cost__needs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pcpb-cost__needs span { display: block; height: 100%; min-height: 64px; padding: 11px 12px 11px 40px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); transition: background 200ms, border-color 200ms; }
.pcpb-cost__needs span::before { content: ""; position: absolute; left: 12px; top: 13px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #8FB4CC; }
.pcpb-cost__needs input:checked + span { background: rgba(255,184,28,.14); border-color: #FFB81C; }
.pcpb-cost__needs input:checked + span::before { background: #FFB81C; border-color: #FFB81C; box-shadow: inset 0 0 0 3px #0A3A63; }
.pcpb-cost__needs b { display: block; font: 700 14px/1.3 var(--f-body); color: #fff; }
.pcpb-cost__needs small { display: block; margin-top: 2px; font-size: 12.5px; color: #A9C3D6; }
.pcpb-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.pcpb-seg button { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 10px; background: transparent; font: 600 14px/1.2 var(--f-body); color: #D6E4EF; cursor: pointer; }
.pcpb-seg button.is-on { background: #fff; color: #082238; }
.pcpb-cost__sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.pcpb-cost__sum > div { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); }
.pcpb-cost__sum .is-z { box-shadow: inset 4px 0 0 #38BDF8; } .pcpb-cost__sum .is-b { box-shadow: inset 4px 0 0 #9BD26E; }
.pcpb-cost__sum p { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font: 700 12px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #A9C3D6; }
.pcpb-cost__sum p img { width: 16px; height: 16px; padding: 1px; border-radius: 4px; background: #fff; }
.pcpb-cost__sum b { display: block; font: 800 clamp(24px, 1rem + 1.2vw, 32px)/1.1 var(--f-display); color: #fff; letter-spacing: -.02em; }
.pcpb-cost__sum span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: #C9D8E5; }
.pcpb-cost__chart { display: block; width: 100%; height: auto; margin: 16px 0 6px; }
.pcpb-cost__axis line { stroke: rgba(255,255,255,.3); stroke-width: 1; }
.pcpb-cost__chart text { fill: #A9C3D6; font: 600 11px var(--f-body); }
.pcpb-cost__chart .pcpb-grid { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.pcpb-cost__lz, .pcpb-cost__lb { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; transition: d 300ms; }
.pcpb-cost__lz { stroke: #38BDF8; } .pcpb-cost__lb { stroke: #9BD26E; stroke-dasharray: 7 5; }
.pcpb-cost__mark { stroke: #FFB81C; stroke-width: 2; }
.pcpb-cost__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font: 600 12.5px/1.3 var(--f-body); color: #C9D8E5; }
.pcpb-cost__legend span { display: inline-flex; align-items: center; gap: 8px; }
.pcpb-cost__legend span::before { content: ""; width: 20px; height: 0; border-top: 3px solid #38BDF8; }
.pcpb-cost__legend .is-b::before { border-top: 3px dashed #9BD26E; } .pcpb-cost__legend .is-m::before { width: 0; height: 14px; border-top: 0; border-left: 2px solid #FFB81C; }
.pcpb-cost__notes { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #D6E4EF; }
.pcpb-cost__notes b { color: #fff; }
.pcpb-cost__hint { margin: 10px 0 0; font-size: 12.5px; color: #A9C3D6; }
.pcpb-cost__fine { margin: 18px 0 0; max-width: 90ch; font-size: 13px; line-height: 1.55; color: #A9C3D6; }

/* ---------- tabs / split / weigh tweaks ---------- */
.pcpb-tabs, .pcpb-split { margin-top: 30px; }
.pcpb-split .mk-split__col h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcpb-split a, .pcpb-alt a, .pcpb-pay a { color: #0A6FA8; font-weight: 600; }
.pcpb-weigh__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.pcpb-weigh__say { margin: 18px 0 0; font-size: 15.5px; line-height: 1.65; color: #334155; }

/* ---------- payroll ---------- */
.pcpb-pay__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.pcpb-pay__say { margin: 16px 0 0; font-size: 15.5px; line-height: 1.65; color: #334155; }
.pcpb-pay__cards { display: grid; gap: 14px; }
.pcpb-pay__card { padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; }
.pcpb-pay__card.is-b { box-shadow: inset 4px 0 0 var(--pcpb-b); } .pcpb-pay__card.is-z { box-shadow: inset 4px 0 0 var(--pcpb-z); }
.pcpb-pay__card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 17px/1.3 var(--f-display); color: var(--pcpb-ink); }
.pcpb-pay__card ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; color: #475569; }

/* ---------- alternative checklist ---------- */
.pcpb-alt__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.pcpb-alt__list li { position: relative; padding: 52px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; }
.pcpb-alt__list li > span { position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: #082238; color: #FFB81C; display: grid; place-items: center; font: 800 13px/1 var(--f-display); }
.pcpb-alt__list h3 { margin: 0 0 6px; font: 700 16.5px/1.3 var(--f-display); color: var(--pcpb-ink); }
.pcpb-alt__list p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #475569; }
.pcpb-alt__more { margin: 22px 0 0; font-size: 15.5px; line-height: 1.6; color: #334155; }

/* ---------- switching ---------- */
.pcpb-move { background: #F3F7F9; }
.pcpb-move__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pcpb-move .pg-link { display: inline-block; margin-top: 16px; }
.pcpb-move__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pcpb-move__list li { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; box-shadow: inset 4px 0 0 #3FB97A; font-size: 15px; line-height: 1.55; color: #475569; }
.pcpb-move__list b { display: block; margin-bottom: 2px; font: 700 16px/1.35 var(--f-display); color: var(--pcpb-ink); }

/* ---------- trust ---------- */
.pcpb-trust { padding-top: clamp(40px, 5vw, 64px) !important; padding-bottom: clamp(40px, 5vw, 64px) !important; }
.pcpb-trust__box { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: #fff; border: 1px solid #E2E8F0; }
.pcpb-trust__box h2 { margin: 0 0 8px; }
.pcpb-trust__box > div p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #334155; }
.pcpb-trust__note { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 16px; border-radius: 16px; background: #F3F7F9; font-size: 14.5px; line-height: 1.55; color: #334155; }
.pcpb-trust__note svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #0A6FA8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pcpb-trust__note a { display: inline-block; margin-top: 2px; color: #0A6FA8; font-weight: 600; }

/* ---------- start steps ---------- */
.pcpb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: pcpbs; }
.pcpb-steps li { position: relative; padding: 56px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; font-size: 14.5px; line-height: 1.5; color: #475569; counter-increment: pcpbs; }
.pcpb-steps li::before { content: "Step " counter(pcpbs); position: absolute; left: 18px; top: 18px; padding: 5px 10px; border-radius: 8px; background: #082238; color: #fff; font: 700 12px/1.2 var(--f-body); letter-spacing: .04em; }
.pcpb-steps b { display: block; margin-bottom: 4px; font: 700 16.5px/1.3 var(--f-display); color: var(--pcpb-ink); }
.pcpb-steps__next { margin: 24px 0 0; font-size: 15.5px; color: #334155; }
.pcpb-steps__next a { color: #0A6FA8; font-weight: 600; }

@media (max-width: 1080px) {
  .pcpb-alt__list, .pcpb-steps { grid-template-columns: 1fr 1fr; }
  .pcpb-cost__box { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pcpb-facts, .pcpb-ladders, .pcpb-weigh__grid, .pcpb-pay__grid, .pcpb-move__grid, .pcpb-trust__box { grid-template-columns: 1fr; }
  .pcpb-weigh__grid, .pcpb-pay__grid, .pcpb-move__grid { gap: 24px; }
  .pcpb-card__paper { transform: none; }
}
@media (max-width: 560px) {
  .pcpb-alt__list, .pcpb-steps, .pcpb-cost__needs, .pcpb-cost__sum { grid-template-columns: 1fr; }
  .pcpb-ladder.is-z li, .pcpb-ladder.is-b li { margin-right: 0 !important; }
  .pcpb-card__paper { padding: 18px 14px 14px; }
  .pcpb-card__jobs li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pcpb-stamp { justify-self: start; min-width: 0; }
  .pcpb-cost__in, .pcpb-cost__out { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcpb-stamp, .pcpb-cost__lz, .pcpb-cost__lb { transition: none; }
}
.pcpb-example { margin: 22px 0 0; max-width: 90ch; padding: 18px 20px; border-radius: 16px; background: #FFF8E6; border: 1px solid #F3DDA0; font-size: 15px; line-height: 1.65; color: #334155; }
.pcpb-example b { color: #082238; }
