/* v6.6.2 — finance controls and restrained admin login */

/* The legacy global theme gives every <button> a yellow background. Finance
   controls need explicit foreground/background pairs so nested forms and
   visited links cannot inherit yellow text. */
.v660-shell :is(a, button).v660-button,
.v660-shell :is(a, button).v660-button:visited {
  color: #292720 !important;
  -webkit-text-fill-color: #292720;
  background-color: #fff !important;
  border-color: #d8d2c6 !important;
}
.v660-shell :is(a, button).v660-button:hover {
  color: #171717 !important;
  -webkit-text-fill-color: #171717;
  background-color: #f7f3ea !important;
  border-color: #bdb5a7 !important;
}
.v660-shell :is(a, button).v660-button--primary,
.v660-shell :is(a, button).v660-button--primary:visited {
  color: #171717 !important;
  -webkit-text-fill-color: #171717;
  background-color: #f4c43d !important;
  border-color: #d8a900 !important;
}
.v660-shell :is(a, button).v660-button--primary:hover {
  color: #111 !important;
  -webkit-text-fill-color: #111;
  background-color: #ffd45f !important;
  border-color: #c99b00 !important;
}
.v660-shell :is(a, button).v660-button--success,
.v660-shell :is(a, button).v660-button--success:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background-color: #267a57 !important;
  border-color: #1e6849 !important;
}
.v660-shell :is(a, button).v660-button--danger,
.v660-shell :is(a, button).v660-button--danger:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background-color: #a94444 !important;
  border-color: #903636 !important;
}
.v660-shell :is(a, button).v660-button:disabled {
  color: #6f6a60 !important;
  -webkit-text-fill-color: #6f6a60;
  background-color: #ece8df !important;
  border-color: #d8d2c6 !important;
  opacity: .72;
}
.v660-actions {
  row-gap: 10px;
}
.v660-actions form {
  display: inline-flex;
}

.v662-admin-login {
  min-height: min(68vh, 680px);
  display: grid;
  place-items: center;
  padding: 32px 0 54px;
}
.v662-admin-login__card {
  width: min(430px, 100%);
  margin: 0;
  padding: clamp(24px, 5vw, 36px);
  overflow: visible;
}
.v662-admin-login__card h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.v662-admin-login__card label {
  display: block;
  margin: 14px 0 6px;
}
.v662-admin-login__card button[type="submit"] {
  width: 100%;
  margin-top: 20px;
  color: #fff;
}
.v662-admin-login__card .notice {
  margin: 0 0 18px;
}
.v662-local-fallback {
  width: min(560px, 100%);
  margin: -30px auto 50px;
}

@media (max-width: 520px) {
  .v662-admin-login {
    min-height: auto;
    padding: 18px 0 36px;
  }
  .v662-admin-login__card {
    padding: 22px 18px;
  }
  .v660-shell .v660-actions > :is(a, form),
  .v660-shell .v660-actions > form > .v660-button {
    width: 100%;
  }
}
