* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  color: #162c36;
  background: #f3f6f5;
  font: 1.6rem/1.6 system-ui, sans-serif;
}

a {
  color: inherit;
}

button, input {
  font: inherit;
}

button {
  padding: 1rem 1.8rem;
  background: #103f79;
  color: white;
  border: 0;
  border-radius: 0.6rem;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #bc7014;
  outline-offset: 3px;
}

input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #82958f;
  border-radius: 0.4rem;
}

h1 {
  font-size: 3.6rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
}

small {
  font-size: 1.3rem;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.marca {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 6%;
  background: white;
  border-bottom: 1px solid #dae4e0;
}

.marca a {
  display: block;
  line-height: 0;
}

.marca img {
  display: block;
  width: 28rem;
  max-width: 72vw;
  height: auto;
}

.marca span {
  font-size: 1.4rem;
  color: #536a63;
}

.acceso {
  max-width: 112rem;
  margin: 8rem auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7rem;
  padding: 0 3rem;
}

.acceso h1 {
  font-size: 4.8rem;
}

.acceso form, .tarjeta {
  background: white;
  border: 1px solid #dae4e0;
  border-radius: 1rem;
  padding: 3rem;
}

.acceso label {
  display: block;
  margin: 1.4rem 0 0.6rem;
}

.acceso button {
  margin-top: 2rem;
  width: 100%;
}

.etiqueta {
  font-size: 1.3rem;
  letter-spacing: 0.12rem;
  color: #0b7c76;
  font-weight: 700;
}

.panel {
  max-width: 110rem;
  margin: 4rem auto;
  padding: 0 2rem;
}

.cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.tarjeta {
  margin-top: 2rem;
}

.secundario {
  background: #e2eae6;
  color: #263d34;
}

@media (max-width: 700px) {
  .acceso {
    grid-template-columns: 1fr;
    margin: 3rem auto;
    gap: 2rem;
  }
  .acceso h1 {
    font-size: 3.6rem;
  }
  .marca span {
    display: none;
  }
  .cabecera {
    align-items: flex-start;
    flex-direction: column;
  }
}
.password-form {
  max-width: 52rem;
}

.password-form label {
  display: block;
  margin: 1.4rem 0 0.6rem;
}

.password-form .password-help {
  font-size: 1.3rem;
  color: #5d7181;
  line-height: 1.5;
}

.password-form .password-toggle {
  background: transparent;
  color: #0d7471;
  border: 1px solid #bdd6d4;
  margin: 1.6rem 1rem 1rem 0;
  width: auto;
  font-size: 1.3rem;
}

.password-form button[type=submit] {
  margin-top: 1rem;
}

.password-message {
  font-size: 1.5rem;
  line-height: 1.6;
}

.password-message.error {
  color: #a62835;
}

.password-message.success {
  color: #08766d;
}

.password-done {
  display: block;
  margin-top: 1.5rem;
  font-weight: 600;
}

.password-done[hidden] {
  display: none;
}

.password-form input {
  max-width: 100%;
}