* { box-sizing: border-box; }
:root { color-scheme: light; color: #243b32; background: #f3f3e9; font: 17px/1.65 system-ui, sans-serif; }
body { margin: 0; }
main { max-width: 920px; margin: auto; padding: 24px clamp(12px, 4vw, 32px) 40px; }
header { background: #dceade; border-radius: 20px; padding: clamp(16px, 4vw, 32px); }
.eyebrow, small, .muted { color: #496254; }
.eyebrow { margin: 0; font-size: .83rem; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.24; margin: .25em 0; }
h2, h3, p { overflow-wrap: anywhere; }
header p:last-child { margin-bottom: 0; }
section { margin-top: 16px; padding: clamp(14px, 4vw, 25px); background: #fffef9; border: 1px solid #cbd6c9; border-radius: 16px; min-width: 0; }
section > h2:first-child, .heading h2, .heading h3 { margin: 0; }
.heading, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.heading { justify-content: space-between; margin: 12px 0; }
button { font: inherit; font-weight: 700; min-height: 46px; max-width: 100%; overflow-wrap: anywhere; padding: 8px 14px; border: 1px solid #28563f; border-radius: 9px; background: #28563f; color: white; cursor: pointer; }
button.secondary { background: white; color: #28563f; }
button.danger { background: white; color: #843423; border-color: #843423; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #b14f17; outline-offset: 3px; }
#cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); }
.card, .entry { background: #f7faf4; border: 1px solid #cbd6c9; border-radius: 12px; padding: 14px; overflow-wrap: anywhere; }
.card h3, .card p, .entry p { margin: 0 0 6px; }
.latest { color: #28563f; font-weight: 750; }
.entry { margin-bottom: 10px; }
.entry.cancelled { background: #f2f0ed; }
dt { font-weight: 700; }
dd { margin: 0 0 .6em; white-space: pre-wrap; overflow-wrap: anywhere; }
label { display: block; margin-top: 12px; font-weight: 650; }
input, textarea { display: block; width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #829b89; border-radius: 8px; color: inherit; background: white; font: inherit; }
form .actions { margin-top: 15px; }
#notice { min-height: 1.65em; padding: 6px 0; }
#notice[data-error] { color: #843423; font-weight: 700; }
dialog { max-width: min(550px, calc(100% - 24px)); border: 1px solid #28563f; border-radius: 12px; padding: 20px; }
dialog::backdrop { background: #1e352987; }
[hidden] { display: none !important; }
