.product-labels-window{width:min(1230px,calc(100vw - 32px));height:min(850px,calc(100vh - 70px));max-width:1330px;max-height:calc(100vh - 30px);padding:0;resize:both;overflow:hidden;border:1px solid var(--border,#cbdce8);border-radius:10px;color:var(--nuvile-ink,#173e51);background:var(--nuvile-paper,#f7f9fb)}
.product-labels-window[open]{display:flex;flex-direction:column}.product-labels-window>.dialog-head{flex:none;display:flex;align-items:center;padding:10px 16px;gap:10px;background:var(--nuvile-primary,#104f61);color:white}.product-labels-window .dialog-head strong{flex:1}.product-labels-window .dialog-head button{color:white}.product-labels-window .labels-content{flex:1;min-height:0;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.product-labels-window .labels-options{display:flex;align-items:end;flex-wrap:wrap;gap:10px;flex:none}.product-labels-window label{display:flex;flex-direction:column;gap:4px;font-size:13px}.product-labels-window input,.product-labels-window select{height:32px;padding:4px 8px;border:1px solid #cbdce8;border-radius:5px;background:var(--input-bg,#fff);color:inherit}.product-labels-window input[type=checkbox]{width:16px;height:16px}.product-labels-window [data-rates]{display:flex;gap:8px}.labels-work{display:flex;flex:1;min-height:240px;gap:10px}.labels-work>section{min-width:0;flex:1;display:flex;flex-direction:column;gap:8px;overflow:hidden;border:1px solid #d5e1eb;padding:8px;border-radius:5px}.labels-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.labels-tools strong{margin-right:auto}.labels-tools input{width:180px}.labels-grid{flex:1;overflow:auto;min-height:0}.labels-grid table{width:100%;border-collapse:collapse;font-size:13px}.labels-grid th{position:sticky;top:0;background:var(--nuvile-soft,#e9eff7);z-index:1;font-size:12px;text-align:left}.labels-grid td,.labels-grid th{padding:6px;border-bottom:1px solid #d5e1eb}.labels-grid tr[aria-selected=true]{background:var(--nuvile-accent-soft,#eaf1fc)}.labels-grid [data-copies]{width:72px}.labels-grid select{max-width:180px}.labels-preview iframe{flex:1;min-height:180px;width:100%;border:0;background:white}.product-labels-window>footer{flex:none;border-top:1px solid #d5e1eb;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.product-labels-window footer>div{display:flex;gap:8px;flex-wrap:wrap}.product-labels-window button:not(.window-help){height:34px;padding:5px 12px;border:1px solid #cbdce8;border-radius:5px;font:inherit;font-size:13px;cursor:pointer}.product-labels-window button.primary{background:var(--nuvile-primary,#104f61);color:white}.product-labels-window button.outline{background:var(--nuvile-surface,#fff);color:var(--nuvile-primary,#104f61)}.labels-status{padding:0 14px;margin:6px 0;font-size:13px;flex:none;min-height:17px}.label-design-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:650px){.product-labels-window{width:calc(100vw - 12px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);margin:10px auto;resize:none}.labels-work{flex-direction:column;min-height:540px;flex:none}.labels-work>section{min-height:250px}.label-design-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.product-labels-window .labels-options>label{flex:1;min-width:130px}.product-labels-window footer small{width:100%}.product-labels-window>footer{padding:6px}.product-labels-window footer>div{gap:4px}.product-labels-window button:not(.window-help){padding:4px 8px}}

.product-labels-window>footer>div{display:flex!important;flex-flow:row wrap!important;justify-content:flex-end;align-items:center;gap:8px;width:auto!important;flex:0 1 auto!important}.product-labels-window>footer button{width:auto!important;min-width:0!important;flex:0 0 auto!important;grid-column:auto!important;margin:0!important}.product-labels-window>.dialog-head [data-close]{background:transparent;border-color:#ffffff66;color:#fff}.product-labels-window [data-quantities]{align-self:flex-start;width:auto!important}
