:root {color-scheme: light; font: 100%/1.55 system-ui, sans-serif; color: #172c24; background: #f3f7f2;}
* {box-sizing: border-box;}
[hidden] {display: none !important;}
body {margin: 0;}
header {color: #fff; background: #153b2c;}
.bar, main {max-width: 52rem; margin: auto; padding: 1rem clamp(1rem, 4vw, 2rem);}
.bar, .section-heading, .actions {display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;}
h1 {font-size: clamp(2.4rem, 8vw, 3.7rem); line-height: 1.1; letter-spacing: -.045em; margin: 1.1rem 0 .5rem;}
h2 {font-size: 1.35rem; margin: 0;}
.account {margin: 0 0 1rem; color: #426052; overflow-wrap: anywhere;}
.panel {background: white; border: 1px solid #d5e2d7; border-radius: 1rem; padding: clamp(1rem, 4vw, 2rem); margin-top: 1rem;}
.login {margin-top: 1.5rem;}
button, .button {font: inherit; font-weight: 650; border: 1px solid transparent; border-radius: .55rem; padding: .6rem .9rem; color: white; background: #235f42; cursor: pointer; text-decoration: none; display: inline-block;}
button:disabled {opacity: .6; cursor: wait;}
.quiet {color: #235f42; background: #e9f1e8;}
nav {display: flex; gap: .5rem; flex-wrap: wrap;}
.items {list-style: none; padding: 0; margin: 0;}
.items li {border-top: 1px solid #d5e2d7; padding: .85rem 0; overflow-wrap: anywhere;}
.items a {color: #235f42;}
.item-title {text-align: left; max-width: 100%;}
.notes {white-space: pre-wrap;}
dialog {width: min(32rem, calc(100% - 2rem)); max-height: 90dvh; border: 1px solid #d5e2d7; border-radius: 1rem; padding: 1.25rem; color: inherit;}
dialog::backdrop {background: #142b24aa;}
label {display: grid; gap: .25rem; margin-top: .8rem; font-weight: 600;}
input, textarea, select {font: inherit; padding: .55rem; border: 1px solid #829989; border-radius: .35rem; min-width: 0; width: 100%; background: white; color: inherit;}
.actions {justify-content: flex-end;}
