/* ── Vehicle Checklist view ────────────────────────────────────────────────
   Only what this view adds; structure comes from app.css / timeoff-view.css. */
.vc-view { max-width: 900px; margin: 0 auto; }
.vc-intro { font-size: 14px; color: var(--dark-gray, #374151); margin: 0 0 12px; }
/* The way back — the dispatch this was opened from, or My Dispatches. */
.vc-back {
  display: inline-block; min-height: 44px; line-height: 44px; margin-bottom: 4px;
  color: var(--navy, #1F3A5F); font-size: 15px; font-weight: 600; text-decoration: none;
}

.vc-grid { display: flex; flex-direction: column; gap: 6px; }
.vc-grid__head {
  display: grid; grid-template-columns: 1fr 64px 64px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  color: var(--mid-gray, #9CA3AF); padding: 0 4px;
}
.vc-row {
  display: grid; grid-template-columns: 1fr 64px; align-items: center;
  min-height: 52px; padding: 6px 8px;
  background: #fff; border: 1px solid var(--border, #E5E7EB); border-radius: 8px;
}
.vc-grid--two .vc-row { grid-template-columns: 1fr 64px 64px; }
.vc-row--fuel { grid-template-columns: 1fr auto; }
.vc-grid--two .vc-row--fuel { grid-template-columns: 1fr 64px auto; }
.vc-row__label { font-size: 15px; line-height: 1.3; }
.vc-row__prior { text-align: center; font-size: 20px; color: var(--success, #15803D); }

/* Big tap target: the whole box, not a 16px checkbox. */
.vc-check { position: relative; display: flex; justify-content: center; align-items: center; min-height: 44px; }
.vc-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vc-check__box {
  width: 36px; height: 36px; border-radius: 8px;
  border: 2px solid var(--mid-gray, #9CA3AF); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; transition: background .1s, border-color .1s;
}
.vc-check input:checked + .vc-check__box { background: var(--success, #15803D); border-color: var(--success, #15803D); }
.vc-check input:checked + .vc-check__box::after { content: '✓'; }
.vc-check input:focus-visible + .vc-check__box { outline: 3px solid var(--info-blue, #1D4ED8); outline-offset: 2px; }

/* The same box with its label beside it — the "Damage found" gate. The two
   damage text boxes render only while it is ticked (#vcDamageDetail[hidden]). */
.vc-check--inline { justify-content: flex-start; gap: 12px; margin-bottom: 8px; }
.vc-check__text { font-size: 15px; line-height: 1.3; }
.vc-damage-detail { margin-top: 4px; }

/* Segmented control — fuel (E / ½ / F) and receipt (Y / N). One tap, gloved hands. */
.vc-seg { display: inline-flex; border: 2px solid var(--mid-gray, #9CA3AF); border-radius: 8px; overflow: hidden; }
.vc-seg__btn {
  min-width: 48px; min-height: 44px; padding: 0 12px; border: 0; background: #fff;
  font-size: 17px; font-weight: 600; color: var(--dark-gray, #374151); cursor: pointer;
}
.vc-seg__btn + .vc-seg__btn { border-left: 2px solid var(--mid-gray, #9CA3AF); }
.vc-seg__btn.is-on { background: var(--crimson, #8C0930); color: #fff; }
.vc-seg--small .vc-seg__btn { min-width: 40px; min-height: 40px; font-size: 15px; }

.vc-exp { display: grid; grid-template-columns: 2fr 1fr 70px auto; gap: 6px; margin-bottom: 6px; align-items: center; }
.vc-exp input { min-height: 40px; }
@media (max-width: 560px) {
  .vc-exp { grid-template-columns: 1fr 1fr; }
  .vc-exp__text { grid-column: 1 / -1; }
}

.vc-card { background: #fff; border: 1px solid var(--border, #E5E7EB); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.vc-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.vc-card__meta { font-size: 13px; color: var(--mid-gray, #9CA3AF); }
.vc-card__btn { margin-top: 0; }
.vc-new-btn { display: block; width: 100%; margin-top: 12px; text-align: center; }

/* The office excused this hold — said once, quietly, above the drop-off
   form, so a driver who stopped seeing the reminder knows why. */
.vc-excused { color: var(--mid-gray, #6B7280); font-style: italic; }
