.label-print-page{gap:18px;display:grid}.label-mode-tabs{flex-wrap:wrap;gap:8px;display:flex}.label-mode-tabs button{border:1px solid var(--border);background:var(--background);color:var(--foreground);border-radius:10px;align-items:center;gap:8px;padding:10px 14px;font-weight:600;display:flex}.label-mode-tabs button.active{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.label-product-search{gap:16px;display:grid}.label-product-search>.surface{box-shadow:none}.label-settings,.label-preview-panel{gap:16px;display:grid}.label-controls-grid{grid-template-columns:repeat(3,minmax(140px,1fr));align-items:end;gap:14px;display:grid}.label-settings label{gap:7px;font-weight:600;display:grid}.label-settings input,.label-settings select,.label-settings textarea{border:1px solid var(--border);background:var(--background);width:100%;min-height:42px;color:var(--foreground);font:inherit;border-radius:9px;padding:10px 12px}.label-settings textarea{resize:vertical;min-height:120px;line-height:1.5}.label-printer-note{align-items:flex-start;gap:8px;margin:0;display:flex}.label-printer-note svg{flex:none;margin-top:2px}.label-preview-wrap{justify-items:start;gap:8px;display:grid}.label-preview-wrap>span{color:var(--muted-foreground);font-size:12px}.label-preview{color:#111;background:#fff;border:1px dashed #a3a3a3;width:25mm;min-width:94px;height:40mm;min-height:151px;box-shadow:0 4px 16px #00000012}.label-preview .print-label{border:0}.label-preview-empty{color:#737373;text-align:center;place-content:center;justify-items:center;gap:8px;height:100%;padding:8px;font-size:12px;display:grid}.print-label{box-sizing:border-box;color:#111;background:#fff;width:25mm;height:40mm;padding:1.1mm;font-family:Arial,Helvetica,sans-serif;overflow:hidden}.product-print-label{text-align:center;flex-direction:column;justify-content:space-between;align-items:center;display:flex}.label-product-name{-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;width:100%;max-height:8mm;font-size:6pt;font-weight:700;line-height:1.1;display:-webkit-box;overflow:hidden}.label-product-price{white-space:nowrap;width:100%;font-size:12pt;font-weight:800;line-height:1;display:block}.label-barcode{justify-content:center;align-items:center;width:100%;min-height:7mm;display:flex}.label-barcode svg{max-width:100%;height:auto;max-height:8mm;display:block}.label-no-barcode{color:#333;overflow-wrap:anywhere;max-width:100%;font-size:5pt;line-height:1.05;display:block}.label-product-code{letter-spacing:.1px;font-size:5.5pt;line-height:1}.label-unit{letter-spacing:.15px;font-size:4.5pt;font-weight:700;line-height:1;display:block}.custom-print-label{flex-direction:column;gap:2mm;display:flex}.custom-label-text{flex:1;align-items:center;display:flex;overflow:hidden}.custom-label-text>div{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;width:100%;line-height:1.12}#labels-print-root{display:none}@media (max-width:720px){.label-controls-grid{grid-template-columns:1fr}.label-preview-panel>.section-head{flex-direction:column;align-items:flex-start}}@page{size:25mm 40mm;margin:0}@media print{html,body{background:#fff!important;width:25mm!important;margin:0!important;padding:0!important}body *{visibility:hidden!important}#labels-print-root,#labels-print-root *{visibility:visible!important}#labels-print-root{width:25mm!important;margin:0!important;padding:0!important;display:block!important;position:absolute!important;top:0!important;left:0!important}#labels-print-root .print-label{break-after:page;page-break-after:always;box-shadow:none!important;border:0!important;margin:0!important;display:flex!important}#labels-print-root .print-label:last-child{break-after:auto;page-break-after:auto}}
