/* Change package 48: Ledger72 sign-in and Request Access pages (WEB-INF/jsp/auth/login.jsp and register.jsp only).
   General design of the approved public still: cream ground #FBF6EB, cream header with the full-color wordmark for
   cream, Source Serif Pro titles, Source Sans Pro UI, teal #013236 primary button, gold only as decoration (the
   double rule), never gold type on cream. Every rule is scoped to body.l72-auth, which only login.jsp and register.jsp set
   (and, since change package 49, agreement-missing.jsp), so
   held, pending, reset-request, key-issued and every page that links auth.css look exactly as before.
   The fonts are the package 47 files already in the app. */
@font-face { font-family: "L72 Sans"; src: url("../fonts/l72-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "L72 Sans"; src: url("../fonts/l72-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "L72 Serif"; src: url("../fonts/l72-serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

body.l72-auth {
  --l72-teal: #013236; --l72-deep: #00282F; --l72-gold: #EFB545; --l72-dgold: #9A6A00; --l72-cream: #FBF6EB;
  --l72-muted: #4A5A5C; --l72-line: #E6DDC8; --l72-field: #D9CFB6; --l72-err: #8A2A1E; --l72-err-bg: #FBEDEA;
  margin: 0; min-height: 100vh; background: var(--l72-cream); color: var(--l72-teal);
  font-family: "L72 Sans", "Source Sans Pro", "Segoe UI", system-ui, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased;
}
body.l72-auth .l72a-head { background: var(--l72-cream); border-bottom: 1px solid var(--l72-line); }
body.l72-auth .l72a-wrap { max-width: 1240px; height: 92px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; box-sizing: border-box; }
body.l72-auth .l72a-mark { display: block; height: 58px; width: auto; }
body.l72-auth main.l72a-card { max-width: 440px; margin: 72px auto 48px; padding: 36px 40px 30px; background: #fff; border: 1px solid var(--l72-line);
  border-radius: 12px; box-shadow: 0 18px 40px -24px rgba(0,40,47,.35); box-sizing: border-box; }
body.l72-auth h1 { font: 600 38px/1.1 "L72 Serif", "Source Serif Pro", Georgia, serif; color: var(--l72-teal); letter-spacing: -.01em; margin: 0; }
body.l72-auth .l72a-rule { width: 96px; height: 6px; border-top: 1.5px solid var(--l72-dgold); border-bottom: 1.5px solid var(--l72-dgold); margin: 16px 0 18px; box-sizing: border-box; }
body.l72-auth p { font-size: 16px; line-height: 1.5; color: var(--l72-muted); margin: 0 0 6px; }
body.l72-auth p.error { color: var(--l72-err); background: var(--l72-err-bg); border-left: 3px solid var(--l72-err); border-radius: 4px; padding: 10px 12px; margin: 14px 0 4px; font-weight: 600; }
body.l72-auth label { display: block; margin: 18px 0 6px; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; color: var(--l72-teal); }
body.l72-auth input:not(.trap) { display: block; width: 100%; height: 46px; margin: 0; padding: 0 14px; box-sizing: border-box; background: #fff;
  border: 1px solid var(--l72-field); border-radius: 7px; font: 400 17px "L72 Sans", sans-serif; color: var(--l72-teal); }
body.l72-auth input:not(.trap):focus { outline: 2px solid var(--l72-teal); outline-offset: 1px; border-color: var(--l72-teal); }
body.l72-auth .trap { position: absolute; left: -9999px; height: 0; width: 0; padding: 0; border: 0; }
body.l72-auth button[type="submit"] { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin: 26px 0 0; padding: 0 28px;
  border: 0; border-radius: 7px; background: var(--l72-teal); color: var(--l72-cream); font: 600 17px "L72 Sans", sans-serif; cursor: pointer; }
body.l72-auth button[type="submit"]:hover { background: var(--l72-deep); }
body.l72-auth button[type="submit"]:focus-visible { outline: 2px solid var(--l72-teal); outline-offset: 2px; }
body.l72-auth .l72a-alt { margin: 22px 0 0; text-align: center; font-size: 16px; }
body.l72-auth .l72a-alt a { color: var(--l72-teal); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(1,50,54,.4); padding-bottom: 1px; }
body.l72-auth .l72a-alt a:hover { border-bottom-color: var(--l72-teal); }
/* Change package 49: Request Access form parts (switch, subforms, textarea, agreements). Sign-in has none of these. */
body.l72-auth [hidden] { display: none !important; }
body.l72-auth main.l72a-card.l72a-wide { max-width: 520px; }
body.l72-auth label.l72a-switch { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; font-size: 15px; letter-spacing: 0; text-transform: none; cursor: pointer; }
body.l72-auth label.l72a-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
body.l72-auth .l72a-knob { position: relative; flex: none; width: 44px; height: 24px; border-radius: 12px; background: var(--l72-field); transition: background .15s; }
body.l72-auth .l72a-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,40,47,.3); transition: left .15s; }
body.l72-auth label.l72a-switch input:checked + .l72a-knob { background: var(--l72-teal); }
body.l72-auth label.l72a-switch input:checked + .l72a-knob::after { left: 23px; }
body.l72-auth label.l72a-switch input:focus-visible + .l72a-knob { outline: 2px solid var(--l72-teal); outline-offset: 2px; }
body.l72-auth .l72a-sub { margin: 6px 0 0; padding: 2px 16px 14px; border-left: 3px solid var(--l72-line); }
body.l72-auth p.l72a-hint { font-size: 13.5px; margin: 6px 0 0; }
body.l72-auth textarea { display: block; width: 100%; margin: 0; padding: 10px 14px; box-sizing: border-box; background: #fff; resize: vertical;
  border: 1px solid var(--l72-field); border-radius: 7px; font: 400 17px/1.4 "L72 Sans", sans-serif; color: var(--l72-teal); }
body.l72-auth textarea:focus { outline: 2px solid var(--l72-teal); outline-offset: 1px; border-color: var(--l72-teal); }
body.l72-auth fieldset.l72a-agree { margin: 24px 0 0; padding: 14px 16px 12px; border: 1px solid var(--l72-line); border-radius: 8px; }
body.l72-auth fieldset.l72a-agree legend { padding: 0 6px; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; }
body.l72-auth .l72a-check { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; }
body.l72-auth .l72a-check input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--l72-teal); }
body.l72-auth .l72a-check input[type="checkbox"]:disabled + label { color: var(--l72-muted); }
body.l72-auth .l72a-check label { margin: 0; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.4; }
body.l72-auth .l72a-check a { color: var(--l72-teal); font-weight: 600; }
@media (max-width: 520px) {
  body.l72-auth main.l72a-card { margin: 32px 16px; padding: 28px 22px 24px; }
  body.l72-auth h1 { font-size: 32px; }
}
