/* Blog: Zoho CRM lead scoring (.pbls-) */
.pbls-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pbls-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 18px 0 0; font: 500 14px/1.4 var(--f-body); color: #64748B; }
.pbls-meta span:not(:last-child)::after { content: "·"; margin: 0 10px; color: #94A3B8; }

/* hero: score receipt */
.pbls-rcpt { margin: 0; min-width: 0; max-width: 420px; justify-self: center; width: 100%; }
.pbls-rcpt__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0 0 12px; font: 700 15px/1.3 var(--f-display); color: #082238; }
.pbls-rcpt__cap em { font: 600 12px/1.6 var(--f-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.pbls-rcpt__paper { position: relative; padding: 20px 20px 26px; background: #fff; border: 1px solid #E2E8F0; border-radius: 4px 4px 0 0; box-shadow: 0 34px 64px -40px rgba(8,34,56,.6); transform: rotate(-1.2deg);
  -webkit-mask: radial-gradient(circle 7px at 10px 100%, transparent 98%, #000) -10px 0 / 20px 100% repeat-x;
          mask: radial-gradient(circle 7px at 10px 100%, transparent 98%, #000) -10px 0 / 20px 100% repeat-x; }
.pbls-rcpt__paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1D3F8F, #00A3D9, #00B2A9, #3FB97A); }
.pbls-rcpt__head { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0 14px; border-bottom: 2px dashed #E2E8F0; }
.pbls-rcpt__head img { flex: none; margin-top: 2px; }
.pbls-rcpt__head b { display: block; font: 700 16px/1.3 var(--f-display); color: #082238; }
.pbls-rcpt__head small { display: block; font-size: 13px; line-height: 1.4; color: #64748B; }
.pbls-rcpt__lines { margin: 10px 0 0; padding: 0; list-style: none; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px; }
.pbls-ln { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted #E2E8F0; color: #334155; opacity: 0; transform: translateY(-6px); animation: pblsIn .4s calc(.4s + var(--i) * .32s) forwards; }
.pbls-ln span { min-width: 0; }
.pbls-ln i { font-style: normal; font-size: 11px; padding: 2px 6px; margin-left: 4px; border-radius: 999px; background: #E0F2FE; color: #0A6FA8; font-family: var(--f-body); font-weight: 600; }
.pbls-ln b { flex: none; color: #15803D; font-weight: 700; }
.pbls-ln--skip { color: #94A3B8; }
.pbls-ln--skip span { text-decoration: line-through; }
.pbls-ln--skip b { color: #94A3B8; font-weight: 500; }
.pbls-rcpt__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 2px solid #082238; font: 700 14px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #082238; opacity: 0; animation: pblsIn .4s 2.5s forwards; }
.pbls-rcpt__total strong { font: 800 40px/1 var(--f-display); letter-spacing: -.03em; }
.pbls-rcpt__stamp { position: absolute; right: 18px; bottom: 64px; margin: 0; padding: 6px 12px; border: 3px solid #15803D; border-radius: 8px; color: #15803D; font: 800 15px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-10deg) scale(1.6); opacity: 0; animation: pblsStamp .35s 2.9s cubic-bezier(.3,1.6,.5,1) forwards; }
.pbls-rcpt__note { margin: 12px 2px 0; font-size: 12.5px; color: #64748B; }
@keyframes pblsIn { to { opacity: 1; transform: none; } }
@keyframes pblsStamp { to { opacity: .9; transform: rotate(-10deg) scale(1); } }

/* article */
.pbls-art { padding-top: clamp(24px, 4vw, 48px); }
.pbls-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pbls-body { max-width: 74ch; font-size: 17.5px; line-height: 1.72; color: #334155; min-width: 0; }
.pbls-body--wide { max-width: 980px; }
.pbls-body--wide > p, .pbls-body--wide > .pbls-h2, .pbls-body--wide > .pbls-ol { max-width: 74ch; }
.pbls-body > p { margin: 0 0 18px; }
.pbls-body a, .pbls-help a, .pbls-zia__more a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pbls-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; }
.pbls-h2:first-child { margin-top: 0; }
.pbls-body .pbls-answer { position: relative; max-width: 74ch; margin: 30px 0 22px; padding: 22px 20px 16px; border-radius: 14px; background: #F7FBFD; border-left: 5px solid #00A3D9; font-weight: 500; color: #082238; }
.pbls-answer::before { content: "Short answer"; position: absolute; top: -11px; left: 16px; padding: 3px 10px; border-radius: 6px; background: #00A3D9; color: #fff; font: 700 11px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.pbls-body b { color: #082238; }
.pbls-steps { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pbls-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #E2E8F0; }
.pbls-steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #E0F2FE; color: #0A6FA8; font: 800 14px/1 var(--f-display); }
.pbls-ol { margin: 0 0 20px; padding: 0 0 0 22px; display: grid; gap: 10px; }
.pbls-ol li::marker { font: 800 15px var(--f-display); color: #00A3D9; }

.pbls-tw { margin: 0 0 20px; overflow-x: auto; border-radius: 16px; border: 1px solid #E2E8F0; }
.pbls-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; background: #fff; }
.pbls-table th, .pbls-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid #F1F5F9; vertical-align: top; }
.pbls-table thead th { background: #082238; color: #fff; font: 600 12.5px/1.35 var(--f-body); }
.pbls-table tbody th { font-weight: 700; color: #082238; }
.pbls-table tr.is-key { background: #F2FBFA; }
.pbls-table td.is-pos { font-weight: 700; color: #15803D; white-space: nowrap; }
.pbls-table td.is-neg { font-weight: 700; color: #C2410C; white-space: nowrap; }
.pbls-deal { margin: 0 0 26px; }

/* side TOC */
.pbls-side { position: sticky; top: 100px; }
.pbls-side__card { padding: 18px 18px 14px; border-radius: 16px; background: #F3F7F9; border: 1px solid #E2E8F0; }
.pbls-side__t { margin: 0 0 10px; font: 700 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.pbls-side ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 14.5px; }
.pbls-side a { color: #082238; text-decoration: none; }
.pbls-side a:hover { color: #0A6FA8; text-decoration: underline; }

/* builder */
.pbls-bld__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(18px, 3vw, 32px); margin-top: 28px; align-items: start; }
.pbls-rules, .pbls-board { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 48px -36px rgba(8,34,56,.45); min-width: 0; }
.pbls-rules__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed #E2E8F0; font: 700 15px/1.3 var(--f-display); color: #082238; }
.pbls-rules__head b { flex: 1; min-width: 0; }
.pbls-rules__head em { font: 600 11px/1 var(--f-body); font-style: normal; padding: 5px 9px; border-radius: 999px; background: #F1F5F9; color: #64748B; }
.pbls-crit { margin: 8px 0 12px; padding: 0; list-style: none; }
.pbls-crit li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #F1F5F9; }
.pbls-crit__l { font-size: 14.5px; line-height: 1.35; color: #334155; }
.pbls-crit__l small { display: block; font-size: 12px; color: #64748B; }
.pbls-step { display: inline-flex; align-items: center; border: 1px solid #CBD5E1; border-radius: 999px; overflow: hidden; }
.pbls-step button { width: 36px; height: 36px; border: 0; background: #F3F7F9; color: #082238; font: 700 18px/1 var(--f-body); cursor: pointer; }
.pbls-step button:hover { background: #E0F2FE; }
.pbls-step button:focus-visible { outline: 2px solid #00A3D9; outline-offset: -2px; }
.pbls-step output { min-width: 46px; text-align: center; font: 800 15px/1 var(--f-display); color: #15803D; }
.pbls-step output.is-neg { color: #C2410C; }
.pbls-step output.is-zero { color: #94A3B8; }
.pbls-reset { font-size: 14px; }
.pbls-thr { padding: 4px 2px 14px; border-bottom: 1px dashed #E2E8F0; }
.pbls-thr label { display: block; margin-bottom: 8px; font: 600 15px/1.3 var(--f-body); color: #082238; }
.pbls-thr label b { font: 800 18px/1 var(--f-display); color: #B7791F; }
.pbls-thr input { width: 100%; accent-color: #F0A400; }
.pbls-leads { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pbls-lead { padding: 10px 12px; border-radius: 14px; border: 1px solid #E2E8F0; background: #F8FAFC; transition: background .3s, border-color .3s; }
.pbls-lead.is-hot { background: #F0FBF4; border-color: #A7E3BF; }
.pbls-lead.is-out { background: #FFF6F1; border-color: #F6C9AE; }
.pbls-lead__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pbls-lead__n { font: 700 14.5px/1.3 var(--f-display); color: #082238; }
.pbls-lead__n small { display: block; font: 500 12px/1.35 var(--f-body); color: #64748B; }
.pbls-lead__s { flex: none; font: 800 22px/1 var(--f-display); color: #082238; }
.pbls-lead__bar { position: relative; height: 8px; margin-top: 8px; border-radius: 9px; background: #E2E8F0; }
.pbls-lead__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); border-radius: 9px; background: linear-gradient(90deg, #00A3D9, #3FB97A); transition: width .4s ease; }
.pbls-lead.is-out .pbls-lead__bar i { background: #F59E7B; }
.pbls-lead__bar b { position: absolute; top: -4px; bottom: -4px; left: var(--t, 50%); width: 2px; background: #B7791F; }
.pbls-lead__v { margin: 6px 0 0; font: 600 12.5px/1.3 var(--f-body); color: #64748B; }
.pbls-lead.is-hot .pbls-lead__v { color: #15803D; }
.pbls-lead.is-out .pbls-lead__v { color: #C2410C; }
.pbls-wf { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #082238; color: #CFE3EF; }
.pbls-wf__t { margin: 0 0 4px; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #FFB81C; }
.pbls-wf__s { margin: 0; font-size: 14.5px; line-height: 1.5; }
.pbls-wf__s b { color: #fff; }
.pbls-send { margin-top: 14px; width: 100%; justify-content: center; }
.pbls-bld__note, .pbls-zia__more { margin: 18px 0 0; font-size: 14px; color: #64748B; }
.pbls-zia__more { font-size: 16px; color: #334155; max-width: 74ch; }
.pbls-zia .mk-versus { margin-top: 26px; }

/* help */
.pbls-help__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.pbls-help__body { font-size: 17px; line-height: 1.7; color: #334155; }
.pbls-help__body p { margin: 0 0 16px; }

@media (max-width: 1000px) {
  .pbls-hero__grid, .pbls-art__grid, .pbls-bld__grid, .pbls-help__grid { grid-template-columns: minmax(0, 1fr); }
  .pbls-side { display: none; }
  .pbls-rcpt { max-width: 460px; }
}
@media (max-width: 640px) {
  .pbls-body { font-size: 16.5px; }
  .pbls-rcpt__paper { transform: none; padding: 16px 14px 24px; }
  .pbls-rcpt__lines { font-size: 12.5px; }
  .pbls-rcpt__stamp { right: 10px; }
  .pbls-rules, .pbls-board { padding: 14px; }
  .pbls-step button { width: 34px; height: 34px; }
  .pbls-step output { min-width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbls-ln, .pbls-rcpt__total { animation: none; opacity: 1; transform: none; }
  .pbls-rcpt__stamp { animation: none; opacity: .9; transform: rotate(-10deg); }
  .pbls-lead__bar i, .pbls-lead { transition: none; }
}
