
/* v1.12 Estoque: cores só para status; resto neutro */
#tela-estoque{--ec:#15233d;--eb:#2a4373;--et:#eaf1ff;--em:#9db2d4;--ep:#1d2f52;--eok:#2fcf86;--ewarn:#f0a11a;--ezero:#ff6b6b;--eoka:rgba(47,207,134,.14);--ewarna:rgba(240,161,26,.16);--ezeroa:rgba(255,107,107,.16)}
body.tema-claro #tela-estoque{--ec:#ffffff;--eb:#cfdaec;--et:#10223f;--em:#5a6c8b;--ep:#e6edf8;--eok:#13a05f;--ewarn:#c77a00;--ezero:#d23b3b;--eoka:#e3f6ec;--ewarna:#fff1d6;--ezeroa:#fde6e6}
#tela-estoque #est-abas{margin:12px 14px 0 !important;padding:4px !important;background:var(--ep);border-radius:14px;gap:4px !important}
#tela-estoque #est-abas .est-filtro{flex:1;height:38px;border:0 !important;background:transparent !important;color:var(--em) !important;font-size:14px;font-weight:800;border-radius:11px;box-shadow:none !important}
#tela-estoque #est-abas .est-filtro.ativo{background:#2a5bb0 !important;color:#fff !important}
#tela-estoque #est-busca{background:var(--ec) !important;color:var(--et) !important;border:1.5px solid var(--eb) !important;height:46px;border-radius:12px !important;font-weight:600}
#tela-estoque .est-novo{flex:0 0 auto;height:46px;padding:0 14px;border:0;border-radius:12px;background:#2a5bb0;color:#fff;font-size:14px;font-weight:800;font-family:inherit;cursor:pointer}
#tela-estoque #est-filtros-wrap .est-filtro{flex:0 0 auto;height:36px;padding:0 14px;border-radius:18px;border:1.5px solid var(--eb) !important;background:var(--ec) !important;color:var(--em) !important;font-size:13px;font-weight:800;box-shadow:none !important;white-space:nowrap}
#tela-estoque #est-filtros-wrap .est-filtro.ativo{background:#2a5bb0 !important;border-color:#2a5bb0 !important;color:#fff !important}
#tela-estoque #est-filtros-wrap .est-f-baixo:not(.ativo){color:var(--ezero) !important}
#tela-estoque .est-resumo-mini{flex:1;background:var(--ec) !important;border:1px solid var(--eb) !important;border-radius:14px !important;padding:10px 6px !important;text-align:center;box-shadow:none !important}
#tela-estoque .est-resumo-mini-val{font-size:24px !important;font-weight:900 !important;color:var(--et) !important;line-height:1.1}
#tela-estoque .est-resumo-mini-label{font-size:11px !important;font-weight:700 !important;color:var(--em) !important;text-transform:none !important;letter-spacing:0 !important;margin-top:3px}
#tela-estoque .est-resumo-mini.est-alerta{background:var(--ezeroa) !important;border-color:var(--ezero) !important}
#tela-estoque .est-resumo-mini.est-alerta .est-resumo-mini-val{color:var(--ezero) !important}
#tela-estoque .est-dica{font-size:12px;color:var(--em) !important;padding:10px 16px 0}
#tela-estoque .est-item{position:relative;padding:14px 14px 14px 20px !important;margin-bottom:10px;border-radius:16px !important;border:1px solid var(--eb) !important;background:var(--ec) !important;box-shadow:0 1px 3px rgba(16,34,63,.10) !important;overflow:hidden;opacity:1 !important}
#tela-estoque .est-item::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--eok)}
#tela-estoque .est-item.alerta::before{background:var(--ewarn)}
#tela-estoque .est-item.zerado::before{background:var(--ezero)}
#tela-estoque .est-item .est-item-header{display:flex;align-items:center;gap:12px}
#tela-estoque .est-info{flex:1;min-width:0}
#tela-estoque .est-item-desc{font-size:16px !important;font-weight:800 !important;color:var(--et) !important;line-height:1.2;white-space:normal}
#tela-estoque .est-sub{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;font-size:12px;color:var(--em)}
#tela-estoque .est-item .marca-tag{background:var(--ep) !important;color:var(--et) !important;border:0 !important;border-radius:8px !important;padding:2px 9px !important;font-size:11px !important;font-weight:800 !important}
#tela-estoque .est-modelo,#tela-estoque .est-item-codigo{font-size:12px !important;color:var(--em) !important;font-weight:600 !important}
#tela-estoque .est-tag{background:var(--ep);color:var(--em);border-radius:8px;padding:2px 8px;font-size:11px;font-weight:800}
#tela-estoque .est-status{margin-top:7px;font-size:12.5px;font-weight:800;color:var(--ewarn)}
#tela-estoque .est-item.zerado .est-status{color:var(--ezero)}
#tela-estoque .est-q{flex:0 0 auto;min-width:68px;text-align:center !important;border-radius:14px;padding:9px 8px;background:var(--eoka)}
#tela-estoque .est-item.alerta .est-q{background:var(--ewarna)}
#tela-estoque .est-item.zerado .est-q{background:var(--ezeroa)}
#tela-estoque .est-q .est-qtd-badge{text-align:center !important;display:block !important;background:none !important;border:0 !important;box-shadow:none !important;padding:0 !important;margin:0 !important;font-size:28px !important;font-weight:900 !important;line-height:1;min-width:0 !important;height:auto !important;width:auto !important;color:var(--eok) !important}
#tela-estoque .est-item.alerta .est-q .est-qtd-badge{color:var(--ewarn) !important}
#tela-estoque .est-item.zerado .est-q .est-qtd-badge{color:var(--ezero) !important}
#tela-estoque .est-q small{display:block;font-size:12px;font-weight:700;color:var(--em);margin-top:3px;line-height:1.1}
#tela-estoque .est-item > div:not(.est-item-header):not(.est-btns){background:var(--ep) !important;border-radius:12px !important;padding:12px 14px !important;margin:0 0 12px !important}
#tela-estoque .est-item > div:not(.est-item-header):not(.est-btns) div[style*="color:#555"]{color:var(--em) !important}
#tela-estoque .est-btns{gap:10px !important}
#tela-estoque .est-acoes-pri{width:100%;display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px !important}
#tela-estoque .est-acoes-pri button{height:44px;min-height:44px;border-radius:12px !important;font-size:14px !important;font-weight:800 !important;white-space:nowrap;padding:0 4px !important;box-shadow:none !important;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:4px}
#tela-estoque .est-btn-entrada{background:var(--eoka) !important;color:var(--eok) !important;border:1.5px solid var(--eok) !important}
#tela-estoque .est-btn-saida{background:var(--ezeroa) !important;color:var(--ezero) !important;border:1.5px solid var(--ezero) !important}
#tela-estoque .est-btn-edit{background:var(--ec) !important;color:var(--et) !important;border:1.5px solid var(--eb) !important}
#tela-estoque .est-linha2{justify-content:space-between !important;width:100%}
#tela-estoque .est-linha2 .est-btn-nova{display:none !important}
#tela-estoque .est-linha2 .est-btn-del{flex:0 0 auto !important;height:40px;background:transparent !important;border:0 !important;color:var(--ezero) !important;font-size:13px !important;font-weight:800 !important;box-shadow:none !important;padding:0 8px !important}
#tela-estoque .est-ctrl-qtd{border:1.5px solid var(--eb) !important;background:var(--ec) !important;border-radius:12px !important}
#tela-estoque .est-ctrl-num{color:var(--et) !important}

/* b211: Estoque com mais acabamento - contornos na busca, filtros, resumo e cards; aluno sem dados fiscais/Notas */
#tela-estoque{--ebr:#2a5bb0}
body.tema-claro #tela-estoque{--ebr:#2a5bb0}
#tela-estoque #est-busca{height:48px;padding:0 14px 0 42px !important;border:2px solid var(--ebr) !important;border-radius:14px !important;background:var(--ec) !important;color:var(--et) !important;font-size:15px !important;font-weight:600;box-shadow:0 2px 8px rgba(42,91,176,.18) !important;outline:0}
#tela-estoque #est-busca:focus{border-color:#4a86e8 !important;box-shadow:0 0 0 3px rgba(74,134,232,.28) !important}
#tela-estoque #est-busca::placeholder{color:var(--em);font-weight:500}
#tela-estoque #est-filtros-wrap #ef-todas,#tela-estoque #est-filtros-wrap #ef-baixo,#tela-estoque #est-filtros-wrap #ef-catalogo{border:2px solid var(--ebr) !important}
#tela-estoque #est-filtros-wrap #ef-baixo{border-color:var(--ewarn) !important;color:var(--ewarn) !important}
#tela-estoque #est-filtros-wrap #ef-baixo.ativo{background:var(--ewarn) !important;color:#fff !important}
#tela-estoque #est-filtros-wrap .est-filtro{height:38px;box-shadow:0 1px 4px rgba(16,34,63,.16) !important}
#tela-estoque .est-resumo-mini{border:2px solid var(--ebr) !important;box-shadow:0 2px 8px rgba(42,91,176,.14) !important}
#tela-estoque .est-resumo-mini.est-alerta{border-color:var(--ezero) !important}
#tela-estoque .est-item{border:2px solid var(--ebr) !important;border-radius:18px !important;box-shadow:0 3px 10px rgba(16,34,63,.18) !important}
#tela-estoque .est-item.alerta{border-color:var(--ewarn) !important}
#tela-estoque .est-item.zerado{border-color:var(--ezero) !important}
#tela-estoque .est-item::before{width:7px}
#tela-estoque .est-item .marca-tag{border:1.5px solid rgba(255,255,255,.55) !important;box-shadow:0 1px 3px rgba(0,0,0,.25)}
#tela-estoque .est-item .marca-tag.Dewalt{border-color:rgba(0,0,0,.35) !important}
#tela-estoque .est-q{border:2px solid var(--eok)}
#tela-estoque .est-item.alerta .est-q{border-color:var(--ewarn)}
#tela-estoque .est-item.zerado .est-q{border-color:var(--ezero)}
#tela-estoque .est-tag{border:1.5px solid var(--eb)}
body:not(.mk-dono) #nf-fiscal-peca,body:not(.mk-dono) #est-aba-notas,body:not(.mk-dono) #est-painel-notas{display:none!important}
