/* Betreiber-Zentrale - monochromer Stil wie die Kasse */
* { box-sizing: border-box; margin: 0; }
body { font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; background: #f4f4f5; color: #111; font-size: 15px; }
.hidden { display: none !important; }
.center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.card { background: #fff; border: 1px solid #e4e4e7; border-radius: 14px; padding: 18px; box-shadow: 0 1px 3px rgba(24,24,27,.06); }
.login-card { width: 360px; max-width: 100%; }
h1 { font-size: 22px; margin-bottom: 4px; }
label { display: block; font-size: 13px; font-weight: 600; color: #52525b; margin: 12px 0 4px; }
input, select { width: 100%; padding: 10px 12px; border: 1.5px solid #d4d4d8; border-radius: 10px; font-size: 15px; background: #fff; color: #111; }
input:focus, select:focus { outline: none; border-color: #111; }
.btn { padding: 9px 14px; border: 1.5px solid #d4d4d8; background: #fff; color: #111; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn:hover { border-color: #111; }
.btn.primary { background: #111; border-color: #111; color: #fff; }
.btn.red { border-color: #dc2626; color: #dc2626; }
.btn.block { width: 100%; margin-top: 14px; }
.btn.sm { padding: 6px 10px; font-size: 13px; }
.muted { color: #71717a; }
.small { font-size: 13px; margin-top: 10px; }
.err { color: #dc2626; font-size: 13px; min-height: 18px; margin-top: 8px; }
header { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: #fff; border-bottom: 1px solid #e4e4e7; position: sticky; top: 0; }
.spacer { flex: 1; }
main { max-width: 1100px; margin: 22px auto; padding: 0 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid #e4e4e7; border-radius: 14px; padding: 14px; }
.kpi .v { font-size: 26px; font-weight: 800; }
.kpi .l { font-size: 12px; color: #71717a; text-transform: uppercase; letter-spacing: .04em; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #71717a; padding: 8px 10px; border-bottom: 1px solid #e4e4e7; }
td { padding: 10px; border-bottom: 1px solid #f0f0f2; vertical-align: middle; }
.right { text-align: right; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag.ok { background: #dcfce7; color: #14532d; }
.tag.warn { background: #fef9c3; color: #713f12; }
.tag.bad { background: #fee2e2; color: #7f1d1d; }
.tag.gray { background: #f0f0f2; color: #52525b; }
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 10; }
.modal { width: 420px; max-width: 100%; max-height: 90vh; overflow: auto; }
.modal h2 { font-size: 18px; margin-bottom: 6px; }
.modal .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
a.open { color: #111; }
