.auth-wrap { width: min(100% - 32px, 560px); margin: 65px auto; }
.auth-panel { padding: 30px 34px 34px; }
.auth-panel h1 { font-size: 55px; margin-bottom: 9px; }
.auth-panel > p { color: var(--muted); }
.login-wrap { margin: 65px auto; width: min(100% - 40px, 870px); min-height: 380px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border: 1px solid var(--line); border-radius: 17px; overflow: hidden; box-shadow: 0 3px 11px #233b2917; }
.login-panel { border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; justify-content: center; }
.login-terrain { background: #dce6d1 url("lakeland.webp") 48% 44% / 220% auto no-repeat; }
.account-form { display: grid; gap: 13px; margin-top: 22px; }
.account-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.account-form input:not([type="hidden"]) { width: 100%; border: 1px solid #cbd5c7; border-radius: 8px; background: #f9faf3; color: var(--ink); padding: 9px 11px; min-height: 42px; font-weight: 500; font-size: 15px; }
.account-form .primary-button { justify-self: start; margin-top: 4px; min-height: 42px; padding-inline: 15px; }
.account-form .text-button { justify-self: start; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-help { color: var(--muted); font-size: 12px; }
.notice { background: #f5ede4; border: 1px solid #e6cdba; color: #80472d; border-radius: 9px; margin: 16px 0; padding: 10px 12px; font-size: 13px; }
.account-grid { display: grid; grid-template-columns: minmax(265px, .7fr) minmax(0, 1.3fr); gap: 20px; align-items: start; }
.account-card { padding: 21px 22px; }
.account-card h2, .issued-panel h2 { font-size: 17px; letter-spacing: -.015em; font-weight: 750; }
.account-list { list-style: none; padding: 0; margin-top: 13px; }
.account-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.account-record { min-width: 0; overflow-wrap: anywhere; display: grid; gap: 3px; }
.account-record span { font-size: 12px; color: var(--muted); }
.reset-account { flex-shrink: 0; }
.issued-panel { background: #ecf1e6; border-color: #dae2d3; padding: 17px 21px; margin-bottom: 19px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.issued-panel p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.issued-details { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 19px; }
.issued-details div { display: grid; gap: 3px; }
.issued-details small { color: var(--muted); font-size: 11px; }
.issued-details code { font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.account-links { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
@media(max-width: 720px) {
  .auth-wrap, .login-wrap { margin-top: 30px; }
  .account-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media(max-width: 565px) {
  .login-wrap { width: min(100% - 28px, 440px); min-height: auto; grid-template-columns: 1fr; }
  .login-terrain { order: -1; min-height: 130px; background-size: 140% auto; }
  .auth-panel { padding: 22px; }
  .auth-panel h1 { font-size: 47px; }
  .form-pair { grid-template-columns: 1fr; }
}
@media(max-width: 410px) {
  .header-inner:has(.accounts-link) .brand > span:last-child { display: none; }
}
