.auth-entry {
  --access-ink: #18352a;
  --access-forest: #143f2e;
  --access-motion: cubic-bezier(.22, .72, .24, 1);
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: clamp(18px, 3vh, 42px);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(16px, 3.2dvh, 34px) clamp(12px, 4vw, 52px) max(18px, env(safe-area-inset-bottom));
  color: var(--access-ink);
  background: #fff;
}
.auth-entry-header, .auth-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  width: min(100%, 1070px);
  min-width: 0;
}
.auth-entry .auth-entry-brand { color: var(--access-ink); gap: 6px; }
.auth-entry .auth-entry-brand > span, .auth-entry .auth-entry-brand small { color: #35634c; }
.auth-entry .auth-entry-brand small { border-color: #d7e5db; }
.auth-entry-return { padding: 9px 12px; background: #f5f9f5; border: 1px solid #dfebe2; border-radius: 8px; color: #27513d; font-size: 13px; font-weight: 750; }
.auth-entry-return:hover { background: #e8f2ea; }
.auth-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: center;
  width: min(100%, 1070px);
  min-height: min(655px, 72vh);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #dce8df;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 25px 65px -44px #224b36a0;
}
.auth-frame > section { grid-area: 1 / 1; min-width: 0; }
.auth-entry .auth-cover {
  z-index: 2;
  width: 45%;
  background: linear-gradient(160deg, #142d2352 4%, #142d23c9 63%, #142d23df), url("/auth-cafeteria.jpg") 50% 54% / cover, var(--access-forest);
  border-radius: 0 32% 32% 0 / 0 27% 27% 0;
  transition: transform .72s var(--access-motion), border-radius .72s var(--access-motion);
}
.auth-entry[data-auth-mode="register"] .auth-cover {
  transform: translateX(122.222%);
  border-radius: 32% 0 0 32% / 27% 0 0 27%;
}
.auth-cover-content {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(16px, 3.5vh, 34px);
  height: 100%;
  padding: clamp(25px, 4vw, 52px);
}
.auth-cover-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eef8ef;
  font-size: 13px;
  font-weight: 760;
}
.auth-cover-brand img { width: 25px; height: 30px; object-fit: contain; }
.auth-cover-message { align-self: center; }
.auth-cover-message > p { max-width: 25ch; margin: 0 0 21px; color: #e6f1e8; font-size: clamp(.94rem, 1.35vw, 1.095rem); line-height: 1.48; }
.auth-cover-message .auth-cover-title {
  max-width: none;
  margin: 0 0 9px;
  color: white;
  font: 400 clamp(2.75rem, 4.8vw, 4.75rem)/.99 var(--font-display, "Bebas Neue", sans-serif);
  letter-spacing: .012em;
}
.auth-cover-switch {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  padding: 10px 17px;
  border: 1px solid #d7e8da9e;
  border-radius: 10px;
  background: #132d22bd;
  color: white;
  font-weight: 760;
  font-size: .875rem;
  transition: background .22s ease, transform .25s ease;
}
.auth-cover-switch:hover { transform: translateY(-2px); background: #296046; }
.auth-entry-recovery .auth-cover-switch { display: none; }
.auth-entry .auth-entry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: 55%;
  align-self: stretch;
  padding: clamp(23px, 4.3vw, 50px);
  transform: translateX(81.818%);
  transition: transform .72s var(--access-motion);
  background: #fff;
  color: var(--access-ink);
}
.auth-entry[data-auth-mode="register"] .auth-entry-panel { transform: translateX(0); }
.auth-entry .auth-box { min-width: 0; max-width: 424px; }
.auth-entry h1 {
  margin: 0 0 9px;
  color: var(--access-ink);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 810;
  line-height: 1.07;
  letter-spacing: -.056em;
  overflow-wrap: anywhere;
}
.auth-entry .auth-box > .muted { margin-bottom: 22px; color: #526a5d; font-size: .95rem; line-height: 1.5; }
.auth-entry .segmented { margin-bottom: 17px; }
.auth-entry .segmented button { padding: 11px 9px; }
.auth-entry .stack { gap: 12px; }
.auth-entry label { gap: 6px; }
.auth-entry .stack input { min-height: 45px; }
.auth-entry .auth-text-button { margin: 8px 0 0; }
.auth-entry .separator { margin: 12px 0 9px; color: #5b7264; }
.auth-entry .separator span { background: white; }
.auth-entry .fineprint { margin: 13px 0 0; color: #53665a; line-height: 1.4; }
.auth-entry .auth-password-field { display: grid; gap: 6px; }
.auth-password-control { position: relative; }
.auth-password-control > input { padding-right: 88px; }
.auth-password-toggle {
  position: absolute;
  inset: 2px 2px 2px auto;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  color: #28543d;
  background: transparent;
  font-size: .79rem;
  font-weight: 800;
}
.auth-password-toggle:hover { background: #eef5ef; }
.auth-entry-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 19px; }
.auth-entry-footer a { padding: 7px 0; color: #315c45; font-size: .84rem; font-weight: 650; }
.auth-entry-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-entry :focus-visible { outline: 3px solid #71ad7e; outline-offset: 3px; }

@media (max-width: 680px) {
  .auth-entry { grid-template-rows: auto auto auto; gap: 15px; }
  .auth-frame { min-height: auto; border-radius: 20px; }
  .auth-frame > section { grid-area: auto; }
  .auth-entry .auth-cover, .auth-entry[data-auth-mode="register"] .auth-cover {
    width: 100%;
    transform: none;
    border-radius: 0 0 20px 20px;
    background-position: 50% 50%;
    transition: none;
  }
  .auth-cover-content { display: block; padding: 18px 21px; }
  .auth-cover-brand, .auth-cover-message p:not(.auth-cover-title) { display: none; }
  .auth-cover-message { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; }
  .auth-cover-message .auth-cover-title { margin: 0; font-size: clamp(1.55rem, 5.8vw, 2.5rem); }
  .auth-cover-switch { gap: 5px; padding: 7px 9px; font-size: .77rem; }
  .auth-entry .auth-entry-panel, .auth-entry[data-auth-mode="register"] .auth-entry-panel {
    width: 100%;
    padding: 21px clamp(12px, 5vw, 31px) 24px;
    transform: none;
    transition: none;
  }
  .auth-entry-footer nav { gap: 3px 13px; }
  .auth-entry .stack input { font-size: 16px; }
  .auth-entry .auth-entry-brand img { width: 29px; height: 29px; }
}
@media (max-height: 650px) and (min-width: 681px) {
  .auth-entry { gap: 13px; }
  .auth-entry .auth-entry-panel { padding-block: 22px; }
  .auth-cover-content { padding-block: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-entry *, .auth-entry *::before, .auth-entry *::after { transition-duration: .01ms !important; }
}
