/* Blog: Zoho CRM email templates (.pbet-) */
.pbet-hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pbet-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 18px 0 0; font: 500 14px/1.4 var(--f-body); color: #64748B; }
.pbet-meta span:not(:last-child)::after { content: "·"; margin: 0 10px; color: #94A3B8; }
.pbet-hero code, .pbet-body code { font: 600 .86em/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 6px; border-radius: 6px; background: #E8F6FB; color: #0A5C86; word-break: break-word; }

/* hero: template card with two views */
.pbet-env { margin: 0; min-width: 0; }
.pbet-env__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; }
.pbet-env__cap em { font: 600 12px/1.6 var(--f-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.pbet-env__switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 999px; background: #EEF2F6; }
.pbet-env__switch button { min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; font: 600 14px/1 var(--f-body); color: #475569; cursor: pointer; transition: background .25s, color .25s; }
.pbet-env__switch button[aria-selected="true"] { background: #082238; color: #fff; }
.pbet-env__switch button:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pbet-env__card { position: relative; padding: 18px 20px 20px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 34px 64px -40px rgba(8,34,56,.6); overflow: hidden; }
.pbet-env__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1D3F8F, #00A3D9, #00B2A9, #3FB97A); }
.pbet-env__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed #E2E8F0; font-size: 14px; }
.pbet-env__row span { font: 700 11px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.pbet-env__row b { font-weight: 600; color: #082238; min-width: 0; overflow-wrap: anywhere; }
.pbet-env__body { padding-top: 12px; font-size: 15px; line-height: 1.6; color: #334155; }
.pbet-env__body p { margin: 0 0 10px; }
.pbet-tok { font-style: normal; }
.pbet-tok s, .pbet-tok u { text-decoration: none; }
.pbet-tok s { padding: 0 5px; border-radius: 6px; background: #FFF4D6; box-shadow: inset 0 0 0 1px #F6C766; color: #8A5A00; font: 600 .84em/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.pbet-tok u { display: none; padding: 0 3px; border-radius: 4px; background: #DDF4E6; color: #0F5132; font-weight: 600; }
.pbet-env__card[data-view="sent"] .pbet-tok s { display: none; }
.pbet-env__card[data-view="sent"] .pbet-tok u { display: inline; animation: pbetPop .45s ease both; }
.pbet-env__card[data-view="tpl"] .pbet-tok s { animation: pbetPop .45s ease both; }
@keyframes pbetPop { from { opacity: 0; } to { opacity: 1; } }
.pbet-env__stamp { position: absolute; right: 16px; bottom: 14px; padding: 6px 12px; border: 2px solid #15803D; border-radius: 8px; font: 800 13px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #15803D; transform: rotate(-8deg) scale(1.4); opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.3,1.4,.5,1); }
.pbet-env__card[data-view="sent"] .pbet-env__stamp { opacity: .85; transform: rotate(-8deg) scale(1); }
.pbet-env__note { margin: 10px 2px 0; font-size: 12.5px; color: #64748B; }

/* article */
.pbet-art { padding-top: clamp(24px, 4vw, 48px); }
.pbet-art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pbet-body { max-width: 74ch; font-size: 17.5px; line-height: 1.72; color: #334155; min-width: 0; }
.pbet-body--wide { max-width: 1040px; }
.pbet-body--wide > p, .pbet-body--wide > .pbet-h2, .pbet-body--wide > .pbet-h3, .pbet-body--wide > .pbet-list { max-width: 74ch; }
.pbet-body > p { margin: 0 0 18px; }
.pbet-body a, .pbet-help a, .pbet-vs__more a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pbet-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; }
.pbet-h2:first-child { margin-top: 0; }
.pbet-h3 { margin: 30px 0 10px; font: 700 clamp(19px, .9rem + .5vw, 22px)/1.3 var(--f-display); letter-spacing: -.01em; color: #082238; }
.pbet-body .pbet-answer { position: relative; max-width: 74ch; margin: 30px 0 22px; padding: 22px 20px 16px; border-radius: 14px; background: #fff; border: 1.5px solid #BFE3E0; font-weight: 500; color: #082238; }
.pbet-answer::before { content: "Quick answer"; position: absolute; top: -11px; left: 16px; padding: 3px 10px; border-radius: 999px; background: #082238; color: #fff; font: 700 11px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.pbet-body b { color: #082238; }
.pbet-check { font-size: 14px !important; color: #64748B; }

.pbet-steps { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pbet-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; }
.pbet-steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #082238; color: #FFB81C; font: 800 14px/1 var(--f-display); }
.pbet-list { margin: 0 0 20px; padding: 0 0 0 4px; list-style: none; display: grid; gap: 10px; }
.pbet-list li { padding-left: 20px; position: relative; }
.pbet-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: #00A3D9; transform: rotate(45deg); }

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

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

/* inbox preview tester */
.pbet-test__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 22px; margin-top: 30px; align-items: start; }
.pbet-ctl { display: grid; gap: 16px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 50px -40px rgba(8,34,56,.6); min-width: 0; }
.pbet-ctl__set { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.pbet-ctl__set legend { margin-bottom: 8px; font: 700 13px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.pbet-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pbet-who button { display: grid; gap: 3px; min-height: 56px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #CBD5E1; background: #fff; text-align: left; cursor: pointer; font: inherit; transition: border-color .2s, background .2s; }
.pbet-who b { font: 700 14px/1.25 var(--f-display); color: #082238; }
.pbet-who span { font-size: 12.5px; line-height: 1.3; color: #64748B; }
.pbet-who button[aria-checked="true"] { border-color: #082238; background: #EEF5FB; box-shadow: inset 0 0 0 1px #082238; }
.pbet-who button:focus-visible, .pbet-fix input:focus-visible + span { outline: 3px solid #00A3D9; outline-offset: 2px; }
.pbet-fix { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; border: 1px solid #E2E8F0; cursor: pointer; transition: background .2s, border-color .2s; }
.pbet-fix input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #00B2A9; }
.pbet-fix b { display: block; font-size: 15px; line-height: 1.35; color: #082238; }
.pbet-fix em { display: block; font-style: normal; font-size: 13.5px; line-height: 1.4; color: #64748B; }
.pbet-fix:has(input:checked) { background: #F2FBF9; border-color: #9EDDD6; }
.pbet-score { display: flex; align-items: center; gap: 14px; padding-top: 4px; }
.pbet-score__ring { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(#00B2A9 calc(var(--pbet-p, 0) * 1%), #E2E8F0 0); transition: background .4s; }
.pbet-score__ring b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; font: 800 16px/1 var(--f-display); color: #082238; }
.pbet-score p { margin: 0; font-size: 15px; line-height: 1.45; color: #334155; }

.pbet-phone { padding: 12px 12px 16px; border-radius: 34px; background: #0B1B2B; box-shadow: 0 40px 70px -40px rgba(8,34,56,.8); min-width: 0; }
.pbet-phone__bar { display: flex; justify-content: space-between; padding: 6px 14px 10px; font: 600 12.5px/1 var(--f-body); color: #CBD5E1; }
.pbet-inbox { border-radius: 20px 20px 0 0; background: #fff; overflow: hidden; }
.pbet-inbox__row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-bottom: 1px solid #EEF2F6; }
.pbet-inbox__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #00A3D9; color: #fff; font: 700 15px/1 var(--f-display); }
.pbet-inbox__row.is-dim .pbet-inbox__av { background: #CBD5E1; }
.pbet-inbox__row.is-dim { opacity: .55; }
.pbet-inbox__txt { min-width: 0; display: grid; gap: 2px; font-size: 13.5px; line-height: 1.35; }
.pbet-inbox__txt b { color: #082238; font-weight: 700; }
.pbet-inbox__txt strong, .pbet-inbox__txt span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbet-inbox__txt strong { color: #082238; font-weight: 600; }
.pbet-inbox__txt span { color: #64748B; }
.pbet-inbox__row.is-new .pbet-inbox__txt strong { animation: pbetBlink .5s ease; }
.pbet-mail { padding: 14px 16px 16px; border-radius: 0 0 20px 20px; background: #F8FAFC; }
.pbet-mail__h { margin: 0 0 8px; font: 700 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #94A3B8; }
.pbet-mail__body { font-size: 14px; line-height: 1.55; color: #334155; }
.pbet-mail__body p { margin: 0 0 8px; }
.pbet-mail__body mark { padding: 0 3px; border-radius: 4px; background: #FDE2DD; color: #9A2B16; }
.pbet-mail__body ins { text-decoration: none; padding: 0 3px; border-radius: 4px; background: #DDF4E6; color: #0F5132; }
.pbet-issues { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.pbet-issues li { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #F3C5BB; font-size: 14px; line-height: 1.45; color: #334155; }
.pbet-issues li b { display: block; margin-bottom: 2px; color: #9A2B16; }
.pbet-issues li.is-ok { border-color: #9EDDD6; }
.pbet-issues li.is-ok b { color: #0F5132; }
.pbet-test__note { margin: 16px 0 0; font-size: 14px; color: #64748B; }
@keyframes pbetBlink { from { background: #FFF4D6; } to { background: transparent; } }

/* flip cards */
.pbet-pick .mk-flip { margin-top: 30px; }
.pbet-flip .mk-flip__card { min-height: 210px; }

/* examples */
.pbet-ex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 22px; }
.pbet-ex__card { padding: 18px 18px 16px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; font-size: 15px; line-height: 1.6; min-width: 0; }
.pbet-ex__card h3 { margin: 4px 0 8px; font: 700 18px/1.3 var(--f-display); color: #082238; }
.pbet-ex__card p { margin: 0 0 10px; }
.pbet-ex__k { font: 700 11.5px/1.3 var(--f-body) !important; letter-spacing: .06em; text-transform: uppercase; color: #00A3D9; }
.pbet-ex__s { padding: 8px 10px; border-radius: 10px; background: #F3F7F9; font-weight: 600; color: #082238; }
.pbet-ex__w { margin: 0 !important; padding-top: 10px; border-top: 1px dashed #E2E8F0; font-size: 14px; color: #475569; }

/* CRM vs Campaigns vs Mail */
.pbet-vs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.pbet-vs__col { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; min-width: 0; }
.pbet-vs__col h3 { margin: 6px 0 0; font: 700 19px/1.3 var(--f-display); color: #082238; }
.pbet-vs__k { margin: 0; font-size: 14.5px; font-weight: 600; color: #07605E; }
.pbet-vs__col ul { margin: 4px 0 8px; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; color: #334155; }
.pbet-vs__col a { margin-top: auto; font-weight: 600; color: #0A6FA8; }
.pbet-vs__more { margin: 18px 0 0; font-size: 16px; color: #334155; }

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

@media (max-width: 1100px) { .pbet-ex { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .pbet-hero__grid, .pbet-art__grid, .pbet-test__grid, .pbet-help__grid, .pbet-vs__grid { grid-template-columns: minmax(0, 1fr); }
  .pbet-side { display: none; }
  .pbet-phone { max-width: 400px; width: 100%; margin: 0 auto; box-sizing: border-box; }
}
@media (max-width: 640px) {
  .pbet-body { font-size: 16.5px; }
  .pbet-who { grid-template-columns: minmax(0, 1fr); }
  .pbet-ex { grid-template-columns: minmax(0, 1fr); }
  .pbet-env__card { padding: 16px 14px 18px; }
  .pbet-env__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbet-tok s, .pbet-tok u { animation: none !important; }
  .pbet-env__stamp, .pbet-score__ring { transition: none; }
  .pbet-inbox__row.is-new .pbet-inbox__txt strong { animation: none; }
}
