/* EPA V104 — restrained public salon cards, three distinct mobile layouts. */
@media(max-width:750px){
#epaWorkspace .epa-v41-room-grid.epa-v51-cards{width:100%!important;gap:9px!important;align-items:start!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;border:1px solid #e5eaf0!important;border-radius:12px!important;box-shadow:0 2px 8px rgba(17,44,69,.055)!important;background:#fff!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-content{min-width:0!important;padding:9px!important;gap:3px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-content h3{font-size:12px!important;line-height:1.28!important;font-weight:700!important;letter-spacing:0!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-place,#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-meta{font-size:10px!important;line-height:1.35!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-salon-rating{font-size:9px!important;line-height:1.35!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v41-room-price{font-size:13px!important;margin-top:3px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions{grid-column:1/-1!important;grid-row:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.78fr)!important;gap:5px!important;padding:7px!important;border-top:1px solid #f0f2f5!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards .epa-v52-room-actions .epa-btn{min-height:31px!important;padding:6px 3px!important;border-radius:8px!important;font-size:10px!important;font-weight:650!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards>.epa-v41-room-card>img,#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:#f3f6f9!important;min-width:0!important;max-width:100%!important}
/* Yan yana: always two narrow tiles, including a single listing. */
#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}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card,#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;grid-template-columns:none!important;align-items:stretch!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card>img,#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card>.epa-v41-room-image,#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child>img,#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"]>.epa-v41-room-card:only-child>.epa-v41-room-image{width:100%!important;height:105px!important;min-height:105px!important;max-height:105px!important;grid-column:auto!important;grid-row:auto!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v41-room-content{flex:1!important;padding:8px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v52-room-actions{grid-template-columns:1fr!important;gap:4px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="grid"] .epa-v52-room-actions .epa-btn{min-height:29px!important;font-size:9px!important}
/* Alt alta: horizontal, moderate-height list cards, not full-screen photos. */
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:start!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="stack"]>.epa-v41-room-card>img,#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:112px!important;height:128px!important;min-height:128px!important;max-height:128px!important}
#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}
/* Kompakt: shorter than Alt alta with a small thumbnail. */
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:start!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"]>.epa-v41-room-card>img,#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:88px!important;height:105px!important;min-height:105px!important;max-height:105px!important}
#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:8px!important}
#epaWorkspace .epa-v41-room-grid.epa-v51-cards[data-epa-view-mode="compact"] .epa-v52-room-actions{grid-column:1/-1!important;grid-row:2!important}
}
/* Header avatar stays stable through repeated account renders. */
@media(max-width:560px){.topbar .user-account{min-width:0!important;max-width:145px!important;flex-shrink:0!important}.topbar .user-account .user-text{min-width:0!important;max-width:90px!important;overflow:hidden!important}.topbar .user-account .epa-v68-name-window{max-width:90px!important}.topbar .user-account .epa-v68-name-track{animation:none!important;transform:none!important}.topbar .user-account .avatar,.topbar .user-account .avatar-placeholder{width:35px!important;height:35px!important;flex:0 0 35px!important;object-fit:cover!important}.topbar .user-account>span:last-child{display:none!important}}
