/* Explicit media slots: table button padding must not shrink the image inside it.
   Scoped to catalogue views; never alter report photos, home palettes or column order. */
.table-card:not(.view250-cards) td .catalog-photo-trigger:has(>img.detail-thumb){box-sizing:border-box;width:104px;min-width:104px;height:96px;padding:4px;flex-shrink:0}
.table-card:not(.view250-cards) td .catalog-photo-trigger>img.detail-thumb{display:block;width:94px;height:86px;max-width:100%;max-height:100%;object-fit:contain;margin:0;padding:0}
.table-card.view260-rows td:has(>.catalog-photo-trigger){max-width:none}
.table-card.view250-cards tbody td:has(>.catalog-photo-trigger){width:100%;box-sizing:border-box}
.table-card.view250-cards tbody tr:not(.catalog-group251){display:flex;flex-direction:column}
.table-card.view250-cards tbody td:has(>.catalog-photo-trigger){order:-1}
.table-card.view250-cards tbody tr[hidden],.table-card.view250-cards tbody td[hidden]{display:none!important}
.table-card.view250-cards tbody td:has(>.catalog-photo-trigger)::before{display:none!important}
.table-card.view250-cards td>.catalog-photo-trigger{display:flex;box-sizing:border-box;width:100%;max-width:none;height:200px;padding:6px}
.table-card.view250-cards td>.catalog-photo-trigger>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;padding:0}
@media(max-width:600px){.table-card:not(.view250-cards) td .catalog-photo-trigger:has(>img.detail-thumb){width:88px;min-width:88px;height:82px}.table-card:not(.view250-cards) td .catalog-photo-trigger>img.detail-thumb{width:78px;height:72px}.table-card.view250-cards td>.catalog-photo-trigger{height:180px}}
