
/*
 * Theo Properties RC1.0.15.129.37.2
 * Mobile / Tablet Rental Search Composition Lock
 * Scope: public Explore search only; desktop >=1181px intentionally untouched.
 */
@media (max-width:1180px){
  body.theo-app #explore .hero-search-card{
    width:100%!important;max-width:none!important;margin:0!important;padding:18px!important;
    border:1px solid #d9e3e9!important;border-radius:10px!important;background:#fff!important;
    box-shadow:0 10px 28px rgba(18,43,64,.055)!important;overflow:visible!important
  }
  body.theo-app #explore .hero-search-card-head{display:none!important}
  body.theo-app #explore .taxonomy-search{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:14px!important;width:100%!important;padding:0!important;margin:0!important;align-items:end!important
  }
  body.theo-app #explore .taxonomy-search>.field{min-width:0!important;width:100%!important;margin:0!important}
  body.theo-app #explore .taxonomy-search .search-location-field,
  body.theo-app #explore .taxonomy-search .rent-search-field,
  body.theo-app #explore .taxonomy-search>.hero-search-submit{grid-column:1/-1!important}
  body.theo-app #explore .taxonomy-search label,
  body.theo-app #explore .taxonomy-search .field>label{
    display:block!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;
    overflow:visible!important;margin:0 0 7px!important;color:#526978!important;font-size:13px!important;
    line-height:1.25!important;font-weight:750!important;letter-spacing:-.01em!important
  }
  body.theo-app #explore .taxonomy-search select,
  body.theo-app #explore .taxonomy-search input,
  body.theo-app #explore .taxonomy-search .rent-range-trigger{
    width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;margin:0!important;
    border:1px solid #cfdae1!important;border-radius:7px!important;background:#fff!important;color:#17344a!important;
    box-shadow:none!important;font-size:16px!important;line-height:1.2!important;font-weight:650!important
  }
  body.theo-app #explore .taxonomy-search select:focus,
  body.theo-app #explore .taxonomy-search input:focus,
  body.theo-app #explore .taxonomy-search .rent-range-trigger:focus-visible,
  body.theo-app #explore .location-search-shell:focus-within{
    border-color:#6f97ad!important;outline:3px solid rgba(59,123,155,.12)!important;outline-offset:1px!important
  }
  body.theo-app #explore .taxonomy-search select:disabled{
    background:#f5f7f8!important;color:#8697a3!important;opacity:1!important
  }
  body.theo-app #explore .location-search-shell{
    display:grid!important;grid-template-columns:26px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;
    width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;padding:0 5px 0 12px!important;
    border:1px solid #cfdae1!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;
    overflow:visible!important
  }
  body.theo-app #explore .location-search-icon{
    position:static!important;width:22px!important;height:22px!important;display:grid!important;place-items:center!important;
    color:#63879b!important;transform:none!important
  }
  body.theo-app #explore .location-search-icon svg{width:21px!important;height:21px!important}
  body.theo-app #explore .location-search-shell input{
    width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;
    outline:0!important;background:transparent!important;box-shadow:none!important;font-size:16px!important;font-weight:550!important
  }
  body.theo-app #explore .location-search-shell input:focus{border:0!important;outline:0!important;box-shadow:none!important}
  body.theo-app #explore .location-inline-actions{
    position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center!important;
    justify-content:flex-end!important;gap:4px!important;width:auto!important;min-width:0!important;height:42px!important;
    padding:0!important;margin:0!important
  }
  body.theo-app #explore .location-current-button,
  body.theo-app #explore .location-view-pin{
    position:static!important;inset:auto!important;transform:none!important;display:grid!important;place-items:center!important;
    flex:0 0 40px!important;width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;
    margin:0!important;padding:0!important;border:1px solid #a9d5cd!important;border-radius:7px!important;
    background:#edf8f6!important;color:#0a8c7d!important;box-shadow:none!important
  }
  body.theo-app #explore .location-current-button svg,
  body.theo-app #explore .location-view-pin svg{width:19px!important;height:19px!important}
  body.theo-app #explore .location-current-button .location-action-long,
  body.theo-app #explore .location-current-button .location-action-short,
  body.theo-app #explore .location-view-pin span{display:none!important}
  body.theo-app #explore .rent-range-trigger{
    display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 14px!important;text-align:left!important
  }
  body.theo-app #explore .hero-search-submit{
    width:100%!important;height:48px!important;min-height:48px!important;margin:2px 0 0!important;padding:0 18px!important;
    border:1px solid #123952!important;border-radius:7px!important;background:#123952!important;color:#fff!important;
    box-shadow:none!important;font-size:15px!important;line-height:1!important;font-weight:800!important;letter-spacing:-.01em!important
  }
  body.theo-app #explore .hero-search-submit:hover,
  body.theo-app #explore .hero-search-submit:focus-visible{background:#0e3148!important;border-color:#0e3148!important}
  body.theo-app #explore .mobile-filter-launch{display:none!important}
  body.theo-app #explore .public-categories{display:none!important}
  body.theo-app #explore .market-more-filters{
    display:block!important;width:100%!important;margin:14px 0 0!important;border:1px solid #d9e2e7!important;
    border-radius:7px!important;background:#fbfcfd!important;box-shadow:none!important;overflow:hidden!important
  }
  body.theo-app #explore .market-more-filters>summary{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;
    min-height:48px!important;padding:0 14px!important;margin:0!important;color:#17344a!important;cursor:pointer!important;
    list-style:none!important;font-size:14px!important;font-weight:800!important
  }
  body.theo-app #explore .market-more-filters>summary::-webkit-details-marker{display:none!important}
  body.theo-app #explore .market-more-filters>summary small{
    margin-left:auto!important;color:#7b8b96!important;font-size:11px!important;line-height:1.2!important;font-weight:600!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:46%!important
  }
  body.theo-app #explore .market-more-filters>summary:after{
    content:'+'!important;display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;
    border:1px solid #cbd8df!important;border-radius:6px!important;background:#fff!important;color:#5d7381!important;font-size:20px!important;
    line-height:1!important;font-weight:650!important
  }
  body.theo-app #explore .market-more-filters[open]>summary:after{content:'−'!important}
  body.theo-app #explore .market-more-grid{
    padding:14px!important;border-top:1px solid #e5ebee!important;background:#fff!important
  }
  body.theo-app #explore .rent-range-panel{
    width:100%!important;max-width:none!important;margin:12px 0 0!important;padding:16px!important;border-radius:8px!important;
    box-shadow:0 18px 40px rgba(18,43,64,.10)!important
  }
}
@media (min-width:701px) and (max-width:1180px){
  body.theo-app #explore .taxonomy-search .property-class-field{grid-column:1/2!important}
  body.theo-app #explore .taxonomy-search .subtype-search-field{grid-column:2/3!important}
  body.theo-app #explore .market-more-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important
  }
}
@media (max-width:700px){
  body.theo-app #explore .hero-search-card{
    padding:14px!important;border-radius:9px!important;box-shadow:0 8px 22px rgba(18,43,64,.045)!important
  }
  body.theo-app #explore .taxonomy-search{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  body.theo-app #explore .taxonomy-search .search-location-field,
  body.theo-app #explore .taxonomy-search .property-class-field,
  body.theo-app #explore .taxonomy-search .subtype-search-field,
  body.theo-app #explore .taxonomy-search .rent-search-field,
  body.theo-app #explore .taxonomy-search>.hero-search-submit{grid-column:1!important}
  body.theo-app #explore .taxonomy-search label,
  body.theo-app #explore .taxonomy-search .field>label{margin-bottom:6px!important;font-size:13px!important}
  body.theo-app #explore .taxonomy-search select,
  body.theo-app #explore .taxonomy-search input,
  body.theo-app #explore .taxonomy-search .rent-range-trigger,
  body.theo-app #explore .location-search-shell,
  body.theo-app #explore .hero-search-submit{min-height:50px!important;height:50px!important}
  body.theo-app #explore .location-search-shell{grid-template-columns:25px minmax(0,1fr) auto!important;padding-left:11px!important}
  body.theo-app #explore .location-search-shell input{height:46px!important;min-height:46px!important;font-size:16px!important}
  body.theo-app #explore .location-current-button,
  body.theo-app #explore .location-view-pin{
    flex-basis:42px!important;width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important
  }
  body.theo-app #explore .market-more-filters{margin-top:12px!important}
  body.theo-app #explore .market-more-filters>summary{min-height:50px!important;padding:0 12px!important}
  body.theo-app #explore .market-more-filters>summary small{display:none!important}
  body.theo-app #explore .market-more-grid{
    grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:12px!important
  }
}
@media (max-width:360px){
  body.theo-app #explore .hero-search-card{padding:12px!important}
  body.theo-app #explore .taxonomy-search{gap:10px!important}
  body.theo-app #explore .taxonomy-search label,
  body.theo-app #explore .taxonomy-search .field>label{font-size:12.5px!important}
  body.theo-app #explore .location-search-shell{
    grid-template-columns:22px minmax(0,1fr) auto!important;gap:6px!important;padding-left:10px!important
  }
  body.theo-app #explore .location-current-button,
  body.theo-app #explore .location-view-pin{
    flex-basis:40px!important;width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important
  }
}

/* RC1302: preserve hidden state and keep GPS actions within the location row. */
html body.theo-app #explore #location-view-pin[hidden],
html body.theo-app #explore #location-suggestions[hidden],
html body.theo-app #explore #rent-range-panel[hidden]{display:none!important;}
@media(max-width:1180px){
 html body.theo-app #explore #location-search-shell{position:relative!important;display:flex!important;align-items:center!important;gap:8px!important;}
 html body.theo-app #explore #location-search-shell .location-search-icon{flex:0 0 22px!important;}
 html body.theo-app #explore #location-search-shell #location{flex:1 1 0%!important;width:0!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;}
 html body.theo-app #explore #location-search-shell .location-inline-actions{position:static!important;float:none!important;inset:auto!important;flex:0 0 auto!important;margin:0!important;transform:none!important;}
 html body.theo-app #explore #results-title{scroll-margin-top:90px;}
}

/* RC1303: native top-layer rent dialog above all navigation/stacking contexts. */
html.rent-sheet-open::before{content:none!important;display:none!important;}
html body #rent-mobile-dialog{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:hidden!important;}
html body #rent-mobile-dialog:not([open]){display:none!important;}
html body #rent-mobile-dialog::backdrop{background:rgba(11,27,42,.4);}
html body #explore #rent-mobile-dialog #rent-range-panel{position:absolute!important;inset:auto 0 0!important;width:100%!important;margin:0!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain;box-sizing:border-box!important;padding:16px 16px calc(20px + env(safe-area-inset-bottom))!important;background:#fff!important;}
html body #rent-mobile-dialog .rent-range-head{position:sticky;top:-16px;z-index:2;background:#fff;padding-block:12px;}
html body #rent-mobile-dialog #rent-range-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:0 0 44px!important;}
html body #rent-mobile-dialog .rent-range-actions{position:sticky;bottom:0;background:#fff;padding-block:12px;z-index:2;}
