* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111;
  -webkit-font-smoothing: antialiased;
}
.app { max-width: 430px; margin: 0 auto; padding: 14px 14px 28px; }
.top { padding: 4px 2px 10px; }
.kicker { font-size: 13px; color: #8b8f97; }
h1 { margin: 2px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.gate-hint { margin: 0 0 12px; font-size: 13px; color: #6b7078; line-height: 1.35; }
.card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 12px 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.card-title { font-size: 15px; font-weight: 700; margin: 2px 2px 8px; }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-top: 1px solid #f0f1f3;
  padding: 4px 2px;
}
.row span { flex: 0 0 84px; font-size: 14px; color: #6b7078; }
.row select,
.row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-align: right;
  padding: 8px 0;
  outline: none;
  appearance: none;
}
.note { margin: 8px 2px 10px; font-size: 12px; color: #9aa0a8; }
.cta {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: #f5c518;
  color: #1c1900;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  margin-top: 4px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
}
.cta-mid { text-align: center; font-size: 16px; }
.cta span:first-child,
.cta span:last-child { font-size: 13px; font-weight: 600; color: #3a3200; }
.cta span:last-child { text-align: right; }
.cta:disabled { opacity: 0.45; }
.status { min-height: 1.2em; margin: 10px 4px 6px; font-size: 13px; color: #6b7078; }
.sum { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin: 14px 2px 8px; }
.meta { font-size: 12px; color: #8b8f97; margin: 0 2px 8px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.it {
  background: #fff;
  border-radius: 16px;
  padding: 12px 12px 10px;
}
.sh { font-size: 15px; font-weight: 800; }
.prod { margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f1f3; }
.prod:first-of-type { border-top: 0; padding-top: 4px; }
.phead { font-size: 14px; font-weight: 700; }
.pmeta { font-weight: 600; color: #6b7078; font-size: 13px; }
.badge { color: #111; }
.spot, .ln { font-size: 13px; color: #4b5058; margin: 3px 0; }
.err { color: #c0392b; font-size: 13px; }
a.ext { color: #111; font-weight: 700; }