@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { color-scheme: light; font-family: Montserrat, system-ui, sans-serif; color: #002825; background: #f1f4ee; font-synthesis: none; }
* { box-sizing: border-box; }
body { min-width: 280px; margin: 0; background: radial-gradient(ellipse at 15% 10%, #e2e8d9 0, transparent 55%), radial-gradient(ellipse at 95% 100%, #e5ece7 0, transparent 50%), #f1f4ee; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.login-shell { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 20px 28px; }
.login-card { width: 100%; max-width: 440px; padding: 36px; border: 1px solid #dce2d4; border-radius: 24px; background: #ffffff; box-shadow: 0 16px 56px #17372a0b, 0 3px 10px #17372a05; }
.brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 30px; }
.brand img { flex: none; width: 44px; height: 44px; object-fit: contain; }
.brand span { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; }
.login-intro { text-align: center; }
.demo-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 9px; border-radius: 20px; color: #5c6339; background: #f0f3e9; font-size: 11px; font-weight: 600; line-height: 1.4; }
.demo-label > span { height: 5px; width: 5px; flex: none; border-radius: 50%; background: #7b8851; }
h1 { margin: 13px 0 10px; font-size: 25px; font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.login-intro p { margin: 0 auto 26px; max-width: 290px; color: #67756b; font-size: 13px; line-height: 1.8; }
.login-error { margin: 0 0 20px; padding: 11px 13px; border: 1px solid #f0d1cc; border-radius: 10px; color: #982f27; background: #fff5f3; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.form-field + .form-field { margin-top: 19px; }
.form-field label { display: inline-block; margin-bottom: 8px; color: #234237; font-size: 12px; font-weight: 600; line-height: 1.5; }
.form-field input { display: block; width: 100%; min-width: 0; height: 48px; border: 1px solid #cfd8c7; border-radius: 11px; outline: none; padding: 12px 14px; background: #fdfefd; color: #173d30; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 2px #17372a05; transition: border-color .15s, box-shadow .15s; }
.form-field input:hover { border-color: #a3b08e; }
.form-field input:focus { border-color: #6e7850; box-shadow: 0 0 0 3px #85965b24; }
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
.password-toggle { display: flex; align-items: center; justify-content: center; position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; border-radius: 9px; background: transparent; color: #75816a; cursor: pointer; }
.password-toggle:hover { color: #002825; background: #edf1e7; }
.password-toggle:focus-visible { outline: 2px solid #6e7850; outline-offset: -3px; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 25px; padding: 12px 18px; border: 1px solid #5c6339; border-radius: 11px; background: #5c6339; color: #ffffff; font-size: 13px; font-weight: 600; line-height: 1.5; box-shadow: 0 3px 6px #3e482528; cursor: pointer; transition: background .15s, box-shadow .15s; }
.login-submit:hover:not(:disabled) { background: #4c542d; border-color: #4c542d; }
.login-submit:focus-visible { outline: 3px solid #99ab75; outline-offset: 3px; }
.login-submit:disabled { cursor: wait; opacity: .75; }
.login-submit svg { flex: none; }
.demo-note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 26px 0 0; padding-top: 21px; border-top: 1px solid #e9ede3; color: #73806f; font-size: 11px; line-height: 1.8; text-align: left; }
.demo-note svg { flex: none; margin-top: 2px; }
.login-footer { margin: 22px 0 0; color: #7b8776; font-size: 10px; line-height: 1.7; text-align: center; }
@media (max-width: 480px) {
  .login-shell { padding: 24px 16px; }
  .login-card { padding: 30px 24px; border-radius: 20px; }
  .brand { margin-bottom: 26px; }
  .brand span { font-size: 18px; }
  .brand img { width: 40px; height: 40px; }
  h1 { font-size: 23px; }
  .form-field input { font-size: 16px; }
}
@media (max-width: 350px) {
  .login-card { padding-inline: 20px; }
  .login-intro p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
