.lot-intro h1 { margin: 0 0 8px; font-size: 26px; }
.lot-intro p { margin: 0; max-width: 70ch; }
.hint { font-weight: 400; font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }

.lot-step, .lot-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.lot-step h2, .lot-card h2 { margin: 0; font-size: 17px; }
.lot-step p { margin: 0; }
.lot-step textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); resize: vertical;
}
.lot-step textarea:focus, .lot-acts input:focus { outline: none; border-color: var(--blue); }
.lot-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lot-acts input { font: inherit; padding: 8px 10px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); width: 210px; }

.lot-pick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.lot-pick label { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; cursor: pointer; }
.lot-pick label:has(input:not(:checked)) { opacity: .55; }
.lot-pick img { width: 60px; height: 46px; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }
.lot-pick b { font-size: 14px; display: block; }
.lot-pick span { font-size: 12px; color: var(--muted); }
.lot-pick .warn { color: var(--amber-ink); font-weight: 600; }

.lot-result { display: flex; flex-direction: column; gap: 14px; }
.lot-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lot-tiles div { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; }
.lot-tiles b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.lot-tiles span { font-size: 13px; color: var(--muted); }
.lot-big { font-size: 18px; margin: 0; }
.lot-big b { color: var(--red); }
.lot-sets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.lot-sets a { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; height: 100%; }
.lot-sets a:hover { border-color: var(--blue); }
.lot-sets img { width: 100%; height: 100px; object-fit: contain; background: #fff; border-radius: 6px; }
.lot-sets b { font-size: 13px; line-height: 1.25; }
.lot-sets span { font-size: 12px; color: var(--muted); }
.lot-sets .miss { color: var(--amber-ink); font-weight: 600; }
.lot-sets .ok { color: var(--green); font-weight: 600; }
.lot-note { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 520px) {
  .lot-sets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lot-acts input { width: 100%; }
}
