:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #222; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.6; }
header, main, footer { max-width: 780px; margin: 0 auto; padding: 24px; }
header { border-bottom: 1px solid #ddd; }
.brand { margin: 0 0 12px; font-weight: 600; }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
a { color: #0645ad; text-underline-offset: 3px; }
nav [aria-current='page'] { color: #222; font-weight: 600; }
h1 { font-size: 32px; line-height: 1.2; margin: 12px 0 16px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
p, ul { margin: 0 0 18px; }
.date, .hint { color: #555; font-size: 15px; }
footer { border-top: 1px solid #ddd; color: #555; font-size: 15px; }
label { display: block; font-weight: 600; margin: 20px 0 6px; }
input, select, textarea, button { font: inherit; }
input, select, textarea { width: 100%; padding: 10px 12px; min-height: 44px; border: 1px solid #888; border-radius: 4px; background: #fff; color: #222; }
textarea { min-height: 180px; resize: vertical; }
fieldset { margin: 28px 0 20px; padding: 0; border: 0; }
legend { font-weight: 600; }
fieldset label:first-of-type { margin-top: 12px; }
button { min-height: 44px; padding: 12px 18px; border: 1px solid #0645ad; border-radius: 4px; background: #0645ad; color: #fff; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
.submit { width: 100%; }
.field-error { color: #a40000; margin: 6px 0 0; font-size: 15px; }
[aria-invalid='true'] { border: 2px solid #a40000; }
.notice { margin: 20px 0; padding: 12px; border: 1px solid #888; background: #fafafa; overflow-wrap: anywhere; }
.notice.error { border-color: #a40000; color: #a40000; }
.notice.success { border-color: #166534; color: #166534; }
.notice p { margin-bottom: 0; }
.notice button { margin-top: 12px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0645ad; outline-offset: 3px; }
@media (max-width: 480px) { header, main, footer { padding: 20px 16px; } h1 { font-size: 28px; } }
@media print { header nav, footer, button { display: none; } main { max-width: none; padding: 0; } a { color: #222; } }
