/* Quiet utility surfaces that belong to the same dark system as Feed and admin. */
html body.site-v3.utility-page:not(#legacy-public) { background: #0b0b0b !important; color: #f7f6f2 !important; }
html body.site-v3.utility-page:not(#legacy-public)::before,
html body.site-v3.utility-page:not(#legacy-public)::after { display: none !important; content: none !important; background: none !important; }
html body.site-v3.public-utility-page:not(#legacy-public) > main { width: min(100%, 1040px) !important; max-width: none !important; min-height: calc(100svh - 160px) !important; margin: 0 auto !important; padding: clamp(30px, 5vw, 56px) 24px 80px !important; background: transparent !important; color: #f7f6f2 !important; }
.utility-nav { display: flex; width: min(100% - 48px, 992px); min-height: 72px; margin: 0 auto; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); }
.utility-nav .utility-brand { color: #f7f6f2 !important; font: 500 27px/1 Georgia, "Times New Roman", serif; letter-spacing: -.035em; text-decoration: none; }
.utility-nav > div { display: flex; gap: 28px; }
.utility-nav > div a { color: #d2cfca !important; font: 600 13px/1.2 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; text-decoration: none; }
.utility-nav a:hover { color: #fff !important; }
.utility-nav a:focus-visible { outline: 2px solid #ef4d91; outline-offset: 4px; }

html body.site-v3.utility-page:not(#legacy-public) .help-page { width: min(100%, 900px) !important; margin: 0 auto !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-hero { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; margin: 0 0 22px !important; padding: 0 0 28px !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.2) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-hero .eyebrow { display: none !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-hero h1 { max-width: none !important; margin: 0 !important; color: #f7f6f2 !important; font: 650 clamp(36px, 5vw, 54px)/1.07 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; letter-spacing: -.035em !important; text-wrap: balance; }
html body.site-v3.utility-page:not(#legacy-public) .help-hero > p:not(.eyebrow) { max-width: 54ch; margin: 0 !important; color: #c6c3be !important; font: 450 16px/1.55 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-hero .button { display: inline-flex; min-height: 44px; margin-top: 4px; align-items: center; border: 1px solid rgba(255,255,255,.45) !important; border-radius: 9px !important; background: #202020 !important; color: #f7f6f2 !important; box-shadow: none !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-hero .button:hover { border-color: #fff !important; background: #343434 !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-jump { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-jump a { display: inline-flex; min-height: 44px; padding: 10px 14px !important; align-items: center; border: 1px solid rgba(255,255,255,.3) !important; border-radius: 9px !important; background: #151515; color: #e5e2dd !important; font: 600 13px/1.2 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; text-decoration: none; }
html body.site-v3.utility-page:not(#legacy-public) .help-jump a:hover { border-color: #fff !important; background: #202020; }
html body.site-v3.utility-page:not(#legacy-public) .help-section { margin: 0 !important; padding: 32px 0 !important; border: 0 !important; border-top: 1px solid rgba(255,255,255,.2) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-section-heading { display: block !important; margin-bottom: 20px !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-section-heading > span { display: none !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-section h2 { margin: 0 0 8px !important; color: #f7f6f2 !important; font: 650 clamp(25px, 3vw, 32px)/1.15 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; letter-spacing: -.025em !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-section h3 { margin: 0 0 8px !important; color: #f7f6f2 !important; font: 650 17px/1.25 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-section p { max-width: 65ch; color: #c6c3be !important; font: 450 15px/1.55 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; }
html body.site-v3.utility-page:not(#legacy-public) :is(.help-grid,.help-icon-grid,.help-feature-list) { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; background: transparent !important; }
html body.site-v3.utility-page:not(#legacy-public) :is(.help-grid,.help-icon-grid,.help-feature-list) article { min-width: 0; padding: 22px !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 12px !important; background: #151515 !important; box-shadow: none !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-support { margin-top: 24px; padding: 28px !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 12px !important; background: #151515 !important; box-shadow: none !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-support h2 { font-size: 27px !important; }
html body.site-v3.utility-page:not(#legacy-public) .help-support .button { border-radius: 9px !important; }

html body.site-v3.public-legal-page:not(#legacy-public) .legal { width: min(100%, 760px) !important; margin: 0 auto !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.site-v3.public-legal-page:not(#legacy-public) .legal h1 { margin: 0 0 20px !important; color: #f7f6f2 !important; font: 650 clamp(36px, 5vw, 54px)/1.07 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; letter-spacing: -.035em !important; }
html body.site-v3.public-legal-page:not(#legacy-public) .legal h2 { margin: 32px 0 12px !important; padding-top: 24px !important; border-top: 1px solid rgba(255,255,255,.2) !important; color: #f7f6f2 !important; font: 650 24px/1.2 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; letter-spacing: -.02em !important; }
html body.site-v3.public-legal-page:not(#legacy-public) .legal p { max-width: 70ch; color: #d2cfca !important; font: 450 16px/1.7 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; }
html body.site-v3.public-error-page:not(#legacy-public) .friendly-error { display: block !important; width: min(100%, 560px) !important; min-height: 0 !important; margin: clamp(32px, 7vh, 72px) auto !important; padding: clamp(28px, 5vw, 44px) !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 12px !important; background: #151515 !important; box-shadow: none !important; text-align: left !important; }
html body.site-v3.public-error-page:not(#legacy-public) .friendly-error h1 { margin: 0 0 16px !important; color: #f7f6f2 !important; font: 650 clamp(34px, 5vw, 48px)/1.1 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; letter-spacing: -.035em !important; }
html body.site-v3.public-error-page:not(#legacy-public) .friendly-error p { color: #c6c3be !important; font: 450 16px/1.55 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; }
html body.site-v3.public-error-page:not(#legacy-public) .friendly-error .button { border-radius: 9px !important; }
html body.site-v3.public-error-page:not(#legacy-public) .friendly-error .actions { justify-content: flex-start !important; }
html body.site-v3.public-utility-page:not(#legacy-public) > .site-footer { width: min(100% - 48px, 992px) !important; margin: 0 auto !important; border-color: rgba(255,255,255,.2) !important; background: transparent !important; color: #aaa7a2 !important; }
html body.site-v3.public-utility-page:not(#legacy-public) > .site-footer a { color: #c6c3be !important; }
html body.site-v3.public-utility-page:not(#legacy-public) > .site-footer .footer-logo { filter: grayscale(1) brightness(0) invert(1) !important; }

/* Admin sign-in is a utility screen, not an image-led marketing page. */
html body.site-v3.admin-auth-page:not(#legacy-public) { background: linear-gradient(180deg, #151315, #0b0b0b 62%) !important; color: #f7f6f2 !important; }
html body.site-v3.admin-auth-page:not(#legacy-public)::before,
html body.site-v3.admin-auth-page:not(#legacy-public)::after { display: none !important; content: none !important; background: none !important; }
html body.public-site-v3.admin-auth-page:not(.public-entry-page):not(#legacy-public) > :is(.topbar,.site-footer,.theme-toggle,.install-app-button,.help-button) { display: none !important; }
html body.site-v3.admin-auth-page:not(#legacy-public) > main { display: grid !important; width: 100% !important; min-height: 100svh !important; padding: 24px !important; place-items: center !important; }
html body.site-v3.admin-auth-page:not(#legacy-public) .auth { width: min(100%, 460px) !important; min-height: 0 !important; padding: 0 !important; }
html body.site-v3.admin-auth-page:not(#legacy-public) .auth .panel { width: 100% !important; padding: clamp(28px, 5vw, 40px) !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 16px !important; background: #151515 !important; box-shadow: none !important; }
html body.site-v3.admin-auth-page:not(#legacy-public) .admin-auth-brand { display: inline-block; margin-bottom: 30px; color: #f7f6f2 !important; font: 500 28px/1 Georgia, "Times New Roman", serif; text-decoration: none; }
html body.site-v3.admin-auth-page:not(#legacy-public) h1 { margin: 0 0 28px !important; color: #f7f6f2 !important; font: 650 42px/1.08 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; letter-spacing: -.035em !important; }
html body.site-v3.admin-auth-page:not(#legacy-public) label { display: grid; gap: 8px; color: #e5e2dd !important; font: 600 14px/1.3 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif !important; }
html body.site-v3.admin-auth-page:not(#legacy-public) input { width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.34) !important; border-radius: 9px !important; background: #202020 !important; color: #f7f6f2 !important; font-size: 16px; }
html body.site-v3.admin-auth-page:not(#legacy-public) button { width: 100%; min-height: 48px; margin-top: 16px; border: 1px solid #f7f6f2 !important; border-radius: 9px !important; background: #f7f6f2 !important; color: #101010 !important; cursor: pointer; }
html body.site-v3.admin-auth-page:not(#legacy-public) button:hover { border-color: #f7f6f2 !important; background: #202020 !important; color: #fff !important; }
html body.site-v3.admin-auth-page:not(#legacy-public) .admin-auth-back { display: block; width: fit-content; margin: 22px auto 0; color: #c6c3be !important; font: 600 13px/1.2 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; text-decoration: underline; text-underline-offset: 4px; }
html body.site-v3.admin-auth-page:not(#legacy-public) :is(a,input,button):focus-visible { outline: 2px solid #ef4d91 !important; outline-offset: 4px !important; }

/* Utility pages follow the same saved day preference as Feed. */
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) { background: #f2efe9 !important; color: #22201d !important; }
html[data-theme="day"] body.site-v3.public-utility-page:not(#legacy-public) > main { color: #22201d !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .utility-nav { border-color: rgba(34,32,29,.18); }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .utility-nav :is(.utility-brand,a) { color: #22201d !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-hero { border-color: rgba(34,32,29,.18) !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-hero h1,
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-section :is(h2,h3),
html[data-theme="day"] body.site-v3.public-legal-page:not(#legacy-public) .legal :is(h1,h2),
html[data-theme="day"] body.site-v3.public-error-page:not(#legacy-public) .friendly-error h1 { color: #22201d !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-hero > p:not(.eyebrow),
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-section p,
html[data-theme="day"] body.site-v3.public-legal-page:not(#legacy-public) .legal p,
html[data-theme="day"] body.site-v3.public-error-page:not(#legacy-public) .friendly-error p { color: #514d47 !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-hero .button { border-color: #22201d !important; background: #22201d !important; color: #fff !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-hero .button:hover { background: #47443e !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-jump a { border-color: rgba(34,32,29,.28) !important; background: #fbfaf7 !important; color: #22201d !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-section,
html[data-theme="day"] body.site-v3.public-legal-page:not(#legacy-public) .legal h2 { border-color: rgba(34,32,29,.18) !important; }
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) :is(.help-grid,.help-icon-grid,.help-feature-list) article,
html[data-theme="day"] body.site-v3.utility-page:not(#legacy-public) .help-support,
html[data-theme="day"] body.site-v3.public-error-page:not(#legacy-public) .friendly-error { border-color: rgba(34,32,29,.18) !important; background: #fbfaf7 !important; color: #22201d !important; }
html[data-theme="day"] body.site-v3.public-utility-page:not(#legacy-public) > .site-footer { border-color: rgba(34,32,29,.18) !important; }
html[data-theme="day"] body.site-v3.public-utility-page:not(#legacy-public) > .site-footer a { color: #514d47 !important; }
html[data-theme="day"] body.site-v3.public-utility-page:not(#legacy-public) > .site-footer .footer-logo { filter: grayscale(1) brightness(0) !important; }

@media (max-width: 680px) {
  html body.site-v3.public-utility-page:not(#legacy-public) > main { padding: 28px 18px 64px !important; }
  .utility-nav { width: calc(100% - 36px); min-height: 64px; }
  html body.site-v3.utility-page:not(#legacy-public) :is(.help-grid,.help-icon-grid,.help-feature-list) { grid-template-columns: 1fr !important; }
  html body.site-v3.utility-page:not(#legacy-public) .help-section { padding: 26px 0 !important; }
  html body.site-v3.public-utility-page:not(#legacy-public) > .site-footer { width: calc(100% - 36px) !important; gap: 16px; }
  html body.site-v3.public-error-page:not(#legacy-public) .friendly-error { margin-top: 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body.site-v3.utility-page:not(#legacy-public) *,
  html body.site-v3.admin-auth-page:not(#legacy-public) * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
