:root {
  --color-bg: #ffffff;
  --color-fg: #111827;
  --color-muted: #6b7280;
  --color-accent: #2563eb;
  --color-danger: #dc2626;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --color-bg: #0b0f17; --color-fg: #e5e7eb; --color-muted: #9ca3af; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); background: var(--color-bg); color: var(--color-fg); }
.card { max-width: 420px; margin: 48px auto; padding: 24px 16px; text-align: center; }
.brand img { max-height: 48px; }
.btn { display: inline-block; padding: 12px 20px; border: 0; border-radius: var(--radius);
  background: var(--accent, var(--color-accent)); color: #fff; font-size: 16px; cursor: pointer; text-decoration: none; }
.muted { color: var(--color-muted); font-size: 14px; }
.field { display: block; width: 100%; margin: 8px 0; padding: 10px; border: 1px solid var(--color-muted);
  border-radius: var(--radius); background: transparent; color: inherit; font-size: 15px; }
.error { color: var(--color-danger); }

.amount { font-size: 28px; margin: 8px 0 16px; }
label.muted { display: block; text-align: left; }
/* A checkbox with its text: the whole line is the label, with room for a thumb. */
label.check { display: flex; align-items: center; gap: 10px; margin: 8px 0; min-height: 44px; text-align: left; cursor: pointer; }
label.check input { width: 20px; height: 20px; flex: none; }

.einvoice { text-align: left; margin-top: 16px; }
svg.qr { display: block; width: 100%; max-width: 260px; height: auto; margin: 8px 0; background: #fff; }

/* Phones: nothing may be wider than the screen. */
img, svg, input, select, textarea { max-width: 100%; }
pre { overflow: auto; }
code { overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; max-width: 100%; }
