:root { color-scheme: light; font-family: system-ui, sans-serif; color: #20372d; background: #f5f3eb; }
* { box-sizing: border-box; }
body { margin: 0; padding: 48px 20px; }
main { max-width: 680px; margin: auto; }
header { margin-bottom: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); letter-spacing: -.05em; margin: 12px 0; }
header p, footer { color: #536258; }
label { display: block; font-weight: 650; margin-bottom: 8px; }
.entry { display: flex; gap: 10px; }
input { min-width: 0; flex: 1; width: 100%; background: white; border: 1px solid #89968b; border-radius: 8px; padding: 13px; font: inherit; }
button { font: inherit; font-weight: 600; border: 1px solid #234e3a; border-radius: 8px; padding: 12px 16px; cursor: pointer; background: #234e3a; color: white; min-height: 44px; }
button:hover { filter: brightness(.9); }
button.secondary { background: transparent; color: #234e3a; }
button.delete { color: #873524; border-color: #b18d83; background: transparent; }
:focus-visible { outline: 3px solid #a76715; outline-offset: 3px; }
section { margin-top: 32px; border-top: 1px solid #c8cdc2; }
.list-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h2 { font-size: 1.1rem; }
#count { font-size: .9rem; color: #536258; }
ul { padding: 0; list-style: none; }
li { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid #d7dace; }
.name { flex: 1; overflow-wrap: anywhere; white-space: pre-wrap; }
.actions { display: flex; gap: 8px; }
.edit-form { width: 100%; }
.edit-form .actions { margin-top: 10px; }
#empty { padding: 28px 0; color: #536258; }
#error { color: #873524; }
#status { min-height: 24px; }
footer { font-size: .85rem; margin-top: 36px; }
@media (max-width: 460px) { body { padding: 28px 16px; } li { flex-wrap: wrap; } .name { flex-basis: 100%; } .entry { flex-wrap: wrap; } .entry input { flex-basis: 100%; } }
