/* La entrada reutiliza la misma paleta, escala y sobriedad del panel privado. */
body .auth-view {
  min-height: 100vh;
  background: radial-gradient(circle at 90% 4%, #fbf1e8 0, transparent 28rem), var(--cream);
}

body .auth-view::before,
body .auth-view::after {
  display: none;
}

.auth-header {
  background: var(--cream);
  backdrop-filter: none;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  align-items: center;
  width: min(1124px, 100%);
  min-height: calc(100vh - 76px);
  margin: auto;
  gap: clamp(3rem, 8vw, 7rem);
  padding: 64px 28px 76px;
}

.auth-copy {
  max-width: 650px;
}

.auth-copy .eyebrow {
  margin-bottom: .8rem;
}

.auth-copy h1 {
  margin: 0;
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -.045em;
}

.auth-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

body .auth-card {
  position: static;
  width: min(100%, 410px);
  overflow: visible;
  padding: 30px;
  border: 1px solid rgba(104, 72, 61, .11);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(104, 72, 61, .1);
}

.auth-card > :not(.auth-card-glow) {
  position: static;
}

.auth-card .eyebrow {
  margin-bottom: .65rem;
}

.auth-card h2 {
  margin: 0;
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.auth-card > p:not(.eyebrow):not(.auth-note) {
  margin: .85rem 0 1.45rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.auth-tabs {
  display: flex;
  gap: 1.1rem;
  margin: 0 0 1.45rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.auth-tabs button {
  min-height: 37px;
  padding: 0 0 .55rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: .78rem;
  font-weight: 800;
}

.auth-tabs button.active {
  color: var(--brown);
  border-bottom-color: var(--gold);
  background: transparent;
  box-shadow: none;
}

.auth-card form {
  display: grid;
  gap: 15px;
}

.auth-card label {
  display: grid;
  gap: .45rem;
  color: var(--brown);
  font-size: .8rem;
  font-weight: 800;
}

.auth-card input {
  width: 100%;
  min-height: 45px;
  border: 1px solid #decbbc;
  border-radius: 9px;
  padding: .7rem .75rem;
  color: var(--ink);
  background: white;
  font-weight: 400;
}

.auth-card input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 167, 118, .18);
}

.auth-consent {
  display: flex !important;
  align-items: flex-start;
  gap: .55rem;
  color: var(--muted) !important;
  font-size: .73rem !important;
  font-weight: 400 !important;
  line-height: 1.4;
}

.auth-consent[hidden] {
  display: none !important;
}

.auth-consent input {
  width: auto !important;
  min-height: auto;
  margin: .15rem 0 0;
  accent-color: var(--brown);
}

.auth-submit {
  width: 100%;
  min-height: 47px;
  margin-top: 4px;
}

.auth-submit::after {
  content: none;
}

.auth-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.45;
  text-align: left;
}

.auth-note span {
  color: var(--gold);
}

@media (max-width: 820px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 42px 20px 54px;
  }

  .auth-copy {
    max-width: 560px;
  }

  .auth-copy h1 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
  }

  body .auth-card {
    width: min(100%, 480px);
  }
}

@media (max-width: 460px) {
  .auth-shell {
    gap: 1.75rem;
    padding: 34px 19px 48px;
  }

  .auth-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.3rem);
  }

  .auth-copy > p:not(.eyebrow) {
    font-size: .94rem;
  }

  body .auth-card {
    padding: 24px 21px;
  }
}
