:root { color-scheme: light; font-family: Arial, system-ui, sans-serif; background: #f7f3e9; color: #102d3a; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 13px max(5%, calc((100% - 860px) / 2)); color: #ffe6b9; background: #092633; font-weight: 700; }
header img { display: block; background: #fff; border-radius: 4px; }
main { width: min(90%, 860px); margin: 35px auto 65px; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; }
h1 { font-size: clamp(35px, 7vw, 58px); margin-bottom: .35em; }
p { line-height: 1.55; overflow-wrap: anywhere; }
.panel { margin: 22px 0; padding: clamp(16px, 4vw, 30px); background: #fffdf7; border: 1px solid #d9cbb4; border-radius: 7px; }
label { display: grid; gap: 6px; font-weight: 700; margin: 0 0 17px; }
label[hidden] { display: none; }
label span { font-weight: normal; }
textarea, select, input { font: inherit; color: inherit; border: 1px solid #81796a; border-radius: 4px; background: #fff; padding: 9px 10px; min-height: 44px; min-width: 0; }
textarea { resize: vertical; }
button, .button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border: 1px solid #b38850; border-radius: 4px; background: #d2ad70; color: #102d3a; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
a { color: #64471c; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #835b28; outline-offset: 3px; }
.inline { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.inline label { margin: 0; }
.meta { color: #455b64; font-size: .875rem; }
.message { white-space: pre-wrap; }
.alert { color: #8a2828; font-weight: 700; }
.pagination { display: flex; gap: 16px; margin: 16px 0; }
