:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #101827;
  --muted: #657083;
  --line: #d9e0ea;
  --accent: #18a058;
  --accent-soft: #e7f7ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.qr-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.qr-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 20px;
}

.qr-stage {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(16, 24, 39, 0.08);
}

.qr-code {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.qr-code svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-meta {
  display: grid;
  gap: 10px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.meter {
  height: 8px;
  overflow: hidden;
  background: var(--accent-soft);
  border-radius: 999px;
}

.meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: var(--accent);
}
