@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #202329;
  background: #f5f6f7;
  font-size: 16px;
  line-height: 1.5;
  --yellow: #ffcc00;
  --graphite: #202329;
  --surface-neutral: #f3f4f6;
  --border: #dce0e3;
  --muted: #505963;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-text-size-adjust: 100%;
}
header {
  background: white;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1120px;
  margin: auto;
  padding: 12px 24px;
}
.header-inner img {
  width: 78px;
  height: 42px;
  object-fit: contain;
}
.header-inner > div {
  border-left: 1px solid var(--border);
  padding-left: 16px;
  display: grid;
}
.header-inner strong {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 680;
  letter-spacing: -0.025em;
}
.header-inner span,
small,
dt {
  font-size: 13px;
  color: var(--muted);
}
.header-inner button {
  margin-left: auto;
  font-size: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}
main {
  max-width: 1030px;
  margin: clamp(22px, 5vw, 68px) auto;
  padding: 0 24px;
  min-height: 68vh;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.048em;
}
h2 {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.034em;
}
h3 {
  font-size: 18px;
}
p {
  color: var(--muted);
  max-width: 66ch;
}
.eyebrow {
  color: #626972;
  font-size: 12px;
  font-weight: 730;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.case-head > div,
.entry-form,
form,
.card,
.capture,
.compare,
.choice {
  display: grid;
  gap: 15px;
}
.case-head p span {
  color: #83858a;
}
.case-head > svg {
  width: 42px;
  height: 42px;
  color: #555c63;
}
.entry {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
}
.entry-photo {
  min-height: 420px;
  position: relative;
  background: #202329;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.entry-photo:after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, transparent 10%, rgba(8, 12, 17, 0.86));
  z-index: -1;
}
.entry-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.entry-photo div {
  color: white;
  max-width: 13em;
}
.entry-photo span {
  display: block;
  color: var(--yellow);
  margin-bottom: 10px;
  font-weight: 700;
}
.entry-form {
  align-content: center;
  padding: clamp(24px, 4vw, 48px);
}
.entry-form .secondary {
  justify-self: start;
}
.plate-input {
  letter-spacing: 0.12em;
  font-size: 22px;
  font-weight: 700;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(20px, 3.2vw, 36px);
  margin: 16px 0;
  box-shadow: 0 5px 22px #1f263008;
  align-items: start;
}
.compact {
  padding: 18px 24px;
}
.login {
  max-width: 470px;
  margin: 8vh auto;
}
.login > svg,
.receipt > svg,
.card > svg {
  width: 28px;
  height: 28px;
}
.pill,
.notice {
  border: 1px solid var(--border);
  background: white;
  color: var(--graphite);
  border-radius: 9px;
}
.pill {
  padding: 5px 10px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 650;
}
.notice {
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  background: var(--surface-neutral);
  overflow-wrap: anywhere;
}
.notice strong,
.receipt-number strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.025em;
}
.buttons,
.progress,
.ivc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
button,
.upload,
.evidence a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 680;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: #1d2024;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
}
button svg,
.upload svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
button:disabled,
.disabled {
  opacity: 1;
  background: #e6e8eb;
  color: #59616b;
  border-color: #d3d7dc;
  cursor: default;
}
button:not(:disabled):hover,
.upload:focus-within {
  border-color: var(--graphite);
}
.secondary,
.back,
.ivc-link,
.evidence a {
  background: white;
  border-color: #c7cdd1;
}
.back {
  min-height: 44px;
  padding: 0 8px 0 0;
  gap: 4px;
  margin-bottom: 12px;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 560;
}
.back .back-chevron {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}
.card > button,
.capture > button,
.ivc-actions > button,
.card > .upload {
  justify-self: start;
}
label {
  display: grid;
  gap: 5px;
  color: #32383e;
  font-size: 15px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  min-height: 45px;
  font: inherit;
  font-size: 16px;
  font-weight: 450;
  color: #171a1e;
  background: white;
  border: 1px solid #aeb7bf;
  border-radius: 9px;
  padding: 9px 12px;
}
input[type='checkbox'] {
  width: 19px;
  min-height: 19px;
  accent-color: var(--yellow);
  flex-shrink: 0;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.upload {
  position: relative;
  overflow: hidden;
}
.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
textarea {
  min-height: 74px;
}
:focus-visible {
  outline: 2px solid var(--graphite);
  outline-offset: 3px;
}
.upload:focus-within {
  outline: 2px solid var(--graphite);
  outline-offset: 3px;
}
.receipt strong,
.contract,
code {
  overflow-wrap: anywhere;
}
.receipt strong {
  font-variant-numeric: tabular-nums;
}
.receipt-number {
  display: grid;
  gap: 3px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-neutral);
}
.receipt > svg,
.progress svg {
  background: var(--graphite);
  color: var(--yellow);
  border-radius: 6px;
  padding: 5px;
}
.progress svg {
  width: 26px;
  height: 26px;
}
.progress {
  justify-content: space-between;
}
.progress span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.progress strong {
  font-size: 14px;
}
progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #e3e6ea;
  accent-color: var(--yellow);
}
progress::-webkit-progress-bar {
  background: #e3e6ea;
}
progress::-webkit-progress-value {
  background: var(--yellow);
  border-radius: 999px;
}
progress::-moz-progress-bar {
  background: var(--yellow);
}
.guide,
.preview,
.ivc-live video {
  max-height: 330px;
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #202326;
}
.moto-guide {
  margin: 0;
  border: 1px solid #343a42;
  border-radius: 12px;
  background: #20252b;
  color: #fff;
  padding: 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.photo-guide {
  display: grid;
  margin: 0;
  gap: 7px;
}
.photo-guide figcaption {
  color: var(--muted);
  font-size: 14px;
}
.login-vehicle {
  display: grid;
  gap: 6px;
}
.catalog-search {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.fipe-summary {
  display: grid;
  gap: 3px;
  background: var(--surface-neutral);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.fipe-summary div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 15px;
  flex-wrap: wrap;
}
.fipe-summary span,
.fipe-pending {
  font-size: 14px;
  color: var(--muted);
}
.fipe-summary strong {
  font-variant-numeric: tabular-nums;
}
.compact-fipe {
  max-width: 37em;
}
.catalog-filter {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
}
.catalog-filter label:first-child {
  flex: 2 1 210px;
}
.catalog-filter label {
  flex: 1 1 108px;
}
.catalog-filter button {
  width: auto;
}
.catalog-source {
  font-weight: 670;
}
.catalog-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.catalog-rows li,
.catalog-pages,
.model-acceptance {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.catalog-rows li {
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 11px 0;
}
.catalog-rows li div {
  display: grid;
  min-width: 0;
}
.catalog-rows li > strong,
.model-acceptance > strong {
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
}
.model-acceptance {
  font-size: 14px;
  gap: 6px 10px;
  color: var(--graphite);
}
.model-acceptance p {
  flex-basis: 100%;
}
.archive-body {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}
.archive-body .contract {
  white-space: pre-line;
}
.digest {
  overflow-wrap: anywhere;
}
.catalog-pages button {
  width: auto;
}
.moto-guide canvas {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}
.moto-guide figcaption {
  font-size: 14px;
  text-align: center;
}
.ivc-live {
  position: relative;
}
.ivc-live-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  background: #191b1ede;
  border-radius: 6px;
  padding: 3px 8px;
}
.ivc-reticle {
  position: absolute;
  inset: 12% 14%;
  border: 2px dashed var(--yellow);
  border-radius: 12px;
  pointer-events: none;
}
.ivc-camera {
  display: grid;
  gap: 10px;
}
.ivc-video-time {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ivc-video-time .ivc-recording { color: var(--graphite); font-weight: 620; }
.ivc-video-time progress { grid-column: 1 / -1; height: 5px; }
.steps,
.fields,
.evidence,
.choice {
  min-width: 0;
}
.row,
.case-row,
.log {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 13px 2px;
  width: 100%;
  text-align: left;
}
.case-row small {
  display: block;
  font-weight: 450;
}
.case-row span {
  font-size: 13px;
  margin-left: auto;
}
.case-row .case-destination { display: grid; gap: 2px; }
.case-destination strong { font-size: 14px; color: var(--graphite); }
.start-steps { display: grid; gap: 8px; margin: 0; padding-left: 24px; color: var(--graphite); }
.start-steps li::marker { color: var(--muted); font-weight: 650; }
.signature-hint { font-size: 14px; line-height: 1.45; color: var(--muted); }
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.fields div {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
dd {
  margin: 2px 8px 0 0;
  font-weight: 640;
  overflow-wrap: anywhere;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.review-grid > div {
  min-width: 0;
}
.review-grid h3,
.compare {
  margin-bottom: 10px;
}
.evidence img,
.evidence video {
  width: 100%;
  max-height: 225px;
  object-fit: contain;
  background: #1e2226;
  border-radius: 8px;
}
.evidence a:has(img) {
  display: block;
  padding: 0;
  border: 0;
}
.compare {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  gap: 6px;
}
.compare code {
  font-weight: 700;
}
.compare mark {
  background: var(--yellow);
  color: var(--graphite);
  border-radius: 3px;
  outline: 1px solid var(--graphite);
  padding: 0 0.11em;
  font-weight: 800;
}
.contract {
  white-space: pre-line;
  background: #f5f6f7;
  padding: 18px;
  border-radius: 12px;
}
.log {
  font-size: 14px;
}
.log time {
  color: #565d64;
}
.notice p {
  color: inherit;
}
.ivc-error,
[role='alert'] {
  border: 1px solid #ecc1bc;
  background: #fff4f1;
  color: #852c22;
  border-radius: 10px;
  padding: 12px;
}
summary {
  cursor: pointer;
  font-weight: 650;
  padding: 7px 0;
}
details[open] > summary {
  margin-bottom: 12px;
}
footer {
  max-width: 1030px;
  margin: 32px auto;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
@media (max-width: 690px) {
  main {
    padding: 0 14px;
  }
  .header-inner {
    padding: 10px 14px;
    gap: 10px;
  }
  .header-inner > div {
    padding-left: 10px;
  }
  .header-inner img {
    width: 63px;
    height: 36px;
  }
  .entry,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .entry-photo {
    min-height: 165px;
    padding: 18px 22px;
  }
  .entry-photo div {
    max-width: 100%;
  }
  .entry-photo h1 {
    font-size: 31px;
  }
  .entry-form {
    padding: 22px;
  }
  .case-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .capture > button,
  .ivc-actions > button.ivc-primary,
  .capture .buttons > button:first-child {
    width: 100%;
  }
  .header-inner button {
    padding: 8px 10px;
    font-size: 14px;
  }
  .compact {
    padding: 16px;
  }
  .case-row {
    flex-wrap: wrap;
  }
  .case-row span {
    margin-left: 0;
  }
  .case-row svg {
    margin-left: auto;
  }
  .fields {
    gap: 6px;
  }
  .log {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .card {
    border-radius: 15px;
  }
}

/* A única coluna de leitura acompanha o veículo do documento até o protocolo. */
main:has(.customer-journey) {
  max-width: 848px;
  margin-top: clamp(12px, 3vw, 40px);
}
.customer-journey .vehicle-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 8px;
  margin: 0;
}
.vehicle-head > .vehicle-identity { gap: 8px; }
.vehicle-head h1 {
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.vehicle-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 14px;
}
.vehicle-head .vehicle-meta span { color: var(--muted); }
.vehicle-head .vehicle-meta .vehicle-plate {
  padding: 1px 7px;
  border: 1px solid #b7bec5;
  border-radius: 4px;
  background: #fff;
  color: var(--graphite);
  font: 650 13px/1.45 ui-monospace, 'SFMono-Regular', Menlo, monospace;
  letter-spacing: .045em;
}
.vehicle-meta span:nth-child(3) {
  padding-left: 10px;
  border-left: 1px solid #c4c9cf;
  line-height: 1.15;
}
.vehicle-head > .vehicle-context {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 16px;
}
.vehicle-context .pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: normal;
  background: transparent;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.vehicle-context .pill::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  background: #687380;
  border-radius: 50%;
}
.vehicle-context .pill[data-status='aprovada-homologacao']::before { background: #197048; }
.vehicle-context .pill[data-status='recusada']::before { background: #a94233; }
.customer-journey summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 560;
  list-style: none;
}
.customer-journey summary::-webkit-details-marker { display: none; }
.customer-journey summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: 0 3px 3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  flex: none;
}
.customer-journey details[open] > summary::after { transform: rotate(225deg); }
.quote-details {
  margin-left: auto;
  color: var(--muted);
}
.quote-details[open] {
  flex-basis: 100%;
  min-width: 0;
}
.quote-details[open] > div { margin-bottom: 12px; }
.customer-journey .card {
  gap: 16px;
  margin: 12px 0;
  padding: clamp(20px, 3.2vw, 32px);
  border-radius: 16px;
  box-shadow: 0 3px 12px #20232905;
}
.customer-journey .card h2 {
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 680;
  letter-spacing: -.04em;
  line-height: 1.14;
  text-wrap: balance;
}
.customer-journey label:not(.upload) { font-weight: 550; }
.customer-journey p { line-height: 1.5; }
.customer-journey button, .customer-journey .upload { font-weight: 640; }
.customer-journey .upload, .customer-journey button:not(.row) { min-height: 48px; }
.customer-journey .card.compact {
  display: block;
  padding: 0 clamp(20px, 3.2vw, 32px);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.customer-journey .compact[open] { padding-bottom: 16px; }
.capture-progress { display: grid; gap: 8px; }
.capture-progress .progress {
  min-height: 23px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.capture-progress .progress svg {
  width: 17px;
  height: 17px;
  padding: 0;
  border-radius: 0;
  color: var(--muted);
  background: none;
}
.capture-progress strong {
  font-size: inherit;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.capture-progress progress { height: 4px; }
.capture-instructions { display: grid; gap: 6px; }
.capture-card > details {
  margin-top: 2px;
  border-top: 1px solid var(--border);
}
.capture .photo-guide figcaption {
  font-size: 13px;
  line-height: 1.4;
}
.capture .ivc-live video { display: block; }
.capture .ivc-live-indicator { z-index: 1; }
.capture[data-identification="true"] .ivc-reticle { inset: 32.5% 15%; border-radius: 6px; }
.identity-photo { display: grid; gap: 8px; }
.identity-photo p { margin: 0; color: var(--muted); font-size: 14px; }
.identity-photo-options {
  display: inline-flex; justify-self: start; padding: 3px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface-neutral);
}
.identity-photo-options button {
  min-height: 44px; padding: 0 12px; background: transparent; color: var(--muted);
  border: 0; border-radius: 7px; box-shadow: none;
}
.identity-photo-options button[aria-pressed="true"] { background: var(--graphite); color: #fff; }
.identity-photo .preview[hidden] { display: none; }
.capture-light {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-neutral);
}
.capture-light p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.capture-light p svg { flex: none; margin-top: 1px; }
.capture-light button.secondary { margin-top: 8px; min-height: 44px; }
.capture-light button[data-active="true"] { background: var(--graphite); color: #fff; }
.capture-light small { display: block; margin-top: 6px; color: var(--muted); }
.inspection-help { border-top: 1px solid var(--border); }
.customer-journey .inspection-help > summary {
  color: var(--muted);
  min-height: 48px;
}
.inspection-help > summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inspection-help > summary svg { flex: none; }
.customer-journey .inspection-help[open] > summary { margin-bottom: 4px; }
.inspection-questions {
  padding: 0 14px;
  background: var(--surface-neutral);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.inspection-questions > details + details { border-top: 1px solid var(--border); }
.customer-journey .inspection-questions summary { min-height: 48px; }
.customer-journey .inspection-questions details[open] > summary { margin: 0; }
.inspection-questions p, .device-help {
  margin: 0;
  padding: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}
.device-help { display: grid; gap: 12px; }
.device-help label { display: grid; gap: 4px; color: var(--graphite); font-size: 14px; }
.device-help select { -webkit-appearance: none; appearance: none; min-height: 44px; width: 100%; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
.customer-journey .device-help p { padding: 0; margin: 0; font-size: 14px; line-height: 1.5; font-weight: 400; }
.customer-journey .device-help p + p { margin-top: 8px; color: var(--muted); }
.customer-journey .permission-help { padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-neutral); }
.customer-journey .permission-help > summary { min-height: 48px; }
.capture .permission-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.receipt-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--graphite);
  font-weight: 640;
  text-underline-offset: 3px;
}
.receipt-actions .receipt-link {
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--graphite);
  border-radius: 10px;
  color: white;
  background: var(--graphite);
  text-decoration: none;
}
.receipt-actions .receipt-link:hover { text-decoration: underline; }
.correction-notice p { margin-top: 4px; }
.document-upload { display: grid; justify-items: start; gap: 8px; }
.document-upload small { color: var(--muted); }
.document-upload .ivc-camera, .document-photo { width: 100%; }
.document-upload .ivc-live video { display: block; }
.document-upload .ivc-camera-launch { background: white; border-color: #c7cdd1; }
.document-photo { display: grid; gap: 12px; }
.customer-journey .signature-card { gap: 20px; }
.signature-card .contract-paper {
  display: grid;
  gap: 6px;
  padding: 0;
  background: transparent;
}
.contract-paper > p { white-space: pre-line; }
.contract-details { border-bottom: 1px solid var(--border); }
.contract-details summary { color: var(--muted); }
.contract-paper .contract-identification {
  max-width: none;
  padding: 12px 16px;
  border-left: 2px solid #a9b0b7;
  background: #f5f6f7;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  white-space: pre-line;
}
.signature-card .checkbox {
  align-items: flex-start;
  min-height: 44px;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.signature-card input[type='checkbox'] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1.5px solid #687380;
  border-radius: 5px;
  margin: 2px 0 0;
}
.signature-card input[type='checkbox']:checked {
  background: var(--yellow);
  border-color: var(--graphite);
}
.signature-card input[type='checkbox']:checked::after {
  content: '';
  width: 5px;
  height: 10px;
  margin-top: -3px;
  border: solid var(--graphite);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (forced-colors: active) {
  .signature-card input[type='checkbox'] { appearance: auto; }
  .signature-card input[type='checkbox']:checked::after { content: none; }
}
.receipt-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--yellow);
  background: var(--graphite);
}
.receipt-number { gap: 5px; padding: 14px 16px; }
.receipt-number strong {
  font: 620 clamp(15px, 2.3vw, 19px)/1.4 ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
.reading-items {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.reading-items li { display: grid; justify-items: start; gap: 8px; }
.reading-items li + li { padding-top: 12px; border-top: 1px solid var(--border); }
.reading-resume {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.document-ack { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--muted); font-size: 14px; }
.document-ack svg { flex: none; }
.customer-journey .chassis-help { margin: 0; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-neutral); }
.chassis-help p { padding: 0 0 12px; font-size: 14px; }
.access-help { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.access-help summary { min-height: 44px; padding: 12px 0 8px; cursor: pointer; font-weight: 560; }
.access-help p { margin-top: 4px; line-height: 1.5; }
@media (min-width: 740px) {
  body:has(.customer-journey) .header-inner, body:has(.customer-journey) footer { max-width: 848px; }
  .customer-journey .vehicle-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 24px;
    margin-bottom: 20px;
  }
  .vehicle-head:has(.quote-details[open]) { display: block; }
  .vehicle-head:has(.quote-details[open]) .vehicle-context { margin-top: 8px; }
  .capture.with-guide {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: 32px;
    align-content: start;
    align-items: start;
  }
  .capture.with-guide > figure { grid-column: 2; grid-row: 1 / span 4; }
  .capture.with-guide > :not(figure) { grid-column: 1; }
  .capture.with-guide > button { margin-top: 4px; }
}
@media (max-width: 690px) {
  main:has(.customer-journey) { margin-top: 4px; }
  .back:has(+ .customer-journey) { margin-bottom: 2px; }
  .customer-journey .vehicle-head { gap: 2px; }
  .customer-journey .card { margin-top: 4px; }
  .customer-journey .card.compact { margin-top: 0; }
  .document-upload .upload, .customer-journey .card > button { width: 100%; }
  .customer-journey .capture-card { gap: 16px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header-inner > div { padding-left: 8px; }
  .header-inner img { width: 55px; }
  .header-inner span { font-size: 12px; }
}
@media (hover: hover) {
  .back:hover, .customer-journey summary:hover { color: #161a1e; text-decoration: underline; }
  button:not(:disabled):active, .upload:not(.disabled):active { transform: translateY(1px); }
}
@media (prefers-reduced-motion: no-preference) {
  button, .upload { transition: border-color 120ms, box-shadow 120ms; }
}
