/* CLENA Commerce Studio / Orders V5
   Clean operational console with product thumbnails, paid/pending distinctions,
   accessible drawer, and compact mobile order cards.
*/
body.clena-editor-v2 #app [data-editor-section="sales"]{
  --sale-border:#dfe8f6;--sale-ink:#1b2c4b;--sale-muted:#7b8ba7;
  --sale-accent:#376de7;--sale-surface:#fff;--sale-violet:#7253de;
  min-width:0!important;color:var(--sale-ink)!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:nowrap!important;gap:9px!important;min-height:0!important;
  width:100%!important;max-width:100%!important;margin:0 0 11px!important;
  padding:0!important;box-sizing:border-box!important;
}
/* The topbar already says "Pedidos recebidos". Re-showing this title on narrow
   windows squeezed each letter into its own line and made the refresh button full width. */
body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head>div:first-child{
  display:none!important;flex:none!important;width:0!important;min-width:0!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head .eyebrow{
  font-size:10px!important;color:#5279d0!important;letter-spacing:.11em!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head h2{
  margin:4px 0!important;font-size:22px!important;color:#203457!important;
  font-weight:850!important;letter-spacing:-.04em!important;line-height:1.18!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head p{
  margin:0!important;color:#8190a9!important;font-size:11px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] #salesRefreshBtn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;min-height:39px!important;flex:0 0 auto!important;
  width:auto!important;max-width:160px!important;min-width:0!important;
  margin:0 0 0 auto!important;white-space:nowrap!important;
  padding:8px 15px!important;border-radius:10px!important;
  border:1px solid #dbe5f5!important;color:#4771bd!important;
  background:#fff!important;font-size:11px!important;font-weight:800!important;
  box-shadow:0 4px 12px rgba(44,73,135,.055)!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] #salesRefreshBtn:disabled{opacity:.6!important;cursor:wait!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:11px!important;margin:0 0 14px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi{
  display:flex!important;align-items:center!important;gap:12px!important;
  min-width:0!important;min-height:87px!important;margin:0!important;
  padding:15px 16px!important;border:1px solid #e1e8f7!important;
  border-radius:14px!important;background:#fff!important;
  box-shadow:0 5px 17px rgba(42,67,125,.05)!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi>i{
  display:grid!important;place-items:center!important;flex:0 0 41px!important;
  width:41px!important;height:41px!important;margin:0!important;
  border-radius:12px!important;color:#376fe6!important;background:#eaf1ff!important;
  font-size:20px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi:nth-child(2)>i{
  color:#7554dc!important;background:#f2edff!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi:nth-child(3)>i{
  color:#b87619!important;background:#fff6e8!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi:nth-child(4)>i,
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi.is-paid-card>i{
  color:#188b64!important;background:#e6f8ee!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi.is-pending-card>i{
  color:#b77722!important;background:#fff2de!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi>div{min-width:0!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi small{
  display:block!important;color:#8290a9!important;font-size:10px!important;line-height:1.3!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi strong{
  display:block!important;margin:4px 0 0!important;color:#24375b!important;
  font-size:22px!important;line-height:1.2!important;
  font-weight:850!important;letter-spacing:-.04em!important;overflow-wrap:anywhere!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filter-panel{
  min-width:0!important;margin:0 0 13px!important;padding:15px!important;
  border:1px solid var(--sale-border)!important;border-radius:15px!important;
  background:#fff!important;box-shadow:0 6px 18px rgba(42,67,126,.045)!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters{
  display:grid!important;grid-template-columns:minmax(230px,1.2fr) minmax(150px,.7fr) minmax(0,2.6fr)!important;
  align-items:end!important;gap:9px!important;padding:0!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters .field{
  display:grid!important;gap:6px!important;min-width:0!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters .field>span{
  color:#51617f!important;font-size:10px!important;font-weight:750!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters input,
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters select{
  display:block!important;width:100%!important;min-width:0!important;height:40px!important;
  padding:8px 11px!important;border:1px solid #dfe7f6!important;
  border-radius:10px!important;background:#fbfcff!important;color:#34486d!important;
  font-size:11px!important;box-shadow:none!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters input:focus,
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters select:focus{
  border-color:#7b9bed!important;outline:2px solid #d7e5ff!important;outline-offset:0!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-mobile-advanced-fields{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) auto!important;
  align-items:end!important;gap:9px!important;min-width:0!important;grid-column:auto!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] #salesClearBtn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;min-width:0!important;min-height:40px!important;
  padding:8px 12px!important;border:1px solid #e0e7f4!important;
  border-radius:10px!important;background:#f6f9ff!important;color:#5575b3!important;
  font-size:10px!important;font-weight:750!important;white-space:nowrap!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-mobile-filter-toggle{
  display:none!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-toolbar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;margin:0 0 10px!important;padding:0 2px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-toolbar>div:first-child{
  display:grid!important;gap:3px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-toolbar strong{
  color:#243958!important;font-size:13px!important;font-weight:850!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-toolbar small{
  font-size:10px!important;color:#8594ad!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-actions{
  display:flex!important;gap:8px!important;align-items:center!important;
  font-size:10px!important;color:#8491aa!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-actions #salesMoreBtn{
  min-height:35px!important;padding:6px 10px!important;border:1px solid #dbe5f8!important;
  background:#f5f8ff!important;color:#3f6cbd!important;border-radius:9px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] [hidden]{display:none!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-error{
  display:block!important;margin:0 0 10px!important;padding:11px 13px!important;
  border:1px solid #f4d8c6!important;border-radius:10px!important;
  background:#fff7f1!important;color:#aa542d!important;font-size:11px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table-wrap{
  width:100%!important;max-width:100%!important;min-width:0!important;
  overflow-x:auto!important;overflow-y:visible!important;
  border:1px solid #e0e8f6!important;border-radius:16px!important;
  background:#fff!important;box-shadow:0 7px 22px rgba(42,67,129,.055)!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table{
  width:100%!important;min-width:1040px!important;
  table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;
  background:#fff!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th{
  position:sticky!important;top:0!important;z-index:1!important;
  padding:13px 12px!important;border:0!important;border-bottom:1px solid #e5ebf8!important;
  background:#f6f8fd!important;color:#7c8ca8!important;
  font-size:10px!important;line-height:1.2!important;
  text-transform:uppercase!important;letter-spacing:.075em!important;font-weight:850!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(1){width:88px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(2){width:160px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(3){width:285px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(4){width:115px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(5){width:95px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(6){width:128px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(7){width:82px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table th:nth-child(8){width:110px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table tbody tr{
  cursor:pointer!important;background:#fff!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table tbody tr:hover{
  background:#f7faff!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table tbody tr:focus-visible{
  outline:3px solid #a9c4fa!important;outline-offset:-3px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table td{
  padding:12px!important;border:0!important;border-bottom:1px solid #edf1f8!important;
  color:#425477!important;font-size:11px!important;vertical-align:middle!important;
  overflow-wrap:anywhere!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table tbody tr:last-child td{border-bottom:0!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-number strong{
  color:#3269dd!important;font-size:13px!important;font-weight:850!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-number small{
  display:none!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-customer strong{
  display:block!important;color:#304264!important;font-size:11px!important;font-weight:800!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-customer small{
  display:block!important;margin-top:3px!important;color:#8b99ae!important;font-size:10px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-preview{
  display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-thumbs{
  display:flex!important;align-items:center!important;flex:0 0 auto!important;
  max-width:120px!important;padding-left:2px!important;
}
body.clena-editor-v2 .sales-product-thumb{
  position:relative!important;display:grid!important;place-items:center!important;
  flex:0 0 46px!important;width:46px!important;height:46px!important;
  margin:0!important;overflow:hidden!important;
  border:1px solid #dfe8f6!important;border-radius:10px!important;
  background:linear-gradient(135deg,#eaf1ff,#f4efff)!important;
  color:#8ba2cc!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-thumbs .sales-product-thumb{
  width:44px!important;height:44px!important;flex-basis:44px!important;
  margin-left:-8px!important;border:2px solid #fff!important;
  box-shadow:0 2px 7px rgba(28,49,98,.12)!important;
}
body.clena-editor-v2 .sales-product-thumb img{
  position:absolute!important;inset:0!important;z-index:1!important;
  width:100%!important;height:100%!important;object-fit:cover!important;
  display:block!important;
}
body.clena-editor-v2 .sales-product-thumb i{font-size:20px!important}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-thumbs .sales-product-thumb:first-child{
  margin-left:0!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-thumb-more{
  display:grid!important;place-items:center!important;
  width:29px!important;height:29px!important;min-width:29px!important;
  margin-left:-7px!important;border:2px solid #fff!important;
  border-radius:8px!important;color:#5b69a5!important;background:#e8eeff!important;
  font-size:9px!important;font-weight:850!important;z-index:3!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-preview-label{
  display:grid!important;gap:4px!important;min-width:0!important;max-width:156px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-preview-label strong{
  font-size:10.5px!important;line-height:1.3!important;color:#344869!important;
  white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;overflow:hidden!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-preview-label small{
  font-size:9px!important;color:#8b98b0!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status,
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-payment-pill{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:fit-content!important;margin:0!important;padding:5px 8px!important;
  border-radius:7px!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status[data-status="new"],
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status[data-status="pending"]{
  color:#b16f18!important;background:#fff4df!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status[data-status="accepted"],
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status[data-status="preparing"]{
  color:#3e6ed1!important;background:#ecf2ff!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status[data-status="ready"]{
  color:#7354d0!important;background:#f0ebff!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status[data-status="completed"],
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-payment-pill.is-paid{
  color:#15845b!important;background:#e7f8ef!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-status[data-status="cancelled"]{
  color:#ae4957!important;background:#fff0f1!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-payment-pill.is-pending{
  color:#a8741e!important;background:#fff5df!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-payment-pill.is-other{
  color:#787e9c!important;background:#eff0f7!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-payment strong{
  display:block!important;color:#435578!important;font-size:10.5px!important;margin-bottom:6px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-total strong{
  display:block!important;white-space:nowrap!important;color:#21385f!important;font-size:12px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-total small{
  display:block!important;margin-top:5px!important;color:#6085cd!important;
  font-size:9px!important;font-weight:750!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-empty{
  padding:35px 16px!important;text-align:center!important;color:#7a8daa!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-empty strong{
  color:#405577!important;font-size:13px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-pagination{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:15px!important;
  padding:14px 0!important;color:#7083a4!important;font-size:11px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-pagination button{
  display:inline-flex!important;align-items:center!important;gap:4px!important;
  min-height:35px!important;padding:6px 12px!important;
  border:1px solid #dfe7f6!important;border-radius:9px!important;
  background:#fff!important;color:#456db8!important;font-size:11px!important;
}
body.clena-editor-v2 #app [data-editor-section="sales"] .sales-pagination button:disabled{
  opacity:.4!important;cursor:not-allowed!important;
}
/* DETAIL DRAWER */
body.clena-editor-v2 #salesBackdrop.sales-backdrop{
  z-index:3500!important;background:rgba(13,28,60,.48)!important;
  backdrop-filter:blur(2px)!important;
}
body.clena-editor-v2 #salesSide.sales-side{
  width:min(650px,100vw)!important;max-width:650px!important;
  height:100dvh!important;min-height:0!important;z-index:3501!important;
  background:#f4f7fe!important;color:#243657!important;
  box-shadow:-18px 0 55px rgba(25,39,87,.24)!important;
}
body.clena-editor-v2 #salesSide .sales-side-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex:0 0 auto!important;gap:12px!important;min-height:72px!important;
  padding:17px 21px!important;background:#fff!important;
  border-bottom:1px solid #dfe7f5!important;
}
body.clena-editor-v2 #salesSide .sales-side-head .eyebrow{
  color:#6989cc!important;font-size:9px!important;
}
body.clena-editor-v2 #salesSide .sales-side-head h3{
  margin:3px 0!important;color:#203454!important;font-size:22px!important;font-weight:850!important;
}
body.clena-editor-v2 #salesSide .sales-side-head #salesSideClose{
  display:grid!important;place-items:center!important;
  width:38px!important;height:38px!important;flex:0 0 38px!important;
  border:1px solid #dfe6f5!important;border-radius:10px!important;
  color:#5a6f95!important;background:#f7f9ff!important;font-size:20px!important;
}
body.clena-editor-v2 #salesSide .sales-side-body{
  display:grid!important;gap:13px!important;flex:1 1 auto!important;
  min-height:0!important;padding:18px 20px 25px!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
}
body.clena-editor-v2 #salesSide .sales-detail-hero{
  display:grid!important;gap:8px!important;
  padding:20px!important;border:0!important;border-radius:15px!important;
  background:linear-gradient(110deg,#214998,#3769d6 55%,#6b55d4)!important;
  color:#fff!important;
}
body.clena-editor-v2 #salesSide .sales-detail-hero-top{display:flex!important;gap:8px!important;align-items:center!important}
body.clena-editor-v2 #salesSide .sales-detail-hero-top .sales-status,
body.clena-editor-v2 #salesSide .sales-detail-hero-top .sales-payment-pill{background:rgba(255,255,255,.2)!important;color:#fff!important}
body.clena-editor-v2 #salesSide .sales-detail-hero>span{
  color:#d8e7ff!important;font-size:10px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-hero>strong{
  color:#fff!important;font-size:30px!important;font-weight:850!important;letter-spacing:-.04em!important;
}
body.clena-editor-v2 #salesSide .sales-detail-hero>small{color:#e0eafe!important;font-size:10px!important}
body.clena-editor-v2 #salesSide .sales-detail-card{
  display:block!important;min-width:0!important;padding:16px!important;
  border:1px solid #dfe8f7!important;border-radius:14px!important;
  background:#fff!important;box-shadow:0 5px 16px rgba(35,61,123,.04)!important;
}
body.clena-editor-v2 #salesSide .sales-detail-card h4{
  display:flex!important;align-items:center!important;gap:8px!important;
  margin:0 0 14px!important;padding:0 0 11px!important;border-bottom:1px solid #e8edf7!important;
  color:#263b5f!important;font-size:13px!important;font-weight:850!important;
}
body.clena-editor-v2 #salesSide .sales-detail-card h4 i{color:#4776da!important;font-size:17px!important}
body.clena-editor-v2 #salesSide .sales-detail-card h4 span{
  margin-left:auto!important;padding:4px 7px!important;
  border-radius:7px!important;background:#ecf2ff!important;color:#4d76c3!important;font-size:10px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-products{display:grid!important;gap:8px!important}
body.clena-editor-v2 #salesSide .sales-detail-product{
  display:grid!important;grid-template-columns:57px minmax(0,1fr) auto!important;gap:12px!important;
  align-items:center!important;padding:10px!important;border:1px solid #e7edf8!important;
  border-radius:11px!important;background:#fafcff!important;
}
body.clena-editor-v2 #salesSide .sales-detail-product .sales-product-thumb{
  width:57px!important;height:57px!important;flex-basis:57px!important;border-radius:10px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-product-main{display:grid!important;gap:4px!important;min-width:0!important}
body.clena-editor-v2 #salesSide .sales-detail-product-main strong{
  color:#273b5b!important;font-size:11px!important;line-height:1.3!important;
}
body.clena-editor-v2 #salesSide .sales-detail-product-main small{
  color:#8291a9!important;font-size:9px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-product-main p{
  margin:0!important;color:#7688a6!important;font-size:9px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-unit{color:#6c82a7!important;font-size:10px!important}
body.clena-editor-v2 #salesSide .sales-detail-line-total{
  color:#243a60!important;font-size:11px!important;white-space:nowrap!important;
}
body.clena-editor-v2 #salesSide .sales-detail-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-field{
  display:grid!important;gap:4px!important;min-width:0!important;
  padding:9px 11px!important;background:#f8faff!important;border:1px solid #eef2f9!important;border-radius:9px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-field small{
  color:#8d9bb1!important;font-size:9px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-field strong{
  color:#314566!important;font-size:11px!important;line-height:1.45!important;overflow-wrap:anywhere!important;
}
body.clena-editor-v2 #salesSide .sales-detail-totals{
  display:grid!important;gap:9px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-totals>div{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  color:#798aa8!important;font-size:11px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-totals strong{
  color:#314565!important;font-size:11px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-totals .sales-total-final{
  margin-top:5px!important;padding-top:11px!important;border-top:1px solid #e8edf7!important;
  color:#2a3c62!important;font-size:12px!important;font-weight:800!important;
}
body.clena-editor-v2 #salesSide .sales-detail-totals .sales-total-final strong{
  color:#2c64d2!important;font-size:17px!important;font-weight:850!important;
}
body.clena-editor-v2 #salesSide .sales-order-note{
  margin:13px 0 0!important;padding:10px!important;border-radius:9px!important;
  color:#6c7e9f!important;background:#f7f9fe!important;font-size:10px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-timeline{
  display:grid!important;gap:10px!important;border-left:2px solid #dce6fa!important;margin-left:4px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-timeline>div{
  display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;
  align-items:center!important;margin-left:-6px!important;padding:0 0 0 12px!important;position:relative!important;
}
body.clena-editor-v2 #salesSide .sales-timeline-dot{
  position:absolute!important;left:0!important;top:50%!important;
  transform:translateY(-50%)!important;width:9px!important;height:9px!important;
  border:2px solid #fff!important;border-radius:50%!important;background:#4880e8!important;
}
body.clena-editor-v2 #salesSide .sales-detail-timeline strong{
  color:#465c80!important;font-size:10px!important;
}
body.clena-editor-v2 #salesSide .sales-detail-timeline small{
  color:#95a1b8!important;font-size:9px!important;
}
body.clena-editor-v2 #salesSide .sales-side-foot{
  display:flex!important;align-items:center!important;gap:10px!important;
  flex:0 0 auto!important;padding:13px 20px calc(13px + env(safe-area-inset-bottom))!important;
  border-top:1px solid #e1e7f5!important;background:#fff!important;
}
body.clena-editor-v2 #salesSide .sales-side-foot select{
  flex:1 1 auto!important;min-width:0!important;min-height:41px!important;
  border:1px solid #dce5f5!important;border-radius:10px!important;
  background:#f9fbff!important;color:#364d75!important;
  font-size:11px!important;
}
body.clena-editor-v2 #salesSide .sales-side-foot button{
  flex:0 0 auto!important;min-height:41px!important;padding:9px 14px!important;
  border:1px solid transparent!important;border-radius:10px!important;
  color:#fff!important;background:linear-gradient(115deg,#3475eb,#6d56dd)!important;
  font-size:11px!important;font-weight:800!important;
}
body.clena-editor-v2 #salesSide .sales-loading-detail,
body.clena-editor-v2 #salesSide .sales-detail-error{
  display:grid!important;justify-items:center!important;gap:9px!important;
  padding:40px!important;border-radius:12px!important;
  color:#7488ab!important;background:#fff!important;font-size:12px!important;
}
@media(min-width:1440px){
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters{
    grid-template-columns:minmax(220px,1.1fr) minmax(110px,.6fr) minmax(0,3.5fr)!important;
  }
}
@media(max-width:1240px){
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters{
    grid-template-columns:minmax(0,1fr) minmax(120px,.45fr)!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-mobile-advanced-fields{
    grid-column:1/-1!important;
    grid-template-columns:repeat(4,minmax(0,1fr)) auto!important;
  }
}
@media(max-width:760px){
  body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head{
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    flex-direction:row!important;flex-wrap:nowrap!important;
    gap:9px!important;margin:0 0 10px!important;padding:0!important;
    min-height:0!important;height:auto!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head h2{
    font-size:18px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"]>.section-page-head p{
    display:none!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] #salesRefreshBtn{
    display:inline-flex!important;align-self:center!important;justify-self:end!important;
    min-height:36px!important;width:auto!important;max-width:140px!important;
    margin-left:auto!important;flex:0 0 auto!important;
    padding:7px 12px!important;font-size:11px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:10px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi{
    min-height:78px!important;gap:8px!important;padding:11px!important;
    border-radius:12px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi>i{
    width:32px!important;height:32px!important;flex-basis:32px!important;
    border-radius:9px!important;font-size:17px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi small{font-size:9px!important}
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi strong{
    font-size:17px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filter-panel{
    padding:11px!important;margin-bottom:11px!important;border-radius:13px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters{
    grid-template-columns:minmax(0,1fr) minmax(105px,35%)!important;gap:8px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-filters .sales-search{
    grid-column:1/-1!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-mobile-filter-toggle{
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:5px!important;grid-column:auto!important;min-height:40px!important;
    padding:7px 8px!important;border:1px solid #dfe7f8!important;border-radius:10px!important;
    color:#456bb5!important;background:#f6f9ff!important;font-size:10px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-mobile-advanced-fields{
    display:none!important;grid-column:1/-1!important;
    padding:10px 0 0!important;margin:2px 0 0!important;
    border-top:1px solid #e6ecf7!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-mobile-advanced-fields.is-open{
    display:grid!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-payment-state{
    grid-column:1/-1!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-mobile-advanced-fields #salesClearBtn{
    grid-column:1/-1!important;width:100%!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-toolbar{
    gap:8px!important;align-items:flex-start!important;margin-bottom:9px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-toolbar strong{
    font-size:12px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-results-actions{
    flex-wrap:wrap!important;justify-content:flex-end!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table-wrap{
    min-width:0!important;overflow:visible!important;border:0!important;
    border-radius:0!important;box-shadow:none!important;background:transparent!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table{
    display:block!important;width:100%!important;min-width:0!important;
    max-width:100%!important;border:0!important;background:transparent!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table thead{display:none!important}
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table tbody#salesTableBody{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;width:100%!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table tbody tr.sales-row{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    gap:9px 10px!important;min-width:0!important;width:100%!important;
    padding:13px!important;margin:0!important;
    border:1px solid #e0e7f6!important;border-radius:14px!important;
    background:#fff!important;box-shadow:0 4px 14px rgba(39,61,122,.06)!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table tbody tr.sales-row td{
    display:block!important;min-width:0!important;min-height:0!important;
    width:auto!important;padding:0!important;margin:0!important;
    border:0!important;font-size:11px!important;text-align:left!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-number{
    grid-column:1!important;grid-row:1!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-number strong{font-size:15px!important}
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-number small{
    display:block!important;margin-top:3px!important;font-size:9px!important;color:#8e9aaf!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-status{
    grid-column:2!important;grid-row:1!important;justify-self:end!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-products{
    grid-column:1/-1!important;grid-row:2!important;padding:9px 0!important;
    border-top:1px solid #eef1f8!important;border-bottom:1px solid #eef1f8!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-thumbs{
    flex-basis:100px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-items-preview-label{
    max-width:none!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-customer{
    grid-column:1!important;grid-row:3!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-total{
    grid-column:2!important;grid-row:3!important;text-align:right!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-total strong{
    font-size:14px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-payment{
    grid-column:1!important;grid-row:4!important;display:flex!important;gap:6px!important;align-items:center!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-td-payment strong{
    margin:0!important;font-size:10px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-delivery{
    grid-column:2!important;grid-row:4!important;justify-self:end!important;
    color:#7f8fa8!important;font-size:10px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-table .sales-td-date{
    display:none!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-pagination{
    gap:8px!important;
  }
  body.clena-editor-v2 #salesSide.sales-side{
    width:100vw!important;max-width:100vw!important;height:100dvh!important;
    padding-top:env(safe-area-inset-top)!important;
  }
  body.clena-editor-v2 #salesSide .sales-side-head{
    min-height:58px!important;padding:10px 14px!important;
  }
  body.clena-editor-v2 #salesSide .sales-side-head h3{font-size:17px!important}
  body.clena-editor-v2 #salesSide .sales-side-body{
    padding:12px!important;gap:10px!important;
  }
  body.clena-editor-v2 #salesSide .sales-detail-card{padding:13px!important}
  body.clena-editor-v2 #salesSide .sales-detail-hero{padding:16px!important}
  body.clena-editor-v2 #salesSide .sales-detail-hero>strong{font-size:26px!important}
  body.clena-editor-v2 #salesSide .sales-detail-product{
    grid-template-columns:48px minmax(0,1fr)!important;gap:9px!important;padding:9px!important;
  }
  body.clena-editor-v2 #salesSide .sales-detail-product .sales-product-thumb{
    width:48px!important;height:48px!important;flex-basis:48px!important;
  }
  body.clena-editor-v2 #salesSide .sales-detail-product .sales-detail-line-total{
    grid-column:2!important;justify-self:start!important;
  }
  body.clena-editor-v2 #salesSide .sales-detail-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important;
  }
  body.clena-editor-v2 #salesSide .sales-side-foot{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
  }
  body.clena-editor-v2 #salesSide .sales-side-foot button{
    padding:8px 11px!important;white-space:nowrap!important;
  }
}
@media(max-width:360px){
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi{
    padding:9px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi>i{
    flex-basis:29px!important;width:29px!important;height:29px!important;
  }
  body.clena-editor-v2 #app [data-editor-section="sales"] .sales-kpi strong{
    font-size:15px!important;
  }
  body.clena-editor-v2 #salesSide .sales-detail-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.clena-editor-v2 #app [data-editor-section="sales"] *{
    transition:none!important;
  }
}
