/* GH Bridge: gemeinsames Stylesheet der Oberfläche (Login, Konto; index.html trägt
   aus historischen Gründen dieselben Regeln noch inline). */
:root { --bg:#f6f7f9; --card:#fff; --ink:#131a1f; --muted:#5f6b76; --line:#e3e7eb; --accent:#0a7d4f; --warn:#b36b00; --bad:#b3261e; --live:#b3261e; --shadow:#2b6cb0; }
@media (prefers-color-scheme: dark) { :root { --bg:#131a1f; --card:#1b242b; --ink:#e8ecef; --muted:#9aa6b1; --line:#2b353d; --accent:#3dbb86; --warn:#e0a030; --bad:#f0655d; --shadow:#6aa7ff; } }
* { box-sizing: border-box; }
body { margin:0; font: 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background:var(--bg); color:var(--ink); }
header { display:flex; align-items:center; gap:16px; padding:12px 20px; border-bottom:1px solid var(--line); background:var(--card); position:sticky; top:0; z-index:2; flex-wrap:wrap; }
header h1 { font-size:16px; margin:0; }
header h1 a { color:inherit; text-decoration:none; }
.logo { display:inline-block; width:22px; height:22px; border-radius:6px; background:var(--accent); color:#fff; font-weight:800; font-size:12px; line-height:22px; text-align:center; margin-right:8px; vertical-align:-4px; }
.pill { display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:600; border:1px solid var(--line); }
.pill.ok { color:var(--accent); border-color:var(--accent); }
.pill.warn { color:var(--warn); border-color:var(--warn); }
.pill.bad { color:var(--bad); border-color:var(--bad); }
nav { display:flex; gap:4px; margin-left:auto; flex-wrap:wrap; align-items:center; }
nav button, nav a.btn { background:none; border:1px solid var(--line); color:var(--ink); padding:6px 12px; border-radius:8px; cursor:pointer; text-decoration:none; font:inherit; }
nav button.active, nav a.btn.active { background:var(--ink); color:var(--card); border-color:var(--ink); }
main { padding:16px 20px 60px; max-width:1400px; margin:0 auto; }
main.narrow { max-width:520px; margin-top:60px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px 16px; margin-bottom:14px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:12px; }
h2 { font-size:15px; margin:0 0 10px; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th, td { text-align:left; padding:6px 8px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-weight:600; font-size:12px; }
.muted { color:var(--muted); }
.small { font-size:12px; }
.bad { color:var(--bad); }
.ok { color:var(--accent); }
label.field { display:block; margin:10px 0; }
label.field span { display:block; font-size:12px; color:var(--muted); margin-bottom:3px; }
select, input[type=text], input[type=password], input[type=email] { font:inherit; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--ink); width:100%; }
input.code { font-size:22px; letter-spacing:6px; text-align:center; font-variant-numeric: tabular-nums; }
button.primary { background:var(--accent); color:#fff; border:0; padding:8px 16px; border-radius:8px; cursor:pointer; font-weight:600; font:inherit; font-weight:600; }
button.primary:disabled { opacity:.6; cursor:default; }
button.ghost { background:none; border:1px solid var(--line); color:var(--ink); padding:4px 10px; border-radius:8px; cursor:pointer; font:inherit; }
button.danger { border-color:var(--bad); color:var(--bad); }
.msg { min-height:1.4em; margin:8px 0 0; }
.msg.error { color:var(--bad); }
.msg.ok { color:var(--accent); }
.banner { padding:10px 14px; border-radius:10px; margin-bottom:14px; font-weight:600; }
.banner.warn { background:rgba(179,107,0,.12); color:var(--warn); }
.qr { display:flex; gap:20px; flex-wrap:wrap; align-items:flex-start; }
.qr svg { width:220px; height:220px; background:#fff; border-radius:8px; padding:6px; }
code { font-size:12px; background:var(--bg); padding:1px 4px; border-radius:4px; }
.codes { display:grid; grid-template-columns:repeat(2, 1fr); gap:6px 18px; font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin:10px 0; }
details summary { cursor:pointer; color:var(--muted); }
.row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
