:root {
  color-scheme: light;
  --bg: #f4f4f4;
  --card: #ffffff;
  --line: #e4e4e4;
  --text: #161616;
  --muted: #5f5f5f;
  --green: #111111;
  --gold: #111111;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
header, main { width: min(880px, calc(100% - 24px)); margin: 0 auto; }
header { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 12px; }
h1, h2 { font-family: Georgia, serif; }
.tabs { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; }
.tabs button, .btn, button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}
.tabs button.active, .btn { background: var(--green); color: #fff; border-color: var(--green); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 12px 0; }
label { display: grid; gap: 6px; margin: 8px 0; }
input, select, textarea { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; }
.muted { color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.price { color: var(--gold); font-weight: 700; }
img.qr { width: 160px; height: 160px; background: white; border-radius: 12px; }
progress { width: 100%; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login form { width: min(420px, 100%); }
