:root {
  --ink: #17181a; --paper: #ffffff; --soft: #f4f4f2; --line: #e4e3df;
  --gold: #ffd000; --gold-ink: #6b5600; --ok: #1d7a3d; --warnbg: #fff6d6; --err: #b3261e;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; background: var(--soft); color: var(--ink); }
#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--paper); display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.top .brand { font-weight: 700; letter-spacing: .2px; }
.top .tag { margin-left: auto; font-size: 13px; color: #666; }
.logo-mark { color: var(--gold-ink); }
.screen { padding: 24px 20px 40px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.screen.center { align-items: center; justify-content: center; }
h1 { font-size: 26px; line-height: 1.2; margin: 8px 0 0; }
h2 { font-size: 21px; margin: 4px 0 0; }
.lead { color: #444; margin: 0; }
.fine { font-size: 13px; color: #777; margin: 0; }
.cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: inherit; font-weight: 600;
  font-size: 16px; cursor: pointer; padding: 0 18px; }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: .4; }
.cta.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
#btn-start, #btn-code-ok, #btn-vehicle-ok { background: var(--gold); color: var(--ink); }
.tips { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.tips li { display: flex; gap: 14px; background: var(--soft); border-radius: 12px; padding: 14px; }
.tips svg { flex: none; color: var(--gold-ink); }
.tips strong { display: block; }
.tips span { color: #555; font-size: 14px; }
.shots { display: flex; gap: 10px; min-height: 84px; }
.shots img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.card { background: var(--soft); border-radius: 12px; padding: 16px; }
.card.guide p { margin: 10px 0 0; font-weight: 500; }
.alt-spots { margin: 8px 0 0; padding-left: 18px; color: #555; font-size: 14px; }
.warn { background: var(--warnbg); border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600;
  background: #fff; cursor: pointer; font-size: 16px; }
.chip.sel { border-color: var(--gold-ink); background: var(--gold); }
.manual input, #vehicle-edit input, #vehicle-edit select { width: 100%; min-height: 46px; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 0 12px; font: inherit; margin-top: 6px; background: #fff; }
.manual, #vehicle-edit label { display: block; font-size: 14px; color: #555; }
#vehicle-edit { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; }
#vehicle-edit summary { cursor: pointer; color: #555; font-size: 14px; }
#vehicle-edit label { margin-top: 10px; }
.years input { width: 44% !important; display: inline-block; }
.vhead { font-size: 18px; font-weight: 700; }
.vsub { color: #555; }
.product { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 12px; background: #fff; }
.product img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.product .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; vertical-align: -3px; margin-right: 6px; }
.product .pname { font-weight: 700; }
.product .pmeta { font-size: 13px; color: #555; }
.product a.buy { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; background: var(--gold);
  color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; padding: 8px 14px; font-size: 14px; }
.spin { width: 42px; height: 42px; border: 4px solid var(--line); border-top-color: var(--gold-ink);
  border-radius: 50%; animation: sp 0.9s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
