html.melanin-password-change-required,
html.melanin-password-change-required body {
  overflow: hidden !important;
}

#melanin-force-password-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background:
    radial-gradient(circle at 15% 15%, rgba(27, 125, 115, .18), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(191, 150, 71, .17), transparent 38%),
    #f5f7f9;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #17212b;
}

#melanin-force-password-overlay[hidden] {
  display: none !important;
}

.fpc-shell {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(420px, 560px);
  justify-content: center;
  align-items: center;
  gap: 72px;
  padding: 40px;
}

.fpc-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #164b47;
}

.fpc-brand strong,
.fpc-brand small {
  display: block;
}

.fpc-brand strong {
  font-size: 32px;
  letter-spacing: -.04em;
}

.fpc-brand small {
  margin-top: 3px;
  color: #5f7077;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fpc-mark {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  position: relative;
  background: linear-gradient(145deg, #145e57, #0c3936);
  box-shadow: 0 18px 44px rgba(13, 69, 64, .24);
}

.fpc-mark span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  background: #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.fpc-mark span:first-child {
  width: 34px;
  height: 8px;
}

.fpc-mark span:last-child {
  width: 8px;
  height: 34px;
}

.fpc-card {
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(26, 69, 66, .10);
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 28px 80px rgba(30, 47, 57, .15);
}

.fpc-lock {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #e7f3f1;
  color: #145e57;
  margin-bottom: 22px;
}

.fpc-lock svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fpc-eyebrow {
  margin: 0 0 8px;
  color: #b07b27;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
}

.fpc-card h1 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.fpc-copy {
  margin: 14px 0 22px;
  color: #63717a;
  line-height: 1.65;
  font-size: 15px;
}

.fpc-user {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: #f4f7f7;
  border: 1px solid #e4eceb;
}

.fpc-user span {
  color: #748188;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.fpc-user strong {
  grid-row: span 2;
  align-self: center;
  color: #164b47;
}

.fpc-user small {
  color: #66747b;
}

#fpc-form {
  display: grid;
  gap: 16px;
}

#fpc-form label > span {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 13px;
}

#fpc-form label > small {
  display: block;
  margin-top: 6px;
  color: #79868c;
  font-size: 12px;
}

.fpc-field {
  display: flex;
  align-items: center;
  border: 1px solid #d9e1e3;
  border-radius: 13px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}

.fpc-field:focus-within {
  border-color: #1b746b;
  box-shadow: 0 0 0 4px rgba(27, 116, 107, .10);
}

.fpc-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 14px;
  background: transparent;
  color: #16232b;
  font: inherit;
}

.fpc-field button {
  border: 0;
  background: transparent;
  color: #17675f;
  font-weight: 800;
  padding: 10px 13px;
  cursor: pointer;
}

.fpc-submit,
.fpc-signout {
  min-height: 46px;
  border-radius: 13px;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.fpc-submit {
  margin-top: 4px;
  color: #fff;
  background: linear-gradient(135deg, #176b63, #0e4944);
  box-shadow: 0 12px 24px rgba(20, 94, 87, .20);
}

.fpc-submit:disabled {
  cursor: wait;
  opacity: .68;
}

.fpc-signout {
  color: #56646b;
  background: #eef2f3;
}

.fpc-message {
  min-height: 0;
  padding: 0;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.45;
}

.fpc-message.error,
.fpc-message.success {
  padding: 11px 13px;
}

.fpc-message.error {
  color: #9a2b2b;
  background: #fff0f0;
  border: 1px solid #ffd3d3;
}

.fpc-message.success {
  color: #17623c;
  background: #eaf8ef;
  border: 1px solid #c7ebd3;
}

.fpc-card footer {
  margin-top: 20px;
  color: #879196;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .fpc-shell {
    grid-template-columns: minmax(0, 560px);
    gap: 24px;
    align-content: center;
    padding: 24px;
  }

  .fpc-brand {
    justify-content: center;
  }

  .fpc-mark {
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }

  .fpc-brand strong {
    font-size: 25px;
  }
}

@media (max-width: 560px) {
  .fpc-shell {
    padding: 0;
    display: block;
    overflow: auto;
    background: #fff;
  }

  .fpc-brand {
    padding: 22px 20px 8px;
    justify-content: flex-start;
  }

  .fpc-card {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 24px 20px 34px;
  }
}
