/* V10338 property localization + language menu fit */
#almServiceLanguageV10336 .alm-lang-menu{
  width:min(300px,82vw);
  grid-template-columns:repeat(2,minmax(118px,1fr));
  max-height:64vh;
}
#almServiceLanguageV10336 .alm-lang-menu a{font-size:14px}
@media(max-width:720px){
  #almServiceLanguageV10336 .alm-lang-menu{width:min(225px,84vw);grid-template-columns:1fr}
}

/* V10348: show saved property names clearly in comparison selectors */
.pd-pickers{
  display:grid;
  grid-template-columns:repeat(2,minmax(220px,1fr));
  gap:16px;
}

.pd-pickers label{
  min-width:0;
}

.pd-pickers select{
  width:100%;
  min-width:220px;
  max-width:100%;
  white-space:nowrap;
  text-overflow:ellipsis;
}

@media (max-width: 900px){
  .pd-pickers{
    grid-template-columns:1fr;
  }

  .pd-pickers select{
    min-width:0;
  }
}

/* V10349: rebalance Property Comparison workspace */
.property-layout.workspace{
  display:grid;
  grid-template-columns:minmax(560px, 0.9fr) minmax(0, 1.6fr);
  gap:24px;
  align-items:start;
}

.property-layout.workspace .controls.pd-main{
  min-width:0;
}

.pd-pickers{
  grid-template-columns:repeat(2,minmax(230px,1fr));
  gap:18px;
}

.pd-pickers select{
  width:100%;
  min-width:0;
}

@media (max-width:1100px){
  .property-layout.workspace{
    grid-template-columns:1fr;
  }

  .pd-pickers{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px){
  .pd-pickers{
    grid-template-columns:1fr;
  }
}

/* V10350: final Property Comparison column balance */
.property-layout.workspace{
  display:grid !important;
  grid-template-columns:720px minmax(0,1fr) !important;
  gap:24px !important;
  align-items:start !important;
}

.property-layout.workspace > .controls.pd-main{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}

.pd-pickers{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px !important;
  width:100% !important;
}

.pd-pickers label{
  min-width:0 !important;
  width:100% !important;
}

.pd-pickers select{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

@media (max-width:1200px){
  .property-layout.workspace{
    grid-template-columns:minmax(600px,1fr) minmax(0,1fr) !important;
  }
}

@media (max-width:950px){
  .property-layout.workspace{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:650px){
  .pd-pickers{
    grid-template-columns:1fr !important;
  }
}
