:root { color-scheme: light dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; background: #f4f7fb; color: #15253b; }
* { box-sizing: border-box; }
body { margin: 0; padding: 24px 16px 64px; }
main { max-width: 720px; margin: auto; padding: clamp(22px, 4vw, 44px); background: #fff; border: 1px solid #dce4ef; border-radius: 24px; box-shadow: 0 16px 52px #2036550d; }
header, footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
h1 { line-height: 1.25; font-size: clamp(1.7rem, 5vw, 2.25rem); }
h2 { font-size: 1.2rem; margin-top: 30px; }
a { color: #145cc1; text-underline-offset: 3px; }
.brand { font-weight: 750; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
label { display: block; font-weight: 600; margin-block: 14px 6px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input, select, button { font: inherit; border: 1px solid #9baac0; border-radius: 12px; min-height: 48px; padding: 10px 14px; }
input[type=email], input[type=password] { width: 100%; background: #fff; color: inherit; }
button { cursor: pointer; background: #145cc1; color: #fff; font-weight: 650; margin-block: 16px 8px; }
button.danger { background: #a12337; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #2781e7; outline-offset: 3px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.check input { flex: none; width: 22px; height: 22px; min-height: 22px; margin: 4px 0 0; }
.notice { padding: 16px; border: 1px solid #c8d8ef; border-radius: 14px; background: #f0f6ff; }
.status:not(:empty) { padding: 16px; margin-block: 16px; border-radius: 14px; border: 1px solid #a7c6e8; background: #f0f6ff; overflow-wrap: anywhere; }
.account { overflow-wrap: anywhere; font-weight: 650; }
footer { margin-top: 30px; padding-top: 22px; border-top: 1px solid #dce4ef; }
[hidden] { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root { background: #101827; color: #e8eef8; }
  main { background: #192437; border-color: #34445b; }
  input[type=email], input[type=password], select { background: #101827; color: #e8eef8; }
  a { color: #8ec7ff; }
  .notice, .status:not(:empty) { background: #21334c; border-color: #47617f; }
  footer { border-color: #34445b; }
}
