/* Public pages only (agent pages, guest sign-in, link pages, staff sign-in), loaded
   after brand/bundle.css. Values come from tokens.css only. */

html, body { margin: 0; min-height: 100%; background: var(--paper); }
.pp-public { min-height: 100vh; }
.pp-public p { margin: 0; }
.pp-public .pp-desc { color: var(--text-secondary); }
.pp-public h1 { font: 700 40px/48px var(--font-sans); letter-spacing: -0.01em; text-wrap: balance; }
/* Phones: 32px, shrinking for long names so a typical full name stays on one line
   (about 9 em wide at Lato Bold); if a very long one still wraps, the lines balance. */
@media (max-width: 560px) { .pp-public h1 { font-size: min(32px, calc((100vw - 48px) / 9)); line-height: 1.2; } }

/* Logo centered over the content column (Gene, 2026-10-07). The design system says
   left-aligned; on a wide screen that strands the logo far from the content. */
.pp-public__header { display: flex; justify-content: center; }

/* Phones: 16px side margins (bundle.css uses 24px), so names and buttons get the room. */
@media (max-width: 420px) {
  .pp-public__main { padding-left: 16px; padding-right: 16px; }
  .pp-public__header { padding-left: 16px; padding-right: 16px; }
}
.pp-public h3 { margin: 0; font: 700 20px/28px var(--font-sans); color: var(--text-strong); }
.pp-caption { font-size: 13px; line-height: 18px; color: var(--text-secondary); }
.pp-eyebrow { font: 700 13px/16px var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-subtle); }
.pp-public .pp-stack { display: flex; flex-direction: column; gap: var(--space-2); }
.pp-public .pp-stack--tight { gap: var(--space-1); }
.pp-public form { margin: 0; }

/* Footer on a phone: stack, brokerage side left-aligned. */
@media (max-width: 560px) {
  .pp-compliance { padding: 20px var(--space-3); }
  .pp-compliance__brokerage { text-align: left; }
}

/* Link-not-active, not-found and error pages. */
.pp-message { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4) 0; }
.pp-message p { color: var(--text-secondary); }

/* Agent page: option buttons with the label on the left. */
.pp-options { display: flex; flex-direction: column; gap: var(--space-1-5); }
.pp-options .pp-btn { justify-content: flex-start; white-space: normal; text-align: left; height: auto; min-height: 56px; padding: 12px var(--space-2); }
.pp-options .pp-btn .pp-icon { width: 20px; height: 20px; color: var(--action-green); }

/* Guest sign-in card and kiosk QR. */
.pp-public .pp-panel { gap: var(--space-2); }
.pp-choices { display: flex; gap: var(--space-3); }
.pp-choices label { display: flex; align-items: center; gap: var(--space-1); min-height: 48px; font: 400 16px/24px var(--font-sans); cursor: pointer; }
.pp-choices input { width: 20px; height: 20px; margin: 0; accent-color: var(--action-green); }
.pp-public fieldset { border: 0; margin: 0; padding: 0; }
.pp-public legend { padding: 0; margin-bottom: var(--space-half); font: 700 16px/24px var(--font-sans); color: var(--ink); }
.pp-optional { font-weight: 400; color: var(--text-secondary); }
.pp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.pp-kiosk { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.pp-kiosk .pp-qr { width: 112px; height: 112px; flex: none; padding: 4px; }
.pp-kiosk .pp-qr svg { display: block; width: 100%; height: 100%; }
@media (max-width: 760px) { .pp-kiosk { display: none; } }
.pp-thanks { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); text-align: center; padding: var(--space-2) 0; }
.pp-thanks .pp-icon { width: 40px; height: 40px; color: var(--action-green); }
.pp-public [hidden] { display: none !important; }

/* Staff sign-in. */
.pp-signin { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3) 0; }
.pp-gsi { min-height: 44px; }

/* Official Equal Housing Opportunity mark (public.js). Not square and its words are inside the
   artwork, so it overrides the design system's 30px square slot for the stand-in drawing. */
.pp-eho { color: inherit; }
.pp-eho svg { width: auto; height: 48px; display: block; }
.pp-eho span { font-size: 11px; line-height: 13px; }   /* readable caption; the design system's 8px is too small alone */
