/* Finished page shell: the final footer row ends the page, with a safe inset. */
body:not(.reader-mode){display:flex;flex-direction:column;min-height:100svh}
body:not(.reader-mode)>#main{flex:1 0 auto;width:100%;min-width:0}
body.final-mode:not(.reader-mode)>.site-footer{flex:0 0 auto;margin-top:auto;padding-bottom:max(12px,env(safe-area-inset-bottom));width:100%;min-width:0}
body.reader-mode>.site-footer{display:none}
.footer-baseline .footer-links{align-items:center}
.footer-baseline .text-button{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.library-data-link{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:14px}
.data-confirm-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.data-confirm-actions .text-button{min-height:44px;padding:0 12px}
.curator-signin p{max-width:48ch;color:var(--muted);line-height:1.7;margin-bottom:24px}
.curator-disclosure a{text-underline-offset:3px}
.size-control button{min-width:44px;min-height:44px;width:44px;height:44px}
@media(max-width:760px){
  body.final-mode:not(.reader-mode)>.site-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .footer-baseline>.footer-links{gap:0 20px;width:100%}
  .footer-baseline>.footer-links .text-button{font-size:13px}
  .footer-baseline>.social-marks{margin-top:4px}
}
