:root { font-family: system-ui, sans-serif; line-height: 1.5; color: #222; }
body { margin: 0; background: #faf8f5; }
header, main, footer { max-width: 60rem; margin: 0 auto; padding: .75rem 1rem; }
header { display: flex; justify-content: space-between; align-items: center; }
nav { display: flex; gap: 1rem; align-items: center; }
nav form { margin: 0; }
.brand { font-weight: 700; text-decoration: none; color: inherit; }
.grid, .list { list-style: none; padding: 0; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }
.grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .5rem; display: block; }
.grid a { color: inherit; text-decoration: none; display: block; }
.grid span, .meta, footer { color: #666; font-size: .85rem; }
img.full { width: 100%; height: auto; border-radius: .5rem; }
.body { white-space: pre-wrap; }
form { display: grid; gap: .75rem; max-width: 30rem; }
label { display: grid; gap: .25rem; }
input, select, textarea, button, .button { font: inherit; padding: .6rem; min-height: 2.75rem; box-sizing: border-box; }
button, .button { background: #2f5d50; color: #fff; border: 0; border-radius: .4rem; text-decoration: none; display: inline-block; }
button.link { background: none; color: #2f5d50; padding: 0; min-height: 0; text-decoration: underline; }
.error { background: #fde8e8; padding: .75rem; border-radius: .4rem; }
.mail pre { white-space: pre-wrap; word-break: break-all; background: #fff; padding: .75rem; }
