#menuImportDialog { width: min(44rem,calc(100% - 1rem)); max-height: calc(100% - 1rem); padding: clamp(.65rem,3vw,1.25rem); border: 1px solid #94a3b8; border-radius: .9rem; color: #163531; background: white; }
#menuImportDialog::backdrop { background: #06283dbd; }
#menuImportDialog [hidden] { display: none !important; }
#menuImportDialog p { margin-block: .55rem; }
#menuImportPreview { display: block; max-width: 100%; max-height: 10rem; margin: .6rem auto; object-fit: contain; }
.menu-import-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.menu-import-actions label { position: relative; cursor: pointer; }
.menu-import-actions input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.menu-import-actions label:focus-within { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.menu-import-table { margin-bottom: .6rem; }
.menu-import-table table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.menu-import-table th { font-size: .8rem; text-align: start; }
.menu-import-table th:nth-child(2) { width: 20%; }
.menu-import-table th:nth-child(3) { width: 27%; }
.menu-import-table th:last-child { width: 3.15rem; }
.menu-import-table td { padding: .2rem; }
.menu-import-table input { width: 100%; min-width: 0; padding: .45rem .3rem; }
#menuImportClose { margin-top: .5rem; }
#productImportDialog { box-sizing:border-box; width:min(45rem,calc(100% - 1rem)); max-height:calc(100% - 1rem); padding:1rem; border:1px solid #94a3b8; border-radius:.9rem; color:#163531; background:white; }
#productImportDialog::backdrop { background:#06283dbd; }
#productImportDialog [hidden] { display:none !important; }
#productImportClose { margin-top:.5rem; }
.product-import-table { overflow:auto; margin-bottom:.65rem; }
.product-import-table table { width:100%; border-collapse:collapse; }
.product-import-table th,.product-import-table td { padding:.45rem .35rem; text-align:start; border-bottom:1px solid #cedfd9; overflow-wrap:anywhere; min-width:3.1rem; }
.product-import-table td:last-child { min-width:6rem; }
.product-tools-dialog { box-sizing:border-box; width:min(42rem,calc(100% - 1rem)); max-height:calc(100% - 1rem); padding:1rem; border:1px solid #94a3b8; border-radius:.9rem; background:white; }
.product-tools-dialog::backdrop { background:#06283dbd; }
#productLabelsForm { display:grid; gap:.5rem; }
#productLabelsForm label { display:grid; gap:.25rem; }
#bulkPricesRows input { width:100%; min-width:5rem; }
#productLabelsSheet { display:flex; flex-wrap:wrap; gap:3mm; margin:3mm 0; }
.product-label { display:flex; flex-direction:column; align-items:center; justify-content:center; box-sizing:border-box; width:48mm; min-height:24mm; padding:2mm 1mm; border:1px dashed #94a3b8; break-inside:avoid; overflow-wrap:anywhere; text-align:center; color:#000; background:white; }
.product-label svg { max-width:100%; height:auto; }
@media print {
  body.product-label-print > :not(#productLabelsDialog),
  body.product-label-print #productLabelsDialog > :not(#productLabelsSheet) { display:none !important; }
  body.product-label-print #productLabelsDialog { position:static; display:block; overflow:visible; width:auto; max-width:none; max-height:none; margin:0; padding:0; border:0; }
  body.product-label-print #productLabelsDialog::backdrop { display:none; }
}
