/* Classic customer account. Existing auth fields and behaviour stay intact. */
body:has(.auth-view.is-active), body:has(.auth-view.is-active) main { background: #eef1f5; }
body .button-accent { background: #24476b; border-color: #24476b; color: #fff; }
body .button-accent:hover { background: #193650; border-color: #193650; color: #fff; }
.auth-view.is-active {
  position: relative;
  width: min(560px, calc(100% - 40px));
  min-height: 0;
  margin: 24px auto;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid #d4dce5;
  border-top: 4px solid #24476b;
  border-radius: 5px;
  box-shadow: 0 8px 28px #233e5910;
  background: #fff;
  color: #202e3c;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}
.auth-view :is(h1,h2,p,label,button,input,a,small,span,li) { font-family: inherit; }
.auth-view .auth-brand-panel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  min-height: 0;
  padding: 20px 26px 16px;
  gap: 12px;
  justify-content: flex-start;
  background: #f8fafc;
  border-bottom: 1px solid #e0e6ed;
  color: #202e3c;
}
.auth-view .auth-brand-panel::after { display: none; }
.auth-view .auth-logo { width: 44px; height: 44px; object-fit: contain; }
.auth-view .route-kicker { color: #315577; font-size: 11px; letter-spacing: .06em; margin: 0 0 8px; font-weight: 700; }
.auth-view .auth-brand-panel h1 {
  color: #202e3c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.auth-view .auth-brand-panel > div > p:last-child {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #526171;
  margin: 0;
}
.auth-view .auth-brand-panel ul { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 2px 0 0; padding: 0; list-style: none; }
.auth-view .auth-brand-panel li { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 0; color: #526171; }
.auth-view .auth-brand-panel li b { color: #24476b; font-size: 11px; }
.auth-view .auth-form-panel {
  min-height: 0;
  position: relative;
  display: block;
  padding: 42px 26px 20px;
  background: #fff;
  color: #202e3c;
}
.auth-view .auth-back { top: 13px; left: 26px; color: #315577; font-size: 13px; letter-spacing: 0; }
.auth-view .auth-card { width: 100%; max-width: none; }
.auth-view .auth-card > .route-kicker { display: none; }
.auth-view .auth-card h2 {
  color: #202e3c;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.auth-view .auth-tabs { display: flex; gap: 0; margin-bottom: 14px; border: 1px solid #cbd5e1; border-radius: 3px; overflow: hidden; background: #f5f7fa; }
.auth-view .auth-tabs button { flex: 1; color: #42566b; background: transparent; border: 0; font-size: 13px; font-weight: 600; min-height: 36px; padding: 8px; }
.auth-view .auth-tabs button.is-active { background: #24476b; color: #fff; border: 0; box-shadow: none; }
.auth-view .auth-card form { gap: 10px; }
.auth-view .auth-field-row { gap: 12px; }
.auth-view .auth-card label { color: #27394b; gap: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.auth-view .auth-card label small { color: #526171; font-size: 12px; font-weight: 400; }
.auth-view .auth-card input:not([type="checkbox"]) { width: 100%; height: 36px; min-height: 36px; padding: 7px 10px; font-size: 14px; line-height: 20px; color: #202e3c; background: #fff; border: 1px solid #aebdcc; border-radius: 3px; }
.auth-view .auth-card input:focus { outline: 2px solid #315e8b; outline-offset: 2px; border-color: #315e8b; }
.auth-view .auth-card input[type="checkbox"] { accent-color: #24476b; }
.auth-view .auth-card .button { min-height: 38px; padding: 9px 16px; font-size: 14px; font-weight: 700; border-radius: 3px; background: #24476b; color: #fff; border-color: #24476b; }
.auth-view .auth-card .button:hover { background: #193650; }
.auth-view .auth-text-link { min-height: 36px; margin-top: 0; color: #24476b; font-size: 13px; }
.auth-view .auth-form-help { color: #526171; font-size: 12px; line-height: 1.5; margin: 0; }
.auth-view .auth-form-help a { color: #24476b; text-decoration: underline; text-underline-offset: 3px; }
.auth-view .auth-card .auth-consent { font-size: 13px; font-weight: 400; color: #42566b; line-height: 1.55; }
.auth-view .auth-security { color: #526171; line-height: 1.5; font-size: 12px; margin-top: 10px; }
.auth-view :is(button,a):focus-visible { outline: 2px solid #315e8b; outline-offset: 3px; }
.auth-view #auth-result:empty { min-height: 0; margin-top: 4px; }
@media (max-width: 600px) {
  .auth-view.is-active { width: calc(100% - 24px); margin: 12px auto; }
  .auth-view .auth-brand-panel { padding: 18px 18px 14px; gap: 12px; grid-template-columns: 44px minmax(0,1fr); }
  .auth-view .auth-logo { width: 44px; height: 44px; }
  .auth-view .auth-brand-panel h1 { font-size: 17px; }
  .auth-view .auth-brand-panel ul { display: flex; gap: 10px 16px; }
  .auth-view .auth-form-panel { padding: 42px 18px 20px; }
  .auth-view .auth-back { left: 18px; }
  .auth-view .auth-card h2 { font-size: 20px; }
  .auth-view .auth-field-row { grid-template-columns: 1fr; }
  .auth-view .auth-card input:not([type="checkbox"]) { height: 44px; min-height: 44px; font-size: 16px; }
  .auth-view .auth-tabs button, .auth-view .auth-card .button { min-height: 44px; }
}
