/* BambooHR to Zoho People migration page only. Loaded via `extra: crm, p-mig-bh`. Every class is scoped with .pmbh- */
.pmbh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pmbh-mono { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: #5E9F2E; color: #fff; font: 800 11px/1 var(--f-display); font-style: normal; }

/* ---------- hero: profile cards that flip ---------- */
.pmbh-hero .pmbh-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pmbh-hero .pg-h1 { max-width: 17ch; }
.pmbh-hero .crm-sub { max-width: 42ch; }
.pmbh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 600px; }
.pmbh-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 7px; border-radius: 12px; background: #fff; border: 1px solid #DCE7EF; font: 600 13.5px/1.25 var(--f-body); color: #082238; }
.pmbh-chips svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: #E6F2FB; fill: none; stroke: #0A6FA8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pmbh-flip { position: relative; margin: 0; padding: 20px; border-radius: 24px; background: linear-gradient(160deg, #F1F8EC 0%, #EEF6FB 55%, #E8F3FA 100%); border: 1px solid #DDE8EE; box-shadow: 0 50px 90px -50px rgba(8,34,56,.5); }
.pmbh-flip__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pmbh-flip__top b { font: 800 16px/1.2 var(--f-display); color: #082238; }
.pmbh-flip__top em { padding: 3px 9px; border-radius: 999px; background: #fff; font: 600 11px/1 var(--f-body); font-style: normal; color: #64748B; }
.pmbh-flip__deck { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pmbh-card { perspective: 1200px; }
.pmbh-card__in { position: relative; display: grid; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,.1,.2,1); }
.pmbh-card.is-flipped .pmbh-card__in { transform: rotateX(180deg); }
.pmbh-card__face { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr); gap: 4px 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 16px 30px -24px rgba(8,34,56,.6); }
.pmbh-card__face--bh { border-left: 4px solid #5E9F2E; }
.pmbh-card__face--zp { border-left: 4px solid #0A6FA8; transform: rotateX(180deg); }
.pmbh-card__src { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font: 700 10.5px/1 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: #64748B; }
.pmbh-card__src img { width: 16px; height: 16px; }
.pmbh-card__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pmbh-av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: hsl(var(--h) 60% 92%); color: hsl(var(--h) 55% 32%); font: 800 13px/1 var(--f-display); }
.pmbh-card__face--bh .pmbh-av { border-radius: 10px; }
.pmbh-card__who p { margin: 0; min-width: 0; font-size: 12.5px; line-height: 1.3; color: #64748B; }
.pmbh-card__who b { display: block; font: 700 14.5px/1.25 var(--f-display); color: #082238; }
.pmbh-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; margin: 0; }
.pmbh-card dl div { min-width: 0; }
.pmbh-card dt { font: 600 10px/1.2 var(--f-body); color: #94A3B8; text-transform: uppercase; letter-spacing: .05em; }
.pmbh-card dd { margin: 1px 0 0; font: 600 12.5px/1.25 var(--f-body); color: #082238; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmbh-card__pto { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 7px 10px; border-radius: 10px; background: #F4F9EF; font-size: 12.5px; color: #475569; }
.pmbh-card__face--zp .pmbh-card__pto { background: #EAF4FB; }
.pmbh-card__pto b { margin-left: auto; font: 800 14px/1 var(--f-display); color: #082238; font-variant-numeric: tabular-nums; }
.pmbh-ok { width: 18px; height: 18px; border-radius: 50%; background: #1F8A57; position: relative; flex: none; }
.pmbh-ok::after { content: ""; position: absolute; left: 5px; top: 5px; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.pmbh-flip__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 14px; font: 600 13px/1.3 var(--f-body); color: #475569; }
.pmbh-flip__foot p { margin: 0; }
.pmbh-flip__foot b { font: 800 15px/1 var(--f-display); color: #0A6FA8; }
.pmbh-flip__eq { color: #1F8A57; }
.pmbh-flip__eq i { font-style: normal; font-weight: 800; padding: 0 2px; }

/* ---------- what moves ---------- */
.pmbh-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.pmbh-col { padding: 22px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; }
.pmbh-col--in { --c: #1F8A57; --bg: #E3F5EC; }
.pmbh-col--chg { --c: #0A6FA8; --bg: #E3F1FB; }
.pmbh-col--out { --c: #64748B; --bg: #EEF2F6; }
.pmbh-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bg); font: 700 18px/1.25 var(--f-display); color: #082238; }
.pmbh-col h3 i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); transform: rotate(45deg); flex: none; }
.pmbh-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pmbh-col li { font-size: 14.5px; line-height: 1.5; color: #475569; }
.pmbh-col li b { display: block; color: #082238; font-size: 15px; }
.pmbh-col a, .pmbh-map__t a, .pmbh-pk .crm-scope__card a, .pmbh-sav__fine a { color: #0A6FA8; font-weight: 600; }
.pmbh-sav__fine a { color: #8FD3F5; }

/* ---------- trust ---------- */
.pmbh-trust__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); margin-top: 34px; align-items: start; }
.pmbh-trust__left { display: grid; gap: 18px; }
.pmbh-letter { padding: 26px; border-radius: 20px; background: #082238; color: #DCEAF4; }
.pmbh-letter__hi { margin: 0 0 12px; font: 700 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #FFB81C; }
.pmbh-letter p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.7; }
.pmbh-letter__sig { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: #9FB8CC; }
.pmbh-letter__sig b { display: block; font: 700 15px/1.3 var(--f-display); color: #fff; }
.pmbh-letter__faces { display: flex; flex: none; }
.pmbh-letter__faces img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #082238; object-fit: cover; }
.pmbh-letter__faces img + img { margin-left: -10px; }
.pmbh-ifs { padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; }
.pmbh-ifs h3 { margin: 0 0 12px; font: 700 18px/1.3 var(--f-display); color: #082238; }
.pmbh-ifs dl { margin: 0; display: grid; gap: 14px; }
.pmbh-ifs dt { font: 700 15px/1.4 var(--f-body); color: #082238; }
.pmbh-ifs dt::before { content: "?"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: #FEF3DC; color: #9A5B04; font: 800 12px/1 var(--f-display); vertical-align: 1px; }
.pmbh-ifs dd { margin: 3px 0 0 28px; font-size: 14.5px; line-height: 1.55; color: #475569; }
.pmbh-trust__right { display: grid; gap: 14px; position: sticky; top: 96px; }
.pmbh-vr { margin: 0; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 50px 90px -50px rgba(8,34,56,.55); font-variant-numeric: tabular-nums; }
.pmbh-vr__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pmbh-vr__head b { font: 800 17px/1.2 var(--f-display); color: #082238; }
.pmbh-vr__head em { padding: 4px 10px; border-radius: 999px; background: #FEF3DC; font: 700 11.5px/1 var(--f-body); font-style: normal; color: #9A5B04; }
.pmbh-vr figcaption { margin: 6px 0 8px; font-size: 12.5px; color: #64748B; }
.pmbh-vr__t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pmbh-vr__t thead th { padding: 8px 6px; font: 700 10.5px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #64748B; text-align: right; background: #F3F7F9; }
.pmbh-vr__t thead th:first-child { text-align: left; border-radius: 8px 0 0 8px; }
.pmbh-vr__t thead th:last-child { border-radius: 0 8px 8px 0; }
.pmbh-vr__t tbody th { padding: 7px 6px; text-align: left; font-weight: 600; color: #082238; border-bottom: 1px solid #EEF2F6; }
.pmbh-vr__t td { padding: 7px 6px; text-align: right; color: #334155; border-bottom: 1px solid #EEF2F6; white-space: nowrap; }
.pmbh-vr__t td.pmbh-vr__ok { width: 26px; padding-left: 0; }
.pmbh-vr__ok::after { content: ""; display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: #1F8A57 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8'/%3E%3C/svg%3E") center / 12px no-repeat; vertical-align: -3px; }
.pmbh-vr__total th, .pmbh-vr__total td { font-weight: 800; color: #082238; background: #F0FAF5; border-bottom: 0 !important; }
.pmbh-vr__rule { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #8CCFAE; font: 700 14px/1.4 var(--f-body); color: #17703F; text-align: center; }
.pmbh-badge { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 18px; border-radius: 16px; background: linear-gradient(90deg, #E3F5EC, #E3F1FB); border: 1px solid #CDE6DA; color: #082238; font: 700 15px/1.3 var(--f-display); }
.pmbh-badge svg { flex: none; width: 28px; height: 28px; fill: #fff; stroke: #1F8A57; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- PTO meters (signature effect) ---------- */
.pmbh-pto { background: linear-gradient(180deg, #F3F7F9, #fff); }
.pmbh-pto__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pmbh-pto__notes { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pmbh-pto__notes li { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; font-size: 14.5px; line-height: 1.55; color: #475569; }
.pmbh-pto__notes b { display: block; color: #082238; }
.pmbh-meters { margin: 0; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 40px 80px -50px rgba(8,34,56,.55); font-variant-numeric: tabular-nums; }
.pmbh-meters figcaption { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pmbh-meters figcaption b { font: 800 16px/1.2 var(--f-display); color: #082238; }
.pmbh-meters figcaption em { padding: 3px 9px; border-radius: 999px; background: #F3F7F9; font: 600 11px/1 var(--f-body); font-style: normal; color: #64748B; }
.pmbh-meters ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pmbh-meters li { position: relative; display: grid; gap: 6px; padding: 12px 52px 12px 14px; border-radius: 14px; background: #F9FBFC; border: 1px solid #EEF2F6; }
.pmbh-meters li > p { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 13px; color: #64748B; }
.pmbh-meters li > p b { font: 700 14.5px/1.3 var(--f-display); color: #082238; }
.pmbh-m { display: grid; grid-template-columns: 86px minmax(0, 1fr) 52px; gap: 10px; align-items: center; }
.pmbh-m__lbl { font: 600 11.5px/1 var(--f-body); color: #64748B; }
.pmbh-m__bar { position: relative; height: 10px; border-radius: 99px; background: #E9EEF3; overflow: hidden; }
.pmbh-m__bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); border-radius: inherit; }
.pmbh-m__bar.is-bh i { background: #7CB342; }
.pmbh-m__bar.is-zp i { background: linear-gradient(90deg, #00A3D9, #0A6FA8); }
.pmbh-m output { font: 800 14px/1 var(--f-display); color: #082238; text-align: right; }
.pmbh-m__eq { position: absolute; right: 12px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: #1F8A57; }
.pmbh-m__eq::before, .pmbh-m__eq::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2.5px; border-radius: 2px; background: #fff; }
.pmbh-m__eq::before { top: 10px; } .pmbh-m__eq::after { top: 15.5px; }
.pmbh-meters__sum { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #E9F7F1; font: 700 14px/1.4 var(--f-body); color: #17703F; }

/* ---------- full map ---------- */
.pmbh-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 16px; }
.pmbh-filter button { padding: 9px 16px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; font: 600 14px/1 var(--f-body); color: #334155; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pmbh-filter button:hover { border-color: #0A6FA8; }
.pmbh-filter button.is-on { background: #0A6FA8; border-color: #0A6FA8; color: #fff; }
.pmbh-map__t th[scope="row"] { font-weight: 700; color: #082238; white-space: nowrap; }
.pmbh-map__t tr[hidden] { display: none; }
.pmbh-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font: 700 12px/1.2 var(--f-body); white-space: nowrap; }
.pmbh-tag--in { background: #E3F5EC; color: #17703F; }
.pmbh-tag--chg { background: #E3F1FB; color: #0A5E8F; }
.pmbh-tag--out { background: #EEF2F6; color: #475569; }

/* ---------- org tree story ---------- */
.pmbh-tree__box { margin-top: 34px; padding: clamp(18px, 3vw, 30px); border-radius: 24px; background: #fff; border: 1px solid #E2E8F0; }
.pmbh-tree__ctl { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.pmbh-tree__ctl button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 8px; border-radius: 999px; border: 1px solid #E2E8F0; background: #F7FAFC; font: 600 13.5px/1 var(--f-body); color: #334155; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pmbh-tree__ctl button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #E2E8F0; font: 800 11px/1 var(--f-display); }
.pmbh-tree__ctl button.is-done span { background: #0A6FA8; color: #fff; }
.pmbh-tree__ctl button.is-on { background: #082238; border-color: #082238; color: #fff; }
.pmbh-tree__ctl button.is-on span { background: #FFB81C; color: #082238; }
.pmbh-org { position: relative; text-align: center; }
.pmbh-org__root { position: relative; display: inline-grid; gap: 3px; padding: 12px 22px; border-radius: 16px; background: #082238; color: #DCEAF4; font-size: 12.5px; }
.pmbh-org__root b { font: 800 15px/1.2 var(--f-display); color: #fff; }
.pmbh-org__root em { margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: #5E9F2E; font: 700 11px/1.2 var(--f-body); font-style: normal; color: #fff; transition: background .4s; }
.pmbh-org__root.is-live em { background: #00A3D9; }
.pmbh-org__root::after { content: ""; position: absolute; left: 50%; bottom: -22px; width: 2px; height: 22px; background: #CBD5E1; }
.pmbh-org__br { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
.pmbh-org__br::before { content: ""; position: absolute; top: -22px; left: 10%; right: 10%; height: 2px; background: #CBD5E1; }
.pmbh-org__br > li { position: relative; }
.pmbh-org__br > li::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; background: #CBD5E1; transition: background .4s; }
.pmbh-node { position: relative; display: grid; gap: 3px; padding: 12px 10px; border-radius: 14px; background: #F4F9EF; border: 2px solid #A9D18E; transition: background .5s, border-color .5s, transform .5s cubic-bezier(.2,1.4,.4,1); }
.pmbh-node b { font: 700 14px/1.25 var(--f-display); color: #082238; }
.pmbh-node span { font-size: 12.5px; color: #475569; }
.pmbh-node i { font: 600 11px/1.2 var(--f-body); font-style: normal; color: #64748B; }
.pmbh-org__br > li > ul { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.pmbh-org__br > li > ul li { padding: 6px 8px; border-radius: 9px; background: #F4F9EF; border: 1px solid #DCEBD0; font-size: 12.5px; color: #334155; transition: background .4s, border-color .4s; transition-delay: var(--d, 0s); }
.pmbh-org__br > li.is-chk .pmbh-node { background: #FFF7E3; border-color: #F5B544; }
.pmbh-org__br > li.is-chk > ul li { background: #FFFBF0; border-color: #F9DFA4; }
.pmbh-org__br > li.is-now .pmbh-node { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(8,34,56,.6); }
.pmbh-org__br > li.is-zp .pmbh-node { background: #E6F3FB; border-color: #0A6FA8; }
.pmbh-org__br > li.is-zp > ul li { background: #EFF7FC; border-color: #BCDDF1; }
.pmbh-org__br > li.is-zp::before, .pmbh-org__br > li.is-chk::before { background: #0A6FA8; }
.pmbh-tree__note { margin-top: 24px; padding: 16px 18px; border-radius: 16px; background: #F3F7F9; border-left: 4px solid #FFB81C; }
.pmbh-tree__note p { margin: 0; font-size: 15px; line-height: 1.6; color: #334155; }
.pmbh-tree__step { font: 800 16px/1.3 var(--f-display) !important; color: #082238 !important; margin-bottom: 4px !important; }
.pmbh-tree__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px !important; font: 600 12.5px/1.3 var(--f-body) !important; color: #475569 !important; }
.pmbh-tree__key span { display: inline-flex; align-items: center; gap: 6px; }
.pmbh-tree__key span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 2px solid; }
.pmbh-tree__key .k-bh::before { background: #F4F9EF; border-color: #A9D18E; }
.pmbh-tree__key .k-chk::before { background: #FFF7E3; border-color: #F5B544; }
.pmbh-tree__key .k-zp::before { background: #E6F3FB; border-color: #0A6FA8; }

/* ---------- estimator (dark band) ---------- */
.pmbh-est__box { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; margin-top: 34px; }
.pmbh-est__q { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pmbh-est__q fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pmbh-est__q legend, .pmbh-range > span { display: flex; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 9px; font: 600 14px/1.3 var(--f-body); color: #DCEAF4; }
.pmbh-range { display: block; }
.pmbh-range output { font: 800 15px/1 var(--f-display); color: #FFB81C; }
.pmbh-range input { width: 100%; accent-color: #FFB81C; }
.pmbh-seg, .pmbh-ticks { grid-column: 1 / -1; }
.pmbh-seg label, .pmbh-ticks label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.pmbh-seg input, .pmbh-ticks input, .pmbh-pseg input, .pmbh-sseg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pmbh-seg span, .pmbh-ticks span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); font: 600 13.5px/1 var(--f-body); color: #DCEAF4; transition: background .2s, color .2s, border-color .2s; }
.pmbh-seg input:checked + span, .pmbh-ticks input:checked + span { background: #FFB81C; border-color: #FFB81C; color: #082238; }
.pmbh-seg input:focus-visible + span, .pmbh-ticks input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.pmbh-est__out { align-self: start; padding: 26px; border-radius: 22px; background: #fff; color: #334155; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.pmbh-est__lbl { margin: 0; font: 700 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #C2410C; }
.pmbh-est__pk { margin: 10px 0 12px; font: 800 30px/1.1 var(--f-display); letter-spacing: -.02em; color: #082238; }
.pmbh-est__gauge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.pmbh-est__gauge i { height: 8px; border-radius: 3px; background: #E2E8F0; transition: background .3s; }
.pmbh-est__gauge i.is-on { background: linear-gradient(90deg, #7CB342, #00A3D9); }
.pmbh-est__why { margin: 0 0 14px; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; }
.pmbh-est__sum { margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; background: #F3F7F9; font-size: 13px; line-height: 1.5; color: #475569; }
.pmbh-est__out .btn { width: 100%; justify-content: center; }
.pmbh-est__fine { margin: 12px 0 0; font-size: 13px; color: #64748B; }

/* ---------- packages ---------- */
.pmbh-pk .crm-scope__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pmbh-pk__assess { background: linear-gradient(180deg, #FFF8EF, #fff) !important; border-style: dashed !important; }
.pmbh-pk__lead { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; color: #334155; }

/* ---------- steps: phase rows ---------- */
.pmbh-mig { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #E3F1FB; font: 700 11px/1.4 var(--f-body); letter-spacing: .03em; color: #0A5E8F; vertical-align: 1px; }
.pmbh-ph { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.pmbh-ph__row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; }
.pmbh-ph__name { margin: 0; padding-left: 12px; border-left: 4px solid var(--c); font: 800 16.5px/1.25 var(--f-display); color: #082238; }
.pmbh-ph__name span { display: block; margin-bottom: 4px; font: 700 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.pmbh-ph__steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pmbh-ph__steps li { padding: 10px 12px; border-radius: 12px; background: #F7FAFC; }
.pmbh-ph__steps li.is-mig { background: #F1F8FD; box-shadow: inset 0 -3px 0 #8CC8EA; }
.pmbh-ph__steps b { display: block; font: 700 14.5px/1.35 var(--f-display); color: #082238; }
.pmbh-ph__steps b i { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 7px; background: var(--c); color: #fff; font: 800 11px/1 var(--f-display); font-style: normal; vertical-align: 1px; }
.pmbh-ph__steps b em { font: 600 11.5px/1 var(--f-body); font-style: normal; color: #1F8A57; }
.pmbh-ph__steps b .pmbh-mig { display: table; margin-top: 5px; }
.pmbh-ph__steps p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: #475569; }
.pmbh-steps__more { display: inline-block; margin-top: 22px; }

/* ---------- planner: dated org chart ---------- */
.pmbh-plan__box { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 22px; margin-top: 34px; align-items: start; }
.pmbh-plan__in { display: grid; gap: 18px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; position: sticky; top: 96px; }
.pmbh-plan__date span, .pmbh-pseg legend { display: block; margin-bottom: 8px; font: 700 14px/1.3 var(--f-body); color: #082238; }
.pmbh-plan__date input { width: 100%; padding: 11px 12px; border-radius: 12px; border: 1px solid #CBD5E1; font: 600 16px/1.2 var(--f-body); color: #082238; background: #F7FAFC; }
.pmbh-plan__date input:focus-visible { outline: 2px solid #0A6FA8; outline-offset: 2px; }
.pmbh-pseg { margin: 0; padding: 0; border: 0; min-width: 0; }
.pmbh-pseg label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.pmbh-pseg span { display: inline-block; padding: 8px 13px; border-radius: 10px; border: 1px solid #CBD5E1; font: 600 13.5px/1 var(--f-body); color: #334155; transition: background .2s, color .2s, border-color .2s; }
.pmbh-pseg input:checked + span { background: #0A6FA8; border-color: #0A6FA8; color: #fff; }
.pmbh-pseg input:focus-visible + span, .pmbh-sseg input:focus-visible + span { outline: 2px solid #0A6FA8; outline-offset: 2px; }
.pmbh-plan__out { min-width: 0; display: grid; gap: 16px; }
.pmbh-plan__alert { margin: 0; padding: 12px 14px; border-radius: 12px; font: 600 14.5px/1.5 var(--f-body); background: #E9F7F1; color: #17703F; }
.pmbh-plan__alert.is-warn { background: #FEF3DC; color: #7A4A03; }
.pmbh-plan__alert.is-bad { background: #FDE7E2; color: #9A2B12; }
.pmbh-pchart { padding: 20px 16px 18px; border-radius: 20px; background: #F3F7F9; border: 1px solid #E2E8F0; text-align: center; }
.pmbh-pchart__root { position: relative; display: inline-grid; grid-template-columns: repeat(3, auto); gap: 4px 18px; padding: 12px 18px; border-radius: 16px; background: #082238; color: #9FB8CC; text-align: left; font: 600 11px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; }
.pmbh-pchart__root b { display: block; margin-top: 4px; font: 800 15px/1.2 var(--f-display); letter-spacing: 0; text-transform: none; color: #fff; }
.pmbh-pchart__root .is-stop b { color: #FCA5A5; }
.pmbh-pchart__root::after { content: ""; position: absolute; left: 50%; bottom: -20px; width: 2px; height: 20px; background: #94A3B8; }
.pmbh-pchart__row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.pmbh-pchart__row::before { content: ""; position: absolute; top: -20px; left: var(--l, 10%); right: var(--l, 10%); height: 2px; background: #94A3B8; }
.pmbh-pchart__row li { position: relative; flex: 1 1 140px; max-width: 190px; padding: 12px 12px 10px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; border-top: 4px solid var(--c); text-align: left; }
.pmbh-pchart__row li::before { content: ""; position: absolute; left: 50%; top: -24px; width: 2px; height: 20px; background: #94A3B8; }
.pmbh-pchart__row b { display: block; margin-bottom: 6px; font: 700 14px/1.25 var(--f-display); color: #082238; }
.pmbh-pchart__row dl { display: grid; gap: 3px; margin: 0; }
.pmbh-pchart__row dl div { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; }
.pmbh-pchart__row dt { color: #64748B; }
.pmbh-pchart__row dd { margin: 0; font-weight: 700; color: #082238; white-space: nowrap; }
.pmbh-pchart__row em { display: inline-block; margin-top: 6px; padding: 2px 7px; border-radius: 6px; background: #EEF2F6; font: 700 10.5px/1.4 var(--f-body); font-style: normal; color: #475569; }
.pmbh-plan__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pmbh-plan__list li { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; border-left: 4px solid var(--c); font-size: 13px; line-height: 1.35; color: #334155; }
.pmbh-plan__list li > b { display: block; margin-bottom: 6px; font: 800 13.5px/1.2 var(--f-display); color: #082238; }
.pmbh-plan__list ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pmbh-plan__list ol li { display: flex; justify-content: space-between; gap: 8px; padding: 0; border: 0; background: none; }
.pmbh-plan__list time { font-weight: 700; color: #082238; white-space: nowrap; }
.pmbh-plan__list small { color: #64748B; }
.pmbh-plan__list .pmbh-mig { margin-left: 3px; padding: 0 5px; font-size: 9.5px; }
.pmbh-plan__fine { margin: 0; font-size: 13px; color: #64748B; }
.pmbh-plan__out > .btn { justify-self: start; }

/* ---------- day one ---------- */
.pmbh-d1__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 3vw, 44px); margin-top: 34px; align-items: start; }
.pmbh-mon { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pmbh-mon li { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; }
.pmbh-mon__who { display: inline-flex; align-items: center; gap: 7px; font: 700 14.5px/1.2 var(--f-display); color: #082238; }
.pmbh-mon__who::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.pmbh-mon p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: #475569; }
.pmbh-cheat { padding: 24px; border-radius: 20px; background: #FFFDF5; border: 1px solid #EADFB8; box-shadow: 0 30px 60px -45px rgba(8,34,56,.55); }
.pmbh-cheat__head h3 { margin: 0; font: 800 21px/1.2 var(--f-display); color: #082238; }
.pmbh-cheat__head p { margin: 4px 0 14px; font-size: 14px; color: #64748B; }
.pmbh-cheat__t { width: 100%; border-collapse: separate; border-spacing: 0 5px; font-size: 14px; }
.pmbh-cheat__t thead th { padding: 4px 10px; font: 700 10.5px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: #64748B; text-align: left; }
.pmbh-cheat__t tbody th { position: relative; padding: 9px 22px 9px 10px; text-align: left; font-weight: 600; color: #3F6B1E; background: #F4F9EF; border-radius: 9px 0 0 9px; width: 38%; }
.pmbh-cheat__t tbody th::after { content: "→"; position: absolute; right: 6px; color: #94A3B8; }
.pmbh-cheat__t td { padding: 9px 10px; font-weight: 700; color: #082238; background: #EEF6FB; border-radius: 0 9px 9px 0; }
.pmbh-cheat__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pmbh-cheat__fine { margin: 12px 0 0; font-size: 12.5px; color: #64748B; }

/* ---------- risks ---------- */
.pmbh-risk__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; margin-top: 34px; align-items: start; }
.pmbh-check { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; }
.pmbh-check h3, .pmbh-pace h3 { margin: 0 0 12px; font: 700 18px/1.3 var(--f-display); color: #082238; }
.pmbh-check ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pmbh-check label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-size: 15px; line-height: 1.45; transition: background .2s; }
.pmbh-check label:hover { background: #F3F7F9; }
.pmbh-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: #0A6FA8; }
.pmbh-check input:checked + span { color: #64748B; }
.pmbh-check__out { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #FEF3DC; font: 600 14px/1.45 var(--f-body); color: #7A4A03; transition: background .3s, color .3s; }
.pmbh-check__out.is-all { background: #E3F5EC; color: #17703F; }
.pmbh-pace { display: grid; gap: 14px; }
.pmbh-pace__col { padding: 20px 22px; border-radius: 18px; border: 1px solid; }
.pmbh-pace__col--fast { background: #F1F8EC; border-color: #D3E8C2; }
.pmbh-pace__col--slow { background: #FFF4EC; border-color: #F6D9C4; }
.pmbh-pace ul { margin: 0; padding: 0 0 0 18px; list-style: square; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; }

/* ---------- savings ---------- */
.pmbh-sav__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 34px; align-items: start; }
.pmbh-sav__in { display: grid; gap: 18px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; }
.pmbh-sav__users > span, .pmbh-sseg legend { display: flex; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 9px; font: 700 14px/1.3 var(--f-body); color: #082238; }
.pmbh-sav__users output { font: 800 18px/1 var(--f-display); color: #0A6FA8; }
.pmbh-sav__users input { width: 100%; accent-color: #0A6FA8; }
.pmbh-sseg { margin: 0; padding: 0; border: 0; min-width: 0; }
.pmbh-sseg label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.pmbh-sseg span { display: inline-grid; gap: 3px; padding: 9px 13px; border-radius: 12px; border: 1px solid #CBD5E1; font: 700 13.5px/1 var(--f-body); color: #082238; transition: background .2s, color .2s, border-color .2s; }
.pmbh-sseg small { font: 500 11.5px/1 var(--f-body); color: #64748B; }
.pmbh-sseg input:checked + span { background: #0A6FA8; border-color: #0A6FA8; color: #fff; }
.pmbh-sseg input:checked + span small { color: #D3EAF8; }
.pmbh-sav__hint { margin: 0; padding: 12px 14px; border-radius: 12px; background: #F3F7F9; font-size: 13.5px; line-height: 1.55; color: #475569; }
.pmbh-sav__out { padding: 24px; border-radius: 20px; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); color: #DCEAF4; }
.pmbh-sav__bars { display: grid; gap: 14px; }
.pmbh-sav__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.pmbh-sav__bar span { font: 600 13.5px/1.3 var(--f-body); color: #DCEAF4; }
.pmbh-sav__bar b { font: 800 18px/1 var(--f-display); color: #fff; }
.pmbh-sav__bar i { grid-column: 1 / -1; grid-row: 2; display: block; height: 16px; width: 100%; border-radius: 4px; background: #7CB342; transform-origin: left; transition: transform .5s ease; }
.pmbh-sav__bar.is-zoho i { background: linear-gradient(90deg, #00A3D9, #00B2A9); }
.pmbh-sav__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.pmbh-sav__nums > div { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); }
.pmbh-sav__nums dt { font: 700 10.5px/1.2 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: #9FB8CC; }
.pmbh-sav__nums dd { margin: 6px 0 0; font: 800 20px/1.1 var(--f-display); color: #fff; }
.pmbh-sav__nums .is-big { grid-column: 1 / -1; background: rgba(255,184,28,.14); }
.pmbh-sav__nums .is-big dd { font-size: 30px; color: #FFD27A; }
.pmbh-sav__fee { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: #DCEAF4; }
.pmbh-sav__fine { margin: 10px 0 0; font-size: 12px; line-height: 1.55; color: #9FB8CC; }

/* ---------- why ---------- */
.pmbh-why__grid { display: grid; grid-template-columns: 1fr; max-width: 860px; }
.pmbh-why__fair { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: #F3F7F9; font-size: 15px; line-height: 1.6; }
.pmbh-why__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pmbh-pk .crm-scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmbh-plan__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pmbh-hero .pmbh-hero__grid, .pmbh-est__box, .pmbh-risk__grid, .pmbh-trust__grid, .pmbh-plan__box, .pmbh-d1__grid, .pmbh-sav__box, .pmbh-pto__grid { grid-template-columns: 1fr; }
  .pmbh-cols { grid-template-columns: 1fr; }
  .pmbh-flip { margin-top: 18px; }
  .pmbh-trust__right, .pmbh-plan__in { position: static; }
  .pmbh-org__br { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .pmbh-ph__row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .pmbh-est__q { grid-template-columns: 1fr; padding: 20px; }
  .pmbh-pk .crm-scope__grid { grid-template-columns: 1fr; }
  .pmbh-flip { padding: 14px; }
  .pmbh-card__face { grid-template-columns: 1fr; padding: 10px 12px; }
  .pmbh-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmbh-card dl div:nth-child(n+3) { display: none; }
  .pmbh-map__wrap { overflow: visible; border: 0; background: none; box-shadow: none; }
  .pmbh-map__t, .pmbh-map__t tbody { display: block; min-width: 0 !important; width: 100%; }
  .pmbh-map__t thead { display: none; }
  .pmbh-map__t tr { display: grid; gap: 4px; margin-bottom: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; }
  .pmbh-map__t th, .pmbh-map__t td { padding: 0 !important; border: 0 !important; font-size: 14px; white-space: normal !important; }
  .pmbh-map__t th[scope="row"] { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
  .pmbh-map__t td:nth-of-type(1) { font-weight: 700; color: #082238; }
  .pmbh-map__t td:nth-of-type(2)::before { content: "Zoho People: "; color: #64748B; }
  .pmbh-map__t td:nth-of-type(3) { margin-top: 4px; }
  .pmbh-org__root { display: grid; }
  .pmbh-org__br { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .pmbh-org__br::before { display: none; }
  .pmbh-org__br > li::before { top: -12px; height: 10px; }
  .pmbh-org__root::after { bottom: -18px; height: 18px; }
  .pmbh-org__br > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: start; text-align: left; }
  .pmbh-org__br > li > ul { margin: 0; }
  .pmbh-tree__ctl button { font-size: 12.5px; padding: 6px 10px 6px 6px; }
  .pmbh-m { grid-template-columns: 74px minmax(0, 1fr) 44px; gap: 8px; }
  .pmbh-meters { padding: 16px; }
  .pmbh-meters li { padding: 10px 44px 10px 10px; }
  .pmbh-m__eq { right: 8px; width: 26px; height: 26px; margin-top: -13px; }
  .pmbh-m__eq::before { top: 9px; } .pmbh-m__eq::after { top: 14.5px; }
  .pmbh-vr { padding: 16px 12px; }
  .pmbh-vr__t { font-size: 12.5px; }
  .pmbh-vr__t th, .pmbh-vr__t td { padding: 6px 3px; }
  .pmbh-pchart { padding: 16px 10px; }
  .pmbh-pchart__root { grid-template-columns: 1fr 1fr; }
  .pmbh-pchart__row li { flex-basis: 46%; max-width: none; }
  .pmbh-plan__list { grid-template-columns: 1fr; }
  .pmbh-cheat { padding: 18px 14px; }
  .pmbh-cheat__t { font-size: 13px; }
  .pmbh-sav__in, .pmbh-sav__out { padding: 18px; }
  .pmbh-sav__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmbh-letter { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pmbh-card__in, .pmbh-node, .pmbh-org__br > li > ul li, .pmbh-sav__bar i, .pmbh-org__root em { transition: none; }
}

/* ---------- print: cheat sheet only when "Print it" is pressed ---------- */
@media print {
  body.pmbh-print > *:not(main), body.pmbh-print main > *:not(#day-one) { display: none !important; }
  body.pmbh-print main, body.pmbh-print #day-one { padding: 0 !important; margin: 0 !important; }
  body.pmbh-print #day-one, body.pmbh-print #day-one * { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  body.pmbh-print #day-one .hp-kick, body.pmbh-print #day-one .pg-answer, body.pmbh-print .pmbh-mon, body.pmbh-print .pmbh-cheat__btns { display: none !important; }
  body.pmbh-print .pmbh-d1__grid { display: block; margin: 0; }
  body.pmbh-print #day-one .pg-h2 { font-size: 20pt; margin: 0 0 12pt; }
  .pmbh-cheat { box-shadow: none !important; background: #fff !important; border: 1.5pt solid #000 !important; break-inside: avoid; }
  .pmbh-cheat__t { font-size: 11pt; border-spacing: 0; }
  .pmbh-cheat__t tbody th, .pmbh-cheat__t td { background: none !important; color: #000 !important; border-bottom: .5pt solid #999 !important; border-radius: 0 !important; }
  .pmbh-cheat__btns { display: none !important; }
}
