/* One consistent, unbroken row of footer links on every page. */
html body[data-palette] .site-footer{--footer-link:var(--brand-blue-700);--footer-link-hover:var(--brand-blue-800);display:flex;align-items:center;justify-content:space-between;gap:20px}
html[data-theme=dark] body[data-palette] .site-footer{--footer-link:var(--brand-blue-300);--footer-link-hover:var(--brand-blue-200)}
html body[data-palette] .site-footer .footer-links{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:18px;max-width:100%;min-width:0}
html body[data-palette] .site-footer .footer-links :is(a,button){display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:44px;margin:0;padding:4px 0;border:0;background:none;color:var(--footer-link);font:500 15px/1.35 var(--font-ui);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}
html body[data-palette] .site-footer .footer-links :is(a,button):hover{text-decoration:underline;text-underline-offset:3px;color:var(--footer-link-hover)}
html body[data-palette] .site-footer>span{white-space:nowrap}
body.feedback-page{display:flex;flex-direction:column;min-height:100svh;min-height:100dvh}
body.feedback-page .feedback-header{width:100%}
body.feedback-page .site-footer{width:min(100%,1040px);margin:auto auto 0;padding:16px clamp(20px,5vw,48px);justify-content:center}
@media(max-width:760px){
 html body[data-palette] .site-footer{flex-direction:column;gap:0}
 html body[data-palette] .site-footer .footer-links{width:100%;box-sizing:border-box;padding-inline:clamp(8px,2.5vw,16px);justify-content:space-between;gap:4px}
 html body[data-palette] .site-footer .footer-links :is(a,button){font-size:clamp(13px,3.6vw,15px)}
 html body[data-palette] .site-footer>span{display:none}
 body.feedback-page .site-footer{padding-inline:12px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
}
/* Preserve the single row when the optional Install app action is available. */
@media(max-width:340px){
 html body[data-palette] .site-footer .footer-links:has([data-install-app]:not([hidden])){padding-inline:0;gap:3px}
 html body[data-palette] .site-footer .footer-links:has([data-install-app]:not([hidden])) :is(a,button){font-size:12px}
}
