/* Shared phone, tablet and desktop layout. Loaded after the brand stylesheet. */
html { -webkit-text-size-adjust: 100%; }
body { min-width: 0; }
main, section, aside, article, .field, .registration-panel, .registration-intro,
.editor-form > *, .detail-columns > *, .home-search > *, .footer-main > *,
.listing-row > *, .rental-grid > *, .registration-flow { min-width: 0; }
h1, h2, h3, .button, .text-link, .status, .message-card { overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; }
input, textarea, select, .choice { font-size: 16px; }
button, summary, .button, .help-topic { touch-action: manipulation; }
.button { min-height: 44px; justify-content: center; text-align: center; gap: 14px; }
button.text-link, .workspace-nav > a, .mobile-nav summary, .help-topic { min-height: 44px; }
button:disabled { cursor: not-allowed; }
button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ad8b48; outline-offset: 3px; }
.hero-content { width: 100%; }
.home-search > label, .home-search > div { min-width: 0; flex: 1 1 160px; }
.home-search > input[type=hidden] { display: none; }
.editor-form, .upload-section, .form-stack, .receipt { width: 100%; }
.thumbs button { flex: 0 0 auto; }
.property-video { display: block; max-width: 100%; object-fit: contain; }
.cost-list dd { margin: 0; text-align: right; }
[data-slot=table-container] { max-width: 100%; overscroll-behavior-x: contain; }
[data-slot=dialog-content], [data-slot=alert-dialog-content] {
  max-height: calc(100dvh - 32px); overflow-y: auto;
}
.help-dialog { overflow: hidden; }
.help-dialog [data-slot=dialog-title] { padding-right: 36px; }
[data-slot=dialog-close] { min-width: 44px; min-height: 44px; display: grid; place-items: center; top: 6px; right: 6px; }
.help-scroll { overscroll-behavior: contain; }
.help-launcher { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
.leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; }
.leaflet-container { font-family: inherit; }

@media (min-width: 1440px) {
  .workspace-main { max-width: 1440px; width: 100%; }
  .rental-grid { gap: 32px; }
}
@media (max-width: 1100px) {
  header { gap: 16px; }
  .desktop-nav { display: none !important; }
  .mobile-nav { display: block; position: relative; flex-shrink: 0; padding: 0; border: 0; }
  .mobile-nav summary { display: flex; align-items: center; cursor: pointer; list-style: none; border: 1px solid #dce3dd; padding: 9px 14px; font-size: 16px; }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 48; width: min(300px, calc(100vw - 32px)); max-height: calc(100dvh - 150px); overflow-y: auto; background: white; border: 1px solid #dce3dd; box-shadow: 0 12px 30px #123c3220; padding: 10px; }
  .mobile-nav nav a { display: block; padding: 12px 14px; min-height: 44px; text-decoration: none; font-size: 16px; }
  .mobile-nav nav a:hover, .mobile-nav nav a:focus-visible { background: #f3f6f2; }
  .registration { gap: 28px; }
  .detail-columns { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
  .detail-heading strong { white-space: normal; }
}
@media (max-width: 900px) {
  .detail-columns { grid-template-columns: minmax(0, 1fr); }
  .workspace { display: block; }
  .workspace-nav { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px; border-right: 0; border-bottom: 1px solid #dce3dd; scrollbar-width: thin; }
  .workspace-nav .eyebrow { display: none; }
  .workspace-nav > a { flex: 0 0 auto; white-space: nowrap; padding: 12px; margin: 0; }
  .workspace-main { padding: 32px max(20px, 5%); }
  .registration { grid-template-columns: minmax(0, 1fr); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-search > label, .home-search > div { flex: 0 0 auto; }
}
@media (max-width: 600px) {
  header { padding: 16px max(16px, 5%); gap: 12px; }
  header .logo-brand { min-width: 0; flex-shrink: 1; }
  header .logo-brand img { width: min(230px, 60vw); max-width: 100%; }
  .wrap { padding: 40px max(18px, 5%); }
  .workspace-main { padding: 28px 18px; }
  .home-hero { min-height: 0; }
  .hero-content { padding: 40px 5% 68px !important; }
  .hero-content h1 { font-size: clamp(32px, 9vw, 46px) !important; }
  .hero-content > p br { display: none; }
  .hero-caption { font-size: 9px; bottom: 20px; }
  .home-search { gap: 12px; margin-top: 24px; padding: 14px; }
  .home-search > label, .home-search > div { flex: 0 0 auto; width: 100%; padding: 0; }
  .home-search input { min-height: 44px; }
  .home-search .button { width: 100%; }
  .editor-form, .filters { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .full { grid-column: 1 / -1; }
  .detail-heading h1, .workspace-main h1 { font-size: clamp(30px, 8vw, 38px); }
  .main-photo { height: auto; aspect-ratio: 4 / 3; }
  .detail-columns aside, .private-chat, .private-doc, .readiness, .registration-panel, .message-card { padding: 18px; }
  .private-chat > .button, .form-stack > .button { width: 100%; justify-self: stretch; }
  .registration-steps li { min-width: 0; flex-basis: 100%; }
  .property-map { height: clamp(260px, 48svh, 360px); }
  .coordinate-fields { grid-template-columns: minmax(0, 1fr); }
  .photo-edit { gap: 12px; }
  .photo-edit img { height: auto; aspect-ratio: 4 / 3; }
  .help-dialog { width: calc(100vw - 20px) !important; max-width: none !important; max-height: calc(100dvh - 20px); padding: 20px !important; }
  .help-message.from-user { margin-left: 16px; }
  .receipt { padding: 14px; }
  .fee-banner { font-size: 17px; padding: 18px; }
  .section-title > .button { align-self: stretch; }
}
@media (max-width: 380px) {
  .area-grid, .photo-edit { grid-template-columns: minmax(0, 1fr); }
  .registration-panel, .readiness, .private-doc { padding: 14px; }
  .topbar { padding-inline: 16px; font-size: 11px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .help-dialog { max-height: calc(100dvh - 16px); }
  .property-map { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .help-launcher, .help-dialog { display: none !important; }
  footer { padding-bottom: 0; }
}

/* Tenant and landlord operations */
.housing{max-width:1240px;margin:auto;padding:40px 24px}.housing-tabs,.housing-jump{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.housing-tabs a,.housing-jump a{padding:12px 18px;border:1px solid #d9dfdb;border-radius:8px}.housing-tabs a[aria-current=page]{background:#123e35;color:white}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.housing .message-card{margin:18px 0}.housing details summary{cursor:pointer;padding:14px 0;font-weight:600}.housing .stats{display:flex;gap:20px;flex-wrap:wrap}.sale-facts{padding:22px;background:#f2f5f0;border-radius:10px;margin:24px 0}.housing input,.housing textarea{max-width:100%}.housing .table{overflow-x:auto}.housing .history-json{overflow-wrap:anywhere}.ledger-detail{padding:18px;background:#f4f6f3}.housing-jump a{color:#164d40}
@media(max-width:700px){.setup-grid{grid-template-columns:1fr}.housing{padding:24px 16px}.housing-tabs{flex-wrap:nowrap;overflow-x:auto}.housing-tabs a{white-space:nowrap}.housing .button{max-width:100%}}
@media print{header,footer,.topbar,.housing-tabs,.housing-jump,.housing form,.housing button{display:none!important}.housing details{break-inside:avoid}.housing{max-width:none;padding:0}}

/* About Anointed: an operating agency, told through its work and standards. */
.about-opening{padding-top:76px;padding-bottom:52px;border-bottom:1px solid var(--line)}.about-opening h1{max-width:1000px;font-size:clamp(40px,5.7vw,78px);line-height:1.12}.about-opening-bottom{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-top:30px}.about-opening-bottom .lead{max-width:540px;font-size:20px;line-height:1.6;margin:0}.about-opening-bottom a{flex-shrink:0}.about-page .about-story{align-items:center}.about-page .about-photo img{height:540px;object-fit:cover}.about-belief{background:var(--green);color:#fff}.about-belief .eyebrow{color:#dec28b}.about-belief h2{font-size:clamp(34px,4.5vw,58px);max-width:900px}.about-belief>p:last-child{max-width:780px;color:#e2ebe6;font-size:19px;line-height:1.75}.about-page .three-grid article{display:flex;flex-direction:column}.about-page .three-grid .text-link{align-self:start;margin-top:auto}.about-promise{display:grid;grid-template-columns:1fr 1fr;gap:60px}.about-promise ol{list-style:none;padding:0;margin:0;counter-reset:promise}.about-promise li{display:grid;grid-template-columns:35px 1fr;column-gap:18px;padding:23px 0;border-bottom:1px solid var(--line);counter-increment:promise}.about-promise li:before{content:'0' counter(promise);grid-row:span 2;color:#8a6c35}.about-promise strong{font-size:20px}.about-promise li span{margin-top:8px;line-height:1.7}.about-page .image-credit{font-size:14px}@media(max-width:850px){.about-opening-bottom{display:block}.about-opening-bottom a{margin-top:24px}.about-promise{grid-template-columns:1fr;gap:24px}.about-page .about-photo img{height:380px}}@media(max-width:500px){.about-opening{padding-top:44px}.about-opening-bottom .lead{font-size:18px}.about-page .about-photo img{height:300px}.about-belief>p:last-child{font-size:17px}.about-page .three-grid .text-link{margin-top:12px}}

.about-city-film{border-top:1px solid var(--line)}.about-city-film .section-title>p{max-width:330px}.kampala-film-player{aspect-ratio:16/9;width:100%;background:#102c25;overflow:hidden;border-radius:6px}.kampala-film-player iframe{display:block;width:100%;height:100%;border:0}.kampala-film-caption{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-top:18px}.kampala-film-caption p{font-size:14px;line-height:1.65;margin:0}.kampala-film-caption .text-link{margin-top:0;flex-shrink:0}@media(max-width:650px){.kampala-film-caption{flex-direction:column;gap:12px}}

/* Property discovery: clear, full-card links with a little warmth. */
.browse-properties { flex-shrink: 0; border-radius: 6px; box-shadow: 0 5px 14px #123c3214; }
.property-discovery { margin-top: 64px; }
.discovery-heading { margin-bottom: 28px; }
.discovery-heading .eyebrow { margin-top: 0; }
.discovery-heading h2 { font-size: clamp(30px, 3vw, 40px); }
.discovery-heading > p:last-child { margin: 14px 0 0; }
.property-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.property-category {
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0;
  padding: 28px; border: 1px solid #d8e1d8; border-radius: 10px;
  background: #f2f5ee; text-decoration: none; color: var(--green);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.category-top { display: flex; align-items: center; gap: 14px; width: 100%; }
.category-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: #fff9; }
.category-label { font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: 1.5px; }
.category-copy h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.22; }
.category-copy p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; }
.category-action { display: inline-block; margin-top: auto; padding: 7px 0; border-bottom: 1px solid #ad8b48; font-size: 13px; font-weight: 600; }
.category-apartments { grid-row: span 2; padding: 36px; background: var(--green); color: #fff; border-color: var(--green); }
.category-apartments .category-top { flex-direction: column; align-items: flex-start; gap: 24px; }
.category-apartments .category-icon { width: 76px; height: 76px; background: #ffffff12; color: #e7cc98; border: 1px solid #ffffff24; border-radius: 20px; }
.category-apartments .category-icon svg { width: 40px; height: 40px; }
.category-apartments .category-label { color: #e7cc98; }
.category-apartments .category-copy { margin-block: auto; }
.category-apartments h3 { font-size: clamp(32px, 3.2vw, 44px); }
.category-apartments p { color: #dae5db; font-size: 17px; }
.category-apartments .category-action { background: #e8d5af; color: #123c32; padding: 12px 20px; border: 1px solid #e8d5af; border-radius: 5px; }
.category-sale { background: #f7f1e5; border-color: #e5dccb; }
.category-commercial { background: #eef2f2; border-color: #d8e0e1; }
.category-land { background: #eef1e7; border-color: #dce0cf; }
.property-category:is(:hover, :focus-visible) { transform: translateY(-4px); box-shadow: 0 14px 30px #123c3212; border-color: var(--gold); }
.property-category:is(:hover, :focus-visible) .category-action { text-decoration: underline; text-underline-offset: 4px; }
.neighbourhood-grid > a { border-radius: 8px; background: #fafbf8; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.neighbourhood-location { display: flex; align-items: center; gap: 8px; color: #647261; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.neighbourhood-location svg { color: #8a6c35; }
.neighbourhood-grid h3 { margin: 24px 0 12px; }
.neighbourhood-grid .neighbourhood-action { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid #c8b68f; font-size: 13px; font-weight: 500; }
.neighbourhood-grid > a:is(:hover, :focus-visible) { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 24px #123c3210; }
.neighbourhood-grid > a:is(:hover, :focus-visible) .neighbourhood-action { text-decoration: underline; text-underline-offset: 4px; }
a.button, .desktop-nav a, .text-link { transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.text-link:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 5px; }
.desktop-nav a:not(:last-child):is(:hover, :focus-visible) { border-bottom-color: var(--gold); }
.footer-main a:not(.brand):is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1000px) {
  .property-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-apartments { grid-row: auto; grid-column: 1 / -1; }
  .category-apartments .category-top { flex-direction: row; align-items: center; }
  .category-apartments .category-icon { width: 56px; height: 56px; border-radius: 14px; }
  .category-apartments .category-icon svg { width: 30px; height: 30px; }
  .category-apartments .category-copy { margin: 0; max-width: 540px; }
}
@media (max-width: 600px) {
  .property-discovery { margin-top: 40px; }
  .property-category-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .property-category { padding: 24px; gap: 20px; }
  .category-copy h3 { font-size: 28px; }
  .category-apartments h3 { font-size: 34px; }
  .category-apartments p { font-size: 16px; }
  .neighbourhood-grid { gap: 14px; }
  .neighbourhood-grid > a { padding: 22px; }
}

/* Search the whole marketplace, with location suggestions from live listings. */
.home-hero .hero-content { max-width: none; padding-inline: max(6%, calc((100vw - 1260px)/2)); }
.property-search-panel { max-width: 1260px; padding: 24px; margin-top: 32px; border: 1px solid #ffffff45; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px #071f2430; }
.search-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.search-panel-top > a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-decoration: none; }
.search-panel-top > a:hover { text-decoration: underline; }
.search-purpose { display: flex; margin: 0; padding: 4px; border: 0; border-radius: 7px; background: #f1f4ee; }
.search-purpose label { cursor: pointer; position: relative; }
.search-purpose input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.search-purpose span { display: block; padding: 9px 19px; border-radius: 5px; font-size: 14px; font-weight: 500; }
.search-purpose input:checked + span { background: var(--green); color: #fff; box-shadow: 0 2px 6px #123c3220; }
.search-purpose input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.search-panel-fields { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr) minmax(0,1fr) auto; gap: 16px; align-items: end; }
.search-panel-fields > *, .discovery-filters > * { min-width: 0; }
.search-panel-fields .field, .discovery-filters .field { gap: 9px; }
.search-panel-fields .field > span, .search-panel-fields .field > label, .discovery-filters .field > span, .discovery-filters .field > label { font-size: 12px; font-weight: 600; }
.search-panel-fields input:not([type=hidden]), .search-panel-fields .choice, .discovery-filters .choice { height: 52px; border-radius: 6px; border-color: #cdd8ce; }
.search-panel-fields .button, .discovery-filters .button { height: 52px; border-radius: 6px; padding: 12px 20px; font-weight: 600; white-space: nowrap; }
.search-panel-hint { margin: 16px 0 0; font-size: 12px; color: #657260; }
.search-panel-error { margin: 12px 0 0; font-size: 13px; color: #8a4e27; }
.location-input-wrap { position: relative; min-width: 0; }
.location-input-wrap > svg { position: absolute; z-index: 1; top: 50%; left: 14px; transform: translateY(-50%); color: #7b815f; pointer-events: none; }
.location-combobox { width: 100%; height: 52px; border: 1px solid #cdd8ce; border-radius: 6px; background: #fff; box-shadow: none; }
.location-combobox input { width: 100%; min-width: 0; height: 50px; padding: 10px 12px 10px 42px; border: 0; background: transparent; border-radius: 6px; box-shadow: none; font-size: 15px; }
.location-combobox [data-slot=input-group-addon] { display: none; }
.location-suggestions { min-width: 250px; color: var(--ink); }
.location-suggestions [data-slot=combobox-item] { min-height: 44px; font-size: 15px; padding-block: 10px; }
.location-suggestions [data-slot=combobox-empty] { padding: 16px; font-size: 14px; }
.explore-uganda { background: #f3f5ef; border-block: 1px solid #e2e7dc; }
.explore-uganda .section-title { gap: 28px; }
.explore-uganda .section-title p:last-child { max-width: 620px; margin-bottom: 0; }
.discovery-filters { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) auto; gap: 16px; padding: 22px; border: 1px solid #d9e1d5; border-radius: 10px; background: #fff; }
.discovery-filters > .button { align-self: end; }
.discovery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.discovery-toolbar > p { margin: 0; font-size: 14px; font-weight: 600; color: var(--green); }
.discovery-toolbar > p > span { color: #63715f; font-weight: 400; }
.discovery-toolbar > div { display: flex; align-items: center; gap: 20px; }
.discovery-toolbar .text-link { margin: 0; padding-block: 6px; font-size: 13px; gap: 7px; }
.discovery-toolbar button { background: none; border: 0; border-bottom: 1px solid var(--gold); cursor: pointer; }
.discovery-workspace { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 22px; align-items: start; }
.discovery-map-column, .discovery-results { min-width: 0; }
.discovery-map-frame { position: relative; border: 1px solid #ced9c9; border-radius: 10px; overflow: hidden; background: #e5ebdf; }
.discovery-map { width: 100%; height: 520px; z-index: 0; scroll-margin-top: 24px; }
.map-loading, .map-warning { position: absolute; z-index: 1; bottom: 30px; left: 16px; right: 16px; margin: 0; padding: 12px 16px; border-radius: 6px; background: #fffffff2; color: var(--ink); font-size: 13px; pointer-events: none; }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 16px; }
.map-legend > span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #52624e; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; }
.legend-residential, .pin-residential > span { background: #123c32; }
.legend-commercial, .pin-commercial > span { background: #39718a; }
.legend-land, .pin-land > span { background: #94702e; }
.map-footnote { font-size: 12px; line-height: 1.6; margin: 10px 0 0; }
.discovery-pin { display: grid; place-items: center; }
.discovery-pin > span { display: block; width: 21px; height: 21px; border: 3px solid white; border-radius: 50%; box-shadow: 0 2px 7px #123c3270; }
.discovery-pin:hover > span, .discovery-pin:focus-visible > span { transform: scale(1.18); }
.discovery-popup > span { font-size: 11px; color: #64715f; }
.discovery-popup h3 { margin: 10px 0; font-size: 19px; font-family: 'Playfair Display', Georgia, serif; }
.discovery-popup p { margin: 8px 0; font-size: 13px; }
.discovery-popup strong { display: block; font-size: 14px; }
.discovery-popup a { display: inline-block; color: #123c32; margin-top: 14px; }
.discovery-results { max-height: 520px; overflow-y: auto; overscroll-behavior-y: contain; border: 1px solid #d9e1d5; border-radius: 10px; background: #fff; scrollbar-width: thin; }
.discovery-empty { padding: 36px 28px; margin: 0; }
.discovery-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: #f2f5ed; color: #7b815f; }
.discovery-empty h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; line-height: 1.2; }
.discovery-empty p { font-size: 15px; }
.discovery-empty .button { font-size: 13px; border-radius: 5px; padding-inline: 18px; }
.discovery-empty .text-link { font-size: 13px; }
.map-result { padding: 24px; border-bottom: 1px solid #e3e8df; }
.map-result:last-child { border-bottom: 0; }
.map-result.is-selected { background: #f5f3e9; box-shadow: inset 3px 0 var(--gold); }
.map-result .eyebrow { margin: 0; font-size: 10px; letter-spacing: 1px; }
.map-result h3 { margin: 10px 0; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; }
.map-result h3 a { text-decoration: none; }
.map-result h3 a:hover { text-decoration: underline; }
.map-result-location { display: flex; align-items: center; gap: 6px; margin: 10px 0; font-size: 13px; }
.map-result-location svg { flex-shrink: 0; }
.map-result strong { font-size: 16px; }
.map-result small { font-size: 11px; font-weight: 400; }
.map-result-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; font-size: 12px; }
.map-result-links a { display: inline-block; padding-block: 6px; font-weight: 600; text-decoration-color: #ad8b48; }
.map-result-links span { color: #64715f; }
.load-map-results { margin: 20px; width: calc(100% - 40px); border-radius: 5px; }
@media (max-width: 1100px) {
  .search-panel-fields, .discovery-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .discovery-workspace { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
  .discovery-empty { padding: 28px 22px; }
}
@media (max-width: 760px) {
  .discovery-workspace { grid-template-columns: minmax(0,1fr); }
  .discovery-map { height: 400px; }
  .discovery-results { max-height: 440px; }
  .discovery-toolbar { flex-wrap: wrap; gap: 10px; }
  .property-search-panel { padding: 20px; }
  .search-panel-top { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 600px) {
  .home-hero .hero-content { padding-bottom: 64px !important; }
  .search-panel-fields, .discovery-filters { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .property-search-panel { margin-top: 24px; padding: 18px; }
  .search-purpose { width: 100%; }
  .search-purpose label { flex: 1; text-align: center; }
  .search-purpose span { padding: 9px 10px; }
  .search-panel-top > a { padding-block: 4px; }
  .search-panel-hint { font-size: 12px; line-height: 1.7; }
  .discovery-filters { padding: 18px; }
  .discovery-map { height: 340px; }
  .map-result { padding: 22px; }
  .map-legend { gap: 14px; }
}

/* Google map controls inherit the existing accessible map and card layouts. */
.google-map-frame { position: relative; }
.google-property-pin { display: block; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px #123c3270; }
.google-pin-residential { background: #123c32; }
.google-pin-commercial { background: #39718a; }
.google-pin-land { background: #94702e; }
.discovery-popup .text-link { margin-right: 14px; }
.map-google-link { margin-top: 12px; font-size: 13px; }
