:root { color-scheme: light dark; font: 16px/1.6 system-ui, sans-serif; color: #172033; background: #f3f4f6; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
header, main { max-width: 720px; margin: auto; padding: 20px; }
header { display: flex; align-items: center; gap: 12px; }
header img { border-radius: 8px; }
h1 { font-size: 26px; line-height: 1.35; margin: 16px 0; }
h2, legend { font-size: 18px; font-weight: 700; }
section, form, footer { margin: 24px 0; }
ul { padding-left: 22px; }
li { margin: 8px 0; }
label { display: block; margin-top: 16px; font-weight: 600; }
input:not([type=checkbox],[type=radio]) { display: block; width: 100%; min-height: 54px; font: inherit; padding: 12px; border: 1px solid #a9b3c2; border-radius: 8px; color: inherit; background: white; }
fieldset { border: 0; padding: 0; margin: 24px 0; }
.option { display: flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 500; }
.option input { width: 22px; height: 22px; flex-shrink: 0; accent-color: #2563eb; }
button { font: inherit; font-weight: 600; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 8px; background: #2563eb; color: white; cursor: pointer; margin-top: 16px; }
form > button { width: 100%; }
button.secondary { color: #172033; background: #e5e7eb; }
button.danger { background: #b91c1c; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.detail, footer { color: #5f6f85; font-size: 14px; }
footer { padding-top: 24px; border-top: 1px solid #d2d8df; }
a { color: #1d4ed8; }
#message { padding: 12px 0; border-top: 1px solid #d2d8df; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root { color: #f3f4f6; background: #151719; }
  input:not([type=checkbox],[type=radio]) { background: #232629; border-color: #778494; }
  .detail, footer { color: #b5c0ce; }
  button.secondary { background: #353b42; color: #f3f4f6; }
  a { color: #9fc1ff; }
}
