:root {
  --paper: #fbf7ef;
  --card: #fffdf8;
  --ink: #24322e;
  --muted: #65716d;
  --line: #e5dccf;
  --green: #12382f;
  --action: #315b4f;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; min-height: 100vh; }
a { color: var(--green); text-underline-offset: 3px; }
.auth-sitebar { min-height: 74px; padding: 14px max(24px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--card); }
.auth-sitebar img { display: block; width: 148px; height: auto; }
.auth-sitebar > a:last-child { font-size: 13px; font-weight: 600; text-decoration: none; }
.auth-sitebar a, footer a { min-height: 44px; display: inline-flex; align-items: center; }
.auth-layout { width: min(1160px, calc(100% - 48px)); margin: 70px auto 50px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, 520px); gap: 90px; align-items: start; }
.auth-layout-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.auth-copy { padding-top: 40px; }
.eyebrow { margin: 0 0 18px; color: #64716c; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
h1, h2, h3 { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 560px; margin: 0 0 25px; font-size: clamp(46px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -.035em; }
.auth-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.auth-copy ul { margin: 30px 0 0; padding: 0; list-style: none; color: var(--green); }
.auth-copy li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.auth-card { padding: 42px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 18px 60px rgba(36, 50, 46, .06); }
.auth-card h2 { margin: 0 0 28px; font-size: 40px; line-height: 1.1; }
.auth-card h3 { margin: 0 0 10px; font-size: 25px; }
.account-mode-options { margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-mode-button { min-height: 118px; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; border: 1px solid #d8cec0; background: #f8f3ea; color: var(--green); text-align: left; }
.account-mode-button span { font-size: 9px; font-weight: 750; letter-spacing: .12em; line-height: 1.4; }
.account-mode-button strong { font-size: 15px; line-height: 1.35; }
.account-mode-button small { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.45; }
.account-mode-button:hover { border-color: var(--action); background: #edf2ec; }
.account-mode-button.active { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(18, 56, 47, .14); }
.account-mode-button.active small { color: #dce8e2; }
.account-mode-button:disabled { cursor: wait; }
.mode-summary { margin: -14px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.staff-card > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.75; }
.auth-actions { display: grid; gap: 12px; margin: 28px 0 20px; }
.auth-action { min-height: 50px; padding: 13px 20px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--action); border-radius: 2px; background: var(--action); color: #fff; font-weight: 700; text-align: center; text-decoration: none; }
.auth-action:hover { background: var(--green); }
.auth-action.secondary { background: transparent; color: var(--green); }
.auth-action.secondary:hover { background: #edf2ec; }
.auth-card label:not(.check) { display: grid; gap: 8px; color: var(--green); font-size: 13px; font-weight: 650; }
.auth-card input[type=email], .auth-card input[inputmode=numeric] { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfc9be; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.auth-card input:focus { border-color: var(--green); outline: 2px solid rgba(18, 56, 47, .15); outline-offset: 1px; }
.auth-card input[aria-invalid="true"] { border-color: #a1543b; outline: 2px solid rgba(161, 84, 59, .16); outline-offset: 1px; }
.staff-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.basis { margin: 26px 0 18px; padding: 22px; border: 1px solid #dce3d5; background: #f2f5ed; }
.basis > p, #bzs-code-message { color: var(--muted); font-size: 13px; line-height: 1.75; }
.check { display: flex; align-items: flex-start; gap: 11px; color: var(--ink); font-size: 13px; line-height: 1.65; cursor: pointer; }
.check input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 3px; accent-color: var(--green); }
.newsletter { margin: 20px 0 24px; }
button { width: 100%; min-height: 50px; padding: 13px 20px; border: 1px solid var(--action); border-radius: 2px; background: var(--action); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: var(--green); }
button:disabled { cursor: wait; opacity: .65; }
button:disabled.text-button { cursor: default; }
.text-button { margin-top: 10px; border-color: transparent; background: transparent; color: var(--green); font-weight: 600; }
.text-button:hover { background: #edf2ec; }
.status { min-height: 24px; margin: 18px 0 0; color: #874f3b; font-size: 13px; line-height: 1.6; }
.code-help, .noscript { color: var(--muted); font-size: 12px; line-height: 1.7; }
.noscript { padding: 14px; border-left: 2px solid #b98a67; background: #f7eee4; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(49, 91, 79, .3); outline-offset: 3px; }
.terms { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; }
[hidden] { display: none !important; }
footer { width: min(1160px, calc(100% - 48px)); margin: 0 auto 40px; display: flex; gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; }
@media (max-width: 880px) {
  .auth-layout { margin-top: 35px; grid-template-columns: 1fr; gap: 34px; }
  .auth-card { order: -1; }
  .auth-copy { padding-top: 10px; }
  .auth-copy ul { margin-top: 18px; }
  .auth-copy li { display: none; }
  .auth-copy li:first-child { display: block; }
}
@media (max-width: 560px) {
  .auth-sitebar { min-height: 64px; padding: 10px 15px; gap: 14px; }
  .auth-sitebar img { width: 124px; }
  .auth-sitebar > a:last-child { font-size: 11px; text-align: right; }
  .auth-layout { width: calc(100% - 30px); margin-top: 24px; }
  .auth-card { padding: 28px 23px; }
  .account-mode-options { grid-template-columns: 1fr; gap: 8px; margin-bottom: 26px; }
  .account-mode-button { min-height: 0; }
  h1 { font-size: 44px; }
  .auth-card h2 { font-size: 34px; }
  footer { width: calc(100% - 30px); flex-direction: column; gap: 2px; }
}
