
/* Theo Properties v1.0.0.8.2
   Tablet / iPad Use My Location Cleanup
   Scope: 701px–1180px only.
   No mobile, desktop, property-card, search-ranking or data-flow changes.
*/

@media (min-width:701px) and (max-width:1180px){
  body.theo-app #explore .location-search-shell{
    grid-template-columns:20px minmax(0,1fr) auto!important;
    gap:7px!important;
  }

  body.theo-app #explore .location-inline-actions{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0!important;
    flex:0 0 auto!important;
  }

  /* View Pin remains compact but readable. */
  body.theo-app #explore .location-view-pin{
    width:auto!important;
    max-width:none!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 10px!important;
    gap:6px!important;
    border-radius:8px!important;
    font-size:11.5px!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
  body.theo-app #explore .location-view-pin svg{
    width:16px!important;
    height:16px!important;
  }
  body.theo-app #explore .location-view-pin span{
    display:inline!important;
  }

  /* Use My Location: short, clean tablet label. */
  body.theo-app #explore .location-current-button{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 11px!important;
    gap:6px!important;
    border-radius:8px!important;
    font-size:11.5px!important;
    font-weight:750!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }

  body.theo-app #explore .location-current-button svg{
    width:16px!important;
    height:16px!important;
    margin:0!important;
    flex:none!important;
  }

  body.theo-app #explore .location-current-button .location-action-long{
    display:none!important;
  }

  body.theo-app #explore .location-current-button .location-action-short{
    display:inline!important;
    max-width:76px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  /* Keep the input usable even on portrait iPad / smaller tablets. */
  body.theo-app #explore .location-search-shell input{
    min-width:0!important;
  }
}

/* iPad / tablet portrait: slightly tighter controls. */
@media (min-width:701px) and (max-width:900px){
  body.theo-app #explore .location-inline-actions{
    gap:5px!important;
  }

  body.theo-app #explore .location-view-pin{
    height:36px!important;
    min-height:36px!important;
    padding:0 9px!important;
    font-size:11px!important;
  }

  body.theo-app #explore .location-current-button{
    height:36px!important;
    min-height:36px!important;
    padding:0 9px!important;
    font-size:11px!important;
  }
}
