:root {
  color-scheme: light;
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171b22;
  background: #282e39;
}
* { box-sizing: border-box; letter-spacing: 0; }
body {
  min-height: 100svh;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, rgba(18,24,38,.94), rgba(18,24,38,.78)), linear-gradient(180deg, #eef2f6, #dfe6f0);
}
.login-panel {
  position: relative;
  width: min(100%, 460px);
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15,23,42,.14);
}
.account-brand { display: grid; justify-items: center; gap: 0; padding-bottom: 16px; border-bottom: 1px solid #e1e5eb; }
.account-brand > img { display: block; width: min(192px, 100%); height: auto; aspect-ratio: 228 / 175; object-fit: contain; }
.account-brand span { max-width: 100%; margin-top: 4px; color: #000; font-size: 19px; font-variant: small-caps; font-weight: 820; text-align: center; overflow-wrap: anywhere; }
.login-title { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0; }
.login-title > .icon { margin-top: 3px; }
h1 { margin: 22px 0; font-size: 32px; line-height: 1.2; overflow-wrap: anywhere; }
.login-title h1 { margin: 0; }
.icon { flex: none; display: block; }
.login-form { display: grid; gap: 14px; }
.login-form > label { display: grid; gap: 6px; min-width: 0; color: #263449; font-weight: 720; line-height: 20px; }
.login-form input:not([type="hidden"]) { width: 100%; min-width: 0; height: 42px; border: 1px solid #d8dee8; border-radius: 7px; padding: 10px 12px; font: inherit; font-weight: 400; color: #171b22; background: #fff; }
.pw-input { position: relative; display: block; }
.login-form .pw-input input { padding-right: 40px; }
.pw-eye { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 32px; height: 34px; padding: 8px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.pw-eye .icon { opacity: .6; }
.pw-eye:hover { background: #f1f4f8; }
.login-form > button, .login-panel > button, .button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 37px; padding: 9px 14px; border: 1px solid #64748b; border-radius: 7px; font: 720 13px/17px Inter, system-ui, sans-serif; color: #fff; background: #64748b; text-decoration: none; cursor: pointer; }
.login-form > button .icon { filter: invert(1); }
.login-form > button:hover:not(:disabled), .login-panel > button:hover, .button:hover { background: #52637a; }
.login-form > button:disabled { cursor: not-allowed; }
.login-panel > button, .button { margin-top: 16px; }
altcha-widget { display: block; width: 100%; min-width: 0; --altcha-max-width: 100%; --altcha-border-radius: 7px; --altcha-border-color: #d8dee8; --altcha-color-base-content: #263449; }
#verification-error { margin: 0; font-size: 14px; color: #943c3c; }
.backend-led { position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border: 1px solid rgba(255,255,255,.86); border-radius: 50%; background: #b7791f; box-shadow: 0 0 0 3px rgba(183,121,31,.12), 0 0 10px rgba(183,121,31,.35); }
.backend-led.is-online { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.12), 0 0 10px rgba(22,163,74,.35); }
.backend-led.is-offline { background: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12), 0 0 10px rgba(220,38,38,.35); }
.backend-led:is(:hover, :focus-visible)::after { content: attr(aria-label); position: absolute; top: 18px; right: 0; width: max-content; max-width: 200px; padding: 5px 8px; border-radius: 4px; background: #171b22; color: #fff; font-size: 12px; z-index: 1; }
.eyebrow { margin: 22px 0 0; color: #52637a; font-weight: 600; }
a { color: #335d96; }
.back { display: inline-block; margin-top: 24px; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
[role="alert"] { border-left: 3px solid #ad3e3e; padding-left: 12px; }
[hidden] { display: none !important; }
@media (max-width: 480px) { body { padding: 16px; } .login-panel { padding: 24px 20px; } }
