/* Barcode label printing page - completely scoped to nsLabelDesigner */
#nsLabelDesigner{max-width:1160px;margin:0 auto;padding-bottom:55px;color:var(--ink,#18223d)}
#nsLabelDesigner .nsld-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
#nsLabelDesigner .nsld-header h2{margin:0;font-size:22px;font-weight:850}
#nsLabelDesigner .nsld-tag{background:#e9f0ff;color:#2443a0;font-size:12px;padding:7px 11px;border-radius:999px;font-weight:700}
#nsLabelDesigner .nsld-grid{display:grid;grid-template-columns:minmax(290px,1fr) minmax(320px,1.2fr);gap:16px;align-items:start}
#nsLabelDesigner .nsld-panel{background:#fff;border:1px solid #dce5f1;border-radius:17px;padding:18px;box-shadow:0 6px 20px #09254c0c}
#nsLabelDesigner .nsld-panel h3{font-size:16px;font-weight:800;margin:0 0 16px}
#nsLabelDesigner .nsld-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#nsLabelDesigner .nsld-fields .nsld-full{grid-column:1/-1}
#nsLabelDesigner label{display:block;font-size:12px;font-weight:750;color:#43516e;margin-bottom:5px}
#nsLabelDesigner input:not([type=checkbox]),#nsLabelDesigner select{background:#fafcff;border:1px solid #cbd5e3;border-radius:9px;color:#18223d;min-width:0;width:100%;height:42px;padding:8px 10px;outline-offset:2px}
#nsLabelDesigner .nsld-qty{max-width:180px}
#nsLabelDesigner .nsld-checks{display:flex;gap:13px;flex-wrap:wrap;margin-top:13px}
#nsLabelDesigner .nsld-checks label{display:flex;align-items:center;gap:6px;margin:0;cursor:pointer}
#nsLabelDesigner .nsld-checks input{accent-color:#2758ca}
#nsLabelDesigner .nsld-actions{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}
#nsLabelDesigner button{padding:10px 14px;border:0;border-radius:10px;background:#edf3ff;color:#21447e;font-weight:750}
#nsLabelDesigner button.primary{background:#2563eb;color:white}
#nsLabelDesigner button.dark{background:#152447;color:white}
#nsLabelDesigner button:disabled{opacity:.46;cursor:not-allowed}
#nsLabelDesigner .nsld-canvas{background:#e6ebf4;border-radius:14px;min-height:250px;display:flex;align-items:center;justify-content:center;padding:19px}
#nsLabelDesigner .nsld-canvas canvas{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;box-shadow:0 6px 20px #1b365b29;background:white;image-rendering:auto}
#nsLabelDesigner .nsld-status{background:#ecf8f4;color:#226b58;border-radius:9px;padding:10px 12px;font-size:12px;line-height:1.6;margin-top:12px;word-break:break-word}
#nsLabelDesigner .nsld-error{background:#fff2f0;color:#ad3333}
#nsLabelDesigner .nsld-hint{color:#67748b;line-height:1.65;font-size:12px;margin:10px 0}
#nsLabelDesigner .nsld-warn{background:#fff7e9;border:1px solid #ffe2ad;border-radius:11px;padding:11px 13px;color:#7d540f;font-size:12px;line-height:1.6}
@media (max-width:880px){#nsLabelDesigner .nsld-grid{grid-template-columns:1fr}}
@media (max-width:520px){#nsLabelDesigner .nsld-panel{padding:12px}#nsLabelDesigner .nsld-fields{gap:8px}#nsLabelDesigner .nsld-grid{gap:10px}#nsLabelDesigner .nsld-canvas{min-height:160px;padding:12px}}
@media print{#nsLabelDesigner{display:none!important}}
