/* Scope all report presentation to the Food app. */
html.food-app-layout #tab-reports.food-service-reports>.ff-tab-heading{display:none}
html.food-app-layout .food-service-reports .fsr-content{max-width:1120px;margin:0 auto;font-family:var(--fluxo-font-ui,Inter,sans-serif)}
html.food-app-layout .food-service-reports .fsr-content>div+div{margin-top:16px}
html.food-app-layout .food-service-reports .fsr-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
html.food-app-layout .food-service-reports .fsr-heading h2{font-size:23px;line-height:1.25;letter-spacing:-.035em;color:var(--ff-ink);font-weight:700}
html.food-app-layout .food-service-reports .fsr-heading h2>svg{display:none}
html.food-app-layout .food-service-reports .fsr-heading p{font-size:12px;line-height:1.5;color:var(--ff-muted);margin-top:6px}
html.food-app-layout .food-service-reports .fsr-actions{display:flex;gap:8px;flex-shrink:0}
html.food-app-layout .food-service-reports button{min-height:44px;border-radius:12px;font-family:inherit;font-size:12px;font-weight:600;box-shadow:none}
html.food-app-layout .food-service-reports .fsr-actions>button:first-child{background:white;color:#705b64;border-color:#e9dfe4}
html.food-app-layout .food-service-reports .fsr-actions>button:last-child{background:var(--ff-accent);color:white;border:1px solid var(--ff-accent)}
html.food-app-layout .food-service-reports .fsr-filters{padding:14px;border:1px solid #eee4e8;border-radius:16px;background:#fcfafb;box-shadow:none}
html.food-app-layout .food-service-reports .fsr-filters>div{display:flex;align-items:stretch;flex-direction:column;gap:10px}
html.food-app-layout .food-service-reports .fsr-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
html.food-app-layout .food-service-reports .report-preset-btn{background:white;border:1px solid #e9dfe4;color:#786670;padding:8px}
html.food-app-layout .food-service-reports .report-preset-btn[aria-pressed=true]{border-color:var(--ff-accent);background:var(--flux-food-red-muted,var(--food-ui-surface,#fff1f2));color:var(--ff-accent)}
html.food-app-layout .food-service-reports #report-custom-range:not(.hidden){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end;padding-top:10px;border-top:1px solid #eee4e8}
html.food-app-layout .food-service-reports #report-custom-range>div{min-width:0}
html.food-app-layout .food-service-reports #report-custom-range label{font-size:11px;letter-spacing:0;text-transform:none;color:#806c76}
html.food-app-layout .food-service-reports #report-custom-range input{width:100%;min-width:0;height:44px;min-height:44px;box-sizing:border-box;font-size:16px;padding:7px;border:1px solid #e9dfe4;border-radius:10px;background:white;color:#46373e}
html.food-app-layout .food-service-reports #report-custom-range button{background:#70505e;color:white;padding:10px 18px}
html.food-app-layout .food-service-reports #report-period-label{margin:0;font-size:11px;line-height:1.5;color:#806c76}
html.food-app-layout .food-service-reports .fsr-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html.food-app-layout .food-service-reports .fsr-metrics>div{min-width:0;padding:14px;border:1px solid #eee4e8;border-radius:15px;box-shadow:none;background:#fff}
html.food-app-layout .food-service-reports .fsr-metrics>div>p:first-child{font-size:11px;line-height:1.4;font-weight:500;text-transform:none;color:#806c76}
html.food-app-layout .food-service-reports [id^=report-kpi-]{font-size:26px;line-height:1.2;font-weight:650;letter-spacing:-.035em;margin-top:8px;overflow-wrap:anywhere}
html.food-app-layout .food-service-reports #report-kpi-conversao{color:var(--ff-accent)}
html.food-app-layout .food-service-reports .fsr-metrics>div>p:last-child:not([id]){font-size:10px;line-height:1.4;margin-top:4px;color:#9a8991}
html.food-app-layout .food-service-reports .fsr-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.food-app-layout .food-service-reports .fsr-chart-card{padding:16px;min-width:0;border:1px solid #eee4e8;border-radius:16px;box-shadow:none;background:white}
html.food-app-layout .food-service-reports .fsr-chart-card:has(#report-chart-timeline){grid-column:1/-1}
html.food-app-layout .food-service-reports .fsr-chart-card h3{font-size:13px!important;line-height:1.5;font-weight:600;color:#57424c;margin-bottom:14px}
html.food-app-layout .food-service-reports .fsr-chart{height:230px;position:relative;min-width:0}
html.food-app-layout .food-service-reports .fsr-records{border:1px solid #eee4e8;border-radius:16px;box-shadow:none;overflow:hidden}
html.food-app-layout .food-service-reports .fsr-records>div:first-child{padding:14px 16px;gap:10px;flex-wrap:wrap;border-color:#eee4e8}
html.food-app-layout .food-service-reports .fsr-records h3{font-size:13px!important;color:#57424c}
html.food-app-layout .food-service-reports #report-rows-count{font-size:11px}
html.food-app-layout .food-service-reports .fsr-records th{font-size:10px;text-transform:none;letter-spacing:0;color:#8a7680;background:#fcfafb}
html.food-app-layout .food-service-reports :is(button,input):focus-visible{outline:2px solid var(--ff-accent);outline-offset:3px}
@media(min-width:1000px){html.food-app-layout .food-service-reports .fsr-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:699px){
html.food-app-layout .food-service-reports .fsr-heading{display:block}
html.food-app-layout .food-service-reports .fsr-heading h2{font-size:21px}
html.food-app-layout .food-service-reports .fsr-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:14px;gap:8px}
html.food-app-layout .food-service-reports .fsr-actions button{justify-content:center;padding:9px 8px}
html.food-app-layout .food-service-reports .fsr-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
html.food-app-layout .food-service-reports .fsr-filters{padding:10px}
html.food-app-layout .food-service-reports #report-custom-range:not(.hidden){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html.food-app-layout .food-service-reports #report-custom-range button{grid-column:1/-1}
html.food-app-layout .food-service-reports .fsr-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html.food-app-layout .food-service-reports .fsr-metrics>div{padding:12px;border-radius:13px}
html.food-app-layout .food-service-reports .fsr-charts{grid-template-columns:minmax(0,1fr);gap:10px}
html.food-app-layout .food-service-reports .fsr-chart-card{padding:13px}
html.food-app-layout .food-service-reports .fsr-chart{height:210px}
html.food-app-layout .food-service-reports .fsr-table-wrap{overflow:visible}
html.food-app-layout .food-service-reports table{display:block;min-width:0;width:100%}
html.food-app-layout .food-service-reports thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html.food-app-layout .food-service-reports tbody{display:block;padding:0 12px}
html.food-app-layout .food-service-reports tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 0;border-color:#eee4e8}
html.food-app-layout .food-service-reports td{display:block;padding:0;min-width:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere;color:#69535e}
html.food-app-layout .food-service-reports td:first-child{grid-column:1/-1}
html.food-app-layout .food-service-reports td:first-child p:first-child{font-size:13px}
html.food-app-layout .food-service-reports td:not(:first-child)::before{display:block;font-size:10px;color:#9a8991;margin-bottom:5px;font-weight:400;text-transform:none}
html.food-app-layout .food-service-reports td:nth-child(2)::before{content:'Status'}
html.food-app-layout .food-service-reports td:nth-child(3)::before{content:'Entrada'}
html.food-app-layout .food-service-reports td:nth-child(4)::before{content:'Atualização'}
html.food-app-layout .food-service-reports td:nth-child(5)::before{content:'Responsável'}
html.food-app-layout .food-service-reports td:nth-child(6)::before{content:'Atividade'}
html.food-app-layout .food-service-reports #report-empty{padding:28px 16px;font-size:12px;line-height:1.6}
}
