/* Sebastian The Locksmith 1.3.0 — mobile service and MOT checker. */
.stlch-mot,
.stlch-mot * {
  box-sizing: border-box;
}

.stlch-mot {
  background: #fff;
  border: 1px solid var(--stl-border);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.08);
  color: var(--stl-text);
  font: 400 16px/1.55 Manrope, "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  margin-inline: auto;
  max-width: 980px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.stlch-mot h1,
.stlch-mot h2,
.stlch-mot h3 {
  color: var(--stl-heading);
  font-family: inherit;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
}

.stlch-mot header > p {
  max-width: 64ch;
}

.stlch-mot [hidden] {
  display: none !important;
}

.stlch-mot-result {
  border-top: 1px solid var(--stl-border);
  margin-top: 1rem;
  padding-top: 1.25rem;
}

.stlch-mot-result__heading {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.stlch-mot-result__heading h2 {
  font-size: clamp(1.55rem, 5vw, 2.35rem);
}

.stlch-mot-result__heading p {
  margin: 0.35rem 0 0;
}

.stlch-mot-status {
  background: #edf0eb;
  border-radius: 999px;
  color: #333;
  font-size: 0.72rem;
  padding: 0.45rem 0.7rem;
  text-transform: uppercase;
}

.stlch-mot-status.is-pass {
  background: #dcf5e6;
  color: #17633d;
}

.stlch-mot-status.is-fail {
  background: #fff0ee;
  color: #9b241b;
}

.stlch-mot-facts {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.25rem 0;
}

.stlch-mot-facts div {
  background: var(--stl-soft);
  border-radius: 12px;
  padding: 0.85rem;
}

.stlch-mot-facts dt {
  color: #687064;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stlch-mot-facts dd {
  color: var(--stl-heading);
  font-weight: 800;
  margin: 0.3rem 0 0;
}

.stlch-mot-history {
  margin: 1.4rem 0;
}

.stlch-mot-history h3 {
  margin-bottom: 0.75rem;
}

.stlch-mot-history details {
  border: 1px solid var(--stl-border);
  border-radius: 12px;
  margin-bottom: 0.55rem;
  padding: 0.75rem 0.9rem;
}

.stlch-mot-history summary {
  align-items: center;
  color: var(--stl-heading);
  cursor: pointer;
  display: flex;
  font-weight: 800;
  gap: 1rem;
  justify-content: space-between;
}

.stlch-mot-history summary small {
  color: #66705f;
  font-weight: 650;
}

.stlch-mot-history li,
.stlch-mot-history details p {
  font-size: 0.85rem;
}

.stlch-mot-source {
  color: #687064;
  font-size: 0.75rem;
  margin: 1rem 0 0;
}

.stlch-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.stlch-launcher__check {
  width: 100%;
}

.stlch-button--primary,
.stlch-button--primary:visited,
.stlch-button--primary:hover,
.stlch-progress li.is-active span,
.stlch-service-card.is-selected .stlch-service-card__check {
  color: #111 !important;
}

.stlch-service-card.is-selected {
  background: #fbffe8 !important;
}

.stlch-eyebrow,
.stlch-step__heading > span,
.stlch-progress li.is-active,
.stlch-policy a,
.stlch-auth-links a,
.stlch-link-button,
.stlch-offer-price,
.stlch-quote-card__price strong {
  color: #607900;
}

.stlch-staff-header .stlch-eyebrow {
  color: #ccff00;
}

@media (min-width: 560px) {
  .stlch-plate-row--launcher {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .stlch-launcher__check {
    height: 70px;
    width: auto;
  }

  .stlch-plate-row--launcher .stlch-plate {
    margin: 0;
  }
}

/* 1.3.0 final mobile contrast overrides (mobile.css loads after the main
   component sheet). */
.stlch-button--primary,.stlch-button--primary:visited{background:#b7e32b!important;border-color:#b7e32b!important;color:#10231a!important}
.stlch-button--primary:hover,.stlch-button--primary:focus-visible{background:#315e3e!important;border-color:#315e3e!important;color:#fff!important}
.stlch-progress li.is-active span{background:#b7e32b!important;color:#10231a!important}
.stlch-service-card.is-selected .stlch-service-card__check{background:#315e3e!important;color:#fff!important}
.stlch-eyebrow,.stlch-step__heading>span,.stlch-progress li.is-active,.stlch-policy a,.stlch-auth-links a,.stlch-link-button,.stlch-offer-price,.stlch-quote-card__price strong{color:#315e3e!important}
.stlch-staff-header .stlch-eyebrow{color:#d9f47b!important}

@media (max-width: 559px) {
  .stlch-mot-facts {
    grid-template-columns: 1fr;
  }

  .stlch-mot-result__heading {
    display: grid;
  }

  .stlch-mot-history summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .stlch-launcher__check {
    margin-top: 0.55rem;
  }
}
