/* FA-11 Arrival inspection + customer review (board 35). [data-look="v2"]
   only. See frontend/js/inspectionV2.js for the JS half (relocating the
   existing v1 arrival-inspection form/review into the panes below, and
   reusing FA-06's shared full-screen signature capture instead of the v1
   inline pad — nothing here re-derives inspection data or submit logic).
   With the switch OFF this file has no effect and #scr-inspection renders
   exactly as it does today.

   Moved elements (inspection-sections, inspection-proposed, inspection-notes,
   inspection-tech-name, insp-customer-name, ...) reuse v1's own classes
   (.detail-label, .note-input, .inspect-item-row, .proposed-row, ...), which
   already pick up the v2 palette for free via tokens.css's variable remap —
   same "no styling needed here" note as jobsSearch.css. */

/* ---- existing v1 pieces this package replaces the PRESENTATION of — hidden
   here, not removed; every real element that matters was relocated by
   inspectionV2.js's INSPV2_MOVES into #inspectionv2-root, so their JS keeps
   running untouched (renderInspectionSections(), buildInspectionPayload(),
   etc). Scoped to #scr-inspection's own direct children only. ---- */
[data-look="v2"] #scr-inspection > #inspection-draft,
[data-look="v2"] #scr-inspection > #inspection-review {
  display: none;
}

[data-look="v2"] .inspectionv2-title {
  font: var(--field-text-page-title);
  color: var(--field-text-primary);
  margin: var(--field-space-3) 0 var(--field-space-3);
}

/* ---- Customer Review findings card (board 35 panel 4) ---- */
[data-look="v2"] .inspectionv2-review-card {
  display: flex;
  align-items: flex-start;
  gap: var(--field-space-3);
  padding: var(--field-space-3);
  background: var(--field-surface);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius-card);
  margin-bottom: var(--field-space-3);
}
[data-look="v2"] .inspectionv2-review-check {
  flex-shrink: 0;
  color: var(--field-status-inprogress-ink);
  font-weight: 700;
  font-size: 1.2em;
}
[data-look="v2"] .inspectionv2-review-card-text {
  display: flex;
  flex-direction: column;
  color: var(--field-text-primary);
  font: var(--field-text-body);
}

/* ---- signature (FA-06 shared capture, not the v1 inline pad) ---- */
[data-look="v2"] .inspectionv2-sig-preview {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--field-raised);
  border: 1px dashed var(--field-border);
  border-radius: var(--field-radius-control);
  margin-bottom: var(--field-space-2);
}
[data-look="v2"] .inspectionv2-sig-preview:empty::before {
  content: 'Not signed yet';
  color: var(--field-text-secondary);
  font: var(--field-text-meta);
}
[data-look="v2"] .inspectionv2-sig-preview img {
  max-width: 100%;
  max-height: 96px;
}
