/* Report presentation only. Periods, financial definitions and account adapters stay unchanged. */
.fr-report{--fr-line:var(--food-ui-soft,#eee3df);--fr-muted:#7d6b63;--fr-ink:#3f302a;color:var(--fr-ink);font-family:var(--fluxo-font-ui,Inter,sans-serif)}
.fr-report *{box-sizing:border-box}
.fr-report .fr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.fr-report .fr-metric{min-width:0;padding:20px;border:1px solid var(--fr-line);border-radius:20px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.fr-report .fr-metric>span{font-size:12px;line-height:1.5;font-weight:550;color:var(--fr-muted)}
.fr-report .fr-metric>strong{font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.04em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.fr-report .fr-metric>small{font-size:11px;line-height:1.5;color:var(--fr-muted);margin-top:auto}
.fr-report .fr-metric.fr-revenue{background:linear-gradient(135deg,#fff5ed,#fff9f5);border-color:#f0d9ca}
.fr-report .fr-revenue>strong{color:var(--food-ui-action,#ab3023)}
.fr-report .fr-metric>.fr-pending{font-size:17px;line-height:1.4;color:#8a632a;letter-spacing:-.02em}
.fr-report .fr-sections{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;align-items:start}
.fr-report .fr-products:only-child{grid-column:1/-1}
.fr-report .fr-panel{min-width:0;border:1px solid var(--fr-line);border-radius:22px;padding:22px;background:#fff}
.fr-report .fr-panel header{margin-bottom:20px}
.fr-report .fr-panel h3{font-size:16px!important;line-height:1.4!important;font-weight:650;letter-spacing:-.025em;margin:0 0 5px;color:var(--fr-ink)}
.fr-report .fr-panel header p{margin:0;font-size:12px;line-height:1.5;color:var(--fr-muted)}
.fr-report .fr-ranking{list-style:none;margin:0;padding:0}
.fr-report .fr-ranking li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #f2eae6;font-size:13px}
.fr-report .fr-ranking li:first-child{padding-top:0}
.fr-report .fr-ranking li:last-child{border-bottom:0;padding-bottom:0}
.fr-report .fr-rank{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f7f2ee;color:#80685c;font-size:12px;font-weight:600}
.fr-report .fr-ranking strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.fr-report .fr-ranking small{display:block;font-size:11px;line-height:1.5;color:var(--fr-muted);margin-top:4px}
.fr-report .fr-ranking b{font-size:13px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.fr-report .fr-empty{padding:24px 18px;border-radius:14px;background:#faf7f5;text-align:center}
.fr-report .fr-empty strong{font-size:14px;font-weight:600}
.fr-report .fr-empty p{font-size:12px;color:var(--fr-muted);line-height:1.6;margin:7px 0 0}
.fr-report dl{margin:0}
.fr-report dl>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #f2eae6;font-size:13px;line-height:1.5}
.fr-report dt{color:var(--fr-muted)}
.fr-report dd{margin:0;font-weight:650;text-align:right;overflow-wrap:anywhere}
.fr-report .fr-review{border-radius:10px;padding:10px 12px;background:#f1f7f1;color:#42694c;font-size:12px;line-height:1.5;margin:16px 0 10px}
.fr-report .fr-review-pending{background:#fff5e8;color:#875b25}
.fr-report .fr-note{font-size:12px;line-height:1.6;color:var(--fr-muted);margin:10px 0 18px}
.fr-report .fr-details{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:46px;border:1px solid var(--food-ui-soft,#eed4cc);border-radius:12px;padding:11px 14px;background:#fff7f3;color:var(--food-ui-action,#a53225);font-size:12px;font-weight:650;text-align:left;cursor:pointer}
.fr-report .fr-details:focus-visible{outline:2px solid var(--food-ui-action,#b72520);outline-offset:3px}
/* Keep the two existing specialized report surfaces aligned with the Food presentation. */
html.food-app-layout #rest-reports-mount .santa-ops{--so-red:var(--food-ui-action,#b72520);padding:0;font-family:var(--fluxo-font-ui,Inter,sans-serif);color:#3f302a}
html.food-app-layout #rest-reports-mount .so-head{gap:12px;margin-bottom:16px}
html.food-app-layout #rest-reports-mount .so-eyebrow{font-size:10px;letter-spacing:.05em;color:#846c61}
html.food-app-layout #rest-reports-mount .so-head h2{font-size:22px!important;line-height:1.3!important}
html.food-app-layout #rest-reports-mount .so-note{font-size:12px;color:#7d6b63;line-height:1.65}
html.food-app-layout #rest-reports-mount .so-tabs{gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:3px 2px 8px;margin:12px 0;scroll-padding:4px}
html.food-app-layout #rest-reports-mount .so-tabs button{flex-shrink:0;font-size:12px;font-weight:600;border-radius:12px}
html.food-app-layout #rest-reports-mount .so-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto auto auto;gap:10px;padding:16px;border-radius:18px;background:#fcf9f6;border-color:var(--food-ui-soft,#eee3df)}
html.food-app-layout #rest-reports-mount .so-filters>*{min-width:0}
html.food-app-layout #rest-reports-mount .so-filters input{max-width:100%;width:100%;height:46px;box-sizing:border-box;min-width:0}
html.food-app-layout #rest-reports-mount .so-filters button{font-size:12px;padding:10px 12px;min-height:46px}
html.food-app-layout #rest-reports-mount :is(.so-card,.so-panel){border-color:var(--food-ui-soft,#eee3df);border-radius:20px;box-shadow:none}
html.food-app-layout #rest-reports-mount .so-card{padding:18px}
html.food-app-layout #rest-reports-mount .so-card>strong{font-size:24px;font-weight:700;color:#3f302a}
html.food-app-layout #rest-reports-mount .so-card:first-child{background:linear-gradient(135deg,#fff5ed,#fff9f5);border-color:#f0d9ca}
html.food-app-layout #rest-reports-mount .so-card:first-child>strong{color:var(--food-ui-action,#ab3023)}
html.food-app-layout #rest-reports-mount .so-card:first-child>span{color:#7d6b63}
html.food-app-layout #rest-reports-mount .so-panel h3{font-size:16px!important}
html.food-app-layout #rest-reports-mount .so-row{gap:12px;align-items:flex-start;overflow-wrap:anywhere}
html.food-app-layout #rest-reports-mount .so-row>span{max-width:45%;flex-shrink:1}
html.food-app-layout #rest-reports-mount .so-status:empty{display:none}
html.food-app-layout #food-operations[data-operation-tab=reports] main{max-width:1120px;margin:auto}
html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-card{border-color:var(--food-ui-soft,#eee3df);border-radius:20px;box-shadow:none}
html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-card>p{font-size:12px;line-height:1.7;color:#7d6b63}
html.food-app-layout #food-operations[data-operation-tab=reports] [data-report]{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:18px;padding:16px;border-radius:16px;background:#fcf9f6}
html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] .fo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1;min-width:0;gap:12px;margin:0}
html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] label{min-width:0;font-size:12px;color:#7d6b63}
html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] input{width:100%;min-width:0;box-sizing:border-box}
html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] button{min-height:46px}
html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-grid .fo-card{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid var(--food-ui-soft,#eee3df);border-radius:18px;background:#fff;margin:0}
html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-grid .fo-card:first-child{background:#fff5ed;border-color:#f0d9ca}
html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-grid p{font-size:12px;line-height:1.6;color:#7d6b63;margin:0 0 12px}
html.food-app-layout #food-operations[data-operation-tab=reports] .fo-amount{font-size:24px;font-weight:700;line-height:1.3;letter-spacing:-.035em;overflow-wrap:anywhere;margin-top:auto;color:#3f302a}
@media(max-width:900px){.fr-report .fr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fr-report .fr-sections{grid-template-columns:1fr}html.food-app-layout #rest-reports-mount .so-filters{grid-template-columns:repeat(2,minmax(0,1fr))}html.food-app-layout #rest-reports-mount .so-filters .so-primary{grid-column:1/-1}html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.fr-report .fr-metrics{gap:10px}.fr-report .fr-metric{padding:16px 14px;border-radius:18px;gap:9px}.fr-report .fr-metric>strong{font-size:23px}.fr-report .fr-metric>.fr-pending{font-size:16px}.fr-report .fr-panel{padding:18px 16px;border-radius:20px}.fr-report .fr-ranking li{gap:9px;grid-template-columns:26px minmax(0,1fr) auto}.fr-report .fr-rank{width:26px;height:28px}.fr-report .fr-ranking b{font-size:12px}html.food-app-layout #rest-reports-mount .so-grid{gap:10px}html.food-app-layout #rest-reports-mount .so-card{padding:14px}html.food-app-layout #rest-reports-mount .so-card>strong{font-size:21px}html.food-app-layout #rest-reports-mount .so-filters{padding:12px}html.food-app-layout #food-operations[data-operation-tab=reports] [data-report]{padding:12px}html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] .fo-grid{flex-basis:100%}html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] button{width:100%}html.food-app-layout #food-operations[data-operation-tab=reports] main>.fo-grid .fo-card{padding:14px}html.food-app-layout #food-operations[data-operation-tab=reports] .fo-amount{font-size:21px}}
/* Currency and native date controls need room on narrow phones. */
@media(max-width:520px){
 .fr-report .fr-metric>strong{font-size:clamp(16px,4.6vw,24px)}
 .fr-report .fr-metric>.fr-pending{font-size:16px}
 html.food-app-layout #rest-reports-mount .so-card>strong,
 html.food-app-layout #food-operations[data-operation-tab=reports] .fo-amount{font-size:clamp(16px,4.6vw,24px)}
 html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] .fo-grid{grid-template-columns:1fr;gap:4px}
 html.food-app-layout #food-operations[data-operation-tab=reports] [data-report] label{margin:4px 0}
}
@media(max-width:360px){html.food-app-layout #rest-reports-mount .so-filters label{grid-column:1/-1}}
