:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #171b19; background: #fff; font-synthesis: none; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
button, input { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #30755a; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 20; top: -5rem; left: 1rem; padding: .65rem .9rem; border-radius: .4rem; color: #fff; background: #173f30; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid #ecefed; background: #fff; }
.header-inner { width: min(100% - 3rem, 1320px); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { text-decoration: none; font-size: 1.1rem; font-weight: 430; letter-spacing: -.055em; white-space: nowrap; }
.brand strong { font-weight: 700; }
.domain-menu { position: relative; }
.domain-menu summary { min-height: 44px; padding: .65rem .9rem; display: flex; align-items: center; gap: .6rem; border-radius: .4rem; cursor: pointer; font-size: .96rem; font-weight: 570; list-style: none; }
.domain-menu summary::-webkit-details-marker { display: none; }
.domain-menu summary:hover, .domain-menu[open] summary { background: #f2f5f3; }
.domain-menu summary span { font-size: 1.2rem; line-height: .6; transition: transform .16s ease; }
.domain-menu[open] summary span { transform: rotate(180deg); }
.domain-panel { position: absolute; top: calc(100% + .5rem); right: 0; width: min(565px, calc(100vw - 2rem)); padding: .85rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; border: 1px solid #dfe5e1; border-radius: .8rem; background: #fff; box-shadow: 0 18px 46px rgba(20, 35, 28, .13); }
.domain-panel a { padding: .85rem .9rem; border-radius: .45rem; text-decoration: none; font-size: .97rem; line-height: 1.3; }
.domain-panel a:hover, .domain-panel a[aria-current="page"] { color: #174b35; background: #edf5ef; }
.search-page { width: 100%; flex: 1; display: grid; align-items: center; padding: clamp(4.5rem, 10vh, 8rem) 1.5rem 8rem; }
.search-shell { width: min(100%, 920px); margin: 0 auto; }
.mobile-search-bar { display: none; }
.domain-label { margin: 0 0 1.05rem; color: #356f55; font-size: .9rem; font-weight: 650; }
.domain-label[hidden] { display: none; }
h1 { margin: 0 0 1.2rem; font-size: clamp(3.2rem, 7.5vw, 6.2rem); font-weight: 560; letter-spacing: -.065em; line-height: 1.06; text-wrap: balance; }
.search-intro { max-width: 48rem; margin: 0 0 clamp(2rem, 4vw, 3rem); color: #4b5851; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; text-wrap: pretty; }
.market-search { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 82px; padding: .7rem .7rem .7rem 1.5rem; border: 1px solid #bfcac3; border-radius: .8rem; background: #fff; box-shadow: 0 8px 30px rgba(25, 43, 32, .055); }
.market-search:focus-within { border-color: #30755a; box-shadow: 0 8px 30px rgba(25, 43, 32, .07), 0 0 0 4px rgba(48, 117, 90, .1); }
.search-icon { width: 24px; height: 24px; color: #596a60; }
.market-search input { width: 100%; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; color: #171b19; font-size: 1.2rem; }
.market-search input::placeholder { color: #76847b; }
.market-search input:focus-visible { outline: 0; }
.market-search button { min-height: 54px; padding: .8rem 1.35rem; border: 0; border-radius: .5rem; color: #fff; background: #245b45; cursor: pointer; font-size: 1rem; font-weight: 630; }
.market-search button:hover { background: #194431; }
.market-search button span { margin-left: .35rem; }
.search-results { margin-top: .8rem; padding: .4rem; border: 1px solid #e3e9e5; border-radius: .7rem; background: #fff; box-shadow: 0 12px 36px rgba(25, 43, 32, .07); }
.search-results[hidden] { display: none; }
.market-result { min-height: 60px; padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: .45rem; text-decoration: none; font-size: 1.03rem; }
.market-result:hover, .market-result:focus-visible { background: #f0f6f2; }
.market-result b { color: #245b45; font-weight: 500; }
.search-message { margin: 0; padding: 1rem; color: #506158; font-size: 1rem; }
.site-footer { width: min(100% - 3rem, 1320px); min-height: 62px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #ecefed; color: #66746b; font-size: .88rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #245b45; text-decoration: underline; }
.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.directory-nav-link { padding: .65rem .9rem; border-radius: .4rem; text-decoration: none; font-size: .96rem; font-weight: 570; }
.directory-nav-link:hover { color: #174b35; background: #edf5ef; }
.directory-page { width: 100%; flex: 1; padding: clamp(4.5rem, 9vw, 7rem) 1.5rem 7rem; }
.directory-shell { width: min(100%, 1120px); margin: 0 auto; }
.directory-eyebrow { margin: 0 0 1rem; color: #356f55; font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.directory-page h1 { margin-bottom: 1rem; font-size: clamp(3.2rem, 6vw, 5.2rem); }
.directory-intro { max-width: 40rem; margin: 0 0 3.5rem; color: #4b5851; font-size: 1.18rem; line-height: 1.6; }
.directory-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; }
.directory-group { border-top: 1px solid #dfe5e1; padding-top: 1.15rem; }
.directory-group h2 { margin: 0 0 1.1rem; color: #245b45; font-size: 1rem; font-weight: 680; }
.directory-group ul { list-style: none; margin: 0; padding: 0; }
.directory-group li + li { border-top: 1px solid #edf0ee; }
.directory-group a { min-height: 3.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; text-decoration: none; font-size: 1.08rem; line-height: 1.35; }
.directory-group a:hover { color: #245b45; }
.directory-group a span { color: #5f8f72; }
@media (max-width: 600px) {
  .header-inner, .site-footer { width: min(100% - 2rem, 1320px); }
  .header-inner { min-height: 68px; }
  .brand { font-size: .97rem; }
  .domain-panel { grid-template-columns: 1fr; max-height: min(70vh, 470px); overflow: auto; }
  .search-page { align-items: start; padding: 5.5rem 1rem 4rem; }
  h1 { font-size: clamp(3rem, 12vw, 4.7rem); }
  .search-intro { font-size: 1.05rem; }
  .market-search { grid-template-columns: 21px minmax(0, 1fr); gap: .7rem; min-height: 0; padding: .8rem; }
  .search-icon { width: 21px; height: 21px; }
  .market-search input { height: 45px; font-size: 1.05rem; }
  .market-search button { grid-column: 1 / -1; width: 100%; }
  .site-footer { flex-wrap: wrap; padding: 1.1rem 0; }
  .directory-page { padding: 4.5rem 1rem 5rem; }
  .directory-groups { grid-template-columns: 1fr; gap: 2rem; }
  .directory-intro { font-size: 1.05rem; }
}
@media (max-width: 600px), (hover: none) and (pointer: coarse) and (max-width: 1024px) {
  body.mobile-search-active { overflow: hidden; }
  .mobile-search-active .search-page { position: fixed; z-index: 30; top: var(--search-visible-top, 0px); left: 0; height: var(--search-visible-height, 100dvh); padding: max(.75rem, env(safe-area-inset-top)) 1rem .75rem; background: #fff; overflow: hidden; }
  .mobile-search-active .search-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  .mobile-search-active .mobile-search-bar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; color: #395846; font-size: .86rem; font-weight: 600; }
  .mobile-search-bar button { display: inline-flex; min-height: 44px; align-items: center; gap: .45rem; padding: .4rem .5rem; border: 0; background: transparent; color: #245b45; cursor: pointer; font-size: .86rem; font-weight: 550; }
  .mobile-search-bar button span { font-size: 1.25rem; font-weight: 400; }
  .mobile-search-active #search-heading, .mobile-search-active .search-intro, .mobile-search-active .domain-label { display: none; }
  .mobile-search-active .market-search { flex: 0 0 auto; grid-template-columns: 21px minmax(0, 1fr) auto; gap: .6rem; min-height: 0; padding: .5rem .55rem .5rem .8rem; border-radius: .6rem; }
  .mobile-search-active .market-search input { height: 45px; font-size: 1.05rem; }
  .mobile-search-active .market-search button { grid-column: auto; width: auto; min-height: 45px; padding: .6rem .8rem; font-size: .9rem; }
  .mobile-search-active .market-search button span { display: none; }
  .mobile-search-active .search-results { flex: 0 1 auto; min-height: 0; margin-top: .65rem; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
  .mobile-search-active .market-result { min-height: 56px; font-size: .98rem; }
}
