.commerce-panel{margin:0 0 18px;padding:20px}.commerce-panel .row{flex-wrap:wrap}.commerce-panel input[type=month]{max-width:220px}.commerce-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;padding:24px;border-radius:18px;overscroll-behavior:contain}.commerce-dialog::backdrop{background:#001b2cb8}.commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.commerce-heading h2{margin:0 0 16px}.commerce-heading button{flex:none;min-width:44px}.commerce-dialog label{display:block;margin:12px 0}.commerce-dialog input,.commerce-dialog select,.commerce-dialog textarea{box-sizing:border-box;display:block;width:100%;font-size:16px;min-height:44px;margin-top:5px}.commerce-dialog button{min-height:44px}.commerce-list{display:grid;gap:12px;margin:15px 0}.commerce-item,.commerce-line-editor,.commerce-calculation,.commerce-tier{padding:14px;border:1px solid #75aaa988;border-radius:12px}.commerce-item{overflow-wrap:anywhere}.commerce-item p{margin:8px 0}.commerce-item button{margin:4px 8px 4px 0}.commerce-tier{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.commerce-tier label{min-width:0}.commerce-calculation{margin:12px 0}.commerce-old-price{color:#d52b40;font-weight:600}.commerce-total{font-size:1.15em;font-weight:700}.commerce-dialog [role=alert]{color:#c5253c}.traxio-dark .commerce-dialog [role=alert]{color:#ffb6be}.commerce-dialog [hidden]{display:none!important}@media(max-width:420px){.commerce-dialog{padding:16px}.commerce-tier{grid-template-columns:1fr;gap:0}.commerce-panel{padding:14px}.commerce-dialog .row{display:flex;flex-direction:column;align-items:stretch}.commerce-dialog .row button{width:100%}}
.pdf-order-item{border-top:1px solid #75aaa988;padding-top:12px;margin-top:16px}.commerce-dialog .pdf-review-check{display:flex;align-items:flex-start;gap:10px}.commerce-dialog .pdf-review-check input{flex:none;width:24px;min-height:24px;margin:0}.commerce-dialog input[type=file]{white-space:normal}

#orderDraftImport .commerce-item{min-width:0;overflow-wrap:anywhere}#orderDraftImport select,#orderDraftImport textarea{max-width:100%;box-sizing:border-box}

#draftImportPhoto{display:block;max-width:100%;max-height:60vh;object-fit:contain;margin:12px auto}#draftImportPhoto[hidden]{display:none}

#bussolaImportDialog [aria-invalid=true]{outline:2px solid #c5253c;outline-offset:3px;scroll-margin-block:24px}#bussolaImportDialog .bussola-field-error{display:block;margin-top:8px;color:#c5253c;font-weight:600}body.traxio-dark #bussolaImportDialog [aria-invalid=true]{outline-color:#ffb6be}body.traxio-dark #bussolaImportDialog .bussola-field-error{color:#ffb6be}
