body{padding-bottom:38px}.appCopyright,.entryCopyright{position:fixed;inset:auto 0 0;z-index:30;display:flex;align-items:center;justify-content:center;min-height:38px;margin:0;padding:9px 12px;border-top:1px solid #dce3d8;background:#f8faf6;color:#53624e;text-align:center;font-family:'Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:11px;letter-spacing:.25px;line-height:1.7}.railbottom{bottom:52px}.entry{min-height:calc(100svh - 38px)}.dialogCopyright{position:sticky;bottom:0;z-index:4;display:block;margin:18px 0 0;padding:10px 8px;border-top:1px solid #dce3d8;background:#fff;color:#53624e;text-align:center;font-size:11px;font-weight:400;letter-spacing:.25px;line-height:1.7}.usageGuide>.dialogCopyright{margin:0;padding:10px 16px}.public-guide{padding-bottom:38px}@media print{.appCopyright,.entryCopyright,.dialogCopyright{display:none}body{padding-bottom:0}}

/* Keep the shared footer anchored to the viewport, including modal dialogs.
   Specificity also protects it from the login and legacy editor styles. */
body{padding-bottom:calc(38px + env(safe-area-inset-bottom,0px))}
body .appCopyright,body .entryCopyright,body dialog[open]>.dialogCopyright{position:fixed;inset:auto 0 0;z-index:100;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-height:calc(38px + env(safe-area-inset-bottom,0px));margin:0;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px));border-top:1px solid #dce3d8;background:#f8faf6;color:#53624e;text-align:center;font-family:'Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:11px;font-weight:400;letter-spacing:.25px;line-height:1.7}
body:has(dialog[open]) .appCopyright,body:has(dialog[open]) .entryCopyright{visibility:hidden}
dialog[open]{max-height:min(88vh,calc(100dvh - 76px - env(safe-area-inset-bottom,0px)))}
@media print{body .appCopyright,body .entryCopyright,body dialog[open]>.dialogCopyright{display:none}body{padding-bottom:0}}
