:root { color-scheme: light dark; --bg: #fff; --fg: #1b2a2f; --muted: #51636a; --accent: #0b6b6b; --line: #cfd8dc; --warn: #8a4b00; --warnbg: #fff4e0; --ok: #1b6b2a; --err: #a12626; }
@media (prefers-color-scheme: dark) { :root { --bg: #11181b; --fg: #e8eef0; --muted: #9db0b7; --accent: #5cc7c7; --line: #34454b; --warn: #ffcf8a; --warnbg: #3a2c12; --ok: #7bd88b; --err: #ff9a9a; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
header, main, footer { max-width: 40rem; margin: 0 auto; padding: 1rem 16px; }
header { border-bottom: 1px solid var(--line); font-weight: 600; color: var(--accent); }
h1 { font-size: 1.5rem; margin: 0.5rem 0 1rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1rem; margin: 0.5rem 0 0; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 1rem; padding: 0.75rem 1rem; }
legend { padding: 0 0.4rem; font-weight: 600; }
.choice { display: flex; gap: 0.6rem; align-items: center; padding: 0.4rem 0; } .choice input { width: 1.3rem; height: 1.3rem; }
button { font: inherit; background: var(--accent); color: var(--bg); border: 0; border-radius: 8px; padding: 0.7rem 1.2rem; cursor: pointer; min-height: 44px; }
button.small { padding: 0.2rem 0.7rem; min-height: 32px; font-size: 0.9rem; color: var(--bg); }   /* `.small` is also the muted-text class: a small BUTTON keeps its own text colour */ button:disabled { opacity: 0.6; cursor: default; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; } th, td { text-align: left; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--line); } .num { text-align: right; white-space: nowrap; }
.total { font-size: 1.25rem; } .vat, .small, .muted { color: var(--muted); font-size: 0.9rem; }
.price { font-size: 1.2rem; font-weight: 600; }
.warn { background: var(--warnbg); color: var(--warn); border-left: 4px solid var(--warn); padding: 0.6rem 0.8rem; border-radius: 4px; }
.ok { color: var(--ok); font-weight: 600; } .error { color: var(--err); font-weight: 600; } .note { color: var(--fg); }
.method { border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 1rem; margin: 0.5rem 0; } .details { white-space: pre-wrap; overflow-wrap: anywhere; }
a { color: var(--accent); }
@media (max-width: 480px) { body { font-size: 17px; } }

.offer { font-size: 0.9rem; color: var(--warn, inherit); margin-top: 0.2rem; }
