:root {
  font: 100%/1.5 system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --ink: #1c1c1e;
  --ink-2: #6b7280;
  --brand: #0a4d8c;
  --cust: #2e7d4f;
  --cust-bg: rgba(46, 125, 79, 0.10);
  --staff: #c0392b;
  --staff-bg: rgba(192, 57, 43, 0.10);
  --admin: #6d28d9;
  --admin-bg: rgba(109, 40, 217, 0.10);
  --surface: rgba(255, 255, 255, 0.72);
  --hairline: rgba(60, 60, 67, 0.12);
  --radius: 18px;
  --good: #157a3a;
  --bad: #b42318;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 20% 0%, #eaf1f8 0%, transparent 60%),
    radial-gradient(120% 80% at 90% 20%, #f0ebe8 0%, transparent 55%),
    #eef2f6;
}

body.theme-customer {
  background:
    radial-gradient(120% 80% at 20% 0%, #eaf1f8 0%, transparent 60%),
    radial-gradient(120% 80% at 90% 20%, #e9f5ee 0%, transparent 55%),
    #eef2f6;
}

body.theme-staff {
  background:
    radial-gradient(120% 80% at 20% 0%, #eaf1f8 0%, transparent 60%),
    radial-gradient(120% 80% at 90% 20%, #f6ece9 0%, transparent 55%),
    #eef2f6;
}

body.theme-admin {
  background:
    radial-gradient(120% 80% at 20% 0%, #eaf1f8 0%, transparent 60%),
    radial-gradient(120% 80% at 90% 20%, #f3eefb 0%, transparent 55%),
    #eef2f6;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 60px rgba(20, 40, 70, 0.10);
}
.app.wide { max-width: 960px; }

header.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(14px + env(safe-area-inset-top)) 20px 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--hairline);
}
header.app-header h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
header.app-header p { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
}
.mode-tag.cust { color: var(--cust); background: var(--cust-bg); }
.mode-tag.staff { color: var(--staff); background: var(--staff-bg); }
.mode-tag.admin { color: var(--admin); background: var(--admin-bg); }

.header-actions {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 20px;
  display: flex;
  gap: 6px;
}
.header-actions a,
.header-actions button {
  border: 0;
  background: rgba(120, 120, 128, 0.12);
  color: var(--ink-2);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
}

.content {
  flex: 1;
  padding: 16px 20px calc(28px + env(safe-area-inset-bottom));
}

.tabs {
  position: relative;
  display: flex;
  margin: 12px 0 0;
  background: rgba(120, 120, 128, 0.10);
  border-radius: 11px;
  padding: 3px;
  isolation: isolate;
}
.tabs .tthumb {
  position: absolute;
  top: 3px;
  left: 3px;
  bottom: 3px;
  width: calc(50% - 3px);
  border-radius: 8px;
  background: var(--brand);
  z-index: -1;
  transition: transform 220ms ease;
}
.tabs.tabs-4 .tthumb { width: calc(25% - 2.25px); }
.tabs.tabs-5 .tthumb { width: calc(20% - 2.4px); }
.tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.tabs button.on { color: #fff; }

.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(20, 40, 70, 0.04);
}
.scan-card {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(160%);
  text-align: center;
}
.scan-card .icon { font-size: 34px; }
.scan-card .t { font-weight: 700; margin: 6px 0 2px; }
.hint { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.scan-buttons { display: flex; gap: 8px; margin-top: 14px; }
.search-row { display: flex; gap: 8px; margin-top: 10px; }

.btn, button.primary, button.secondary, button.good, button.bad {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 11px 12px;
}
.btn { flex: 1; background: var(--brand); color: #fff; }
.btn.alt { background: rgba(10, 77, 140, 0.10); color: var(--brand); }
.btn.cust { background: var(--cust); color: #fff; }
.btn.cust.alt { background: var(--cust-bg); color: var(--cust); }
.btn.staff { background: var(--staff); color: #fff; }
.btn.block { width: 100%; }
.btn:active, button:active { transform: scale(0.97); }
button.primary { background: var(--brand); color: #fff; }
button.secondary { background: rgba(10, 77, 140, 0.10); color: var(--brand); }
button.good { background: rgba(21, 122, 58, 0.12); color: var(--good); }
button.bad { background: rgba(180, 35, 24, 0.12); color: var(--bad); }
button:disabled { opacity: 0.55; cursor: not-allowed; }

input, textarea, select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(10, 77, 140, 0.35);
}
body.theme-customer input:focus,
body.theme-customer textarea:focus {
  outline-color: rgba(46, 125, 79, 0.35);
}
label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}
label.inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.shrink { flex: 0 0 auto; }

h3.name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.sub { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.badges { margin: 8px 0 2px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  background: rgba(10, 77, 140, 0.08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
}
body.theme-customer .badge {
  background: var(--cust-bg);
  color: var(--cust);
}
.spec {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--hairline);
}
.spec:last-child { border-bottom: 0; }
.spec .k { color: var(--ink-2); }
.spec .v { font-weight: 600; font-variant-numeric: tabular-nums; }

.sec-title {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--brand);
}
body.theme-customer .sec-title { color: var(--cust); }
.sec-title .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.points li {
  font-size: 13.5px;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
  color: inherit;
}
body.theme-customer .points li::before { background: var(--cust); }
body.theme-staff .points li::before { background: var(--brand); }

.staff-card {
  border: 1px solid rgba(192, 57, 43, 0.25);
  background: linear-gradient(180deg, rgba(192, 57, 43, 0.05), rgba(255, 255, 255, 0.9));
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}
.staff-card .sec-title { color: var(--staff); }
.lock {
  margin-left: auto;
  background: var(--staff);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
}
.warn {
  font-size: 11px;
  color: var(--staff);
  background: var(--staff-bg);
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: 8px;
  line-height: 1.5;
}
.memo-t { font-size: 11.5px; font-weight: 700; color: var(--staff); margin-top: 10px; }
.memo { font-size: 13.5px; line-height: 1.55; margin-top: 2px; }

.video {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(10, 30, 60, 0.18);
  margin-bottom: 8px;
}
.video .screen {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(140deg, #14293e, #0a4d8c 70%);
  cursor: pointer;
}
body.theme-customer .video .screen {
  background: linear-gradient(140deg, #14293e, #1e6b45 70%);
}
.video .play { font-size: 40px; }
.video .vtitle { font-size: 12px; opacity: 0.92; }
.video .progress { height: 4px; background: rgba(255, 255, 255, 0.18); }
.video .bar { height: 100%; width: 0; background: #ffd54a; transition: width 200ms linear; }
.ad {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
  background: rgba(30, 107, 69, 0.93);
}
.ad.show { display: flex; }
.ad .label { font-size: 10px; letter-spacing: 0.18em; opacity: 0.7; margin-bottom: 8px; }
.ad .ap { font-size: 16px; font-weight: 700; }
.ad .ac { font-size: 12px; opacity: 0.92; margin-top: 6px; line-height: 1.5; max-width: 260px; }
.ad .x {
  margin-top: 14px;
  background: #fff;
  color: var(--cust);
  border: 0;
  padding: 7px 20px;
  border-radius: 20px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.vcap { font-size: 11.5px; color: var(--ink-2); text-align: center; }
.empty { text-align: center; color: #9aa3af; padding: 40px 12px; font-size: 13.5px; }
.error { color: var(--bad); font-size: 13px; margin-top: 8px; }
.result { font-size: 13.5px; line-height: 1.5; margin-top: 10px; }
.loading { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.meta { font-size: 11.5px; color: var(--ink-2); }

/* Landing */
.landing {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: calc(24px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.landing .brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 10px;
}
.landing h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.landing .lead {
  font-size: 14px;
  color: var(--ink-2);
  margin: 10px 0 28px;
  line-height: 1.6;
}
.modes { display: flex; flex-direction: column; gap: 12px; }
a.mode {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: 0 1px 2px rgba(20, 40, 70, 0.04);
  text-align: left;
}
a.mode:active { transform: scale(0.98); }
.mode .icon { font-size: 28px; line-height: 1; }
.mode .label { font-size: 17px; font-weight: 700; margin-top: 8px; }
.mode .desc { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.mode.cust .label { color: var(--cust); }
.mode.staff .label { color: var(--staff); }
.mode.admin .label { color: var(--admin); }
.mode .tag {
  display: inline-flex;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.mode.cust .tag { color: var(--cust); background: var(--cust-bg); }
.mode.staff .tag { color: var(--staff); background: var(--staff-bg); }
.mode.admin .tag { color: var(--admin); background: var(--admin-bg); }
.landing .note {
  margin-top: 22px;
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* Login */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(24px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
}
.login { width: 100%; max-width: 360px; text-align: center; }
.login .lo { font-size: 44px; }
.login h1 { font-size: 19px; font-weight: 700; margin-top: 8px; }
.login .lead { font-size: 13px; color: var(--ink-2); margin: 6px 0 18px; }
.login .box { display: flex; flex-direction: column; gap: 10px; }
.login input { text-align: center; }
.login .note { font-size: 11px; color: var(--ink-2); margin-top: 14px; line-height: 1.55; }
.login .home {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

/* Chat */
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  max-height: 48vh;
  overflow-y: auto;
  margin-bottom: 12px;
  padding: 4px 2px;
}
.chat-empty { text-align: center; color: #9aa3af; padding: 28px 8px; font-size: 13px; }
.chat-bubble { max-width: 92%; }
.chat-bubble.user { align-self: flex-end; }
.chat-bubble.assistant, .chat-bubble.system { align-self: flex-start; width: 100%; max-width: 100%; }
.chat-bubble .chat-role {
  font-size: 11px;
  color: var(--ink-2);
  margin-bottom: 4px;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.answer-source-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: -0.01em;
}
.answer-source-badge.llm_api {
  color: #0b6b3a;
  background: rgba(21, 122, 58, 0.12);
  border: 1px solid rgba(21, 122, 58, 0.28);
}
.answer-source-badge.template {
  color: #8a4b08;
  background: rgba(240, 180, 0, 0.16);
  border: 1px solid rgba(180, 120, 0, 0.35);
}
.answer-source-badge.insufficient {
  color: var(--staff);
  background: var(--staff-bg);
  border: 1px solid rgba(192, 57, 43, 0.28);
}
.chat-bubble.src-template .chat-content {
  border-left: 3px solid #e0a800;
}
.chat-bubble.src-llm_api .chat-content {
  border-left: 3px solid #157a3a;
}
.chat-bubble.user .chat-content {
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 18px 18px 4px 18px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.chat-bubble.assistant .chat-content,
.chat-bubble.system .chat-content {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  white-space: normal;
}
.talk-block .talk-line { margin: 0 0 0.55em; }
.talk-block .talk-line:last-child { margin-bottom: 0; }
.inline-candidates { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.candidate.in-chat { background: #fbfcfe; }
.candidate .cand-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}
.candidate .sell-price { font-size: 18px; font-weight: 700; margin: 0; color: var(--brand); }
.candidate .stock-inline { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.cand-sec { margin-top: 8px; }
.talk-sec {
  background: rgba(21, 122, 58, 0.06);
  border: 1px solid rgba(21, 122, 58, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
}
.talk-script {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.talk-script li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}
.recommend-talk {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}
.recommend-talk .rec-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #0b6b3a;
  background: rgba(21, 122, 58, 0.12);
  border-radius: 6px;
  padding: 2px 6px;
  margin-right: 6px;
  vertical-align: 1px;
}
.reason-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.reason-chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(10, 77, 140, 0.08);
  border: 1px solid rgba(10, 77, 140, 0.16);
  border-radius: 999px;
  padding: 3px 9px;
}
.cite-details { margin-top: 8px; }
.cite-details summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  list-style: none;
}
.cite-details summary::-webkit-details-marker { display: none; }
.cite-details[open] summary { margin-bottom: 6px; }
.citations.readable { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.citations.readable li {
  background: rgba(255, 214, 74, 0.12);
  border-left: 3px solid #f0b400;
  border-radius: 0 8px 8px 0;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.45;
}
.citations.readable .cite-src { display: block; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.citations.readable .cite-q { color: var(--ink); }
.staff-details { margin-top: 8px; }
.staff-details summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--staff);
  list-style: none;
}
.staff-details summary::-webkit-details-marker { display: none; }
.staff-details[open] summary { margin-bottom: 6px; }
.chat-shell .chat-thread { max-height: 62vh; min-height: 240px; }
.chat-bubble.fallback .chat-content {
  border-color: rgba(192, 57, 43, 0.35);
  background: rgba(192, 57, 43, 0.05);
}
.chat-meta-line { font-size: 11px; color: var(--ink-2); margin-top: 6px; }
.chat-compose textarea { min-height: 72px; resize: vertical; }
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-input-row textarea { flex: 1; }
.chatbar {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 8px;
  padding: 12px 0 calc(4px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(238, 242, 246, 0), #eef2f6 40%);
}
.chatbar input { border-radius: 22px; }
.chatbar .send {
  flex: 0 0 52px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.candidate {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.candidate h3 { font-size: 15px; margin: 0 0 4px; color: var(--brand); }
.candidate-layout { display: grid; grid-template-columns: 88px 1fr; gap: 12px; margin: 8px 0; }
.product-image {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #eef2f6;
}
.product-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--ink-2);
  text-align: center;
  padding: 6px;
}
.price-stock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.price-box, .stock-box, .staff-box {
  background: rgba(10, 77, 140, 0.04);
  border-radius: 10px;
  padding: 8px 10px;
}
.staff-box { background: var(--staff-bg); margin-top: 8px; }
.staff-label { font-size: 11px; font-weight: 700; color: var(--ink-2); margin-bottom: 2px; }
.sell-price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.discount-amount { font-size: 18px; font-weight: 700; color: var(--staff); }
.discount-warn { font-size: 11px; color: var(--staff); margin-top: 6px; line-height: 1.45; }
.reasons, .citations { margin: 4px 0 8px 1.1rem; font-size: 13px; }
.rank { font-size: 11px; font-weight: 700; color: var(--ink-2); }

.scanner {
  background: #0f1720;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
}
.scanner video {
  width: 100%;
  border-radius: 8px;
  max-height: 240px;
  background: #000;
}
.file-capture {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fff;
}
.file-capture input { width: auto; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.form-grid label.full, .form-grid .full { grid-column: 1 / -1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}
th { font-size: 11px; color: var(--ink-2); }
.nfc-card {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}
.nfc-url {
  font-size: 12px;
  font-family: ui-monospace, Consolas, monospace;
  word-break: break-all;
  background: rgba(10, 77, 140, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 6px 0 8px;
}
.search-hit {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--hairline);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-top: 8px;
  cursor: pointer;
}
.search-hit:hover { background: rgba(10, 77, 140, 0.03); }

@media (min-width: 768px) {
  .app.wide { max-width: 960px; }
  .app.wide header.app-header { padding: 18px 28px 14px; }
  .app.wide .content { padding: 20px 28px 36px; }
}

@media (prefers-reduced-transparency: reduce) {
  header.app-header, .scan-card { background: #fff; backdrop-filter: none; }
}
