/* Checker: "from → to" on one row, then a tinted verdict card. */
.tool-form.compact-form {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.compact-arrow {
  padding-bottom: 14px;
  color: #a4a7ae;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 560px) {
  .tool-form.compact-form {
    grid-template-columns: 1fr;
  }

  .compact-arrow {
    display: none;
  }
}

body.guide-page .tool-result {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

.verdict {
  padding: 18px 20px;
  border: 1px solid #e9eaeb;
  border-left: 4px solid #a4a7ae;
  border-radius: 10px;
  background: #fafafa;
}

.verdict-good { border-left-color: #079455; background: #f6fef9; }
.verdict-warn { border-left-color: #dc6803; background: #fffaeb; }

.verdict > * + * {
  margin-top: 10px;
}

.verdict-head {
  margin: 0;
}

body.guide-page .guide-article .verdict h3 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.verdict p {
  margin: 0;
  color: #535862;
  font-size: 15px;
}

.verdict-facts {
  display: grid;
  gap: 8px 0;
  margin: 12px 0 0;
  font-size: 15px;
}

.verdict-facts > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
}

.verdict-facts dt {
  color: #717680;
  font-weight: 500;
}

.verdict-facts dd {
  margin: 0;
  color: #181d27;
}

@media (max-width: 560px) {
  .verdict-facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .verdict-facts dt {
    font-size: 13px;
  }
}

.verdict-note,
.verdict p.verdict-note {
  margin-top: 14px;
  color: #717680;
  font-size: 12.5px;
}

/* Counseling Compact tile map. One square per jurisdiction. Status is shown
   by fill plus a second cue: a dot for issuing states, an arrow and outline
   for apply-out-only states, a hairline outline and no fill for non-members.
   The table below the map holds the same information. */
.compact-map {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
}

.compact-map figcaption {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.tile-map {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-article .tile-map li {
  margin: 0;
}

.tile {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.tile b {
  position: absolute;
  top: 3px;
  right: 4px;
  font-size: 8px;
}

.tile-live { color: #fff; background: #11704f; }
.tile-outbound { color: #11704f; background: #e3f6ec; box-shadow: inset 0 0 0 2px #11704f; }
.tile-member { color: #3b3591; background: #dcd9fb; }
.tile-none { color: #5f6880; background: transparent; box-shadow: inset 0 0 0 1px #8a93a8; border: 0; }
.tile-key.tile-none { box-shadow: inset 0 0 0 1px #8a93a8; }
.tile-key.tile-outbound b { color: #11704f; }

.tile-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--guide-muted);
  font-size: 13px;
}

.guide-article .tile-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.tile-key {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.tile-key b {
  position: absolute;
  top: 0;
  right: 2px;
  color: #fff;
  font-size: 7px;
}

@media (max-width: 520px) {
  .tile {
    font-size: 9px;
    border-radius: 4px;
  }

  .tile b {
    top: 1px;
    right: 2px;
    font-size: 6px;
  }
}

/* Wide tables on phones: say so above the table, where it is seen first. */
.table-hint {
  display: none;
  margin: 0 0 8px;
  color: #717680;
  font-size: 13px;
}

@media (max-width: 560px) {
  .table-hint {
    display: block;
  }
}
