.sl-opt-state-picker,
.sl-opt-quick-links {
  max-width: 1180px;
  margin: 1.5rem auto;
  padding: 1.25rem;
  color: #132c47;
  background: #f7fbff;
  border: 1px solid #d8e6f8;
  border-radius: 1rem;
}

.sl-opt-directory {
  max-width: 1180px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.sl-opt-directory > p {
  max-width: 760px;
  margin: 0 auto 1rem;
  color: #2f4f78;
}

.sl-opt-directory .sl-opt-state-picker { margin-top: 1rem; }

.sl-opt-map__canvas {
  width: 100%;
  height: 430px;
  margin-top: 1.25rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #eaf3fc;
}

.sl-opt-map__canvas .leaflet-control-attribution { font-size: 11px; }

.sl-opt-map__fallback { padding: 1rem; color: #132c47; }

.sl-opt-state-links {
  max-width: 1180px;
  margin: 2rem auto;
  padding: 1.25rem;
  color: #132c47;
  background: #f7fbff;
  border: 1px solid #d8e6f8;
  border-radius: 1rem;
}

.sl-opt-state-links h3 { margin: 0 0 1rem; }
.sl-opt-state-links ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sl-opt-state-links a { display: inline-block; padding: .3rem 0; color: #135784; text-decoration: underline; }
.sl-opt-state-links a:focus-visible { outline: 3px solid #155eaa; outline-offset: 3px; }

.sl-opt-state-picker label {
  display: block;
  margin-bottom: .55rem;
  font-weight: 700;
}

.sl-opt-state-picker__row {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.sl-opt-state-picker__select {
  flex: 1 1 230px;
  min-width: 0;
  min-height: 48px;
  padding: .6rem .8rem;
  border: 1px solid #5b7289;
  border-radius: .5rem;
  color: #132c47;
  background: #fff;
  font: inherit;
}

.sl-opt-state-picker__go,
.sl-opt-cost__link {
  display: inline-block;
  min-height: 44px;
  box-sizing: border-box;
  padding: .65rem 1rem;
  border-radius: .55rem;
  color: #fff;
  background: #163245;
  font-weight: 700;
  text-decoration: none;
}

.sl-opt-state-picker__go[hidden] { display: none; }

.sl-opt-state-picker__go:hover,
.sl-opt-cost__link:hover { color: #fff; background: #0b526b; }

.sl-opt-state-picker :focus-visible,
.sl-opt-quick-links :focus-visible,
.sl-opt-cost :focus-visible {
  outline: 3px solid #155eaa;
  outline-offset: 3px;
}

.sl-opt-quick-links h2 { margin: 0 0 1rem; }

.sl-opt-quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sl-opt-quick-links__card {
  display: block;
  padding: 1.25rem;
  border: 1px solid #bbd3ec;
  border-radius: .75rem;
  background: #fff;
  color: #132c47;
  text-decoration: none;
}

.sl-opt-quick-links__card:hover { border-color: #155eaa; background: #eef7ff; }
.sl-opt-quick-links__card h3 { margin: 0 0 .6rem; color: #132c47; }
.sl-opt-quick-links__card p { margin: 0 0 .8rem; padding: 0; color: #2f4f78; }
.sl-opt-quick-links__card span { font-weight: 700; text-decoration: underline; }

body.sl-opt-cost-ready #price-result {
  opacity: 1;
  transform: none;
  transition: none;
}

.sl-opt-cost {
  margin: 1rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid #bed6e8;
  border-radius: .7rem;
  background: #f4faff;
  color: #132c47;
}

.sl-opt-cost h3 { margin: 0 0 .75rem; color: #132c47; }
.sl-opt-cost h4 { margin: 1rem 0 .5rem; color: #132c47; }
.sl-opt-cost p { margin: .5rem 0; padding: 0; opacity: 1; }
.sl-opt-cost li { margin-bottom: .5rem; }
.sl-opt-cost__error { color: #8a1f16; font-weight: 700; }
.sl-opt-cost__note { border-left: 3px solid #e3a334; padding-left: .75rem !important; }

.sl-opt-cost-guide .estimator-header h1 {
  color: #132c47;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
}
.sl-opt-cost-guide__static {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  color: #132c47;
}
.sl-opt-cost-guide__static h2 { margin: 0 0 .75rem; }
.sl-opt-cost-guide__static li { margin-bottom: .5rem; }
.sl-opt-cost-guide .form-group small { display: block; margin-top: .4rem; line-height: 1.45; }
.sl-opt-cost-guide #tooth-range { width: 100%; }
.sl-opt-cost-guide button:focus-visible,
.sl-opt-cost-guide select:focus-visible,
.sl-opt-cost-guide a:focus-visible {
  outline: 3px solid #155eaa;
  outline-offset: 3px;
}

@media (max-width: 760px) {
	.sl-opt-state-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sl-opt-quick-links__grid { grid-template-columns: 1fr; }
  .sl-opt-state-picker__go { width: 100%; text-align: center; }
  body.home .directory-btn a { display: inline-block; padding: .6rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sl-opt-state-picker *, .sl-opt-quick-links *, .sl-opt-cost * {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
  }
}
