:root {
  --auth-ink: #0d2932;
  --auth-ink-2: #153943;
  --auth-accent: #63c4d2;
  --auth-border: #d9e2e5;
  --auth-bg: #f1f5f6;
  --auth-muted: #70838a;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--auth-bg);
  color: var(--auth-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 42%) minmax(460px, 58%);
}

.auth-context {
  min-height: 100vh;
  padding: 34px 44px 40px;
  display: flex;
  flex-direction: column;
  background: var(--auth-ink);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.08);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.auth-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--auth-ink);
  font-weight: 900;
  border-radius: 2px;
}

.auth-brand strong,
.auth-brand span { display: block; }
.auth-brand strong { font-size: 1rem; letter-spacing: -.01em; }
.auth-brand span { margin-top: 2px; color: rgba(255,255,255,.55); font-size: .72rem; }

.auth-copy {
  margin: auto 0;
  max-width: 560px;
}

.auth-kicker {
  color: #6ba8b3;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.auth-context .auth-kicker { color: #82d4df; }
.auth-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.25rem, 4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 780;
}
.auth-copy p {
  margin: 0;
  max-width: 500px;
  color: rgba(255,255,255,.62);
  font-size: 1rem;
  line-height: 1.6;
}

.auth-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.auth-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #68d3a5;
  box-shadow: 0 0 0 4px rgba(104,211,165,.10);
}
.auth-status strong,
.auth-status span { display: block; }
.auth-status strong { font-size: .75rem; }
.auth-status span { margin-top: 2px; color: rgba(255,255,255,.42); font-size: .66rem; }

.auth-panel-wrap {
  display: grid;
  place-items: center;
  padding: 48px;
}

.auth-panel {
  width: min(100%, 470px);
  background: #fff;
  border: 1px solid var(--auth-border);
  border-radius: 2px;
}

.auth-panel-head { padding: 30px 32px 22px; border-bottom: 1px solid #e5ecee; }
.auth-panel-head h2 {
  margin: 8px 0 6px;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.auth-panel-head p { margin: 0; color: var(--auth-muted); font-size: .83rem; line-height: 1.5; }

.auth-alert {
  margin: 18px 32px 0;
  padding: 10px 12px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid #e9c9c9;
  background: #fff7f7;
  color: #8c3e3e;
  font-size: .76rem;
  line-height: 1.4;
}

.auth-form { padding: 24px 32px 30px; display: grid; gap: 16px; }
.auth-field { display: grid; gap: 6px; }
.auth-field > span { color: #3f5962; font-size: .74rem; font-weight: 720; }
.auth-field small { color: #809096; font-size: .66rem; }
.auth-field input {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  border: 1px solid #cfdadd;
  border-radius: 2px;
  outline: 0;
  background: #fff;
  color: var(--auth-ink);
  font: inherit;
  font-size: .86rem;
}
.auth-field input:focus {
  border-color: #6eb4c1;
  box-shadow: 0 0 0 3px rgba(99,196,210,.12);
}

.auth-submit {
  height: 44px;
  margin-top: 4px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #236e80;
  border-radius: 2px;
  background: #236e80;
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
}
.auth-submit:hover { background: #1b5d6c; border-color: #1b5d6c; }

.auth-panel-foot {
  min-height: 44px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5ecee;
  background: #f8fafb;
  color: #8a999e;
  font-size: .64rem;
}

@media (max-width: 920px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-context { min-height: auto; padding: 24px; }
  .auth-copy { margin: 64px 0; }
  .auth-copy h1 { font-size: 2.6rem; }
  .auth-panel-wrap { padding: 28px 18px 42px; }
}

@media (max-width: 520px) {
  .auth-copy { margin: 44px 0; }
  .auth-copy h1 { font-size: 2.1rem; }
  .auth-panel-head,
  .auth-form { padding-left: 22px; padding-right: 22px; }
  .auth-alert { margin-left: 22px; margin-right: 22px; }
  .auth-panel-foot { padding: 0 22px; }
}
