/* Blog: Merge two Zoho accounts after an acquisition (.pbma-) */
.pbma-hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pbma-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 18px 0 0; font: 500 13.5px/1.4 var(--f-body); color: #475569; }
.pbma-meta span { padding: 4px 10px; border-radius: 999px; background: #EEF3F7; }

/* hero: two orgs into one */
.pbma-flow { position: relative; margin: 0; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid #DCE5EC; box-shadow: 0 34px 60px -42px rgba(8,34,56,.7); }
.pbma-flow__tag { margin: 0 0 12px; display: inline-block; padding: 3px 9px; border-radius: 999px; background: #FFF1D6; font: 700 11px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #8A5A00; }
.pbma-flow__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pbma-org { padding: 14px; border-radius: 16px; border: 1px solid #E2E8F0; background: #F6F9FB; opacity: 0; transform: translateY(12px); animation: pbmaIn .55s cubic-bezier(.3,1.2,.5,1) forwards; }
.pbma-org--a { animation-delay: .2s; } .pbma-org--b { animation-delay: .35s; border-style: dashed; background: #fff; }
.pbma-org__role { display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 8px; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .04em; text-transform: uppercase; background: #E8F5FC; color: #0B5E8C; }
.pbma-org--b .pbma-org__role { background: #EEF3F7; color: #334155; }
.pbma-org b { display: block; font: 700 15.5px/1.3 var(--f-display); color: #082238; }
.pbma-org ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 13.5px; line-height: 1.45; color: #475569; }
.pbma-flow__arrow { position: relative; height: 34px; margin: 4px 0; }
.pbma-flow__arrow i { position: absolute; top: 0; width: 2px; height: 26px; background: #CBD5E1; }
.pbma-flow__arrow i:nth-child(1) { left: 25%; transform: skewX(28deg); transform-origin: top; }
.pbma-flow__arrow i:nth-child(2) { right: 25%; transform: skewX(-28deg); transform-origin: top; }
.pbma-flow__arrow::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 12px; height: 12px; margin-left: -6px; border-right: 2px solid #00A3D9; border-bottom: 2px solid #00A3D9; transform: rotate(45deg); }
.pbma-org--one { animation-delay: .6s; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); border-color: transparent; color: #DCE7F0; }
.pbma-org--one .pbma-org__role { background: #FFB81C; color: #082238; }
.pbma-org--one b { color: #fff; font-size: 17px; }
.pbma-org--one p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.pbma-flow figcaption { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #475569; }
@keyframes pbmaIn { to { opacity: 1; transform: none; } }

/* article */
.pbma-art { padding-top: clamp(24px, 4vw, 48px); }
.pbma-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pbma-body { max-width: 76ch; font-size: 17.5px; line-height: 1.72; color: #334155; min-width: 0; }
.pbma-body > p { margin: 0 0 18px; }
.pbma-body b { color: #082238; }
.pbma-body a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pbma-h2 { margin: 56px 0 0; font: 700 clamp(25px, 1rem + 1.2vw, 33px)/1.25 var(--f-display); letter-spacing: -.02em; color: #082238; scroll-margin-top: 100px; text-wrap: balance; }
.pbma-h2:first-child { margin-top: 0; }
.pbma-body .pbma-answer { margin: 18px 0 22px; padding: 16px 20px 16px 22px; border-radius: 4px 14px 14px 4px; background: #F0F8F3; border-left: 5px solid #3FB97A; font-weight: 500; color: #082238; }
.pbma-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pbma-list li { padding: 12px 16px; border-radius: 12px; background: #F3F7F9; border-left: 4px solid #00A3D9; }

/* what moves vs rebuilt */
.pbma-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.pbma-split__col { padding: 16px 18px; border-radius: 16px; border: 1px solid #E2E8F0; background: #fff; }
.pbma-split__t { margin: 0 0 8px; font: 700 15px/1.3 var(--f-display); color: #082238; }
.pbma-split__col--go { border-top: 4px solid #3FB97A; }
.pbma-split__col--build { border-top: 4px solid #FFB81C; }
.pbma-split ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 15.5px; line-height: 1.5; }

/* steps */
.pbma-steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: st; }
.pbma-steps li { counter-increment: st; position: relative; padding: 0 0 16px 50px; font-size: 16px; line-height: 1.6; }
.pbma-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #0A3A63; color: #fff; font: 800 14px/1 var(--f-display); }
.pbma-steps li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: #E2E8F0; }
.pbma-steps li:last-child::after { display: none; }

/* table */
.pbma-tbl-wrap { margin: 0 0 20px; overflow-x: auto; border-radius: 16px; border: 1px solid #E2E8F0; }
.pbma-tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; background: #fff; }
.pbma-tbl caption { padding: 12px 16px; text-align: left; font: 700 14px/1.3 var(--f-display); color: #082238; background: #F3F7F9; }
.pbma-tbl th, .pbma-tbl td { padding: 11px 14px; border-top: 1px solid #E2E8F0; text-align: left; vertical-align: top; }
.pbma-tbl thead th { font: 700 12.5px/1.3 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: #475569; background: #fff; }
.pbma-tbl tbody th { font-weight: 700; color: #082238; }

/* side */
.pbma-side { position: sticky; top: 100px; }
.pbma-side__card { padding: 18px; border-radius: 18px; background: #F3F7F9; }
.pbma-side__t { margin: 0 0 8px; font: 700 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #0B5E8C; }
.pbma-side ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.pbma-side li a { display: block; padding: 8px 10px; border-left: 3px solid #CBD5E1; color: #082238; font: 600 14.5px/1.35 var(--f-body); text-decoration: none; }
.pbma-side li a:hover { border-color: #3FB97A; background: #fff; }

/* survivor scorecard */
.pbma-sc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; margin-top: 24px; align-items: start; }
.pbma-sc__rows { display: grid; gap: 8px; }
.pbma-sc__row { margin: 0; padding: 12px 14px; border: 1px solid #E2E8F0; border-radius: 14px; background: #fff; }
.pbma-sc__row legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font: 600 15.5px/1.4 var(--f-body); color: #082238; }
.pbma-sc__row label { position: relative; display: inline-flex; margin: 0 6px 4px 0; }
.pbma-sc__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pbma-sc__row label span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid #CBD5E1; background: #F6F9FB; font: 600 13.5px/1.2 var(--f-body); color: #334155; cursor: pointer; transition: background .2s, border-color .2s; }
.pbma-sc__row input:checked + span { background: #082238; border-color: #082238; color: #fff; }
.pbma-sc__row input[value="b"]:checked + span { background: #07605E; border-color: #07605E; }
.pbma-sc__row input[value="0"]:checked + span { background: #E2E8F0; border-color: #94A3B8; color: #082238; }
.pbma-sc__row input:focus-visible + span { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pbma-sc__out { position: sticky; top: 100px; padding: 20px; border-radius: 20px; background: #082238; color: #DCE7F0; }
.pbma-sc__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #1E3A55; }
.pbma-sc__bar i { display: block; width: 0; transition: width .35s ease; }
.pbma-sc__bar i[data-ma-a] { background: #00A3D9; }
.pbma-sc__bar i[data-ma-b] { background: #3FB97A; margin-left: auto; }
.pbma-sc__tally { display: flex; justify-content: space-between; margin: 10px 0 14px; font-size: 14px; }
.pbma-sc__tally b { font: 800 18px/1 var(--f-display); color: #fff; margin-left: 4px; }
.pbma-sc__h { margin: 0 0 6px; font: 700 19px/1.3 var(--f-display); color: #FFB81C; }
.pbma-sc__p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.pbma-sc__out .pg-link { color: #9FDCF5; }
.pbma-nojs { margin-top: 16px; }

@media (max-width: 1000px) {
  .pbma-hero__grid, .pbma-art__grid, .pbma-sc { grid-template-columns: minmax(0, 1fr); }
  .pbma-side { display: none; }
  .pbma-sc__out { position: static; }
}
@media (max-width: 640px) {
  .pbma-body { font-size: 16.5px; }
  .pbma-flow { padding: 16px; }
  .pbma-flow__pair, .pbma-split { grid-template-columns: minmax(0, 1fr); }
  .pbma-flow__arrow { display: none; }
  .pbma-org--one { margin-top: 10px; }
  .pbma-tbl { font-size: 14px; } .pbma-tbl th, .pbma-tbl td { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbma-org { animation: none; opacity: 1; transform: none; }
  .pbma-sc__bar i { transition: none; }
}
