:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fffdf8;
  color: #14271d;
}
* { box-sizing: border-box; }
body { align-items: center; display: flex; justify-content: center; margin: 0; min-height: 100vh; padding: 24px; }
.card { max-width: 420px; padding: 28px 0; width: 100%; }
.brand { align-items: center; display: flex; gap: 12px; margin-bottom: 36px; }
.brand img { height: 40px; width: 40px; }
h1 { font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.2; margin: 0; }
h2 { font-size: 1.05rem; margin: 30px 0 6px; }
p { line-height: 1.5; }
.muted { color: #66756d; font-size: .88rem; margin: 8px 0 18px; }
.row { align-items: center; display: flex; gap: 10px; }
.row > *:first-child { flex: 1; }
.visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
input, button { font: inherit; }
input { background: transparent; border: 0; border-bottom: 1px solid #a9b4ae; border-radius: 0; color: #14271d; margin: 0 0 12px; min-height: 48px; padding: 10px 2px; width: 100%; }
input::placeholder { color: #87928c; opacity: 1; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #e7a33c; outline-offset: 3px; }
button, .button { background: #176b52; border: 0; border-radius: 10px; color: #fff; cursor: pointer; display: inline-block; font-weight: 700; margin-top: 12px; min-height: 46px; padding: 12px 17px; text-align: center; text-decoration: none; width: 100%; }
button.secondary { background: transparent; color: #176b52; margin-top: 7px; }
button.danger { background: #a12d2f; }
button.compact { background: transparent; color: #176b52; margin: 0; min-height: 38px; padding: 4px; width: 38px; }
button:disabled { cursor: wait; opacity: .6; }
a { color: #176b52; }
.link { background: transparent; color: #176b52; font-weight: 600; margin: 2px 0 0; min-height: 36px; padding: 5px 0; text-align: left; width: auto; }
.error { color: #9d292b; font-weight: 600; min-height: 1.4em; margin: 14px 0 0; }
.success { color: #176b52; font-weight: 650; min-height: 1.4em; margin: 14px 0 0; }
.section { border-top: 1px solid #d7ddd9; margin-top: 28px; padding-top: 12px; }
.site-links { color: #66756d; font-size: .82rem; margin-top: 30px; text-align: center; }
.site-links a { margin: 0 6px; }
.warning { color: #7c292b; }
dialog { background: #fffdf8; border: 1px solid #bbc5bf; border-radius: 14px; color: #14271d; max-width: 360px; padding: 24px; }
dialog::backdrop { background: rgb(20 39 29 / 35%); }
@media (prefers-color-scheme: dark) {
  :root { background: #10271e; color: #f7f4ea; }
  input { border-color: #789286; color: #fff; }
  input::placeholder, .muted { color: #aebfb6; }
  dialog { background: #173127; border-color: #567a6a; color: #f7f4ea; }
  .section { border-color: #456457; }
}