:root { color-scheme: light; font: 17px/1.55 system-ui, sans-serif; color: #192e32; background: #f5f5ef; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #193532; color: white; padding: 1rem max(1rem,calc((100% - 64rem)/2)); font-weight: 750; letter-spacing: .08em; }
header span { font-weight: 400; letter-spacing: normal; margin-inline-start: 1rem; }
main { width: min(32rem, calc(100% - 2rem)); margin: clamp(2rem,6vw,5rem) auto; padding: clamp(1.2rem,4vw,2.5rem); background: white; border: 1px solid #cfdbd5; border-radius: .75rem; }
h1 { line-height: 1.25; margin: 0 0 1.25rem; }
h2 { font-size: 1.15rem; }
label { display: block; margin-top: 1rem; }
input, button, select, textarea { font: inherit; border-radius: .3rem; }
input, textarea, select { width: 100%; padding: .55rem .7rem; border: 1px solid #849892; }
#expense-list { display: grid; gap: .4rem; }
#expense-list button { text-align: start; margin: 0; }
textarea { resize: vertical; }
button { margin-top: 1.25rem; padding: .55rem 1rem; min-height: 44px; background: #204f43; color: white; border: 1px solid #204f43; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.secondary { margin-top: .45rem; background: white; color: #204f43; }
:focus-visible { outline: 3px solid #b6631f; outline-offset: 3px; }
#status { margin: 1rem 0 0; color: #77401f; }
#status:empty { margin: 0; }
[hidden] { display: none !important; }
