* { box-sizing: border-box; }
body { background: #f6f8fb; color: #172033; font: 16px system-ui, sans-serif; line-height: 1.5; margin: 0; }
header { align-items: center; background: #18253d; color: white; display: flex; gap: 1rem; justify-content: space-between; padding: 1rem max(1rem, calc((100% - 900px) / 2)); }
header a { color: white; font-weight: 700; text-decoration: none; }
nav { align-items: center; display: flex; flex-wrap: wrap; gap: .8rem; }
nav form { background: transparent; border: 0; display: inline; margin: 0; padding: 0; }
nav button { background: transparent; color: white; padding: .3rem; }
main { margin: 1.25rem auto; max-width: 900px; padding: 0 1rem; }
form, fieldset { background: white; border: 1px solid #d8deea; border-radius: .5rem; }
form { display: grid; gap: 1rem; padding: 1rem; }
fieldset { display: grid; gap: .75rem; padding: 1rem; }
legend { font-weight: 750; padding: 0 .25rem; }
label { display: grid; font-weight: 650; gap: .35rem; }
input, select, textarea, button { border: 1px solid #aeb9cb; border-radius: .3rem; font: inherit; min-height: 44px; padding: .6rem; }
textarea { min-height: 7rem; }
button, .button { background: #1b5bb9; border: 0; color: white; cursor: pointer; display: inline-block; font-weight: 700; text-align: center; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.secondary { background: #526172; }
.danger { background: #b42318; }
.warning { background: #a15c00; }
.notice, .error, .warning { border-radius: .4rem; padding: .75rem; }
.notice { background: #fff6d8; }
.error { background: #ffded9; color: #7a160e; }
.cards { display: grid; gap: .75rem; margin: 1rem 0; }
.post-card { background: white; border: 1px solid #d8deea; border-radius: .5rem; padding: 1rem; }
.post-card h2 { font-size: 1.1rem; margin-top: 0; }
.post-card p { overflow-wrap: anywhere; }
details { background: #eef3fc; border-radius: .5rem; padding: .75rem; }
@media (max-width: 600px) { header { align-items: flex-start; flex-direction: column; } nav { width: 100%; } main { margin-top: .75rem; } }
