/* Public site pages (design v2, 2026-10-13; decision of 2026-10-11): directory,
   firm page, resources, forum, forum topic, contact, and the two windows every
   public page can open (account gate, partner contact). Loaded by
   Public_Base.html after public-site.css (header, drawer, footer).
   Tokens only (fragments/design_system.html), no hex. Shadows only where the
   canvas draws them: the windows, their bottom sheets and the open forum
   dropdown (Public_SignupGate, Public_Contact, Public_ResourceDetail,
   Phone_Public_SignupGate, Public_Forum).
   Width-dependent rules live at the bottom: 900px (layouts) and 640px (sheets). */

/* ── Page frame ─────────────────────────────────────────────────────── */
.pp-body { background: var(--white); display: flex; flex-direction: column; min-height: 100vh; }
.pp-main { flex: 1 0 auto; background: var(--paper-2); }
.pp-main--paper { background: var(--paper); }
.pp-main:focus { outline: none; }
.pp-main:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pp-page { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; padding-bottom: 40px; }
.pp-page > * { min-width: 0; }

.pp-intro { display: flex; align-items: flex-end; gap: 32px; margin-bottom: 4px; }
.pp-intro__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fo-intro { align-items: flex-start; }
.pp-intro h1 { font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--ink-900); }
.pp-intro p { max-width: 760px; font-size: 15px; color: var(--ink-500); }
.pp-h1-link { color: inherit; }
.pp-h1-link:hover { color: var(--blue-600); }
.pp-btn-head { flex: none; }
.pp-btn-head svg { flex: none; }

.pp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.pp-card--titled { padding: 14px 26px 20px; display: flex; flex-direction: column; gap: 14px; }
.pp-card--titled > h2 { font-size: 16px; font-weight: 700; color: var(--ink-900); }

.pp-empty { padding: 28px 16px; text-align: center; font-size: 13px; color: var(--ink-400);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.pp-textlink { font-size: 13px; font-weight: 600; color: var(--blue-600); }
.pp-textlink:hover { color: var(--blue-700); }
.pp-textlink--ink { color: var(--ink-700); }
.pp-form-error { font-size: 13px; color: var(--red-600); }
.pp-form-error a { color: inherit; text-decoration: underline; }

/* ── Pills, chips, logos, avatars ───────────────────────────────────── */
.pp-pill { display: inline-flex; align-items: center; font-size: 11px; line-height: 1.5; padding: 2px 8px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-500); white-space: nowrap; }
.pp-pill--blue { background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.pp-pill--strong { color: var(--ink-900); font-weight: 600; }
.pp-pill--dark { background: var(--ink-900); color: var(--white); font-weight: 600; }
.pp-pill--count { background: var(--line-soft); font-weight: 600; padding: 1px 8px; }
.pp-pill--level { font-weight: 600; padding: 2px 10px; }
.pp-pill--warn { background: var(--gold-soft); color: var(--gold-strong); font-weight: 600; }
.pp-chip { display: inline-flex; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-500); }

.pp-logo { flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--paper-2); color: var(--ink-500); font-weight: 700; }
.pp-logo img { width: 100%; height: 100%; object-fit: contain; }
.pp-logo--sm { width: 34px; height: 34px; border-radius: var(--r-sm); font-size: 11px; }
.pp-logo--sm:has(img) { background: var(--white); border: 1px solid var(--line); padding: 3px; }
.pp-logo--xl { width: 76px; height: 76px; border-radius: 16px; font-size: 22px; background: var(--ink-900); color: var(--white); }
.pp-logo--xl.has-img { background: var(--white); border: 1px solid var(--line); padding: 8px; }

.pp-avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; }
.pp-avatar--lg { width: 40px; height: 40px; font-size: 13px; }
.tone-0.pp-avatar { background: var(--gold-soft); color: var(--gold-strong); }
.tone-1.pp-avatar { background: var(--blue-100); color: var(--blue-600); }
.tone-2.pp-avatar { background: var(--paper-2); color: var(--ink-500); }
.tone-3.pp-avatar { background: var(--mint-soft); color: var(--mint-strong); }
.tone-4.pp-avatar { background: var(--line-soft); color: var(--ink-700); }
.tone-5.pp-avatar { background: var(--ink-900); color: var(--white); }

/* ── Controls shared by the filter bars ─────────────────────────────── */
.pp-filterbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.pp-search { flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border-radius: var(--r-sm); background: var(--paper-2); color: var(--ink-400); }
.pp-filterbar .pp-search { height: 38px; }
.pp-search:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.pp-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--ink-900); }
.pp-search input:focus { outline: none; }
.pp-search input::placeholder { color: var(--ink-400); }
/* Category (Resources) and sort (Forum): one choice each, the canonical
   .seg-toggle (grey track, the chosen option in white, rule of 2026-10-14). */
.pp-segs { flex: none; }
.pp-select { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  font: inherit; font-size: 13px; color: var(--ink-500); cursor: pointer; }
.pp-chipbtn { flex: none; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); font-size: 13px; color: var(--ink-500); display: inline-flex; align-items: center; gap: 6px; }
.pp-chipbtn:hover { border-color: var(--ink-200); color: var(--ink-900); }
.pp-chipbtn--flat { background: var(--paper-2); border-color: var(--paper-2); }
.pp-chipbtn--flat:hover { border-color: var(--paper-2); color: var(--ink-500); }
.pp-iconbtn { flex: none; width: 38px; height: 38px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-400);
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pp-iconbtn:hover { background: var(--paper-2); color: var(--ink-900); }
.pp-more { align-self: center; color: var(--blue-600); }

/* ── Windows: account gate, contact, resource detail ────────────────── */
.pp-overlay { position: fixed; inset: 0; z-index: 10300; display: flex; justify-content: center; align-items: flex-start;
  padding: 40px 16px; overflow-y: auto; background: rgba(10, 23, 51, .45); }
.pp-modal { width: 600px; max-width: 100%; background: var(--white); border-radius: var(--r-lg); padding: 24px 26px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 60px rgba(10, 23, 51, .25); }
.pp-grab { display: none; }
.pp-modal__head { display: flex; align-items: flex-start; gap: 12px; }
.pp-modal__titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pp-modal__titles h2 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink-900); }
.pp-modal__titles p { font-size: 13px; color: var(--ink-500); }
.pp-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-500);
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pp-close:hover { background: var(--paper-2); color: var(--ink-900); }
.pp-checks { list-style: none; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--paper-2);
  border-radius: 12px; font-size: 13px; color: var(--ink-700); }
.pp-checks li { display: flex; align-items: center; gap: 8px; }
.pp-checks svg { color: var(--mint); }
.pp-modal__foot { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.pp-btn-main { margin-left: auto; min-height: 44px; border-radius: 12px; padding: 0 20px; }
body.pp-modal-open { overflow: hidden; }

/* Partner contact form */
.pp-contact__form { display: flex; flex-direction: column; gap: 18px; }
.pp-fieldset { border: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pp-fieldset legend { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.pp-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-radio { min-height: 42px; padding: 0 12px; border: 1.5px solid var(--ink-200); border-radius: var(--r-sm); background: var(--white);
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-700); cursor: pointer; }
.pp-radio input { margin: 0; accent-color: var(--accent); }
.pp-radio:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); font-weight: 600; color: var(--ink-900); }
.pp-radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-700); min-width: 0; }
.pp-field .ds-input { font-weight: 400; }
.pp-field textarea.ds-input { height: auto; min-height: 96px; padding: 12px; resize: vertical; line-height: 1.5; }
.pp-field select.ds-input { background: var(--white); }
.pp-field__row { display: flex; align-items: baseline; gap: 6px; }
.pp-optional { font-size: 11px; font-weight: 400; font-style: italic; color: var(--ink-400); }
.pp-contact-sent { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 16px; }
.pp-contact-sent__close { align-self: stretch; display: flex; justify-content: flex-end; margin-bottom: 6px; }
.pp-contact-sent__mark { width: 48px; height: 48px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-strong);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pp-contact-sent h2 { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.pp-contact-sent p { margin-top: 6px; font-size: 14px; color: var(--ink-500); }

/* ── Directory (/firms) ─────────────────────────────────────────────── */
.pf-stats { margin-top: 8px; display: flex; gap: 36px; }
.pf-stats div { display: flex; flex-direction: column; }
.pf-stats dt { order: 2; font-size: 13px; color: var(--ink-400); }
.pf-stats dd { order: 1; font-size: 22px; font-weight: 700; color: var(--blue-600); }
.pf-intro .pp-btn-head { min-height: 42px; padding: 0 16px; }

.pf-surface { display: flex; flex-direction: column; gap: 10px; }
.pf-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.pf-filters { display: contents; }
.pf-sheet-open, .pf-sheet-scrim, .pf-sheet-head, .pf-done, .pf-filters > .pp-grab { display: none; }
.pf-dd { position: relative; }
.pf-dd__btn { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  font: inherit; font-size: 13px; color: var(--ink-500); display: flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.pf-dd__btn:hover { border-color: var(--ink-200); }
.pf-dd__btn svg { flex: none; }
.pf-dd__value { display: none; }
.pf-dd.is-set .pf-dd__btn { background: var(--blue-50); border-color: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.pf-dd.is-set .pf-dd__value { display: inline; }
.pf-dd.is-set .pf-dd__name::after { content: " :"; }
.pf-dd__panel { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; width: 280px; max-height: 320px; overflow-y: auto;
  padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.pf-dd:nth-last-of-type(-n+3) .pf-dd__panel { left: auto; right: 0; }
.pf-dd__search { height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 8px;
  color: var(--ink-400); flex: none; }
.pf-dd__search:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.pf-dd__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--ink-900); }
.pf-dd__search input:focus { outline: none; }
.pf-dd__list { display: flex; flex-direction: column; gap: 2px; }
.pf-opt { min-height: 34px; padding: 4px 10px; border-radius: 8px; display: flex; align-items: center; gap: 10px; font-size: 13px;
  color: var(--ink-900); cursor: pointer; }
.pf-opt:hover { background: var(--paper-2); }
.pf-opt input { margin: 0; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.pf-sep { width: 1px; height: 24px; background: var(--line); }
.pf-clear { height: 40px; padding: 0 8px; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--blue-600); cursor: pointer; border-radius: var(--r-sm); }
.pf-clear:hover { background: var(--blue-50); }

.pf-results { display: flex; flex-direction: column; gap: 5px; margin-top: -5px; }
.pf-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-count { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.pf-active { display: contents; }
.pf-active-pill { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 4px 0 12px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-600); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pf-active-pill button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pf-active-pill button:hover { background: var(--blue-100); }
.pf-active-clear { display: none; }
.pf-colors { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-400); }
.pf-legend { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 12px; color: var(--ink-500); }
.pf-legend > span { display: flex; align-items: center; gap: 8px; }
.pf-legend b { font-weight: 600; color: var(--ink-900); }
.pf-legend__icon { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--white); border: 1px solid var(--line);
  color: var(--ink-400); display: flex; align-items: center; justify-content: center; }

.pf-table { overflow: auto; /* height: .ds-fill-scroll on a desktop, the page on a phone */ background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); }
.pf-table:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pf-table__inner { min-width: 900px; }
.pf-row { display: grid; grid-template-columns: 104px minmax(0, 1.3fr) 150px 190px minmax(0, 1.2fr) 70px; gap: 14px; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.pf-row--head { position: sticky; top: 0; z-index: 1; background: var(--white); padding: 11px 18px; border-bottom-color: var(--line);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.pf-row.is-hidden, .pf-row.is-paged { display: none; }
.pf-acts { display: flex; gap: 4px; }
.pf-act { width: 30px; height: 30px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ink-300); }
.pf-act:hover { background: var(--paper-2); color: var(--ink-700); }
.pf-act--blue { color: var(--blue-600); }
.pf-act--blue:hover { color: var(--blue-700); }
.pf-firm { display: flex; gap: 10px; align-items: center; min-width: 0; color: var(--ink-900); }
.pf-firm__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pf-firm__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.pf-firm:hover .pf-firm__name { color: var(--blue-600); }
.pf-firm__size { font-size: 11px; color: var(--ink-400); }
.pf-cell { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.pf-meta { display: none; }
.pf-offers { font-weight: 600; color: var(--ink-900); }
.pf-offers.is-zero { font-weight: 400; color: var(--ink-300); }
.pf-empty { padding: 28px 18px; text-align: center; font-size: 13px; color: var(--ink-400); }
.pf-more-wrap { display: flex; justify-content: center; }
.pf-more-wrap:has(> [hidden]) { display: none; }

/* ── Firm page (/firms/{id}) ────────────────────────────────────────── */
.fd-hero { display: flex; align-items: flex-start; gap: 20px; padding: 24px 26px; border-radius: 18px; }
.fd-hero__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fd-hero h1 { font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--ink-900); }
.fd-hero p { max-width: 640px; color: var(--ink-500); }
.fd-hero__links { display: flex; gap: 8px; margin-top: 4px; }
.fd-hero__links .btn { color: var(--ink-700); }
.fd-hero__acts { flex: none; display: flex; gap: 8px; align-items: center; }
.fd-act { flex: none; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--ink-400); }
.fd-act > span { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  display: flex; align-items: center; justify-content: center; }
.fd-act:hover > span { border-color: var(--ink-200); color: var(--ink-900); }

.fd-facts { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.fd-facts > div { display: contents; }
.fd-facts dt { font-size: 13px; color: var(--ink-400); }
.fd-facts dd { display: flex; flex-wrap: wrap; gap: 6px; }

.fd-offers { overflow: hidden; }
.fd-offers__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.fd-offers__title { display: flex; align-items: center; gap: 10px; }
.fd-offers__title h2 { font-size: 16px; font-weight: 700; color: var(--ink-900); }
.fd-offers__title .pp-pill--dark { cursor: help; }
.fd-offers__updated { margin-left: auto; font-size: 12px; color: var(--ink-400); }
.fd-careers { color: var(--ink-700); min-height: 36px; }
.fd-offers__shown { padding: 12px 22px 0; font-size: 13px; color: var(--ink-500); }
.fd-offers__none { padding: 18px 22px 22px; font-size: 13px; color: var(--ink-400); }
.fd-table { padding: 8px 4px 0; }
.fd-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px 90px 110px 72px; gap: 12px; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.fd-row:last-child { border-bottom: 0; }
.fd-row--head { padding: 10px 18px; border-bottom-color: var(--line); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-400); }
.fd-row__title { font-weight: 600; color: var(--ink-900); min-width: 0; }
.fd-cell { color: var(--ink-500); }
.fd-row__meta, .fd-row__posted { display: none; }
.fd-row__acts { display: flex; gap: 4px; justify-content: flex-end; }
.fd-locked { margin: 8px 22px 22px; padding: 30px 32px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.fd-locked__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center; }
.fd-locked h3 { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.fd-locked p { max-width: 520px; color: var(--ink-500); }
.fd-locked ul { list-style: none; margin-top: 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 13px; color: var(--ink-700); }
.fd-locked li { display: flex; align-items: center; gap: 6px; }
.fd-locked li svg { color: var(--mint); }
.fd-locked .pp-btn-main { margin: 8px 0 0; padding: 0 22px; }
.fd-locked__note { font-size: 12px; color: var(--ink-400); }

/* ── Resources (/community) ─────────────────────────────────────────── */
.pr-section { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.pr-section__head { display: flex; align-items: center; gap: 8px; }
.pr-section__head h2 { font-size: 17px; font-weight: 600; color: var(--ink-900); }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.pr-card { height: 172px; min-width: 0; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 10px; }
.pr-card.is-hidden, .pr-card.is-paged, .pr-section.is-hidden { display: none; }
.pr-card__top { display: flex; gap: 10px; align-items: flex-start; }
.pr-tile { width: 40px; height: 40px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; overflow: hidden; }
.pr-tile img { width: 100%; height: 100%; object-fit: contain; }
.pr-tile:has(img) { background: var(--white); border: 1px solid var(--line); padding: 4px; }
.pr-tile.tone-0 { background: var(--ink-900); color: var(--white); }
.pr-tile.tone-1 { background: var(--paper-2); color: var(--ink-500); }
.pr-tile.tone-2 { background: var(--blue-50); color: var(--blue-600); }
.pr-tile--lg { width: 52px; height: 52px; border-radius: 14px; font-size: 15px; }
.pr-card__titles { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pr-card__title { font-weight: 600; color: var(--ink-900); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pr-card__title:hover { color: var(--blue-600); }
.pr-card__host { font-size: 12px; color: var(--ink-400); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pr-fav { height: 30px; flex: none; padding: 0 8px; border-radius: 8px; font-size: 12px; color: var(--ink-400); display: flex; align-items: center; gap: 4px; }
.pr-fav:hover { background: var(--paper-2); color: var(--ink-900); }
.pr-card__desc { flex: none; height: 39px; font-size: 13px; line-height: 1.5; color: var(--ink-500); overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pr-card__foot { margin-top: auto; display: flex; gap: 6px; align-items: center; min-width: 0; }
.pr-open { margin-left: auto; flex: none; display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--blue-600); }
.pr-open:hover { color: var(--blue-700); }
.pr-more { align-self: flex-start; display: flex; align-items: center; gap: 4px; border: 0; background: transparent; padding: 0;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--blue-600); cursor: pointer; }
.pr-more:hover { color: var(--blue-700); }
.pr-more.is-open svg { transform: rotate(-90deg); }
/* A category the preview shows whole: its "See all" link is drawn on a phone only, where two cards show. */
.pr-more--phone { display: none; }
.pr-detail__head { gap: 14px; }
.pr-detail__head .pp-modal__titles { gap: 6px; }
.pr-detail__head h2 { font-size: 19px; }
.pr-detail__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-detail__pills .pp-pill { padding: 2px 10px; }
.pr-detail__desc { font-size: 14px; line-height: 1.6; color: var(--ink-700); white-space: pre-line; }
.pr-detail__host { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-500); min-width: 0; }
.pr-detail__host svg { flex: none; color: var(--ink-400); }
.pr-detail__host span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pr-detail__fav { margin-left: 0; padding: 0 14px; color: var(--ink-500); }
.pr-detail .pp-modal__foot { margin-top: 4px; }

/* ── Forum (/community?tab=forum) and topic (/community/forum/{id}) ─── */
.fo-row2 { display: contents; }
.fo-dd { position: relative; flex: none; width: 230px; }
.fo-dd__btn { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  font: inherit; font-size: 13px; color: var(--ink-500); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.fo-dd__btn[aria-expanded="true"], .fo-dd.is-set .fo-dd__btn { border-color: var(--blue-600); }
.fo-dd__value { margin-left: auto; font-size: 12px; color: var(--ink-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-dd.is-set .fo-dd__value { color: var(--blue-600); font-weight: 600; }
.fo-dd__panel { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; width: 300px; max-width: calc(100vw - 32px); padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 16px 40px rgba(10, 23, 51, .16); }
.fo-dd__list { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.fo-opt { min-height: 34px; padding: 0 10px; border-radius: 8px; display: flex; align-items: center; gap: 10px; font-size: 13px;
  color: var(--ink-900); cursor: pointer; }
.fo-opt:hover { background: var(--paper-2); }
.fo-opt.is-hidden { display: none; }
.fo-opt input { margin: 0; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.fo-opt__logo { width: 20px; height: 20px; flex: none; border-radius: 5px; background: var(--white); border: 1px solid var(--line);
  font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fo-opt__logo img, .fo-tag__logo img { width: 100%; height: 100%; object-fit: contain; }
.fo-opt__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fo-opt__count { margin-left: auto; font-size: 11px; color: var(--ink-400); }
.fo-dd__foot { display: flex; align-items: center; padding: 4px 4px 0; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-400); }
.fo-dd__foot .pf-clear { margin-left: auto; height: 28px; font-size: 12px; }
.fo-sort-select { display: none; }
.fo-count { font-size: 12px; color: var(--ink-500); padding: 0 2px; }
.fo-list { display: flex; flex-direction: column; gap: 10px; }
.fo-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 20px; }
.fo-card__title, .fo-card__excerpt, .fo-card__stats { flex: 0 0 100%; min-width: 0; }
.fo-card.is-hidden { display: none; }
.fo-who { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; }
.fo-who__name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fo-who b, .ft-who b { font-weight: 600; color: var(--ink-900); }
.fo-date { font-size: 12px; color: var(--ink-400); }
.fo-tags { flex: 0 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.fo-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 4px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-500); font-size: 12px; font-weight: 600; white-space: nowrap; }
.fo-tag--plain { padding: 0 10px; }
.fo-tag--lg { height: 30px; padding-left: 6px; }
.fo-tag--plain.fo-tag--lg { padding-left: 10px; }
a.fo-tag:hover { color: var(--blue-600); }
.fo-tag__logo { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ink-900); }
.fo-card__title { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink-900); }
.fo-card__title:hover { color: var(--blue-600); }
.fo-card__excerpt { font-size: 13px; color: var(--ink-500); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fo-card__stats { display: flex; gap: 10px; font-size: 13px; }
.fo-card__stats a { display: flex; align-items: center; gap: 5px; color: var(--ink-500); }
.fo-card__stats a:hover { color: var(--blue-600); }
.fo-card__stats a.is-zero { color: var(--ink-300); }

.ft-topic { padding: 22px 26px; border-radius: 18px; display: flex; flex-direction: column; gap: 14px; }
.ft-topic__head { display: flex; gap: 10px; align-items: center; }
.ft-topic__who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ft-topic__name { display: flex; align-items: center; gap: 8px; }
.ft-topic__name b { font-weight: 600; color: var(--ink-900); }
.ft-topic__title { font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--ink-900); }
.ft-topic__text { color: var(--ink-500); white-space: pre-line; overflow-wrap: anywhere; }
.ft-topic__stats { display: flex; gap: 8px; align-items: center; }
.ft-topic__stats .pp-chipbtn { height: 36px; }
.ft-comments { border-radius: 18px; padding: 14px 22px 18px; gap: 0; }
.ft-comments > h2 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.ft-join { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: 12px; background: var(--blue-50);
  margin-bottom: 4px; }
.ft-join__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; }
.ft-join__text b { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.ft-join__text span { font-size: 13px; color: var(--ink-500); }
.ft-join__acts { flex: none; display: flex; align-items: center; gap: 16px; }
.ft-comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.ft-list > .ft-comment:last-child { border-bottom: 0; }
.ft-comment .pp-avatar { width: 34px; height: 34px; }
.ft-comment__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ft-who { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 13px; }
.ft-text { font-size: 13px; color: var(--ink-500); white-space: pre-line; overflow-wrap: anywhere; }
.ft-acts { display: flex; gap: 10px; font-size: 12px; }
.ft-acts a { display: flex; align-items: center; gap: 5px; color: var(--ink-500); }
.ft-acts a:hover { color: var(--blue-600); }
.ft-replies-btn { border: 0; padding: 0; background: transparent; font: inherit; color: var(--ink-500); cursor: pointer;
  display: flex; align-items: center; gap: 5px; }
.ft-replies-btn[aria-expanded="true"] { color: var(--blue-600); font-weight: 600; }
.ft-replies-btn.is-zero, .ft-replies-btn:disabled { color: var(--ink-300); cursor: default; }
.ft-replies { margin-top: 6px; padding-left: 14px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.ft-reply { display: flex; gap: 10px; }
.ft-reply .pp-avatar { width: 28px; height: 28px; font-size: 11px; }
.ft-reply .ft-comment__body { gap: 4px; }
.ft-reply .ft-acts a { align-self: flex-start; }
.ft-replies > .pp-textlink { align-self: flex-start; font-size: 12px; }
.ft-comments .pp-more { margin: 8px auto 0; }

/* ── Width-dependent: tablet and phone layouts (900px) ──────────────── */
@media (max-width: 900px) {
  .pp-page { gap: 14px; padding-top: 20px; padding-bottom: 28px; }
  .pp-intro { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 0; }
  .pp-intro__text { gap: 6px; }
  .pp-intro h1 { font-size: 26px; }
  .pp-intro p { font-size: 13px; }
  .pp-btn-head { align-self: flex-start; margin-top: 4px; }
  .pf-intro .pp-btn-head { min-height: 40px; padding: 0 14px; }
  .pp-card--titled { padding: 12px 16px 16px; gap: 12px; }
  .pp-card--titled > h2 { font-size: 15px; }
  .pp-chip { font-size: 11px; }

  /* nowrap: a wrapping column sizes its line to the widest child, which then overflows the card. */
  .pp-filterbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; padding: 12px; }
  .fo-filters { gap: 8px; }
  .pp-search { flex: none; height: 44px; }
  .pp-filterbar .pp-search { height: 44px; }
  .pp-search input { font-size: 16px; }
    .pp-select { height: 40px; font-size: 16px; }

  /* Directory: one white surface, the filters move to a bottom sheet */
  .pf-stats { margin-top: 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .pf-stats dt { font-size: 11px; line-height: 1.35; }
  .pf-stats dd { font-size: 20px; }
  .pf-surface { gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
  .pf-bar { flex-wrap: nowrap; padding: 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .pf-bar .pp-search { flex: 1 1 auto; }
  .pf-sheet-open { display: flex; flex: none; align-items: center; gap: 6px; height: 44px; padding: 0 12px 0 14px; border: 1px solid var(--line);
    border-radius: 999px; background: var(--white); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-700); cursor: pointer; }
  .pf-sheet-open.is-set { border-color: var(--blue-200); background: var(--blue-50); color: var(--blue-600); }
  .pf-sheet-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--blue-600); color: var(--white);
    font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
  .pf-filters { display: none; }
  .pf-filters.is-open { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10300; max-height: 82vh; overflow-y: auto;
    padding: 10px 16px 20px; background: var(--white); border-radius: 20px 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
  .pf-sheet-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 10290; background: rgba(10, 23, 51, .45); }
  .pf-filters > .pp-grab { display: block; }
  .pf-sheet-head { display: flex; align-items: center; gap: 8px; }
  .pf-sheet-head h2 { font-size: 18px; font-weight: 700; color: var(--ink-900); }
  .pf-sheet-head .pf-clear { margin-left: auto; height: 44px; padding: 0 4px; }
  .pf-sep, .pf-clear--bar { display: none; }
  .pf-done { display: inline-flex; flex: none; margin: 6px 0 0; width: 100%; }
  .pf-dd__btn { width: 100%; height: 48px; padding: 0 12px 0 14px; border-radius: 12px; gap: 10px; }
  .pf-dd__name { color: var(--ink-500); font-weight: 400; }
  .pf-dd__value { display: inline; margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-400); font-weight: 400; }
  .pf-dd.is-set .pf-dd__btn { border-color: var(--blue-200); }
  .pf-dd.is-set .pf-dd__name { color: var(--ink-500); font-weight: 400; }
  .pf-dd.is-set .pf-dd__name::after { content: none; }
  .pf-dd.is-set .pf-dd__value { color: var(--blue-600); font-weight: 600; }
  .pf-dd__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .pf-dd__panel { position: static; width: auto; max-height: none; padding: 6px 0 2px; border: 0; border-radius: 0; }
  .pf-opt { min-height: 44px; }

  .pf-results { margin-top: 0; gap: 0; }
  .pf-summary { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
  .pf-count { font-size: 12px; }
  .pf-active { display: flex; gap: 6px; margin: 0 -12px; padding: 0 12px; width: calc(100% + 24px); overflow-x: auto; white-space: nowrap; }
  .pf-active:empty { display: none; }
  .pf-active-pill { flex: none; height: 32px; padding: 0 2px 0 12px; border: 1px solid var(--blue-600); }
  .pf-active-pill button { width: 28px; height: 28px; }
  .pf-active-clear { display: inline-flex; flex: none; align-items: center; height: 32px; padding: 0 12px; border: 1px dashed var(--ink-200);
    border-radius: 999px; background: transparent; font: inherit; font-size: 12px; font-weight: 600; color: var(--ink-500); cursor: pointer; }
  .pf-colors { margin-left: 0; font-size: 11px; }
  .pf-legend { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--paper); }

  .pf-table { max-height: none; overflow: visible; border: 0; border-radius: 0; }
  .pf-table__inner { min-width: 0; }
  .pf-row--head { display: none; }
  .pf-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "firm acts" "meta meta"; gap: 6px 8px; padding: 12px; }
  .pf-acts { grid-area: acts; gap: 2px; }
  .pf-act { width: 38px; height: 44px; color: var(--ink-400); }
  .pf-firm { grid-area: firm; }
  .pf-firm__name { font-size: 14px; white-space: nowrap; }
  .pf-firm__size { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf-col-city, .pf-col-type, .pf-col-industry, .pf-offers { display: none; }
  .pf-meta { grid-area: meta; display: flex; gap: 6px; padding-left: 44px; }
  .pf-more-wrap { padding: 14px 12px 16px; }
  .pp-more { min-height: 44px; border-radius: 12px; padding: 0 18px; }

  /* Firm page */
  .fd-hero { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 16px; border-radius: var(--r-card); }
  .fd-hero__text { display: contents; }
  .pp-logo--xl { width: 48px; height: 48px; border-radius: 12px; font-size: 15px; }
  .pp-logo--xl.has-img { padding: 5px; }
  .fd-hero h1 { grid-column: 2; grid-row: 1; font-size: 15px; }
  .fd-hero__acts { grid-column: 3; grid-row: 1; gap: 2px; }
  .fd-act { width: 40px; height: 44px; }
  .fd-act > span { width: 34px; height: 34px; border-radius: 9px; }
  .fd-act svg { width: 16px; height: 16px; }
  .fd-hero p { grid-column: 1 / -1; font-size: 12px; }
  .fd-hero__links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .fd-hero__links .btn { min-height: 40px; border-radius: var(--r-sm); }
  .fd-facts { display: flex; flex-direction: column; gap: 12px; }
  .fd-facts > div { display: flex; flex-direction: column; gap: 4px; }
  .fd-facts dt { font-size: 12px; }
  .fd-offers { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
  .fd-offers__head { flex-direction: column; align-items: stretch; gap: 4px; padding: 0; border: 0; }
  .fd-offers__title h2 { font-size: 15px; }
  .fd-offers__title { gap: 8px; }
  .fd-offers__updated { margin-left: 0; }
  .fd-careers { margin-top: 6px; min-height: 40px; white-space: normal; text-align: center; }
  .fd-offers__shown { padding: 0; font-size: 12px; }
  .fd-offers__none { padding: 0; }
  .fd-table { padding: 0; display: flex; flex-direction: column; gap: 8px; }
  .fd-row--head, .fd-cell { display: none; }
  .fd-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title acts" "meta acts" "posted acts"; gap: 4px;
    padding: 12px 4px 12px 14px; border: 1px solid var(--line); border-radius: 12px; align-items: start; }
  .fd-row:last-child { border-bottom: 1px solid var(--line); }
  .fd-row__title { grid-area: title; font-size: 14px; }
  .fd-row__meta { grid-area: meta; display: block; font-size: 12px; color: var(--ink-500); }
  .fd-row__posted { grid-area: posted; display: block; font-size: 12px; color: var(--ink-400); }
  .fd-row__acts { grid-area: acts; }
  .fd-row__acts .pf-act { width: 44px; height: 44px; border-radius: var(--r-sm); }
  .fd-locked { margin: 2px 0 0; padding: 20px 16px; gap: 10px; }
  .fd-locked h3 { font-size: 15px; }
  .fd-locked p, .fd-locked ul { font-size: 12px; }
  .fd-locked ul { flex-direction: column; align-items: flex-start; text-align: left; }
  .fd-locked .pp-btn-main { align-self: stretch; }

  /* Resources */
  .pr-section { margin-top: 6px; }
  .pr-section__head h2 { font-size: 15px; }
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-card { height: 160px; padding: 14px 10px 10px 14px; gap: 8px; }
  .pr-card__top { gap: 12px; align-items: center; }
  .pr-card__title { font-size: 14px; }
  .pr-fav { height: 44px; border-radius: var(--r-sm); }
  .pr-card__desc { padding-right: 4px; line-height: 18px; height: 36px; }
  .pr-card__foot { height: 36px; flex: none; }
  .pr-open { height: 36px; padding: 0 6px; }
  .pr-more { min-height: 40px; }
  .pr-section:not(.is-narrowed) .pr-card:nth-child(n+3) { display: none; }
  .pr-more--phone { display: flex; }

  /* Forum */
  .fo-row2 { display: flex; gap: 8px; align-items: center; }
  .fo-dd { flex: 1 1 50%; width: auto; min-width: 0; }
  .fo-dd__btn { height: 44px; }
  .fo-segs, .fo-sort, .fo-mine { display: none; }
  .fo-sort-select { display: block; box-sizing: border-box; flex: 1 1 50%; min-width: 0; height: 44px; padding: 0 8px 0 12px; border-color: var(--line); font-size: 13px; color: var(--ink-500); }
  .pp-iconbtn { width: 44px; height: 44px; }
  /* Phone card (Phone_Public_Forum): name over date, the firm tags move to the stats row. */
  .fo-card { padding: 14px; gap: 8px 10px; }
  .fo-who { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 0; line-height: 1.3; }
  .fo-who__name b { font-size: 13px; }
  .fo-card__title { font-size: 14px; line-height: 1.4; }
  .fo-card__excerpt { font-size: 12px; }
  .fo-card__stats { order: 5; flex: 0 0 auto; gap: 4px; margin: 0 -8px -6px; }
  .fo-card__stats a { min-width: 44px; height: 40px; padding: 0 8px; }
  .fo-card .fo-tags { order: 6; flex: 1 1 0; margin: 0 0 -6px auto; }
  .fo-tag { font-size: 11px; }
  .ft-topic { padding: 16px; border-radius: var(--r-card); }
  .ft-topic__title { font-size: 18px; }
  .ft-topic__head .fo-tags { flex: 0 1 auto; }
  .ft-topic__text { font-size: 13px; }
  .ft-comments { padding: 12px 16px 16px; border-radius: var(--r-card); }
  .ft-join { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .ft-join__text { flex: none; }
  .ft-join__text span { font-size: 12px; }
  .ft-join__acts { gap: 8px; }
  .ft-join__acts > a { flex: 1 1 0; min-height: 40px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; }
  .ft-join__acts > .pp-textlink { background: var(--white); border: 1px solid var(--blue-100); }
  .ft-comments .pp-more { width: 100%; }
}

/* ── Width-dependent: windows become bottom sheets (640px) ──────────── */
@media (max-width: 640px) {
  .pp-overlay { align-items: flex-end; padding: 0; }
  .pp-modal { width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 10px 16px 24px; gap: 14px;
    box-shadow: 0 -10px 30px rgba(10, 23, 51, .16); }
  .pp-grab { display: block; align-self: center; flex: none; width: 36px; height: 4px; border-radius: 999px; background: var(--ink-200); }
  .pp-modal__head { position: sticky; top: -10px; z-index: 1; margin-top: -4px; padding-top: 4px; background: var(--white); }
  .pp-close { width: 44px; height: 44px; margin-right: -8px; }
  /* Gate sheet (Phone_Public_SignupGate): the title shares its row with the cross, the lead runs full width below. */
  #ppGate .pp-modal__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  #ppGate .pp-modal__titles { display: contents; }
  #ppGate .pp-modal__titles h2 { grid-column: 1; grid-row: 1; }
  #ppGate .pp-close { grid-column: 2; grid-row: 1; }
  #ppGate .pp-modal__titles p { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
  /* Contact sheet (Phone_Public_Contact): no grab handle, larger radios. */
  #ppContact .pp-grab { display: none; }
  #ppContact .pp-modal { padding-top: 18px; }
  #ppContact .pp-modal__head { top: -18px; }
  .pp-radio input { width: 20px; height: 20px; }
  #ppGate .pp-modal__foot { flex-direction: column; align-items: stretch; gap: 0; }
  #ppGate .pp-textlink { align-self: center; min-height: 40px; display: flex; align-items: center; }
  .pp-modal__foot .pp-btn-main { flex: 1; margin-left: 0; }
  .pr-detail__fav { flex: none !important; }
  .pp-grid2 { grid-template-columns: minmax(0, 1fr); }
  .pp-contact__form { gap: 16px; }
  .pp-contact__form .pp-modal__foot .pp-btn-main { width: 100%; }
  /* Phone_Public_Contact: one profile per row, Send kept at the bottom of the sheet. */
  .pp-radios { grid-template-columns: minmax(0, 1fr); }
  .pp-radio { min-height: 44px; }
  .pp-overlay .pp-contact__form .pp-modal__foot { position: sticky; bottom: -24px; z-index: 1; margin: 0 -16px -24px; padding: 10px 16px 24px; background: var(--white); }
  .pp-radio { font-size: 13px; padding: 0 12px; gap: 10px; }
  .pp-field .ds-input { font-size: 16px; }
}
