/* =====================================================================================================================
   AI Pandit (/ai-pandit) — three screens: Pick a Pandit · In the call · Summary. docs/PANDIT.md · js/pandit.js · backend/pandit/
   Built only from the brand tokens (css/brand.css, docs/DESIGN.md): Ivory page, Paper cards with a 1px Petal Line, Sindoor Wine for every
   button, Cormorant headings + Outfit text, 22px cards, opaque Paper sheets on a Kohl Plum scrim, no dark page, no gradients, no native select.
   The owner may pick the accent of the state ring (wine | rose) and the avatar style (initials | monogram) in Admin — nothing else is themable.
   Phones (≤767) are designed first: thumb-reach controls, every field ≥ 16px. Tablet (768–1024) and desktop (≥1025) use two columns.
   ===================================================================================================================== */
.pd-page { --pd-accent: var(--sm-wine); --pd-accent-soft: rgba(125, 46, 62, .14); }
.pd-page[data-accent="rose"] { --pd-accent: var(--sm-rose); --pd-accent-soft: rgba(184, 115, 122, .22); }
.pd { padding-bottom: 56px; min-height: 70vh; }
.pd-view[hidden], .pd [hidden] { display: none !important; }
.pd-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sm .pd-h1 { font: 600 clamp(34px, 5vw, 56px)/1.04 var(--sm-serif); color: var(--sm-wine); margin: 8px 0 12px; }
.sm .pd-h1 em { font-style: italic; font-weight: 500; }
.sm .pd-h2 { font: 600 clamp(26px, 3vw, 34px)/1.1 var(--sm-serif); color: var(--sm-wine); margin: 0 0 14px; }
.sm .pd-h3 { font: 600 24px/1.15 var(--sm-serif); color: var(--sm-wine); margin: 0 0 10px; }
.pd-lead { max-width: 36em; margin: 0 0 14px; font-size: 17px; line-height: 1.6; }
.pd-fine { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--sm-muted); }
.pd-link { appearance: none; background: none; border: 0; padding: 8px 4px; min-height: 40px; color: var(--sm-wine); font: 500 16px/1.2 var(--sm-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pd-head { padding: 28px 0 10px; }
.pd-trust { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 7px 14px; border: 1px solid var(--sm-line); border-radius: 999px;
  background: var(--sm-surface); color: var(--sm-ink); font: 500 14px/1.2 var(--sm-sans); }
.pd-trust svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--sm-rose); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── wallet ── */
.pd-wallet { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 6px; padding: 14px 18px; }
.pd-wallet-t { display: flex; align-items: baseline; gap: 10px; }
.pd-wallet-k { font: 500 13px/1 var(--sm-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sm-rose-text); }
.pd-wallet-t b { font: 600 30px/1 var(--sm-serif); color: var(--sm-wine); font-variant-numeric: tabular-nums; }
.pd-wallet-n { flex: 1 1 200px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--sm-muted); }

/* ── pick ── */
.pd-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 18px; }
.pd-personas { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pd-persona { display: grid; grid-template-columns: 60px 1fr; gap: 4px 14px; align-items: center; width: 100%; box-sizing: border-box; padding: 16px; text-align: left;
  background: var(--sm-surface); border: 1px solid var(--sm-line); border-radius: var(--sm-r-card); color: var(--sm-text); font: 400 16px/1.45 var(--sm-sans); cursor: pointer;
  transition: border-color .2s var(--sm-ease), box-shadow .2s var(--sm-ease); }
.pd-persona:hover { box-shadow: var(--sm-shadow-rest); }
.pd-persona[aria-checked="true"] { border-color: var(--sm-wine); box-shadow: 0 0 0 1px var(--sm-wine), var(--sm-shadow-rest); }
.pd-persona .pd-pn b { display: block; font: 600 22px/1.15 var(--sm-serif); color: var(--sm-wine); }
.pd-persona .pd-pn small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--sm-muted); }
.pd-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pd-tag, .pd-lang { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; font: 500 12.5px/1 var(--sm-sans); }
.pd-tag { background: var(--sm-wine-soft); color: var(--sm-wine); letter-spacing: .02em; }
.pd-lang { border: 1px solid var(--sm-line); color: var(--sm-ink); background: var(--sm-bg); }
.pd-from { grid-column: 2; font: 500 14px/1.3 var(--sm-sans); color: var(--sm-rose-text); }

.pd-av { display: inline-grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--sm-icon-well); color: var(--sm-wine);
  font: 600 24px/1 var(--sm-serif); letter-spacing: .02em; }
.pd-page[data-avatar="monogram"] .pd-av { background: var(--sm-surface); border: 2px solid var(--sm-rose); font-size: 28px; }
.pd-av-sm { width: 44px; height: 44px; font-size: 18px; }
.pd-av-xl { width: 112px; height: 112px; font-size: 44px; }
.pd-page[data-avatar="monogram"] .pd-av-xl { font-size: 54px; }

.pd-card { padding: 18px; }
.pd-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sm .pd-card-h .pd-h3 { margin: 0; }
.pd-card-s { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.pd-birth { margin-top: 14px; display: grid; gap: 12px; }
.pd-fl { display: grid; gap: 6px; font: 500 14px/1.3 var(--sm-sans); color: var(--sm-ink); position: relative; }
.pd-fl small { font-weight: 400; color: var(--sm-muted); }
.pd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--sm-ink); }
.pd-check input { width: 22px; height: 22px; accent-color: var(--sm-wine); margin: 0; }
.pd-places { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; max-height: 232px; overflow: auto;
  background: var(--sm-surface); border: 1px solid var(--sm-line); border-radius: 14px; box-shadow: var(--sm-shadow-pop); }
.pd-places li { padding: 11px 12px; min-height: 44px; box-sizing: border-box; border-radius: 10px; font-size: 16px; line-height: 1.3; color: var(--sm-ink); cursor: pointer; }
.pd-places li:hover, .pd-places li[aria-selected="true"] { background: var(--sm-bg-alt); }
.pd-err { margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--sm-no-bg); color: var(--sm-no); font-size: 14px; }
.pd-card-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.pd-block { margin-top: 22px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; min-height: 44px; }
.pd-chips .sm-chip { min-height: 44px; font-size: 16px; }
.pd-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pd-cta .sm-btn { min-height: 52px; }
.pd-cta .pd-talk { flex: 1 1 240px; }
.pd-cta .pd-chat { flex: 0 1 auto; }
.pd-cta .pd-fine, .pd-cta .pd-gate { flex-basis: 100%; margin: 0; }
.pd-gate { font-size: 15px; color: var(--sm-wine); font-weight: 500; }

.pd-history { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--sm-line); }
.pd-hist-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-hist { padding: 16px 18px; background: var(--sm-surface); border: 1px solid var(--sm-line); border-radius: var(--sm-r-card); }
.pd-hist-top { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; justify-content: space-between; }
.pd-hist-top b { font: 600 20px/1.2 var(--sm-serif); color: var(--sm-wine); }
.pd-hist-top span { font-size: 14px; color: var(--sm-muted); }
.pd-hist p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.pd-hist-act { display: flex; gap: 14px; margin-top: 6px; }
.pd-hist-tr { margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--sm-bg); border: 1px solid var(--sm-line); font-size: 14.5px; line-height: 1.55; }
.pd-hist-tr b { color: var(--sm-ink); }

/* ── the call ── */
.pd-call { padding-top: 8px; }
.pd-callwrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--sm-gutter); box-sizing: border-box; }
.pd-callbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 6px; }
.pd-callwho { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pd-callwho b { display: block; font: 600 21px/1.1 var(--sm-serif); color: var(--sm-wine); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-callwho small { font-size: 13px; color: var(--sm-muted); }
.pd-timer { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--sm-surface); border: 1px solid var(--sm-line);
  color: var(--sm-ink); font: 500 16px/1 var(--sm-sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-timer svg { width: 20px; height: 20px; fill: none; stroke: var(--sm-rose); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-timer.is-warn { background: var(--sm-wait-bg); border-color: transparent; color: var(--sm-wait); }
.pd-timer.is-warn svg { stroke: var(--sm-wait); }
.pd-callgrid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.pd-stage { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 0; }
.pd-ring { position: relative; display: grid; place-items: center; width: 184px; height: 184px; margin: 6px 0 10px; }
.pd-ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.pd-ring-base { fill: none; stroke: var(--sm-line); stroke-width: 3; }
.pd-ring-arc { fill: none; stroke: var(--pd-accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 578; transition: stroke-dashoffset .5s var(--sm-ease); transform-origin: 100px 100px; }
.pd-pulse { position: absolute; inset: 10px; border-radius: 50%; border: 2px solid var(--pd-accent); opacity: 0; pointer-events: none; }
.pd-wave { position: absolute; bottom: -6px; display: flex; align-items: flex-end; gap: 5px; height: 26px; opacity: 0; transition: opacity .25s; }
.pd-wave i { display: block; width: 5px; height: 8px; border-radius: 3px; background: var(--sm-rose); }
.pd-ring[data-state="listening"] .pd-ring-arc { stroke-dashoffset: 0; }
.pd-ring[data-state="listening"] .pd-pulse { animation: pd-pulse 1.5s var(--sm-ease) infinite; }
.pd-ring[data-state="thinking"] .pd-ring-arc { stroke-dashoffset: 440; stroke: var(--sm-rose); animation: pd-spin 1.3s linear infinite; }
.pd-ring[data-state="speaking"] .pd-ring-arc { stroke-dashoffset: 0; stroke: var(--sm-rose); }
.pd-ring[data-state="speaking"] .pd-wave { opacity: 1; }
.pd-ring[data-state="speaking"] .pd-wave i { animation: pd-bar .9s ease-in-out infinite; }
.pd-wave i:nth-child(2) { animation-delay: .12s !important; } .pd-wave i:nth-child(3) { animation-delay: .24s !important; }
.pd-wave i:nth-child(4) { animation-delay: .36s !important; } .pd-wave i:nth-child(5) { animation-delay: .48s !important; }
@keyframes pd-pulse { 0% { transform: scale(.96); opacity: .55; } 100% { transform: scale(1.32); opacity: 0; } }
@keyframes pd-spin { to { transform: rotate(360deg); } }
@keyframes pd-bar { 0%, 100% { height: 6px; } 50% { height: 24px; } }
.pd-state { margin: 6px 0 0; min-height: 28px; font: 500 17px/1.4 var(--sm-sans); color: var(--sm-ink); }
.pd-warn { margin-top: 10px; min-height: 36px; padding: 6px 14px; border: 0; cursor: pointer; font-size: 16px; }
.pd-warn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.pd-wrapnote { margin: 8px 0 0; font-size: 14.5px; color: var(--sm-muted); font-style: italic; }
.pd-talk-col { display: flex; flex-direction: column; min-width: 0; }
.pd-bubbles { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.pd-b { max-width: 92%; padding: 11px 15px; border: 1px solid var(--sm-line); border-radius: 18px; background: var(--sm-surface); color: var(--sm-ink); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.pd-b small { display: block; margin-bottom: 2px; font: 500 12px/1.2 var(--sm-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sm-rose-text); }
.pd-b-me { align-self: flex-end; background: var(--sm-bg-alt); border-color: transparent; border-bottom-right-radius: 6px; }
.pd-b-pd { align-self: flex-start; border-bottom-left-radius: 6px; }
.pd-b.is-fresh { animation: pd-in .35s var(--sm-ease); }
@keyframes pd-in { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
.pd-type { display: flex; gap: 10px; margin-top: 12px; }
.pd-type .sm-field { flex: 1; min-width: 0; }
.pd-helpline { margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--sm-no-bg); color: var(--sm-no); font-size: 15.5px; line-height: 1.55; font-weight: 500; }
.pd-ctl { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 18px; }
.pd-cb { display: grid; place-items: center; gap: 4px; min-width: 64px; padding: 8px 6px; background: none; border: 0; color: var(--sm-ink); font: 500 16px/1 var(--sm-sans); cursor: pointer; }
.pd-cb svg { width: 52px; height: 52px; padding: 14px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid rgba(125, 46, 62, .35); background: var(--sm-surface); fill: none; stroke: var(--sm-wine); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-cb .pd-x { display: none; }
.pd-cb[aria-pressed="true"] .pd-x { display: inline; } .pd-cb[aria-pressed="true"] .pd-snd { display: none; }
.pd-cb[aria-pressed="true"] svg { background: var(--sm-bg-alt); }
.pd-end svg { stroke: var(--sm-no); border-color: rgba(155, 44, 44, .4); fill: var(--sm-no); }
.pd-mic { display: grid; place-items: center; width: 76px; height: 76px; border: 0; border-radius: 50%; background: var(--sm-wine); box-shadow: var(--sm-shadow-btn); cursor: pointer;
  transition: background-color .2s var(--sm-ease), transform .2s var(--sm-ease); }
.pd-mic:hover { background: var(--sm-wine-hover); }
.pd-mic svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-mic[aria-pressed="true"] { transform: scale(1.06); }
.pd-mic:disabled, .pd-cb:disabled { opacity: .45; cursor: default; }
.pd-ctl-sub { text-align: center; margin: 2px 0 0; }
.pd-disc { margin: 8px 0 0; text-align: center; font-size: 13.5px; color: var(--sm-muted); }
.pd-dock { padding-bottom: 6px; }

/* ── summary ── */
.pd-sumwrap { max-width: 720px; padding-top: 28px; }
.pd-sum { padding: 26px 22px; }
.pd-points { margin: 4px 0 12px; padding: 0; list-style: none; display: grid; gap: 12px; }
.pd-points li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.55; color: var(--sm-ink); }
.pd-points li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 8px; border: 1px solid var(--sm-rose); transform: rotate(45deg); background: var(--sm-bg); }
.pd-bless { margin: 6px 0 14px; font: italic 500 24px/1.3 var(--sm-serif); color: var(--sm-wine); }
.pd-saved { margin-top: 4px; }
.pd-saved svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-used { margin: 12px 0 0; font-size: 14.5px; color: var(--sm-muted); }
.pd-rate { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sm-line); }
.pd-stars { display: flex; gap: 6px; }
.pd-star { appearance: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.pd-star svg { width: 34px; height: 34px; fill: none; stroke: var(--sm-rose); stroke-width: 1.6; stroke-linejoin: round; }
.pd-star[aria-checked="true"] svg, .pd-star.is-lit svg { fill: var(--sm-clay); stroke: var(--sm-wine); }
.pd-sum-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ── sheets (pack sheet, consent, confirm): opaque Paper on a Kohl Plum scrim ── */
.pd-ov { position: fixed; inset: 0; z-index: 3000; display: none; align-items: flex-end; justify-content: center; background: rgba(58, 42, 47, .62); }
.pd-ov.is-open { display: flex; }
.pd-sheet { position: relative; box-sizing: border-box; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; padding: 26px 20px 22px; background: var(--sm-surface);
  border: 1px solid var(--sm-line); border-radius: 22px 22px 0 0; box-shadow: var(--sm-shadow-pop); animation: pd-up .3s var(--sm-ease); }
@keyframes pd-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.pd-x-btn { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--sm-muted); cursor: pointer; }
.pd-sheet-s { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; }
.pd-packs { display: grid; gap: 10px; }
.pd-pack { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; width: 100%; box-sizing: border-box; padding: 14px 16px; text-align: left;
  background: var(--sm-surface); border: 1px solid var(--sm-line); border-radius: 18px; color: var(--sm-text); font: 400 16px/1.35 var(--sm-sans); cursor: pointer; }
.pd-pack:hover { border-color: var(--sm-wine); }
.pd-pack b { font: 600 22px/1.1 var(--sm-serif); color: var(--sm-wine); }
.pd-pack .pd-price { grid-row: 1 / span 2; grid-column: 2; font: 600 24px/1 var(--sm-sans); color: var(--sm-ink); }
.pd-pack .pd-badge { position: absolute; right: 14px; top: -11px; padding: 3px 10px; border-radius: 999px; background: var(--sm-wine); color: #fff; font: 500 12px/1.2 var(--sm-sans); }
.pd-dlg-act { display: grid; gap: 10px; margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 3500; max-width: calc(100vw - 32px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 16px;
  background: var(--sm-surface); border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow-pop); color: var(--sm-ink); font: 500 15px/1.4 var(--sm-sans); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* the sign-in modal shell (the look is css/auth-modal.css; every page owns its show / hide) */
.mov { display: none; position: fixed; inset: 0; z-index: 3200; align-items: center; justify-content: center; padding: 16px; }
.mov.show { display: flex; }

/* ── phones: designed first ── */
@media (max-width: 767px) {
  .sm-btn-sm { font-size: 16px; }
  .pd-bubbles .pd-b:nth-last-child(n+4) { display: none; }          /* the last three turns as bubbles */
  .pd-wallet { margin-top: 14px; }
  .pd-cta .pd-talk, .pd-cta .pd-chat { flex: 1 1 100%; }
  .pd-row2 { grid-template-columns: 1fr 1fr; }
  .pd-callwrap { padding: 0 16px; }
  body.vivah-consent-on .pd-call { padding-bottom: 140px; }        /* the cookie banner (prod) must never cover the call controls */
  /* the mic, Mute and End stay under the thumb while the conversation scrolls above them */
  .pd-dock { position: sticky; bottom: 0; z-index: 20; margin: 0 -16px; padding: 10px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--sm-bg); border-top: 1px solid var(--sm-line); }
  .pd-dock .pd-ctl { margin-top: 0; }
  .pd-ring { width: 156px; height: 156px; margin: 2px 0 8px; }
  .pd-av-xl { width: 96px; height: 96px; font-size: 38px; }
  .pd-bubbles { min-height: 0; }
}
@media (max-width: 380px) { .pd-persona { grid-template-columns: 52px 1fr; padding: 14px; } .pd-av { width: 52px; height: 52px; } .pd-ctl { gap: 18px; } }

/* ── tablet (768–1024) ── */
@media (min-width: 768px) {
  .pd-head { padding-top: 40px; }
  .pd-grid { grid-template-columns: minmax(300px, 5fr) minmax(320px, 6fr); gap: 36px; align-items: start; }
  .pd-card { padding: 22px; }
  .pd-sheet { border-radius: 22px; align-self: center; padding: 30px 28px 26px; }
  .pd-ov { align-items: center; padding: 24px; }
  .pd-dlg-act { grid-template-columns: 1fr 1fr; }
  .pd-bubbles { max-height: 340px; overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
  .pd-ring { width: 224px; height: 224px; }
  .pd-av-xl { width: 136px; height: 136px; font-size: 52px; }
  .pd-sum { padding: 34px 36px; }
}
@media (min-width: 768px) and (max-width: 899px) { .pd-callgrid { max-width: 640px; margin: 0 auto; } }
@media (min-width: 900px) {
  .pd-callgrid { grid-template-columns: 340px 1fr; gap: 40px; align-items: start; margin-top: 10px; }
  .pd-stage { position: sticky; top: 96px; }
  .pd-bubbles { max-height: 420px; min-height: 240px; }
}

/* ── desktop (≥1025): the three Pandits side by side ── */
@media (min-width: 1025px) {
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .pd-personas { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pd-persona { grid-template-columns: 1fr; padding: 22px; gap: 8px; }
  .pd-persona .pd-av { width: 68px; height: 68px; }
  .pd-from { grid-column: 1; }
  .pd-col-b { display: grid; grid-template-columns: minmax(340px, 5fr) minmax(300px, 4fr); gap: 4px 40px; align-items: start; }
  .pd-col-b .pd-card { grid-row: 1 / span 3; }
  .pd-col-b .pd-block { margin-top: 0; }
  .pd-col-b .pd-block + .pd-block { margin-top: 14px; }
  .pd-col-b .pd-cta { grid-column: 1 / -1; margin-top: 8px; max-width: 520px; }
  .pd-callwrap { padding: 0 var(--sm-gutter); }
}
@media (min-width: 1025px) and (max-width: 1279px) { .pd-persona .pd-pn small { font-size: 13.5px; } }
