:root { --background: #faf7f2; --text: #303b32; --green: #344e41; --muted: #626b63; --border: #dedfd6; --accent: #a64f35; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: 'Segoe UI', Arial, sans-serif; line-height: 1.7; }
a { color: var(--green); text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.navbar, .actions, .section-heading, footer, .pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.navbar { padding-block: 26px; border-bottom: 1px solid var(--border); }
.brand { font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.brand span { display: inline-block; background: var(--green); color: white; padding: 5px 14px; border-radius: 12px; margin-right: 8px; }
.actions { justify-content: flex-start; }
.link-button { border: 0; padding: 0; background: transparent; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }
.hero { margin: 38px 0 48px; padding: 56px; border: 1px solid #dce5d8; border-radius: 28px; background: radial-gradient(circle at 95% 10%, #d5e2cd, transparent 55%), #edf2e8; }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin: 20px 0; letter-spacing: -2px; }
.hero em { color: var(--accent); }
.hero > p:not(.eyebrow) { max-width: 490px; }
.button { display: inline-block; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--green); color: white; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: #24392e; color: white; }
.search-form { display: flex; align-items: end; gap: 12px; margin-bottom: 28px; }
.search-form > div:first-child { flex: 1; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea, select { width: 100%; padding: 12px; border: 1px solid #aeb8ac; border-radius: 8px; background: white; color: var(--text); font: inherit; }
textarea { resize: vertical; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card, .panel { border: 1px solid var(--border); border-radius: 20px; background: white; overflow-wrap: anywhere; }
.card { overflow: hidden; }
.banner { display: flex; justify-content: space-between; align-items: center; min-height: 100px; padding: 24px 28px; background: #edf1e7; }
.banner > span:first-child { font-size: 2rem; }
.card:nth-child(3n + 2) .banner { background: #f6e9dd; }
.card:nth-child(3n + 3) .banner { background: #eee9f3; }
.card-content { padding: 28px; }
.card h2 { margin: 12px 0; font-size: 1.9rem; }
.card h2 a { text-decoration: none; }
.meta, .helptext { color: var(--muted); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: #edf1e7; border-radius: 20px; padding: 3px 12px; font-size: .85rem; text-decoration: none; }
.panel { margin: 32px 0; padding: 40px; }
.narrow { max-width: 760px; margin-inline: auto; }
.description { margin-block: 28px; }
.edit-actions { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 24px; }
.danger { background: #9b302c; }
.danger-link, .errorlist { color: #9b302c; }
.errorlist { padding-left: 22px; }
.message { background: #e7f0e2; padding: 16px; border-radius: 10px; }
.empty-state { grid-column: 1 / -1; text-align: center; border: 1px dashed #aeb8ac; border-radius: 20px; padding: 48px 24px; }
.pagination { justify-content: center; margin-top: 32px; }
footer { border-top: 1px solid var(--border); margin-top: 64px; padding-block: 24px; color: var(--muted); font-size: .85rem; }
@media (max-width: 700px) { .container { width: calc(100% - 32px); } .hero, .panel { padding: 28px; } .grid { grid-template-columns: 1fr; } .search-form { flex-direction: column; align-items: stretch; } }
