/* ASA OS vehicle specs (vehicle-specs.js): the saved door-sticker / VIN specs on Customer 360 vehicle cards, the job's
 * Vehicle panel and the tire suggestions. Built from shop.css tokens; buttons and notices come from shop.css. */

.vs { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.vs:empty { display: none; }
.vs-row { display: flex; flex-direction: column; gap: 0; }
.vs-text { color: var(--ink); font-weight: 500; letter-spacing: -0.004em; }
.vs-from, .vs-none { font-size: 12px; color: var(--ink-3); }
.vs-warn { color: var(--amber); }
.vs-status { margin: 0; font-size: 13px; color: var(--ink-2); }
.vs-done { margin: 0; font-size: 13px; color: var(--green); }
.vs .notice { margin: 2px 0; font-size: 13px; padding: 8px 10px; }
.vs-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.vs .vs-thumb { position: relative; padding: 0; width: 76px; height: 56px; min-height: 0; border-radius: var(--r-s); overflow: hidden; background: var(--fill); box-shadow: 0 0 0 .5px var(--hair); }
.vs .vs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs .vs-thumb-k { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; font-size: 10.5px; font-weight: 500; color: #fff; background: rgba(0, 0, 0, 0.5); text-align: left; }
.vs-scan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.vs-scanbtn { min-height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 500; background: var(--fill); color: var(--ink); }
.vs-scanbtn:hover { background: var(--fill-hover); }
.vs-found { background: var(--surface-2); border-radius: var(--r-m); box-shadow: 0 0 0 .5px var(--hair); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.vs-found .jc-actions { margin-top: 4px; }

/* full-size photo */
.vs-viewer { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.82); display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.vs-viewer-fig { margin: 0; display: grid; gap: 10px; max-width: min(1100px, 100%); max-height: 100%; }
.vs-viewer-fig img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--r-m); background: #111; justify-self: center; }
.vs-viewer-fig figcaption { color: #f5f5f7; display: grid; gap: 2px; font-size: 14px; }
.vs-viewer-fig figcaption span { color: rgba(245, 245, 247, 0.72); font-size: 13px; }
.vs-viewer-acts { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.vs-viewer-acts a { color: #9cc7ff; }

/* the job's Vehicle panel */
.vs-panel .vs { padding: 8px 0 2px; border-top: 1px solid var(--hair); margin-top: 4px; }
.vs-panel .vs:empty { display: none; }

/* a saved tire size offered on a tire request */
.vs-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: var(--r-m); background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.vs-sug .vs-from { flex-basis: 100%; color: var(--ink-2); }
.vs-sug:empty { display: none; }

@media (max-width: 600px) {
  .vs-viewer { padding: 12px; }
  .vs-viewer-fig img { max-height: 70vh; }
  .vs-scanbtn { min-height: 44px; }
}
