/* Public and pre-login hierarchy. Shared tokens override historic page-local sizes. */
:root { --eh-hero: clamp(24px, 2.5vw, 32px); --eh-title: clamp(24px, 2.5vw, 32px); --eh-heading: clamp(22px, 2vw, 28px); --eh-body: 16px; --eh-lead: clamp(17px, 1.5vw, 20px); --eh-small: 14px; }
.ps-public { font-size: var(--eh-body); line-height: 1.6; }
.ps-public .ps-display { font-size: var(--eh-title) !important; line-height: 1.2 !important; }
/* Legacy marketing markers retain the same compact title scale. */
.ps-public .ps-display.ps-marketing-title { font-size: var(--eh-hero) !important; line-height: 1.1 !important; }
.ps-public .ps-h2 { font-size: var(--eh-heading) !important; line-height: 1.18 !important; }
.ps-public .ps-lead { font-size: var(--eh-lead) !important; line-height: 1.6; }
.ps-public .ps-eyebrow { font-size: 13px; }
.ps-public .ps-small, .ps-public .ps-muted.ps-small { font-size: var(--eh-small); }
.ps-public .ps-footer { padding-block: 16px 12px; font-size: var(--eh-small); }
.ps-public .ps-footer strong { font-size: 16px; }
.ps-public .ps-footer-base { font-size: 13px; }
.ps-public .ps-footer-grid { gap: 4px; }
.ps-public .ps-header-row { min-height: 80px; }
.ps-public .ps-nav { font-size: 15px; }
.ps-public .ps-btn, .ps-public input, .ps-public select, .ps-public textarea { font-size: 16px; }
.ps-public main .ps-tile h3, .ps-public .ps-card h3, .ps-public .planner-card h3 { font-size: 20px; }
.ps-public .hp-card { min-width: 0; }
.ps-public .hp-card h2 { font-size: 24px; }
.ps-public .hp-card p { font-size: 16px; }
.ps-public .hp-actions { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--cl); }
.ps-public .hp-actions a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--cl); color: var(--c); font-size: 15px; font-weight: 600; text-decoration: none; min-height: 48px; }
.ps-public .hp-actions a:last-child { border-bottom: 0; }
.ps-public .hp-actions a:hover { text-decoration: underline; }
.ps-public a:focus-visible { outline: 3px solid var(--ps-accent); outline-offset: 4px; }
.ps-public .ps-document h1 { font-size: var(--eh-title); }
.ps-public .ps-document h2 { font-size: var(--eh-heading); }
.eh-prelogin { font-size: 16px; line-height: 1.6; }
.eh-prelogin .login-brand-title { font-size: clamp(24px, 2.5vw, 32px); }
.eh-prelogin .login-card h1, .eh-prelogin .login-card h2 { font-size: clamp(24px, 2.5vw, 32px) !important; }
.eh-prelogin .form-label, .eh-prelogin .form-control, .eh-prelogin .form-select, .eh-prelogin button { font-size: 16px !important; }
.eh-prelogin .text-muted, .eh-prelogin .text-danger, .eh-prelogin .btn-back { font-size: 14px !important; }
@media (max-width: 600px) { .ps-public .ps-header-row { min-height: 72px; } .ps-public .ps-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; } .ps-public .hp-actions a { font-size: 15px; } }

/* Keep older standalone form guidance readable without altering OTP sizes. */
.eh-prelogin [style*="font-size:10px"], .eh-prelogin [style*="font-size:11px"], .eh-prelogin [style*="font-size:12px"], .eh-prelogin [style*="font-size: 10px"], .eh-prelogin [style*="font-size: 11px"], .eh-prelogin [style*="font-size: 12px"] { font-size: 14px !important; }

.ps-public { --ps-eyebrow: var(--ps-accent-ink); }
.ps-public [data-stream] .ps-eyebrow { color: var(--ps-accent-ink); }
.ps-public .ps-checks li::before { color: var(--ps-accent); }
.ps-public .ps-dark .ps-checks li::before, .ps-public .ps-signin-aside .ps-checks li::before { color: var(--ps-gold); }

/* Browser heading defaults also cover pages without a display utility class. */
@media screen { .ps-public h1 { font-size: var(--eh-title); } .ps-public h2 { font-size: var(--eh-heading); } }

/* Native disclosures stay keyboard operable and visibly look expandable. */
.si-page .ps-have-password > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.si-page .ps-have-password > summary::marker { content: ""; }
.si-page .ps-have-password > summary::after { content: "+"; flex: 0 0 20px; text-align: center; font-size: 18px; color: #0B655C; }
.si-page .ps-have-password[open] > summary::after { content: "\2212"; }
