/* Issue 343: "Hide amounts" (js/nslogiAmounts.js). The server paints html[data-amounts="hidden"] from the nslogi-amounts cookie; the page
   stays invisible until the script has masked it (never more than 1.5 s, so a blocked script can't leave a blank page). */
html[data-amounts="hidden"]:not([data-amounts-ready]) body { visibility: hidden; animation: nslogi-amounts-reveal 0s 1.5s forwards; }
@keyframes nslogi-amounts-reveal { to { visibility: visible; } }
html[data-amounts="hidden"] input.nslogi-amount-input { -webkit-text-security: disc; text-security: disc; }
/* the toggle shows the current state: an open eye while amounts show, a crossed eye while hidden */
html[data-amounts="hidden"] .nslogi-amounts-icon-on { display: none; }
html:not([data-amounts="hidden"]) .nslogi-amounts-icon-off { display: none; }
