
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #18211e;
  --muted: #65706c;
  --line: #d8dfdb;
  --surface: #ffffff;
  --canvas: #f3f6f5;
  --forest: #162a25;
  --teal: #147d70;
  --amber: #d7972b;
  --danger: #a53d35;
}
* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { min-height: 100vh; min-height: 100dvh; color: var(--ink); background: var(--canvas); }
button, input { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
.login-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(320px, .82fr) minmax(440px, 1.18fr); }
.login-context { position: relative; min-height: 100%; display: flex; flex-direction: column; overflow: hidden; padding: 44px 48px; color: #edf5f2; background: var(--forest); }
.context-brand, .panel-brand { display: flex; align-items: center; gap: 12px; }
.context-mark, .panel-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #42615a; border-radius: 7px; color: #8cd8c9; background: #1d3731; }
.context-mark svg, .panel-mark svg { width: 22px; height: 22px; stroke-width: 1.7; }
.context-brand strong { display: block; font-size: 17px; letter-spacing: 0; }
.context-brand small { display: block; margin-top: 2px; color: #9eb0aa; font-size: 11px; letter-spacing: 0; }
.context-visual { position: relative; width: min(410px, 92%); aspect-ratio: 1 / .82; margin: auto; }
.visual-core, .visual-node { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid #4a6961; border-radius: 8px; color: #a7e1d5; background: #203d36; box-shadow: 0 16px 40px rgba(7,18,15,.2); }
.visual-core { top: 35%; left: 38%; width: 92px; height: 92px; color: #f1c273; border-color: #806d45; background: #34463c; }
.visual-core svg { width: 42px; height: 42px; stroke-width: 1.3; }
.visual-node { width: 52px; height: 52px; }
.visual-node svg { width: 23px; height: 23px; stroke-width: 1.5; }
.node-one { top: 5%; left: 12%; }
.node-two { top: 10%; right: 8%; color: #a8cbe3; }
.node-three { right: 16%; bottom: 4%; color: #efb4a8; }
.visual-line { position: absolute; z-index: 1; height: 1px; transform-origin: left center; background: #53736b; }
.line-one { top: 27%; left: 22%; width: 32%; transform: rotate(27deg); }
.line-two { top: 28%; left: 58%; width: 28%; transform: rotate(-30deg); }
.line-three { top: 58%; left: 55%; width: 34%; transform: rotate(42deg); }
.context-status { display: flex; align-items: center; gap: 9px; color: #9eb0aa; font-size: 11px; }
.context-status span { width: 8px; height: 8px; border-radius: 50%; background: #4ec5a7; box-shadow: 0 0 0 4px rgba(78,197,167,.12); }
.login-panel { min-width: 0; display: grid; place-items: center; padding: 54px 40px; background: var(--surface); }
.login-form-wrap { width: min(100%, 420px); }
.panel-brand { display: none; margin-bottom: 40px; }
.panel-brand strong { font-size: 17px; }
.panel-mark { width: 38px; height: 38px; color: var(--teal); border-color: #bdd4ce; background: #eff8f6; }
.login-form-wrap header { margin-bottom: 30px; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--teal); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
h1 { margin: 0; color: var(--ink); font-size: 31px; line-height: 1.16; letter-spacing: 0; }
header p { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.login-error { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; margin: -8px 0 22px; padding: 11px 12px; color: #7b2f29; border: 1px solid #e7b9b4; border-radius: 6px; background: #fff4f2; font-size: 12px; line-height: 1.45; }
.login-error svg { width: 17px; height: 17px; color: var(--danger); }
form { display: grid; }
label { margin: 0 0 7px; color: #34413d; font-size: 12px; font-weight: 650; }
.login-field { height: 48px; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 9px; margin-bottom: 19px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.login-field:focus-within { border-color: #4fa99d; box-shadow: 0 0 0 3px rgba(20,125,112,.1); }
.login-field > svg { width: 18px; height: 18px; color: #7b8782; stroke-width: 1.7; }
.login-field input { width: 100%; min-width: 0; height: 100%; padding: 0; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 14px; }
.password-field { grid-template-columns: 20px minmax(0, 1fr) 34px; }
.password-field button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; color: #697671; border: 0; border-radius: 5px; background: transparent; }
.password-field button:hover { color: var(--teal); background: #edf7f5; }
.password-field button:focus-visible, .login-submit:focus-visible { outline: 3px solid rgba(20,125,112,.22); outline-offset: 2px; }
.password-field button svg { width: 17px; height: 17px; }
.login-submit { height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 5px; padding: 0 18px; color: #fff; border: 1px solid #10241f; border-radius: 6px; background: #18332c; font-size: 13px; font-weight: 700; }
.login-submit:hover { border-color: #176b60; background: #176b60; }
.login-submit svg { width: 17px; height: 17px; stroke-width: 1.8; }
footer { display: flex; align-items: center; gap: 8px; margin-top: 25px; color: #7a8581; font-size: 11px; }
footer svg { width: 15px; height: 15px; color: var(--teal); }
@media (max-width: 820px) {
  .login-shell { display: block; min-height: 100vh; min-height: 100dvh; }
  .login-context { display: none; }
  .login-panel { min-height: 100vh; min-height: 100dvh; padding: 36px 24px; }
  .panel-brand { display: flex; }
}
@media (max-width: 420px) {
  .login-panel { padding: 28px 20px; place-items: start center; }
  .login-form-wrap { width: 100%; }
  .panel-brand { margin-bottom: 54px; }
  h1 { font-size: 27px; }
}
@media (max-height: 680px) and (min-width: 821px) {
  .login-context { padding-top: 28px; padding-bottom: 28px; }
  .context-visual { width: min(330px, 78%); }
  .login-panel { padding-top: 30px; padding-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}