:root { font: 16px/1.5 system-ui, sans-serif; color: #17322a; background: #f3f5ee; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #17382e; color: #f6f7ef; }
.wrap { width: min(68rem, calc(100% - 2rem)); margin-inline: auto; }
.bar { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.bar span { color: #b7d593; margin-left: .4rem; }
main { padding-block: 2rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; letter-spacing: -.04em; }
h2 { margin: 0; font-size: 1.25rem; }
p { margin: .45rem 0 1rem; }
.panel { padding: 1.25rem; border: 1px solid #ccd8cc; border-radius: 1rem; background: #fff; }
.narrow { max-width: 26rem; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.grid > article { min-width: 0; align-self: start; overflow-wrap: anywhere; }
.heading { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; }
.connection { padding-top: .85rem; margin-top: 1rem; border-top: 1px solid #ccd8cc; }
.connection h3 { line-height: 1.3; margin: 0 0 .45rem; font-size: 1.05rem; }
.connection p { margin-block: .4rem; }
.field-control { margin-bottom: .8rem; }
.field-control + button, details > form { margin-top: .8rem; }
input[type=checkbox] { width: auto; justify-self: start; }
button + button { margin-left: .45rem; }
label { display: grid; gap: .25rem; margin-bottom: .65rem; }
input, button, select { font: inherit; padding: .45rem .65rem; border: 1px solid #829788; border-radius: .4rem; }
input, select { width: 100%; }
button { cursor: pointer; color: inherit; background: #fff; }
button:disabled { cursor: wait; opacity: .65; }
button.primary { color: white; background: #215a41; }
#logout { color: #17322a; }
#status { min-height: 2rem; }
small { color: #45574d; }
details { margin-top: .6rem; }
summary { cursor: pointer; }
a { color: #215a41; }
