:root{
  color-scheme:light;
  --bg:#f4f6f9;--surface:#fff;--soft:#f8fafc;--line:#dfe4ea;--line-strong:#cbd2da;
  --text:#101828;--text-soft:#344054;--muted:#667085;--primary:#e00019;--primary-hover:#bd0015;
  --danger:#b42318;--success:#166534;--focus:0 0 0 4px rgba(224,0,25,.09);
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font:14px/1.45 Inter,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}select,select option{color-scheme:light;background:#fff;color:var(--text)}a{color:inherit}

.admin-top{position:sticky;top:0;z-index:100;min-height:64px;padding:10px max(16px,3vw);display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.admin-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}.admin-brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--primary);color:#fff;font-size:19px;font-weight:900}.admin-brand>span:last-child{display:flex;flex-direction:column;line-height:1.05}.admin-brand strong{font-size:15px;letter-spacing:.08em}.admin-brand small{margin-top:4px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.admin-top nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.admin-top nav a,.admin-top nav button{height:38px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text-soft);text-decoration:none;font-size:11px;font-weight:800}.admin-top nav a:hover,.admin-top nav button:hover{background:#f8fafc;border-color:var(--line-strong)}.admin-top nav form{margin:0}.admin-top nav form input[type="hidden"]{display:none}
.admin-wrap{width:min(1240px,calc(100% - 28px));margin:22px auto 30px}

h1{margin:0 0 7px;font-size:28px;line-height:1.15;letter-spacing:-.025em}h2{margin:0 0 7px;font-size:18px}p,small{color:var(--muted)}
label{display:grid;gap:6px;color:var(--text-soft);font-size:11px;font-weight:800}
input,select{width:100%;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);outline:none}input:focus,select:focus{border-color:#efa1aa;box-shadow:var(--focus)}

.login-card,.install-card,.admin-card,.form-grid,.table-wrap,.cards .card,.meta-toolbar-card,.meta-count-card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.login-card,.install-card{max-width:700px;margin:8vh auto;padding:28px}.login-card{max-width:430px}.login-card form{display:grid;gap:14px}
.install-checklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;margin:18px 0;padding:0;list-style:none}.install-checklist li{min-height:38px;padding:7px 9px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:10px}.install-checklist li>span:first-child{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-weight:900}.install-checklist li strong{margin-left:auto;font-size:8px;letter-spacing:.04em}.install-checklist .is-ready>span:first-child,.install-checklist .is-ready strong{color:var(--success)}.install-checklist .is-pending>span:first-child,.install-checklist .is-pending strong{color:var(--danger)}.install-submit-wrap{display:grid;justify-items:start;gap:7px}.install-submit-wrap small{font-size:10px}.install-submit:disabled{opacity:.55;cursor:not-allowed}
.primary,.linkbtn.primary,.danger{height:40px;padding:0 14px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:11px;font-weight:850;cursor:pointer}
.primary,.linkbtn.primary{border:0;background:var(--primary);color:#fff}.primary:hover{background:var(--primary-hover)}
.danger{border:1px solid var(--danger);background:var(--danger);color:#fff}.danger:disabled{opacity:.4;cursor:not-allowed;background:#9ca3af;border-color:#9ca3af}
.alert,.success,.notice{padding:10px 12px;border-radius:9px;margin:12px 0;font-size:11px}.alert,.notice.error{background:#fff1f2;color:#b42318;border:1px solid #fecdd3}.success,.notice.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.card{padding:19px;text-decoration:none;display:grid;gap:5px}.card:hover{border-color:#edb7bd}.card strong{font-size:28px}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.admin-updated-at{display:inline-flex;align-items:center;min-height:26px;margin-top:7px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:#f8fafc;color:var(--text-soft);font-size:9px;font-weight:800;white-space:nowrap}.head-actions,.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.head-actions form,.actions form{margin:0}.actions a{text-decoration:none;color:#2563eb;font-weight:800}.actions button{border:0;background:transparent;color:var(--danger);font-size:10px;font-weight:800}
.admin-card{padding:18px;margin-bottom:16px}.filter-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:14px}.filter-bar label{max-width:220px}.note{padding:11px;border:1px dashed var(--line-strong);border-radius:9px;color:var(--muted);font-size:11px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px}.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;height:auto}.form-actions{display:flex;justify-content:flex-end;gap:10px}
.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px}th,td{padding:10px 11px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}th{position:sticky;top:0;z-index:1;background:#f2f5f8;color:#475467;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}tbody tr:nth-child(even) td{background:#fbfcfd}.empty-cell{text-align:center;padding:26px!important;color:var(--muted)}

.meta-page-head{display:flex;align-items:stretch;justify-content:space-between;gap:16px;margin-bottom:14px}.meta-page-title{min-width:0;padding:4px 0}.meta-eyebrow{display:block;margin-bottom:5px;color:var(--primary);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.meta-page-title h1{margin-bottom:4px}.meta-page-title p{margin:0}
.meta-count-card{min-width:176px;padding:12px 15px;display:grid;align-content:center}.meta-count-card span,.meta-count-card small{font-size:9px;color:var(--muted);font-weight:800}.meta-count-card strong{margin:2px 0;color:var(--text);font-size:24px;line-height:1}
.meta-toolbar-card{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px;padding:13px 14px}.meta-competencia-form{display:flex;align-items:end;gap:8px}.meta-competencia-form label{min-width:190px}.meta-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.meta-toolbar-actions form{margin:0}
.meta-import-card{padding:15px 16px}.meta-import-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px}.meta-import-heading h2{margin:0}.meta-import-heading p{margin:0;max-width:580px;text-align:right;font-size:10px}.meta-json-import{display:grid;gap:0}.meta-json-grid-optimized{display:grid;grid-template-columns:minmax(300px,1.6fr) minmax(190px,.55fr);gap:10px}.meta-file-field input[type=file]{height:42px;padding:5px 7px}.meta-file-field input[type=file]::file-selector-button{height:30px;margin-right:9px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:#f8fafc;color:var(--text-soft);font-size:10px;font-weight:800;cursor:pointer}
.meta-import-map{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:10px}.meta-import-map span{padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:#f8fafc;color:var(--muted);font-size:9px;white-space:nowrap}.meta-import-map strong{color:var(--text-soft)}
.meta-json-actions{display:flex;align-items:center;gap:8px;margin-top:11px}.meta-json-actions .primary,.meta-json-actions .danger{min-width:145px}.meta-json-actions small{margin-left:auto}.meta-table-section{margin-top:14px}.meta-table-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;padding:0 2px}.meta-table-heading h2{margin:0;font-size:15px}.meta-table-heading p{margin:2px 0 0;font-size:10px}.meta-table-wrap{margin-top:0}.meta-table-wrap th,.meta-table-wrap td{padding:9px 10px}.meta-model-cell{min-width:220px}.meta-status{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:850}.meta-status.is-active{background:#ecfdf3;color:#166534}.meta-status.is-inactive{background:#f2f4f7;color:#667085}.meta-actions-head{text-align:right}.meta-row-actions{justify-content:flex-end}

@media(max-width:900px){.meta-toolbar-card{align-items:stretch;flex-direction:column}.meta-competencia-form{width:100%}.meta-competencia-form label{flex:1}.meta-toolbar-actions{width:100%}.meta-import-heading{align-items:flex-start;flex-direction:column;gap:4px}.meta-import-heading p{text-align:left}.meta-json-grid-optimized{grid-template-columns:1fr}.meta-json-actions{align-items:stretch;flex-wrap:wrap}.meta-json-actions small{width:100%;margin-left:0}}
@media(max-width:820px){.admin-top{position:relative;align-items:flex-start;flex-wrap:wrap}.admin-top nav{width:100%;flex-wrap:nowrap;overflow-x:auto}.admin-top nav a,.admin-top nav button{flex:0 0 auto}.admin-wrap{width:calc(100% - 18px);margin-top:12px}.page-head{flex-direction:column}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.admin-brand small{display:none}}
@media(max-width:620px){.meta-page-head{flex-direction:column}.meta-count-card{min-width:0}.meta-competencia-form{flex-direction:column;align-items:stretch}.meta-competencia-form label{min-width:0}.meta-toolbar-actions{display:grid;grid-template-columns:1fr}.meta-toolbar-actions .primary,.meta-toolbar-actions form,.meta-toolbar-actions .danger{width:100%}.meta-json-actions{flex-direction:column}.meta-json-actions .primary,.meta-json-actions .danger{width:100%}.meta-model-cell{min-width:180px}}

/* v6.2 - Conversor XLS → JSON integrado ao Admin */
.secondary-linkbtn{height:40px;padding:0 14px;border:1px solid var(--line);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--text-soft);text-decoration:none;font-size:11px;font-weight:850}.secondary-linkbtn:hover{background:#f8fafc;border-color:var(--line-strong)}
.converter-page-head .meta-eyebrow{margin-bottom:6px}.converter-card{max-width:900px;margin:0 auto 14px;padding:20px}.converter-intro{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid var(--line)}.converter-intro h2{margin:0 0 4px}.converter-intro p{margin:0}.converter-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:12px;background:#fff1f2;color:var(--primary);font-size:14px;font-weight:950;letter-spacing:.04em;border:1px solid #fecdd3}.converter-form{display:grid;gap:16px;padding-top:16px}.converter-upload{position:relative;min-height:132px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed var(--line-strong);border-radius:13px;background:var(--soft);text-align:center;cursor:pointer}.converter-upload:hover{border-color:#efa1aa;background:#fffafb}.converter-upload strong{font-size:13px;color:var(--text)}.converter-upload>span:not(.converter-upload-icon){font-size:10px;color:var(--muted)}.converter-upload-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#fff;border:1px solid var(--line);color:var(--primary);font-size:18px}.converter-upload input[type=file]{width:min(520px,100%);height:auto;margin-top:8px;padding:6px;background:#fff}.converter-upload input[type=file]::file-selector-button{height:30px;margin-right:9px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:#f8fafc;color:var(--text-soft);font-size:10px;font-weight:800;cursor:pointer}.converter-rules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.converter-rules>div{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.converter-rules strong,.converter-rules span{display:block}.converter-rules strong{margin-bottom:3px;font-size:10px;color:var(--text-soft)}.converter-rules span{font-size:9px;line-height:1.35;color:var(--muted)}.converter-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.converter-actions>a{color:#2563eb;text-decoration:none;font-size:10px;font-weight:800}.converter-note{max-width:900px;margin:0 auto}
@media(max-width:760px){.converter-card{padding:14px}.converter-rules{grid-template-columns:repeat(2,minmax(0,1fr))}.converter-actions{align-items:stretch;flex-direction:column-reverse}.converter-actions .primary{width:100%}.converter-actions>a{text-align:center;padding:8px}.head-actions .secondary-linkbtn{width:auto}}
@media(max-width:460px){.converter-rules{grid-template-columns:1fr}.converter-intro{align-items:flex-start}.converter-upload{padding:14px 10px}}


/* v6.14 - Gestão de usuários e perfis */
.user-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.user-page-head h1{margin-bottom:4px}.user-page-head p{margin:0}.user-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;margin-bottom:14px}.user-summary-card{margin:0;padding:14px 16px;display:grid;gap:2px}.user-summary-card span{color:var(--muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.user-summary-card strong{font-size:24px;line-height:1.1}.user-summary-card small{font-size:9px}.user-role{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:999px;font-size:9px;font-weight:850}.user-role.is-admin{background:#fff1f2;color:#b42318;border:1px solid #fecdd3}.user-role.is-viewer{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.user-protected{color:var(--muted);font-size:9px;font-weight:800}.users-table-wrap td:last-child{min-width:170px}.user-form input[readonly]{background:#f8fafc;color:#667085;cursor:not-allowed}
@media(max-width:720px){.user-page-head{align-items:stretch;flex-direction:column}.user-page-head .head-actions .primary{width:100%}.user-summary-grid{grid-template-columns:1fr 1fr}.team-user-name{display:none}}
@media(max-width:480px){.user-summary-grid{grid-template-columns:1fr}}

/* v6.15 - Login/senha e ações completas de usuários */
.user-login-code{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:#f8fafc;color:var(--text-soft);font:800 10px/1.2 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}.user-row-actions{gap:7px}.user-row-actions form{display:inline-flex}.user-row-actions button{padding:4px 0;cursor:pointer}.user-row-actions .user-action-block{color:#b54708}.user-row-actions .user-action-unblock{color:#166534}.user-row-actions .user-action-delete{color:var(--danger)}.user-form small{display:block;margin-top:4px;color:var(--muted);font-size:9px}

/* v6.20 - Gestão de Vendas */
.sales-page-head{align-items:flex-end}.sales-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:10px}.sales-search-wrap{height:38px;min-width:260px;flex:1;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff}.sales-search-wrap span{color:var(--muted);font-size:18px}.sales-search-wrap input{width:100%;height:auto;padding:0;border:0;outline:0;background:transparent}.sales-toolbar>strong{min-width:90px;color:var(--text-soft);font-size:10px;text-align:right}.sales-toolbar .secondary{height:38px;white-space:nowrap}
.sales-table-wrap{position:relative;max-height:calc(100vh - 245px);overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}.sales-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:10px}.sales-table th,.sales-table td{height:34px;padding:7px 9px;border-right:1px solid #e7ebf0;border-bottom:1px solid #e7ebf0;white-space:nowrap;vertical-align:middle}.sales-table th:last-child,.sales-table td:last-child{border-right:0}.sales-table thead th{position:sticky;background:#eef2f6;z-index:3}.sales-head-row th{top:0;height:34px;padding:0}.sales-filter-row th{top:34px;height:38px;padding:4px 5px;background:#f8fafc;z-index:4}.sales-table tbody tr:nth-child(even) td{background:#fbfcfd}.sales-table tbody tr:hover td{background:#fff8f8}.sales-sort{width:100%;height:34px;padding:0 8px;border:0;display:flex;align-items:center;justify-content:space-between;gap:6px;background:transparent;color:#344054;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.035em;cursor:pointer}.sales-sort-icon{color:#98a2b3}.sales-sort.is-sorted{color:#b42318}.sales-sort.is-sorted .sales-sort-icon{color:#b42318}.sales-strong{font-weight:800;color:#101828}.sales-table td.is-numeric{text-align:right}.sales-observation{max-width:340px;overflow:hidden;text-overflow:ellipsis}.sales-col-cliente,.sales-col-vendedor{max-width:240px;overflow:hidden;text-overflow:ellipsis}.sales-col-modelo{min-width:170px}.sales-col-chassi{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.sales-col-valor{font-weight:800}.sales-col-situacao{font-weight:800}
.sales-multi-filter{width:100%;min-width:76px}.sales-filter-trigger{width:100%;height:28px;padding:0 7px;border:1px solid #d0d5dd;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:5px;background:#fff;color:#344054;font-size:9px;font-weight:750;cursor:pointer;overflow:hidden}.sales-filter-trigger.is-active{border-color:#ef808d;background:#fff6f7;color:#b42318}.sales-filter-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-filter-caret{flex:0 0 auto}.sales-filter-menu{position:fixed;z-index:10050;display:flex;flex-direction:column;min-width:220px;border:1px solid #cfd5dd;border-radius:9px;background:#fff;box-shadow:0 14px 32px rgba(16,24,40,.18);overflow:hidden}.sales-filter-menu[hidden]{display:none}.sales-filter-menu-head{height:36px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);background:#f8fafc}.sales-filter-menu-head strong{font-size:10px}.sales-filter-reset{padding:3px 0;border:0;background:transparent;color:#d90429;font-size:9px;font-weight:850;cursor:pointer}.sales-filter-options{overflow:auto;padding:5px}.sales-filter-option{min-height:30px;padding:4px 6px;display:flex;align-items:center;gap:7px;border-radius:6px;cursor:pointer}.sales-filter-option:hover{background:#f5f7fa}.sales-filter-option input{width:14px;height:14px;margin:0;flex:0 0 auto}.sales-filter-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#344054}
@media(max-width:820px){.sales-toolbar{align-items:stretch;flex-wrap:wrap}.sales-search-wrap{min-width:0;flex:1 1 240px}.sales-toolbar>strong{display:none}.sales-table-wrap{max-height:none}.sales-page-head .head-actions{width:100%;overflow-x:auto;flex-wrap:nowrap}.sales-page-head .head-actions>*{flex:0 0 auto}}


/* v6.21 - Vendas em largura total e colunas fixas por caracteres */
.admin-wrap-wide{
  width:calc(100% - 24px);
  max-width:none;
  margin:14px auto 24px;
}
.admin-wrap-wide .sales-page-head,
.admin-wrap-wide .sales-toolbar,
.admin-wrap-wide .sales-table-wrap{width:100%;max-width:none}
.admin-wrap-wide .sales-page-head{margin-left:0;margin-right:0}
.sales-table{table-layout:fixed}
.sales-table col{width:calc(var(--sales-ch) * 1ch + 18px)}
.sales-table th,.sales-table td{min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis}
.sales-table .sales-col-head,.sales-table .sales-col-filter{width:auto;min-width:0;max-width:none}
.sales-table .sales-multi-filter{width:100%;min-width:0}
.sales-table .sales-filter-trigger{min-width:0;padding-left:5px;padding-right:4px;gap:2px}
.sales-table .sales-sort{min-width:0;padding-left:6px;padding-right:5px;gap:3px;overflow:hidden}
.sales-table .sales-sort>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sales-table .sales-sort-icon{flex:0 0 auto}
.sales-table td.sales-col-modelo,
.sales-table td.sales-col-cliente,
.sales-table td.sales-col-vendedor,
.sales-table td.sales-col-observacao_interna{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sales-table td.sales-col-cliente,.sales-table td.sales-col-vendedor{max-width:none}
.sales-table td.sales-col-modelo{min-width:0}
.sales-table td.sales-observation{max-width:none}
@media(max-width:820px){
  .admin-wrap-wide{width:calc(100% - 12px);margin:8px auto 18px}
  .admin-wrap-wide .sales-page-head{padding:0 2px}
  .sales-table-wrap{width:100%;max-width:100%;overflow:auto}
}


/* v6.22 - Vendas: larguras de colunas realmente fixas */
.sales-table{
  width:var(--sales-table-width)!important;
  min-width:var(--sales-table-width)!important;
  max-width:var(--sales-table-width)!important;
  table-layout:fixed!important;
}
.sales-table col{
  width:calc(var(--sales-ch) * 1ch + 18px)!important;
}
.sales-table th,.sales-table td{
  box-sizing:border-box;
  min-width:0!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sales-table .sales-col-head,.sales-table .sales-col-filter{
  min-width:0!important;
  max-width:none!important;
}
.sales-table .sales-filter-trigger,.sales-table .sales-sort{
  max-width:100%;
  min-width:0;
  overflow:hidden;
}

/* v6.23 - Vendas: corpo responsivo à largura total da página */
.sales-table{
  width:max(100%, var(--sales-table-width))!important;
  min-width:var(--sales-table-width)!important;
  max-width:none!important;
  table-layout:fixed!important;
}
.sales-table-wrap{
  width:100%;
  max-width:100%;
}

/* v6.24 - Vendas: filtros rápidos por Dia / Mês / Ano */
.sales-date-filters{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.sales-date-filter{height:38px;min-width:74px;padding:0 28px 0 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font-size:10px;font-weight:750;outline:0;cursor:pointer;color-scheme:light}
.sales-date-filter#salesMonth{min-width:104px}
.sales-date-filter:focus{border-color:#ef808d;box-shadow:0 0 0 3px rgba(217,4,41,.07)}
.sales-date-filter.is-active{border-color:#ef808d;background:#fff6f7;color:#b42318}
@media(max-width:1100px){.sales-date-filters{order:2}.sales-toolbar>strong{order:3}.sales-toolbar .secondary{order:4}}
@media(max-width:820px){.sales-date-filters{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sales-date-filter,.sales-date-filter#salesMonth{width:100%;min-width:0}.sales-search-wrap{order:1}.sales-toolbar>strong{display:none}.sales-toolbar .secondary{width:auto}}
