/* Sign-in and admin pages only. The Arbeitsplatz itself is styled by web/app.css. */
:root { --ink: #14213D; --muted: #5B6577; --line: #E3E6EC; --bg: #F6F7F9; --card: #fff; --brand: #1F3A5F; --ok: #0B6B4A; --bad: #B42318; --warn: #8A5A00; }
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); }
h1, h2 { font-family: Montserrat, Inter, sans-serif; margin: 0; }
a { color: var(--brand); }
.center { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; width: 100%; max-width: 400px; }
.card h1 { font-size: 20px; margin-bottom: 4px; }
.card p { margin: 8px 0 0; }
.muted { color: var(--muted); }
.err { color: var(--bad); background: #FDECEA; border-radius: 8px; padding: 10px 12px; }
.btn { display: inline-block; border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 9px; padding: 10px 16px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.block { display: block; width: 100%; text-align: center; margin-top: 20px; }
.btn.ghost { background: #fff; color: var(--brand); }
.btn.small { padding: 5px 10px; font-weight: 500; font-size: 13px; }
.btn.danger { background: #fff; color: var(--bad); border-color: #E7B4AE; }
.btn:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #5B8DEF; outline-offset: 2px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 24px 16px 64px; }
.top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.top h1 { font-size: 22px; }
.top .grow { flex: 1; }
section { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
section h2 { font-size: 15px; margin-bottom: 4px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.chip { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.ok { background: #E6F4EE; color: var(--ok); }
.chip.bad { background: #FDECEA; color: var(--bad); }
.chip.warn { background: #FFF4DB; color: var(--warn); }
.chip.grey { background: #EEF0F4; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
input[type=text], input[type=email], select { font: inherit; border: 1px solid #C9CFDA; border-radius: 8px; padding: 7px 10px; background: #fff; color: var(--ink); min-width: 0; }
code, .mono { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; background: #F1F3F7; border-radius: 6px; padding: 2px 6px; word-break: break-all; }
.note { background: #F1F5FB; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin-top: 8px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
