:root { color-scheme: light dark; font-family: system-ui, sans-serif; background: #f4f6f9; color: #182437; }
* { box-sizing: border-box; }
body { margin: 0; padding: 32px 16px; }
main { max-width: 720px; margin: auto; padding: clamp(20px, 5vw, 40px); background: #fff; border: 1px solid #dce2ea; border-radius: 16px; }
h1 { margin-bottom: 12px; font-size: clamp(1.6rem, 5vw, 2rem); }
p { line-height: 1.65; }
a { color: #175dc4; overflow-wrap: anywhere; }
label { display: block; margin: 20px 0 8px; font-weight: 600; }
input, select, textarea { display: block; width: 100%; min-height: 44px; padding: 12px; border: 1px solid #aeb9c8; border-radius: 8px; background: #fff; color: inherit; font: inherit; }
textarea { resize: vertical; }
textarea[readonly] { background: #f4f6f9; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.actions a, button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #aeb9c8; border-radius: 8px; background: transparent; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.actions .primary { background: #175dc4; border-color: #175dc4; color: #fff; }
.hint { color: #526077; font-size: .9rem; }
:focus-visible { outline: 3px solid #347fe8; outline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  :root { background: #111820; color: #e5ebf5; }
  main, input, select, textarea { background: #1c2633; border-color: #65758b; }
  textarea[readonly] { background: #111820; }
  a { color: #9bc4ff; }
  .hint { color: #b5c1d3; }
}
@media (max-width: 480px) { .actions > * { width: 100%; } }
