:root { color-scheme: light dark; font-family: system-ui, "Microsoft YaHei", sans-serif; color: #17212b; background: #f3f5f7; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
main { width: min(100%, 360px); }
.brand { color: #687580; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
h1 { font-size: 28px; margin: 0 0 32px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 20px 0 8px; }
input { width: 100%; height: 46px; border: 1px solid #b9c3cb; border-radius: 6px; background: #fff; color: #17212b; padding: 0 12px; font: inherit; }
input:focus-visible, button:focus-visible { outline: 3px solid #80cbc4; outline-offset: 2px; }
.duration { font-size: 13px; color: #687580; }
#error { min-height: 22px; color: #b42318; font-size: 14px; }
button { width: 100%; height: 46px; border: 0; border-radius: 6px; background: #087f74; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
@media (prefers-color-scheme: dark) {
  :root { color: #eef2f5; background: #181c21; }
  input { background: #242b31; color: #eef2f5; border-color: #58636c; }
  .brand, .duration { color: #acb7c0; }
  #error { color: #ffb4ab; }
}
