:root {
  color-scheme: light;
  --page-bg: #f3f3ef;
  --panel: #ffffff;
  --text: #20201d;
  --muted: #706f68;
  --line: #deddd5;
  --accent: #cf5b13;
  --accent-hover: #b94f10;
  --focus: #1f6feb;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 72px 20px;
}

.icon-button {
  position: fixed;
  top: clamp(24px, 6.4vw, 72px);
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
}

.icon-button--left {
  left: clamp(24px, 4vw, 52px);
}

.icon-lines {
  display: grid;
  width: 15px;
  gap: 3px;
}

.icon-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.login-panel {
  width: min(100%, 390px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.brand h1 {
  margin: 6px 0 24px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.login-form input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--text);
  font: inherit;
  background: #fff;
}

.login-form input:focus {
  border-color: var(--focus);
  outline: 2px solid color-mix(in srgb, var(--focus) 20%, transparent);
}

.login-form button {
  height: 42px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.login-form button:hover {
  background: var(--accent-hover);
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.note {
  min-height: 38px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
