/* ==========================================================================
   Meu Carrinho na Live — tela Live (layout de referência v3, escala compacta)
   Escopo: .lpx-live (somente o shortcode [lp_liveboard]). Carregado após app-ui-v2.css.
   ========================================================================== */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch){
  --lpx-r-card:20px; --lpx-r-cart:18px; --lpx-r-field:11px;
  --lpx-h:42px; --lpx-gap:18px;
  font-family:inherit; color:var(--v2-text);
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) *{box-sizing:border-box}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) svg{flex:none;display:block}

/* ---------- botões ---------- */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn{
  display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:8px!important;
  height:var(--lpx-h)!important; min-height:var(--lpx-h)!important; max-height:none!important; padding:0 20px!important; margin:0!important;
  border-radius:999px!important; border:1px solid transparent!important; cursor:pointer;
  font:inherit!important; font-size:14px!important; font-weight:700!important; line-height:1!important; letter-spacing:0!important;
  white-space:nowrap!important; text-decoration:none!important; box-shadow:none!important; transform:none!important;
  transition:background-color .15s, border-color .15s, color .15s, box-shadow .15s;
  width:auto!important; max-width:none!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn svg{width:16px;height:16px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--white{background:var(--v2-surface)!important;border-color:var(--v2-border)!important;color:var(--v2-text)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--white:hover{border-color:var(--v2-border-2)!important;background:var(--v2-surface-2)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--soft{background:var(--v2-brand-soft)!important;color:var(--v2-brand-ink)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--soft:hover{filter:brightness(.97)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--danger{background:var(--v2-surface)!important;border-color:var(--v2-due-line)!important;color:var(--v2-due)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--danger:hover{background:var(--v2-due-soft)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--primary{background:var(--v2-grad)!important;color:#fff!important;box-shadow:0 6px 16px rgba(37,99,235,.28)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--primary:hover{box-shadow:0 8px 20px rgba(37,99,235,.36)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn--icon{width:var(--lpx-h)!important;min-width:var(--lpx-h)!important;padding:0!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-btn:focus-visible{outline:2px solid var(--v2-ring)!important;outline-offset:2px}

/* ---------- cabeçalho ---------- */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 var(--lpx-gap)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__title{min-width:0}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head h1{
  margin:0!important; padding:0!important; font-size:44px!important; line-height:1.05!important; font-weight:500!important;
  letter-spacing:-.04em!important; color:var(--v2-text)!important; background:none!important; -webkit-text-fill-color:currentColor!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-live-badge{
  display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px;border-radius:999px;
  background:var(--v2-due-soft);color:var(--v2-due);font-size:13px;font-weight:700;white-space:nowrap;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-live-badge i{width:6px;height:6px;border-radius:50%;background:var(--v2-due-bar);animation:lpxPulse 1.6s ease-in-out infinite}
@keyframes lpxPulse{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-live-badge i{animation:none}}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head p{margin:8px 0 0!important;font-size:14px!important;line-height:1.4!important;color:var(--v2-soft)!important;letter-spacing:0!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:18px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__actions .lp-finalize-live-form{margin:0!important;display:flex!important;position:static!important;transform:none!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}

/* menu exportar */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export{position:relative}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export > summary{list-style:none}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export > summary::-webkit-details-marker{display:none}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export > summary .lpx-chev{margin-left:2px;width:14px;height:14px;transition:transform .15s}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export[open] > summary .lpx-chev{transform:rotate(180deg)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export__menu{
  position:absolute;top:calc(100% + 6px);left:0;z-index:30;min-width:100%;width:max-content;padding:5px;
  background:var(--v2-surface);border:1px solid var(--v2-border);border-radius:14px;box-shadow:0 14px 32px rgba(15,27,45,.14);
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export__menu a{
  display:flex!important;flex-direction:column;gap:2px;padding:9px 12px!important;border-radius:10px;
  color:var(--v2-text)!important;font-size:13.5px!important;font-weight:700;text-decoration:none!important;background:none!important;border:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export__menu a small{font-size:12px!important;font-weight:500;color:var(--v2-faint)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-export__menu a:hover{background:var(--v2-surface-2)!important}

/* ---------- KPIs ---------- */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpis{
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;margin:0 0 var(--lpx-gap);overflow:hidden;
  background:var(--v2-surface);border:1px solid var(--v2-border);border-radius:var(--lpx-r-card);box-shadow:var(--v2-shadow);
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi{display:flex;flex-direction:column;gap:9px;padding:24px 22px 22px;min-width:0;border-left:1px solid var(--v2-border)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi:first-child{border-left:0}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--v2-soft)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-dot{width:7px;height:7px;border-radius:50%;flex:none}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-dot--blue{background:#3b82f6}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-dot--green{background:var(--v2-paid-bar)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-dot--red{background:var(--v2-due-bar)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value{
  display:flex;align-items:baseline;gap:6px;font-size:30px;line-height:1.05;font-weight:500;letter-spacing:-.03em;
  color:var(--v2-text);font-variant-numeric:tabular-nums;white-space:nowrap;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value small{font-size:17px;font-weight:400;letter-spacing:0;color:var(--v2-soft)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value--xl{font-size:40px;margin-top:6px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value--xl small{font-size:20px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value #lp-grand-total{
  font:inherit!important;color:inherit!important;background:none!important;-webkit-text-fill-color:currentColor!important;letter-spacing:inherit!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__sub{font-size:12.5px;color:var(--v2-faint)}

/* ---------- Adicionar item ---------- */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-formwrap.lpx-add{
  margin:0 0 var(--lpx-gap)!important;padding:18px 19px 19px!important;
  background:var(--v2-surface)!important;border:1px solid var(--v2-border)!important;border-radius:var(--lpx-r-card)!important;box-shadow:var(--v2-shadow)!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-add__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-add__head h2{
  display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important;
  font-size:17px!important;font-weight:600!important;letter-spacing:-.01em!important;line-height:1.2!important;color:var(--v2-text)!important;
  background:none!important;-webkit-text-fill-color:currentColor!important;text-align:left!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-add__head h2::before{content:none!important;display:none!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-add__icon{width:29px;height:29px;border-radius:8px;background:var(--v2-grad);color:#fff;display:grid;place-items:center;font-size:18px;font-weight:600;line-height:1}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-add__hint{font-size:12px;color:var(--v2-faint)}

html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add.lpx-add__grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.45fr) 102px minmax(0,1.05fr) minmax(0,.68fr) minmax(0,1.35fr) auto!important;
  gap:10px!important;align-items:end!important;margin:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lp-field{grid-column:auto!important;display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;min-width:0!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lp-field label{font-size:12.5px!important;font-weight:600!important;line-height:1.2!important;color:var(--v2-text)!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field label span{font-weight:400;color:var(--v2-soft)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add input[type="text"],
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add input[type="number"],
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add textarea{
  width:100%!important;height:var(--lpx-h)!important;min-height:var(--lpx-h)!important;max-height:var(--lpx-h)!important;margin:0!important;
  padding:0 14px!important;border-radius:var(--lpx-r-field)!important;border:1px solid var(--v2-border)!important;
  background:var(--v2-field)!important;color:var(--v2-text)!important;font:inherit!important;font-size:14px!important;line-height:calc(var(--lpx-h) - 2px)!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add textarea{resize:none!important;overflow:hidden!important;white-space:nowrap}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add input::placeholder, html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add textarea::placeholder{color:var(--v2-faint);opacity:1}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add input:focus, html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add textarea:focus{outline:0!important;border-color:var(--v2-ring)!important;background:var(--v2-surface)!important;box-shadow:0 0 0 3px var(--v2-brand-soft)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-at{position:relative}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-at > span{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--v2-faint);pointer-events:none}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lpx-at input{padding-left:31px!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-stepper{
  display:grid;grid-template-columns:32px 1fr 32px;align-items:center;height:var(--lpx-h);
  border:1px solid var(--v2-border);border-radius:var(--lpx-r-field);background:var(--v2-surface);overflow:hidden;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-stepper:focus-within{border-color:var(--v2-ring);box-shadow:0 0 0 3px var(--v2-brand-soft)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-stepper button{
  height:100%!important;min-height:0!important;width:100%!important;padding:0!important;margin:0!important;border:0!important;background:none!important;
  color:var(--v2-text)!important;font-size:16px!important;font-weight:500!important;cursor:pointer;box-shadow:none!important;border-radius:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-stepper button:hover{background:var(--v2-surface-2)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lpx-stepper input[type="number"]{
  border:0!important;background:transparent!important;padding:0!important;text-align:center!important;font-weight:600!important;box-shadow:none!important;
  -moz-appearance:textfield;appearance:textfield;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-stepper input::-webkit-outer-spin-button, html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-actions.lpx-f-actions{
  grid-column:auto!important;display:flex!important;flex-wrap:nowrap!important;gap:10px!important;justify-content:flex-end!important;margin:0!important;padding:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lpx-f-actions .lpx-btn{min-height:var(--lpx-h)!important;flex:none!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lpx-f-actions .lpx-btn--primary{padding:0 22px!important}

/* ---------- filtros ---------- */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-toolbar.lpx-toolbar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;
  margin:0 0 var(--lpx-gap)!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-filtros.lpx-filter{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;flex:1 1 560px!important;flex-wrap:wrap!important;margin:0!important;min-width:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-search{
  position:relative!important;display:flex!important;align-items:center;flex:0 1 292px;min-width:180px;height:var(--lpx-h)!important;min-height:var(--lpx-h);margin:0!important;padding:0!important;
  border:1px solid var(--v2-border);border-radius:999px;background:var(--v2-surface-2);color:var(--v2-faint);
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-search svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-search input{
  width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0 14px 0 40px!important;
  border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;
  color:var(--v2-text)!important;font:inherit!important;font-size:14px!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-search input::placeholder{color:var(--v2-faint);opacity:1}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-search:focus-within{border-color:var(--v2-ring);background:var(--v2-surface);box-shadow:0 0 0 3px var(--v2-brand-soft)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-search input:focus{outline:0!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-filter-qty{margin:-6px 0 14px;font-size:17px;font-weight:700;color:var(--v2-brand-ink)}

/* ---------- grade de carrinhos ---------- */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-kanban{
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important;gap:var(--lpx-gap)!important;align-items:start!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-col.lpx-cart{
  border-radius:var(--lpx-r-cart)!important;padding:0!important;background:var(--v2-surface)!important;border:1px solid var(--v2-border)!important;
  box-shadow:var(--v2-shadow)!important;overflow:hidden!important;height:auto!important;max-height:none!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-col.lpx-cart::before{height:4px!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__head{display:flex;flex-direction:column;gap:12px;padding:18px 16px 12px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__id{display:flex;align-items:center;gap:9px;min-width:0}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-avatar{
  width:33px;height:33px;border-radius:50%;flex:none;display:grid;place-items:center;
  color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em;background:#2563eb;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lpx-emoji{
  width:30px!important;height:30px!important;flex:none;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;
  font-size:20px!important;line-height:1!important;cursor:help;background:none!important;border:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-avatar.lpx-tone-1{background:#3b6fd8}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-avatar.lpx-tone-2{background:#1d4ed8}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-avatar.lpx-tone-3{background:#55688a}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-ig{
  display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:1 1 auto!important;margin:0!important;
  font-size:15px!important;font-weight:700!important;grid-column:auto!important;grid-row:auto!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-client-details-trigger{
  font-size:15px!important;font-weight:700!important;letter-spacing:-.01em;line-height:1.2!important;color:var(--v2-text)!important;
  background:none!important;border:0!important;padding:0!important;margin:0!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-client-details-trigger:hover{color:var(--v2-link)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-ig-badge-gift{font-size:13px;line-height:1;flex:none}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__hist{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:var(--v2-faint);flex:none;cursor:default}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__hist svg{width:12px;height:12px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__new{margin-left:auto}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-pill{
  display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:999px;flex:none;
  font-size:12px;font-weight:700;line-height:1;white-space:nowrap;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-pill svg{width:12px;height:12px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-pill--brand{background:var(--v2-brand-soft);color:var(--v2-brand-ink)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-pill--paid{height:23px;padding:0 8px;border-radius:7px;background:var(--v2-paid-soft);color:var(--v2-paid);font-size:11.5px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-pill--line{height:23px;padding:0 9px;background:var(--v2-surface);border:1px solid var(--v2-border);color:var(--v2-soft);font-size:11.5px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__row{display:flex;align-items:center;justify-content:space-between;gap:10px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-cart-status{display:flex!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-paid-toggle-wrap{
  height:31px!important;padding:0 13px 0 6px!important;gap:9px!important;font-size:13px!important;font-weight:700!important;margin:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-paid-toggle{width:31px!important;height:19px!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-paid-toggle::after{top:3px;left:3px;width:13px;height:13px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-paid-toggle:checked::after{left:15px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__total{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__total small{font-size:12px;font-weight:500;color:var(--v2-soft)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-total-cliente{font-size:22px!important;font-weight:600!important;letter-spacing:-.02em!important;color:var(--v2-text)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:-2px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart__meta:empty{display:none}

/* itens */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-col-body{display:flex!important;flex-direction:column!important;gap:9px!important;padding:0 12px 12px!important;margin:0!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-card.lpx-item{
  margin:0!important;padding:0!important;background:var(--v2-surface-2)!important;border:0!important;border-radius:13px!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lpx-item .inner{
  display:block!important;padding:12px 12px 11px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-item__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-item .title{
  margin:0!important;min-width:0;flex:1 1 auto;font-size:14px!important;font-weight:700!important;line-height:1.25!important;color:var(--v2-text)!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important;grid-column:auto!important;grid-row:auto!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-item .title strong{font-size:14px!important;font-weight:700!important;color:var(--v2-text)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-item .pricing{
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:3px!important;
  font-size:14px!important;font-weight:700!important;line-height:1.25!important;color:var(--v2-text)!important;white-space:nowrap!important;cursor:pointer;
  margin:0!important;padding:0!important;background:none!important;border:0!important;position:static!important;transform:none!important;grid-column:auto!important;grid-row:auto!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-unit{display:none!important;font-size:11px!important;font-weight:600!important;color:var(--v2-faint)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-unit.is-multi, html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-unit:has(.lp-inline-input){display:block!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-unit .lp-inline-input{width:84px!important;height:26px!important;min-height:0!important;padding:0 7px!important;font-size:13px!important;border-radius:7px!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-item .info{margin:3px 0 0!important;font-size:12px!important;line-height:1.3!important;color:var(--v2-faint)!important;opacity:1!important;grid-column:auto!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-item__controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:10px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-qty{
  display:inline-flex;align-items:center;gap:1px;height:27px;padding:0 3px;border-radius:999px;
  background:var(--v2-surface);border:1px solid var(--v2-border);
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-qty .lp-qty-btn{
  width:22px!important;height:22px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  background:none!important;color:var(--v2-text)!important;font-size:13px!important;font-weight:500!important;box-shadow:none!important;display:grid!important;place-items:center!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-qty .lp-qty-btn:hover{background:var(--v2-surface-2)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-qty .lp-qtd{min-width:18px;text-align:center;font-size:12.5px!important;font-weight:700!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip{
  display:inline-flex;align-items:center;gap:4px;height:27px;padding:0 10px;border-radius:999px;max-width:100%;min-width:0;
  background:var(--v2-surface);border:1px solid var(--v2-border);font-size:12.5px;color:var(--v2-text);cursor:text;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip em{font-style:normal;font-weight:500;color:var(--v2-faint)}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip .lp-editable{
  font-size:12.5px!important;font-weight:700!important;color:var(--v2-text)!important;padding:0!important;background:none!important;
  max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip:has(.lp-editable.is-empty){border-style:dashed;background:transparent;padding:0 9px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip:has(.lp-editable.is-empty) em{display:none}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip .lp-editable.is-empty{font-size:0!important;color:var(--v2-faint)!important;font-weight:600!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip .lp-editable.is-empty::before{content:"+ Var.";font-size:12px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip--obs .lp-editable.is-empty::before{content:"+ Obs."}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip:has(.lp-inline-input){height:auto;min-height:27px;padding:3px 4px 3px 9px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-chip .lp-inline-input{min-width:100px;width:120px!important;height:24px!important;min-height:0!important;padding:0 7px!important;font-size:12.5px!important;border-radius:7px!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-del{
  margin-left:auto!important;width:27px!important;height:27px!important;min-height:0!important;padding:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:var(--v2-surface)!important;border:1px solid var(--v2-border)!important;
  color:var(--v2-soft)!important;box-shadow:none!important;cursor:pointer;font-size:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-del svg{width:12px;height:12px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-del:hover{color:var(--v2-due)!important;border-color:var(--v2-due-line)!important;background:var(--v2-due-soft)!important}

/* rodapé do carrinho */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-cart-footer{padding:10px 16px 12px!important;font-size:12px!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-cart-social{width:30px!important;height:30px!important;min-width:30px!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-cart-social svg{width:15px!important;height:15px!important}

/* ---------- responsivo ---------- */
@media (max-width:1180px){
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add.lpx-add__grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-ig{grid-column:span 2!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-code{grid-column:span 3!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-qty{grid-column:span 1!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-size{grid-column:span 2!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-price{grid-column:span 1!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-note{grid-column:span 3!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-actions.lpx-f-actions{grid-column:1 / -1!important}
}
@media (max-width:1000px){
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpis{grid-template-columns:1fr 1fr}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi:nth-child(3){border-left:0}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi:nth-child(n+3){border-top:1px solid var(--v2-border)}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__actions{padding-top:0}
}
@media (max-width:780px){
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head h1{font-size:36px!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__actions{width:100%;gap:8px}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__actions > *{flex:1 1 auto}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-head__actions .lpx-btn{width:100%!important;padding:0 14px!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi{padding:16px 16px;gap:7px}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value--xl{font-size:30px}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value--xl small{font-size:16px}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value{font-size:24px}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-kpi__value small{font-size:14px}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-formwrap.lpx-add{padding:16px 14px!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-add__hint{display:none}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add.lpx-add__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;grid-auto-flow:row dense!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-ig,
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-code,
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-size,
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-note{grid-column:1 / -1!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-qty,
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lp-field.lpx-f-price{grid-column:span 1!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) #lp-form-add .lpx-f-actions .lpx-btn--primary{flex:1 1 auto!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-search{flex:1 1 100%!important;min-width:0}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-filtros.lpx-filter .lpx-btn{flex:1 1 0}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-toolbar.lpx-toolbar > .lp-filter-refresh{width:100%!important}
  html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-kanban{grid-template-columns:1fr!important;gap:14px!important}
}

/* WhatsApp do card: mesmo tamanho do Instagram (30px), verde com ícone branco */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart a.lp-live-wa-btn,
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-archive-socials a.lp-wa-btn{
  display:inline-grid!important;place-items:center!important;box-sizing:border-box!important;
  width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;flex:0 0 30px!important;padding:0!important;
  border-radius:50%!important;border:0!important;background:#16a34a!important;color:#fff!important;box-shadow:none!important;font-size:0!important;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart a.lp-live-wa-btn svg,
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-archive-socials a.lp-wa-btn svg{width:15px!important;height:15px!important;display:block}

/* ==========================================================================
   Tela Arquivos (layout de referência v3) — escopo .lpx-arch
   ========================================================================== */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-src{display:none!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-shell{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important;margin:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-toolbar{display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}

/* cabeçalho */
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-header-main.lpx-ahead{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;margin:0 0 var(--lpx-gap)!important;padding:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-header-top{flex:1 1 420px!important;min-width:0;margin:0!important;padding:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-eyebrow{display:none!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-title{
  margin:0!important;padding:0!important;font-size:44px!important;line-height:1.05!important;font-weight:500!important;letter-spacing:-.04em!important;
  color:var(--v2-text)!important;background:none!important;-webkit-text-fill-color:currentColor!important;text-align:left!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-subtitle{margin:8px 0 0!important;font-size:14px!important;line-height:1.4!important;color:var(--v2-soft)!important;max-width:none!important;text-align:left!important}

html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-ahead__picker{
  display:flex;align-items:center;gap:10px;padding:5px 5px 5px 18px;margin:0;
  background:var(--v2-surface);border:1px solid var(--v2-border);border-radius:999px;box-shadow:var(--v2-shadow);
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-livepick, html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-storepick{padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-livepick form, html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-storepick form{display:flex!important;align-items:center!important;gap:14px!important;margin:0!important;flex-wrap:nowrap!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-livepick label, html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-storepick label{font-size:13px!important;font-weight:500!important;color:var(--v2-soft)!important;margin:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-select{position:relative;display:inline-flex;align-items:center}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-select::after{
  content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;margin-top:-5px;pointer-events:none;
  border-right:2px solid var(--v2-soft);border-bottom:2px solid var(--v2-soft);transform:rotate(45deg);
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-select select{
  -webkit-appearance:none!important;appearance:none!important;height:38px!important;min-height:0!important;margin:0!important;
  padding:0 38px 0 16px!important;border-radius:999px!important;border:0!important;background:var(--v2-surface-2)!important;background-image:none!important;
  color:var(--v2-text)!important;font:inherit!important;font-size:14px!important;font-weight:700!important;cursor:pointer;min-width:0!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-select select:focus{outline:2px solid var(--v2-ring);outline-offset:2px}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-mode-toggle{display:inline-flex!important;gap:0!important;margin:0!important;padding:3px!important;border-radius:999px!important;background:var(--v2-surface-2)!important;border:0!important;box-shadow:none!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-mode-toggle .lp-btn{
  height:32px!important;min-height:0!important;padding:0 18px!important;margin:0!important;border:0!important;border-radius:999px!important;
  background:transparent!important;color:var(--v2-soft)!important;font-size:14px!important;font-weight:700!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-mode-toggle .lp-btn.is-active{background:var(--v2-grad)!important;color:#fff!important;box-shadow:0 4px 12px rgba(37,99,235,.28)!important}

/* KPIs */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-kpis.lpx-akpis{margin:0 0 var(--lpx-gap)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-akpis .lpx-kpi{gap:10px;padding:24px 22px 22px}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-akpis .lpx-kpi__value--xl{margin-top:2px}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-dot--gray{background:var(--v2-quit-bar)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-kpi__chip{
  align-self:flex-start;display:inline-flex;align-items:center;height:26px;padding:0 10px;margin-top:10px;border-radius:999px;
  font-size:12.5px;font-weight:700;white-space:nowrap;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-kpi__chip.is-paid{background:var(--v2-paid-soft);color:var(--v2-paid)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-kpi__chip.is-due{background:var(--v2-due-soft);color:var(--v2-due)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-kpi__chip.is-quit{background:var(--v2-quit-soft);color:var(--v2-quit)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-kpi__chip.is-new{background:var(--v2-brand-soft);color:var(--v2-brand-ink)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-abar{display:flex;gap:3px;height:6px;margin-top:22px}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-abar i{display:block;flex:1 1 0;min-width:0;border-radius:99px;transition:flex-grow .3s}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-abar .is-paid{background:var(--v2-paid-bar)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-abar .is-due{background:var(--v2-due-bar)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-abar .is-quit{background:var(--v2-quit-bar)}

/* busca, ordenar, ações */
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-filters.lpx-afilters{
  display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 14px!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters .lpx-search{flex:0 1 312px!important;font-size:0!important;font-weight:400!important;gap:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters .lp-sort-form{display:flex!important;align-items:center!important;margin:0!important;gap:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-select--pill select{height:42px!important;padding:0 40px 0 18px!important;background:var(--v2-surface)!important;border:1px solid var(--v2-border)!important;font-weight:500!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters__right{display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-export__menu--right{left:auto;right:0}
html body .lp-app-shell .lp-liveboard.lpx-arch #lp-arch-raffle-toggle.lpx-btn{background:var(--v2-brand-soft)!important;color:var(--v2-brand-ink)!important;border-color:transparent!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-alegend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 var(--lpx-gap);font-size:12.5px;color:var(--v2-soft)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-alegend span{display:inline-flex;align-items:center;gap:6px}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-alegend b{font-weight:400;color:var(--v2-faint);opacity:.7}

/* cards */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-col-header.lpx-cart__head{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:18px 16px 12px!important;margin:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;position:static!important;text-align:left!important;grid-template-columns:none!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-col-header > *{margin:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-payment-icon{display:none!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-ig-badge{
  position:static!important;width:auto!important;min-width:0!important;height:24px!important;padding:0 9px!important;margin:0!important;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;font-size:12px!important;font-weight:700!important;line-height:1!important;box-shadow:none!important;
  background:var(--v2-brand-soft)!important;color:var(--v2-brand-ink)!important;border:0!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-ig-badge.lpx-pill--quit{background:var(--v2-due-soft)!important;color:var(--v2-due)!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-ig-badge.lp-gift{background:transparent!important;padding:0!important;font-size:13px!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-quit{
  margin-left:auto!important;flex:none;height:28px!important;min-height:0!important;padding:0 12px!important;border-radius:999px!important;
  background:var(--v2-surface)!important;border:1px solid var(--v2-due-line)!important;color:var(--v2-due)!important;
  font:inherit!important;font-size:12.5px!important;font-weight:700!important;line-height:1!important;cursor:pointer;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-quit:hover{background:var(--v2-due-soft)!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart.is-quit .lpx-quit{border-color:var(--v2-border)!important;color:var(--v2-soft)!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-paid-holder{
  position:relative!important;display:inline-flex!important;align-items:center!important;gap:9px!important;width:auto!important;
  height:31px!important;padding:0 13px 0 6px!important;margin:0!important;border-radius:999px!important;cursor:pointer;
  border:1px solid var(--v2-due-line)!important;background:var(--v2-due-soft)!important;color:var(--v2-due)!important;font-size:13px!important;font-weight:700!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-paid-holder:has(.lp-paid-toggle:checked){border-color:var(--v2-paid-line)!important;background:var(--v2-paid-soft)!important;color:var(--v2-paid)!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-paid-label{font-size:13px!important;font-weight:700!important;color:inherit!important;background:none!important;padding:0!important;border:0!important;white-space:nowrap}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-total-line{display:flex!important;align-items:baseline!important;gap:4px!important;grid-column:auto!important;text-align:right!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-payment-date{
  display:flex!important;align-items:center!important;gap:7px!important;margin:-2px 0 0!important;padding:0!important;
  font-size:12.5px!important;color:var(--v2-soft)!important;text-align:left!important;grid-column:auto!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-payment-date[hidden]{display:none!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-payment-date::before{
  content:"";width:14px;height:14px;flex:none;background:var(--v2-paid-bar);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* itens (Arquivos) */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-item__price{display:flex;flex-direction:column;align-items:flex-end;gap:3px;cursor:pointer;flex:none}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-item .lpx-item__price .pricing{display:block!important;cursor:pointer}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-qty .lp-btn-mini{
  width:22px!important;height:22px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  background:none!important;color:var(--v2-text)!important;font-size:13px!important;font-weight:500!important;display:grid!important;place-items:center!important;text-decoration:none!important;box-shadow:none!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-qty .lp-btn-mini:hover{background:var(--v2-surface-2)!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-chip--var .lp-editable.is-empty::before{content:"+ Variação"}

/* rodapé do card */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-cart-total{
  margin:0!important;padding:10px 16px 0!important;border-top:1px solid var(--v2-border);text-align:left!important;
  font-size:12px!important;font-weight:600!important;color:var(--v2-soft)!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap{margin:0!important;padding:8px 16px 14px!important;background:none!important;border:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-add-item{
  height:30px!important;min-height:0!important;padding:0 12px!important;border-radius:999px!important;font-size:12.5px!important;font-weight:700!important;
  background:var(--v2-brand-soft)!important;color:var(--v2-brand-ink)!important;border:0!important;box-shadow:none!important;width:auto!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-delivered-toggle{display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:12.5px!important;font-weight:600!important;color:var(--v2-soft)!important;margin:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-socials{display:flex!important;gap:6px!important;margin:0 0 0 auto!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-socials a{
  width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;padding:0!important;border-radius:50%!important;
  background:var(--v2-surface)!important;border:1px solid var(--v2-border)!important;box-shadow:none!important;color:#d62976!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-socials svg{width:15px!important;height:15px!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-client-note-archive{margin:0 16px 14px!important;padding:10px 12px!important;border-radius:12px!important;font-size:12.5px!important;background:var(--v2-surface-2)!important;color:var(--v2-text)!important;border:0!important}

@media (max-width:1000px){
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-ahead__picker{width:100%;flex-wrap:wrap;border-radius:20px;padding:8px}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters__right{margin-left:0}
}
@media (max-width:780px){
  html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-title{font-size:36px!important}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-ahead__picker{gap:8px}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-livepick, html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-storepick{flex:1 1 100%}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-livepick form, html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-storepick form{width:100%}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-livepick .lpx-select, html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-storepick .lpx-select{flex:1 1 auto;min-width:0}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-livepick select, html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-storepick select{width:100%!important}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-mode-toggle{width:100%}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-mode-toggle .lp-btn{flex:1 1 0}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters .lpx-search{flex:1 1 100%!important}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters .lp-sort-form, html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters .lp-sort-form .lpx-select, html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters .lp-sort-form select{width:100%!important}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters__right{width:100%}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters__right > *{flex:1 1 0}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-afilters__right .lpx-btn{width:100%!important;padding:0 12px!important}
  html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-alegend{gap:6px;font-size:12px}
}

/* ajustes finos */
html body .lp-app-shell .lp-liveboard.lpx-arch .lp-arch-shell{display:block!important;gap:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-item .lpx-item__price .pricing{width:auto!important;max-width:none!important;min-width:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-delivered-toggle{
  height:30px!important;min-height:0!important;padding:0 11px 0 9px!important;border-radius:999px!important;
  border:1px solid var(--v2-border)!important;background:var(--v2-surface)!important;box-shadow:none!important;width:auto!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-delivered-toggle:has(input:checked){border-color:var(--v2-paid-line)!important;background:var(--v2-paid-soft)!important;color:var(--v2-paid)!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-delivered-toggle input{width:14px!important;height:14px!important;min-height:0!important;margin:0!important;accent-color:var(--v2-paid-bar)}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-delivered-toggle span{font-size:12.5px!important}

/* rodapé do card: Adicionar item + Nota concluída + Instagram + WhatsApp na mesma linha */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap{padding:8px 12px 12px!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;grid-template-columns:none!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions > *{flex:0 0 auto!important;margin:0!important;width:auto!important;min-width:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions .lp-add-item{
  height:28px!important;min-height:0!important;padding:0 10px!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions .lp-delivered-toggle{
  flex:0 1 auto!important;height:28px!important;padding:0 9px 0 7px!important;gap:5px!important;white-space:nowrap!important;overflow:hidden!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions .lp-delivered-toggle span{font-size:12px!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions .lp-delivered-toggle input{width:13px!important;height:13px!important;flex:none!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-addwrap-actions .lp-archive-socials{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;margin:0 0 0 auto!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-socials a,
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-socials a.lp-wa-btn{
  width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;flex:0 0 28px!important;
}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-socials a svg,
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-archive-socials a.lp-wa-btn svg{width:14px!important;height:14px!important}

/* ==========================================================================
   Carrinho do cliente (página pública) — ajustes para caber no celular
   ========================================================================== */
html body .lp-clientcart-page .lp-theme.lp-clientcart *, html body .lp-clientcart-page .lp-theme.lp-clientcart *::before, html body .lp-clientcart-page .lp-theme.lp-clientcart *::after{box-sizing:border-box}
html body .lp-clientcart-page .lp-theme.lp-clientcart input, html body .lp-clientcart-page .lp-theme.lp-clientcart textarea, html body .lp-clientcart-page .lp-theme.lp-clientcart select, html body .lp-clientcart-page .lp-theme.lp-clientcart button, html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-btn{max-width:100%}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-noteform textarea{width:100%!important;min-width:0!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-pix-box{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:stretch!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-pix-box input{min-width:0!important;width:100%!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-total{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:nowrap!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-total strong{white-space:nowrap!important}

@media (max-width:600px){
  html body .lp-clientcart-page{padding:12px 10px 28px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart{padding:0!important;margin:0 auto!important;width:100%!important;max-width:100%!important;font-size:15px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-shell{width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-card{margin:0!important;padding:20px 14px 18px!important;border-radius:22px!important;width:100%!important;max-width:100%!important}

  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-logo{margin:0 0 10px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-logo-inner, html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-logo img{width:76px!important;height:auto!important;max-width:76px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-header{margin:0 0 14px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-header h1{font-size:23px!important;line-height:1.15!important;margin:0 0 6px!important;letter-spacing:-.02em!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-header p{font-size:14px!important;line-height:1.4!important;margin:0!important}

  /* busca pelo @ */
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-form{margin:0 0 12px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-form label{font-size:13px!important;margin:0 0 6px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-inputrow{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:4px!important;width:100%!important;max-width:100%!important;padding:4px!important;min-height:52px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-inputrow .lp-cc-at{width:auto!important;padding:0 2px 0 10px!important;font-size:15px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-inputrow input{min-width:0!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0 6px!important;font-size:16px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-inputrow .lp-btn{height:44px!important;min-height:44px!important;padding:0 14px!important;font-size:14px!important;white-space:nowrap!important;width:auto!important}

  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 12px!important;font-size:14px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-meta .lp-btn{height:38px!important;min-height:38px!important;padding:0 16px!important;font-size:13.5px!important}

  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-alert{padding:12px 14px!important;margin:0 0 14px!important;font-size:13.5px!important;line-height:1.4!important;border-radius:16px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-alert .lp-btn{display:flex!important;width:100%!important;height:42px!important;min-height:42px!important;margin:8px 0 0!important;font-size:14px!important;justify-content:center!important}

  /* itens e total */
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-cart{padding:14px 12px 12px!important;border-radius:18px!important;margin:0 0 16px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-cart h2, html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-clientnote h2{font-size:17px!important;margin:0 0 10px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-list{margin:0!important;padding:0!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-item{padding:12px!important;border-radius:14px!important;margin:0 0 8px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-item-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-item-info{min-width:0!important;flex:1 1 auto!important;font-size:15px!important;overflow-wrap:anywhere!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-item-qtyprice{flex:none!important;text-align:right!important;font-size:13px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-item-qtyprice strong{font-size:15px!important;white-space:nowrap!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-total{padding:12px 0 0!important;margin:4px 0 0!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-total span{font-size:14px!important;font-weight:700!important;line-height:1.2!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-total strong{font-size:24px!important;line-height:1.1!important}

  /* pagamento */
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-payment-box{margin:14px 0 0!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-payment-title{font-size:13px!important;margin:0 0 8px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-payment-tabs{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-payment-tab{height:48px!important;min-height:48px!important;font-size:15px!important;padding:0 14px!important;width:100%!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-payment-panel h3{font-size:17px!important;margin:16px 0 4px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-payment-panel p{font-size:13px!important;margin:0 0 10px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-pix-box{grid-template-columns:1fr!important;height:auto!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-pix-box input, html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-pix-box .lp-btn{width:100%!important;height:48px!important;min-height:48px!important;font-size:15px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-pix-box .lp-btn{padding:0 14px!important;justify-content:center!important}

  /* observação */
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-clientnote{margin:0!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-noteform textarea{min-height:92px!important;font-size:15px!important;padding:12px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-note-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:10px 0 0!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-note-actions .lp-btn{width:100%!important;height:48px!important;min-height:48px!important;font-size:15px!important;justify-content:center!important;margin:0!important}
}

/* ==========================================================================
   Carrinho: formulário "Cadastre seus dados" e formulário de entrega
   O v2 transformava o <form> numa segunda caixa (borda/fundo) sem espaçamento interno,
   com campos e botão encostados na borda. Aqui o cartão externo dá o respiro e o
   formulário interno deixa de ser caixa.
   ========================================================================== */
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-clientprofile{padding:20px 18px!important;border-radius:20px!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-clientprofile h2{margin:0 0 6px!important;font-size:19px!important;line-height:1.25!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-clientprofile > p{margin:0 0 16px!important;line-height:1.45!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-clientprofile .lp-cc-profileform{
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important;
}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profileform.lp-cc-delivery-form{padding:18px!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profileform .lp-cc-profilegrid{gap:12px!important;margin:0!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profileform .lp-cc-field{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;margin:0!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profileform .lp-cc-field label{margin:0!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profileform .lp-cc-field input{width:100%!important;min-width:0!important;height:48px!important;font-size:16px!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profile-actions{display:flex!important;justify-content:center!important;margin:18px 0 0!important;padding:0!important}
html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profile-actions .lp-btn{height:48px!important;min-height:48px!important;padding:0 24px!important;font-size:15px!important}
@media (max-width:600px){
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-clientprofile{padding:18px 16px!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profileform .lp-cc-profilegrid{grid-template-columns:1fr!important}
  html body .lp-clientcart-page .lp-theme.lp-clientcart .lp-cc-profile-actions .lp-btn{width:100%!important;justify-content:center!important}
}

/* Foto de perfil do Instagram no card (com o emoji de histórico como selinho) */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lpx-emoji.lpx-photo{position:relative!important;width:33px!important;height:33px!important;font-size:0!important;display:block!important;flex:none!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lpx-photo img{width:33px!important;height:33px!important;border-radius:50%!important;object-fit:cover!important;display:block!important;margin:0!important;border:1px solid var(--v2-border)!important;background:var(--v2-surface-2)!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lpx-photo-badge{position:absolute!important;right:-5px!important;bottom:-4px!important;font-size:13px!important;line-height:1!important;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}

/* ==========================================================================
   Resumo no visual do Arquivo — Financeiro e Clientes (lp_render_app_kpis)
   ========================================================================== */
html body .lp-app-shell .lp-app-section--kpis{margin:0 0 18px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body .lp-app-shell .lpx-app-kpis{
  display:grid;grid-template-columns:repeat(var(--lpx-n,4),minmax(0,1fr));gap:1px;overflow:hidden;
  background:var(--v2-border);border:1px solid var(--v2-border);border-radius:20px;box-shadow:var(--v2-shadow);
  font-family:inherit;color:var(--v2-text);
}
html body .lp-app-shell .lpx-app-kpis.is-n4{--lpx-n:4}
html body .lp-app-shell .lpx-app-kpis.is-n5{--lpx-n:5}
html body .lp-app-shell .lpx-app-kpis.is-n3{--lpx-n:3}
html body .lp-app-shell .lpx-app-kpis.has-big.is-n4{grid-template-columns:1.5fr 1fr 1fr 1fr}
html body .lp-app-shell .lpx-app-kpis.has-big.is-n5{grid-template-columns:1.5fr 1fr 1fr 1fr 1fr}
html body .lp-app-shell .lpx-app-kpi{display:flex;flex-direction:column;gap:10px;min-width:0;padding:24px 22px 22px;background:var(--v2-surface);box-sizing:border-box}
html body .lp-app-shell .lpx-app-kpi__label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;line-height:1.3;color:var(--v2-soft)}
html body .lp-app-shell .lpx-app-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex:none}
html body .lp-app-shell .lpx-app-dot.is-blue{background:#3b82f6}
html body .lp-app-shell .lpx-app-dot.is-green{background:var(--v2-paid-bar)}
html body .lp-app-shell .lpx-app-dot.is-red{background:var(--v2-due-bar)}
html body .lp-app-shell .lpx-app-dot.is-gray{background:var(--v2-quit-bar)}
html body .lp-app-shell .lpx-app-kpi__value{
  display:flex;align-items:baseline;gap:6px;margin:0;font-size:30px;line-height:1.05;font-weight:500;letter-spacing:-.03em;
  color:var(--v2-text);font-variant-numeric:tabular-nums;white-space:nowrap;
}
html body .lp-app-shell .lpx-app-kpi__value small{font-size:17px;font-weight:400;letter-spacing:0;color:var(--v2-soft)}
html body .lp-app-shell .lpx-app-kpi.is-big .lpx-app-kpi__value{font-size:40px;margin-top:2px}
html body .lp-app-shell .lpx-app-kpi.is-big .lpx-app-kpi__value small{font-size:20px}
html body .lp-app-shell .lpx-app-kpi__chip{
  align-self:flex-start;display:inline-flex;align-items:center;height:26px;padding:0 10px;margin-top:10px;border-radius:999px;
  font-size:12.5px;font-weight:700;white-space:nowrap;
}
html body .lp-app-shell .lpx-app-kpi__chip.is-paid{background:var(--v2-paid-soft);color:var(--v2-paid)}
html body .lp-app-shell .lpx-app-kpi__chip.is-due{background:var(--v2-due-soft);color:var(--v2-due)}
html body .lp-app-shell .lpx-app-kpi__chip.is-quit{background:var(--v2-quit-soft);color:var(--v2-quit)}
html body .lp-app-shell .lpx-app-kpi__chip.is-new{background:var(--v2-brand-soft);color:var(--v2-brand-ink)}
html body .lp-app-shell .lpx-app-kpi__sub{font-size:13px;font-weight:500;color:var(--v2-soft)}
html body .lp-app-shell .lpx-app-kpi__bar{display:flex;gap:3px;height:6px;margin-top:auto;padding-top:12px;box-sizing:content-box}
html body .lp-app-shell .lpx-app-kpi__bar i{display:block;flex:1 1 0;min-width:0;height:6px;border-radius:99px}
html body .lp-app-shell .lpx-app-kpi__bar .is-paid{background:var(--v2-paid-bar)}
html body .lp-app-shell .lpx-app-kpi__bar .is-due{background:var(--v2-due-bar)}
html body .lp-app-shell .lpx-app-kpi__bar .is-quit{background:var(--v2-quit-bar)}
@media (max-width:1180px){
  html body .lp-app-shell .lpx-app-kpis.is-n5, html body .lp-app-shell .lpx-app-kpis.has-big.is-n5{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .lp-app-shell .lpx-app-kpis.is-n5 .lpx-app-kpi:first-child{grid-column:1 / -1}
}
@media (max-width:1000px){
  html body .lp-app-shell .lpx-app-kpis.is-n4, html body .lp-app-shell .lpx-app-kpis.has-big.is-n4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:780px){
  html body .lp-app-shell .lpx-app-kpi{padding:16px;gap:7px}
  html body .lp-app-shell .lpx-app-kpi__value{font-size:24px}
  html body .lp-app-shell .lpx-app-kpi__value small{font-size:14px}
  html body .lp-app-shell .lpx-app-kpi.is-big .lpx-app-kpi__value{font-size:30px}
  html body .lp-app-shell .lpx-app-kpi.is-big .lpx-app-kpi__value small{font-size:16px}
  html body .lp-app-shell .lpx-app-kpi__chip{height:24px;font-size:12px;margin-top:4px}
}
@media (max-width:420px){
  html body .lp-app-shell .lpx-app-kpi__value{font-size:20px}
  html body .lp-app-shell .lpx-app-kpi__chip{white-space:normal;height:auto;min-height:24px;padding:3px 9px}
}

/* ==========================================================================
   Carrinhos com altura padrão (Live e Arquivo): a lista sempre tem a altura
   de 2 itens; com mais itens, a lista rola dentro do carrinho. Cartões da
   mesma fileira ficam com a mesma altura e o rodapé alinhado embaixo.
   ========================================================================== */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-kanban{align-items:stretch!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-col.lpx-cart{display:flex!important;flex-direction:column!important}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-col-body{
  --lpx-item-h:96px;
  flex:none!important;box-sizing:border-box!important;
  height:calc(var(--lpx-item-h) * 2 + 9px + 12px)!important;max-height:none!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:var(--v2-border-2) transparent;
}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-col-body::-webkit-scrollbar{width:6px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-col-body::-webkit-scrollbar-thumb{background:var(--v2-border-2);border-radius:99px}
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lpx-cart .lp-col-body > *{flex:none!important}
html body .lp-app-shell .lp-liveboard.lpx-live .lpx-cart .lp-cart-footer,
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-cart-total{margin-top:auto!important}

/* Emoji da forma de pagamento no botão "Pago" (💠 Pix, 💳 Cartão) */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lpx-pay-emoji{font-size:15px;line-height:1;margin-left:-3px;cursor:help}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lpx-pay-emoji[hidden],
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-paid-holder:not(:has(.lp-paid-toggle:checked)) .lpx-pay-emoji{display:none!important}

/* Linha abaixo do valor: data do pagamento + entrega/retirada */
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lpx-cart__sub{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:-2px 0 0}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lpx-cart__sub:empty{display:none}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lpx-cart__sub .lp-payment-date{margin:0!important}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lpx-delivery{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--v2-soft);white-space:nowrap}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lpx-delivery span{font-size:14px;line-height:1}
html body .lp-app-shell .lp-liveboard.lpx-arch .lpx-cart .lp-payment-date:not([hidden]) + .lpx-delivery::before{content:"·";margin-right:3px;color:var(--v2-faint);font-weight:400}

/* Live: entrega/retirada só aparece depois que o carrinho está pago (a escolha
   salva no cadastro pode ser de uma live anterior e ainda não vale para esta). */
html body .lp-app-shell .lp-liveboard.lpx-live .lpx-cart:not(.is-paid) .lpx-delivery-pill{display:none!important}
html body .lp-app-shell .lp-liveboard.lpx-live .lpx-cart:not(.is-paid) .lpx-cart__meta:has(> .lpx-delivery-pill:only-child){display:none!important}

/* Busca (Live e Arquivo): os scripts escondem o carrinho com style="display:none".
   A regra de altura padrão acima força display:flex!important, então esta regra
   (mais específica) garante que o carrinho escondido pela busca suma de verdade. */
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-col.lpx-cart[style*="display: none"],
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-col.lpx-cart[style*="display:none"],
html body .lp-app-shell .lp-liveboard:is(.lpx-live,.lpx-arch) .lp-col.lpx-cart[hidden]{display:none!important}
