/* Pforte – ruhig und schlicht, hell/dunkel nach Systemeinstellung. */
:root {
  --bg: #f4f5f7; --card: #ffffff; --text: #1d2330; --muted: #6b7280; --line: #e3e6eb;
  --accent: #2f6f5e; --accent-text: #ffffff; --error: #b42318; --notice: #fdf6e3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111418; --card: #1a1f25; --text: #e6e8eb; --muted: #9aa3ae; --line: #2a3139;
          --accent: #4fa58c; --accent-text: #0f1216; --error: #f97066; --notice: #2a2618; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: var(--bg); color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.mark { width: 18px; height: 18px; border-radius: 5px; background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 5px var(--accent); }
h1 { font-size: 22px; margin: 0 0 16px; font-weight: 600; }
h2 { font-size: 15px; margin: 0 0 8px; }
section { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0; }
input:not([type=checkbox]) { display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  font-size: 16px; color: var(--text); background: transparent; border: 1px solid var(--line);
  border-radius: 9px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
button, .button { display: inline-block; min-height: 44px; padding: 10px 16px; font-size: 15px;
  font-weight: 600; border-radius: 9px; border: 1px solid var(--line); background: transparent;
  color: var(--text); cursor: pointer; text-decoration: none; text-align: center; }
.primary, form .wide:last-child { background: var(--accent); color: var(--accent-text);
  border-color: var(--accent); }
.wide { width: 100%; margin-top: 8px; }
button.link { border: 0; min-height: 0; padding: 0; font-weight: 500; color: var(--accent); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px;
  margin: 16px 0 4px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.error { color: var(--error); font-size: 14px; }
.notice { background: var(--notice); padding: 10px 12px; border-radius: 9px; font-size: 14px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.list { list-style: none; padding: 0; margin: 0 0 12px; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line); }
.list li span { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qr { display: block; width: 200px; height: 200px; margin: 12px auto; background: #fff;
  padding: 8px; border-radius: 8px; }
.codes { columns: 2; padding-left: 18px; font-size: 15px; }
code { font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
[hidden] { display: none !important; }
