/* Blog: Zoho CRM roles vs profiles (.pbrl-) */
.pbrl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pbrl-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 18px 0 0; font: 500 13.5px/1.4 var(--f-body); color: #475569; }
.pbrl-meta span { padding: 4px 10px; border-radius: 999px; background: #EEF3F7; }

/* hero: role tree + profile switchboard */
.pbrl-pair { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.pbrl-pair__card { padding: 18px 16px; border-radius: 20px; min-width: 0; }
.pbrl-pair__card--role { background: linear-gradient(160deg, #061A2E, #0A3A63 60%, #07605E); color: #D5E3EE; box-shadow: 0 30px 50px -38px rgba(8,34,56,.8); }
.pbrl-pair__card--prof { background: #fff; border: 1px solid #DCE5EC; box-shadow: 0 30px 50px -40px rgba(8,34,56,.6); }
.pbrl-pair__k { margin: 0 0 14px; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #FFB81C; }
.pbrl-pair__card--prof .pbrl-pair__k { color: #0B5E8C; }
.pbrl-tree { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; justify-items: center; position: relative; }
.pbrl-tree__n { display: block; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.09); text-align: center; min-width: 0; position: relative; opacity: 0; transform: translateY(8px); animation: pbrlIn .45s ease-out forwards; }
.pbrl-tree__n b { display: block; color: #fff; font: 700 14.5px/1.25 var(--f-display); }
.pbrl-tree__n span { display: block; font-size: 12.5px; line-height: 1.4; color: #C9DAE7; }
.pbrl-tree__n--top { border: 1px solid rgba(255,184,28,.55); }
.pbrl-tree__n--mid { animation-delay: .18s; }
.pbrl-tree__n--top::after, .pbrl-tree__n--mid::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 2px; height: 14px; background: rgba(255,255,255,.35); }
.pbrl-tree__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.pbrl-tree__row .pbrl-tree__n { animation-delay: .36s; }
.pbrl-tree__row .pbrl-tree__n + .pbrl-tree__n { animation-delay: .5s; outline: 2px dashed rgba(255,184,28,.7); outline-offset: 2px; }
.pbrl-sw { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pbrl-sw li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 12px; background: #F3F7F9; font: 600 14px/1.3 var(--f-body); color: #082238; }
.pbrl-sw i { flex: none; position: relative; width: 38px; height: 22px; border-radius: 999px; background: #CBD5E1; transition: background .4s ease; }
.pbrl-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(8,34,56,.3); transition: transform .4s ease; }
.pbrl-sw i.is-on { background: #00A37A; animation: pbrlOn .6s ease-out .6s backwards; }
.pbrl-sw i.is-on::after { transform: translateX(16px); }
.pbrl-pair figcaption { grid-column: 1 / -1; margin-top: 2px; font: 600 14px/1.45 var(--f-body); color: #082238; }
@keyframes pbrlIn { to { opacity: 1; transform: none; } }
@keyframes pbrlOn { from { background: #CBD5E1; } }

/* article */
.pbrl-art { padding-top: clamp(24px, 4vw, 48px); }
.pbrl-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pbrl-body { max-width: 76ch; font-size: 17.5px; line-height: 1.72; color: #334155; min-width: 0; }
.pbrl-body > p { margin: 0 0 18px; }
.pbrl-body a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pbrl-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; }
.pbrl-h2:first-child { margin-top: 0; }
.pbrl-body .pbrl-answer { margin: 18px 0 22px; padding: 14px 18px; border-radius: 14px; background: #EEF5FB; box-shadow: inset 0 0 0 1px #D3E4F2; font-weight: 500; color: #082238; }
.pbrl-steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: rl; display: grid; gap: 10px; }
.pbrl-steps li { counter-increment: rl; position: relative; padding: 14px 16px 14px 58px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; font-size: 16px; line-height: 1.6; }
.pbrl-steps li::before { content: counter(rl); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #1D3F8F; color: #fff; font: 800 14px/1 var(--f-display); }
.pbrl-steps b, .pbrl-list b { color: #082238; }
.pbrl-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pbrl-list li { padding: 12px 16px 12px 18px; border-radius: 12px; background: #F3F7F9; border-left: 4px solid #00A3D9; font-size: 16px; line-height: 1.55; }

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

/* side nav */
.pbrl-side { position: sticky; top: 100px; }
.pbrl-side__card { padding: 18px 18px 14px; border-radius: 16px; background: #F3F7F9; border: 1px solid #E2E8F0; }
.pbrl-side__t { margin: 0 0 10px; font: 700 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #475569; }
.pbrl-side ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.pbrl-side a { display: block; padding: 6px 0; min-height: 24px; font: 600 14px/1.35 var(--f-body); color: #082238; text-decoration: none; }
.pbrl-side a:hover, .pbrl-side a:focus-visible { color: #0A6FA8; text-decoration: underline; }

/* decision helper */
.pbrl-q { margin-top: 26px; }
.pbrl-q__score { margin: 0 0 14px; font: 700 14px/1.3 var(--f-body); color: #082238; }
.pbrl-q__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pbrl-q__item { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #DCE5EC; box-shadow: 0 20px 40px -36px rgba(8,34,56,.6); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pbrl-q__ask { margin: 0; font: 600 16px/1.5 var(--f-body); color: #082238; }
.pbrl-q__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pbrl-q__btns button { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #94A3B8; background: #fff; color: #082238; font: 600 14px/1.2 var(--f-body); cursor: pointer; transition: background .2s, border-color .2s; }
.pbrl-q__btns button:hover { border-color: #0A6FA8; }
.pbrl-q__btns button:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pbrl-q__btns button.is-right { background: #E7F7EF; border-color: #0B6B47; color: #0B4D34; }
.pbrl-q__btns button.is-wrong { background: #FDECEC; border-color: #B42318; color: #8A1C13; }
.pbrl-q__btns button[disabled] { cursor: default; }
.pbrl-q__why { margin: 0; padding: 10px 12px; border-radius: 12px; background: #F3F7F9; font-size: 15px; line-height: 1.55; color: #334155; }
.pbrl-q__why b { color: #082238; }
.pbrl-q.is-js .pbrl-q__item:not(.is-done) .pbrl-q__why { display: none; }
.pbrl-q__note { margin: 18px 0 0; font: 500 15.5px/1.55 var(--f-body); color: #334155; max-width: 70ch; }

@media (max-width: 980px) {
  .pbrl-hero__grid, .pbrl-art__grid { grid-template-columns: 1fr; }
  .pbrl-side { position: static; order: -1; }
}
@media (max-width: 720px) {
  .pbrl-q__list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pbrl-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pbrl-tree__n { animation: none; opacity: 1; transform: none; }
  .pbrl-sw i, .pbrl-sw i::after { animation: none; transition: none; }
}
