.lci-shell{max-width:1200px;margin:0 auto 30px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#17212b}.lci-topbar,.lci-row,.lci-actions{display:flex;gap:10px;align-items:center;justify-content:space-between}.lci-grid{display:grid;grid-template-columns:260px 1fr;gap:18px;margin-top:18px}.lci-card{background:#fff;border:1px solid #e6e8eb;border-radius:18px;padding:20px;box-shadow:0 8px 30px rgba(0,0,0,.05)}.lci-center{text-align:center;padding:45px 25px}.lci-btn{border:0;border-radius:10px;background:#1769e0;color:#fff;padding:11px 16px;cursor:pointer;text-decoration:none;display:inline-block;font-weight:650}.lci-light{background:#eef4ff;color:#174ea6}.lci-danger{background:#b42318}.lci-row{justify-content:flex-start;flex-wrap:wrap}.lci-row input,.lci-modalbox input,.lci-modalbox textarea{border:1px solid #d6dae0;border-radius:10px;padding:11px;font-size:15px}.lci-row #lciProduct{flex:1;min-width:190px}.lci-row #lciBarcode{min-width:170px}.lci-row #lciQty{width:90px}.lci-actions{justify-content:flex-start;margin:14px 0;flex-wrap:wrap}.lci-listnav .lci-list-open{display:block;width:100%;text-align:left;padding:10px;border:0;border-radius:9px;background:#f7f8fa;margin:6px 0;cursor:pointer}.lci-listnav .lci-list-open.active{background:#e8f0ff;font-weight:700}.lci-item{display:grid;grid-template-columns:1fr 90px auto;gap:10px;align-items:center;border-top:1px solid #eee;padding:12px 0}.lci-muted{color:#667085;font-size:13px}.lci-market{border:1px solid #e4e7ec;border-radius:12px;padding:14px;margin:10px 0}.lci-best{border-width:2px}.lci-price-edit{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.lci-price-edit input{padding:7px;border:1px solid #ddd;border-radius:8px;width:130px}.lci-scanner{padding:12px;background:#111;border-radius:14px;margin:12px 0}.lci-scanner video{width:100%;max-height:360px;border-radius:10px}.lci-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:99999;display:flex;align-items:center;justify-content:center;padding:15px}.lci-modalbox{background:#fff;max-width:760px;width:100%;max-height:90vh;overflow:auto;border-radius:18px;padding:22px;position:relative}.lci-modalbox input,.lci-modalbox textarea{width:100%;box-sizing:border-box;margin:6px 0}.lci-x{position:absolute;right:15px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer}.lci-receipt-row{display:grid;grid-template-columns:1.5fr .7fr .7fr .7fr auto;gap:6px;margin:7px 0}.lci-receipt-row input{margin:0}.lci-ok{background:#ecfdf3;border:1px solid #abefc6;padding:10px;border-radius:10px}.lci-warn{background:#fffaeb;border:1px solid #fedf89;padding:10px;border-radius:10px}.lci-error{background:#fef3f2;border:1px solid #fecdca;padding:10px;border-radius:10px}@media(max-width:800px){.lci-grid{grid-template-columns:1fr}.lci-topbar{align-items:flex-start;flex-direction:column}.lci-item{grid-template-columns:1fr auto}.lci-item .lci-muted{grid-column:1/-1}.lci-receipt-row{grid-template-columns:1fr 1fr}.lci-receipt-row input:first-child{grid-column:1/-1}}

/* Histórico de listas/compras - v1.1.0 */
.lci-tabs{display:flex;gap:8px;margin:10px 0 14px}.lci-tab{border:1px solid #d7dce3;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;font-weight:600}.lci-tab.active{background:#1f2937;color:#fff;border-color:#1f2937}.lci-listnav .lci-list-open{display:flex;flex-direction:column;align-items:flex-start}.lci-listnav .lci-list-open small{opacity:.72;margin-top:3px}.lci-history-summary{margin:16px 0;padding:16px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.lci-list-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.lci-market .lci-btn[data-complete-market]{margin-top:12px}

/* Produtos por peso - v1.3.0 */
.lci-row select,.lci-receipt-row select{border:1px solid #d6dae0;border-radius:10px;padding:10px;background:#fff;font-size:14px}.lci-row #lciMeasure{min-width:115px}.lci-row #lciQtyUnit{width:82px}.lci-receipt-row{grid-template-columns:1.45fr .65fr .75fr .7fr .55fr .5fr .75fr .65fr auto;align-items:center}.lci-receipt-row select{width:100%;box-sizing:border-box}.lci-receipt-row input{min-width:0}@media(max-width:1000px){.lci-receipt-row{grid-template-columns:1fr 1fr 1fr}.lci-receipt-row input:first-child{grid-column:1/-1}}@media(max-width:600px){.lci-receipt-row{grid-template-columns:1fr 1fr}.lci-receipt-row input:first-child{grid-column:1/-1}}
.lci-file-label{display:block;font-size:12px;font-weight:600;margin:10px 0 5px;color:#475569}.lci-modalbox input[type=file]{width:100%;box-sizing:border-box;padding:8px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}

/* Fotos de produtos e folhetos - v1.3.4 */
.lci-product-photo-input{display:flex;align-items:center;gap:6px}.lci-product-photo-input img{width:58px;height:58px;aspect-ratio:1/1;object-fit:cover;object-position:center center;image-orientation:from-image;border:1px solid #d8dee8;border-radius:10px;background:#fff}.lci-photo-btn{display:inline-flex;align-items:center;justify-content:center;border:1px dashed #9fb3cf;border-radius:10px;padding:10px 12px;background:#f7faff;color:#174ea6;font-weight:650;cursor:pointer;white-space:nowrap}.lci-item-product{display:flex;align-items:center;gap:10px;min-width:0}.lci-thumb{width:64px;height:64px;flex:0 0 64px;border:1px solid #e1e6ed;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.lci-thumb img{width:100%;height:100%;object-fit:contain;object-position:center center;display:block;background:#fff}.lci-thumb span{font-size:24px}.lci-promo-row{display:grid;grid-template-columns:78px minmax(180px,1.6fr) minmax(130px,.8fr) 100px 120px auto;gap:7px;align-items:center;border-top:1px solid #edf0f3;padding:9px 0}.lci-promo-row input,.lci-promo-row select{min-width:0;width:100%;box-sizing:border-box;border:1px solid #d6dae0;border-radius:9px;padding:9px}.lci-promo-photo{width:70px;height:70px;border:1px solid #e1e6ed;border-radius:10px;background:#fafafa;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:24px}.lci-promo-photo img{width:100%;height:100%;object-fit:cover}@media(max-width:850px){.lci-promo-row{grid-template-columns:72px 1fr 1fr}.lci-promo-row input[data-pf="name"]{grid-column:2/-1}}@media(max-width:600px){.lci-promo-row{grid-template-columns:64px 1fr}.lci-promo-row input[data-pf="name"]{grid-column:2}.lci-product-photo-input{width:100%}}

.lci-modal[hidden]{display:none!important}

.lci-batch-box{margin:10px 0;padding:12px;border:1px solid #dcdcde;border-radius:10px;background:#fff}
.lci-batch-progress{height:8px;background:#eef1f5;border-radius:999px;overflow:hidden;margin:8px 0}
.lci-batch-progress i{display:block;height:100%;background:currentColor;transition:width .2s ease}
.lci-batch-row{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid #f0f0f1;font-size:13px}
.lci-batch-row.ok span{font-weight:600}
.lci-batch-row.error span{font-weight:600}
.lci-batch-row.duplicate span{font-weight:600}

.lci-product-search-wrap{position:relative;flex:1;min-width:260px}
.lci-product-search-wrap>input{width:100%}
.lci-product-suggestions{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:9999;background:#fff;border:1px solid #dcdcde;border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,.14);max-height:360px;overflow:auto}
.lci-suggest-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid #f0f0f1;background:#fff;padding:9px 10px;cursor:pointer}
.lci-suggest-item:hover,.lci-suggest-item:focus{background:#f6f7f7}
.lci-suggest-item img,.lci-suggest-photo{width:44px;height:44px;object-fit:contain;border-radius:7px;border:1px solid #eee;display:flex;align-items:center;justify-content:center;flex:0 0 44px}
.lci-suggest-item span:last-child{display:flex;flex-direction:column;min-width:0}
.lci-suggest-item strong{font-size:14px;white-space:normal}
.lci-suggest-item small{margin-top:3px;color:#646970;white-space:normal}
.lci-suggest-empty{padding:12px;color:#646970}

.lci-product-suggestions{max-height:280px}.lci-suggest-item{min-height:58px}

.lci-suggest-empty{display:flex;flex-direction:column;gap:3px}
.lci-suggest-empty small{color:#646970}
.lci-product-suggestions{z-index:100000}

.lci-catalog-ready{position:absolute;right:8px;top:-24px;font-size:11px;color:#646970;transition:opacity .4s}

.lci-item{align-items:center}
.lci-item-product{flex:1;min-width:0}
.lci-item-product>div:last-child{min-width:0}
.lci-item-price{margin-top:5px;font-size:13px;line-height:1.4;color:#2c3338}
.lci-item-price span{color:#50575e}
.lci-item-qty{white-space:nowrap}
.lci-item-pending{opacity:.72}

.lci-item{position:relative}
.lci-item-price{display:flex;flex-direction:column;gap:3px;margin-top:6px}
.lci-price-source{font-size:12px;color:#646970}
.lci-price-formula{font-size:13px;color:#2c3338;font-weight:600}
.lci-line-total{min-width:118px;text-align:right;padding:7px 10px;border-radius:10px;background:#f6f7f7}
.lci-line-total small{display:block;color:#646970;font-size:10px;text-transform:uppercase;letter-spacing:.03em}
.lci-line-total strong{display:block;margin-top:2px;font-size:15px}
.lci-list-total{margin-top:16px;padding:18px 20px;border-radius:14px;border:1px solid #dcdcde;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff}
.lci-list-total>div:first-child{display:flex;flex-direction:column}
.lci-list-total span{font-size:13px;font-weight:600;color:#50575e}
.lci-list-total strong{font-size:27px;line-height:1.1;margin:4px 0}
.lci-list-total small{color:#646970}
.lci-list-total.complete{border-color:#b8dcc2;background:#f6fff8}
.lci-list-total.partial{border-color:#e5d5a4;background:#fffdf5}
.lci-list-total.empty{display:flex;flex-direction:column;align-items:flex-start}
.lci-total-badge{white-space:nowrap;padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.75);font-size:12px;font-weight:700}
@media(max-width:700px){
 .lci-list-total{align-items:flex-start;flex-direction:column}
 .lci-line-total{min-width:0;text-align:left}
}

.lci-product-search-wrap{isolation:isolate}
.lci-product-suggestions{z-index:2147483000!important}

.lci-suggest-item{position:relative}
.lci-selected-product-status{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:2147482999;padding:8px 11px;border:1px solid #a8d5b5;border-radius:9px;background:#f3fff6;box-shadow:0 7px 20px rgba(0,0,0,.08);display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px}
.lci-selected-product-status[hidden]{display:none!important}
.lci-selected-product-status>span{font-weight:700;color:#18753c}
.lci-selected-product-status>strong{color:#1d2327}
.lci-selected-product-status>small{color:#646970}
#lciProduct.lci-product-selected{outline:2px solid #34a853;outline-offset:1px}

.lci-suggest-item{cursor:pointer!important}
.lci-suggest-item:active{transform:translateY(1px)}

.lci-receipt-saved-toast{position:fixed;right:24px;bottom:24px;z-index:2147483647;background:#f0fff4;border:1px solid #87c99b;border-radius:12px;box-shadow:0 12px 35px rgba(0,0,0,.18);padding:14px 18px;display:flex;flex-direction:column;gap:3px;max-width:390px;opacity:0;transform:translateY(12px);transition:.25s ease}
.lci-receipt-saved-toast.show{opacity:1;transform:translateY(0)}
.lci-receipt-saved-toast strong{color:#176b35;font-size:14px}
.lci-receipt-saved-toast span{color:#3c434a;font-size:12px}


/* v1.6.5 - melhorias de usabilidade/responsividade sem alterar a lógica existente */
.lci-panel-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.lci-panel-title h3{margin:0 0 4px}
.lci-autosave-note{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#f0fdf4;border:1px solid #bbf7d0;font-size:13px;font-weight:600}
.lci-add-product-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 8px}
.lci-add-product-title strong{font-size:16px}.lci-add-product-title span{font-size:13px;opacity:.72}
.lci-listnav-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;margin-bottom:8px;border:1px solid transparent;border-radius:12px;padding:4px}
.lci-listnav-card.active{border-color:#9ca3af;background:rgba(0,0,0,.025)}
.lci-listnav-card .lci-list-open{width:100%;min-width:0;text-align:left;border:0;background:transparent;padding:10px;border-radius:9px;cursor:pointer;display:flex;flex-direction:column;gap:3px}
.lci-listnav-card .lci-list-open span{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lci-listnav-card .lci-list-open small{opacity:.72}.lci-listnav-card .lci-list-open em{font-style:normal;font-size:12px;font-weight:700;margin-top:3px}
.lci-list-delete-mini{align-self:center;border:0;background:transparent;text-decoration:underline;cursor:pointer;padding:10px 8px;font-size:12px;opacity:.72}
.lci-list-delete-mini:hover{opacity:1}.lci-list-delete-mini:disabled{opacity:.35;cursor:wait}

/* 5.9.34 - histórico: informações em cima, ações lado a lado no mesmo bloco */
.lci-listnav-card-completed{
  grid-template-columns:minmax(0,1fr);
  gap:7px;
  width:min(100%,330px);
  max-width:330px;
  margin-left:auto;
  margin-right:auto;
  padding:9px 10px;
  box-sizing:border-box;
}
.lci-listnav-history-meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-width:0;
  text-align:center;
}
.lci-listnav-history-meta span{
  max-width:100%;
  font-size:14px;
  line-height:1.15;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
}
.lci-listnav-history-meta small{
  font-size:11px;
  line-height:1.15;
  opacity:.72;
  text-align:center;
}
.lci-listnav-history-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  width:100%;
}
.lci-list-history-open,
.lci-list-history-delete{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:31px;
  min-width:0;
  min-height:31px;
  margin:0;
  padding:0 12px;
  border:1px solid #dfe3e8;
  border-radius:8px;
  background:#fff;
  color:#344054;
  font-size:11.5px;
  font-weight:700;
  line-height:1;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  opacity:1;
  box-sizing:border-box;
}
.lci-list-history-open:hover,
.lci-list-history-delete:hover{
  background:#f7f8fa;
}
.lci-list-history-delete:disabled{
  opacity:.35;
  cursor:wait;
}
.lci-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.lci-list-head h3{margin:0 0 4px}.lci-list-status{font-size:12px;opacity:.72}
.lci-delete-current-list{white-space:nowrap}

@media (max-width: 780px){
  .lci-shell{padding-left:10px;padding-right:10px}
  .lci-topbar{align-items:flex-start;gap:10px;flex-wrap:wrap}
  .lci-topbar>div{min-width:0;flex:1 1 180px}.lci-topbar .lci-btn{width:auto;min-height:44px}
  .lci-grid{display:flex!important;flex-direction:column!important;gap:12px!important}
  .lci-lists-panel{order:1}.lci-grid main{order:2}
  .lci-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.lci-tab{min-height:42px}
  .lci-listnav-card{grid-template-columns:minmax(0,1fr) auto}
  .lci-listnav-card-completed{
    grid-template-columns:minmax(0,1fr);
    width:min(100%,320px);
    max-width:320px;
  }
  .lci-listnav-card .lci-list-open{min-height:58px}.lci-listnav-card .lci-list-open em{font-size:13px}
  .lci-list-head{align-items:stretch;flex-direction:column}.lci-delete-current-list{width:100%}
  .lci-autosave-note{font-size:12px}
  .lci-add-product-title{display:block}.lci-add-product-title span{display:block;margin-top:3px}
  .lci-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .lci-product-photo-input,.lci-product-search-wrap{grid-column:1/-1!important;width:100%!important}
  .lci-row input,.lci-row select,.lci-row button{min-width:0!important;width:100%!important;min-height:44px}
  #lciAddItemBtn{grid-column:1/-1;font-size:16px;font-weight:700}
  .lci-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  .lci-actions .lci-btn{width:100%;min-height:44px;padding-left:8px;padding-right:8px}
  .lci-item{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
  .lci-item-product{min-width:0}.lci-item-qty{align-self:flex-start}.lci-item>.lci-btn{width:100%;min-height:42px}
  .lci-modalbox{width:calc(100vw - 20px)!important;max-height:92vh;overflow:auto;padding:16px!important}
}

@media (max-width: 430px){
  .lci-actions{grid-template-columns:1fr}
  .lci-row{grid-template-columns:1fr!important}
  .lci-row>*{grid-column:1!important}
  .lci-listnav-card{grid-template-columns:1fr}.lci-listnav-card:not(.lci-listnav-card-completed) .lci-list-delete-mini{justify-self:start;padding:4px 10px 9px}
}


/* v1.6.6 - modo adicional de compra dividida entre mercados */
.lci-split-compare{margin:16px 0 22px;padding:18px;border:1px solid #b7d7c2;border-radius:16px;background:#f7fff9}
.lci-split-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.lci-split-head h4{margin:3px 0 0;font-size:18px}
.lci-split-kicker{display:inline-block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.lci-split-total{min-width:145px;text-align:right;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #d7eadc}
.lci-split-total small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;opacity:.7}
.lci-split-total strong{display:block;font-size:24px;margin-top:2px}
.lci-split-markets{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:12px}
.lci-split-market{background:#fff;border:1px solid #dfe8e2;border-radius:12px;padding:12px}
.lci-split-market-title{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-bottom:8px;margin-bottom:6px;border-bottom:1px solid #edf1ee}
.lci-split-market-title span{font-weight:800;white-space:nowrap}
.lci-split-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:7px 0;border-bottom:1px dashed #edf1ee}
.lci-split-item:last-child{border-bottom:0}
.lci-split-item span{font-weight:600;min-width:0}
.lci-split-item small{grid-column:1;color:#646970}
.lci-split-item>strong{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap}
.lci-split-note{margin-top:12px;padding-top:10px;border-top:1px solid #dfe8e2;font-size:12px;color:#646970}
.lci-one-market-heading{margin:20px 0 10px}
.lci-one-market-heading h4{margin:0 0 4px;font-size:18px}
.lci-one-market-heading p{margin:0}

@media(max-width:700px){
 .lci-split-compare{padding:14px}
 .lci-split-head{flex-direction:column}
 .lci-split-total{width:100%;text-align:left;box-sizing:border-box}
 .lci-split-markets{grid-template-columns:1fr}
}


/* v1.7.4 - ação de finalizar compra junto ao total */
.lci-total-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.lci-finish-list{white-space:nowrap}
@media(max-width:700px){
 .lci-total-actions{width:100%;justify-content:stretch}
 .lci-total-actions .lci-total-badge{flex:1}
 .lci-finish-list{width:100%}
}


/* v1.7.5 - scanner e ajuste elegante de quantidade */
.lci-scan-status{margin:10px 0;padding:10px 12px;border-radius:10px;background:#f6f7f7;font-weight:600;text-align:center}
.lci-scan-status.success{background:#edfaef;color:#176b2c}
.lci-scan-status.error{background:#fff1f0;color:#a12622}
.lci-scan-status.reading{background:#eef5ff;color:#1d4f91}
.lci-qty-stepper{display:inline-flex;align-items:center;gap:7px;padding:5px 7px;border:1px solid #dcdcde;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.lci-qty-stepper span{min-width:64px;text-align:center;line-height:1.1}
.lci-qty-stepper small{display:block;font-size:10px;color:#646970;margin-bottom:2px}
.lci-qty-stepper strong{font-size:13px}
.lci-qty-btn{width:34px;height:34px;border:0;border-radius:9px;background:#f0f0f1;font-size:22px;line-height:1;cursor:pointer;font-weight:700}
.lci-qty-btn:hover{background:#e2e4e7}
.lci-qty-btn:active{transform:scale(.96)}
@media(max-width:700px){
 .lci-qty-stepper{width:100%;justify-content:space-between;box-sizing:border-box}
 .lci-qty-btn{width:42px;height:40px}
}


/* v1.7.6 - vínculo de código escaneado ao cadastro mestre */
#lciBarcode.lci-barcode-captured{border-color:#22a447;box-shadow:0 0 0 1px #22a447;background:#f5fff7}


/* v1.7.7 - guia de enquadramento do scanner */
.lci-scan-video-wrap{position:relative;overflow:hidden;border-radius:14px;background:#111}
.lci-scan-video-wrap video{display:block;width:100%;height:auto}
.lci-scan-guide{position:absolute;left:14%;right:14%;top:54%;height:22%;transform:translateY(-50%);border:2px solid rgba(255,255,255,.92);border-radius:12px;box-shadow:0 0 0 9999px rgba(0,0,0,.32);pointer-events:none}
.lci-scan-guide span{position:absolute;left:8%;right:8%;top:50%;height:2px;background:rgba(255,70,70,.9);box-shadow:0 0 8px rgba(255,70,70,.8)}
#lciBarcode.lci-barcode-captured{border-color:#22a447!important;background:#f4fff6!important;box-shadow:0 0 0 1px #22a447!important}


/* v1.7.14 - complemento/variação + marcação de item comprado */
.lci-row #lciVariant{min-width:220px;flex:1 1 260px}
.lci-variant-label{display:inline-block;margin-top:5px;padding:4px 8px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:12px;font-weight:700}
.lci-item-actions{display:flex;gap:7px;flex-direction:column;align-items:stretch}
.lci-purchase{background:#198754!important;color:#fff!important}
.lci-unpurchase{background:#e8f5ec!important;color:#176b35!important;border:1px solid #9fd5ad!important}
.lci-item-purchased{background:#f2fff5;border:1px solid #b9e6c4!important;border-radius:14px;padding:12px!important;margin:8px 0;opacity:.94}
.lci-item-purchased .lci-item-product strong{text-decoration:line-through;text-decoration-thickness:1.5px;color:#497457}
.lci-purchased-badge{display:inline-flex;align-items:center;margin-top:6px;padding:5px 9px;border-radius:999px;background:#198754;color:#fff;font-size:12px;font-weight:800}
@media(max-width:800px){
 .lci-item-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
 .lci-item-purchased{padding:12px!important}
}


/* v1.7.15 - controle delicado "No carrinho" */
.lci-item-actions{
  display:flex;
  gap:8px;
  flex-direction:column;
  align-items:stretch;
}
.lci-cart-control{
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-family:inherit;
  gap:10px;
  min-height:38px;
  padding:6px 8px 6px 12px;
  border:1px solid #d9dee5;
  border-radius:12px;
  background:#fff;
  transition:.18s ease;
}
.lci-cart-label{
  font-size:12px;
  font-weight:700;
  color:#667085;
  white-space:nowrap;
}
.lci-cart-toggle{
  width:36px;
  height:36px;
  min-width:36px;
  border:0;
  border-radius:50%;
  background:#eef1f4;
  padding:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.18s ease;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);
}
.lci-cart-dot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#d5dae0;
  color:#fff;
  font-size:15px;
  line-height:1;
  font-weight:900;
  transition:.18s ease;
}
.lci-cart-control.is-in-cart{
  border-color:#a7d8b5;
  background:#f4fff7;
}
.lci-cart-control.is-in-cart .lci-cart-label{
  color:#176b35;
}
.lci-cart-control.is-in-cart .lci-cart-toggle{
  background:#dff4e5;
}
.lci-cart-control.is-in-cart .lci-cart-dot{
  background:#219653;
  box-shadow:0 0 0 3px rgba(33,150,83,.10);
}
.lci-purchased-note{
  margin-top:6px;
  color:#18753c;
  font-size:12px;
  font-weight:700;
}
.lci-item-purchased{
  background:#f7fff9!important;
  border:1px solid #c9e8d1!important;
  border-radius:14px;
  padding:12px!important;
  margin:8px 0;
  opacity:1!important;
}
.lci-item-purchased .lci-item-product strong{
  text-decoration:none!important;
  color:#1d2327!important;
}
.lci-item-purchased .lci-thumb{
  box-shadow:0 0 0 2px rgba(33,150,83,.12);
}
.lci-purchase,
.lci-unpurchase,
.lci-purchased-badge{
  display:none!important;
}
@media(max-width:800px){
  .lci-item-actions{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
  }
  .lci-cart-control{
    min-width:0;
  }
}


/* ==========================================================================
   v1.7.16 - refinamento visual profissional / mobile first
   Nenhuma regra funcional foi alterada.
   ========================================================================== */

.lci-shell{
  --lci-border:#e7e9ee;
  --lci-soft:#f8f9fb;
  --lci-text:#1d2327;
  --lci-muted:#697386;
  --lci-green:#1f8f4e;
  --lci-green-soft:#f3fbf6;
  --lci-shadow:0 8px 24px rgba(16,24,40,.06);
  color:var(--lci-text);
}

.lci-shell h1,
.lci-shell h2,
.lci-shell h3{
  letter-spacing:-.02em;
}

.lci-card{
  border:1px solid var(--lci-border);
  box-shadow:var(--lci-shadow);
}

.lci-grid{
  align-items:start;
}

.lci-lists-panel{
  position:sticky;
  top:16px;
}

.lci-panel-title{
  padding-bottom:8px;
  border-bottom:1px solid #f0f1f3;
}

.lci-tabs{
  padding:4px;
  border:1px solid #eceef2;
  background:#f7f8fa;
  border-radius:999px;
}

.lci-tab{
  flex:1;
  border:0;
  margin:0;
  min-height:38px;
}

.lci-tab.active{
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.lci-listnav-card{
  border:1px solid #edf0f3;
  background:#fff;
  box-shadow:0 2px 8px rgba(16,24,40,.03);
}

.lci-listnav-card.active{
  border-color:#b8c0cc;
  background:#fbfcfd;
}

.lci-autosave-note{
  display:flex;
  align-items:center;
  gap:7px;
  background:#f6fff8;
  border-color:#c8ead2;
  color:#24673b;
  font-weight:600;
}

.lci-add-product-title{
  margin-top:4px;
  padding-top:2px;
}

.lci-add-product-title strong{
  font-size:18px;
}

.lci-add-product-title span{
  color:var(--lci-muted);
}

/* O formulário passa a parecer um único bloco bem organizado. */
#lciWorkspace>.lci-row{
  background:#fbfcfd;
  border:1px solid #eceff3;
  border-radius:16px;
  padding:12px;
  gap:8px;
  box-shadow:0 2px 8px rgba(16,24,40,.025);
}

.lci-row input,
.lci-row select{
  min-height:44px;
  box-sizing:border-box;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.lci-row input:focus,
.lci-row select:focus{
  border-color:#8fb69c;
  box-shadow:0 0 0 3px rgba(31,143,78,.08);
  outline:none;
}

#lciProduct{
  font-weight:600;
}

#lciVariant{
  background:#fffdf7;
}

#lciAddItemBtn{
  min-height:44px;
  padding-inline:24px;
  border-radius:12px;
}

/* Ações auxiliares mais compactas e visualmente agrupadas. */
.lci-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:10px 0 16px;
}

.lci-actions .lci-btn{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.2;
  border-radius:12px;
}

/* Lista ativa mais clara. */
.lci-list-head{
  padding:14px 0 10px;
  margin-bottom:4px;
  border-bottom:1px solid #eef0f3;
}

.lci-list-head h3{
  margin-bottom:4px;
  font-size:20px;
}

.lci-list-status{
  color:var(--lci-muted);
  font-size:13px;
}

#lciItems{
  margin-top:4px;
}

.lci-item{
  border:1px solid #edf0f3;
  border-radius:16px;
  padding:14px;
  margin:10px 0;
  background:#fff;
  box-shadow:0 3px 12px rgba(16,24,40,.035);
}

.lci-item:first-child{
  border-top:1px solid #edf0f3;
}

.lci-item-product{
  align-items:center;
}

.lci-item-product strong{
  display:block;
  font-size:15px;
  line-height:1.35;
  margin-bottom:3px;
}

.lci-thumb{
  background:#fafafa;
  border:1px solid #eceff2;
  border-radius:14px;
}

.lci-muted{
  color:var(--lci-muted);
}

.lci-variant-label{
  margin:2px 0 4px;
  background:#f4f6f8;
  border:1px solid #eceff2;
}

.lci-item-qty{
  align-self:center;
}

.lci-qty-stepper{
  box-shadow:none;
  border-color:#e1e4e8;
}

.lci-qty-btn{
  transition:background .15s ease, transform .08s ease;
}

.lci-item-actions .lci-light{
  background:#f5f6f8;
  color:#344054;
  border:1px solid #e7e9ee;
}

.lci-cart-control{
  box-shadow:0 1px 4px rgba(16,24,40,.03);
}

.lci-item-purchased{
  background:linear-gradient(180deg,#f8fff9 0%,#f3fbf6 100%)!important;
  border-color:#bfe2c9!important;
}

.lci-purchased-note{
  margin-top:5px;
}

/* Resumo final com hierarquia mais forte. */
.lci-list-summary,
.lci-history-summary{
  border-radius:18px!important;
  border:1px solid #dcefe2!important;
  background:linear-gradient(180deg,#fbfffc 0%,#f4fbf6 100%)!important;
  box-shadow:0 5px 18px rgba(31,143,78,.05);
}

.lci-list-summary strong,
.lci-history-summary strong{
  color:#173e25;
}

/* Modais mais refinados. */
.lci-modalbox{
  border:1px solid #e7e9ee;
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}

.lci-x{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f5f7;
}

/* Mobile: menos rolagem visual e melhor aproveitamento de largura. */
@media(max-width:800px){
  .lci-card{
    border-radius:16px;
    padding:14px;
  }

  .lci-grid{
    gap:12px;
    margin-top:12px;
  }

  .lci-lists-panel{
    position:static;
  }

  .lci-panel-title{
    margin-bottom:6px;
  }

  .lci-listnav-card{
    margin-bottom:6px;
  }

  #lciWorkspace>.lci-row{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:8px;
    padding:10px;
  }

  .lci-product-photo-input,
  .lci-product-search-wrap,
  #lciBarcode,
  #lciVariant,
  #lciAddItemBtn{
    grid-column:1/-1;
    width:100%;
    max-width:none;
  }

  #lciMeasure{
    grid-column:1/2;
    width:100%;
  }

  #lciQty{
    grid-column:2/3;
    width:100%!important;
  }

  #lciQtyUnit{
    grid-column:3/4;
    width:100%;
  }

  .lci-product-photo-input{
    display:flex;
    align-items:center;
    gap:8px;
  }

  .lci-photo-btn{
    margin:0;
  }

  .lci-actions{
    grid-template-columns:1fr 1fr;
    gap:7px;
    margin:9px 0 14px;
  }

  .lci-actions .lci-btn{
    min-height:42px;
    padding:9px 8px;
    font-size:12px;
  }

  .lci-list-head{
    padding-top:8px;
  }

  .lci-list-head .lci-delete-current-list{
    width:auto;
    min-width:112px;
  }

  .lci-item{
    grid-template-columns:1fr;
    gap:10px;
    padding:12px;
  }

  .lci-item-product{
    display:grid;
    grid-template-columns:64px 1fr;
    gap:10px;
  }

  .lci-thumb{
    width:64px;
    height:64px;
    flex:0 0 64px;
  }

  .lci-item-qty{
    width:100%;
  }

  .lci-qty-stepper{
    width:100%;
    max-width:310px;
    margin:0 auto;
  }

  .lci-item-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    width:100%;
  }

  .lci-item-actions .lci-light{
    min-width:92px;
  }

  .lci-cart-control{
    min-height:42px;
  }

  .lci-list-summary,
  .lci-history-summary{
    margin-top:12px!important;
    padding:14px!important;
  }
}

/* Telas muito estreitas */
@media(max-width:420px){
  .lci-shell{
    font-size:14px;
  }

  .lci-card{
    padding:12px;
  }

  .lci-tabs{
    gap:2px;
  }

  .lci-tab{
    padding:7px 8px;
    font-size:12px;
  }

  .lci-actions .lci-btn{
    font-size:11.5px;
  }

  #lciWorkspace>.lci-row{
    grid-template-columns:1fr 1fr;
  }

  /* Os três campos de medida ficam dentro da linha nativa .lci-measure-qty-row.
     Não aplicar mais o layout legado diretamente aos IDs. */

  .lci-item-actions{
    grid-template-columns:1fr auto;
  }
}


/* ==========================================================================
   v1.7.17 - ajuste cirúrgico de espaçamento mobile + ações desktop
   ========================================================================== */

/* MOBILE: reduz o grande vazio entre o subtítulo e "+ Nova lista". */
@media(max-width:800px){
  .lci-shell .lci-topbar{
    margin-bottom:8px!important;
    padding-bottom:0!important;
  }

  .lci-shell .lci-center{
    padding-top:22px!important;
    padding-bottom:18px!important;
  }

  .lci-shell .lci-center h1,
  .lci-shell .lci-center h2,
  .lci-shell .lci-center h3{
    margin-bottom:10px!important;
  }

  .lci-shell .lci-center p{
    margin-bottom:10px!important;
  }

  /* Em alguns temas o shortcode recebe min-height/padding externo.
     Isto limita somente o bloco inicial do app, sem afetar conteúdo da lista. */
  .lci-shell > .lci-center:first-child,
  .lci-shell .lci-intro,
  .lci-shell .lci-hero{
    min-height:0!important;
    height:auto!important;
  }

  .lci-shell .lci-grid{
    margin-top:8px!important;
  }

  .lci-shell [data-action="new-list"],
  .lci-shell .lci-new-list,
  .lci-shell .lci-create-list{
    margin-top:6px!important;
  }
}

/* ==========================================================================\n   v1.7.18 - topo mobile compacto (somente visual)\n   ========================================================================== */
@media(max-width:800px){
  /* O título grande da própria página já identifica o recurso. */
  #lciApp>.lci-topbar>div>h2{
    display:none!important;
  }

  /* Remove qualquer altura/espaço herdado que esteja alongando o cabeçalho. */
  #lciApp>.lci-topbar{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:10px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:0 0 12px!important;
  }

  #lciApp>.lci-topbar>div{
    display:block!important;
    flex:none!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
  }

  #lciApp>.lci-topbar small{
    display:block!important;
    margin:0!important;
    padding:0!important;
    line-height:1.45!important;
  }

  #lciNewListBtn{
    position:static!important;
    float:none!important;
    align-self:flex-start!important;
    width:auto!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0!important;
  }

  #lciApp>.lci-grid{
    margin-top:0!important;
  }
}


/* v1.7.19 - tamanho da embalagem no Produto Mestre/pesquisa */
.lci-package-badge{
  display:inline-block;
  margin:3px 0 2px;
  padding:2px 7px;
  border-radius:999px;
  background:#eef6ff;
  color:#245b91;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}
.lci-package-inline{
  display:inline-block;
  margin:3px 0 2px;
  padding:2px 7px;
  border-radius:999px;
  background:#eef6ff;
  color:#245b91;
  font-size:11px;
  font-weight:800;
}


/* v1.7.21 - feedback visual do reprocessamento de embalagens */
.lci-package-progress-wrap{
  margin-top:12px;
  max-width:760px;
}
.lci-package-progress-card,
.lci-package-result-card{
  border:1px solid #dcdcde;
  border-radius:10px;
  background:#fff;
  padding:14px 16px;
}
.lci-package-progress-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.lci-package-progress-head strong{
  font-size:14px;
}
.lci-package-progress-head span{
  font-weight:700;
  color:#2271b1;
}
.lci-package-progress-bar{
  height:10px;
  border-radius:999px;
  background:#edf0f3;
  overflow:hidden;
  margin-bottom:10px;
}
.lci-package-progress-bar i{
  display:block;
  height:100%;
  width:0;
  border-radius:999px;
  background:#2271b1;
  transition:width .25s ease;
}
#lci-package-progress-message{
  font-size:13px;
  color:#3c434a;
  margin-bottom:6px;
}
.lci-package-progress-stats{
  font-size:12px;
  color:#646970;
}
.lci-package-result-card{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.lci-package-result-card.success{
  border-color:#8fd19e;
  background:#f0fff4;
}
.lci-package-result-card.success strong{
  color:#137333;
}
.lci-package-result-card.error{
  border-color:#d63638;
  background:#fff5f5;
}
.lci-package-result-card.error strong{
  color:#b32d2e;
}
#lci-reprocess-existing-packages:disabled{
  opacity:.7;
  cursor:wait;
}


/* v1.7.26 / 5.9.50 - aviso de Produto selecionado compacto em qualquer tela */
.lci-selected-product-status{
  transition:max-height .22s ease,padding .22s ease,margin .22s ease,background .22s ease;
  overflow:hidden;
}

.lci-selected-product-status.lci-selected-compact{
  display:flex!important;
  align-items:center;
  gap:6px;
  min-height:34px!important;
  max-height:38px!important;
  padding:7px 10px!important;
  margin:6px 0!important;
  border-radius:10px!important;
}

.lci-selected-product-status.lci-selected-compact span{
  margin:0!important;
  font-size:12px!important;
  white-space:nowrap;
}

.lci-selected-product-status.lci-selected-compact strong{
  margin:0!important;
  font-size:12px!important;
  line-height:1.2!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  flex:1 1 auto;
  min-width:0;
}

.lci-selected-product-status.lci-selected-compact small{
  display:none!important;
}

@media(max-width:800px){
  /* Mantém o complemento logo disponível sem alterar a ordem do formulário. */
  #lciVariant{
    scroll-margin-top:120px;
  }
}


/* ==========================================================================
   v1.7.29 - campos do formulário mais compactos SOMENTE no mobile
   ========================================================================== */
@media(max-width:800px){

  /* Bloco do formulário um pouco mais enxuto */
  #lciWorkspace > .lci-row{
    padding:8px!important;
    gap:6px!important;
    border-radius:14px!important;
  }

  /* Campos principais: menos altura e menos padding */
  #lciWorkspace > .lci-row input,
  #lciWorkspace > .lci-row select{
    min-height:38px!important;
    height:38px!important;
    padding:7px 10px!important;
    border-radius:10px!important;
    font-size:14px!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
  }

  /* Busca e complemento continuam largos, porém visualmente compactos */
  #lciProduct,
  #lciBarcode,
  #lciVariant{
    min-height:40px!important;
    height:40px!important;
    font-size:14px!important;
  }

  /* Quantidade / unidade / medida menores */
  #lciMeasure,
  #lciQty,
  #lciQtyUnit{
    min-height:36px!important;
    height:36px!important;
    font-size:13px!important;
  }

  /* Botão adicionar acompanha a nova altura */
  #lciAddItemBtn{
    min-height:38px!important;
    height:38px!important;
    padding:6px 14px!important;
    border-radius:10px!important;
    font-size:14px!important;
  }

  /* Área da foto reduz levemente sem perder área de toque */
  .lci-product-photo-input{
    min-height:0!important;
    margin-bottom:0!important;
  }

  .lci-photo-btn{
    min-height:36px!important;
    padding:7px 12px!important;
    border-radius:10px!important;
    font-size:13px!important;
  }

  /* Título e subtítulo do formulário com menos distância */
  .lci-add-product-title{
    margin-bottom:5px!important;
  }

  .lci-add-product-title strong{
    font-size:17px!important;
  }

  .lci-add-product-title span{
    font-size:12px!important;
  }
}

/* Celulares estreitos */
@media(max-width:420px){
  #lciWorkspace > .lci-row{
    gap:5px!important;
    padding:7px!important;
  }

  #lciWorkspace > .lci-row input,
  #lciWorkspace > .lci-row select{
    min-height:36px!important;
    height:36px!important;
    font-size:13px!important;
  }

  #lciProduct,
  #lciBarcode,
  #lciVariant{
    min-height:38px!important;
    height:38px!important;
  }

  #lciAddItemBtn{
    min-height:36px!important;
    height:36px!important;
  }
}


/* ==========================================================================
   v1.7.30 - scanner compacto flutuante no mobile + foto do Produto Mestre
   ========================================================================== */
@media(max-width:800px){
  .lci-scanner:not([hidden]){
    position:fixed!important;
    z-index:2147483000!important;
    top:max(72px, env(safe-area-inset-top))!important;
    left:10px!important;
    right:10px!important;
    bottom:max(12px, env(safe-area-inset-bottom))!important;
    margin:0!important;
    padding:12px!important;
    border-radius:18px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:9px!important;
    overflow:auto!important;
    max-height:calc(100dvh - 86px)!important;
    box-shadow:
      0 18px 55px rgba(0,0,0,.30),
      0 0 0 100vmax rgba(0,0,0,.48)!important;
    background:#111!important;
  }

  .lci-scanner .lci-scan-video-wrap{
    flex:0 0 auto!important;
    width:100%!important;
    height:min(46dvh,390px)!important;
    max-height:390px!important;
    min-height:230px!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }

  .lci-scanner .lci-scan-video-wrap video,
  .lci-scanner video{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    border-radius:14px!important;
  }

  .lci-scanner .lci-scan-guide{
    left:14%!important;
    right:14%!important;
    top:55%!important;
    height:23%!important;
  }

  .lci-scanner .lci-scan-status{
    margin:0!important;
    padding:9px 11px!important;
    min-height:0!important;
    border-radius:11px!important;
    font-size:13px!important;
    line-height:1.35!important;
  }

  .lci-scanner > .lci-btn{
    width:100%!important;
    min-height:40px!important;
    margin:0!important;
    border-radius:11px!important;
  }
}

@media(max-width:420px){
  .lci-scanner:not([hidden]){
    top:max(66px, env(safe-area-inset-top))!important;
    left:7px!important;
    right:7px!important;
    padding:9px!important;
  }
  .lci-scanner .lci-scan-video-wrap{
    height:min(43dvh,340px)!important;
    min-height:210px!important;
  }
}


/* ==========================================================================
   v1.7.31 - envio moderado de foto clicando na miniatura do produto
   ========================================================================== */
.lci-thumb.lci-photo-submit-trigger{
  position:relative;
  appearance:none;
  -webkit-appearance:none;
  padding:0;
  color:inherit;
  cursor:pointer;
}
.lci-thumb.lci-photo-submit-trigger:hover{
  border-color:#9ab7d9;
}
.lci-photo-camera-mark{
  position:absolute;
  right:-5px;
  bottom:-5px;
  width:22px;
  height:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#fff;
  border:1px solid #d6dae0;
  box-shadow:0 2px 7px rgba(0,0,0,.12);
  font-style:normal;
  font-size:11px;
  line-height:1;
}
.lci-photo-submit-trigger.is-uploading{
  opacity:.62;
  cursor:wait;
}
.lci-photo-submit-trigger.is-pending-photo .lci-photo-camera-mark{
  background:#eaf8ee;
  border-color:#8fd19e;
  color:#137333;
}
@media(max-width:800px){
  .lci-photo-camera-mark{
    width:24px;
    height:24px;
    right:-4px;
    bottom:-4px;
  }
}

/* v1.7.33 - foto oficial bloqueada para clientes */
.lci-thumb.lci-photo-official{position:relative;cursor:default}
.lci-thumb.lci-photo-official::after{
  content:"✓";position:absolute;right:-5px;bottom:-5px;width:20px;height:20px;
  display:flex;align-items:center;justify-content:center;border-radius:999px;
  background:#eaf8ee;color:#137333;border:1px solid #8fd19e;
  font-size:11px;font-weight:700
}

/* v1.7.34 - foto pendente persistente */
.lci-thumb.lci-photo-pending{position:relative;cursor:default;opacity:.88}
.lci-photo-pending-label{
 display:inline-block;margin-top:4px;padding:3px 7px;border-radius:999px;
 background:#fff8e5;border:1px solid #f0d98a;color:#7a5a00;font-size:11px;font-weight:700
}
.lci-thumb.lci-photo-pending .lci-photo-camera-mark{background:#fff8e5;border-color:#f0d98a;color:#7a5a00}


/* v1.7.41 - proteção leve contra saída acidental pelo botão Voltar */
.lci-back-guard-toast{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translate(-50%,18px);
  z-index:2147483000;
  max-width:min(88vw,420px);
  padding:11px 16px;
  border-radius:999px;
  background:rgba(24,28,34,.94);
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.25;
  text-align:center;
  box-shadow:0 8px 26px rgba(0,0,0,.2);
  opacity:0;
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease;
}
.lci-back-guard-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}
@media(max-width:800px){
  .lci-back-guard-toast{
    bottom:28px;
    font-size:13px;
    padding:10px 14px;
  }
}


/* v1.7.42 - reforço visual da confirmação do botão Voltar */
.lci-back-guard-toast{bottom:max(34px,env(safe-area-inset-bottom,0px) + 26px)!important;z-index:2147483646!important}

/* v1.7.46 - feedback leve de carregamento, sem polling nem timeout agressivo */
.lci-loading-state{
  min-height:150px;display:flex;align-items:center;justify-content:center;gap:13px;
  padding:24px 18px;border:1px solid #e5e9ef;border-radius:14px;background:#fbfcfd
}
.lci-loading-state[hidden]{display:none!important}
.lci-loading-state>div{display:flex;flex-direction:column;gap:5px}
.lci-loading-state strong{font-size:16px;color:#28323d}
.lci-loading-state small{color:#697586;line-height:1.4}
.lci-loading-spinner{
  width:28px;height:28px;flex:0 0 28px;border:3px solid #dce4ee;
  border-top-color:#2f6fed;border-radius:50%;animation:lci-load-spin .8s linear infinite
}
@keyframes lci-load-spin{to{transform:rotate(360deg)}}
.lci-loading-state.is-error{border-color:#f0caca;background:#fffafa}
.lci-loading-state.is-error .lci-btn{margin-top:7px}


/* v1.7.53 - fluxo simplificado: ações no momento certo */
.lci-actions{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.lci-compare-total{
  white-space:nowrap;
}
@media(max-width:800px){
  .lci-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lci-total-actions{
    width:100%;
  }
  .lci-compare-total{
    width:100%;
  }
}


/* v1.7.54 - ações principais acima do formulário de produto */
.lci-actions-top{
  margin:12px 0 14px;
}
@media(max-width:800px){
  .lci-actions-top{
    margin:10px 0 12px;
  }
}


/* v1.7.55 - lista principal compacta e seletor de listas recolhido */
.lci-current-list-title{
  margin:0 0 7px;
  font-size:22px;
  line-height:1.2;
  font-weight:700;
}
.lci-autosave-note{
  padding:7px 11px!important;
  min-height:0!important;
  margin:0 0 14px!important;
  font-size:13px!important;
  line-height:1.25!important;
}
#lciLists[hidden]{
  display:none!important;
}
.lci-lists-panel .lci-tabs{
  margin-bottom:0;
}
#lciLists:not([hidden]){
  margin-top:12px;
}
@media(max-width:800px){
  .lci-current-list-title{
    font-size:21px;
    margin-bottom:6px;
  }
  .lci-autosave-note{
    padding:6px 10px!important;
    margin-bottom:12px!important;
    font-size:12px!important;
  }
}


/* v1.7.56 - Nova lista integrada ao bloco Minhas listas */
.lci-tabs-with-new{
  display:grid!important;
  grid-template-columns:1fr 1fr .78fr;
  gap:6px;
  align-items:stretch;
}
.lci-tabs-with-new .lci-tab{
  min-width:0;
  padding:10px 8px;
  font-size:13px;
  line-height:1.2;
  white-space:normal;
}
.lci-tabs-with-new .lci-tab-new{
  font-weight:700;
}
@media(max-width:800px){
  .lci-tabs-with-new{
    grid-template-columns:1fr 1fr .72fr;
    gap:5px;
  }
  .lci-tabs-with-new .lci-tab{
    padding:9px 5px;
    font-size:12px;
  }
}


/* v1.7.69 - cabeçalho próprio, banner e centralização */
.lci-app-hero{
  text-align:center;
  margin:0 auto 18px;
  width:100%;
}
.lci-app-title{
  margin:0 0 12px;
  font-size:38px;
  line-height:1.12;
  font-weight:700;
  color:#26313b;
}
.lci-app-banner{
  width:100%;
  max-width:920px;
  margin:0 auto 12px;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  border-radius:16px;
}
.lci-app-banner img{
  display:block;
  max-width:100%;
  width:auto;
  height:auto;
  max-height:140px;
  object-fit:contain;
  object-position:center;
}
.lci-app-access{
  margin:0;
  padding:0;
  text-align:center;
  font-size:14px;
  line-height:1.2;
  color:#374151;
}
@media(max-width:800px){
  .lci-shell{
    width:100%;
    max-width:620px;
    margin:0 auto 16px;
    padding-left:10px;
    padding-right:10px;
    box-sizing:border-box;
  }
  .lci-app-title{
    font-size:32px;
    margin-bottom:10px;
  }
  .lci-app-banner{
    max-width:100%;
    border-radius:12px;
    margin-bottom:10px;
  }
  .lci-app-banner img{
    max-height:120px;
  }
  .lci-app-access{
    font-size:13px;
  }
}


/* ==========================================================================
   v1.7.78 - seleção de produto no fluxo + atualização direta de preço
   ========================================================================== */

/* O aviso verde deixa de ser flutuante/absolute e passa a reservar seu
   próprio espaço. As sugestões continuam flutuantes normalmente. */
#lciSelectedProductStatus.lci-selected-product-status{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  z-index:auto !important;
  width:100% !important;
  box-sizing:border-box !important;
  margin:6px 0 0 !important;
  box-shadow:none !important;
}

/* Mantém o wrap da busca sem altura artificial ou sobreposição. */
.lci-product-search-wrap{
  align-self:flex-start;
}

/* Controle leve de atualização de preço. */
.lci-client-price-update{
  margin-top:7px;
  font-size:12px;
}
.lci-client-price-update>summary{
  display:inline-block;
  cursor:pointer;
  font-weight:700;
  color:#2271b1;
  padding:3px 0;
  user-select:none;
}
.lci-client-price-fields{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  margin-top:6px;
}
.lci-client-price-fields input{
  min-height:34px;
  height:34px;
  padding:6px 9px;
  border:1px solid #d6dae0;
  border-radius:8px;
  box-sizing:border-box;
  font-size:12px;
}
.lci-client-price-fields input[data-client-price]{
  width:125px;
}
.lci-client-price-fields input[data-client-market]{
  width:210px;
  max-width:100%;
}
.lci-client-price-fields .lci-btn{
  min-height:34px;
  padding:6px 10px;
  font-size:12px;
}
.lci-client-price-help{
  display:block;
  margin-top:5px;
  color:#667085;
  line-height:1.35;
}

@media(max-width:800px){
  #lciSelectedProductStatus.lci-selected-product-status{
    margin:5px 0 0 !important;
  }
  .lci-client-price-fields{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .lci-client-price-fields input[data-client-price],
  .lci-client-price-fields input[data-client-market]{
    width:100%;
  }
  .lci-client-price-fields .lci-btn{
    grid-column:1/-1;
    width:100%;
  }
}


/* ==========================================================================
   v1.7.87 - sugestões no celular: rolagem real sem seleção acidental
   ========================================================================== */

.lci-product-suggestions{
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
  scrollbar-gutter:stable;
}

.lci-suggest-item{
  touch-action:pan-y;
  -webkit-tap-highlight-color:transparent;
}

@media (max-width: 780px){
  .lci-product-suggestions{
    /* dvh acompanha melhor a área visível quando o teclado móvel está aberto. */
    max-height:min(42dvh, 340px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior-y:contain;
    touch-action:pan-y !important;
  }

  .lci-suggest-item{
    box-sizing:border-box;
    min-height:50px;
    padding:6px 8px;
    gap:8px;
    touch-action:pan-y !important;
  }

  .lci-suggest-item strong{
    font-size:13px;
    line-height:1.2;
  }

  .lci-suggest-item small{
    margin-top:1px;
    font-size:11px;
    line-height:1.2;
  }

  /* Não aplicar deslocamento visual durante gesto de rolagem. */
  .lci-suggest-item:active{
    transform:none !important;
  }
}

@supports not (height: 1dvh){
  @media (max-width: 780px){
    .lci-product-suggestions{
      max-height:min(42vh, 340px) !important;
    }
  }
}


/* ==========================================================================
   v1.7.88 - estabilidade de toque/seleção das sugestões
   ========================================================================== */
.lci-product-suggestions .lci-suggest-item{
  user-select:none;
  -webkit-user-select:none;
}
@media (max-width:780px){
  .lci-product-suggestions .lci-suggest-item{
    cursor:pointer;
  }
}

/* 5.4 — correção colaborativa de nomes */
.lci-name-correction-btn{margin-top:6px;border:1px solid #2563eb;background:#fff;color:#1d4ed8;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:800;cursor:pointer;text-transform:uppercase}
.lci-name-correction-btn:hover{background:#eff6ff}


/* ========================================================================== 
   5.9.9 - cartão de instalação PWA responsivo
   Evita que a mensagem de estado comprima o título no celular.
   ========================================================================== */
.lci-pwa-install-card{
  margin-top:10px;
  padding:9px 10px;
  border:1px solid #dbeafe;
  border-radius:11px;
  background:#f8fbff;
  display:grid !important;
  grid-template-columns:34px minmax(0,1fr) auto;
  grid-template-areas:
    "icon info button"
    ". status status";
  align-items:center;
  column-gap:9px;
  row-gap:6px;
  width:100%;
  box-sizing:border-box;
  text-align:left;
}
.lci-pwa-install-icon{
  grid-area:icon;
  width:34px;
  height:34px;
  min-width:34px;
  border-radius:9px;
  background:#e8f0ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
}
.lci-pwa-install-info{
  grid-area:info;
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
}
.lci-pwa-install-info strong{
  display:block;
  margin:0;
  font-size:14px;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}
.lci-pwa-install-copy{
  margin-top:2px;
  font-size:11px;
  line-height:1.3;
  color:#64748b;
  overflow-wrap:normal;
  word-break:normal;
}
.lci-pwa-install-button{
  grid-area:button;
  margin:0 !important;
  padding:7px 10px !important;
  min-height:34px;
  width:auto !important;
  min-width:0;
  white-space:nowrap;
  font-size:12px !important;
  line-height:1.2;
  border-radius:9px !important;
}
.lci-pwa-install-status{
  grid-area:status;
  min-width:0;
  margin:0;
  padding:2px 0 0;
  font-size:11px;
  line-height:1.35;
  color:#475569;
  overflow-wrap:anywhere;
}

@media(max-width:520px){
  .lci-pwa-install-card{
    grid-template-columns:34px minmax(0,1fr) auto;
    column-gap:8px;
    padding:9px;
  }
  .lci-pwa-install-info strong{font-size:13px}
  .lci-pwa-install-button{
    padding:7px 9px !important;
    font-size:11px !important;
  }
  .lci-pwa-install-status{
    grid-column:1/-1;
    padding-top:3px;
  }
}

@media(max-width:360px){
  .lci-pwa-install-card{
    grid-template-columns:34px minmax(0,1fr);
    grid-template-areas:
      "icon info"
      "button button"
      "status status";
  }
  .lci-pwa-install-button{
    width:100% !important;
  }
}



/* ==========================================================================
   5.9.33 - CARTÃO DO CLIENTE: CSS RESPONSIVO CONSOLIDADO
   Fonte única de verdade para cartão, preço e barra de ações.
   ========================================================================== */

#lciItems .lci-item{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:8px;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:12px;
  margin:9px 0;
  align-items:start;
  border:1px solid #eceef2;
  border-radius:16px;
  background:#fff;
  box-sizing:border-box;
}
#lciItems .lci-item-product{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
#lciItems .lci-item-product>.lci-thumb{
  flex:0 0 82px;
  width:82px;height:82px;
  min-width:82px;min-height:82px;
  max-width:82px;max-height:82px;
  border-radius:12px;
  overflow:hidden;
}
#lciItems .lci-item-copy{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  padding-right:112px;
}
#lciItems .lci-item-copy>strong{
  display:block;
  margin:0 0 3px;
  font-size:15px;
  line-height:1.18;
  font-weight:800;
}
#lciItems .lci-package-inline,
#lciItems .lci-variant-label{
  display:inline-block;
  margin:2px 4px 2px 0;
  padding:2px 8px;
  border-radius:999px;
  font-size:10px;
  line-height:1.25;
}
#lciItems .lci-muted{font-size:10.5px;line-height:1.18}
#lciItems .lci-item-price{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  margin-top:3px;
  line-height:1.1;
}
#lciItems .lci-price-source{
  position:absolute;
  top:0;right:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  color:#5f6878;
  line-height:1.02;
  white-space:nowrap;
}
#lciItems .lci-price-source>span{font-size:9.5px;font-weight:500}
#lciItems .lci-price-source>strong{margin-top:1px;font-size:14px;line-height:1;font-weight:750;color:#313947}
#lciItems .lci-price-market{
  color:var(--lci-color-market-name,#185C37);
  font-size:11.5px;
  line-height:1.05;
  font-weight:850;
}
#lciItems .lci-price-formula{
  display:flex;
  align-items:baseline;
  gap:3px;
  max-width:100%;
  min-width:0;
  margin-top:1px;
  font-size:11.5px;
  line-height:1.05;
  white-space:nowrap;
}
#lciItems .lci-formula-total{
  flex:0 0 auto;
  color:#1769e0;
  font-size:15.5px;
  line-height:1;
  font-weight:900;
}

/* Barra oficial: Atualizar preço | Quantidade | No carrinho | Excluir */
#lciItems .lci-item-toolbar{
  display:grid;
  grid-template-columns:minmax(120px,1.12fr) minmax(122px,1fr) minmax(120px,1fr) minmax(68px,.62fr);
  gap:7px;
  align-items:stretch;
  width:min(calc(100% - 94px),640px);
  min-width:0;
  margin-left:94px;
  box-sizing:border-box;
}
#lciItems .lci-item-toolbar>*{min-width:0;max-width:100%;box-sizing:border-box}
#lciItems .lci-item-toolbar>.lci-client-price-update,
#lciItems .lci-item-toolbar>.lci-toolbar-price,
#lciItems .lci-item-toolbar>.lci-item-qty,
#lciItems .lci-item-toolbar>.lci-cart-control,
#lciItems .lci-item-toolbar>.lci-toolbar-delete{
  width:100%;
  height:40px;
  min-height:40px;
  margin:0;
  border-radius:9px;
}
#lciItems .lci-item-toolbar>.lci-client-price-update,
#lciItems .lci-item-toolbar>.lci-toolbar-price{border:1px solid #dfe3e8;background:#fff}
#lciItems .lci-item-toolbar>.lci-toolbar-price{
  display:flex;align-items:center;justify-content:center;
  padding:5px 7px;color:#2271b1;font-size:10.5px;font-weight:750;
}
#lciItems .lci-toolbar-price.is-disabled,
#lciItems .lci-item-toolbar .is-disabled{opacity:.58}
#lciItems .lci-item-toolbar>.lci-client-price-update>summary{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;min-width:0;
  padding:5px 8px;box-sizing:border-box;
  color:#2271b1;font-size:10.5px;line-height:1;font-weight:750;
  list-style:none;cursor:pointer;white-space:nowrap;
}
#lciItems .lci-item-toolbar>.lci-client-price-update>summary::-webkit-details-marker{display:none}
#lciItems .lci-item-toolbar>.lci-client-price-update[open]{
  grid-column:1/-1;height:auto;min-height:40px;padding:0 8px 8px;
}
#lciItems .lci-item-toolbar>.lci-client-price-update[open]>summary{
  height:38px;justify-content:flex-start;padding-left:0;
}
#lciItems .lci-item-toolbar>.lci-item-qty{display:flex;align-items:stretch}
#lciItems .lci-item-toolbar .lci-qty-stepper,
#lciItems .lci-item-toolbar>.lci-cart-control{
  width:100%;height:40px;min-height:40px;margin:0;
  border:1px solid #dfe3e8;border-radius:9px;background:#fff;box-sizing:border-box;
}
#lciItems .lci-item-toolbar .lci-qty-stepper{
  display:grid;grid-template-columns:32px minmax(0,1fr) 32px;
  gap:2px;padding:3px;align-items:center;
}
#lciItems .lci-item-toolbar .lci-qty-btn{
  width:32px;min-width:32px;height:32px;min-height:32px;
  padding:0;border-radius:7px;font-size:17px;line-height:32px;
}
#lciItems .lci-item-toolbar .lci-qty-stepper span{
  display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;line-height:1;
}
#lciItems .lci-item-toolbar .lci-qty-stepper small{margin:0 0 2px;font-size:9.2px;line-height:1}
#lciItems .lci-item-toolbar .lci-qty-stepper strong{font-size:10.5px;line-height:1;white-space:nowrap}
#lciItems .lci-item-toolbar>.lci-cart-control{
  display:flex;align-items:center;justify-content:center;
  gap:4px;padding:3px 5px 3px 8px;
}
#lciItems .lci-item-toolbar .lci-cart-label{min-width:0;font-size:10px;line-height:1;white-space:nowrap}
#lciItems .lci-item-toolbar .lci-cart-toggle{
  flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px;
}
#lciItems .lci-item-toolbar>.lci-toolbar-delete{
  padding:4px 3px;border:1px solid #e3e6ea;background:#f4f5f7;
  color:#344054;font-size:10px;line-height:1;white-space:nowrap;
}
#lciItems .lci-item-toolbar-completed{grid-template-columns:minmax(110px,150px)}
#lciItems .lci-toolbar-static{
  display:flex;align-items:center;justify-content:center;
  min-height:38px;border:1px solid #e3e6ea;border-radius:9px;font-size:11px;
}
#lciItems .lci-item-pending{opacity:1}
#lciItems .lci-item-pending .lci-item-copy>.lci-muted{color:#707784}

/* Único bloco responsivo oficial dos cartões */
@media(max-width:800px){
  #lciWorkspace,#lciItems,#lciItems .lci-item{
    width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  }
  #lciItems .lci-item{gap:6px;padding:10px;margin:8px 0;border-radius:15px}
  #lciItems .lci-item-product{gap:9px}
  #lciItems .lci-item-product>.lci-thumb{
    flex:0 0 84px;width:84px;height:84px;
    min-width:84px;min-height:84px;max-width:84px;max-height:84px;
  }
  #lciItems .lci-item-copy{padding-right:0;overflow:hidden}
  #lciItems .lci-item-copy>strong{font-size:13.6px;line-height:1.14;overflow-wrap:anywhere}
  #lciItems .lci-price-source{
    position:static;width:100%;max-width:100%;margin:2px 0 1px;
    align-items:flex-start;white-space:normal;
  }
  #lciItems .lci-price-source>span{font-size:8.8px}
  #lciItems .lci-price-source>strong{font-size:12.8px}
  #lciItems .lci-price-market{max-width:100%;font-size:10.5px;overflow-wrap:anywhere}
  #lciItems .lci-price-formula{
    flex-wrap:wrap;width:100%;white-space:normal;overflow-wrap:anywhere;
    font-size:9.6px;gap:1px 2px;letter-spacing:-.08px;
  }
  #lciItems .lci-formula-total{font-size:14px}
  #lciItems .lci-item-toolbar{
    grid-template-columns:minmax(0,.82fr) minmax(0,1.00fr) minmax(0,1.04fr) minmax(0,.56fr);
    gap:3px;width:100%;max-width:100%;margin-left:0;
  }
  #lciItems .lci-item-toolbar>.lci-client-price-update,
  #lciItems .lci-item-toolbar>.lci-toolbar-price,
  #lciItems .lci-item-toolbar>.lci-item-qty,
  #lciItems .lci-item-toolbar>.lci-cart-control,
  #lciItems .lci-item-toolbar>.lci-toolbar-delete{
    height:38px;min-height:38px;
  }
  #lciItems .lci-item-toolbar>.lci-client-price-update>summary,
  #lciItems .lci-item-toolbar>.lci-toolbar-price{
    overflow:hidden;
    padding:3px 2px;
    font-size:10.0px;
    letter-spacing:-.10px;
    white-space:nowrap;
  }
  #lciItems .lci-item-toolbar>.lci-client-price-update[open],
  #lciItems .lci-item-toolbar>.lci-client-price-update[open]>summary{
    overflow:visible;white-space:normal;
  }
  #lciItems .lci-item-toolbar .lci-qty-stepper,
  #lciItems .lci-item-toolbar>.lci-cart-control{height:38px;min-height:38px}
  #lciItems .lci-item-toolbar .lci-qty-stepper{
    grid-template-columns:24px minmax(0,1fr) 24px;padding:3px 1px;
  }
  #lciItems .lci-item-toolbar .lci-qty-btn{
    width:24px;min-width:24px;height:30px;min-height:30px;
  }
  #lciItems .lci-item-toolbar .lci-cart-label{
    overflow:hidden;
    font-size:9.7px;
    letter-spacing:-.08px;
    white-space:nowrap;
  }
  #lciItems .lci-item-toolbar>.lci-cart-control{padding:3px 3px 3px 5px}
  #lciItems .lci-item-toolbar .lci-cart-toggle{
    flex-basis:24px;width:24px;min-width:24px;height:24px;min-height:24px;
  }
  #lciItems .lci-item-toolbar>.lci-toolbar-delete{
    overflow:hidden;
    padding-left:1px;
    padding-right:1px;
    font-size:10.0px;
  }
}

/* Somente para telas realmente estreitas */
@media(max-width:420px){
  #lciItems .lci-item-product>.lci-thumb{
    flex-basis:78px;width:78px;height:78px;
    min-width:78px;min-height:78px;max-width:78px;max-height:78px;
  }
  #lciItems .lci-item-toolbar{
    grid-template-columns:minmax(0,.82fr) minmax(0,.98fr) minmax(0,1.05fr) minmax(0,.55fr);
  }
  #lciItems .lci-item-toolbar>.lci-client-price-update>summary,
  #lciItems .lci-item-toolbar>.lci-toolbar-price{font-size:9.2px}
  #lciItems .lci-item-toolbar .lci-cart-label{font-size:9.0px}
  #lciItems .lci-item-toolbar>.lci-toolbar-delete{font-size:9.2px}
  #lciItems .lci-item-toolbar .lci-qty-stepper{
    grid-template-columns:22px minmax(0,1fr) 22px;
  }
  #lciItems .lci-item-toolbar .lci-qty-btn{
    width:22px;min-width:22px;height:29px;min-height:29px;
  }
}

/* ========================================================================== 
   v5.9.19 - linha nativa equilibrada: Unidade | Quantidade | un.
   Três blocos iguais na mesma linha, inclusive em telas estreitas.
   ========================================================================== */
#lciWorkspace > .lci-row .lci-measure-qty-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  align-items:center;
  width:100%;
  box-sizing:border-box;
  grid-column:1/-1;
}
#lciWorkspace > .lci-row .lci-measure-qty-row > #lciMeasure,
#lciWorkspace > .lci-row .lci-measure-qty-row > #lciQty,
#lciWorkspace > .lci-row .lci-measure-qty-row > #lciQtyUnit{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  grid-column:auto!important;
  box-sizing:border-box!important;
}
#lciWorkspace > .lci-row #lciAddItemBtn{
  width:100%;
  flex:1 0 100%;
  grid-column:1/-1!important;
}

@media(max-width:800px){
  #lciWorkspace > .lci-row .lci-measure-qty-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px!important;
  }
  #lciWorkspace > .lci-row .lci-measure-qty-row > #lciMeasure,
  #lciWorkspace > .lci-row .lci-measure-qty-row > #lciQty,
  #lciWorkspace > .lci-row .lci-measure-qty-row > #lciQtyUnit{
    min-height:38px!important;
    height:38px!important;
    padding:7px 9px!important;
    font-size:14px!important;
    grid-column:auto!important;
  }
  #lciWorkspace > .lci-row #lciAddItemBtn{
    width:100%!important;
    margin-top:0!important;
  }
}

@media(max-width:430px){
  #lciWorkspace > .lci-row .lci-measure-qty-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px!important;
  }
  #lciWorkspace > .lci-row .lci-measure-qty-row > #lciMeasure,
  #lciWorkspace > .lci-row .lci-measure-qty-row > #lciQty,
  #lciWorkspace > .lci-row .lci-measure-qty-row > #lciQtyUnit{
    min-height:36px!important;
    height:36px!important;
    padding:6px 8px!important;
    font-size:13px!important;
    grid-column:auto!important;
  }
}


/* v1.7.75 - Minhas listas compacto e menos poluído */
.lci-lists-panel{
  padding:16px 18px;
}
.lci-panel-title{
  margin-bottom:8px;
}
.lci-panel-title h3{
  margin:0;
  font-size:18px;
  line-height:1.15;
}
.lci-lists-panel .lci-muted{
  font-size:12px;
}
.lci-tabs-with-new{
  gap:5px;
  margin:0;
}
.lci-tabs-with-new .lci-tab{
  min-height:38px;
  padding:8px 10px;
  font-size:13px;
}
#lciLists:not([hidden]){
  margin-top:8px;
}
@media(max-width:800px){
  .lci-lists-panel{
    padding:12px;
    border-radius:16px;
  }
  .lci-panel-title{
    margin-bottom:6px;
  }
  .lci-panel-title h3{
    font-size:16px;
  }
  .lci-lists-panel .lci-muted{
    display:none;
  }
  .lci-tabs-with-new{
    grid-template-columns:1fr 1fr .9fr;
    gap:4px;
  }
  .lci-tabs-with-new .lci-tab{
    min-height:34px;
    padding:7px 8px;
    font-size:12px;
  }
  #lciLists:not([hidden]){
    margin-top:6px;
  }
}


/* v1.7.76 - topo da lista mais compacto e sem aviso visual de autosave */
.lci-autosave-note{
  display:none!important;
}
.lci-current-list-title{
  margin:0 0 6px!important;
  font-size:20px!important;
  line-height:1.16!important;
}
.lci-add-product-title{
  margin:0 0 6px!important;
  padding-top:0!important;
}
.lci-add-product-title strong{
  font-size:17px!important;
  line-height:1.15!important;
}
.lci-add-product-title span{
  font-size:12px!important;
  line-height:1.25!important;
}
.lci-actions-top{
  margin:8px 0 10px!important;
}
.lci-actions-top .lci-btn{
  min-height:42px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
@media(max-width:800px){
  .lci-current-list-title{
    margin:0 0 5px!important;
    font-size:18px!important;
  }
  .lci-add-product-title{
    margin:0 0 5px!important;
  }
  .lci-add-product-title strong{
    font-size:16px!important;
  }
  .lci-add-product-title span{
    font-size:11px!important;
    margin-top:2px!important;
  }
  .lci-actions-top{
    margin:7px 0 9px!important;
  }
  .lci-actions-top .lci-btn{
    min-height:40px!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
}


/* v5.9.23 - cores administrativas dos títulos */
#lciApp .lci-app-title{color:var(--lci-color-main-title,#4F46E5);}
#lciApp .lci-current-list-title{color:var(--lci-color-list-title,#4F46E5);}
#lciApp .lci-lists-panel .lci-panel-title h3{color:var(--lci-color-my-lists,#4F46E5);}

/* v5.9.30 — cor única configurável para nomes de supermercados */
#lciApp .lci-market-name,
#lciApp .lci-split-market-title .lci-market-name,
#lciApp .lci-market h4 .lci-market-name{
  color:var(--lci-color-market-name,#185C37);
  font-weight:850;
}


/* v5.9.31 — total configurável + ações independentes da lista */
#lciApp .lci-list-total .lci-total-value{
  color:var(--lci-color-total-value,#1769E0);
  font-weight:850;
}
#lciApp .lci-total-actions{
  width:min(100%,560px);
}
#lciApp .lci-total-buttons{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  width:100%;
}
#lciApp .lci-total-buttons .lci-btn{
  width:100%;
  min-width:0;
  margin:0;
}
#lciApp .lci-total-buttons .lci-finish-list{
  font-weight:800;
}
@media(max-width:700px){
  #lciApp .lci-total-actions{
    width:100%;
  }
  #lciApp .lci-total-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  #lciApp .lci-total-buttons .lci-btn{
    white-space:normal;
    line-height:1.15;
    min-height:46px;
    padding-left:8px;
    padding-right:8px;
  }
}

/* ==========================================================================
   5.9.48 - sugestões desktop: uma única lista, compacta
   A lista nativa do navegador foi removida na origem; este bloco apenas
   compacta a lista própria do plugin no desktop. Mobile permanece intacto.
   ========================================================================== */
@media (min-width:781px){
  .lci-product-suggestions{
    max-height:260px;
  }
  .lci-product-suggestions .lci-suggest-item{
    min-height:42px;
    padding:6px 8px;
    gap:7px;
  }
  .lci-product-suggestions .lci-suggest-icon{
    flex:0 0 20px;
    width:20px;
    text-align:center;
    font-size:15px;
  }
  .lci-product-suggestions .lci-suggest-item strong{
    font-size:12px;
    line-height:1.15;
  }
  .lci-product-suggestions .lci-suggest-item small{
    margin-top:2px;
    font-size:10px;
    line-height:1.15;
  }
  .lci-product-suggestions .lci-suggest-package{
    font-size:10px;
    line-height:1.1;
  }
}



/* 5.9.51 - retorno de busca sem resultado: compacto, sem alterar a lista de sugestões */
.lci-product-suggestions .lci-suggest-checking{
  min-height:0;
  padding:7px 10px;
  font-size:12px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:780px){
  .lci-product-suggestions .lci-suggest-checking{
    padding:6px 8px;
    font-size:11px;
  }
}


/* ==========================================================================
   v5.9.53 - cadastro persistente para EAN/GTIN desconhecido
   O estado visual acompanha uma regra funcional real do scanner; não mascara
   elementos antigos nem altera os fluxos de OCR, preços ou comparação.
   ========================================================================== */
#lciWorkspace > .lci-row > .lci-new-product-mode{
  grid-column:1/-1;
  width:100%;
  box-sizing:border-box;
  border:1px solid #f0c36a;
  background:#fffaf0;
  border-radius:12px;
  padding:11px 12px;
  margin:0 0 2px;
}
#lciWorkspace > .lci-row > .lci-new-product-mode[hidden]{
  display:none!important;
}
.lci-new-product-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.lci-new-product-heading>div{
  display:grid;
  gap:2px;
}
.lci-new-product-heading strong{
  font-size:13px;
  line-height:1.25;
  color:#7a4b00;
}
.lci-new-product-heading small{
  color:#5d6673;
}
.lci-new-product-heading span{
  font-size:11px;
  font-weight:700;
  color:#7a4b00;
  background:#fff2cc;
  border-radius:999px;
  padding:4px 8px;
}
#lciNewProductMessage{
  margin:7px 0 8px;
  font-size:12px;
  line-height:1.4;
  color:#4f5967;
}
.lci-new-product-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.lci-new-product-actions .lci-btn{
  min-height:34px!important;
  padding:6px 10px!important;
  font-size:12px!important;
  width:auto!important;
}
.lci-new-product-mode.is-lookup{
  border-color:#9fb9e6;
  background:#f6f9ff;
}
.lci-new-product-mode.is-error{
  border-color:#e5a3a0;
  background:#fff6f5;
}
#lciBarcode.lci-barcode-locked{
  cursor:default;
  font-weight:700;
}
@media(max-width:800px){
  .lci-new-product-heading{
    display:grid;
    grid-template-columns:1fr;
    gap:5px;
  }
  .lci-new-product-heading span{
    width:max-content;
    max-width:100%;
  }
  .lci-new-product-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .lci-new-product-actions .lci-btn{
    width:100%!important;
    min-height:36px!important;
  }
}

/* 5.9.54 — prévia segura da nota fiscal antes da gravação */
#lciReceiptModal .lci-modalbox{max-width:960px}
.lci-receipt-preview-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin:18px 0 12px;padding:15px 16px;border:1px solid #dfe5ec;border-radius:14px;background:#fbfcfe}
.lci-receipt-preview-head h4{margin:0 0 4px;font-size:18px}
.lci-receipt-preview-head p{margin:0;color:#667085;font-size:13px}
.lci-receipt-preview-summary{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:190px;font-size:12px;color:#667085}
.lci-receipt-preview-summary strong{font-size:15px;color:#17212b}
.lci-receipt-preview-summary .ok{color:#176b35;font-weight:700}
.lci-receipt-preview-summary .warn{color:#9a6700;font-weight:700}
.lci-receipt-preview-card{border:1px solid #dfe3e8;border-radius:14px;background:#fff;margin:12px 0 16px;overflow:hidden;box-shadow:0 3px 14px rgba(16,24,40,.04)}
.lci-receipt-preview-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;background:#f7f9fb;border-bottom:1px solid #e6e9ed}
.lci-receipt-preview-card-head>strong{font-size:14px}
.lci-receipt-check-badge{font-size:11px;font-weight:750;border-radius:999px;padding:5px 9px;line-height:1.2;text-align:right}
.lci-receipt-check-badge.ok{background:#ecfdf3;color:#176b35;border:1px solid #abefc6}
.lci-receipt-check-badge.warn{background:#fffaeb;color:#8a5700;border:1px solid #fedf89}
.lci-receipt-preview-table{display:grid;grid-template-columns:minmax(190px,42%) 1fr;padding:0 14px}
.lci-receipt-preview-table>.label,.lci-receipt-preview-table>.value{padding:12px 8px;border-bottom:1px solid #edf0f3;min-width:0}
.lci-receipt-preview-table>.label{font-size:13px;font-weight:650;color:#344054}
.lci-receipt-preview-table>.value{font-size:14px;color:#101828;overflow-wrap:anywhere}
.lci-receipt-preview-table>.label:nth-last-child(-n+2),.lci-receipt-preview-table>.value:nth-last-child(-n+2){border-bottom:0}
.lci-receipt-preview-actions{display:flex;gap:8px;flex-wrap:wrap;padding:11px 14px;border-top:1px solid #edf0f3;background:#fcfcfd}
.lci-receipt-preview-actions .lci-btn{padding:8px 11px;font-size:12px}
.lci-receipt-remove{color:#8a1c1c;background:#fff1f1}
.lci-receipt-edit-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:14px!important;border-top:1px solid #e6e9ed;background:#f8fafc;align-items:end!important}
.lci-receipt-edit-fields[hidden]{display:none!important}
.lci-receipt-edit-fields label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:700;color:#475467;min-width:0}
.lci-receipt-edit-fields input,.lci-receipt-edit-fields select{width:100%;box-sizing:border-box;margin:0!important;min-width:0}
.lci-receipt-edit-fields>.lci-btn{align-self:end;min-height:42px}
#lciReceiptModal [data-action="save-receipt"]{width:100%;margin-top:12px;min-height:46px;font-size:15px}
@media(max-width:700px){
 #lciReceiptModal .lci-modalbox{padding:14px!important}
 .lci-receipt-preview-head{flex-direction:column;gap:8px;padding:12px}
 .lci-receipt-preview-summary{align-items:flex-start;min-width:0}
 .lci-receipt-preview-card-head{align-items:flex-start;flex-direction:column}
 .lci-receipt-check-badge{text-align:left}
 .lci-receipt-preview-table{grid-template-columns:42% 58%;padding:0 7px}
 .lci-receipt-preview-table>.label,.lci-receipt-preview-table>.value{padding:10px 6px;font-size:12px}
 .lci-receipt-preview-actions{display:grid;grid-template-columns:1fr 1fr;padding:10px}
 .lci-receipt-preview-actions .lci-btn{width:100%}
 .lci-receipt-edit-fields{grid-template-columns:1fr 1fr!important;padding:10px!important}
 .lci-receipt-edit-fields label:first-child{grid-column:1/-1}
 .lci-receipt-edit-fields>.lci-btn{grid-column:1/-1;width:100%}
}

/* 5.9.57 HOMOLOGADA — validação final leve da nota, sem processamento contínuo. */
.lci-receipt-doc-check{margin:0 0 14px;padding:13px 15px;border-radius:12px;border:1px solid #dfe5ec;background:#fbfcfe}
.lci-receipt-doc-check>strong{display:block;margin-bottom:8px;font-size:14px;color:#17212b}
.lci-receipt-doc-check.ok{background:#f0fff5;border-color:#abefc6}
.lci-receipt-doc-check.warn{background:#fffbeb;border-color:#fedf89}
.lci-receipt-doc-check.error{background:#fff5f5;border-color:#fda29b}
.lci-receipt-doc-grid{display:flex;gap:8px 16px;flex-wrap:wrap;margin-bottom:7px;font-size:12px;color:#344054}
.lci-doc-msg{font-size:12px;line-height:1.45;margin-top:4px}
.lci-doc-msg.ok{color:#176b35;font-weight:700}
.lci-doc-msg.warn{color:#8a5700}
.lci-doc-msg.error{color:#b42318;font-weight:700}
@media(max-width:720px){.lci-receipt-doc-grid{display:grid;grid-template-columns:1fr;gap:4px}}

/* 5.9.58 — motivo da liberação/bloqueio da confirmação da prévia */
.lci-receipt-confirm-gate{margin:10px 0;padding:10px 12px;border:1px solid #dbe3ee;border-radius:10px;font-size:13px;line-height:1.4;background:#f7f9fc;color:#334155}
.lci-receipt-confirm-gate.ok{background:#ecfdf3;border-color:#a7f3d0;color:#166534}
.lci-receipt-confirm-gate.warn{background:#fffbeb;border-color:#fde68a;color:#92400e}
.lci-receipt-confirm-gate.error{background:#fef2f2;border-color:#fecaca;color:#991b1b}

/* 5.9.59 — modo offline seguro e discreto. */
.lci-offline-status{
  margin:8px auto 0;
  width:fit-content;
  max-width:100%;
  padding:3px 9px;
  border-radius:10px;
  border:1px solid #dbe3ee;
  background:#f8fafc;
  color:#334155;
  font-size:12px;
  line-height:1.4;
}
.lci-offline-status.is-offline,.lci-offline-status.is-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}
.lci-offline-status.is-syncing{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.lci-offline-status.is-online{background:#ecfdf3;border-color:#a7f3d0;color:#166534}
.lci-item-offline{border-color:#d8e0ea!important}
.lci-offline-item-note{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:7px;padding:7px 9px;border-radius:9px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;font-size:11px;line-height:1.35}
.lci-offline-item-note strong{font-size:11px}
.lci-offline-item-note span{flex:1 1 180px}
.lci-offline-item-note.is-pending{background:#fffbeb;border-color:#fde68a;color:#92400e}
.lci-offline-item-note .lci-btn{min-height:30px!important;padding:5px 8px!important;font-size:11px!important;width:auto!important}
@media(max-width:700px){
 .lci-offline-status{margin-left:0;margin-right:0}
 .lci-offline-item-note{align-items:flex-start}
 .lci-offline-item-note .lci-btn{width:100%!important}
}

/* 5.9.69 — segurança de rascunho e edição administrativa offline */
.lci-receipt-draft-status{margin:6px 0 10px;font-size:12px;line-height:1.4}
.lci-offline-name-edit{display:inline-flex;align-items:center;margin:5px 0 0;padding:3px 8px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-size:11px;font-weight:700;cursor:pointer}

/* 5.9.72 — limpeza explícita e segura da sessão temporária da nota */
#lciReceiptModal .lci-receipt-session-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 8px}
#lciReceiptModal .lci-receipt-clear-session{padding:7px 10px;font-size:12px;min-height:34px;width:auto}
#lciReceiptModal .lci-receipt-session-actions .lci-muted{font-size:11px;line-height:1.35;flex:1 1 260px}
@media(max-width:640px){#lciReceiptModal .lci-receipt-clear-session{width:100%}#lciReceiptModal .lci-receipt-session-actions .lci-muted{flex-basis:100%}}

/* 5.9.109: one native button, preserving the toolbar footprint. */
#lciItems .lci-item-toolbar>button.lci-cart-control.is-in-cart{
  border-color:#a7d8b5;background:#dff4e5;
}
#lciItems .lci-item-toolbar>button.lci-cart-control:disabled{cursor:default}
#lciItems .lci-item-toolbar>button.lci-cart-control:focus-visible{
  outline:2px solid #176b35;outline-offset:2px;
}

/* 5.9.115: keep market text in place; compact explicit suggestions. */
.lci-market-edit{border:0;background:transparent;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}
.lci-market-edit:focus-visible{outline:2px solid #315bea;outline-offset:2px}
.lci-market-suggestions{display:flex;flex-direction:column;gap:3px;max-height:180px;overflow:auto;grid-column:1/-1}
.lci-market-suggestions .lci-btn{text-align:left;white-space:normal;font-size:12px}

/* 5.9.118: apenas cabeçalho e banner; campos e ações preservados. */
#lciApp { padding-top:0; }
#lciApp > .lci-app-hero { margin-top:0; padding-top:0; margin-bottom:2px; }
#lciApp .lci-app-title { margin-top:0; margin-bottom:4px; }
#lciApp .lci-app-banner { max-width:100%; margin-bottom:4px; }
#lciApp .lci-app-banner img { width:100%; height:140px; max-height:140px; object-fit:cover; object-position:center; }
#lciApp > .lci-grid { margin-top:0!important; }
@media(max-width:800px) {
  #lciApp .lci-app-banner img { height:120px; max-height:120px; }
}

/* 5.9.119: cabeçalho sem preenchimento herdado; títulos alinhados aos campos. */
#lciApp > .lci-app-hero { margin-top:0!important; padding-top:0!important; }
#lciApp .lci-app-title { margin-top:0!important; padding:0!important; min-height:0; }
#lciApp .lci-lists-panel .lci-panel-title h3,
#lciApp #lciCurrentListTitle { padding-left:8px; padding-right:8px; box-sizing:border-box; }

/* 5.9.120: os textos do formulário seguem o mesmo recuo dos dois títulos. */
#lciApp #lciWorkspace > .lci-add-product-title {
  padding-left:8px;
  padding-right:8px;
  box-sizing:border-box;
}

/* 5.9.121: ações alinhadas aos campos; instalação não ocupa espaço após instalada. */
#lciApp #lciWorkspace > .lci-actions-top {
  width:100%;
  box-sizing:border-box;
  padding-left:8px;
  padding-right:8px;
}
#lciApp #lciWorkspace > .lci-actions-top > .lci-btn {
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
#lciApp .lci-pwa-install-card[hidden] { display:none!important; }
#lciApp .lci-pwa-install-status { padding-left:8px; padding-right:8px; box-sizing:border-box; }
@media(display-mode:standalone), (display-mode:minimal-ui), (display-mode:fullscreen), (display-mode:window-controls-overlay) {
  #lciApp .lci-pwa-install-card { display:none!important; }
}

/* Vendor-only catalog registration, isolated from shopping controls. */
.lci-vendor-product-dialog{box-sizing:border-box;width:min(94vw,480px);max-height:90dvh;overflow:auto;border:1px solid #dfe6f2;border-radius:16px;padding:20px;color:#1a2c45;background:white}.lci-vendor-product-dialog::backdrop{background:#14233d66}.lci-vendor-product-dialog label{display:block;margin:10px 0;font-size:13px}.lci-vendor-product-dialog input,.lci-vendor-product-dialog select{display:block;box-sizing:border-box;width:100%;padding:9px;border:1px solid #d8e1ef;border-radius:8px;margin-top:4px}.lci-vendor-product-dialog p{font-size:13px;line-height:1.5}

/* Price reference disclosure: compact by default, explicit expansion. */
#lciApp .lci-price-notice{box-sizing:border-box;max-width:100%;margin:0 auto;padding:0;color:#596579;font-size:11px;line-height:1.15;text-align:center}
#lciApp .lci-price-notice summary{display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;list-style:none;min-height:0;margin:0;padding:0;line-height:1.15}
#lciApp .lci-price-notice summary::-webkit-details-marker{display:none}
#lciApp .lci-price-notice summary>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lciApp .lci-price-notice-arrow{flex-shrink:0;font-size:14px;line-height:1}
#lciApp .lci-price-notice[open] .lci-price-notice-arrow{transform:rotate(180deg)}
#lciApp .lci-price-notice summary:focus-visible{outline:2px solid #6676ac;outline-offset:2px;border-radius:4px}
#lciApp .lci-price-notice p{max-width:560px;margin:2px auto 2px;padding:0;line-height:1.4;font-size:12px;text-align:left}

/* 5.9.167 — Public sign-up entrance. Scoped to the anonymous shortcoded page. */
.lci-welcome{--lci-welcome-accent:#2855dd;max-width:1150px;padding:12px 18px 24px;box-sizing:border-box}
.lci-welcome__grid{background:#fff;border:1px solid #e1e9f5;border-radius:26px;box-shadow:0 17px 55px rgba(16,37,71,.09);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(22px,4vw,56px);padding:clamp(22px,4.5vw,56px);align-items:center;overflow:hidden}
.lci-welcome__content,.lci-welcome__visual{min-width:0}
.lci-welcome__eyebrow{display:inline-flex!important;align-items:center;gap:6px;color:var(--lci-welcome-accent)!important;font-size:12px!important;font-weight:800;letter-spacing:.09em;text-transform:uppercase;background:#eef4ff;border-radius:999px;padding:9px 13px;margin:0 0 20px!important}
.lci-welcome__content h2{font-size:clamp(27px,3.2vw,46px)!important;line-height:1.14!important;letter-spacing:-.035em;color:#122340!important;margin:0 0 20px!important;font-weight:800!important}
.lci-welcome__lead{font-size:clamp(15px,1.7vw,18px)!important;line-height:1.65;color:#56677d!important;margin:0 0 24px!important}
.lci-welcome__payment{display:flex;align-items:center;gap:14px;padding:15px 16px;background:#f6f9ff;border:1px solid #dfeafa;border-radius:16px;margin:0 0 16px}
.lci-welcome__payment img{max-width:92px;width:92px;height:54px;object-fit:contain;flex-shrink:0}
.lci-welcome__payment-label{flex:none;background:#dffaf4;color:#087f71;border-radius:10px;padding:12px 16px;font-size:19px}
.lci-welcome__payment strong,.lci-welcome__payment span{display:block}.lci-welcome__payment strong{font-size:15px;color:#122340}.lci-welcome__payment span{font-size:13px;line-height:1.5;color:#5f7087;margin-top:4px}
.lci-welcome__price{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;margin:0 0 18px!important}.lci-welcome__price strong{font-size:24px;color:#132f5b}.lci-welcome__price span{font-size:13px;color:#64748b}
.lci-welcome__checkout-note{border-radius:12px;background:#f6f9ff;padding:12px 14px;color:#475569}
.lci-welcome__actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:16px}
.lci-shell .lci-welcome__actions .lci-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:49px;box-sizing:border-box;border-radius:11px;text-decoration:none!important;font-size:15px;font-weight:750;line-height:1.25;padding:13px 20px;transition:transform .15s,box-shadow .15s}
.lci-shell .lci-welcome__primary{background:var(--lci-welcome-accent);color:#fff!important;box-shadow:0 7px 18px rgba(24,83,167,.18)}
.lci-shell .lci-welcome__secondary{background:#eef3fb;color:#183f75!important}
.lci-shell .lci-welcome__actions a:hover{transform:translateY(-2px);box-shadow:0 7px 20px rgba(16,37,71,.12)}
.lci-shell .lci-welcome__actions a:focus-visible{outline:3px solid #68afff;outline-offset:3px}
.lci-welcome__footnote{font-size:12px;color:#697b90!important;margin:16px 0 0!important;line-height:1.6}
.lci-welcome__visual{display:flex;flex-direction:column;align-items:stretch;gap:14px}
.lci-welcome__image-surface{display:grid;place-items:center;min-height:290px;aspect-ratio:1.16;background:linear-gradient(145deg,#e9f3ff,#f5f9ff 57%,#e7f8f5);border-radius:22px;padding:18px;overflow:hidden;border:1px solid #dce8f7}
.lci-welcome__image-surface img{display:block;max-width:100%;max-height:330px;width:100%;height:100%;object-fit:contain;border-radius:15px}
.lci-welcome__visual-caption{display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;color:#3d5e7c;font-weight:700;text-align:center}
.lci-welcome__visual-caption span{display:grid;place-items:center;border-radius:50%;background:#dbf9eb;color:#15774b;width:23px;height:23px;flex:none}
@media(max-width:780px){.lci-welcome{padding:10px 12px 20px}.lci-welcome__grid{grid-template-columns:1fr;padding:25px;gap:28px}.lci-welcome__visual{order:-1}.lci-welcome__image-surface{min-height:200px;aspect-ratio:2.2}.lci-welcome__image-surface img{max-height:200px}.lci-welcome__visual-caption{font-size:12px}.lci-welcome__content h2{font-size:clamp(26px,5.5vw,38px)!important}}
@media(max-width:460px){.lci-welcome{padding:6px 6px 18px}.lci-welcome__grid{padding:18px;border-radius:18px;gap:21px}.lci-welcome__image-surface{min-height:170px;aspect-ratio:1.6;padding:12px}.lci-welcome__image-surface img{max-height:190px}.lci-welcome__actions{flex-direction:column}.lci-shell .lci-welcome__actions .lci-btn{width:100%;font-size:14px}.lci-welcome__payment img{width:65px;max-width:65px}.lci-welcome__payment{padding:12px}.lci-welcome__payment strong{font-size:14px}.lci-welcome__eyebrow{margin-bottom:13px!important}}
@media(prefers-reduced-motion:reduce){.lci-shell .lci-welcome__actions a{transition:none}.lci-shell .lci-welcome__actions a:hover{transform:none}}

/* 5.9.174 — Visual de renovação da Lista: regras isoladas, sem alterar aplicativo ativo ou lojas. */
.lci-renew-shell{max-width:820px;margin:clamp(20px,5vw,64px) auto;padding:0 14px}
.lci-renew-card{display:grid;grid-template-columns:minmax(180px,38%) minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid #dee7f5;border-radius:24px;box-shadow:0 20px 60px rgba(26,60,119,.08);color:#243651}
.lci-renew-media{background:linear-gradient(135deg,#e0eaff,#f3f8ff);display:flex;align-items:center;justify-content:center;min-height:280px;overflow:hidden}
.lci-renew-hero-image{display:block;width:100%;height:100%;object-fit:contain;max-height:360px}
.lci-renew-mark{font-size:74px}
.lci-renew-body{padding:clamp(24px,4vw,48px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.lci-renew-eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:#315bea;margin-bottom:14px}
.lci-renew-body h2{margin:0 0 15px;color:#1b2e4c;font-size:clamp(24px,3vw,33px);letter-spacing:-.02em;line-height:1.2}
.lci-renew-body>p{color:#596d89;font-size:15px;line-height:1.65;margin:0 0 16px}
.lci-renew-body .lci-renew-button{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:50px;padding:13px 22px;background:#2860df;color:#fff;border-radius:13px;text-decoration:none;font-weight:700;margin:12px 0}
.lci-renew-body .lci-renew-button:hover{background:#1946aa;color:#fff}
.lci-renew-body .lci-renew-button:focus-visible{outline:3px solid #7da7ff;outline-offset:3px}
.lci-renew-body .lci-renew-footnote{font-size:12px;color:#74829a;margin:8px 0 0}
@media(max-width:660px){.lci-renew-card{grid-template-columns:1fr}.lci-renew-media{min-height:0;max-height:180px;padding:8px 16px}.lci-renew-hero-image{max-height:168px;object-fit:contain}.lci-renew-body{padding:26px 22px 28px}.lci-renew-body .lci-renew-button{width:100%;box-sizing:border-box}}

/* 5.9.187 — optional new-product details, kept visually quiet. */
.lci-new-product-details{display:grid;gap:7px;margin:9px 0 4px}.lci-new-product-details input:not([type=file]){width:100%;min-width:0}.lci-new-product-details input[type=file]{max-width:100%;font-size:12px}.lci-photo-optin{font-size:12px;color:#64748b;margin-top:2px}.lci-new-product-details img{max-width:120px;max-height:100px;object-fit:contain;border-radius:8px}

#lciProductPhotoPreview{display:block;width:88px;height:88px;aspect-ratio:1/1;object-fit:cover;object-position:center center;image-orientation:from-image;border:1px solid #d8dee8;border-radius:12px;background:#fff;margin-top:8px}
#lciProductPhotoPreview[hidden]{display:none}

/* 5.9.190 — cadastro novo: ação única de câmera e prévia sem espaço vazio. */
.lci-new-product-details .lci-product-photo-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.lci-new-product-details #lciTakeProductPhotoBtn{justify-self:start;min-height:38px}
