/* v6.4.4 desktop/tablet layout: map left, property list right */
@media (min-width:769px){
  #wrap{
    flex-direction:row-reverse!important;
  }

  #sidebar{
    border-right:0!important;
    border-left:1px solid #d8e1ef!important;
    box-shadow:-3px 0 12px rgba(15,23,42,.08)!important;
  }

  .header{
    left:0!important;
    right:auto!important;
  }

  #aiSidePanel{
    left:0!important;
    right:auto!important;
    border-right:1px solid #d8e1ef!important;
    border-left:0!important;
    box-shadow:8px 0 28px rgba(15,23,42,.16)!important;
    transform:translateX(-105%)!important;
  }

  body.ai-side-panel-open #aiSidePanel{
    transform:translateX(0)!important;
  }

  body.ai-side-panel-open #map{
    margin-right:0!important;
    margin-left:480px!important;
  }
}

@media (min-width:1100px){
  .filters{
    left:243px!important;
    right:0!important;
  }

  #aiSidePanel{
    top:60px!important;
  }
}

@media (min-width:769px) and (max-width:1099px){
  .filters{
    left:190px!important;
    right:0!important;
  }
}

@media (min-width:769px) and (max-width:1099px) and (orientation:landscape){
  #aiSidePanel{
    top:96px!important;
  }
}

@media (min-width:769px) and (max-width:1099px) and (orientation:portrait){
  #aiSidePanel{
    top:184px!important;
  }
}

@media (min-width:769px) and (max-width:1300px){
  body.ai-side-panel-open #map{
    margin-left:420px!important;
  }
}

/* v6.4.6 desktop/tablet property-card height correction */
@media (min-width:769px){
  #list .item{
    padding-top:5px!important;
    padding-bottom:5px!important;
  }

  .item-compact-main-v650{
    grid-template-rows:minmax(25px,auto) minmax(25px,auto) minmax(27px,auto)!important;
    gap:2px!important;
  }

  .item-compact-actions-v650{
    min-height:27px!important;
    padding-bottom:0!important;
  }

  .item-compact-actions-v650 .customer-match-inline-actions button,
  .item-compact-actions-v650 .item-nav-btn,
  .item-compact-actions-v650 .item-roadview-btn,
  .item-compact-actions-v650 .item-building-register-btn,
  .item-compact-actions-v650 .item-list-add-btn,
  .item-compact-actions-v650 .item-source-link-btn,
  .item-compact-actions-v650 .item-edit-btn-v630,
  .item-compact-actions-v650 .item-memo-toggle{
    height:27px!important;
    min-height:27px!important;
    max-height:27px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    line-height:25px!important;
  }
}

@media (min-width:769px) and (pointer:coarse),
       (min-width:769px) and (any-pointer:coarse),
       (min-width:769px) and (hover:none){
  #list .item{
    padding-top:6px!important;
    padding-bottom:6px!important;
  }

  .item-compact-main-v650{
    grid-template-rows:minmax(28px,auto) minmax(28px,auto) minmax(30px,auto)!important;
    gap:3px!important;
  }

  .item-compact-actions-v650{
    min-height:30px!important;
  }

  .item-compact-actions-v650 .customer-match-inline-actions button,
  .item-compact-actions-v650 .item-nav-btn,
  .item-compact-actions-v650 .item-roadview-btn,
  .item-compact-actions-v650 .item-building-register-btn,
  .item-compact-actions-v650 .item-list-add-btn,
  .item-compact-actions-v650 .item-source-link-btn,
  .item-compact-actions-v650 .item-edit-btn-v630,
  .item-compact-actions-v650 .item-memo-toggle{
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    font-size:12.5px!important;
    line-height:28px!important;
  }
}
