.free-mot-results #results {
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mot-history-report {
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid rgba(34, 87, 122, 0.18);
  border-radius: 12px;
  background: #fff;
}

.mot-history-report__header {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #2c333e;
  color: #fff;
}

.mot-history-report__header > div:first-child > span,
.mot-history-report__section-heading > span,
.mot-history-report__footer > div > span {
  display: block;
  margin-bottom: 0.35rem;
  color: #91d37c;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mot-history-report__header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.mot-history-report__header p {
  max-width: 680px;
  margin: 0.55rem 0 0;
  color: #dce5eb;
  font-size: 0.86rem;
  line-height: 1.5;
}

.mot-history-report__registration {
  display: flex;
  min-width: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
}

.mot-history-report__registration span,
.mot-history-report__summary span,
.mot-history-report__grid article > span {
  display: block;
  color: #306386;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mot-history-report__registration span {
  color: #dce5eb;
}

.mot-history-report__registration strong {
  margin-top: 0.25rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mot-history-report__registration a {
  display: inline-flex;
  min-height: 38px;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 7px;
  background: #48a62c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.mot-history-report__registration a span {
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
}

.mot-history-report__registration a:hover,
.mot-history-report__registration a:focus {
  background: #22577a;
  color: #fff;
  text-decoration: none;
}

.mot-history-report__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(34, 87, 122, 0.18);
  background: rgba(72, 166, 44, 0.08);
}

.mot-history-report__summary > div {
  padding: 0.9rem 1.5rem;
}

.mot-history-report__summary > div + div {
  border-left: 1px solid rgba(34, 87, 122, 0.18);
}

.mot-history-report__summary strong {
  display: block;
  margin-top: 0.2rem;
  color: #0f4610;
  font-size: 1rem;
  font-weight: 900;
}

.mot-history-report__body {
  padding: 1.5rem;
}

.mot-history-report__section-heading {
  margin-bottom: 0.8rem;
}

.mot-history-report__section-heading--tests {
  margin-top: 2rem;
}

.mot-history-report__section-heading h3 {
  margin: 0;
  color: #172238;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mot-history-report__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d8e0e7;
  border-left: 1px solid #d8e0e7;
}

.mot-history-report__grid article {
  min-width: 0;
  padding: 0.8rem 1rem;
  border-right: 1px solid #d8e0e7;
  border-bottom: 1px solid #d8e0e7;
}

.mot-history-report__grid article strong {
  display: block;
  margin-top: 0.25rem;
  color: #172238;
  font-size: 0.9rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.mot-history-report__tests {
  display: grid;
  gap: 0.75rem;
}

.mot-history-report__test {
  overflow: hidden;
  border: 1px solid #d8e0e7;
  border-radius: 9px;
  background: #fff;
}

.mot-history-report__test summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  gap: 0.9rem;
  align-items: center;
  min-height: 66px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  list-style: none;
}

.mot-history-report__test summary::-webkit-details-marker {
  display: none;
}

.mot-history-report__test summary small,
.mot-history-report__test summary strong {
  display: block;
}

.mot-history-report__test summary small {
  color: #306386;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mot-history-report__test summary strong {
  margin-top: 0.2rem;
  color: #172238;
  font-size: 0.9rem;
  font-weight: 900;
}

.mot-history-report__result {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(72, 166, 44, 0.16);
  color: #0f4610;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mot-history-report__toggle {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(48, 99, 134, 0.14);
  color: #306386;
  transition: transform 160ms ease;
}

.mot-history-report__test[open] .mot-history-report__toggle {
  transform: rotate(180deg);
}

.mot-history-report__test-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid #d8e0e7;
  background: rgba(48, 99, 134, 0.04);
}

.mot-history-report__test-body .mot-history-report__grid {
  margin-top: 1rem;
  background: #fff;
}

.mot-history-report__comments {
  margin-top: 1rem;
}

.mot-history-report__comments h4 {
  margin: 0 0 0.65rem;
  color: #172238;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mot-history-report__comments article {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(250, 189, 0, 0.35);
  background: rgba(250, 189, 0, 0.18);
}

.mot-history-report__comments article + article {
  margin-top: 0.5rem;
}

.mot-history-report__comments article.is-dangerous {
  border-color: rgba(186, 26, 26, 0.3);
  background: rgba(186, 26, 26, 0.14);
}

.mot-history-report__comments article span {
  color: #785a00;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mot-history-report__comments article.is-dangerous span {
  color: #ba1a1a;
}

.mot-history-report__comments p {
  margin: 0.25rem 0 0;
  color: #172238;
  font-size: 0.82rem;
  line-height: 1.5;
}

.mot-history-report__empty {
  margin: 0;
  padding: 1rem;
  border: 1px solid #d8e0e7;
  color: #526276;
}

.mot-history-report__footer {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem;
  border-top: 0;
  background: #2c333e;
}

.mot-history-report__footer p {
  margin: 0;
  color: #dce5eb;
  font-size: 0.84rem;
  line-height: 1.5;
}

.mot-history-report__footer a {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 7px;
  background: #48a62c;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.mot-history-report__footer a:hover,
.mot-history-report__footer a:focus {
  background: #22577a;
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .mot-history-report__header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 575.98px) {
  .mot-history-report {
    margin-right: -1rem;
    margin-left: -1rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .mot-history-report__header,
  .mot-history-report__body {
    padding: 1.1rem;
  }

  .mot-history-report__summary > div {
    padding: 0.8rem 1rem;
  }

  .mot-history-report__grid {
    grid-template-columns: 1fr;
  }

  .mot-history-report__test summary {
    grid-template-columns: minmax(0, 1fr) auto 28px;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  .mot-history-report__result {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mot-history-report__footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 1.1rem;
  }
}
