/* The header and footer the help and delete-account pages share with the legal pages in the web app
   (apps/web: LegalHeader, LegalFooter and the .legal-head / .legal-foot rules in globals.css). Keep them looking alike. */
:root { --ph-surface: #FFFFFF; --ph-bar: rgba(255, 255, 255, .94); --ph-line: #DCE1DA; --ph-ink: #33433A; --ph-muted: #5B6A60; --ph-hover: #EEF1EC; --ph-on: #E1ECE3; --ph-on-ink: #0F4A2C; }
:root[data-theme="dark"] { --ph-surface: #18211C; --ph-bar: rgba(18, 25, 21, .92); --ph-line: #2A3730; --ph-ink: #C5D1C9; --ph-muted: #98A79D; --ph-hover: #1C2620; --ph-on: #1E3428; --ph-on-ink: #8FD3AC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ph-surface: #18211C; --ph-bar: rgba(18, 25, 21, .92); --ph-line: #2A3730; --ph-ink: #C5D1C9; --ph-muted: #98A79D; --ph-hover: #1C2620; --ph-on: #1E3428; --ph-on-ink: #8FD3AC; } }
.ph { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; background: var(--ph-bar); border-bottom: 1px solid var(--ph-line); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.env-strip ~ .ph { top: 26px; }
.ph-logo { display: flex; flex: none; color: var(--title, #0F4A2C); }
.ph-logo .wordmark { height: 34px; width: auto; aspect-ratio: 480 / 230; }
.ph-end { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ph-tabs { display: flex; gap: 4px; flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ph-tabs::-webkit-scrollbar { display: none; }
.ph-tabs a { padding: 6px 12px; border-radius: 999px; color: var(--ph-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.ph-tabs a:hover { background: var(--ph-hover); }
.ph-tabs a[aria-current] { background: var(--ph-on); color: var(--ph-on-ink); }
.ph-short { display: none; }
.pf { max-width: 1080px; margin: 40px auto 0; padding: 22px 20px 96px; border-top: 1px solid var(--ph-line); text-align: center; }
.pf nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.pf nav a { color: var(--ph-ink); font-size: 14.5px; font-weight: 500; text-underline-offset: 3px; padding: 4px 0; }
.pf nav a:hover { color: var(--ph-on-ink); }
.pf nav a[aria-current] { color: var(--ph-on-ink); text-decoration: none; }
.pf p { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--ph-muted); }
.pf + * { margin-top: 0; }
main.doc { padding-top: 16px; padding-bottom: 8px; }
@media (max-width: 560px) {
  .ph { padding: 10px 12px; gap: 6px; }
  .ph-logo .wordmark { height: 28px; }
  .ph-end { gap: 2px; }
  .ph-tabs { gap: 0; }
  .ph-tabs a { padding: 5px 8px; font-size: 13px; }
  .ph .theme-btn { width: 34px; height: 34px; }
  .ph-long { display: none; }
  .ph-short { display: inline; }
}
@media print { .ph { position: static; } .ph .theme-pick { display: none; } }
