.advert-slot { min-width: 0; max-width: 100%; }
.advert-label { margin-bottom: .5rem; }
.advert-slot img { display: block; width: 100%; max-width: 1200px; height: auto; max-height: 600px; object-fit: contain; }
.advert-controls { display: flex; flex-wrap: wrap; gap: .8rem; }
.advert-controls .text-button { font-size: inherit; min-height: 44px; }
.record-grid > .advert-slot { grid-column: 1 / -1; }
[data-adverts-editor] .advert-editor-image { display: block; width: auto; height: auto; max-width: min(100%, 320px); max-height: 180px; object-fit: contain; align-self: start; justify-self: start; }
[data-adverts-editor] .advert-editor-image[hidden] { display: none; }
[data-adverts-editor] .advert-editor-preview { width: 320px; max-width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
[data-adverts-editor] .advert-editor-preview[hidden] { display: none; }
[data-adverts-editor] .advert-editor-preview > img { max-width: 100%; max-height: 100%; object-fit: contain; }
[data-adverts-items] fieldset { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
