.atvv-query-page .container.prose {
  width: min(100% - (2 * var(--gutter, 24px)), 1180px);
  max-width: 1180px;
}

.atvv-query-page main .container.prose > h1 {
  max-width: 980px;
  margin-bottom: 34px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
}

.atvv-query-page .atvv-heading h2 {
  display: none;
}

.atvv-app {
  --atvv-carbon: var(--carbon, #151515);
  --atvv-ink: var(--ink, #242421);
  --atvv-muted: var(--muted, #6e6c64);
  --atvv-sand: var(--sand, #d7be91);
  --atvv-signal: var(--signal, #f26a21);
  --atvv-paper: var(--paper, #fffdf8);
  --atvv-off-white: var(--off-white, #f4f1ea);
  --atvv-line: var(--line, rgba(21, 21, 21, 0.16));
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--atvv-ink);
  font-family: var(--body, Inter, "Helvetica Neue", Arial, sans-serif);
}

.atvv-app *,
.atvv-app *::before,
.atvv-app *::after {
  box-sizing: border-box;
}

.atvv-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.atvv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--atvv-signal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.atvv-eyebrow::before {
  width: 42px;
  height: 2px;
  background: currentColor;
  content: "";
}

.atvv-heading h2 {
  margin: 12px 0 14px;
  color: var(--atvv-carbon);
  font-family: var(--display, "Arial Narrow", Impact, sans-serif);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.atvv-heading p {
  margin: 0;
  color: var(--atvv-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.atvv-query-form {
  position: relative;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--atvv-line);
  background: var(--atvv-carbon);
  color: #fff;
  box-shadow: 0 24px 60px rgba(18, 18, 17, 0.13);
}

.atvv-query-form > label {
  display: block;
  margin-bottom: 10px;
  color: var(--atvv-sand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.atvv-query-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.atvv-query-row input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

.atvv-query-row input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.atvv-query-row input:focus {
  border-color: var(--atvv-signal);
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.22);
}

.atvv-query-row button {
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--atvv-signal);
  border-radius: 0;
  background: var(--atvv-signal);
  color: #151515;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.atvv-query-row button:hover,
.atvv-query-row button:focus-visible {
  border-color: #fff;
  background: #fff;
}

.atvv-form-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.atvv-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.atvv-result {
  margin-top: 26px;
}

.atvv-alert {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border-left: 5px solid currentColor;
  font-size: 15px;
}

.atvv-alert strong {
  font-size: 18px;
}

.atvv-alert--success {
  color: #15542d;
  background: #e8f5ec;
}

.atvv-alert--error,
.atvv-alert--revoked {
  color: #841f1a;
  background: #f9e9e7;
}

.atvv-alert--warning {
  color: #6f4a00;
  background: #fff4d4;
}

.atvv-result-card {
  margin-top: 16px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--atvv-line);
  background: var(--atvv-paper);
}

.atvv-result-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--atvv-line);
}

.atvv-result-card__header div {
  display: grid;
  gap: 4px;
}

.atvv-result-card__header div span {
  color: var(--atvv-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atvv-result-card__header div strong {
  color: var(--atvv-carbon);
  font-size: 28px;
}

.atvv-seal {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  place-items: center;
  border: 2px solid var(--atvv-signal);
  border-radius: 50%;
  color: var(--atvv-signal);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-align: center;
}

.atvv-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.atvv-data-grid > div {
  min-width: 0;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--atvv-line);
}

.atvv-data-grid > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--atvv-line);
}

.atvv-data-grid dt {
  margin: 0 0 6px;
  color: var(--atvv-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.07em;
}

.atvv-data-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--atvv-carbon);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.atvv-document-link a,
.atvv-vehicle-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  background: var(--atvv-signal);
  color: #151515;
  font-weight: 800;
  text-decoration: none;
}

.atvv-section-title {
  margin: 34px 0 22px;
  color: var(--atvv-carbon);
  font-size: clamp(22px, 3vw, 32px);
}

.atvv-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atvv-timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 13px;
  width: 2px;
  background: var(--atvv-line);
  content: "";
}

.atvv-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  min-height: 74px;
}

.atvv-timeline__marker {
  z-index: 1;
  display: block;
  width: 28px;
  height: 28px;
  border: 3px solid var(--atvv-paper);
  border-radius: 50%;
  background: #c9c7bf;
  box-shadow: 0 0 0 1px var(--atvv-line);
}

.atvv-timeline__item--complete .atvv-timeline__marker {
  background: #267447;
}

.atvv-timeline__item--current .atvv-timeline__marker {
  background: var(--atvv-signal);
  box-shadow: 0 0 0 5px rgba(242, 106, 33, 0.16);
}

.atvv-timeline__item div {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 2px 0 20px;
}

.atvv-timeline__item strong {
  color: var(--atvv-carbon);
  font-size: 17px;
}

.atvv-timeline__item span:not(.atvv-timeline__marker) {
  color: var(--atvv-muted);
  font-size: 13px;
}

.atvv-timeline__item--pending {
  opacity: 0.62;
}

.atvv-vehicle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.atvv-vehicle-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--atvv-line);
  background: var(--atvv-off-white);
}

.atvv-vehicle-card > span {
  width: max-content;
  padding: 3px 8px;
  background: var(--atvv-carbon);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.atvv-vehicle-card > strong {
  overflow-wrap: anywhere;
  font-size: 17px;
}

.atvv-vehicle-card > small {
  color: var(--atvv-muted);
}

.atvv-vehicle-card a {
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
}

.atvv-query-time {
  margin: 12px 0 0;
  color: var(--atvv-muted);
  font-size: 12px;
  text-align: right;
}

@media (max-width: 720px) {
  .atvv-query-row,
  .atvv-data-grid,
  .atvv-vehicle-list {
    grid-template-columns: 1fr;
  }

  .atvv-query-row button {
    width: 100%;
  }

  .atvv-data-grid > div,
  .atvv-data-grid > div:nth-child(even) {
    padding: 16px 0;
    border-left: 0;
  }

  .atvv-result-card__header {
    align-items: flex-start;
  }

  .atvv-seal {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
}
