.warehouse-label-template-card{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center;padding:16px;margin:12px 0;border:1px solid #cbd5e1;border-radius:14px;background:#fff}.wlt-preview{aspect-ratio:2/1;border:1px solid #94a3b8;border-radius:8px;padding:7px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.wlt-preview .wlt-code{font-weight:900;font-size:22px}.wlt-preview .wlt-name{font-size:11px}.wlt-bars,.wlt-barcode{display:block;width:92%;height:32%;background:repeating-linear-gradient(90deg,#111 0 2px,transparent 2px 4px,#111 4px 5px,transparent 5px 8px)}.wlt-copy>div:first-child{display:flex;gap:8px;align-items:center}.wlt-copy h3{margin:0}.wlt-copy p{color:#64748b}.wlt-backdrop{position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.62);display:flex;align-items:center;justify-content:center;padding:20px}.wlt-modal{width:min(1200px,96vw);max-height:94vh;overflow:auto;background:#f8fafc;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.wlt-modal>header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:5}.wlt-modal>header span{font-size:12px;font-weight:800;color:#2563eb}.wlt-modal>header h2{margin:3px 0 0}.wlt-modal>header button{border:0;background:transparent;font-size:28px;cursor:pointer}.wlt-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;padding:18px}.wlt-layout main,.wlt-layout aside{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:15px}.wlt-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.wlt-toolbar label{display:flex;flex-direction:column;font-size:12px;font-weight:700}.wlt-toolbar input{width:120px;padding:8px}.wlt-help{color:#64748b;font-size:12px;max-width:360px}.wlt-stage-wrap{overflow:auto}.wlt-stage{width:min(820px,100%);margin:auto;position:relative;background:#fff;border:2px solid #334155;box-shadow:0 8px 25px #cbd5e1;min-height:170px}.wlt-element{position:absolute;display:flex;align-items:center;overflow:hidden;border:1px dashed transparent;background:rgba(37,99,235,.04);padding:1px;cursor:move;color:#111}.wlt-element.selected{border:2px solid #2563eb;background:rgba(37,99,235,.08);z-index:2}.wlt-element i{position:absolute;width:12px;height:12px;right:0;bottom:0;background:#2563eb;cursor:nwse-resize}.wlt-element .wlt-barcode{height:85%;width:100%}.wlt-field-list{display:grid;gap:6px}.wlt-field-list button{border:1px solid #cbd5e1;background:#fff;border-radius:9px;padding:9px;display:flex;justify-content:space-between;align-items:center;text-align:left}.wlt-field-list button.active{border-color:#2563eb;background:#eff6ff}.wlt-controls{border-top:1px solid #e2e8f0;margin-top:14px;padding-top:12px;display:grid;gap:10px}.wlt-controls label{display:grid;gap:4px;font-size:12px;font-weight:700}.wlt-controls input,.wlt-controls select{padding:7px;border:1px solid #cbd5e1;border-radius:7px}.wlt-controls .check{display:flex;grid-template-columns:auto 1fr;align-items:center}.wlt-nums{display:grid;grid-template-columns:1fr 1fr;gap:7px}.wlt-modal>footer{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;padding:14px 18px;background:#fff;border-top:1px solid #e2e8f0;position:sticky;bottom:0}.wlt-modal button{cursor:pointer}.wlt-modal footer button{padding:9px 14px;border-radius:8px;border:1px solid #cbd5e1;background:#fff}.wlt-modal footer .primary{background:#2563eb;color:#fff;border-color:#2563eb}#whLabelToast{position:fixed;z-index:120000;right:20px;bottom:20px;background:#166534;color:white;padding:12px 16px;border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.25)}#whLabelToast.bad{background:#991b1b}@media(max-width:760px){.warehouse-label-template-card{grid-template-columns:1fr}.wlt-preview{max-width:250px}.wlt-backdrop{padding:0}.wlt-modal{width:100vw;max-height:100vh;height:100vh;border-radius:0}.wlt-layout{grid-template-columns:1fr;padding:10px}.wlt-layout aside{order:2}.wlt-stage{min-height:130px}.wlt-modal>footer{grid-template-columns:1fr 1fr}.wlt-modal>footer span{display:none}}
