@font-face {
  font-family: Nelphim;
  src: url('/static/fonts/nelphim-regular.woff2') format('woff2');
  font-display: swap;
}
body.signin {
  margin: 0;
  background: #f7f4ed;
  color: #19382e;
}
.signin > header { display: none; }
.signin main { max-width: none; margin: 0; padding: 0; }
.signin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
}
.signin-garden {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: end center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 84px);
  color: #fff7df;
  background: #18372c url('/static/img/garden/conservatory.webp') 52% center / cover;
}
.signin-garden::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(6,29,21,.92), rgba(6,29,21,.23) 44%, transparent 75%);
}
.signin-garden::after {
  content: ''; position: absolute; inset: 16px; border: 1px solid rgba(246,229,187,.48);
  pointer-events: none;
}
.signin-panel { display: grid; align-items: center; padding: clamp(32px, 6vw, 100px); }
.signin form.login {
  margin: auto; width: min(100%, 410px); max-width: none; padding: 0;
  border: 0; background: transparent;
}
.signin h1 { margin: 0 0 30px; font: 400 clamp(46px, 5vw, 76px)/1.05 Nelphim, Georgia, serif; letter-spacing: -.035em; }
.signin form.login::before {
  content: ''; display: block; width: 52px; height: 2px; background: #ac8654; margin-bottom: 24px;
}
.signin label { margin: 19px 0 6px; font-size: 14px; font-weight: 600; }
.signin input:not([type=checkbox]) {
  width: 100%; height: 52px; border: 1px solid #aaafa2; border-radius: 6px;
  background: #fffdf7; padding: 0 14px; color: #18372d; font: inherit;
}
.signin input:focus-visible, .signin button:focus-visible { outline: 3px solid #976b34; outline-offset: 3px; }
.signin-password { position: relative; }
.signin-password input { padding-right: 72px !important; }
.signin .reveal { position: absolute; right: 4px; top: 4px; height: 44px; padding: 0 12px;
  background: transparent; border: 0; color: #365248; font-size: 14px; }
.signin .submit { width: 100%; display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px; padding: 14px 18px; background: #193f31; border: 1px solid #193f31;
  color: #fffdf4; font-weight: 600; }
.signin .submit:hover { background: #285640; }
.signin .submit span { font-size: 21px; line-height: 1; }
.signin .hint { font-size: 14px; color: #546158; margin: 8px 0; }
.signin #error:empty { display: none; }
.signin #error { padding: 9px 13px; background: #fbe8df; border-left: 3px solid #9c4739; }
@media (max-width: 900px) and (orientation: portrait), (max-width: 560px) {
  .signin-shell { display: flex; flex-direction: column; }
  .signin-garden { min-height: clamp(145px, 26svh, 250px); background-position: center 43%; padding: 24px 30px; }
  .signin-garden::after { inset: 9px; }
  .signin-panel { padding: 32px 24px 40px; flex: 1; }
}

.signin-brand { width: clamp(136px, 18vw, 216px); }
.signin-brand .jr { display: block; width: 100%; height: auto; }
.jr-stem{fill:none;stroke:#B9CFA0;stroke-width:.75;stroke-linecap:round;opacity:.7}
.jr-leaf{fill:#93B77A;opacity:.7}
.jr-sprigs .jr-leaf:nth-child(4n){fill:#F7A8C4;opacity:.9}
