/* Five consistent destinations, with room below content and above device safe areas. */
body.nf-with-private-navigation{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
html:has(.nf-private-navigation){scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
.nf-private-navigation{position:fixed;z-index:50;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;box-sizing:border-box;min-height:70px;padding:0 max(8px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(8px,env(safe-area-inset-left,0px));background:#fff;border-top:1px solid #dce4e9;box-shadow:0 -3px 14px #183b5608}
.nf-private-navigation a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:44px;min-height:64px;padding:7px 2px;box-sizing:border-box;font:600 11px/1.3 Arial,Helvetica,sans-serif;color:#61707e;text-decoration:none;text-align:center;white-space:nowrap;touch-action:manipulation}
.nf-private-navigation svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.nf-private-navigation a[aria-current]{color:#b3442e;font-weight:800;background:#fdf5f1;border-radius:8px}
.nf-private-navigation a:focus-visible{outline:2px solid #b3442e;outline-offset:-4px;border-radius:8px}
html[data-theme="dark"] .nf-private-navigation{background:#172b3a;border-top-color:#3e5363;box-shadow:none}
html[data-theme="dark"] .nf-private-navigation a{color:#c6d4df}
html[data-theme="dark"] .nf-private-navigation a[aria-current]{color:#ffab96;background:#263e4e}
html[data-theme="dark"] .nf-private-navigation a:focus-visible{outline-color:#ffab96}
@media(min-width:800px){.nf-private-navigation{padding-left:max(calc((100vw - 900px)/2),16px);padding-right:max(calc((100vw - 900px)/2),16px)}}
@media(max-width:359px){.nf-private-navigation{padding-left:max(3px,env(safe-area-inset-left,0px));padding-right:max(3px,env(safe-area-inset-right,0px))}.nf-private-navigation a{font-size:10px;gap:4px}}
/* Native virtual keyboards may reduce the visual viewport. Keep the bar compact;
   do not translate it over focused fields or lock page scrolling. */
@media(max-height:450px){.nf-private-navigation{min-height:56px}.nf-private-navigation a{min-height:52px;padding-top:4px;padding-bottom:4px;gap:2px}}
