:root {
  --bg: #f4f6f9;
  --karte: #ffffff;
  --text: #14213d;
  --leise: #5b6577;
  --linie: #e3e7ee;
  --akzent: #1f4fd8;
  --akzent-text: #ffffff;
  --gut: #1c8a4a;
  --schlecht: #b42318;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1420;
    --karte: #161e2e;
    --text: #e8edf6;
    --leise: #9aa5b8;
    --linie: #263046;
    --akzent: #4c7dff;
    --schlecht: #ff8a80;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
}
.karte {
  width: 100%;
  max-width: 560px;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(20, 33, 61, 0.06);
}
.kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }
.marke { font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.schloss {
  width: 22px; height: 22px; border-radius: 6px; background: var(--akzent);
  display: inline-block; position: relative;
}
.schloss::after {
  content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 7px;
  border-radius: 2px; background: var(--akzent-text);
}
.hinweis { font-size: 13px; color: var(--gut); }
h1 { font-size: 22px; margin: 0 0 6px; }
.ablauf, .klein, .status { color: var(--leise); font-size: 14px; }
.nachricht { background: var(--bg); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; }
.fehler { color: var(--schlecht); }
.liste { list-style: none; margin: 20px 0; padding: 0; }
.liste li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--linie);
}
.liste li:last-child { border-bottom: 1px solid var(--linie); }
.name { font-weight: 600; word-break: break-word; }
.meta { color: var(--leise); font-size: 13px; }
.balken { grid-column: 1 / -1; height: 6px; background: var(--linie); border-radius: 3px; overflow: hidden; }
.balken > div { height: 100%; width: 0; background: var(--akzent); transition: width 0.2s; }
.knopf {
  background: var(--akzent); color: var(--akzent-text); border: 0; border-radius: 10px;
  padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer;
}
.knopf:disabled { opacity: 0.55; cursor: default; }
.klein-knopf { padding: 8px 14px; font-size: 14px; }
