/* ============================================================================
   THE TWO CHECKS — service area, and local presence.

   This sheet adds no colours, no radii and no type sizes of its own. Every
   value below is a token already declared in fullstyle.css, so the two checks
   wear the site rather than a look invented for them. It is loaded after
   fullstyle.css and only on the two pages that carry a check.

   No motion is declared here at all, which is why there is no reduced-motion
   block: there is nothing to reduce. If motion is ever added, it needs one.
   ========================================================================= */

/* ------------------------------------------------------- the service check */
.sa {
  max-width: 640px;
}

.sa__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.sa__label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.sa__input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sa__input::placeholder { color: var(--gray-3); }

.sa__input:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  border-color: var(--paper);
}

.sa__go { min-height: 48px; white-space: nowrap; }

.sa__answer { margin-top: 14px; }

.sa__answer:empty { display: none; }

.sa__line {
  margin: 0 0 6px;
  color: var(--gray-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* the verdict carries a rule at its left rather than a colour, so it still
   reads as the answer with colour removed and in high contrast */
.sa__line--yes,
.sa__line--no {
  color: var(--paper);
  font-weight: 700;
  padding-left: 12px;
  border-left: 3px solid var(--paper);
}

.sa__line--no { border-left-color: var(--gray-3); }

.sa__link { color: var(--paper); }

@media (max-width: 560px) {
  .sa__form { grid-template-columns: 1fr; }
  .sa__go { width: 100%; }
}

/* ------------------------------------------------------ the presence check */
.local-scan-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.local-scan-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.local-scan-form input[type="text"],
.local-scan-form input[type="email"],
.local-scan-form input[type="tel"],
.local-scan-form select,
.local-scan-form textarea {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.local-scan-form textarea { min-height: 84px; resize: vertical; line-height: 1.5; }

.local-scan-form input::placeholder,
.local-scan-form textarea::placeholder { color: var(--gray-3); }

.local-scan-form input:focus-visible,
.local-scan-form select:focus-visible,
.local-scan-form textarea:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  border-color: var(--paper);
}

.ls-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 4px 0 0;
  display: grid;
  gap: 12px;
}

.ls-group > legend {
  padding: 0 6px;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ls-note {
  margin: 0;
  color: var(--gray-3);
  font-size: 0.85rem;
  line-height: 1.55;
}

.ls-add {
  justify-self: start;
  min-height: 44px;
}
