
/* Nota Smart - cabeçalho compacto e contato da entrega, 19/10/2026.
   Sobrescreve exclusivamente a composição do editor da NF-e. */
.nfe-draft-editor .nfe-top-panel{display:block!important;margin-bottom:14px!important}
.nfe-draft-editor .nfe-top-panel .nfe-main{
 display:grid!important;grid-template-columns:minmax(290px,24%) minmax(0,1fr)!important;
 gap:18px!important;margin-bottom:0!important;align-items:stretch!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-main-right{
 min-width:0;display:flex;flex-direction:column;gap:19px;
}
.nfe-draft-editor .nfe-top-panel .nfe-number{
 display:flex!important;flex-direction:column;align-items:stretch;
 gap:15px!important;justify-content:space-between;
 align-self:stretch!important;height:auto!important;
 min-width:0!important;min-height:206px!important;
 padding:18px 19px!important;
 text-align:center!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-number>small:first-child{
 color:#415775!important;font-size:12px!important;font-weight:650!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-number-automatico{
 font-size:12px!important;font-weight:700!important;color:#a8b1c0!important;
 line-height:1.25!important;letter-spacing:.03em;
}
.nfe-draft-editor .nfe-top-panel .nfe-number-info{
 position:absolute!important;width:1px!important;height:1px!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;
 white-space:nowrap!important;clip:rect(0,0,0,0)!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-number .nfe-number-sequence-warning{
 position:static!important;clip:auto!important;width:auto!important;height:auto!important;
 margin:0!important;overflow:visible!important;color:#b82a42!important;
 white-space:normal!important;font-size:11px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-number .nfe-grid{
 margin-top:auto!important;align-items:end!important;gap:15px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-number .nfe-field{
 font-size:12px!important;gap:8px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-number .nfe-field input{
 height:41px!important;min-height:41px!important;font-size:12px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-emit{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 grid-auto-rows:auto!important;gap:18px!important;
 align-items:center!important;align-content:center!important;
 align-self:stretch!important;
 min-height:72px!important;height:auto!important;padding:15px 21px!important;
 text-align:center!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-emit>div{
 min-width:0!important;align-self:center!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-emit small{
 font-size:11px!important;color:#8494a9!important;font-weight:500!important;margin-bottom:5px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-emit b{
 color:#213852!important;font-size:12px!important;font-weight:600!important;
 display:block;overflow-wrap:anywhere;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations{
 min-width:0!important;margin-top:0!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card{
 margin:0!important;min-height:108px!important;
 padding:16px 19px!important;position:relative;
 display:flex;flex-direction:column;justify-content:center;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card>header{
 display:contents!important;position:static!important;
 opacity:1!important;pointer-events:auto!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card>header h3{
 position:absolute!important;width:1px!important;height:1px!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;
 white-space:nowrap!important;padding:0!important;border:0!important;
 margin:-1px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card>.nfe-grid.cols3{
 width:calc(100% - 40px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:17px!important;align-items:end!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations .nfe-field{
 font-size:12px!important;gap:8px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations .nfe-field select{
 min-height:41px!important;height:41px!important;
}
.nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card .nfe-operation-expand{
 position:absolute;right:9px;top:38px;display:flex;
 align-items:center;justify-content:center;
 border:0;background:transparent;cursor:pointer;color:#31587c;
 width:33px;height:38px;padding:0!important;font-size:22px;
}
.nfe-draft-editor .nfe-operation-expand span{transition:transform .18s;display:block}
.nfe-draft-editor .nfe-operation-expand[aria-expanded=true] span{transform:rotate(180deg)}
.nfe-draft-editor .nfe-operation-expand:focus-visible{outline:2px solid #1479d0;outline-offset:1px}
.nfe-draft-editor .nfe-operation-details{
 width:100%;margin-top:17px;border-top:1px solid #e5ecf4;padding-top:13px;
}
.nfe-draft-editor .nfe-operation-extra-title{
 color:#516882;font-size:12px;font-weight:650;margin-bottom:13px;
}
.nfe-draft-editor .nfe-issuer-extra{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;margin-bottom:15px;background:#f7f9fc;border:1px solid #e8eef4;
 border-radius:6px;padding:12px 14px;
}
.nfe-draft-editor .nfe-issuer-extra small{display:block;color:#778ba2;margin-bottom:5px;font-size:11px}
.nfe-draft-editor .nfe-issuer-extra b{display:block;color:#233b56;font-size:12px;overflow-wrap:anywhere}
.nfe-draft-editor .nfe-recipient-address-grid .nfe-address-telefone{
 grid-column:span 3!important;
}
.nfe-draft-editor .nfe-recipient-address-grid [data-nfe-address="entrega"][data-key="telefone"]{
 min-height:40px!important;
}
@media(max-width:1130px){
 .nfe-draft-editor .nfe-top-panel .nfe-main{
  grid-template-columns:minmax(240px,29%) minmax(0,1fr)!important;gap:12px!important;
 }
 .nfe-draft-editor .nfe-top-panel .nfe-main-right{gap:12px!important}
 .nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card>.nfe-grid.cols3{gap:10px!important}
}
@media(max-width:920px){
 .nfe-draft-editor .nfe-top-panel .nfe-main{grid-template-columns:1fr!important;gap:13px!important}
 .nfe-draft-editor .nfe-top-panel .nfe-number{min-height:0!important;gap:12px!important}
 .nfe-draft-editor .nfe-top-panel .nfe-number .nfe-grid{margin-top:5px!important}
}
@media(max-width:650px){
 .nfe-draft-editor .nfe-top-panel .nfe-emit{grid-template-columns:1fr!important;text-align:left!important;gap:11px!important}
 .nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card>.nfe-grid.cols3{
  grid-template-columns:1fr!important;gap:12px!important;
 }
 .nfe-draft-editor .nfe-top-panel .nfe-top-operations>.nfe-card .nfe-operation-expand{top:11px!important}
 .nfe-draft-editor .nfe-issuer-extra{grid-template-columns:1fr!important}
 .nfe-draft-editor .nfe-recipient-address-grid .nfe-address-telefone{grid-column:1/-1!important}
}

/* Produto: corrigir sobreposição da lupa com código e GTIN. */
.nfe-draft-editor .nfe-prod-search .nfe-lookup-combo{position:relative!important;display:flex!important;align-items:stretch!important}
.nfe-draft-editor .nfe-prod-search .nfe-lookup-combo>#nfeProductSearch{
 padding-left:13px!important;padding-right:33px!important;min-width:0!important;
 box-sizing:border-box!important;text-overflow:ellipsis!important;background-image:none!important;
}
.nfe-draft-editor .nfe-prod-search .nfe-lookup-combo>.nfe-search-icon{
 position:absolute!important;left:auto!important;right:54px!important;top:50%!important;
 transform:translateY(-50%)!important;color:#8196ad!important;
 font:500 20px/1 Arial,sans-serif!important;width:18px!important;height:22px!important;
 text-align:center!important;z-index:1!important;pointer-events:none!important;
}
.nfe-draft-editor .nfe-prod-search .nfe-lookup-combo>#nfeNewProduct{
 position:relative!important;z-index:2!important;flex:0 0 43px!important;
}
