:root { font: 16px system-ui, sans-serif; color: #1e2936; background: #f5f7fa; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #fff; border-bottom: 1px solid #dbe3ea; padding: 1.25rem max(1rem, calc((100vw - 58rem) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { color: #005e93; font-weight: 750; }
h1 { margin: .15rem 0 0; font-size: 1.85rem; }
h2, h3 { margin: 0 0 .75rem; }
main { max-width: 60rem; margin: 1.5rem auto; padding: 0 1rem; }
.card { background: #fff; border: 1px solid #dbe3ea; border-radius: .75rem; padding: 1.25rem; margin-bottom: 1rem; }
#login { max-width: 26rem; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .75rem; }
label { display: grid; gap: .35rem; margin: 0 0 .85rem; font-weight: 600; }
label.checkbox { display: flex; align-items: center; gap: .5rem; }
input, button, textarea { font: inherit; }
input:not([type=checkbox]), textarea { width: 100%; border: 1px solid #aab9c8; padding: .55rem; border-radius: .4rem; }
button { border: 0; border-radius: .4rem; background: #005e93; color: #fff; padding: .55rem .85rem; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
a { color: #005e93; }
nav a { margin-inline: .6rem; }
output { display: block; background: #edf5fa; padding: .75rem; margin-bottom: .85rem; border-radius: .4rem; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.section-heading h2 { margin: 0; }
.status { font-weight: 700; color: #005e93; }
.actions { display: grid; gap: .65rem; margin-top: 1rem; }
.actions button { justify-self: start; }
.actions label { margin-bottom: 0; }
#notice { padding: .75rem; background: #edf5fa; border-radius: .4rem; }
#notice.error { background: #fff0ed; color: #8b2017; }
