* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; line-height: 1.5; color: #1b2a35; background: #f6f9fb; }
.site-header { padding: .75rem 1rem; background: #0d5ea6; }
.brand { color: #fff; text-decoration: none; font-weight: 600; }
main { max-width: 40rem; margin: 0 auto; padding: 1rem; }
label { display: block; margin-top: .75rem; }
input { width: 100%; padding: .6rem; font-size: 1rem; border: 1px solid #9ab; border-radius: .25rem; }
button { margin-top: 1rem; padding: .6rem 1.2rem; font-size: 1rem; color: #fff; background: #0d5ea6; border: 0; border-radius: .25rem; }
.msg { padding: .5rem .75rem; background: #e3eef7; border-radius: .25rem; }
.msg.error { background: #fbe3e3; }
.site-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.site-header .user, .site-header .user a { color: #fff; }
.user { display: flex; gap: .75rem; align-items: center; }
main.wide { max-width: 64rem; }
form.inline { display: inline; }
form.inline button { margin-top: 0; }
button.link { padding: 0; margin: 0 .5rem 0 0; color: #0d5ea6; background: none; text-decoration: underline; cursor: pointer; }
.site-header button.link { color: #fff; }
button.danger { background: #b32121; }
a.button { display: inline-block; padding: .6rem 1.2rem; color: #fff; background: #0d5ea6; border-radius: .25rem; text-decoration: none; }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0; }
.toolbar button { margin-top: 0; }
table.list { width: 100%; border-collapse: collapse; background: #fff; }
table.list th, table.list td { padding: .4rem .5rem; border-bottom: 1px solid #d5dee6; text-align: left; vertical-align: top; }
.num { text-align: right !important; }
.nowrap { white-space: nowrap; }
tr.unavailable td { color: #789; text-decoration: line-through; }
tr.unavailable td.actions { text-decoration: none; }
.rowform { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.rowform input[type=text], .rowform input[type=number] { width: auto; flex: 1 1 9rem; }
.rowform button { margin-top: 0; }
.check { display: inline-flex; gap: .3rem; align-items: center; margin-top: 0; }
.check input { width: auto; }
.err { color: #b32121; flex-basis: 100%; }
.meldung:empty { display: none; }
