/* Plan lookup rules build on the supplied site palette and fonts. */
.plan-check [hidden],
.pc-home [hidden] {
  display: none !important;
}

:is(.plan-check, .pc-home) :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.plan-check :is(.sponsor, nav.top, .foot) {
  font-size: 18px;
}

.plan-check .mark {
  display: inline-block;
  padding-block: 9px;
}

.plan-check nav.top {
  gap: 0 14px;
}

.plan-check .sponsor a:hover,
.plan-check .foot a:hover {
  color: white;
}

.plan-check .skip {
  z-index: 9;
}

.plan-check #main {
  overflow-wrap: anywhere;
}

:is(.plan-check, .pc-home) :is(input, button) {
  min-height: 48px;
  max-width: 100%;
  font: inherit;
  color: var(--char);
  background: var(--card);
  border: 1px solid var(--muted);
  border-radius: 5px;
  padding: 7px 12px;
}

:is(.plan-check, .pc-home) input {
  width: 100%;
}

.plan-check button {
  cursor: pointer;
  text-align: left;
}

.plan-check button:hover {
  background: var(--cream);
}

:is(.plan-check, .pc-home) :is(a, input, button):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

.plan-check #main:focus-visible,
.plan-check h1:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.pc-intro p,
.pc-company p {
  margin: .18em 0;
}

.pc-home.stat {
  color: var(--char);
  margin: 16px 0 6px;
}

.pc-home .big {
  margin-top: 0;
  font-size: 40px;
  line-height: 1.1;
}

@media (min-width: 700px) {
  .pc-home .big {
    font-size: 50px;
  }
}

.pc-home a {
  color: var(--char);
}

.pc-home label,
.pc-home #county-fallback {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: .55em 0 .2em;
  font-family: var(--head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .2px;
}

.plan-check main h2 {
  margin-top: .65em;
}

#no-county:empty {
  margin: 0;
}

.pc-counties,
.pc-options,
.pc-groups,
.pc-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-counties {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  column-gap: 12px;
}

.pc-options li {
  margin: 5px 0;
}

.plan-check .pc-options :is(button, a) {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .5em;
  width: fit-content;
}

.pc-plan-numbers,
.pc-identity {
  font-weight: bold;
}

.pc-number {
  margin: .5em 0 1em;
}

.pc-number > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-number input {
  flex: 1 1 150px;
  min-width: 0;
}

.pc-number button,
.pc-door {
  font-weight: bold;
}

.pc-phone a {
  white-space: nowrap;
}

.pc-contact {
  color: var(--navy-ink);
  background: var(--navy);
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
}

.pc-contact a,
.pc-contact a:hover {
  color: inherit;
}

.pc-answer + .pc-answer {
  margin-top: 24px;
  border-top: 1px solid var(--muted);
}
