/* GARAGEM88 — Relatórios mobile. Números reais do ReportsCore; desktop intacto. */
@media(max-width:600px){
 html body.g88m-unified .content:has(> #placeholder:not([hidden]) > #g88ReportsPage.rr-mobile){
   box-sizing:border-box!important;display:block!important;
   min-width:0!important;max-width:100%!important;
   padding:13px 12px 95px!important;background:#f0f5fb!important;
 }
 html body.g88m-unified .content:has(> #placeholder:not([hidden]) > #g88ReportsPage.rr-mobile) > .pagehead{
   display:none!important;
 }
 html body.g88m-unified #placeholder:not([hidden]):has(> #g88ReportsPage.rr-mobile){
   display:block!important;box-sizing:border-box!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:0!important;border:0!important;
   border-radius:0!important;box-shadow:none!important;
   background:transparent!important;
 }
 #g88ReportsPage.rr-mobile,#g88ReportsPage.rr-mobile *{box-sizing:border-box}
 #g88ReportsPage.rr-mobile{
   display:block!important;box-sizing:border-box!important;min-width:0!important;
   width:100%!important;max-width:100%!important;margin:0!important;
   padding:0 0 20px!important;background:transparent!important;
   color:#0d2c4d;font-family:Inter,'Segoe UI',Arial,sans-serif;
 }
 #g88ReportsPage.rr-mobile .rrm-heading{margin:0 0 16px}
 #g88ReportsPage.rr-mobile .rrm-heading h1{
   margin:0 0 5px;font:850 25px/1.15 Inter,'Segoe UI',Arial,sans-serif;
   color:#052744;letter-spacing:-.55px;
 }
 #g88ReportsPage.rr-mobile .rrm-heading p{
   margin:0;font:400 12px/1.45 Inter,'Segoe UI',Arial,sans-serif;
   color:#6a8099;
 }
 #g88ReportsPage.rr-mobile .rrm-icon{
   display:grid;place-items:center;flex:0 0 36px;
   width:36px;height:36px;background:#e8f3ff;color:#076ef0;
   border-radius:11px;
 }
 #g88ReportsPage.rr-mobile .rrm-icon svg{
   width:21px;height:21px;display:block;fill:none;
   stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
 }
 #g88ReportsPage.rr-mobile .rrm-period-panel{
   display:flex;align-items:flex-start;gap:11px;min-width:0;
   padding:14px 12px;margin:0 0 11px;border:1px solid #e0e9f4;
   border-radius:15px;background:#fff;box-shadow:0 4px 15px #1836560b;
 }
 #g88ReportsPage.rr-mobile .rrm-period-panel > .rrm-icon{
   flex-basis:40px;width:40px;height:40px;border-radius:12px;
 }
 #g88ReportsPage.rr-mobile .rrm-period-fields{
   display:block;flex:1;min-width:0;width:100%;
 }
 #g88ReportsPage.rr-mobile .rrm-period-fields .rr-filter{
   display:block;width:100%;margin:0;
 }
 #g88ReportsPage.rr-mobile .rrm-period-fields .rr-field{
   display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;
   font:750 12px/1.2 Inter,'Segoe UI',Arial,sans-serif;color:#204360;
 }
 #g88ReportsPage.rr-mobile #g88ReportsPeriod{
   display:block;appearance:auto;width:100%!important;max-width:none!important;
   min-width:0!important;min-height:43px;height:43px;
   margin:0;padding:0 10px;color:#0b2c4e;
   border:1px solid #cedfef;border-radius:10px;background:#fff;
   font:750 12px/1.2 Inter,'Segoe UI',Arial,sans-serif;
 }
 #g88ReportsPage.rr-mobile .rrm-custom-fields{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;
 }
 #g88ReportsPage.rr-mobile .rrm-custom-fields:has(>[hidden]:first-child):has(>[hidden]:last-child){display:none!important}
 #g88ReportsPage.rr-mobile .rrm-custom-fields .rr-field[hidden]{display:none!important}
 #g88ReportsPage.rr-mobile .rrm-custom-fields input[type=date]{
   display:block;width:100%;max-width:100%;min-width:0;height:41px;
   padding:0 4px;border:1px solid #d5e1f1;border-radius:8px;
   font:550 10px Inter,'Segoe UI',Arial,sans-serif;
 }
 #g88ReportsPage.rr-mobile .rr-period-note{
   display:block;margin:8px 0 0!important;
   color:#778da7!important;font:400 10px/1.45 Inter,'Segoe UI',Arial,sans-serif!important;
 }
 #g88ReportsPage.rr-mobile .rrm-metrics{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
   margin:0 0 11px;
 }
 #g88ReportsPage.rr-mobile .rrm-metric{
   display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
   min-width:0;min-height:145px;
   padding:13px 12px;border:1px solid #e0e9f4;border-radius:15px;
   background:#fff;box-shadow:0 4px 16px #1534550b;
 }
 #g88ReportsPage.rr-mobile .rrm-metric > .rrm-icon{
   width:38px;height:38px;flex-basis:38px;margin-bottom:9px;
 }
 #g88ReportsPage.rr-mobile .rrm-metric-copy{
   display:flex;flex-direction:column;align-items:flex-start;
   width:100%;min-width:0;
 }
 #g88ReportsPage.rr-mobile .rrm-metric-title{
   color:#2b4763;font-size:11px;line-height:1.25;font-weight:650;
 }
 #g88ReportsPage.rr-mobile .rrm-metric-value{
   display:block;margin-top:3px;max-width:100%;
   color:#0b2a49;font-size:20px;font-weight:850;line-height:1.2;
   letter-spacing:-.5px;overflow-wrap:anywhere;word-break:normal;
 }
 #g88ReportsPage.rr-mobile .rrm-metric:nth-child(2) .rrm-metric-value{
   font-size:17.5px;letter-spacing:-.6px;line-height:1.28;
 }
 #g88ReportsPage.rr-mobile .rrm-change{
   display:block;margin-top:9px;font-size:11px;font-weight:750;line-height:1.2;
   white-space:normal;overflow-wrap:anywhere;
 }
 #g88ReportsPage.rr-mobile .rrm-change.positive{color:#0da665}
 #g88ReportsPage.rr-mobile .rrm-change.negative{color:#dd3151}
 #g88ReportsPage.rr-mobile .rrm-change.muted{color:#8192a8;font-weight:500}
 #g88ReportsPage.rr-mobile .rrm-metric-copy > small,
 #g88ReportsPage.rr-mobile .rrm-summary-stat > small{
   display:block;color:#8194ae;font-size:9px;line-height:1.4;margin-top:3px;
 }
 #g88ReportsPage.rr-mobile .rrm-panel{
   display:block;min-width:0;margin:0 0 11px;padding:15px 12px;
   border:1px solid #e1eaf5;border-radius:15px;background:#fff;
   box-shadow:0 4px 16px #1534550b;
 }
 #g88ReportsPage.rr-mobile .rrm-section-head{
   display:flex;align-items:center;gap:9px;min-width:0;
   margin:0 0 10px;
 }
 #g88ReportsPage.rr-mobile .rrm-section-head .rrm-icon{
   width:39px;height:39px;flex-basis:39px;
 }
 #g88ReportsPage.rr-mobile .rrm-section-head > div{min-width:0}
 #g88ReportsPage.rr-mobile .rrm-section-head h2{
   margin:0 0 3px;color:#102c4b;font-size:16px;line-height:1.23;
   font-weight:800;letter-spacing:-.25px;
 }
 #g88ReportsPage.rr-mobile .rrm-section-head p{
   color:#748aa4;font-size:11px;line-height:1.3;margin:0;
 }
 #g88ReportsPage.rr-mobile .rrm-chart-control{
   display:flex;align-items:center;justify-content:space-between;
   gap:8px;width:100%;color:#67829d;
   margin:0 0 11px;font-size:10px;line-height:1.2;font-weight:650;
 }
 #g88ReportsPage.rr-mobile .rrm-chart-control select{
   flex:0 0 auto;min-width:0;max-width:175px;width:auto;height:38px;
   border:1px solid #cbdbea;border-radius:10px;
   background:#fff;color:#173b62;padding:0 9px;
   font:750 11px/1.2 Inter,'Segoe UI',Arial,sans-serif;
 }
 #g88ReportsPage.rr-mobile .rrm-bars-scroll{
   box-sizing:border-box;width:100%;max-width:100%;
   overflow-x:auto;overflow-y:hidden;padding:8px 2px 0;
   scrollbar-width:thin;
 }
 #g88ReportsPage.rr-mobile .rrm-bars{
   box-sizing:border-box;display:flex;align-items:stretch;
   justify-content:space-between;gap:7px;min-width:max-content;height:150px;
   padding:0 0 1px;border-bottom:1px solid #dce6f2;
 }
 #g88ReportsPage.rr-mobile .rrm-bar-col{
   display:flex;flex-direction:column;align-items:center;
   min-width:33px;flex:1 0 33px;max-width:55px;height:100%;gap:0;
 }
 #g88ReportsPage.rr-mobile .rrm-bar-col > strong{
   color:#2471c6;font-size:10px;font-weight:800;line-height:16px;
   height:17px;flex:0 0 17px;
 }
 #g88ReportsPage.rr-mobile .rrm-bar-space{
   display:flex;align-items:flex-end;justify-content:center;
   width:100%;height:109px;flex:1 0 109px;
   border-bottom:1px solid #e9f0f8;
   background:repeating-linear-gradient(to top,transparent 0,transparent 26px,#f0f5fa 27px);
 }
 #g88ReportsPage.rr-mobile .rrm-bar-space i{
   display:block;width:70%;max-width:34px;min-height:0;
   background:linear-gradient(180deg,#4596ff,#1972e9);
   border-radius:6px 6px 0 0;
 }
 #g88ReportsPage.rr-mobile .rrm-bar-col > small{
   display:block;min-height:23px;line-height:23px;
   text-align:center;color:#8498af;font-size:9px;white-space:nowrap;
 }
 #g88ReportsPage.rr-mobile .rrm-chart-empty{
   box-sizing:border-box;padding:24px 12px;border:1px dashed #cdddee;
   border-radius:11px;background:#f7fbff;color:#738ba3;
   font-size:11px;line-height:1.45;text-align:center;
 }
 #g88ReportsPage.rr-mobile .rrm-summary-grid{
   display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
   margin-top:14px;
 }
 #g88ReportsPage.rr-mobile .rrm-summary-stat{
   box-sizing:border-box;display:flex;flex-direction:column;
   align-items:flex-start;min-width:0;
   padding:2px 8px;border-left:1px solid #e5ecf4;
 }
 #g88ReportsPage.rr-mobile .rrm-summary-stat:first-child{
   border-left:0;padding-left:1px;
 }
 #g88ReportsPage.rr-mobile .rrm-summary-stat > span:first-child{
   color:#687f9b;font-size:10px;line-height:1.3;
 }
 #g88ReportsPage.rr-mobile .rrm-summary-stat > strong{
   display:block;margin:5px 0 0;color:#0c2a4b;
   font-size:14px;line-height:1.25;font-weight:850;letter-spacing:-.35px;
   overflow-wrap:anywhere;
 }
 #g88ReportsPage.rr-mobile .rrm-summary-stat .rrm-change{
   font-size:10px;margin-top:8px;
 }
 #g88ReportsPage.rr-mobile .rrm-summary-stat > small{font-size:8.5px}
 #g88ReportsPage.rr-mobile .rr-footer{
   box-sizing:border-box;display:flex;flex-direction:column;gap:12px;
   padding:13px 12px;margin:0;border:1px solid #e1eaf5;
   background:#fff;border-radius:15px;
 }
 #g88ReportsPage.rr-mobile .rr-footer p{
   margin:0;color:#72889e;font-size:10px;line-height:1.5;
 }
 #g88ReportsPage.rr-mobile .rr-actions{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;
 }
 #g88ReportsPage.rr-mobile .rr-actions .rr-btn{
   display:flex;align-items:center;justify-content:center;
   width:100%;min-width:0;min-height:43px;margin:0;padding:9px 6px;
   border:1px solid #bdd8f4;border-radius:10px;
   background:#f3f8ff;color:#1464bd;
   font:750 10px/1.3 Inter,'Segoe UI',Arial,sans-serif;text-align:center;
 }
 #g88ReportsPage.rr-mobile .rr-actions .rr-btn-primary{
   background:#0c6fea;color:#fff;border-color:#0c6fea;
 }
 #g88ReportsPage.rr-mobile .rr-actions .rr-btn:disabled{opacity:.45}
 #g88ReportsPage.rr-mobile :is(select,input,button):focus-visible{
   outline:3px solid #85b9ff;outline-offset:2px;
 }
 #g88ReportsPage.rr-mobile [hidden]{display:none!important}
}
@media(max-width:355px){
 #g88ReportsPage.rr-mobile .rrm-metric{padding:12px 9px}
 #g88ReportsPage.rr-mobile .rrm-metric-value{font-size:18px}
 #g88ReportsPage.rr-mobile .rrm-metric:nth-child(2) .rrm-metric-value{font-size:16px}
 #g88ReportsPage.rr-mobile .rrm-summary-stat{padding-inline:5px}
 #g88ReportsPage.rr-mobile .rrm-summary-stat>strong{font-size:12px}
}
@media print{
 #g88ReportsPage.rr-mobile{padding:0!important;background:#fff!important}
 #g88ReportsPage.rr-mobile .rrm-heading{display:block!important}
 #g88ReportsPage.rr-mobile .rrm-period-panel{display:none!important}
 #g88ReportsPage.rr-mobile .rrm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #g88ReportsPage.rr-mobile .rrm-metric{break-inside:avoid}
 #g88ReportsPage.rr-mobile .rrm-panel{break-inside:avoid}
 #g88ReportsPage.rr-mobile .rrm-chart-control{display:none!important}
 #g88ReportsPage.rr-mobile .rr-footer{break-inside:avoid}
 #g88ReportsPage.rr-mobile .rrm-bar-space i{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
