:root{color-scheme:dark;--bg:#0b0d10;--panel:#191c21;--line:#363a41;--muted:#a5a9b2;--red:#da3147;--text:#f0f1f3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}header{background:#111317;border-bottom:2px solid #7b1b2c;padding:18px max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}header strong{letter-spacing:2px;font-size:19px}header strong span{color:var(--red)}nav{display:flex;flex-wrap:wrap;gap:20px}a{color:#ff798a;text-decoration:none}a:hover{text-decoration:underline}nav a{color:#e6e8ec}main{max-width:1200px;margin:32px auto 80px;padding:0 22px}h1{font-size:30px;letter-spacing:.5px;margin:0 0 24px}h2{font-size:19px;margin:0 0 20px}.panel{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:3px;margin-bottom:20px}.panel.highlight{border-left:4px solid var(--red)}.narrow{max-width:500px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats h2{font-size:32px;margin:8px 0 0}.stats small{color:var(--muted);text-transform:uppercase;letter-spacing:1px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:18px}.gridform{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:16px}.gridform>button{margin-bottom:0}label{display:block;font-size:13px;font-weight:600;margin:0 0 14px}input:not([type=checkbox]),select{display:block;width:100%;min-width:0;background:#0f1115;border:1px solid #50545d;color:white;padding:11px 12px;border-radius:2px;font:inherit;margin-top:6px}input:focus,select:focus{outline:2px solid #df5667;outline-offset:1px}input[type=checkbox]{accent-color:var(--red);width:17px;height:17px;vertical-align:middle}button{background:#a62338;border:1px solid #ca344a;padding:11px 16px;color:white;font-weight:700;cursor:pointer;border-radius:2px;min-height:43px}button:hover{background:#d0344e}button:disabled{opacity:.45;cursor:not-allowed}.subtle{background:transparent;border-color:#575b63;font-weight:500;padding:5px 9px;min-height:32px}.notice{padding:13px 16px;margin:0 0 18px;border-left:3px solid #777;background:#22262b}.notice.ok{border-color:#4dac81}.notice.error{border-color:var(--red)}.muted,footer{color:var(--muted)}.unpaid{color:#ff788b;font-weight:700}.paid{color:#8fc9b3}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:12px 10px;border-bottom:1px solid #34383f;vertical-align:middle}th{color:#bfc2cb;font-weight:600}tr:hover td{background:#20242a}.inline{display:inline}.filter{display:flex;gap:12px;align-items:end}.filter label{max-width:230px}footer{border-top:1px solid #2b2e35;padding:20px;text-align:center;font-size:12px}@media(max-width:800px){header{align-items:flex-start;flex-direction:column}main{margin-top:24px}.stats{grid-template-columns:1fr}.twocol,.gridform{grid-template-columns:1fr}h1{font-size:25px}.panel{padding:16px}}

/* v1.4: Einheitliche Aktionsflächen */
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:max-content}
.actions .inline{display:inline-flex;margin:0}
button,.btn{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 13px;border:1px solid #b32d40;border-radius:2px;background:#a62338;color:white;font:600 13px/1.25 system-ui,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
button:hover,.btn:hover{background:#c32c44;text-decoration:none}
button.subtle,.btn.secondary{background:#252930;border-color:#666b75;color:#f1f1f1}
button.subtle:hover,.btn.secondary:hover{background:#343a43}
.btn.danger{background:#362127;border-color:#9d394b;color:#ffabb5}
.btn.danger:hover{background:#562631}
.actions button,.actions .btn{width:110px;min-height:39px;padding:8px 10px}
.activity{border-left:3px solid #a62338}
.news-count{display:inline-flex;justify-content:center;align-items:center;margin-left:8px;padding:1px 8px;background:#a62338;border-radius:2px;font-size:13px}
.news-list{list-style:none;padding:0;margin:0}
.news-list li{display:flex;gap:18px;padding:10px 0;border-bottom:1px solid #34383f}
.news-list time{min-width:150px;color:#b8bdc6;font-variant-numeric:tabular-nums}
@media(max-width:650px){.news-list li{display:block}.news-list time{display:block;margin-bottom:4px}.actions{min-width:0}}


/* v1.7: Einheitlicher, anthrazitfarbener Buttonstil (Pausieren v1.5) */
button, .btn, button.subtle, .btn.secondary, .btn.danger {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#252930;
  border:1px solid #666b75;
  color:#f1f1f1;
  border-radius:2px;
  box-shadow:none;
  min-height:39px;
  padding:8px 13px;
  font:500 13px/1.25 system-ui,-apple-system,'Segoe UI',sans-serif;
  text-align:center;
  text-decoration:none;
  white-space:normal;
  cursor:pointer;
  vertical-align:middle;
}
button:hover, .btn:hover, button.subtle:hover, .btn.secondary:hover, .btn.danger:hover {
  background:#343a43;
  border-color:#9298a2;
  color:#fff;
  text-decoration:none;
}
button:focus-visible, .btn:focus-visible { outline:2px solid #ff8293; outline-offset:2px; }
button:disabled { background:#252930; opacity:.45; cursor:not-allowed; }
.actions { gap:10px; align-items:center; }
.actions button, .actions .btn {
  flex:0 0 116px;
  width:116px;
  height:44px;
  min-height:44px;
  max-height:44px;
  padding:4px 6px;
  overflow:hidden;
  font-size:12px;
  line-height:1.15;
}
.actions .paid-action {
  display:inline-flex;
  flex-direction:column;
  gap:2px;
  white-space:normal;
  font-size:11px;
}
.actions .paid-action small {
  font-size:10px;
  font-weight:400;
  line-height:1.1;
  color:#c5c7ce;
  font-variant-numeric:tabular-nums;
}

/* v1.8: selektive rote Akzente; alle Aktionen behalten v1.7-Groessen. */
button.primary, .btn.primary {
  background:#a62338; border-color:#ca344a; color:#fff; font-weight:600;
}
button.primary:hover, .btn.primary:hover {
  background:#c52d46; border-color:#e14d64; color:#fff;
}
button.primary:disabled { background:#a62338; opacity:.45; }
button.danger, .btn.danger {
  background:#252930; border-color:#ad4254; color:#ffb5bf;
}
button.danger:hover, .btn.danger:hover {
  background:#3d252c; border-color:#d9586c; color:#fff;
}


/* v1.9: nur die beiden Kontur-/Anthrazit-Stile; keine vollflächig roten Buttons. */
button.primary, .btn.primary, button.primary:disabled {
  background:#252930;
  border-color:#666b75;
  color:#f1f1f1;
  font-weight:500;
}
button.primary:hover, .btn.primary:hover {
  background:#343a43;
  border-color:#9298a2;
  color:#fff;
}
/* Löschen bleibt anthrazit mit rotem Rahmen. */
button.danger, .btn.danger {
  background:#252930;
  border-color:#ad4254;
  color:#ffb5bf;
}
/* Abgerechnet: exakt gleiche Abmessungen, nur grüne Kontur und Schrift. */
.actions .btn.paid-action, .actions button.paid-action {
  background:#252930;
  border-color:#4dac81;
  color:#a8ebc7;
}
.actions .btn.paid-action:hover, .actions button.paid-action:hover {
  background:#2b3734;
  border-color:#78d5a8;
  color:#d6ffe7;
}
.actions .paid-action small { color:#a8d9c1; }

/* v1.10 - alignment */
.gridform > label { margin-bottom:0; }
