/* Manila58 V3.2.21 — valid native details / summary: one card per therapist. */
#m58-v24 #m58-v24-results {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
}
#m58-v24 #m58-v24-results > details.m58-v24-result {
  display: block !important;
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 13px !important;
  border: 1px solid #dfebeb !important;
  border-radius: 17px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(10,83,87,.05) !important;
  overflow: visible;
}
#m58-v24 #m58-v24-results > details.m58-v24-result[hidden] { display: none !important; }
#m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 23px 0 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  list-style: none !important;
  background: transparent !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}
#m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle::-webkit-details-marker {display:none !important;}
#m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle::marker {content:'' !important;}
#m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle::after {
  content:'';
  position:absolute;
  right:5px;
  top:50%;
  width:8px;
  height:8px;
  border-right:2px solid #52878a;
  border-bottom:2px solid #52878a;
  transform:translateY(-65%) rotate(45deg);
  transition:transform .18s ease;
  pointer-events:none;
}
#m58-v24 #m58-v24-results > details.m58-v24-result[open] > summary.m58-v3221-toggle::after {
  transform:translateY(-25%) rotate(225deg);
}
#m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle:focus-visible {
  outline: 2px solid #078d90;
  outline-offset: 4px;
}
#m58-v24 #m58-v24-results > details.m58-v24-result .m58-v24-info { min-width:0; flex:1; }
#m58-v24 #m58-v24-results > details.m58-v24-result .m58-v24-itemphoto {flex:none;}
/* The thumbnail triggers expanding this technician's card. Full images in the expanded gallery still open its own lightbox. */
#m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle img { pointer-events:none !important; }
#m58-v24 #m58-v24-results > details.m58-v24-result .m58-v24-price { display:none !important; }
#m58-v24 #m58-v24-results > details.m58-v24-result > .m58-v3221-expanded {
  display:none;
  margin:12px 0 0 !important;
  padding:12px !important;
  background:#f4faf9 !important;
  border:1px solid #e0eeee !important;
  border-radius:13px !important;
}
#m58-v24 #m58-v24-results > details.m58-v24-result[open] > .m58-v3221-expanded { display:block; }
#m58-v24 #m58-v24-results > details.m58-v24-result .m58-v3220-actions {
  display:flex;justify-content:flex-end;gap:9px;margin-top:12px;
}
#m58-v24 #m58-v24-results > details.m58-v24-result .m58-v24-book[hidden] {display:none!important;}
#m58-v24 #m58-v24-results > details.m58-v24-result .m58-v24-book {margin-top:10px;}
/* Counter Zibll's general paragraph and details spacing while leaving detail text readable. */
#m58-v24 #m58-v24-results > details.m58-v24-result > .m58-v3221-expanded p {margin:0 0 9px !important;}
#m58-v24 #m58-v24-results > details.m58-v24-result > .m58-v3221-expanded p:last-child {margin-bottom:0!important;}
@media(max-width:540px){
 #m58-v24 #m58-v24-results {gap:10px!important;}
 #m58-v24 #m58-v24-results > details.m58-v24-result {padding:11px!important;}
 #m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle {gap:10px!important;padding-right:20px!important;}
 #m58-v24 #m58-v24-results > details.m58-v24-result > .m58-v3221-expanded {padding:10px!important;}
}
@media(prefers-reduced-motion:reduce){#m58-v24 #m58-v24-results > details.m58-v24-result > summary.m58-v3221-toggle::after{transition:none;}}

/* V3.2.22: remove the redundant “category · 服务人员 / 共 N 位” row.
   Place the first card immediately after the area/gender filters. */
#m58-v24.m58-v3217-detail #m58-v3215-results-section {
  border-top: 0 !important;
  padding-top: 6px !important;
  margin-top: 0 !important;
}
