.lg-frame { width: min(73rem, calc(100% - clamp(2rem, 7vw, 6rem))); margin-inline: auto; }
.lg-intro { padding: clamp(1.8rem, 4.3vw, 3.5rem) 0 1.2rem; }
.lg-intro h1, .lg-article h1 { color: #172c27; font-size: clamp(2.25rem, 4.9vw, 4rem); line-height: 1.04; letter-spacing: -.055em; }
.lg-intro p { max-width: 63ch; margin: .8rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; color: #40564e; }
/* Match the shipped controls at first paint; do not wait for the directory script. */
.lg-search { display: block; margin-bottom: 1.1rem; padding: clamp(.9rem, 1.8vw, 1.5rem); background: #edf1e9; border: 1px solid #c1cbbf; border-radius: 5px; }
.lg-search-grid { display: grid; grid-template-columns: 1.5fr 3.1fr; gap: .8rem; align-items: end; }
.lg-filter-options { min-width:0; }
.lg-filter-options summary { display:none; }
.lg-selects { display:grid; grid-template-columns:1fr 1fr 1.1fr; gap:.8rem; }
.lg-search label { display: block; min-width: 0; color: #253e32; font-size: .925rem; font-weight: 700; line-height: 1.4; }
.lg-search :is(input,select) { display: block; width: 100%; max-width: 100%; height: 46px; min-width: 0; margin: .35rem 0 0; padding: .49rem .7rem; border: 1px solid #929f93; border-radius: 3px; background-color: white; color:#172c27; font: inherit; font-size: 1rem; font-weight: 400; }
.lg-search select { padding-right: 1.5rem; }
.lg-search input::placeholder { color: #606e65; }
.lg-search :disabled { opacity: .6; }
.lg-search :is(input,select,button):focus-visible, .lg-frame :is(a,button,summary):focus-visible { outline: 3px solid #974a24; outline-offset: 2px; }
.lg-presets { display: flex; align-items: center; gap: .3rem 1.15rem; flex-wrap: wrap; margin-top: .7rem; }
.lg-presets a, .lg-clear, .lg-empty button { padding: .37rem 0; border: 0; background: none; cursor: pointer; color: #174c40; text-decoration: underline; text-underline-offset: .2em; font: inherit; font-size: .96rem; line-height: 1.4; }
.lg-clear { font-weight: 700; margin-left: auto; }
[data-local-directory] [hidden] { display: none !important; }
.lg-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem, 2vw, 1.6rem); margin: 1.4rem 0 1.8rem; }
.lg-features a { display: block; text-decoration: none; color: #172c27; }
.lg-features img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.lg-features .lg-place { margin: .65rem 0 .24rem; }
.lg-features strong { display: block; font-size: clamp(1.17rem, 1.65vw, 1.43rem); line-height: 1.22; letter-spacing: -.027em; text-wrap: balance; }
.lg-new h2 { margin: 1.7rem 0 .6rem; font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -.035em; }
.lg-new .lg-features { margin: .75rem 0; }
.lg-more summary { cursor: pointer; color: #174c40; font-weight: 700; min-height: 44px; padding: .75rem 0; }
.lg-more ul, .lg-state .lg-copy ul { padding-left: 1.2rem; }
.lg-more li { margin: .3rem 0 .6rem; }
.lg-more li a, .lg-state-nav a, .lg-state-start a, .lg-state .lg-copy a { text-decoration: underline; color: #174c40; text-underline-offset: .19em; }
.lg-state-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .1rem 1.2rem; border-top: 1px solid #bdc8bd; padding: .5rem 0; }
.lg-state-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.lg-state-start { margin: 0 0 .6rem; }
.lg-state .lg-copy ul { list-style: none; padding: 0; }
.lg-state .lg-copy li { border-left: 2px solid #b1c0aa; padding: .15rem .8rem; margin: .65rem 0; }
.lg-state .lg-copy li strong { display: block; font-size: .92rem; color: #526253; }
.lg-features a:hover strong, .lg-guide a:hover, .lg-next a:hover { text-decoration: underline; text-underline-offset: .16em; }
.lg-place { display: block; margin: 0 0 .2rem; font-size: .92rem; line-height: 1.35; color: #526253; font-weight: 700; }
.lg-results { border-top: 1px solid #bdc8bd; padding: 1.2rem 0 .35rem; margin: 0; font-size: 1rem; line-height: 1.45; color: #40564e; }
.lg-country { margin: 1.25rem 0 2.25rem; }
.lg-country h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: .65rem; margin: 0 0 .8rem; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.18; letter-spacing: -.041em; }
.lg-country h2 small, .lg-region summary small { font-size: .92rem; font-weight: 400; letter-spacing: 0; color: #526253; }
.lg-regions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 1.3rem; align-items: start; }
.lg-region { min-width: 0; border-top: 1px solid #bdc8bd; }
.lg-region[open] { grid-column: 1 / -1; }
.lg-region summary { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .6rem .15rem; font-size: 1.02rem; color:#172c27; font-weight: 700; cursor: pointer; list-style: none; }
.lg-region summary::-webkit-details-marker { display:none; }
.lg-region summary small { margin-left: auto; white-space: nowrap; }
.lg-region summary::after { content: ""; width:.42rem; height:.42rem; border: solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); margin: -.15rem .1rem 0 0; }
.lg-region[open] summary::after { transform:rotate(225deg); margin-top: .15rem; }
.lg-region summary:hover { background:#edf1e9; }
.lg-rows { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.75rem; list-style: none; padding: 0; margin: 0; }
.lg-guide { padding: .8rem 0 1rem; border-top: 1px solid #d1d8cf; }
.lg-guide a { color: #174c40; font-weight: 700; font-size: 1.1rem; line-height: 1.35; text-decoration: none; }
.lg-guide p { margin: .25rem 0 0; line-height: 1.45; font-size: 1rem; color: #40564e; }
.lg-empty { padding: 1.25rem 0 2.5rem; max-width: 55ch; }
.lg-empty h2, .lg-ask h2 { font-size: 1.5rem; margin: 0 0 .5rem; line-height: 1.2; }
.lg-empty a, .lg-ask a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 1rem; font-weight: 700; }
.lg-ask { border-top: 1px solid #bdc8bd; padding: 1.45rem 0 2rem; }
.lg-ask p { max-width: 64ch; margin: 0; }
.local-preview .lg-article { display:none; }
.local-preview .lg-article:target { display:block; }
.local-preview .lg-article:target ~ [data-local-directory] { display:none; }
.lg-crumb { display:flex; align-items:center; gap:.55rem; flex-wrap:wrap; padding-top:.6rem; font-size:.95rem; color:#526253; }
.lg-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.lg-article header { padding: 1.25rem 0; max-width: 55rem; }
.lg-article h1 { max-width: 25ch; }
.lg-article .lg-lede { margin: 1rem 0 0; max-width: 66ch; font-size: clamp(1.1rem,1.45vw,1.25rem); color:#40564e; line-height:1.55; }
.lg-article figure { margin: .2rem 0 1.6rem; max-width: 58rem; }
.lg-article figure img { width:100%; height:auto; aspect-ratio: 2/1; object-fit:cover; }
.lg-article figcaption { font-size:.92rem; color:#526253; margin-top:.4rem; }
.lg-copy { max-width:68ch; padding-bottom: .75rem; }
.lg-copy h2, .lg-next h2 { margin:1.6rem 0 .6rem; font-size:clamp(1.4rem,2vw,1.8rem); line-height:1.2; letter-spacing:-.028em; }
.lg-copy p { margin:0 0 .85rem; font-size:1.08rem; line-height:1.61; }
.lg-copy table { border-collapse:collapse; width:100%; margin:.85rem 0 1rem; font-size:1rem; }
.lg-copy caption { text-align:left; font-size:1rem; font-weight:bold; padding-bottom:.45rem; }
.lg-copy :is(th,td) { text-align:left; padding:.55rem; border-bottom:1px solid #bdc8bd; vertical-align:top; }
.lg-copy thead { background:#edf1e9; }
.lg-source { max-width: 68ch; padding:1rem 0; border-top:1px solid #bdc8bd; font-size:.97rem; }
.lg-source summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; font-weight:bold; cursor:pointer; }
.lg-source summary::after { content:"+"; font-size:1.25rem; }
.lg-source[open] summary::after { content:"−"; }
.lg-source ul { list-style:disc; margin:.25rem 0 .55rem; padding-left:1.2rem; }
.lg-source li { margin:.35rem 0; }
.lg-source time { color:#526253; }
.lg-next { padding:1.4rem 0 2.4rem; border-top:1px solid #bdc8bd; }
.lg-next h2 { margin-top:0; }
.lg-next a { display: block; padding:.5rem 0; font-size:1.05rem; line-height:1.4; font-weight:700; }
.lg-review-files { padding: .75rem 0 1.5rem; border-top: 1px solid #bdc8bd; font-size: .95rem; color: #40564e; }
.lg-review-files summary, .lg-review-files a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.lg-review-files p { margin: .25rem 0; }
@media (max-width:55rem) {
  .lg-search-grid { grid-template-columns: 1fr; }
  .lg-regions { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:39rem) {
  .lg-search-grid { grid-template-columns:1fr; gap:.2rem; }
  .lg-filter-options summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; font-size:.96rem; font-weight:700; color:#174c40; }
  .lg-filter-options summary::after { content:"+"; font-size:1.2rem; }
  .lg-filter-options[open] summary::after { content:"−"; }
  .lg-selects { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; padding-bottom:.65rem; }
  .lg-selects label:last-child { grid-column:1/-1; }
  .lg-presets { gap:.15rem .85rem; }
  .lg-presets { margin-top:0; border-top:1px solid #c4cfc3; }
  .lg-presets a:nth-child(3) { display:none; }
  .lg-presets a, .lg-clear { min-height: 44px; display:inline-flex; align-items:center; }
  .lg-clear { margin-left:0; }
  .lg-features { grid-template-columns:1fr; gap:.85rem; margin:1.1rem 0 1.4rem; }
  .lg-features a { display:grid; grid-template-columns:minmax(5.5rem,.58fr) 1fr; column-gap:.75rem; align-content:start; }
  .lg-features img { grid-row:1 / 3; aspect-ratio:1.35; align-self:start; }
  .lg-features .lg-place { align-self:end; margin:0 0 .15rem; font-size:.88rem; }
  .lg-features strong { font-size:1.09rem; }
  .lg-rows, .lg-regions { grid-template-columns:1fr; }
  .lg-article figure img { aspect-ratio:1.52; }
}

/* Preserve the supplied illustration framing in the shared production shell. */
.lg-article figure img{aspect-ratio:auto;object-fit:contain;display:block;max-width:100%}
.lg-legacy-faq{max-width:68ch;margin:0 0 1rem}
.lg-legacy-faq h2{font-size:1.46rem;margin:1rem 0 .6rem}
.lg-legacy-faq h3{font-size:1.07rem;margin:.7rem 0 .3rem}
.lg-legacy-faq p{margin:0 0 .7rem}

.lg-nationwide-results {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.75rem;padding:.7rem 0 1rem}
.lg-nationwide-results[hidden] {display:none}
.lg-city-match {border:1px solid #d1d8cf;border-radius:.65rem;padding:1rem;min-width:0}
.lg-city-match h2 {font-size:1.15rem;margin:0 0 .4rem}
.lg-city-match ul {padding-left:1.2rem;margin:0}
.lg-city-match a {display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
