.cover-dialog { width: 580px; max-width: min(580px, calc(100vw - 32px)); }
.cover-dialog .dialogo-caixa { max-height: calc(100vh - 48px); overflow-y: auto; }
.cover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; max-height: 280px; overflow-y: auto; }
.cover-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; min-width: 0; border: 1px solid var(--linha); border-radius: var(--raio); cursor: pointer; }
.cover-option:has(input:checked) { border-color: var(--acento); background: var(--placa-alta); }
.cover-option img { width: 100%; height: 90px; object-fit: contain; }
.cover-option span { font: 11px var(--mono); max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.cover-dialog .cover-option input[type=radio] { width: 16px; height: 16px; margin: 0; }
.cover-local .cover-option { flex-direction: row; justify-content: flex-start; }
.cover-local img { width: 70px; height: 70px; }
.cover-error { margin: 0; color: var(--parada); font-size: 12px; overflow-wrap: anywhere; }
.cover-error:empty { display: none; }
