/* Gestão TT | Impressão de etiquetas da Biblioteca | 60x25mm */
.tt-library-labels-open{overflow:hidden!important}
.tt-library-labels-overlay[hidden]{display:none!important}
.tt-library-labels-overlay{
 position:fixed;z-index:2147483000;inset:0;display:flex;align-items:center;justify-content:center;
 padding:20px;background:rgba(8,8,8,.52);backdrop-filter:blur(5px);
}
.tt-library-labels-dialog{
 width:min(740px,100%);max-height:min(92dvh,940px);display:flex;flex-direction:column;
 background:#fff;border:1px solid #E5E5E3;border-radius:20px;overflow:hidden;color:#080808;
 box-shadow:0 25px 85px rgba(8,8,8,.18);outline:none;font-family:Inter,Arial,sans-serif;
}
.tt-library-labels-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px 26px 18px;border-bottom:1px solid #EDEDEC}
.tt-library-labels-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#E2001B}
.tt-library-labels-head h3{font-size:23px;font-weight:850;letter-spacing:-.035em;margin:5px 0 8px;line-height:1.15}
.tt-library-labels-head p{font-size:12px;line-height:1.55;color:#626262;margin:0}
.tt-library-labels-close{width:35px;height:35px;flex-shrink:0;background:#F7F7F5;border:1px solid #E6E6E4;border-radius:10px;color:#080808;font-size:25px;cursor:pointer}
.tt-library-labels-body{padding:18px 26px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.tt-library-labels-preview-box{border:1px solid #F1DADB;border-radius:13px;background:#FCF8F8;display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:16px}
.tt-library-labels-preview{height:25mm;width:60mm;max-width:100%;border:1px dashed #DFACB0;border-left:3px solid #E2001B;border-radius:3px;padding:3mm 3.2mm;background:#fff;display:flex;align-items:center;gap:2.6mm;flex-shrink:0;box-sizing:border-box;box-shadow:0 3px 12px rgba(8,8,8,.04)}
.tt-library-labels-preview img{width:24mm;max-height:14mm;object-fit:contain;flex-shrink:0}
.tt-library-labels-preview-divider{background:#E2001B;width:.35mm;height:13mm;flex-shrink:0}
.tt-library-labels-preview-copy{min-width:0;display:flex;flex-direction:column;gap:2mm}
.tt-library-labels-preview-copy span{font-size:7px;font-weight:850;letter-spacing:.035em;color:#555;line-height:1.25}
.tt-library-labels-preview-copy strong{font-size:17px;font-weight:900;line-height:1;letter-spacing:-.025em;color:#080808}
.tt-library-labels-preview-notes{flex:1;display:flex;flex-direction:column;gap:5px;min-width:200px}
.tt-library-labels-preview-notes strong{font-size:12px;color:#080808}
.tt-library-labels-preview-notes span{font-size:11px;color:#626262;line-height:1.4}
.tt-library-labels-selector-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:23px 0 13px}
.tt-library-labels-selector-head h4{font-size:15px;font-weight:850;letter-spacing:-.015em;margin:0 0 4px}
.tt-library-labels-selector-head p{font-size:11px;color:#626262;margin:0}
.tt-library-labels-shortcuts{display:flex;gap:8px;flex-wrap:wrap}
.tt-library-labels-shortcuts button{border:1px solid #E4E4E1;background:white;border-radius:8px;padding:8px 10px;color:#272727;font-size:11px;font-weight:750;cursor:pointer}
.tt-library-labels-shortcuts button:first-child{border-color:#F7BCBC;color:#99001A;background:#FFF6F6}
.tt-library-labels-search{width:100%;height:39px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:9px;border:1px solid #E3E3E0;background:#fff;color:#626262;font-size:18px}
.tt-library-labels-search input{outline:0;border:0;background:transparent;flex:1;min-width:0;color:#080808;font-size:12px;height:100%}
.tt-library-labels-list{border:1px solid #E3E3E0;border-radius:11px;max-height:230px;overflow-y:auto;margin-top:9px;background:#fff}
.tt-library-labels-item{padding:10px 13px;display:flex;align-items:center;gap:12px;min-height:52px;cursor:pointer;border-bottom:1px solid #F0F0EF}
.tt-library-labels-item:last-child{border-bottom:0}
.tt-library-labels-item:hover{background:#FAFAF9}
.tt-library-labels-item.is-disabled{opacity:.5;cursor:not-allowed}
.tt-library-labels-item input{width:16px;height:16px;accent-color:#E2001B;flex-shrink:0;cursor:pointer}
.tt-library-labels-item-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.tt-library-labels-item-info strong{font-size:12px;color:#080808;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-library-labels-item-info small{color:#99001A;font-size:11px;font-weight:750}
.tt-library-labels-quantity{font-size:10px;color:#626262;white-space:nowrap}
.tt-library-labels-empty{padding:22px;color:#626262;text-align:center;font-size:12px}
.tt-library-labels-copy-mode{display:flex;align-items:flex-start;gap:10px;margin-top:16px;cursor:pointer}
.tt-library-labels-copy-mode input{width:17px;height:17px;accent-color:#E2001B;margin-top:2px}
.tt-library-labels-copy-mode span{display:flex;flex-direction:column;gap:3px}
.tt-library-labels-copy-mode strong{font-size:12px;color:#080808}
.tt-library-labels-copy-mode small{font-size:11px;color:#626262;line-height:1.4}
.tt-library-labels-footer{padding:16px 26px;background:#F7F7F5;border-top:1px solid #EBEBE8;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tt-library-labels-footer>span{font-size:11px;color:#626262;font-weight:750}
.tt-library-labels-footer>div{display:flex;gap:8px}
.tt-library-labels-footer button{font-size:11px;font-weight:800;border-radius:9px;padding:11px 15px;cursor:pointer}
.tt-library-labels-secondary{background:#fff;color:#080808;border:1px solid #DADAD6}
.tt-library-labels-primary{color:#fff;background:#E2001B;border:1px solid #E2001B}
.tt-library-labels-primary:disabled{background:#D6D6D3;border-color:#D6D6D3;cursor:not-allowed;color:#777}
#libraryLabelsOpenBtn[hidden]{display:none!important}
@media(max-width:600px){
 .tt-library-labels-overlay{padding:8px}
 .tt-library-labels-dialog{max-height:95dvh;border-radius:15px}
 .tt-library-labels-head{padding:16px;gap:8px}
 .tt-library-labels-head h3{font-size:19px}
 .tt-library-labels-body{padding:15px}
 .tt-library-labels-preview-box{padding:12px;gap:10px}
 .tt-library-labels-preview{width:60mm}
 .tt-library-labels-preview-notes{min-width:0}
 .tt-library-labels-footer{padding:12px 15px}
 .tt-library-labels-footer>div{width:100%}
 .tt-library-labels-footer button{flex:1}
}