/* V105: compact public salon cards. Override legacy V51 high-specificity mode rules. */
@media(max-width:750px){
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards{gap:8px!important;align-items:start!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card{min-width:0!important;max-width:100%!important;border:1px solid #e3eaf0!important;border-radius:12px!important;box-shadow:0 2px 6px #193a5410!important;overflow:hidden!important;background:#fff!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-content{padding:8px!important;gap:3px!important;min-width:0!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-content h3{font-size:12px!important;line-height:1.3!important;font-weight:700!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-place,body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-meta{font-size:10px!important;line-height:1.35!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-salon-rating{font-size:9px!important;line-height:1.3!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-price{font-size:13px!important;margin-top:3px!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions{display:flex!important;grid-column:1/-1!important;grid-row:auto!important;gap:6px!important;padding:6px 8px!important;margin:0!important;border-top:1px solid #edf1f5!important;background:#fff!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions .epa-btn{flex:1 1 0!important;min-width:0!important;min-height:30px!important;padding:5px 4px!important;font-size:10px!important;border-radius:8px!important;box-shadow:none!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card>img,body #epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card>.epa-v41-room-image{display:block!important;object-fit:contain!important;object-position:center!important;background:#f0f4f7!important;padding:0!important}
/* Yan yana: true two-column tiles even if there is only one salon. */
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card,body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child{grid-column:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;grid-template-columns:none!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card>img,body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card>.epa-v41-room-image,body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child>img{width:100%!important;height:92px!important;min-height:92px!important;max-height:92px!important;grid-row:auto!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v41-room-content{flex:1 1 auto!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v52-room-actions{display:grid!important;grid-template-columns:1fr!important;gap:4px!important}
/* Alt alta: message-style horizontal card, not vertical poster. */
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card{display:grid!important;grid-template-columns:102px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:start!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card>img,body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card>.epa-v41-room-image{grid-column:1!important;grid-row:1!important;width:102px!important;height:112px!important;min-height:112px!important;max-height:112px!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card>.epa-v41-room-content{grid-column:2!important;grid-row:1!important}
/* Compact: smaller than stacked, minimal actions. */
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:start!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card>img,body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card>.epa-v41-room-image{grid-column:1!important;grid-row:1!important;width:76px!important;height:90px!important;min-height:90px!important;max-height:90px!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card>.epa-v41-room-content{grid-column:2!important;grid-row:1!important;padding:7px 9px!important}
body #epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"] .epa-v52-room-actions{grid-row:2!important}
/* Detail: a compact image strip; tap to enlarge without sacrificing original photo. */
body #epaWorkspace .epa-v55-office-detail{padding:12px!important}
body #epaWorkspace .epa-v55-office-head h2{font-size:18px!important;line-height:1.3!important}
body #epaWorkspace .epa-v55-office-head p{font-size:11px!important;line-height:1.4!important;margin:4px 0!important}
body #epaWorkspace .epa-v55-office-gallery{margin:8px 0!important;gap:5px!important}
body #epaWorkspace .epa-v55-office-main-photo{height:118px!important;min-height:118px!important;max-height:118px!important;aspect-ratio:auto!important;border-radius:10px!important;background:#f1f5f8!important}
body #epaWorkspace .epa-v55-office-main-photo img{width:100%!important;height:100%!important;object-fit:contain!important}
body #epaWorkspace .epa-v91-reviews{margin:5px 0!important;padding:5px 0!important}
body #epaWorkspace .epa-v91-reviews h3{font-size:13px!important;margin:0 0 3px!important}
body #epaWorkspace .epa-v91-reviews p{font-size:11px!important;margin:0!important}
body #epaWorkspace .epa-v55-office-facts{gap:5px!important;margin:7px 0!important}
body #epaWorkspace .epa-v55-office-facts span{padding:5px 7px!important;font-size:10px!important}
body #epaWorkspace .epa-v55-office-description,body #epaWorkspace .epa-v55-office-included{font-size:11px!important;line-height:1.4!important;margin:5px 0!important}
body #epaWorkspace .epa-v55-office-bottom{margin-top:8px!important;padding-top:8px!important}
body #epaWorkspace .epa-v55-office-book-action{min-height:37px!important;padding:8px!important;font-size:12px!important;margin-top:8px!important}
}
