@media screen {
 html[data-app="mobile"]{scrollbar-gutter:stable;}
 html[data-app="mobile"][data-acabamento="a"] body > main,
 html[data-app="mobile"][data-acabamento="a"][data-mview="dashboard"] body > main {
   box-sizing:border-box!important;max-width:100%!important;
   padding-inline-start:max(20px,env(safe-area-inset-left))!important;
   padding-inline-end:max(24px,env(safe-area-inset-right))!important;
 }
 html[data-app="mobile"][data-acabamento="a"] body main > .view {max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
 html[data-app="mobile"][data-acabamento="a"] body #quote#quote :is(input,select,textarea) {box-sizing:border-box!important;max-width:100%!important;min-width:0!important;}
 html[data-app="mobile"][data-acabamento="a"] body #quote#quote .quotegrid {min-width:0!important;max-width:100%!important;}
 html[data-app="mobile"][data-acabamento="a"] body #quote#quote#quote[data-mobile-cancelled="true"] #mReceive {display:none!important;}
 html[data-app="mobile"][data-acabamento="a"] body #quote#quote#quote[data-mobile-cancelled="true"] #paymentStatus {background:#42291f!important;color:#ffc18e!important;border-color:#855126!important;}
 html[data-app="mobile"][data-acabamento="a"] body #reports#reports .reportDailySummary .mDailyAmount {position:relative;}
 html[data-app="mobile"][data-acabamento="a"] body #reports#reports .reportDailySummary .mDailyAmount::after {
   content:'';position:absolute;inset-inline:0;bottom:-4px;height:3px;border-radius:3px;
   background:linear-gradient(to right,var(--daily-color) 0 var(--daily-pct),#28435766 var(--daily-pct) 100%);
   transform-origin:left;pointer-events:none;
 }
 @media(prefers-reduced-motion:reduce){html[data-app="mobile"] .mDailyAmount::after{animation:none!important;transition:none!important;}}
}
@media screen and (max-width:480px) {
 html[data-app="mobile"][data-acabamento="a"] body #reports#reports #monthlyReportDocument .reportMetrics {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 html[data-app="mobile"][data-acabamento="a"] body #reports#reports #monthlyReportDocument .reportMetrics article {min-width:0!important;box-sizing:border-box!important;}
 html[data-app="mobile"][data-acabamento="a"] body #reports#reports #monthlyReportDocument .reportMetrics :is(b,small) {font-size:clamp(14px,4.2vw,18px)!important;max-width:100%;overflow-wrap:anywhere;}
 html[data-app="mobile"][data-acabamento="a"] body #reports#reports #monthlyReportDocument .reportMetrics span {overflow-wrap:normal!important;word-break:normal!important;}
}
@media print {html[data-app="mobile"] .mDailyAmount::after{display:none!important;}}
/* Barrinhas são acabamento da tela; não entram no PDF compacto. */
.reportPdfClone .mDailyAmount::after{display:none!important;}
/* Mantém os rótulos das ações dentro do cartão em celulares estreitos. */
@media screen {
 html[data-app="mobile"][data-acabamento="a"] body #quotes#quotes#quotes .savedRow .rowActions {
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important;
 }
 html[data-app="mobile"][data-acabamento="a"] body #quotes#quotes#quotes .savedRow .rowActions button {
   width:100%!important;min-width:0!important;box-sizing:border-box!important;
   white-space:normal!important;overflow-wrap:normal!important;line-height:1.3!important;
   padding:10px 8px!important;align-self:stretch!important;
 }
}
