.sghd-search-app {
  --search-ink: var(--sghd-ink, #18312d);
  --search-muted: var(--sghd-ink-soft, #49605b);
  --search-clay: var(--sghd-clay, #c86f4a);
  --search-sage: var(--sghd-sage, #dfe5d8);
  --search-line: var(--sghd-line, rgba(24,49,45,.15));
  color: var(--search-ink);
  background: #fffdf9;
}
.sghd-search-app button, .sghd-search-app input, .sghd-search-app select, .sghd-search-app textarea { font: inherit; }
.sghd-preview-notice {
  min-height: 42px;
  padding: 8px max(24px, calc((100% - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff8ee;
  background: #985437;
  font-size: 11px;
  text-align: center;
}
.sghd-preview-notice strong { text-transform: uppercase; letter-spacing: .1em; }
.sghd-account-bar { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 15px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sghd-account-bar > div { display: flex; align-items: center; gap: 11px; }
.sghd-account-mark { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--search-clay); font-family: Arial, sans-serif; }
.sghd-account-bar p, .sghd-account-bar p span { margin: 0; display: block; }
.sghd-account-bar p strong { font-size: 12px; }.sghd-account-bar p span { margin-top: 2px; color: var(--search-muted); font-size: 10px; }
.sghd-account-bar > button { min-height: 38px; padding: 0 14px; border: 1px solid var(--search-line); border-radius: 999px; color: var(--search-ink); background: #fff; font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sghd-searchbar {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.sghd-searchbox { min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid rgba(24,49,45,.24); border-radius: 9px; background: white; box-shadow: 0 5px 18px rgba(32,45,38,.05); }
.sghd-searchbox > span:first-child { font-family: Arial, sans-serif; font-size: 27px; line-height: 1; transform: rotate(-18deg); }
.sghd-searchbox input { width: 100%; border: 0; outline: 0; color: var(--search-ink); background: transparent; font-size: 15px; }
.sghd-searchbar > button { min-width: 145px; border: 0; border-radius: 9px; color: white; background: var(--search-ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.sghd-filterbar, .sghd-local-filters { width: min(1440px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.sghd-filterbar { padding-bottom: 12px; }
.sghd-filterbar label { min-width: 150px; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--search-line); border-radius: 7px; background: white; }
.sghd-filterbar label > span { font-size: 10px; color: var(--search-muted); text-transform: uppercase; letter-spacing: .08em; }
.sghd-filterbar select { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--search-ink); background: transparent; font-size: 12px; font-weight: 600; }
.sghd-filter-reset { height: 42px; padding: 0 14px; border: 0; color: var(--search-muted); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.sghd-more-filters { position: relative; flex: 0 0 auto; }
.sghd-more-filters__toggle { height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--search-line); border-radius: 7px; color: var(--search-ink); background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sghd-more-filters__toggle[aria-expanded="true"] { border-color: var(--search-ink); box-shadow: 0 0 0 2px rgba(24,49,45,.07); }
.sghd-more-filters__toggle span { min-width: 19px; height: 19px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px; color: white; background: var(--search-clay); font-size: 9px; }
.sghd-more-filters__panel { position: absolute; z-index: 30; top: calc(100% + 9px); right: 0; width: min(650px, calc(100vw - 48px)); padding: 23px; border: 1px solid var(--search-line); border-radius: 12px; background: #fffdf9; box-shadow: 0 24px 65px rgba(20,43,36,.2); }
.sghd-more-filters__panel[hidden] { display: none; }
.sghd-more-filters__heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.sghd-more-filters__heading span, .sghd-more-filters__heading strong { display: block; }.sghd-more-filters__heading span { color: var(--search-clay); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }.sghd-more-filters__heading strong { margin-top: 3px; font-family: var(--sghd-serif, Georgia, serif); font-size: 23px; font-weight: 500; }
.sghd-more-filters__heading > button { width: 34px; height: 34px; border: 1px solid var(--search-line); border-radius: 50%; color: var(--search-ink); background: white; font-size: 23px; cursor: pointer; }
.sghd-more-filters__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sghd-more-filters__grid label { min-width: 0; height: auto; min-height: 62px; display: grid; align-content: center; gap: 5px; padding: 9px 11px; }
.sghd-more-filters__grid label > span { font-size: 8px; }.sghd-more-filters__grid select { width: 100%; font-size: 12px; }
.sghd-more-filters__note { margin: 15px 0 0; color: var(--search-muted); font-size: 9px; line-height: 1.45; }
.sghd-more-filters__actions { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sghd-more-filters__actions button { min-height: 41px; padding: 0 15px; border: 0; border-radius: 7px; color: var(--search-ink); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }.sghd-more-filters__actions button:last-child { min-width: 180px; color: white; background: var(--search-ink); }
.sghd-local-filters { padding: 0 0 19px; overflow-x: auto; scrollbar-width: none; }
.sghd-local-filters > span { flex: 0 0 auto; margin-right: 3px; color: var(--search-clay); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.sghd-local-filters button { flex: 0 0 auto; min-height: 34px; padding: 0 13px; border: 1px solid var(--search-line); border-radius: 999px; color: var(--search-ink); background: #fff; font-size: 11px; font-weight: 600; cursor: pointer; }
.sghd-local-filters button:hover, .sghd-local-filters button.is-active { border-color: var(--search-ink); color: white; background: var(--search-ink); }
.sghd-filter-evidence-note { width: min(1440px, calc(100% - 48px)); margin: -10px auto 18px; color: var(--search-muted); font-size: 9px; line-height: 1.45; }
.sghd-view-toggle { display: none; }

.sghd-search-layout { display: grid; grid-template-columns: minmax(620px, .94fr) minmax(440px, 1.06fr); border-top: 1px solid var(--search-line); }
.sghd-results { min-width: 0; padding: 31px 30px 45px max(24px, calc((100vw - 1440px) / 2)); }
.sghd-results-heading { display: flex; justify-content: space-between; align-items: start; gap: 25px; margin-bottom: 22px; }
.sghd-kicker { margin: 0 0 6px; color: var(--search-clay); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.sghd-results-heading h2 { max-width: 590px; margin: 0; font-family: var(--sghd-serif, Georgia, serif); font-size: clamp(28px, 2.5vw, 39px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.sghd-results-heading > div:first-child > p:last-child { margin: 7px 0 0; color: var(--search-muted); font-size: 12px; }
.sghd-result-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.sghd-result-actions button, .sghd-result-actions label { min-height: 39px; padding: 0 12px; border: 1px solid var(--search-line); border-radius: 7px; background: white; font-size: 11px; font-weight: 700; }
.sghd-result-actions button { cursor: pointer; }
.sghd-result-actions button.is-saved { color: white; background: var(--search-ink); }
.sghd-result-actions label { display: flex; align-items: center; gap: 6px; }
.sghd-result-actions select { max-width: 105px; border: 0; background: transparent; font-size: 11px; }
.sghd-team-promise { margin-bottom: 22px; padding: 13px 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; border: 1px solid #d4decf; border-radius: 9px; background: #eef1e8; }
.sghd-team-icon { width: 52px; height: 28px; display: flex; align-items: center; }
.sghd-team-icon i { width: 27px; height: 27px; margin-left: -8px; border: 2px solid #eef1e8; border-radius: 50%; background: #577267; }
.sghd-team-icon i:first-child { margin-left: 0; background: #b96342; }
.sghd-team-icon i:nth-child(2) { background: #d39a70; }
.sghd-team-promise p { margin: 0; color: var(--search-muted); font-size: 11px; line-height: 1.45; }
.sghd-team-promise p strong { color: var(--search-ink); }
.sghd-team-promise button { border: 0; color: var(--search-ink); background: transparent; font-size: 10px; font-weight: 700; text-decoration: underline; cursor: pointer; }

.sghd-listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sghd-listing-card { min-width: 0; overflow: hidden; border: 1px solid var(--search-line); border-radius: 10px; background: white; outline: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sghd-listing-card:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(34,48,40,.1); }
.sghd-listing-card.is-map-selected { border-color: var(--search-clay); box-shadow: 0 0 0 2px rgba(200,111,74,.13), 0 14px 35px rgba(34,48,40,.1); }
.sghd-listing-photo { position: relative; aspect-ratio: 1.52; background: #dde4dd center/cover no-repeat; }
.sghd-listing-photo-link { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }.sghd-listing-photo-link:focus-visible { outline: 3px solid white; outline-offset: -5px; }
.sghd-listing-status { position: absolute; z-index: 2; top: 11px; left: 11px; padding: 5px 8px; border-radius: 4px; color: var(--search-ink); background: rgba(255,253,249,.94); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; pointer-events: none; }
.sghd-heart { position: absolute; z-index: 3; top: 9px; right: 10px; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: white; background: rgba(20,41,36,.35); font: 22px/1 Arial, sans-serif; text-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
.sghd-heart.is-saved { color: #f09a75; background: rgba(24,49,45,.84); }
.sghd-listing-copy { padding: 13px 14px 12px; }
.sghd-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sghd-price-row h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.sghd-price-row span { color: var(--search-muted); font-size: 8px; }
.sghd-facts, .sghd-address, .sghd-city { margin: 0; }
.sghd-facts { margin-top: 3px; font-size: 11px; font-weight: 600; }
.sghd-address { margin-top: 9px; display: block; overflow: hidden; color: var(--search-ink); font-size: 11px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }.sghd-address:hover { text-decoration: underline; }
.sghd-city { color: var(--search-muted); font-size: 10px; }
.sghd-card-meta { min-height: 18px; margin-top: 7px; display: flex; flex-wrap: wrap; gap: 4px 9px; color: var(--search-muted); font-size: 8px; }.sghd-card-meta span { position: relative; }.sghd-card-meta span + span::before { content: "·"; position: absolute; left: -6px; }.sghd-card-meta .is-new { color: var(--search-clay); font-weight: 800; }
.sghd-feature-chips { min-height: 27px; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.sghd-feature-chips span { align-self: start; padding: 3px 6px; border-radius: 4px; color: #4f5f4e; background: #edf0e8; font-size: 8px; font-weight: 700; }
.sghd-card-footer { min-height: 37px; margin-top: 9px; padding-top: 9px; display: flex; justify-content: space-between; align-items: end; gap: 8px; border-top: 1px solid var(--search-line); }
.sghd-card-footer small { max-width: 58%; color: var(--search-muted); font-size: 7.5px; line-height: 1.35; }
.sghd-card-footer > div { display: flex; gap: 4px; }
.sghd-card-footer button, .sghd-card-footer a { padding: 0; border: 0; color: var(--search-ink); background: transparent; font-size: 9px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.sghd-load-more { margin: 25px auto 0; padding: 10px 18px; display: block; border: 1px solid var(--search-ink); border-radius: 999px; color: var(--search-ink); background: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.sghd-loading { min-height: 330px; border-radius: 10px; background: linear-gradient(105deg, #edf0eb 20%, #f8f8f4 37%, #edf0eb 55%); background-size: 200% 100%; animation: sghd-loading 1.3s linear infinite; }
@keyframes sghd-loading { to { background-position-x: -200%; } }
.sghd-empty { grid-column: 1 / -1; padding: 70px 25px; border: 1px dashed var(--search-line); border-radius: 10px; text-align: center; }
.sghd-empty > span { font-size: 36px; }
.sghd-empty h3 { margin: 10px 0 3px; font-family: var(--sghd-serif, Georgia, serif); font-size: 25px; }
.sghd-empty p { margin: 0 0 15px; color: var(--search-muted); font-size: 12px; }
.sghd-empty button { border: 0; background: transparent; font-size: 11px; font-weight: 700; text-decoration: underline; cursor: pointer; }

.sghd-map { position: sticky; top: 78px; height: calc(100vh - 78px); min-height: 650px; overflow: hidden; background: #e6eadf; }
.sghd-map__canvas { position: absolute; inset: 0; }
.sghd-map__fallback { position: absolute; z-index: 0; inset: 0; display: grid; align-content: center; justify-items: center; gap: 7px; padding: 35px; color: var(--search-ink); background: linear-gradient(145deg, #e8ede5, #dfe7da); text-align: center; }.sghd-map__fallback > span { font-size: 38px; }.sghd-map__fallback strong { font-family: var(--sghd-serif, Georgia, serif); font-size: 22px; font-weight: 500; }.sghd-map__fallback small { max-width: 290px; color: var(--search-muted); font-size: 10px; }
.sghd-map.is-ready .sghd-map__fallback { display: none; }
.sghd-map__toolbar { position: absolute; z-index: 5; top: 15px; left: 15px; max-width: calc(100% - 92px); padding: 10px 11px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(24,49,45,.13); border-radius: 8px; background: rgba(255,253,249,.95); box-shadow: 0 8px 25px rgba(35,48,41,.12); backdrop-filter: blur(8px); }
.sghd-map__toolbar strong, .sghd-map__toolbar span { display: block; }.sghd-map__toolbar strong { font-size: 10px; }.sghd-map__toolbar span { margin-top: 2px; color: var(--search-muted); font-size: 8px; line-height: 1.35; }.sghd-map__toolbar button { flex: 0 0 auto; min-height: 31px; padding: 0 9px; border: 1px solid var(--search-line); border-radius: 6px; color: var(--search-ink); background: white; font-size: 8px; font-weight: 700; cursor: pointer; }
.sghd-map .maplibregl-ctrl-top-right { top: 9px; right: 8px; }.sghd-map .maplibregl-ctrl-group { border-radius: 8px; box-shadow: 0 4px 15px rgba(35,48,41,.15); }
.sghd-search-app .sghd-map-marker { appearance: none; display: grid; place-items: center; height: 38px; padding: 0 11px; border: 2px solid #fffdf9; border-radius: 999px; color: #fff; background: var(--search-ink); box-shadow: 0 5px 16px rgba(20,43,36,.28); font-family: var(--sghd-sans, Arial, sans-serif); font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: -.01em; cursor: pointer; transition: background-color .16s ease, box-shadow .16s ease; }
.sghd-search-app .sghd-map-marker:hover, .sghd-search-app .sghd-map-marker:focus-visible, .sghd-search-app .sghd-map-marker.is-selected { outline: 0; background: var(--search-clay); box-shadow: 0 0 0 3px rgba(255,253,249,.9), 0 7px 20px rgba(20,43,36,.34); }
.sghd-search-app .sghd-map-marker--cluster { width: 42px; height: 42px; padding: 0; background: var(--search-clay); font-size: 12px; }
.sghd-search-app .sghd-map-marker--cluster:hover, .sghd-search-app .sghd-map-marker--cluster:focus-visible { background: #985437; }
.sghd-map-popup { min-width: 185px; color: var(--search-ink); }.sghd-map-popup strong, .sghd-map-popup span, .sghd-map-popup small { display: block; }.sghd-map-popup strong { font-size: 15px; }.sghd-map-popup span { margin-top: 3px; font-size: 10px; font-weight: 600; }.sghd-map-popup small { margin-top: 2px; color: var(--search-muted); font-size: 9px; }.sghd-map-popup button { width: 100%; min-height: 34px; margin-top: 10px; border: 0; border-radius: 5px; color: white; background: var(--search-ink); font-size: 9px; font-weight: 700; cursor: pointer; }

.sghd-modal-layer { position: fixed; z-index: 1000; inset: 0; padding: 30px 18px; overflow-y: auto; background: rgba(12,28,24,.68); backdrop-filter: blur(7px); }
.sghd-modal-layer[hidden] { display: none; }
.sghd-modal-open { overflow: hidden; }
.sghd-modal { position: relative; width: min(620px, 100%); margin: max(2vh, 15px) auto; overflow: hidden; border-radius: 14px; background: #fffdf9; box-shadow: 0 26px 80px rgba(10,25,21,.3); }
.sghd-modal-close { position: absolute; z-index: 2; top: 13px; right: 15px; width: 37px; height: 37px; border: 1px solid rgba(24,49,45,.16); border-radius: 50%; color: var(--search-ink); background: rgba(255,253,249,.92); font-size: 24px; line-height: 1; cursor: pointer; }
.sghd-modal-header { padding: 35px 42px 24px; }
.sghd-modal-header h2 { max-width: 500px; margin: 0; padding-right: 30px; font-family: var(--sghd-serif, Georgia, serif); font-size: 37px; font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.sghd-modal-header > p:last-child { margin: 12px 0 0; color: var(--search-muted); font-size: 13px; }
.sghd-modal-body { padding: 0 42px 38px; }
.sghd-detail-gallery { margin: 0 -42px 27px; }
.sghd-detail-photo { height: 330px; background: #dde4dd center/cover no-repeat; }
.sghd-detail-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding-top: 4px; background: white; }
.sghd-detail-thumbs button { min-height: 54px; border: 0; border-bottom: 3px solid transparent; background: #dde4dd center/cover no-repeat; cursor: pointer; opacity: .72; }
.sghd-detail-thumbs button:hover, .sghd-detail-thumbs button:focus-visible, .sghd-detail-thumbs button.is-active { border-bottom-color: var(--search-accent); opacity: 1; }
.sghd-detail-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 22px; border-top: 1px solid var(--search-line); border-bottom: 1px solid var(--search-line); }
.sghd-detail-facts span { padding: 14px 7px; border-right: 1px solid var(--search-line); color: var(--search-muted); font-size: 10px; text-align: center; }.sghd-detail-facts span:last-child { border-right: 0; }.sghd-detail-facts strong { display: block; color: var(--search-ink); font-size: 17px; }
.sghd-detail-remarks { color: var(--search-muted); font-size: 13px; }
.sghd-detail-subhead { margin: 0 0 14px; color: var(--search-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.sghd-detail-features { margin: -5px 0 18px; display: flex; flex-wrap: wrap; gap: 5px; }.sghd-detail-features span { padding: 5px 7px; border-radius: 999px; color: #465a52; background: #e9efe7; font-size: 9px; font-weight: 700; }
.sghd-detail-grid { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }.sghd-detail-grid div { padding: 9px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--search-line); font-size: 10px; }.sghd-detail-grid dt { color: var(--search-muted); }.sghd-detail-grid dd { margin: 0; max-width: 60%; font-weight: 700; text-align: right; }
.sghd-detail-tour { margin-top: 18px; display: inline-block; color: var(--search-ink); font-size: 10px; font-weight: 700; }
.sghd-detail-actions { margin-top: 19px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.sghd-detail-actions .sghd-modal-primary { margin-top: 0; }.sghd-modal-secondary { color: var(--search-ink); border: 1px solid var(--search-ink); background: #fff; }
.sghd-modal-primary { min-height: 45px; width: 100%; margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; color: white; background: var(--search-ink); font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.sghd-modal-primary:disabled { opacity: .6; cursor: wait; }
.sghd-modal-note { color: var(--search-muted); font-size: 13px; }
.sghd-compliance { margin-top: 25px; padding-top: 16px; border-top: 1px solid var(--search-line); color: var(--search-muted); font-size: 9px; line-height: 1.45; }.sghd-compliance img { max-height: 32px; width: auto; }.sghd-compliance p { margin: 5px 0; }
.sghd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.sghd-inquiry-form label { display: grid; gap: 5px; color: var(--search-ink); font-size: 10px; font-weight: 700; }
.sghd-inquiry-form input, .sghd-inquiry-form select, .sghd-inquiry-form textarea { width: 100%; border: 1px solid rgba(24,49,45,.22); border-radius: 6px; color: var(--search-ink); background: white; outline: 0; }
.sghd-inquiry-form input, .sghd-inquiry-form select { min-height: 42px; padding: 0 10px; }.sghd-inquiry-form textarea { padding: 10px; resize: vertical; }
.sghd-inquiry-form input:focus, .sghd-inquiry-form select:focus, .sghd-inquiry-form textarea:focus { border-color: var(--search-ink); box-shadow: 0 0 0 2px rgba(24,49,45,.08); }
.sghd-form-message { margin-top: 13px; }.sghd-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sghd-consent { margin: 14px 0 0; color: var(--search-muted); font-size: 9px; line-height: 1.5; }
.sghd-form-status { margin: 12px 0 0; color: #9b3e2d; font-size: 11px; }.sghd-form-status.is-success { padding: 11px; border-radius: 6px; color: #234a3f; background: #e4ece2; }
.sghd-account-modal { width: min(920px, 100%); }
.sghd-auth-columns { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; overflow: hidden; border: 1px solid var(--search-line); border-radius: 10px; }
.sghd-auth-panel { padding: 25px; background: #fff; }.sghd-auth-panel--new { border-left: 1px solid var(--search-line); background: #f3f2ea; }
.sghd-auth-panel h3, .sghd-account-section h3 { margin: 0; font-family: var(--sghd-serif, Georgia, serif); font-size: 21px; font-weight: 500; }
.sghd-account-form { display: grid; gap: 12px; margin-top: 18px; }
.sghd-account-form label { display: grid; gap: 5px; color: var(--search-ink); font-size: 10px; font-weight: 700; }
.sghd-account-form input, .sghd-account-form select { width: 100%; min-height: 43px; padding: 0 10px; border: 1px solid rgba(24,49,45,.22); border-radius: 6px; color: var(--search-ink); background: #fff; outline: 0; }
.sghd-account-form input:focus, .sghd-account-form select:focus { border-color: var(--search-ink); box-shadow: 0 0 0 2px rgba(24,49,45,.08); }
.sghd-account-form .sghd-modal-primary { margin-top: 2px; }
.sghd-account-check { grid-template-columns: auto 1fr !important; align-items: start; gap: 8px !important; font-size: 10px !important; font-weight: 500 !important; line-height: 1.45; }
.sghd-account-check input { width: 16px; min-height: 16px; margin-top: 1px; }
.sghd-account-reset { color: var(--search-ink); font-size: 10px; font-weight: 700; text-align: center; }
.sghd-account-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; border: 1px solid var(--search-line); border-radius: 9px; background: #f3f2ea; }
.sghd-account-summary span { padding: 15px 10px; border-right: 1px solid var(--search-line); color: var(--search-muted); font-size: 9px; text-align: center; text-transform: uppercase; letter-spacing: .06em; }.sghd-account-summary span:last-child { border-right: 0; }.sghd-account-summary strong { display: block; color: var(--search-ink); font-size: 20px; letter-spacing: 0; }
.sghd-account-section { margin-top: 25px; }.sghd-account-section + .sghd-account-section { padding-top: 25px; border-top: 1px solid var(--search-line); }
.sghd-saved-home-list, .sghd-saved-search-list { display: grid; gap: 8px; margin-top: 13px; }
.sghd-saved-home, .sghd-saved-search { min-height: 58px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid var(--search-line); border-radius: 7px; background: #fff; }
.sghd-saved-home strong, .sghd-saved-home span, .sghd-saved-search strong, .sghd-saved-search span { display: block; }.sghd-saved-home strong, .sghd-saved-search strong { font-size: 11px; }.sghd-saved-home span, .sghd-saved-search span { margin-top: 3px; color: var(--search-muted); font-size: 9px; }
.sghd-account-actions { display: flex; gap: 6px; }
.sghd-account-secondary { min-height: 32px; padding: 0 11px; border: 1px solid var(--search-line); border-radius: 999px; color: var(--search-ink); background: #fff; font-size: 9px; font-weight: 700; cursor: pointer; }
.sghd-account-empty, .sghd-account-loading { margin: 0; padding: 15px; border-radius: 7px; color: var(--search-muted); background: #f4f4ef; font-size: 11px; }
.sghd-account-footer { margin-top: 27px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--search-line); }.sghd-account-footer p { margin: 0; }
.sghd-toast { position: fixed; z-index: 1100; left: 50%; bottom: 25px; max-width: min(440px, calc(100% - 32px)); padding: 12px 18px; border-radius: 999px; color: white; background: var(--search-ink); box-shadow: 0 10px 35px rgba(15,32,27,.25); font-size: 11px; font-weight: 700; text-align: center; transform: translateX(-50%); }

@media (max-width: 1100px) {
  .sghd-search-layout { grid-template-columns: 1fr; }
  .sghd-results { padding-right: max(24px, calc((100vw - 900px) / 2)); padding-left: max(24px, calc((100vw - 900px) / 2)); }
  .sghd-view-toggle { width: min(900px, calc(100% - 48px)); margin: 0 auto 16px; padding: 3px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--search-line); border-radius: 9px; background: #f0f1eb; }
  .sghd-view-toggle button { min-height: 39px; border: 0; border-radius: 6px; color: var(--search-muted); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }.sghd-view-toggle button[aria-pressed="true"] { color: white; background: var(--search-ink); }
  .sghd-map { position: relative; top: auto; height: 620px; min-height: 0; }
  .sghd-search-app[data-view-mode="list"] [data-map-view] { display: none; }
  .sghd-search-app[data-view-mode="map"] [data-results-view] { display: none; }
  .sghd-listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .sghd-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sghd-filterbar { overflow-x: auto; scrollbar-width: none; }
  .sghd-filterbar label { flex: 0 0 145px; }
  .sghd-more-filters__panel { position: fixed; z-index: 999; top: auto; right: 14px; bottom: 14px; left: 14px; width: auto; max-height: calc(100vh - 28px); overflow-y: auto; }
  .sghd-auth-columns { grid-template-columns: 1fr; }.sghd-auth-panel--new { border-top: 1px solid var(--search-line); border-left: 0; }
}
@media (max-width: 620px) {
  .sghd-preview-notice { display: block; padding: 9px 16px; }.sghd-preview-notice strong, .sghd-preview-notice span { display: block; }
  .sghd-account-bar, .sghd-searchbar, .sghd-filterbar, .sghd-local-filters, .sghd-filter-evidence-note { width: calc(100% - 28px); }
  .sghd-account-bar p span { display: none; }.sghd-account-bar > button { padding: 0 10px; }
  .sghd-searchbar { grid-template-columns: 1fr; }.sghd-searchbar > button { min-height: 47px; }
  .sghd-more-filters__grid { grid-template-columns: 1fr; }.sghd-more-filters__actions { align-items: stretch; flex-direction: column-reverse; }.sghd-more-filters__actions button:last-child { min-height: 46px; }
  .sghd-view-toggle { width: calc(100% - 28px); }
  .sghd-map { height: calc(100vh - 150px); min-height: 480px; }
  .sghd-map__toolbar { right: 14px; max-width: none; top: auto; bottom: 30px; justify-content: space-between; }
  .sghd-results { padding: 27px 14px 40px; }
  .sghd-results-heading { display: block; }.sghd-result-actions { margin-top: 13px; }.sghd-result-actions > * { flex: 1; }
  .sghd-team-promise { grid-template-columns: auto 1fr; }.sghd-team-promise button { grid-column: 2; justify-self: start; padding: 0; }
  .sghd-listing-grid { grid-template-columns: 1fr; }
  .sghd-listing-photo { aspect-ratio: 1.64; }
  .sghd-modal-layer { padding: 0; }.sghd-modal { min-height: 100vh; margin: 0; border-radius: 0; }.sghd-modal-header, .sghd-modal-body { padding-right: 22px; padding-left: 22px; }.sghd-modal-header h2 { font-size: 31px; }.sghd-detail-gallery { margin-right: -22px; margin-left: -22px; }.sghd-detail-thumbs { grid-template-columns: repeat(4, 1fr); }
  .sghd-form-grid { grid-template-columns: 1fr; }.sghd-detail-facts { grid-template-columns: repeat(2, 1fr); }.sghd-detail-facts span:nth-child(2) { border-right: 0; }.sghd-detail-facts span:nth-child(-n+2) { border-bottom: 1px solid var(--search-line); }
  .sghd-auth-panel { padding: 20px 16px; }.sghd-account-summary { grid-template-columns: 1fr; }.sghd-account-summary span { border-right: 0; border-bottom: 1px solid var(--search-line); }.sghd-account-summary span:last-child { border-bottom: 0; }
}
