:root {
  --ink: #17231f;
  --muted: #66736d;
  --line: #dce2de;
  --canvas: #f3f5f2;
  --surface: #ffffff;
  --accent: #e86f47;
  --accent-dark: #c85431;
  --success: #56bd87;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 42%) minmax(420px, 58%); }
.login-context { min-height: 100vh; padding: clamp(30px, 5vw, 68px); display: flex; flex-direction: column; color: #f3f6f4; background: #17231f; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; color: white; background: var(--accent); font-size: 14px; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; }
.brand small { margin-top: 3px; color: #8ea097; font-size: 10px; text-transform: uppercase; }
.context-copy { margin: auto 0; max-width: 540px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.context-copy h1 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; font-weight: 720; }
.context-copy h1 span { display: block; white-space: nowrap; }
.context-note { margin: 24px 0 0; color: #91a199; font-size: 13px; }
.context-status { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: center; padding-top: 20px; border-top: 1px solid #34433d; }
.context-status > span { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(86,189,135,.12); }
.context-status strong, .context-status small { display: block; }
.context-status strong { font-size: 12px; }
.context-status small { margin-top: 3px; color: #8ea097; font-size: 10px; }
.login-panel { min-height: 100vh; padding: 32px; display: grid; place-items: center; position: relative; background: var(--canvas); }
.login-card { width: min(420px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 18px 55px rgba(30, 44, 38, .09); }
.login-card header { margin-bottom: 28px; }
.login-card h2 { margin: 0; font-size: 27px; }
.login-card header > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field span { color: #45514b; font-size: 11px; font-weight: 700; }
.field input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 7px; padding: 0 13px; color: var(--ink); background: white; outline: none; transition: border-color .16s, box-shadow .16s; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,111,71,.12); }
.password-toggle { margin-top: 13px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; cursor: pointer; }
.password-toggle input { accent-color: var(--accent); }
.form-error { min-height: 18px; margin: 14px 0 0; color: #a43b32; font-size: 11px; }
.login-button { width: 100%; height: 46px; margin-top: 5px; border: 0; border-radius: 7px; color: white; background: var(--accent); font-size: 12px; font-weight: 800; cursor: pointer; transition: background .16s, transform .16s; }
.login-button:hover { background: var(--accent-dark); }
.login-button:active { transform: translateY(1px); }
.login-button:disabled { opacity: .55; cursor: wait; }
.login-panel footer { position: absolute; bottom: 22px; color: #8a9690; font-size: 9px; text-transform: uppercase; }
@media (max-width: 820px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-context { min-height: 230px; padding: 26px; }
  .context-copy { margin: 42px 0 26px; }
  .context-copy h1 { font-size: 36px; }
  .context-status { display: none; }
  .login-panel { min-height: calc(100vh - 230px); padding: 28px 18px 62px; }
}
@media (max-width: 430px) {
  .login-context { min-height: 190px; }
  .context-copy { margin: 30px 0 0; }
  .context-copy h1 { font-size: 30px; }
  .context-note { display: none; }
  .login-panel { min-height: calc(100vh - 190px); place-items: start center; }
  .login-card { padding: 26px 22px; }
}
