/* Padrao visual de Indicadores e Pipeline — 27/10/2026. */
:is(#seller-dashboard,#dashboard,#pipeline){--work-canvas:#f3f5f7;--work-card:#fff;--work-inset:#f6f8fa;--work-border:#dce3e9;--work-text:#202a35;--work-muted:#657384;--work-accent:#137a4b;--work-shadow:0 2px 8px rgba(24,39,55,.035);min-width:0}
html[data-crm-theme="dark"] :is(#seller-dashboard,#dashboard,#pipeline){--work-canvas:#101722;--work-card:#192231;--work-inset:#121c29;--work-border:#303e50;--work-text:#e8eef6;--work-muted:#a8b6c8;--work-accent:#7adcad;--work-shadow:0 2px 10px rgba(0,0,0,.1)}
@layer crmTypography {
 :is(#seller-dashboard,#dashboard,#pipeline) * {font-weight:400!important;line-height:1.45!important;letter-spacing:normal!important}
 :is(#seller-dashboard,#dashboard,#pipeline) :is(p,span,small,label,dt,dd){font-size:13px!important}
 :is(#seller-dashboard,#dashboard,#pipeline) :is(input,select,textarea,button){font-size:14px!important}
 :is(#seller-dashboard,#dashboard,#pipeline) :is(h2,h3,h4),:is(#seller-dashboard,#dashboard,#pipeline) :is(h2,h3,h4) * {font-size:18px!important;font-weight:600!important;line-height:1.35!important}
 :is(#seller-dashboard,#dashboard,#pipeline) :is(strong,b){font-weight:600!important}
 #seller-dashboard #sellerDashboardGreeting {font-size:20px!important;font-weight:600!important}
 #seller-dashboard .seller-action-title,#dashboard .manager-today-eyebrow {font-size:12px!important;font-weight:600!important;letter-spacing:1.2px!important;text-transform:uppercase!important}
 #seller-dashboard :is(.seller-performance-card>span,.seller-priority-card>span){font-size:13px!important;font-weight:500!important;text-transform:none!important}
 #seller-dashboard :is(.seller-performance-card>strong,.seller-conversion>strong,.seller-priority-card>strong),#dashboard .kpi>strong,#pipeline .pipeline-summary-grid>article>strong {font-size:24px!important;font-weight:700!important;line-height:1.3!important}
 #seller-dashboard :is(.seller-performance-card>small,.seller-priority-card small,.seller-revenue-history small,.seller-revenue-chart-legend,.seller-revenue-chart-legend *,.seller-revenue-month>strong,.seller-revenue-month>small,.seller-conversion>b){font-size:12px!important;font-weight:400!important}
 #seller-dashboard .seller-revenue-history-summary strong {font-size:18px!important;font-weight:600!important}
 #seller-dashboard .seller-secondary-details>summary {font-size:16px!important;font-weight:600!important}
 :is(#seller-dashboard,#dashboard,#pipeline) :is(th,thead),:is(#seller-dashboard,#dashboard,#pipeline) :is(th,thead) * {font-size:12px!important;font-weight:600!important}
 #pipeline .pipeline-summary-grid>article>span{font-size:13px!important;font-weight:500!important;text-transform:none!important}
 #pipeline :is(.pipeline-summary-grid small,.pipeline-view-description,.pipeline-quick-filters button,.pipeline-view-tabs button,.pipeline-view-tabs span,.pipeline-column header small,.pipeline-card-owner,.pipeline-card-details,.pipeline-card-details *,.pipeline-stage-label){font-size:12px!important}
 #pipeline .pipeline-view-tabs button,#pipeline .pipeline-column header span {font-weight:600!important}
 #pipeline .pipeline-column header span {font-size:14px!important;text-transform:none!important}
 #pipeline .pipeline-column header>strong{font-size:14px!important;font-weight:600!important}
 #pipeline .pipeline-deal-top>strong{font-size:14px!important;font-weight:600!important;line-height:1.4!important}
 #pipeline .pipeline-card-value{font-size:20px!important;font-weight:700!important;line-height:1.3!important}
 #pipeline .pipeline-card-next{font-size:13px!important;font-weight:400!important}
 #pipeline .pipeline-compact-badge{font-size:12px!important;font-weight:500!important}
}
@layer crmLayout {
 #seller-dashboard .seller-action-dashboard{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 #seller-dashboard .seller-action-head{padding:20px!important;border-radius:14px!important;gap:16px!important;align-items:flex-start!important;flex-wrap:wrap!important}
 #seller-dashboard .seller-action-head>div{min-width:0!important}
 #seller-dashboard #sellerDashboardGreetingText{display:block!important;white-space:normal!important;max-width:900px!important;margin-top:8px!important}
 #seller-dashboard .seller-action-title{margin:8px 0 -8px!important;padding:0!important;border:0!important}
 #seller-dashboard :is(.seller-performance-grid,.seller-action-priorities){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0!important}
 #seller-dashboard .seller-action-priorities{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #seller-dashboard .seller-performance-card{padding:20px!important;min-width:0!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;min-height:168px!important}
 #seller-dashboard .seller-performance-card>strong{margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
 #seller-dashboard .seller-priority-card{padding:16px!important;border-radius:14px!important;min-height:96px!important;min-width:0!important;gap:14px!important}
 #seller-dashboard .seller-priority-card small{margin-top:5px!important}
 #seller-dashboard .seller-conversion{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;width:100%!important;flex-wrap:wrap!important}
 #seller-dashboard .seller-period-tabs{margin-top:auto!important;gap:6px!important}
 #seller-dashboard .seller-period-tabs button{padding:5px 9px!important;min-height:30px!important;line-height:1.3!important}
 #seller-dashboard :is(.seller-revenue-history,.seller-client-day,.seller-day-agenda,.seller-smart-card,.seller-portfolio-card,.seller-opportunity-workspace,.seller-secondary-details){padding:20px!important;border-radius:14px!important;min-width:0!important;margin:0!important}
 #seller-dashboard :is(.seller-next-action-grid,.seller-smart-grid,.seller-portfolio-grid){gap:16px!important;margin:0!important}
 #seller-dashboard .seller-revenue-history-head{gap:16px!important;margin-bottom:20px!important;flex-wrap:wrap!important}
 #seller-dashboard .seller-revenue-history-summary{gap:12px!important;flex-wrap:wrap!important}
 #seller-dashboard .seller-revenue-history-summary>span{padding:12px!important;border-radius:10px!important;min-width:110px!important}
 #seller-dashboard .seller-revenue-history-summary strong{display:block!important;margin-top:7px!important}
 #seller-dashboard .seller-revenue-period-controls{margin-top:14px!important;gap:10px!important;flex-wrap:wrap!important}
 #seller-dashboard .seller-revenue-monthly-chart{height:220px!important;gap:10px!important;overflow-x:auto!important;grid-template-columns:repeat(12,minmax(52px,1fr))!important}
 #seller-dashboard .seller-revenue-month{min-width:52px!important;gap:9px!important;padding:0!important}
 #seller-dashboard .seller-revenue-bar-track{border-radius:7px 7px 0 0!important}
 #seller-dashboard .seller-secondary-details>summary{cursor:pointer!important;padding:0!important;list-style-position:inside!important}
 #seller-dashboard .seller-secondary-details[open]>summary{margin-bottom:18px!important}
 #seller-dashboard .seller-secondary-details .seller-revenue-history{padding:0!important;border:0!important;box-shadow:none!important}
 #seller-dashboard .seller-reward-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 16px!important}
 #seller-dashboard .table-wrap{overflow-x:auto!important;max-width:100%!important;border-radius:10px!important}
 #seller-dashboard :is(td,th){padding:12px 14px!important;vertical-align:middle!important}
 #dashboard :is(.panel,.kpi,.manager-today-card){padding:20px!important;border-radius:14px!important}
 #dashboard :is(.kpi-grid,.manager-today-grid){gap:16px!important}
 #dashboard .panel{margin-bottom:24px!important}
 #pipeline .pipeline-workspace{padding:24px!important;border:0!important;background:transparent!important;box-shadow:none!important;display:grid!important;gap:20px!important;min-width:0!important}
 #pipeline .panel-head{margin:0!important;gap:16px!important;align-items:center!important;flex-wrap:wrap!important}
 #pipeline .panel-head>div{min-width:0!important}
 #pipeline .panel-head h3{margin:0 0 6px!important}
 #pipeline .pipeline-summary-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:0!important}
 #pipeline .pipeline-summary-grid>article{padding:20px!important;min-width:0!important;min-height:144px!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;gap:10px!important}
 #pipeline .pipeline-summary-grid>article>strong{white-space:normal!important;overflow-wrap:anywhere!important;margin:0!important}
 #pipeline .pipeline-view-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important;padding:0 0 10px!important;border-bottom:1px solid var(--work-border)!important}
 #pipeline .pipeline-view-tabs button{display:flex!important;align-items:center!important;gap:8px!important;padding:10px 14px!important;border-radius:8px!important;box-shadow:none!important}
 #pipeline .pipeline-view-tabs span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:24px!important;padding:2px 6px!important;border-radius:6px!important}
 #pipeline .pipeline-filter-bar{display:grid!important;grid-template-columns:minmax(200px,2fr) minmax(150px,1fr) minmax(140px,1fr) auto!important;gap:12px!important;align-items:end!important;padding:16px!important;border-radius:12px!important;margin:0!important;min-width:0!important}
 #pipeline .pipeline-filter-bar label{display:grid!important;gap:7px!important;min-width:0!important}
 #pipeline .pipeline-filter-bar :is(input,select){width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:40px!important}
 #pipeline .pipeline-filter-bar>button{min-height:40px!important}
 #pipeline .pipeline-quick-filters{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;margin:0!important}
 #pipeline .pipeline-quick-filters button{padding:6px 10px!important;border-radius:20px!important;min-height:30px!important;box-shadow:none!important}
 #pipeline .pipeline-view-description{margin:0!important}
 #pipeline .pipeline-board-shell{padding:0!important;border:0!important;overflow:visible!important;min-width:0!important}
 #pipeline .pipeline-work-board{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;min-width:0!important;width:100%!important;align-items:start!important}
 #pipeline .pipeline-view-history{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #pipeline .pipeline-view-post{grid-template-columns:minmax(0,1fr)!important}
 #pipeline .pipeline-column{min-width:0!important;width:auto!important;padding:12px!important;border-radius:14px!important;max-height:none!important}
 #pipeline .pipeline-column>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;padding:4px 2px 14px!important;margin:0!important;border-top:0!important;min-height:64px!important}
 #pipeline .pipeline-column header>div{min-width:0!important;display:grid!important;gap:6px!important}
 #pipeline .pipeline-column header>strong{padding:3px 8px!important;border-radius:6px!important;min-width:28px!important;text-align:center!important}
 #pipeline .pipeline-column-body{display:flex!important;flex-direction:column!important;gap:12px!important;padding:2px!important;max-height:680px!important;overflow-y:auto!important;overflow-x:hidden!important;min-width:0!important}
 #pipeline .pipeline-view-post .pipeline-column-body{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;align-items:start!important;max-height:none!important;overflow:visible!important}
 #pipeline .pipeline-deal-compact{display:block!important;flex:0 0 auto!important;padding:0!important;border:1px solid var(--work-border)!important;border-left-width:1px!important;border-radius:12px!important;max-height:none!important;min-width:0!important;width:100%!important;overflow:visible!important;box-shadow:none!important;cursor:auto!important}
 #pipeline .pipeline-deal-open{display:grid!important;gap:8px!important;padding:16px!important;min-width:0!important;width:100%!important;border:0!important;border-radius:12px!important;box-shadow:none!important;text-align:left!important;white-space:normal!important;background:transparent!important}
 #pipeline .pipeline-deal-top{display:grid!important;gap:6px!important;min-width:0!important}
 #pipeline .pipeline-deal-top>strong{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;overflow-wrap:anywhere!important}
 #pipeline .pipeline-stage-label{display:block!important}
 #pipeline .pipeline-card-value{display:block!important;margin:0!important}
 #pipeline .pipeline-card-owner{display:block!important;overflow-wrap:anywhere!important}
 #pipeline .pipeline-card-next{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;padding-top:8px!important;border-top:1px solid var(--work-border)!important}
 #pipeline .pipeline-compact-badge{display:inline-flex!important;justify-self:start!important;max-width:100%!important;padding:4px 8px!important;border-radius:6px!important}
 #pipeline .pipeline-card-details{border-top:1px solid var(--work-border)!important;padding:10px 16px!important;min-width:0!important}
 #pipeline .pipeline-card-details summary{cursor:pointer!important;list-style-position:inside!important}
 #pipeline .pipeline-card-details dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}
 #pipeline .pipeline-card-details :is(dt,dd){margin:0!important;overflow-wrap:anywhere!important}
 #pipeline .pipeline-card-details dd{margin-top:4px!important}
 #pipeline .pipeline-loss-action{padding:6px 10px!important;margin-top:8px!important;white-space:normal!important}
 #pipeline .pipeline-show-more{padding:10px!important;border-radius:8px!important;width:100%!important;white-space:normal!important}
 #pipeline [hidden]{display:none!important}
 #pipeline :is(button,summary):focus-visible{outline:3px solid #f58220!important;outline-offset:2px!important}
 @media(max-width:1100px){#seller-dashboard .seller-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#pipeline .pipeline-work-board{grid-template-columns:repeat(2,minmax(0,1fr))!important}#pipeline .pipeline-view-active .stage-closing{grid-column:1/-1!important}#pipeline .pipeline-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}#pipeline .pipeline-view-post{grid-template-columns:minmax(0,1fr)!important}}
 @media(max-width:720px){#pipeline .pipeline-workspace{padding:12px!important}#pipeline .pipeline-work-board,#pipeline .pipeline-view-history{grid-template-columns:minmax(0,1fr)!important}#pipeline .pipeline-summary-grid,#seller-dashboard .seller-action-priorities{grid-template-columns:minmax(0,1fr)!important}#pipeline .pipeline-view-active .stage-closing{grid-column:auto!important}#seller-dashboard .seller-reward-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}#seller-dashboard :is(.seller-next-action-grid,.seller-smart-grid,.seller-portfolio-grid){grid-template-columns:minmax(0,1fr)!important}}
 @media(max-width:480px){#seller-dashboard .seller-performance-grid,#pipeline .pipeline-filter-bar{grid-template-columns:minmax(0,1fr)!important}#seller-dashboard :is(.seller-action-head,.seller-revenue-history,.seller-secondary-details){padding:16px!important}}
}
@layer crmTheme {
 #seller-dashboard .seller-performance-card:nth-child(1){border-top:3px solid #3d86f5!important}
 #seller-dashboard .seller-performance-card:nth-child(2){border-top:3px solid #9b6af4!important}
 #seller-dashboard .seller-performance-card:nth-child(3){border-top:3px solid #ed9a26!important}
 #seller-dashboard .seller-performance-card:nth-child(4){border-top:3px solid #28ac80!important}
 #pipeline .pipeline-summary-grid>article:nth-child(1),#pipeline .stage-negotiation{border-top:3px solid #3d86f5!important}
 #pipeline .pipeline-summary-grid>article:nth-child(2),#pipeline .stage-return{border-top:3px solid #ed9a26!important}
 #pipeline .pipeline-summary-grid>article:nth-child(3),#pipeline .stage-lost{border-top:3px solid #d26d70!important}
 #pipeline :is(.stage-closing,.stage-invoiced,.stage-post){border-top:3px solid #28ac80!important}
 :is(#seller-dashboard,#dashboard,#pipeline){color:var(--work-text)!important}
 #seller-dashboard :is(.seller-action-head,.seller-performance-card,.seller-revenue-history,.seller-client-day,.seller-day-agenda,.seller-smart-card,.seller-portfolio-card,.seller-opportunity-workspace,.seller-secondary-details),#dashboard :is(.panel,.kpi),#pipeline :is(.pipeline-summary-grid>article,.pipeline-deal-compact){background:var(--work-card)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important;box-shadow:var(--work-shadow)!important}
 #seller-dashboard :is(.seller-revenue-history-summary>span,.seller-period-tabs button),#pipeline :is(.pipeline-filter-bar,.pipeline-column,.pipeline-view-tabs span){background:var(--work-inset)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important}
 #seller-dashboard :is(.seller-action-title,.seller-performance-card>span,.seller-performance-card>small,.seller-priority-card small,.seller-action-head span,.seller-revenue-history small,.seller-revenue-chart-legend),#pipeline :is(.panel-head>div>span,.pipeline-summary-grid>article>span,.pipeline-summary-grid small,.pipeline-view-description,.pipeline-quick-filters>span,.pipeline-filter-bar label>span,.pipeline-column header small,.pipeline-card-owner,.pipeline-stage-label,.pipeline-card-details summary,.pipeline-card-details dt){color:var(--work-muted)!important}
 #seller-dashboard :is(.seller-performance-card>strong,.seller-conversion>strong),#pipeline :is(.pipeline-card-value,.pipeline-deal-top>strong,.pipeline-card-next,.pipeline-card-details dd,.pipeline-summary-grid>article>strong){color:var(--work-text)!important}
 #seller-dashboard .seller-secondary-details .seller-revenue-history{background:transparent!important}
 #seller-dashboard .seller-period-tabs button.active,#pipeline .pipeline-quick-filters button.active{background:#137a4b!important;color:#fff!important;border-color:#137a4b!important}
 #pipeline .pipeline-view-tabs button{background:transparent!important;color:var(--work-muted)!important;border:1px solid transparent!important}
 #pipeline .pipeline-view-tabs button.active{background:var(--work-card)!important;color:var(--work-text)!important;border-color:var(--work-border)!important;border-bottom:3px solid #f58220!important}
 #pipeline .pipeline-quick-filters button,#pipeline .pipeline-show-more{background:var(--work-card)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important}
 #pipeline .pipeline-deal-open{color:var(--work-text)!important}
 #pipeline .pipeline-deal-open:hover{background:var(--work-inset)!important}
 #pipeline .pipeline-compact-badge.late{background:#fff0ec!important;color:#a33526!important}
 #pipeline .pipeline-compact-badge.today{background:#e7f6ee!important;color:#12663e!important}
 #pipeline .pipeline-compact-badge.idle{background:#fff5df!important;color:#795415!important}
 #pipeline .pipeline-loss-action{background:var(--work-inset)!important;color:var(--work-text)!important;border-color:var(--work-border)!important}
 #pipeline .drag-over{outline:2px solid #f58220!important;outline-offset:2px!important}
 #pipeline .dragging{opacity:.55!important}
 html[data-crm-theme="dark"] #pipeline .pipeline-compact-badge.late{background:#3b2330!important;color:#ffb4ab!important}
 html[data-crm-theme="dark"] #pipeline .pipeline-compact-badge.today{background:#183b30!important;color:#79dfac!important}
 html[data-crm-theme="dark"] #pipeline .pipeline-compact-badge.idle{background:#3b2f22!important;color:#ffd094!important}
}

/* Pedidos e Produtos — mesma hierarquia visual, sem alterar regras comerciais. */
:is(#sales,#calculator,#products){--work-card:#fff;--work-inset:#f6f8fa;--work-border:#dce3e9;--work-text:#202a35;--work-muted:#657384;--work-accent:#137a4b;--work-shadow:0 2px 8px rgba(24,39,55,.035);min-width:0}
html[data-crm-theme="dark"] :is(#sales,#calculator,#products){--work-card:#192231;--work-inset:#121c29;--work-border:#303e50;--work-text:#e8eef6;--work-muted:#a8b6c8;--work-accent:#7adcad;--work-shadow:0 2px 10px rgba(0,0,0,.1)}
@layer crmTypography {
 :is(#sales,#calculator,#products) *{font-weight:400!important;line-height:1.45!important;letter-spacing:normal!important}
 :is(#sales,#calculator,#products) :is(label,small,span,dt,dd){font-size:13px!important}
 :is(#sales,#calculator,#products) :is(input,select,textarea,button){font-size:14px!important}
 :is(#sales,#calculator,#products) :is(strong,b){font-weight:600!important}
 :is(#sales,#calculator,#products) :is(h2,h3,h4),:is(#sales,#calculator,#products) :is(h2,h3,h4) *{font-size:18px!important;font-weight:600!important;line-height:1.35!important}
 :is(#sales,#calculator,#products) :is(th,thead),:is(#sales,#calculator,#products) :is(th,thead) *{font-size:12px!important;font-weight:600!important}
 #sales .sales-list-summary-cards>article>span,#sales .sales-list-summary-cards>button>span{font-size:13px!important;text-transform:none!important;font-weight:500!important}
 #sales .sales-list-summary-cards>article>strong,#sales .sales-list-summary-cards>button>strong{font-size:24px!important;font-weight:700!important;line-height:1.3!important}
 #sales .sales-order-list-top>div>strong{font-size:16px!important}
 #sales .sales-order-list-top>div>span,#sales .sales-order-list-body>div>span,#sales .order-locked-badge{font-size:12px!important;font-weight:400!important}
 #sales .sales-order-list-body>div:first-child>strong{font-size:16px!important}
 #sales .sales-order-list-body>div:last-child>strong{font-size:22px!important;font-weight:700!important;white-space:nowrap}
 #sales .sales-order-list-body>div:nth-child(2)>strong{font-size:14px!important;font-weight:500!important}
 #sales .company-order-status strong,#sales .company-order-status span,#sales .status-pill,#sales .fiscal-badge{font-size:12px!important;font-weight:500!important}
 #sales .company-order-status small,#sales .sales-list-explanation p{font-size:12px!important}
 #sales .sales-order-section>header strong,#sales .sales-section-head strong{font-size:16px!important}
 #calculator .product-fast-eyebrow{font-size:11px!important;font-weight:600!important;letter-spacing:1.2px!important}
 #calculator .product-fast-identity>strong{font-size:14px!important;font-weight:600!important;line-height:1.45!important}
 #calculator .product-fast-identity>span,#calculator .product-fast-base span,#calculator .product-search-status,#calculator .product-fast-identity small,#calculator .company-price-stock small{font-size:12px!important}
 #calculator .company-price-stock>strong{font-size:12px!important;font-weight:500!important}
 #calculator .company-price-stock>em{font-size:18px!important;font-weight:700!important;font-style:normal!important;white-space:nowrap}
 #calculator .product-stock-filter>span{font-size:13px!important;font-weight:500!important}
 #calculator .product-stock-filter>strong{font-size:22px!important;font-weight:700!important}
 #calculator .quote-company-main>span,#calculator .quote-company-values>span,#calculator .quote-company-selectors label{font-size:12px!important;text-transform:none!important;font-weight:500!important}
 #calculator .quote-company-main>strong{font-size:24px!important;font-weight:700!important;white-space:nowrap}
 #calculator .quote-company-values strong{font-size:16px!important;font-weight:600!important}
 #calculator .quote-installment-summary strong{font-size:14px!important;line-height:1.6!important}
 #calculator .quote-company-rate :is(span,strong,small){font-size:12px!important}
 #calculator .work-company-button span{font-size:14px!important;font-weight:600!important}
 #calculator .work-company-button small{font-size:11px!important}
}
@layer crmLayout {
 :is(#sales,#calculator,#products) :is(.panel,.sales-order-list-card,.sales-order-section,.sales-form,.product-fast-card){min-width:0;box-sizing:border-box}
 :is(#sales,#calculator,#products)>.panel,#calculator .workspace>.panel{padding:20px!important;border-radius:14px!important}
 :is(#sales,#calculator,#products) .panel-head{gap:12px!important;margin-bottom:20px!important;flex-wrap:wrap}
 :is(#sales,#calculator,#products) .panel-head>div{min-width:0}
 :is(#sales,#calculator,#products) label{display:grid;gap:7px!important;min-width:0}
 :is(#sales,#calculator,#products) :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box;border-radius:8px!important}
 :is(#sales,#calculator,#products) :is(input,select){min-height:42px!important}
 :is(#sales,#calculator,#products) :is(button):not(.product-thumb):not(.image-thumb){min-height:36px;border-radius:8px!important}
 :is(#sales,#calculator,#products) button:focus-visible,:is(#sales,#calculator,#products) summary:focus-visible{outline:2px solid #4f8df7!important;outline-offset:3px}
 #sales .sales-list-primary-action{display:flex!important;flex-direction:column;align-items:stretch!important;gap:20px!important;margin-bottom:20px!important}
 #sales #newSalesOrderButton{align-self:flex-start;padding:11px 18px!important}
 #sales .sales-list-summary-cards{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
 #sales .sales-list-summary-cards>article,#sales .sales-list-summary-cards>button{min-width:0!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px!important;padding:16px!important;border-radius:12px!important;min-height:104px!important;border-top:3px solid #518cf5!important}
 #sales .sales-list-summary-cards>article:nth-child(3){border-top-color:#28af88!important}
 #sales .sales-list-summary-cards>article:nth-child(4){border-top-color:#f2a731!important}
 #sales .sales-list-summary-cards>article:nth-child(6){border-top-color:#dc7878!important}
 #sales .sales-list-summary-cards>[hidden]{display:none!important}
 #sales .sales-list-tools{display:grid!important;grid-template-columns:minmax(200px,2fr) minmax(170px,1.4fr) repeat(2,minmax(140px,1fr)) minmax(170px,1.4fr)!important;align-items:end!important;gap:14px!important;padding:16px!important;border:1px solid var(--work-border)!important;border-radius:12px!important;margin:0!important}
 #sales .sales-list-tools>*{width:100%!important;min-width:0!important}
 #sales .sales-list-tools label>span{text-transform:none!important}
 #sales .sales-list-explanation{margin:12px 0 24px!important;padding:10px 14px;border-radius:8px}
 #sales .sales-list-explanation summary{cursor:pointer;font-size:12px!important}
 #sales .sales-list-explanation p{margin:10px 0 0!important;line-height:1.6!important}
 #sales .sales-order-list-rows{display:grid!important;gap:16px!important}
 #sales .sales-order-list-card{padding:0!important;border-radius:12px!important;overflow:hidden;box-shadow:var(--work-shadow)!important}
 #sales .sales-order-list-top{padding:14px 18px!important;gap:12px!important;align-items:flex-start!important;flex-wrap:wrap;border-bottom:1px solid var(--work-border)!important}
 #sales .sales-order-list-top>div:first-child{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
 #sales .order-status-group{display:flex;flex-wrap:wrap;gap:6px!important}
 #sales .sales-order-list-body{padding:18px!important;display:grid!important;grid-template-columns:minmax(190px,2fr) minmax(105px,1fr) minmax(210px,1.6fr) minmax(130px,1fr)!important;gap:20px!important;align-items:start!important}
 #sales .sales-order-list-body>div{min-width:0;display:flex;flex-direction:column;gap:8px!important}
 #sales .sales-order-list-body strong{overflow-wrap:anywhere}
 #sales .company-order-status-list{gap:8px!important}
 #sales .company-order-status{padding:8px 10px!important;gap:6px!important;border-radius:8px!important;flex-wrap:wrap}
 #sales .sales-order-list-actions{padding:12px 18px!important;border-top:1px solid var(--work-border)!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:10px!important}
 #sales .sales-order-list-actions .order-locked-badge{margin-right:auto}
 #sales .sales-workspace{gap:20px!important}
 #sales :is(.sales-order-section,.sales-client-card,.sales-quote-shell,.sales-payment-split){padding:18px!important;border-radius:12px!important;margin-bottom:16px!important}
 #sales :is(.sales-form-grid,.sales-client-grid,.sales-order-grid,.sales-payment-grid){gap:16px!important}
 #calculator .workspace{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,380px)!important;align-items:start;gap:20px!important}
 #calculator .search-panel{overflow:visible!important}
 #calculator .product-fast-head{align-items:flex-start!important;gap:16px!important;padding-bottom:18px!important;border-bottom:1px solid var(--work-border)!important}
 #calculator .product-fast-head h3{margin:4px 0 6px!important}
 #calculator .product-fast-base{max-width:100%;overflow-wrap:anywhere;text-align:right}
 #calculator .field-row{display:grid!important;grid-template-columns:minmax(200px,2fr) minmax(140px,1fr) minmax(160px,1fr) 90px!important;gap:14px!important;align-items:end!important;margin-bottom:18px!important}
 #calculator .field-row>*{min-width:0!important;max-width:100%}
 #calculator .work-company-switch{min-height:42px!important;width:100%;box-sizing:border-box}
 #calculator .work-company-button{min-width:0!important;padding:5px 12px!important}
 #calculator .product-stock-filter-cards{gap:14px!important;margin:0 0 16px!important}
 #calculator .product-stock-filter{padding:12px 14px!important;gap:12px!important;min-height:60px!important;border-radius:10px!important}
 #calculator .product-search-status{margin:10px 0 14px!important}
 #calculator #productResults{display:grid!important;gap:12px!important;max-height:72vh!important;min-height:200px;overflow:auto!important;padding:2px 6px 6px 2px!important;overscroll-behavior:contain}
 #calculator .product-fast-card{display:grid!important;grid-template-columns:56px minmax(160px,1fr) minmax(130px,160px) 150px!important;gap:16px!important;align-items:center!important;padding:16px!important;margin:0!important;border-radius:12px!important}
 #calculator .product-thumb{width:56px!important;height:56px!important;min-width:56px!important;object-fit:contain;border-radius:8px!important}
 #calculator .product-fast-identity{display:flex;flex-direction:column;gap:6px!important;min-width:0}
 #calculator .product-fast-identity>strong{overflow-wrap:anywhere}
 #calculator .product-fast-availability{align-self:flex-start;padding:3px 8px!important}
 #calculator .product-company-summary{min-width:0;gap:10px!important;width:100%}
 #calculator .company-price-stock{width:100%!important;min-width:0!important;box-sizing:border-box;padding:10px 12px!important;border-radius:8px!important;gap:4px!important}
 #calculator .product-fast-actions{display:grid!important;gap:8px!important;min-width:0}
 #calculator .product-fast-actions button{width:100%;padding:8px 10px!important;white-space:normal!important}
 #calculator .quote-panel{position:sticky!important;top:16px;display:flex;flex-direction:column;gap:18px!important;max-height:none!important}
 #calculator .quote-panel .panel-head{margin-bottom:0!important}
 #calculator .selected-box{padding:14px!important;border-radius:10px!important;line-height:1.6!important;overflow-wrap:anywhere}
 #calculator .selected-stock-summary{margin:10px 0!important}
 #calculator #selectedBox .product-company-summary{margin-top:12px!important}
 #calculator .quote-company-comparison{display:grid;gap:16px!important}
 #calculator .quote-company-card{padding:16px!important;border-radius:12px!important;min-width:0;display:flex;flex-direction:column;gap:16px!important}
 #calculator .quote-company-card>header{margin:0!important;gap:10px}
 #calculator .quote-company-selectors{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
 #calculator .quote-company-selectors select{width:100%;text-overflow:ellipsis}
 #calculator .quote-company-rate{padding:10px!important;margin:0!important;gap:5px!important}
 #calculator .quote-company-main{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:10px!important;padding:14px!important;margin:0!important}
 #calculator .quote-company-values{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #calculator .quote-company-values>span{padding:12px!important;min-width:0;display:flex;flex-direction:column;gap:6px!important}
 #calculator .quote-installment-summary{grid-column:1/-1!important;white-space:normal!important;overflow:visible!important}
 #calculator .quote-installment-summary strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
 #calculator .quote-company-copy{padding:11px!important;width:100%}
 #calculator .quote-clean-actions{margin:0!important}
 @media(max-width:1400px){
  #calculator .field-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important}
  #calculator .product-fast-card{grid-template-columns:56px minmax(0,1fr) minmax(130px,160px)!important}
  #calculator .product-fast-actions{grid-column:2/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
  #sales .sales-list-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #sales .sales-list-tools>label:first-child{grid-column:1/-1}
  #sales .sales-order-list-body{grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important}
  #sales .sales-order-list-body>div:last-child{grid-column:2;grid-row:2}
 }
 @media(max-width:1100px){
  #calculator .workspace{grid-template-columns:minmax(0,1fr)!important}
  #calculator .quote-panel{position:static!important}
  #calculator .quote-company-selectors{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #sales .sales-list-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 }
 @media(max-width:720px){
  :is(#sales,#calculator,#products)>.panel,#calculator .workspace>.panel{padding:16px!important}
  #calculator .field-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #calculator .field-row>label:first-child{grid-column:1/-1}
  #calculator .product-fast-base{text-align:left}
  #calculator .product-fast-card{grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;padding:14px!important}
  #calculator .product-thumb{width:52px!important;height:52px!important;min-width:52px!important}
  #calculator .product-fast-card>.product-company-summary{grid-column:2}
  #calculator .product-fast-actions{grid-column:1/-1}
  #calculator .quote-company-selectors{grid-template-columns:minmax(0,1fr)!important}
  #sales .sales-list-summary-cards>article>strong{font-size:21px!important}
  #sales .sales-order-list-body{gap:18px!important}
  #sales .sales-order-list-body>div:nth-child(3){grid-column:1/-1}
  #sales .sales-order-list-body>div:last-child{grid-column:2;grid-row:1}
  #sales .sales-order-list-body>div:nth-child(2){grid-column:1/-1;grid-row:2}
  #sales .sales-order-list-actions .order-locked-badge{margin-right:0}
 }
 @media(prefers-reduced-motion:reduce){:is(#sales,#calculator,#products) *{scroll-behavior:auto!important;transition:none!important}}
}
@layer crmTheme {
 :is(#sales,#calculator,#products){color:var(--work-text)!important}
 :is(#sales,#calculator,#products)>.panel,#calculator .workspace>.panel,#sales .sales-order-list-card{background:var(--work-card)!important;border:1px solid var(--work-border)!important;box-shadow:var(--work-shadow)!important}
 :is(#sales,#calculator,#products) :is(h2,h3,h4,strong,b){color:var(--work-text)!important}
 :is(#sales,#calculator,#products) label{color:var(--work-muted)!important}
 :is(#sales,#calculator,#products) :is(input,select,textarea){background:var(--work-inset)!important;color:var(--work-text)!important;border-color:var(--work-border)!important}
 #sales .sales-list-summary-cards>article,#sales .sales-list-summary-cards>button{background:var(--work-inset)!important;border-color:var(--work-border)!important;color:var(--work-text)!important}
 #sales .sales-list-summary-cards>article:nth-child(1),#sales .sales-list-summary-cards>article:nth-child(2){border-top-color:#518cf5!important}
 #sales .sales-list-summary-cards>article:nth-child(3){border-top-color:#28af88!important}
 #sales .sales-list-summary-cards>article:nth-child(4){border-top-color:#f2a731!important}
 #sales .sales-list-summary-cards>article:nth-child(5){border-top-color:#9870e8!important}
 #sales .sales-list-summary-cards>article:nth-child(6){border-top-color:#dc7878!important}
 #sales .sales-list-tools,#sales .sales-list-explanation,#sales .sales-order-list-top,#sales .sales-order-list-actions{background:var(--work-inset)!important;color:var(--work-muted)!important}
 #sales .sales-order-list-body{background:var(--work-card)!important}
 #sales .sales-list-summary-cards span,#sales .sales-order-list-body>div>span,#sales .sales-order-list-top>div>span{color:var(--work-muted)!important}
 #sales .sales-order-list-body>div:last-child>strong{color:var(--work-accent)!important}
 #calculator .product-fast-card,#calculator .selected-box{background:var(--work-card)!important;border:1px solid var(--work-border)!important;color:var(--work-text)!important;box-shadow:var(--work-shadow)!important}
 #calculator .product-fast-card.active{border-color:#518cf5!important;box-shadow:0 0 0 1px #518cf5!important}
 #calculator .product-fast-identity>span,#calculator .product-fast-base span,#calculator .product-search-status{color:var(--work-muted)!important}
 #calculator .company-price-stock,#calculator .quote-company-card{background:var(--work-inset)!important;border-color:var(--work-border)!important;border-left:3px solid #518cf5!important;color:var(--work-text)!important}
 #calculator .company-price-stock.company-xbr,#calculator .quote-company-card.company-xbr{border-left-color:#ff8a26!important}
 #calculator .company-price-stock em{color:var(--work-text)!important}
 #calculator .quote-company-main,#calculator .quote-company-values>span,#calculator .quote-company-rate{background:var(--work-card)!important;border:1px solid var(--work-border)!important;color:var(--work-muted)!important}
 #calculator .quote-company-main>strong{color:var(--work-accent)!important}
 #calculator .product-stock-filter{background:var(--work-inset)!important;color:var(--work-muted)!important;border-color:var(--work-border)!important}
 #calculator .product-stock-filter.active{border-color:#24a374!important;box-shadow:inset 3px 0 #24a374!important}
 #calculator .product-stock-filter.active>strong{color:var(--work-accent)!important}
 :is(#sales,#calculator,#products) button.secondary{background:var(--work-inset)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important}
}

@layer crmTypography {
 #sales .sales-total-grid strong{font-size:24px!important;font-weight:700!important;line-height:1.3!important}
 #sales .sales-section-title{font-size:12px!important;font-weight:600!important;letter-spacing:.8px!important}
}
@layer crmLayout {
 :is(#sales,#calculator,#products) input:is([type="checkbox"],[type="radio"]){min-height:0!important;height:18px!important;width:18px!important;flex:0 0 18px}
 #sales .sales-pix-discount-policy{display:flex!important;align-items:flex-start!important;gap:10px!important}
 #sales .sales-total-grid>div{padding:16px!important;border-radius:10px!important;display:grid!important;gap:10px!important}
}
@layer crmTheme {
 #sales .sales-total-grid>div{background:var(--work-inset)!important;border:1px solid var(--work-border)!important;color:var(--work-text)!important}
 #sales .sales-total-grid>div>span{color:var(--work-muted)!important}
 #sales .sales-total-grid>div>strong{color:var(--work-accent)!important}
}

@layer crmLayout {
 #calculator .product-fast-card>.product-company-summary{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-column:auto!important;grid-row:auto!important;width:100%!important}
 #calculator .product-fast-card>.product-fast-actions{grid-column:auto!important;grid-row:auto!important;width:auto!important;grid-template-columns:minmax(0,1fr)!important}
 @media(max-width:1400px){#calculator .product-fast-card>.product-fast-actions{grid-column:2/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
 @media(max-width:720px){#calculator .product-fast-card>.product-company-summary{grid-column:2!important}#calculator .product-fast-card>.product-fast-actions{grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
}

/* Clientes e Metas & Comissão — apresentação, sem alterações cadastrais ou financeiras. */
:is(#clients,#seller-goals){--work-card:#fff;--work-inset:#f6f8fa;--work-border:#dce3e9;--work-text:#202a35;--work-muted:#657384;--work-accent:#137a4b;--work-shadow:0 2px 8px rgba(24,39,55,.035);min-width:0}
html[data-crm-theme="dark"] :is(#clients,#seller-goals){--work-card:#192231;--work-inset:#121c29;--work-border:#303e50;--work-text:#e8eef6;--work-muted:#a8b6c8;--work-accent:#7adcad;--work-shadow:0 2px 10px rgba(0,0,0,.1)}
@layer crmTypography {
 :is(#clients,#seller-goals) *{font-weight:400!important;line-height:1.45!important;letter-spacing:normal!important}
 :is(#clients,#seller-goals) :is(span,small,label,p,dt,dd){font-size:13px!important}
 :is(#clients,#seller-goals) :is(input,select,textarea,button){font-size:14px!important}
 :is(#clients,#seller-goals) :is(strong,b){font-weight:600!important}
 :is(#clients,#seller-goals) :is(h2,h3,h4),:is(#clients,#seller-goals) :is(h2,h3,h4) *{font-size:18px!important;font-weight:600!important;line-height:1.35!important}
 :is(#clients,#seller-goals) :is(th,thead),:is(#clients,#seller-goals) :is(th,thead) *{font-size:12px!important;font-weight:600!important}
 :is(#clients,#seller-goals) .kpi>span{font-size:13px!important;font-weight:500!important;text-transform:none!important}
 :is(#clients,#seller-goals) .kpi>strong{font-size:24px!important;font-weight:700!important;line-height:1.3!important;overflow-wrap:anywhere}
 :is(#clients,#seller-goals) .kpi>small{font-size:12px!important}
 :is(#clients,#seller-goals) .sales-section-title{font-size:12px!important;font-weight:600!important;letter-spacing:.8px!important}
 #clients .client-directory-identity>strong{font-size:14px!important;font-weight:600!important;line-height:1.4!important}
 #clients :is(.client-directory-document,.client-directory-location,.client-directory-item>small,.client-detail-head>div>span,.client-timeline time,.client-overview-summary article>span){font-size:12px!important}
 #clients .client-directory-item>small{font-weight:500!important}
 #clients .client-overview-summary article>strong{font-size:14px!important;font-weight:500!important}
 #clients .client-detail-tabs button{font-size:13px!important;font-weight:500!important}
 #clients .client-timeline strong{font-size:14px!important;font-weight:500!important}
 #seller-goals .seller-super-bonus-strip>strong{font-size:12px!important;letter-spacing:.8px!important}
 #seller-goals .seller-super-bonus-strip>span{font-size:13px!important}
 #seller-goals .seller-category-progress-card header>div:first-child>strong{font-size:16px!important;font-weight:600!important}
 #seller-goals .seller-category-progress-card header>div:first-child>span{font-size:22px!important;font-weight:700!important}
 #seller-goals .seller-category-progress-card header>div:last-child :is(span,small){font-size:13px!important}
 #seller-goals .seller-category-progress-card footer :is(span,strong){font-size:12px!important;font-weight:400!important}
 #seller-goals :is(.seller-rule-note,.seller-subtitle){font-size:12px!important;line-height:1.6!important}
}
@layer crmLayout {
 :is(#clients,#seller-goals) .panel{padding:20px!important;border-radius:14px!important;min-width:0;box-sizing:border-box}
 :is(#clients,#seller-goals) .panel-head{margin-bottom:20px!important;gap:12px!important;flex-wrap:wrap}
 :is(#clients,#seller-goals) .kpi-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0 0 24px!important}
 :is(#clients,#seller-goals) .kpi{min-width:0!important;padding:16px!important;min-height:116px!important;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px!important;border-radius:12px!important;border-top:3px solid #518cf5!important;box-sizing:border-box}
 :is(#clients,#seller-goals) .kpi:nth-child(2){border-top-color:#f2a731!important}
 :is(#clients,#seller-goals) .kpi:nth-child(3){border-top-color:#9870e8!important}
 :is(#clients,#seller-goals) .kpi:nth-child(4){border-top-color:#28af88!important}
 #clients .clients-layout{display:grid!important;grid-template-columns:minmax(320px,.9fr) minmax(440px,1.4fr)!important;gap:20px!important;align-items:start!important}
 #clients .clients-layout>.selected-box{padding:16px!important;border-radius:12px!important;min-width:0!important}
 #clients .sales-history-head{display:flex!important;justify-content:space-between;gap:16px!important;align-items:flex-start!important;flex-wrap:wrap;margin-bottom:20px!important}
 #clients .sales-history-head .actions{display:flex;gap:10px!important;flex-wrap:wrap}
 #clients .sales-history-head .sales-subtitle{display:block;margin-top:7px!important}
 #clients .field-row{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(100px,1fr)!important;gap:14px!important;margin:0 0 16px!important}
 #clients .client-filter-secondary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #clients .client-filter-secondary>label:first-child{grid-column:1/-1!important}
 #clients label{min-width:0!important;display:grid;gap:7px!important}
 :is(#clients,#seller-goals) :is(input,select,textarea){min-width:0!important;max-width:100%;box-sizing:border-box;border-radius:8px!important}
 :is(#clients,#seller-goals) :is(input,select):not([type="checkbox"]):not([type="radio"]){min-height:42px!important;width:100%}
 :is(#clients,#seller-goals) button{min-height:36px;border-radius:8px!important}
 :is(#clients,#seller-goals) :is(button,summary):focus-visible{outline:2px solid #518cf5!important;outline-offset:3px}
 #clients #clientRows{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;max-height:620px!important;overflow:auto!important;padding:2px 6px 4px 2px!important;overscroll-behavior:contain}
 #clients .client-directory-item{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:8px!important;padding:14px!important;min-width:0;width:100%;text-align:left!important;border-radius:10px!important;box-sizing:border-box}
 #clients .client-directory-identity{display:flex!important;flex-direction:column;gap:6px!important;max-width:100%}
 #clients .client-directory-identity strong{overflow-wrap:anywhere}
 #clients .client-directory-item>small{align-self:flex-start;padding:4px 8px!important;border-radius:6px!important}
 #clients .client-detail-panel{padding:20px!important;min-width:0!important;border-radius:12px!important}
 #clients .client-detail-head{display:flex!important;align-items:flex-start!important;justify-content:space-between;flex-wrap:wrap;gap:16px!important;padding-bottom:18px!important;margin-bottom:0!important;border-bottom:1px solid var(--work-border)!important}
 #clients .client-detail-head>div{min-width:0}
 #clients .client-detail-head h3{margin:0 0 8px!important;overflow-wrap:anywhere}
 #clients .client-detail-head>div>span{display:block;line-height:1.6!important;overflow-wrap:anywhere}
 #clients .client-detail-head .actions{display:flex!important;gap:10px!important;flex-wrap:wrap}
 #clients .client-detail-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap;margin:18px 0!important;padding:0 0 14px!important;border-bottom:1px solid var(--work-border)!important}
 #clients .client-detail-tabs button{padding:9px 14px!important}
 #clients .client-overview-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0 0 18px!important}
 #clients .client-overview-summary article{padding:14px!important;display:flex!important;flex-direction:column;gap:10px!important;min-width:0!important;border-radius:10px!important}
 #clients .client-overview-summary article strong{overflow-wrap:anywhere}
 #clients .client-next-action{padding:14px!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:8px!important;border-radius:10px!important;margin-bottom:20px!important}
 #clients .client-timeline{display:grid!important;gap:12px!important;margin-top:14px!important}
 #clients .client-timeline>article{padding:14px!important;display:flex!important;flex-direction:column;gap:7px!important;border-radius:8px!important;min-width:0;overflow-wrap:anywhere;border-left:3px solid #518cf5!important}
 #clients .client-timeline>article.timeline-ganho{border-left-color:#28af88!important}
 #clients .client-timeline>article.timeline-perdido{border-left-color:#dc7878!important}
 #clients .client-timeline>article.timeline-contact{border-left-color:#9870e8!important}
 #clients .table-wrap{max-width:100%;overflow-x:auto!important}
 #clients :is(.client-detail-orders,.client-history-grid){min-width:0;gap:16px!important}
 #seller-goals .seller-goals-head{margin-bottom:20px!important}
 #seller-goals .seller-super-bonus-strip{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:12px 20px!important;padding:16px!important;border-radius:12px!important;margin:0 0 24px!important}
 #seller-goals .seller-category-goals{padding:20px!important;border-radius:12px!important;margin:0 0 20px!important;min-width:0}
 #seller-goals .sales-history-head{display:flex;flex-wrap:wrap;gap:14px!important;justify-content:space-between;margin-bottom:18px!important}
 #seller-goals .sales-history-head .sales-subtitle{display:block;margin-top:7px!important}
 #seller-goals .seller-category-progress-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin-top:20px!important}
 #seller-goals .seller-category-progress-card{padding:18px!important;border-radius:12px!important;min-width:0;display:flex!important;flex-direction:column;gap:20px!important;margin:0!important}
 #seller-goals .seller-category-progress-card header{display:flex!important;align-items:flex-start!important;justify-content:space-between;gap:16px!important;flex-wrap:wrap}
 #seller-goals .seller-category-progress-card header>div{display:flex!important;flex-direction:column;gap:10px!important;min-width:0}
 #seller-goals .seller-category-progress-card header>div:last-child{text-align:right;margin-left:auto}
 #seller-goals .seller-category-progress-card footer{display:flex!important;justify-content:space-between;align-items:flex-start!important;flex-wrap:wrap;gap:12px!important}
 #seller-goals .seller-progress-track{height:8px!important;border-radius:5px!important;overflow:hidden;margin:0!important}
 #seller-goals .seller-progress-track>span{height:100%!important;display:block!important;border-radius:5px!important}
 #seller-goals .seller-rule-note{padding:12px 14px!important;border-radius:8px!important;margin:12px 0!important}
 #seller-goals .seller-goals-table{max-width:100%;overflow-x:auto!important;border-radius:10px}
 #seller-goals .seller-goals-table :is(td,th){padding:12px!important}
 @media(max-width:1200px){#clients .clients-layout{grid-template-columns:minmax(0,1fr)!important}#clients #clientRows{max-height:420px!important}:is(#clients,#seller-goals) .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
 @media(max-width:800px){#seller-goals .seller-category-progress-list{grid-template-columns:minmax(0,1fr)!important}}
 @media(max-width:600px){
  :is(#clients,#seller-goals) .panel{padding:16px!important}
  :is(#clients,#seller-goals) .kpi{padding:14px!important}
  :is(#clients,#seller-goals) .kpi>strong{font-size:22px!important}
  #clients .client-kpi-grid>.kpi:last-child{grid-column:1/-1!important}
  #clients .client-overview-summary{grid-template-columns:minmax(0,1fr)!important}
  #clients :is(.client-filter-primary,.client-filter-secondary){grid-template-columns:minmax(0,1fr)!important}
  #clients .client-detail-panel,#seller-goals .seller-category-goals{padding:16px!important}
 }
}
@layer crmTheme {
 :is(#clients,#seller-goals){color:var(--work-text)!important}
 :is(#clients,#seller-goals) .panel{background:var(--work-card)!important;border:1px solid var(--work-border)!important;box-shadow:var(--work-shadow)!important}
 :is(#clients,#seller-goals) .kpi{background:var(--work-inset)!important;border-color:var(--work-border)!important;border-top-color:#518cf5!important;color:var(--work-text)!important}
 :is(#clients,#seller-goals) .kpi:nth-child(2){border-top-color:#f2a731!important}
 :is(#clients,#seller-goals) .kpi:nth-child(3){border-top-color:#9870e8!important}
 :is(#clients,#seller-goals) .kpi:nth-child(4){border-top-color:#28af88!important}
 :is(#clients,#seller-goals) :is(h2,h3,h4){color:var(--work-text)!important}
 :is(#clients,#seller-goals) .kpi>strong{color:var(--work-text)!important}
 :is(#clients,#seller-goals) :is(.kpi>span,.kpi>small,label,.sales-subtitle){color:var(--work-muted)!important}
 :is(#clients,#seller-goals) :is(input,select,textarea){background:var(--work-card)!important;color:var(--work-text)!important;border-color:var(--work-border)!important}
 :is(#clients,#seller-goals) button.secondary{background:var(--work-inset)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important}
 #clients .clients-layout>.selected-box,#clients .client-overview-summary article{background:var(--work-inset)!important;border:1px solid var(--work-border)!important;color:var(--work-text)!important}
 #clients .client-detail-panel,#clients .client-directory-item,#clients .client-timeline>article{background:var(--work-card)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important}
 #clients .client-directory-item.active{background:var(--work-inset)!important;border-color:#518cf5!important;box-shadow:inset 3px 0 #518cf5!important}
 #clients .client-directory-item strong,#clients .client-overview-summary strong,#clients .client-timeline strong{color:var(--work-text)!important}
 #clients :is(.client-directory-document,.client-directory-location,.client-detail-head>div>span,.client-overview-summary article>span,.client-timeline time){color:var(--work-muted)!important}
 #clients .client-detail-tabs button{background:var(--work-inset)!important;border:1px solid var(--work-border)!important;color:var(--work-muted)!important}
 #clients .client-detail-tabs button.active{color:var(--work-text)!important;border-color:#518cf5!important;box-shadow:inset 0 -2px #518cf5!important}
 #seller-goals .seller-category-goals{background:var(--work-inset)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important}
 #seller-goals .seller-category-progress-card{background:var(--work-card)!important;border:1px solid var(--work-border)!important;box-shadow:var(--work-shadow)!important;color:var(--work-text)!important}
 #seller-goals .seller-category-progress-card header>div:first-child>strong{color:var(--work-text)!important}
 #seller-goals .seller-category-progress-card header>div:first-child>span{color:var(--work-accent)!important}
 #seller-goals .seller-category-progress-card header>div:last-child :is(span,small),#seller-goals .seller-category-progress-card footer{color:var(--work-muted)!important}
 #seller-goals .seller-progress-track{background:var(--work-border)!important}
 #seller-goals .seller-progress-track>span{background:#25a974!important}
 #seller-goals .seller-super-bonus-strip{background:var(--work-inset)!important;color:var(--work-text)!important;border:1px solid var(--work-border)!important;border-left:3px solid #9870e8!important}
 #seller-goals .seller-super-bonus-strip :is(strong,span){color:var(--work-text)!important}
 #seller-goals .seller-rule-note{background:var(--work-inset)!important;color:var(--work-muted)!important;border:1px solid var(--work-border)!important}
}

@layer crmLayout { :is(#clients,#seller-goals) [hidden]{display:none!important} }

/* Revisão geral dos módulos do vendedor e do gestor — somente apresentação. */
@font-face{font-family:Lexend;src:url("assets/lexend-variable.ttf?v=20261027") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}
:is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products),body.crm-tax-workspace{--work-card:#fff;--work-inset:#f6f8fa;--work-border:#dce3e9;--work-text:#202a35;--work-muted:#657384;--work-accent:#137a4b;--work-shadow:0 2px 8px rgba(24,39,55,.035);min-width:0}
html[data-crm-theme="dark"] :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products),html[data-crm-theme="dark"] body.crm-tax-workspace{--work-card:#192231;--work-inset:#121c29;--work-border:#303e50;--work-text:#e8eef6;--work-muted:#a8b6c8;--work-accent:#7adcad;--work-shadow:0 2px 10px rgba(0,0,0,.1)}
@layer crmTypography {
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products),:is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) *{font-family:Lexend,sans-serif!important;font-weight:400!important;line-height:1.5!important;letter-spacing:normal!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(p,span,small,label,dt,dd){font-size:13px!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(input,select,textarea,button,td){font-size:14px!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(strong,b){font-weight:600!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(h2,h3,h4),:is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(h2,h3,h4) *{font-size:18px!important;font-weight:600!important;line-height:1.35!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(th,thead),:is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(th,thead) *{font-size:12px!important;font-weight:600!important;text-transform:none!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi>span,.purchase-kpi>small,.profitability-period-kpis article>span,.profitability-financial-kpis article>span,.profitability-kpis article>span){font-size:13px!important;font-weight:500!important;text-transform:none!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi>strong,.purchase-kpi>strong,.profitability-period-kpis article>strong,.profitability-financial-kpis article>strong,.profitability-kpis article>strong,.settings-health-grid article>strong){font-size:24px!important;font-weight:700!important;line-height:1.3!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.form-status,.sync-note,.sales-subtitle,.business-days-note,.pricing-formula,.tax-source-label){font-size:12px!important;line-height:1.6!important}
 #queue :is(.whats-sales-eyebrow,.queue-execution-head>span),#profitability .profitability-eyebrow{font-size:11px!important;font-weight:600!important;letter-spacing:.8px!important}
 #queue :is(.whats-sales-message-text,.whats-sales-message-bubble){font-size:14px!important}
 #settings .seller-security-row>div>strong{font-size:15px!important;font-weight:600!important}
 #settings .seller-security-row>div :is(span,small){font-size:12px!important}
 #products .product-integrity-grid article>strong{font-size:18px!important;font-weight:600!important}
 body.crm-tax-workspace,body.crm-tax-workspace *{font-family:Lexend,sans-serif!important;line-height:1.5!important;font-weight:400!important}
 body.crm-tax-workspace :is(input,select,textarea,button,p,td){font-size:14px!important}
 body.crm-tax-workspace :is(label,small,span){font-size:13px!important}
 body.crm-tax-workspace h1{font-size:20px!important;font-weight:600!important}
 body.crm-tax-workspace :is(h2,h3){font-size:18px!important;font-weight:600!important}
 body.crm-tax-workspace :is(b,strong){font-weight:600!important}
 body.crm-tax-workspace :is(th,thead),body.crm-tax-workspace :is(th,thead) *{font-size:12px!important;font-weight:600!important}
 body.crm-tax-workspace [id$="precoFinal"],body.crm-tax-workspace .tributario-kpi strong{font-size:24px!important;font-weight:700!important}
 :is(.simple-modal-box,.sales-product-picker-panel,.order-confirm-panel) :is(h2,h3){font-size:20px!important;font-weight:600!important}
 :is(.simple-modal-box,.sales-product-picker-panel,.order-confirm-panel) :is(label,small){font-size:13px!important;font-weight:400!important}
}
@layer crmLayout {
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .panel{padding:20px!important;border-radius:14px!important;min-width:0!important;box-sizing:border-box;margin-bottom:20px!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .panel-head,:is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .approval-toolbar{display:flex!important;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px!important;margin-bottom:20px!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .panel-head>div{min-width:0}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(label,.panel-head h3){min-width:0;overflow-wrap:anywhere}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) label{gap:7px!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%;border-radius:8px!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(input,select):not([type="checkbox"]):not([type="radio"]){min-height:42px!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) input:is([type="checkbox"],[type="radio"]){min-height:0!important;width:18px!important;height:18px!important;flex:0 0 18px}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) button{border-radius:8px!important;min-height:36px;max-width:100%;white-space:normal!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.actions,.settings-actions,.purchase-actions,.tax-planning-actions){gap:10px!important;flex-wrap:wrap}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(button,summary):focus-visible{outline:2px solid #518cf5!important;outline-offset:3px}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .table-wrap{display:block!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overscroll-behavior-x:contain;border-radius:10px!important;box-sizing:border-box}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) table{border-collapse:collapse!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(th,td){padding:12px!important;vertical-align:top}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .integration-collapsible{border-radius:12px!important;margin-bottom:16px!important;min-width:0}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .integration-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px!important;cursor:pointer}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .integration-collapsible-body{padding:18px!important;min-width:0}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi-grid,.purchase-kpis,.profitability-period-kpis,.profitability-financial-kpis,.profitability-kpis,.settings-health-grid,.product-integrity-grid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:20px 0!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi,.purchase-kpi,.profitability-period-kpis>article,.profitability-financial-kpis>article,.profitability-kpis>article,.settings-health-grid>article,.product-integrity-grid>article){min-width:0!important;padding:16px!important;border-radius:12px!important;display:flex;flex-direction:column;gap:12px!important;overflow-wrap:anywhere;box-sizing:border-box}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.settings-grid,.pricing-rule-fields,.profitability-rule-grid,.initial-migration-grid,.commercial-company-summary-grid,.pricing-source-grid,.product-audit-workflow ol,.manager-company-update-grid){gap:16px!important;min-width:0}
 #settings .settings-grid,#pricing-rules .pricing-rule-fields,#profitability .profitability-rule-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #settings .settings-hub-tabs,#profitability .profitability-mode-tabs,#tire-search .tire-research-tabs,#queue .whats-sales-mode-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap;margin-bottom:20px!important}
 #settings .settings-hub-tabs button,#profitability .profitability-mode-tabs button,#tire-search .tire-research-tabs button{padding:10px 14px!important}
 #settings .seller-security-list{display:grid;gap:18px!important}
 #settings .seller-security-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:18px!important;border-radius:12px!important;min-width:0}
 #settings .seller-security-row>div:first-child{grid-column:1/-1;display:grid;gap:6px}
 #settings .seller-active-toggle{display:flex!important;align-items:center;gap:8px!important}
 #settings :is(.oauth-company-grid,.initial-migration-grid,.commercial-company-summary-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #settings :is(.oauth-company-card,.commercial-company-summary-card,.migration-spreadsheet-box,.settings-health-grid>article){padding:18px!important;border-radius:12px!important;min-width:0}
 #settings :is(.whats-sales-main-phone-editor,.bling-audit-form,.bling-audit-date-fields,.bling-monthly-controls,.product-mapping-filters,.product-mapping-editor){gap:14px!important;min-width:0}
 #profitability :is(.profitability-history-filters,.profitability-rule-grid){gap:14px!important;min-width:0}
 #profitability .profitability-history-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:16px!important;border-radius:12px!important}
 #profitability :is(.profitability-grid,.profitability-comparison-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
 #profitability :is(.profitability-card,.profitability-financial-health,.profitability-comparison,.profitability-cost-period){padding:18px!important;border-radius:12px!important;min-width:0}
 #profitability .profitability-card-title{display:flex;flex-wrap:wrap;gap:12px!important;margin-bottom:18px!important}
 #profitability .profitability-source-bar{gap:14px!important;flex-wrap:wrap;padding:16px!important;margin-bottom:20px!important}
 #purchases .purchase-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;padding:16px!important;border-radius:12px!important;margin-bottom:20px!important}
 #purchases .purchase-list{margin-top:24px!important;padding:18px!important;border-radius:12px!important;min-width:0}
 #purchases .purchase-list-head{display:flex;gap:14px!important;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;margin-bottom:14px!important}
 #products :is(.product-integrity-panel,.product-audit-workflow,.manager-product-packaging){padding:18px!important;border-radius:12px!important;margin:20px 0!important;min-width:0}
 #products .audit-card-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
 #products .audit-card-filter{min-width:0}
 #pricing-rules .pricing-rules-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
 #pricing-rules .pricing-quick-test{gap:14px!important;padding:16px!important;border-radius:12px!important}
 #tire-search :is(.tire-search-form,.chamber-search-form){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:18px!important;border-radius:12px!important;align-items:end}
 #tire-search :is(.tire-search-guide,.tire-safety-note){gap:12px!important;flex-wrap:wrap;padding:16px!important;border-radius:12px!important}
 #tire-search :is(.tire-search-results,.chamber-search-results){display:grid;gap:16px!important;margin:20px 0!important}
 #queue .whats-sales-toolbar{gap:16px!important;flex-wrap:wrap;padding-bottom:18px!important;border-bottom:1px solid var(--work-border)!important;margin-bottom:18px!important}
 #queue .whats-sales-toolbar-actions{gap:10px!important;flex-wrap:wrap}
 #queue :is(.whats-sales-list-pane,.whats-sales-chat-pane,.whats-sales-context-pane,.whats-sales-coexistence){min-width:0;border-radius:12px!important}
 #queue .whats-sales-search{padding:14px!important}
 #queue :is(.queue-execution-grid,.queue-content-grid){gap:16px!important}
 #queue .queue-execution-grid>button{padding:16px!important;border-radius:12px!important}
 body.crm-tax-workspace{margin:0!important;background:var(--work-inset)!important;color:var(--work-text)!important;--bg:var(--work-card);--surface-1:var(--work-inset);--border:var(--work-border);--border-strong:var(--work-border);--text-primary:var(--work-text);--text-secondary:var(--work-muted);--text-muted:var(--work-muted)}
 body.crm-tax-workspace .tributario-main{min-width:0;padding:24px!important}
 body.crm-tax-workspace .tributario-card{padding:20px!important;border-radius:12px!important;min-width:0}
 body.crm-tax-workspace :is(.tributario-grid,.tributario-nav){gap:16px!important}
 body.crm-tax-workspace :is(input,select){min-height:42px!important;border-radius:8px!important;min-width:0;max-width:100%}
 body.crm-tax-workspace label{margin-bottom:7px!important}
 body.crm-tax-workspace table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}
 body.crm-tax-workspace :is(td,th){padding:12px!important}
 body.crm-tax-workspace .tributario-table{display:table}
 body.crm-tax-workspace .tributario-card{overflow:auto}
 .view [hidden],body.crm-tax-workspace [hidden]{display:none!important}
 @media(max-width:1200px){
  :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi-grid,.purchase-kpis,.profitability-period-kpis,.profitability-financial-kpis,.profitability-kpis,.settings-health-grid,.product-integrity-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #pricing-rules .pricing-rules-grid,#profitability .profitability-grid{grid-template-columns:minmax(0,1fr)!important}
  #settings .settings-grid,#settings .seller-security-row,#pricing-rules .pricing-rule-fields,#profitability .profitability-rule-grid,#purchases .purchase-controls,#products .audit-card-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 }
 @media(max-width:900px){
  #queue .whats-sales-inbox{grid-template-columns:minmax(0,1fr)!important;max-width:100%}
  #queue :is(.queue-execution-grid,.queue-content-grid){grid-template-columns:minmax(0,1fr)!important}
  #queue .whats-sales-list-pane{max-height:500px;overflow:auto}
  #profitability .profitability-history-filters,#tire-search .tire-search-form,#tire-search .chamber-search-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.crm-tax-workspace .tributario-shell{grid-template-columns:minmax(0,1fr)!important}
  body.crm-tax-workspace .tributario-sidebar{position:static!important;height:auto!important;padding:16px!important}
  body.crm-tax-workspace .tributario-nav{display:flex!important;flex-wrap:wrap}
  body.crm-tax-workspace #app [style*="grid-template-columns"],body.crm-tax-workspace .tributario-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 }
 @media(max-width:600px){
  :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .panel{padding:16px!important}
  :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi-grid,.purchase-kpis,.profitability-period-kpis,.profitability-financial-kpis,.profitability-kpis,.settings-health-grid,.product-integrity-grid),#settings .settings-grid,#settings .seller-security-row,#settings .oauth-company-grid,#settings .initial-migration-grid,#settings .commercial-company-summary-grid,#pricing-rules .pricing-rule-fields,#profitability .profitability-rule-grid,#profitability .profitability-history-filters,#profitability .profitability-comparison-grid,#purchases .purchase-controls,#products .audit-card-filter-grid,#products .manager-company-update-grid,#tire-search .tire-search-form,#tire-search .chamber-search-form{grid-template-columns:minmax(0,1fr)!important}
  #settings .seller-security-row>div:first-child{grid-column:auto!important}
  #queue .whats-sales-workspace{display:block!important}
  #queue .whats-sales-app-rail{display:flex!important;width:auto!important;min-height:0!important;gap:10px;flex-wrap:wrap;margin-bottom:16px}
  #queue .whats-sales-app-rail-spacer{display:none!important}
  body.crm-tax-workspace .tributario-main{padding:16px!important}
  body.crm-tax-workspace #app [style*="grid-template-columns"],body.crm-tax-workspace .tributario-grid{grid-template-columns:minmax(0,1fr)!important}
 }
}
@layer crmTheme {
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products){color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .panel{background:var(--work-card)!important;border:1px solid var(--work-border)!important;box-shadow:var(--work-shadow)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(h2,h3,h4){color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(label,.form-status,.sales-subtitle,.sync-note){color:var(--work-muted)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(input,select,textarea){background:var(--work-inset)!important;border-color:var(--work-border)!important;color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) button.secondary{background:var(--work-inset)!important;border:1px solid var(--work-border)!important;color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(th,td){border-color:var(--work-border)!important;color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) thead{background:var(--work-inset)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi,.purchase-kpi,.profitability-period-kpis>article,.profitability-financial-kpis>article,.profitability-kpis>article,.settings-health-grid>article,.product-integrity-grid>article){background:var(--work-inset)!important;border:1px solid var(--work-border)!important;border-top:3px solid #518cf5!important;color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi,.purchase-kpi,.profitability-period-kpis>article,.profitability-financial-kpis>article,.profitability-kpis>article):nth-child(2n){border-top-color:#9870e8!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.kpi,.purchase-kpi,.profitability-period-kpis>article,.profitability-financial-kpis>article,.profitability-kpis>article):nth-child(3n){border-top-color:#28af88!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.integration-collapsible,.seller-security-row,.oauth-company-card,.commercial-company-summary-card,.profitability-card,.profitability-financial-health,.profitability-comparison,.profitability-cost-period,.purchase-list,.product-audit-workflow,.product-integrity-panel){background:var(--work-inset)!important;border:1px solid var(--work-border)!important;color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) .integration-collapsible>summary{background:var(--work-inset)!important;color:var(--work-text)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.settings-hub-tabs,.profitability-mode-tabs,.tire-research-tabs) button{background:var(--work-inset)!important;color:var(--work-muted)!important;border:1px solid var(--work-border)!important}
 :is(#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) :is(.settings-hub-tabs,.profitability-mode-tabs,.tire-research-tabs) button.active{color:var(--work-text)!important;border-color:#518cf5!important;box-shadow:inset 0 -2px #518cf5!important}
 #queue :is(.whats-sales-list-pane,.whats-sales-chat-pane,.whats-sales-context-pane){background:var(--work-inset)!important;border-color:var(--work-border)!important;color:var(--work-text)!important}
 body.crm-tax-workspace .tributario-card{background:var(--work-card)!important;color:var(--work-text)!important;border-color:var(--work-border)!important}
 body.crm-tax-workspace :is(input,select,textarea){background:var(--work-card)!important;color:var(--work-text)!important;border-color:var(--work-border)!important}
 body.crm-tax-workspace [style*="background:#fff;"],body.crm-tax-workspace [style*="background: #fff;"]{background:var(--work-card)!important}
}

@layer crmLayout { .sidebar .nav-button::before{content:none!important} @media(max-width:900px){body.manager-mode .sidebar{height:auto!important;min-width:0!important;max-width:100%;box-sizing:border-box}body.manager-mode .sidebar .nav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;max-width:100%;padding-bottom:8px}body.manager-mode .sidebar .nav-button{width:auto!important;flex:0 0 auto!important;min-width:0!important;padding:10px 14px!important}body.manager-mode .sidebar .nav-label{white-space:nowrap!important}body.manager-mode .sidebar .nav-icon{flex:0 0 18px;width:18px!important}} }

@layer crmLayout {
 @media(max-width:900px){body.crm-tax-workspace #app [style*="grid-column"]{grid-column:1/-1!important}}
}
@layer crmTheme {
 body.crm-tax-workspace .tributario-main{background:var(--work-inset)!important}
 body.crm-tax-workspace :is(h1,h2,h3){color:var(--work-text)!important}
 body.crm-tax-workspace #app>div[style*="background"],body.crm-tax-workspace #app div[style*="border:1px solid"]{background:var(--work-card)!important;color:var(--work-text)!important}
 body.crm-tax-workspace #app>div[style*="background:var(--bg-warning)"]{border-left:3px solid #e9a43a!important}
 body.crm-tax-workspace #app label,body.crm-tax-workspace .subtitulo{color:var(--work-muted)!important}
 body.crm-tax-workspace #app [style*="color:var(--text-muted)"],body.crm-tax-workspace #app [style*="color:var(--text-secondary)"]{color:var(--work-muted)!important}
 body.crm-tax-workspace #app [id$="precoFinal"]{color:var(--work-accent)!important}
}

/* Conferência do gestor: testes responsivos e respeito a campos ocultos. */
@layer crmLayout {
 #pricing-rules .pricing-quick-test{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important}
 #pricing-rules .pricing-quick-test>*{min-width:0!important;max-width:100%;box-sizing:border-box}
 #pricing-rules .pricing-test-result{grid-column:1/-1!important;white-space:normal!important;overflow-wrap:anywhere}
 @media(max-width:600px){#pricing-rules .pricing-quick-test{grid-template-columns:minmax(0,1fr)!important}}
 :is(#dashboard,#seller-dashboard,#seller-goals,#sales,#calculator,#clients,#pipeline,#approvals,#profitability,#queue,#tire-search,#purchases,#pricing-rules,#settings,#tax-planning,#products) [hidden][hidden]{display:none!important}
}

@layer crmTypography { #settings .settings-health-grid article>strong,#settings .settings-health-grid article>strong *{font-size:14px!important;font-weight:500!important;line-height:1.6!important} }
@layer crmLayout {#settings .settings-health-grid article{justify-content:flex-start!important;gap:10px!important}}

@layer crmLayout {
 body.whats-sales-standalone #queue>.whats-sales-workspace{padding:16px 16px 16px 72px!important;width:100%!important;max-width:100%!important;box-sizing:border-box;margin:0!important}
 body.whats-sales-standalone #queue .whats-sales-toolbar{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
 body.whats-sales-standalone #queue .whats-sales-inbox{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
 body.whats-sales-standalone #queue :is(.whats-sales-list-pane,.whats-sales-chat-pane){width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
 @media(min-width:901px){body.whats-sales-standalone #queue .whats-sales-inbox{display:grid!important;grid-template-columns:minmax(280px,340px) minmax(0,1fr)!important}}
 @media(max-width:900px){body.whats-sales-standalone #queue .whats-sales-inbox{grid-template-columns:minmax(0,1fr)!important}}
 @media(max-width:600px){body.whats-sales-standalone #queue>.whats-sales-workspace{padding:12px 12px 12px 64px!important}body.whats-sales-standalone #queue .whats-sales-app-rail{position:fixed!important;display:flex!important;flex-direction:column!important;align-items:center;top:0!important;bottom:0!important;left:0!important;width:52px!important;height:100dvh!important;box-sizing:border-box;margin:0!important}}
}

@layer crmLayout {
 html:has(body.whats-sales-standalone){zoom:1!important}
 body.whats-sales-standalone #queue>.whats-sales-workspace{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important}
 body.whats-sales-standalone #queue .whats-sales-toolbar{flex:0 0 auto!important}
 body.whats-sales-standalone #queue .whats-sales-inbox{flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
 body.whats-sales-standalone #queue :is(.whats-sales-list-pane,.whats-sales-chat-pane){height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
 body.whats-sales-standalone #queue .whats-sales-chat-content{height:100%!important;min-height:0!important;grid-template-rows:auto minmax(0,1fr) auto auto!important}
 body.whats-sales-standalone #queue .whats-sales-messages{min-height:0!important;overflow:auto!important}
 body.whats-sales-standalone #queue [hidden][hidden]{display:none!important}
}

/* Lançamento em janelas baixas: reservar área real para o catálogo. */
@layer crmTypography {
 #salesProductPicker :is(label,small,span){font-size:12px!important;line-height:1.35!important;font-weight:400!important}
 #salesProductPicker #salesProductPickerTitle{font-size:20px!important;font-weight:600!important;line-height:1.25!important}
 #salesProductPicker :is(input,select,button){font-size:13px!important;line-height:1.35!important}
 #salesProductPicker .sales-product-picker-identity>strong{font-size:14px!important;font-weight:600!important;line-height:1.35!important}
 #salesProductPicker .sales-company-add-card>em{font-size:17px!important;font-weight:700!important;font-style:normal!important;white-space:nowrap}
 #salesProductPicker .product-stock-filter>strong{font-size:16px!important;font-weight:600!important}
}
@layer crmLayout {
 #salesProductPicker:not([hidden]){position:fixed!important;inset:0!important;width:auto!important;height:auto!important;min-height:0!important;padding:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-sizing:border-box}
 #salesProductPicker .sales-product-picker-shell{width:100%!important;max-width:1180px!important;height:100%!important;max-height:100%!important;min-height:0!important;min-width:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box;border-radius:12px!important}
 #salesProductPicker .sales-product-picker-shell> :not(#salesProductResults){flex:0 0 auto!important;min-width:0!important;box-sizing:border-box}
 #salesProductPicker .sales-product-picker-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 16px!important}
 #salesProductPicker .sales-product-picker-head>div:first-child{flex:1;min-width:0}
 #salesProductPicker .sales-product-picker-head h2{margin:0 0 4px!important}
 #salesProductPicker .sales-product-picker-head p{margin:0!important;font-size:12px!important}
 #salesProductPicker .sales-product-picker-head-actions{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:nowrap!important}
 #salesProductPicker .sales-product-picker-head-actions button{min-height:32px!important;white-space:nowrap!important;padding:7px 12px!important}
 #salesProductPicker .sales-product-picker-cart-count{padding:5px 8px!important;white-space:nowrap}
 #salesProductPicker .sales-product-picker-toolbar{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;gap:14px!important;padding:10px 16px!important;align-items:end!important}
 #salesProductPicker .sales-product-picker-toolbar label{display:grid!important;gap:4px!important;margin:0!important;min-width:0!important;grid-column:auto!important}
 #salesProductPicker .sales-product-picker-toolbar .work-company-switch{width:100%!important;min-width:0!important;min-height:34px!important;padding:3px!important;box-sizing:border-box}
 #salesProductPicker .work-company-button{padding:3px 10px!important;min-height:28px!important;min-width:0!important;display:flex!important;align-items:center;justify-content:center;gap:6px!important}
 #salesProductPicker .sales-product-picker-toolbar :is(input,select){height:38px!important;min-height:38px!important;width:100%!important;max-width:100%!important;box-sizing:border-box;padding:7px 10px!important}
 #salesProductPicker .sales-product-picker-filters{display:grid!important;grid-template-columns:repeat(2,minmax(100px,150px)) minmax(170px,240px)!important;gap:8px!important;padding:6px 16px 10px!important;margin:0!important;align-items:stretch!important}
 #salesProductPicker .sales-product-picker-filters>.product-stock-filter{min-width:0!important;min-height:38px!important;padding:6px 10px!important;gap:8px!important;border-radius:7px!important;box-sizing:border-box}
 #salesProductPicker .sales-product-picker-filters>button{display:flex!important;align-items:center;justify-content:space-between}
 #salesProductPicker .sales-line-filter-card{display:flex!important;align-items:center;gap:8px!important}
 #salesProductPicker .sales-line-filter-card>span{white-space:nowrap}
 #salesProductPicker #salesProductLineFilterInput{width:100%!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:4px 6px!important;box-sizing:border-box}
 #salesProductPicker .sales-product-picker-guidance{padding:6px 16px!important;gap:12px!important;flex-wrap:wrap}
 #salesProductPicker #salesProductResults{flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;display:block!important;padding:8px 12px!important;margin:0!important;overscroll-behavior:contain;box-sizing:border-box}
 #salesProductPicker .sales-result-item{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:12px!important;padding:10px!important;margin:0 0 8px!important;min-width:0!important;box-sizing:border-box;align-items:center!important}
 #salesProductPicker .sales-product-top-line{display:grid!important;grid-template-columns:44px minmax(0,1fr) 72px!important;gap:10px!important;min-width:0!important;align-items:center!important;margin:0!important}
 #salesProductPicker .product-thumb{width:44px!important;height:44px!important;min-width:44px!important;border-radius:6px!important}
 #salesProductPicker .product-thumb img{width:100%!important;height:100%!important;object-fit:contain}
 #salesProductPicker .sales-product-picker-identity{display:flex!important;flex-direction:column;gap:4px!important;min-width:0!important;padding:0!important}
 #salesProductPicker .sales-product-picker-identity>strong{overflow-wrap:anywhere}
 #salesProductPicker .product-fast-availability{padding:2px 6px!important;align-self:flex-start}
 #salesProductPicker .sales-product-row-quantity{width:72px!important;min-width:0!important;display:grid!important;gap:4px!important}
 #salesProductPicker .sales-product-row-quantity input{width:100%!important;min-width:0!important;height:34px!important;min-height:34px!important;padding:5px 8px!important;box-sizing:border-box}
 #salesProductPicker .sales-company-add-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;gap:8px!important;margin:0!important;width:100%!important}
 #salesProductPicker .sales-company-add-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 8px!important;min-width:0!important;padding:8px!important;margin:0!important;width:100%!important;box-sizing:border-box}
 #salesProductPicker .sales-company-add-card>strong{grid-column:1!important;grid-row:1!important;font-size:12px!important}
 #salesProductPicker .sales-company-add-card>em{grid-column:2!important;grid-row:1!important;align-self:center!important}
 #salesProductPicker .sales-company-add-card>.ok,#salesProductPicker .sales-company-add-card>.danger{grid-column:1!important;grid-row:2!important}
 #salesProductPicker .sales-add-company-button{grid-column:1/-1!important;grid-row:3!important;width:100%!important;min-height:30px!important;padding:5px 8px!important;white-space:normal!important;margin:0!important}
 #salesProductPicker .sales-company-add-reason{grid-column:1/-1!important;grid-row:4!important;font-size:11px!important}
 #salesProductPicker .sales-company-add-reason.is-ready{display:none!important}
 #salesProductPicker .sales-product-picker-foot{padding:7px 16px!important;gap:12px!important;min-height:0!important}
 #salesProductPicker .sales-product-picker-foot button{min-height:30px!important;padding:6px 10px!important}
 #salesProductPicker [hidden][hidden]{display:none!important}
 @media(max-height:760px){
  #salesProductPicker .sales-fast-eyebrow,#salesProductPicker .sales-product-picker-guidance{display:none!important}
  #salesProductPicker .sales-product-picker-head{padding:9px 14px!important}
  #salesProductPicker .sales-product-picker-head p{display:none!important}
  #salesProductPicker .sales-product-picker-toolbar{padding:8px 14px!important}
  #salesProductPicker .sales-product-picker-filters{padding:4px 14px 8px!important}
  #salesProductPicker .sales-line-filter-card>span{display:none!important}
  #salesOrderEditorPanel .sales-fast-eyebrow,#salesOrderEditorPanel .sales-fast-header p{display:none!important}
  #salesOrderEditorPanel .sales-fast-header{gap:12px!important;margin-bottom:10px!important;padding:12px!important}
  #salesOrderEditorPanel .sales-fast-header h3{margin:0!important}
  #salesOrderEditorPanel .sales-order-tabs{margin-bottom:8px!important}
  #salesOrderEditorPanel .sales-order-number{margin:4px 0 8px!important}
  #salesOrderEditorPanel .sales-action-bar{padding:8px!important;margin:10px 0!important}
  #salesOrderEditorPanel .sales-top-actions{gap:7px!important;flex-wrap:wrap!important}
  #salesOrderEditorPanel .sales-top-actions>button{padding:6px 10px!important;min-height:32px!important}
  #salesOrderEditorPanel :is(.sales-order-section,.sales-client-card,.sales-quote-shell,.sales-payment-split){padding:12px!important;margin-bottom:12px!important}
 }
 @media(max-height:600px){#salesProductPicker .sales-product-picker-foot{display:none!important}#salesProductPicker #salesProductPickerTitle{font-size:18px!important}}
 @media(max-width:700px){#salesProductPicker .sales-result-item{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}#salesProductPicker .sales-company-add-card{grid-template-columns:minmax(0,1fr) auto 160px!important}#salesProductPicker .sales-add-company-button{grid-column:3!important;grid-row:1/3!important}#salesProductPicker .sales-company-add-reason{grid-column:1/-1!important;grid-row:3!important}}
 @media(max-width:520px){#salesProductPicker{padding:4px!important}#salesProductPicker .sales-product-picker-head{padding:8px 10px!important}#salesProductPicker .sales-product-picker-cart-count{display:none!important}#salesProductPicker .sales-product-picker-head-actions button{padding:6px 8px!important}#salesProductPicker .sales-product-picker-toolbar{grid-template-columns:150px minmax(0,1fr)!important;gap:8px!important;padding:6px 10px!important}#salesProductPicker .sales-product-picker-filters{grid-template-columns:1fr 1fr minmax(110px,1.2fr)!important;gap:5px!important;padding:4px 10px 6px!important}#salesProductPicker .sales-product-picker-filters>.product-stock-filter{padding:5px!important;gap:4px!important}#salesProductPicker .sales-product-picker-filters>button{flex-direction:column!important;align-items:flex-start!important}#salesProductPicker .sales-company-add-card{grid-template-columns:minmax(0,1fr) auto!important}#salesProductPicker .sales-add-company-button{grid-column:1/-1!important;grid-row:3!important}#salesProductPicker .sales-product-top-line{grid-template-columns:36px minmax(0,1fr) 64px!important;gap:7px!important}#salesProductPicker .product-thumb{width:36px!important;height:36px!important;min-width:36px!important}#salesProductPicker .sales-product-row-quantity{width:64px!important}}
}

@layer crmLayout {
 #salesProductPicker .sales-product-picker-filters>[data-sales-stock-filter="xbr20726"],#salesProductPicker .sales-product-picker-filters>[data-sales-stock-filter="empresa_simples"]{display:none!important}
 #salesProductPicker .sales-product-picker-toolbar .work-company-switch{height:36px!important;min-height:0!important;padding:2px!important}
 #salesProductPicker .sales-product-picker-toolbar .work-company-button{height:30px!important;min-height:0!important;flex-direction:row!important;padding:2px 6px!important}
 #salesProductPicker .sales-result-item{grid-template-areas:none!important;grid-template-rows:auto!important;grid-auto-rows:auto!important}
 #salesProductPicker .sales-product-top-line{grid-area:auto!important;grid-column:1!important;grid-row:1!important}
 #salesProductPicker .sales-company-add-grid{grid-area:auto!important;grid-column:2!important;grid-row:1!important}
 @media(max-width:700px){#salesProductPicker .sales-product-top-line{grid-column:1!important;grid-row:1!important}#salesProductPicker .sales-company-add-grid{grid-column:1!important;grid-row:2!important}}
}

/* Respeitar o fechamento da seleção de produtos, inclusive na carga inicial. */
@layer crmLayout { #salesProductPicker[hidden]{display:none!important} }

/* Acesso ao gestor: contraste próprio em ambos os temas, inclusive preenchimento automático. */
@layer crmTheme {
 #managerAccessModal .manager-access-box{background:#ffffff!important;color:#202a35!important;border:1px solid #dce3e9!important;color-scheme:light!important}
 #managerAccessModal :is(h2,p,label){color:#202a35!important}
 #managerAccessPassword{background:#f6f8fa!important;color:#202a35!important;-webkit-text-fill-color:#202a35!important;caret-color:#202a35!important;border:1px solid #aab8c6!important}
 #managerAccessPassword:focus{border-color:#137a4b!important;outline:2px solid #137a4b!important;outline-offset:2px!important}
 #managerAccessPassword::placeholder{color:#657384!important;-webkit-text-fill-color:#657384!important;opacity:1!important}
 #managerAccessPassword:-webkit-autofill{box-shadow:0 0 0 1000px #f6f8fa inset!important}
 #managerAccessModal #managerAccessStatus{color:#a12c25!important}
 html[data-crm-theme="dark"] #managerAccessModal .manager-access-box{background:#192231!important;color:#e8eef6!important;border-color:#485973!important;color-scheme:dark!important}
 html[data-crm-theme="dark"] #managerAccessModal :is(h2,p,label){color:#e8eef6!important}
 html[data-crm-theme="dark"] #managerAccessPassword{background:#121c29!important;color:#e8eef6!important;-webkit-text-fill-color:#e8eef6!important;caret-color:#e8eef6!important;border-color:#62748e!important}
 html[data-crm-theme="dark"] #managerAccessPassword:focus{border-color:#7adcad!important;outline-color:#7adcad!important}
 html[data-crm-theme="dark"] #managerAccessPassword::placeholder{color:#a8b6c8!important;-webkit-text-fill-color:#a8b6c8!important}
 html[data-crm-theme="dark"] #managerAccessPassword:-webkit-autofill{box-shadow:0 0 0 1000px #121c29 inset!important}
 html[data-crm-theme="dark"] #managerAccessModal #managerAccessStatus{color:#ffb4ab!important}
}
