/* ASA OS New job (#/new-estimate/<customer>/<vehicle>). Built from shop.css tokens and the shared page pieces
 * (cp-head, panel, jc-field, jc-actions, cp-fine from shop-pages.css / job-customer.css); this file adds the form layout. */

.nj-head, .nj-form, .nj-empty { max-width: 760px; }
.nj-head .pg-kicker { margin-bottom: 4px; }
.nj-vin { font-size: 13px; letter-spacing: 0.02em; }
.nj-form { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; }
.nj-form h2 { font-size: 17px; margin: 0; }
.nj-form textarea { min-height: 96px; font-size: 16px; }
.nj-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.nj-odo-in { display: flex; gap: 6px; }
.nj-odo-in input { flex: 1; min-width: 0; }
.nj-odo-in select { width: auto; flex: none; }
.nj-label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.nj-static { min-height: 36px; display: flex; align-items: center; font-size: 15px; color: var(--ink); }
.nj-form > .cp-fine { margin: 0; }
.nj-more { border-top: 1px solid var(--hair); padding-top: 12px; }
.nj-more > summary { font-size: 14px; color: var(--accent); }
.nj-more[open] > summary { margin-bottom: 4px; }
.nj-veh { display: grid; grid-template-columns: 90px repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.nj-vinf { margin-top: 10px; max-width: 320px; }
.nj-vinf input { text-transform: uppercase; letter-spacing: 0.02em; }
.nj-actions { margin-top: 2px; }
.nj-actions button.primary { min-width: 140px; min-height: 40px; }
.nj-msg:empty { display: none; }
.nj-msg .notice { margin: 0 0 8px; }
.nj-msg .jc-actions { margin-bottom: 4px; }
.nj-form [aria-invalid="true"] { border-color: var(--red); }

/* capture: VIN / door-sticker photos and speech, and the one "Found" card */
.nj-cap { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.nj-capbar { display: flex; gap: 8px; flex-wrap: wrap; }
.nj-capbtn { min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 500; background: var(--fill); color: var(--ink); }
.nj-capbtn.is-rec { background: var(--red-soft); color: var(--red); }
.nj-capnote { margin: 0; }
.nj-capstatus { margin: 0; font-size: 14px; color: var(--ink-2); }
.nj-capdone { margin: 0; font-size: 14px; color: var(--green); }
.nj-heard { margin: 0; }
.nj-found { background: var(--surface-2); border-radius: var(--r-m); box-shadow: 0 0 0 .5px var(--hair); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.nj-found-head { display: flex; align-items: baseline; gap: 10px; }
.nj-found-head .cp-fine { margin: 0; }
.nj-found-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.nj-found-row.is-warn span:last-child { color: var(--amber); }
.nj-found-k { color: var(--ink-2); }
.nj-found .notice { margin: 0; }
.nj-found .jc-actions { margin-top: 4px; }

@media (max-width: 640px) {
  .nj-capbtn { flex: 1; }
  .nj-form { padding: 18px 16px; }
  .nj-row { grid-template-columns: 1fr; }
  .nj-veh { grid-template-columns: 1fr 1fr; }
  .nj-vinf { max-width: none; }
  .nj-actions { flex-direction: column; align-items: stretch; }
  .nj-actions button.primary, .nj-actions .btn { width: 100%; min-height: 44px; justify-content: center; }
}
/* navigation cleanup A2: the guided New repair order's steps (customer → vehicle → concern and contact → schedule or check in) */
.nj-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 10px; padding: 0; counter-reset: njs; }
.nj-steps li { counter-increment: njs; font-size: 12.5px; color: var(--ink-2); padding: 3px 10px; border-radius: 999px; background: var(--fill); }
.nj-steps li::before { content: counter(njs) " "; font-weight: 600; }
.nj-steps li.is-done { color: var(--green); background: var(--green-soft); }
.nj-steps li.is-now { color: var(--surface); background: var(--ink); }
.nj-pick { max-width: 760px; display: grid; gap: 14px; }
.nj-pick .nj-results { display: grid; gap: 8px; }
.nj-pick .nj-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-m); background: var(--surface); box-shadow: 0 0 0 .5px var(--hair); text-decoration: none; color: var(--ink); }
.nj-pick .nj-result:hover { background: var(--surface-2); }
.nj-pick .nj-sub { font-size: 13px; color: var(--ink-2); }
