* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0 auto; padding: 24px 20px; max-width: 800px; background: #fff; color: #222; font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-wrap: anywhere; }
header { padding-bottom: 20px; border-bottom: 1px solid #ddd; }
.app-name { margin: 0 0 12px; font-weight: 600; }
nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
a { color: #065bc0; text-underline-offset: 3px; }
a[aria-current="page"] { font-weight: 600; }
main { padding: 24px 0; }
h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: 23px; line-height: 1.3; margin-top: 32px; }
p { margin: 0 0 16px; }
.muted, .helper { color: #595959; }
.helper { font-size: 14px; margin-top: 6px; }
form { margin-top: 28px; }
label { display: block; margin: 20px 0 6px; font-weight: 600; }
label .muted { font-weight: 400; }
input, select, textarea { display: block; width: 100%; padding: 12px; border: 1px solid #888; border-radius: 4px; background: #fff; color: #222; font: inherit; font-size: 17px; min-height: 48px; }
textarea { resize: vertical; }
fieldset { margin: 28px 0; padding: 16px; border: 1px solid #ccc; min-width: 0; }
legend { padding: 0 6px; font-weight: 600; }
button { width: 100%; min-height: 48px; padding: 12px 18px; border: 1px solid #065bc0; border-radius: 4px; background: #065bc0; color: white; font: inherit; font-weight: 600; cursor: pointer; }
button:disabled { cursor: default; background: #666; border-color: #666; }
button:hover:enabled { background: #044b9f; }
:focus-visible { outline: 3px solid #065bc0; outline-offset: 3px; }
[aria-invalid="true"] { border-color: #a11515; }
.field-error { color: #a11515; font-size: 14px; margin-top: 6px; }
.notice { margin: 20px 0; padding: 14px; border: 1px solid #777; background: #f5f5f5; }
.notice.error { border-color: #a11515; color: #8b1010; }
.notice.success { border-color: #26703b; color: #205e31; }
[hidden] { display: none !important; }
footer { border-top: 1px solid #ddd; padding: 20px 0; }
@media print { body { max-width: none; padding: 0; color: black; } nav, footer, button { display: none; } a { color: black; } }
