.stock-window.inventory-count-window .stk-content{padding:8px 12px;gap:6px;overflow:hidden}.inventory-count-window .stk-card{padding:7px 9px;border-radius:4px}.inventory-count-window .stk-fields{gap:8px}.inventory-count-window .stk-fields label,.inventory-count-window .stk-route label{font-size:12px;gap:3px}.inventory-count-window .stk-fields input,.inventory-count-window .stk-fields select,.inventory-count-window .stk-route select{height:30px;padding:4px 7px}.inventory-count-window .stk-route{padding:5px 9px;grid-template-columns:1fr 2fr}.inventory-count-window .stk-pill{padding:5px 8px}.inventory-count-window .ic-summary{display:flex;gap:8px;align-items:center;flex:none}.ic-summary>span{padding:5px 9px;min-width:130px;background:white;border:1px solid var(--nuvile-border);border-radius:4px;font-size:12px}.ic-summary b{margin-left:6px}.ic-summary>small{margin-left:auto;font-size:11px}.inventory-count-window .ic-panels{display:flex;flex-direction:column;flex:1;min-height:0;gap:0}.inventory-count-window .ic-tools{display:flex;flex:0 0 auto;gap:7px;align-items:end;padding:0 0 6px}.inventory-count-window .ic-tools label{font-size:12px;gap:3px;min-width:130px}.inventory-count-window .ic-tools .ic-scanner{flex:1}.inventory-count-window .ic-tools select{height:30px;margin:0;padding:4px 6px}.inventory-count-window .ic-tools button{height:30px;margin:0;padding:4px 8px;font-size:12px;min-height:0}.inventory-count-window .ic-scanner .stk-lookup{max-width:none;width:100%;align-items:center}.inventory-count-window .ic-scanner input{height:30px;flex:1;min-width:0;margin:0;text-align:left}.inventory-count-window .ic-scanner button{flex:none}.inventory-count-window .stk-grid-card{flex:1;min-height:130px;gap:5px}.inventory-count-window .stk-grid-card>.stk-bar{flex:none;min-height:30px}.inventory-count-window .stk-grid{min-height:0}.inventory-count-window .ic-history{height:105px;flex:0 0 105px;min-height:80px;display:flex;flex-direction:column;gap:3px;overflow:hidden}.ic-history .stk-bar{flex:none;min-height:30px}.ic-history-scroll{overflow:auto;min-height:0;flex:1;font-size:12px}.ic-history-scroll p{margin:3px 0}.ic-history-scroll ol{margin:4px 0;padding-left:20px}.inventory-count-window .stk-bottom{flex:none;grid-template-columns:1fr 170px;gap:8px}.inventory-count-window .stk-bottom label{font-size:12px;gap:3px}.inventory-count-window .stk-bottom textarea{height:34px;padding:4px 7px}.inventory-count-window .stk-total{padding:5px 9px}.inventory-count-window .stk-footer{padding:7px 12px;gap:6px}.inventory-count-window button{height:32px;min-height:0;padding:5px 9px;font-size:12px;margin:0}.inventory-count-window [data-output]{display:flex;gap:6px}.inventory-count-window [data-output][hidden]{display:none}.inventory-count-window .stk-grid th{font-size:12px;letter-spacing:normal;position:static}.inventory-count-window .stk-grid thead{position:sticky;top:0;z-index:1;background:var(--nuvile-soft)}.inventory-count-window .stk-grid th:last-child{width:140px}.inventory-count-window .stk-grid td{font-size:12px;height:32px}.inventory-count-window .ic-row-actions{white-space:nowrap}.inventory-count-window .ic-row-actions button{height:26px;padding:2px 5px;font-size:11px;border:1px solid var(--nuvile-border);margin-right:3px}.inventory-count-window .stk-grid tr[aria-selected=true]{background:#e6f4ef;box-shadow:inset 3px 0 #168878}.inventory-count-window .ic-scanner .stk-lookup-list{max-height:220px}.inventory-count-window .ic-scanner .stk-lookup-list button{width:100%;height:auto;min-height:35px;display:block;text-align:left;padding:7px}.inventory-count-window .window-title{height:44px;padding:7px 12px}.inventory-count-window .window-title strong{font-size:17px}@media(max-width:800px){.stock-window.inventory-count-window .stk-content{padding:6px;gap:4px}.inventory-count-window .stk-fields{gap:5px}.inventory-count-window .ic-tools{flex-wrap:wrap;gap:5px}.inventory-count-window .ic-tools .ic-scanner{flex-basis:100%;min-width:0}.inventory-count-window .ic-tools label{min-width:100px}.inventory-count-window .ic-tools button{font-size:11px;padding:4px 6px}.inventory-count-window .ic-summary{gap:4px}.ic-summary>span{min-width:0;flex:1;padding:4px;font-size:10px}.ic-summary b{margin-left:2px}.ic-summary>small{display:none}.inventory-count-window .ic-history{min-height:70px;flex:0 0 80px}.inventory-count-window .stk-route,.inventory-count-window .stk-route:has(>small){grid-template-columns:1fr}.inventory-count-window .stk-route small{display:none}.inventory-count-window .stk-bottom{grid-template-columns:1fr 110px}.inventory-count-window .stk-total strong{font-size:14px}.inventory-count-window .stk-footer{gap:4px;padding:5px 7px}.inventory-count-window .stk-footer button{font-size:11px;height:29px;padding:4px 6px}.inventory-count-window .stk-grid-card{min-height:90px}.inventory-count-window .stk-footer [data-status]{font-size:10px;min-width:0}.inventory-count-window .window-title strong{font-size:14px}}
.inventory-count-window .stk-grid-card>.grid-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.inventory-count-window .stk-grid-card>.grid-toolbar h2{flex:1;margin:0}.inventory-count-window .ic-history .nv-section-zoom-trigger,.inventory-count-window .stk-grid-card .nv-section-zoom-trigger{height:30px;min-height:30px;background:var(--nuvile-primary);color:white}.inventory-count-window .ic-panels .nv-panel-divider{flex:0 0 7px}@media(max-width:800px){.inventory-count-window>.window-title>button[aria-label="Minimizar"],.inventory-count-window>.window-title>button[aria-label="Maximizar o restaurar"]{display:none}.inventory-count-window>.window-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.inventory-count-window>.window-title{gap:5px;padding:6px 8px}.inventory-count-window .stk-fields>label:last-child{display:none}.inventory-count-window .ic-history{flex-basis:70px;min-height:60px}.inventory-count-window .stk-bottom .stk-total{display:none}.inventory-count-window .stk-bottom{grid-template-columns:1fr}.inventory-count-window .stk-bottom textarea{height:30px}.inventory-count-window .stk-grid-card{min-height:110px}.inventory-count-window .stk-route{padding:4px 7px}.inventory-count-window .stk-card{padding:5px 7px}}
@media(max-width:800px){.inventory-count-window>.window-title>.nv-window-help{font-size:13px;padding:3px 6px;gap:4px;flex:0 0 auto}.inventory-count-window>.window-title>button[data-close]{display:inline-flex;flex:0 0 28px;width:28px;height:28px;min-width:28px;padding:0;font-size:20px;order:99;color:white}.inventory-count-window>.window-title strong{font-size:13px}}

/* The count rows must remain visible below the header and above the grid total. */
.stock-window.inventory-count-window .stk-content{overflow:auto}
.inventory-count-window .ic-panels{min-height:420px}
.inventory-count-window .ic-panels>.stk-grid-card{min-height:235px!important}
.inventory-count-window .ic-panels>.ic-history{height:70px;flex:0 0 70px;min-height:60px!important}
@media(max-width:800px){.inventory-count-window .ic-panels{min-height:460px}}
