/* SSIO – schlicht, hell/dunkel nach Systemeinstellung, ohne externe Ressourcen (CSP) */
:root {
  --bg: #f4f5f7; --card: #fff; --text: #1d2330; --muted: #5d6677; --line: #dde1e8;
  --accent: #2753d6; --accent-text: #fff; --danger: #b42318; --notice: #eef3ff; --error-bg: #fdecea;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151b; --card: #1b1f27; --text: #e7eaf0; --muted: #9aa3b5; --line: #2c323d;
    --accent: #7c9cff; --accent-text: #0d1220; --danger: #ff8a7a; --notice: #1e2a45; --error-bg: #3a1d1a;
  }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: flex; justify-content: center; padding: 32px 16px; }
.card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; align-self: flex-start; }
.brand { font-weight: 700; letter-spacing: .12em; color: var(--accent); font-size: 14px; margin-bottom: 12px; }
h1 { font-size: 24px; margin: 0 0 4px; }
h2 { font-size: 16px; margin: 0 0 8px; }
section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
p { margin: 8px 0; }
.sub { color: var(--muted); margin-top: 0; }
.small { color: var(--muted); font-size: 14px; }
a { color: var(--accent); }
label { display: block; margin: 12px 0; font-size: 14px; color: var(--muted); }
input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button, .button { display: inline-block; padding: 10px 16px; font: inherit; font-weight: 600; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); text-decoration: none; }
button.primary, .button.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
form > button[type=submit]:last-child, #passkey-login { width: 100%; margin-top: 8px; }
button.link { background: none; border: none; padding: 4px 0; color: var(--accent); font-weight: 500; width: auto; }
.danger { color: var(--danger) !important; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.row input { flex: 1 1 160px; margin: 0; }
.row form { margin: 0; }
.row button { width: auto; margin: 0; }
.error { background: var(--error-bg); color: var(--danger); padding: 10px 12px; border-radius: 8px; }
.notice { background: var(--notice); padding: 10px 12px; border-radius: 8px; }
.or { text-align: center; color: var(--muted); font-size: 14px; margin: 20px 0 4px; }
ul.plain, ul.list { list-style: none; padding: 0; margin: 0; }
ul.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
ul.list li form { margin: 0; }
ol.codes { columns: 2; padding-left: 24px; font-size: 17px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wide { max-width: 1000px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
