:root {
  color-scheme: light dark;
  --bg: #f7f8f6; --surface: #fff; --line: #d7ded5; --ink: #16221d; --ink-2: #47554e;
  --brand: #143f33; --brand-2: #175b45; --brand-hover: #104b37; --accent: #d0f39c;
  --focus: #1f63d6; --info: #1d5aa6; --info-bg: #e7effa;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1311; --surface: #151c19; --line: #33403a; --ink: #e7ede9; --ink-2: #b4c0b9;
    --brand: #0f2a22; --brand-2: #237a56; --brand-hover: #1c6647; --focus: #7fb0ff; --info: #93bbf5; --info-bg: #172a44;
  }
}
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; background: var(--bg); color: var(--ink); padding: 16px; box-sizing: border-box; }
.sign-in { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px; box-sizing: border-box; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font-weight: 700; font-size: 1.25rem; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); box-shadow: inset 0 0 0 10px var(--brand), inset 0 0 0 16px var(--accent); }
h1 { font-size: 1.5rem; margin: 0 0 8px; }
p { color: var(--ink-2); line-height: 1.5; margin: 0 0 16px; }
.small { font-size: .8125rem; margin: 20px 0 0; }
.sign-in-message { background: var(--info-bg); color: var(--info); border-radius: 8px; padding: 10px 12px; }
.button { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; background: var(--brand-2); color: #fff; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
