body.auth045 {
  margin: 0;
  color: var(--a1-ink);
  background: var(--a1-canvas);
  font: 400 16px/1.5 var(--a1-sans);
}
.auth045-main {
  box-sizing: border-box;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 100svh;
  padding: clamp(24px, 5vh, 54px) 16px;
}
.auth045-card {
  width: min(100%, 448px);
  min-width: 0;
  padding: clamp(22px, 5vw, 35px);
  background: var(--a1-surface);
  border: 1px solid var(--a1-border);
  border-radius: var(--a1-card-radius);
  box-shadow: var(--a1-card-shadow);
}
.auth045-heading { margin: 24px 0 22px; }
.auth045-heading h1 {
  margin: 0;
  color: var(--a1-title);
  font: 700 clamp(24px, 4.5vw, 28px)/1.18 var(--a1-sans);
  letter-spacing: -.015em;
}
.auth045-heading p { margin: 8px 0 0; color: var(--a1-muted); }
.auth045-form, .auth045-field { display: grid; min-width: 0; }
.auth045-form { gap: 16px; }
.auth045-field { gap: 5px; }
.auth045-field label, .auth045-entity legend { color: var(--a1-ink); font-weight: 700; }
.auth045-field-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px;
}
.auth045-field-head a { font-size: 14px; }
.auth045 input:not([type=hidden]):not([type=radio]):not([type=checkbox]) {
  width: 100%; min-width: 0; min-height: 46px; padding: 9px 12px;
  border: 1px solid var(--a1-field-border); border-radius: var(--a1-control-radius); background: var(--a1-surface); color: var(--a1-ink);
  font: inherit; line-height: 1.3;
}
.auth045 .auth045-password { position: relative; }
.auth045 .auth045-password input:not([type=hidden]):not([type=radio]):not([type=checkbox]) { padding-right: 85px; }
.auth045-password button {
  position: absolute; top: 1px; bottom: 1px; right: 1px; width: 80px;
  padding: 0 7px; border: 0; border-radius: var(--a1-control-radius); background: transparent;
  color: var(--a1-primary); font: 700 13px/1 var(--a1-sans); cursor: pointer;
}
.auth045-password button:hover { background: var(--a1-active); }
.auth045-field small { color: var(--a1-muted); font-size: 14px; }
.auth045-entity {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  margin: 0; min-width: 0; border: 0; padding: 0;
}
.auth045-entity legend { margin-bottom: 5px; padding: 0; }
.auth045-entity label {
  display: inline-flex; align-items: center; gap: 7px; flex: 1;
  min-height: 40px; padding: 6px 10px; border: 1px solid var(--a1-border); border-radius: var(--a1-control-radius); cursor: pointer;
}
.auth045-entity label:has(input:checked) { border-color: var(--a1-active-border); background: var(--a1-active); }
.auth045-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--a1-muted); font-size: 15px; cursor: pointer; }
.auth045 input:is([type=radio], [type=checkbox]) { flex: none; margin: .19em 0 0; accent-color: var(--a1-primary); }
.auth045-submit {
  min-height: 46px; width: 100%; padding: 9px 12px; border: 1px solid var(--a1-primary); border-radius: var(--a1-control-radius);
  background: var(--a1-primary); color: var(--a1-surface); font: 700 16px/1.25 var(--a1-sans); cursor: pointer;
}
.auth045-submit:hover { background: var(--a1-primary-hover); }
.auth045-submit:disabled { opacity: .65; cursor: wait; }
.auth045-card a:not(.a1-brand) { color: var(--a1-primary); text-decoration: underline; text-underline-offset: 2px; }
.auth045 :is(a, button, input):focus-visible { outline: 2px solid var(--a1-focus); outline-offset: 2px; }
.auth045-footer { margin: 17px 0 0; text-align: center; color: var(--a1-muted); font-size: 15px; }
.auth045-alert, .auth045-success { margin: 0 0 13px; padding: 9px 11px; border-radius: var(--a1-control-radius); }
.auth045-alert { border: 1px solid var(--a1-danger-border); background: var(--a1-danger-bg); color: var(--a1-danger); }
.auth045-success { border: 1px solid var(--a1-success-border); background: var(--a1-success-bg); color: var(--a1-success); }
.auth045-form .auth045-alert { margin: 0; }
@media (max-width: 480px) {
  .auth045-main { align-items: start; }
  .auth045 .a1-brand { font-size: 22px; }
  .auth045-heading { margin-top: 20px; }
}
