:root {
  color-scheme: dark;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #f1f8ef;
  background: #101a13;
  --accent: #abeb39;
  --muted: #c3dab9;
  --display: Bahnschrift, 'Arial Narrow', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.login-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 74% 45%, #293f26, #101a13 73%);
}
.login-brand {
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 78px);
  border-bottom: 1px solid #38513f;
  display: flex;
  align-items: center;
  gap: 13px;
}
.login-brand img { flex: none; width: 45px; height: 48px; object-fit: contain; }
.login-brand strong { display: block; font: 800 19px/1.1 var(--display); }
.login-brand span { display: block; margin-top: 5px; color: var(--muted); font: 600 11px/1.2 var(--display); letter-spacing: .12em; }
.login-main {
  width: min(1200px, 100%);
  margin-inline: auto;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(20px, 5vw, 74px);
  padding: 25px clamp(24px, 6vw, 76px) 0;
}
.login-access { align-self: center; padding: 20px 0 56px; }
h1 {
  margin: 0;
  color: #e5f8d8;
  font: italic 800 clamp(32px, 4.2vw, 57px)/1.05 var(--display);
  letter-spacing: -.035em;
}
.login-access > p { margin: 14px 0 29px; color: var(--muted); font-size: 15px; line-height: 1.5; }
form { max-width: 400px; }
label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
input, button { font: inherit; }
input {
  width: 100%; min-height: 48px; padding: 0 13px;
  border: 1px solid #5a7462; border-radius: 8px;
  color: #f1f8ef; background: #112018;
}
input::placeholder { color: #b7c7b9; opacity: 1; }
.login-password { position: relative; }
.login-password input { padding-right: 92px; }
.login-password button {
  position: absolute; right: 2px; top: 2px; height: calc(100% - 4px); min-width: 80px;
  padding: 0 10px; border: 0; border-radius: 7px; color: var(--muted); background: transparent;
  font-size: 13px; cursor: pointer;
}
.login-password button:hover { background: #22382a; }
.login-submit {
  width: 100%; min-height: 48px; margin-top: 18px; padding: 0 14px;
  border: 0; border-radius: 8px; background: var(--accent); color: #132008;
  font: 750 17px/1 var(--display); cursor: pointer;
}
.login-submit:hover:not(:disabled) { background: #c1f467; }
.login-submit:disabled { opacity: .68; cursor: wait; }
:focus-visible { outline: 2px solid #d7f8a5; outline-offset: 3px; }
.login-error { margin: 12px 0 0; color: #ffb9b0; font-size: 14px; }
.login-art { display: grid; align-items: end; justify-items: center; }
.login-art img { display: block; width: 100%; height: min(76svh, 680px); object-fit: contain; object-position: center bottom; }

@media (max-width: 660px) {
  .login-main { grid-template-columns: minmax(0,1fr); gap: 0; padding: 20px 24px 0; }
  .login-access { padding: 24px 0 30px; }
  .login-art { height: 183px; overflow: hidden; align-items: start; }
  .login-art img { width: min(215px, 78%); height: auto; }
}
