/* Jeredy's home: mobile first, scoped to the audited restaurant accounts. */
html.food-app-layout .jd-home{max-width:1120px;--jd-accent:var(--food-ui-action,#be2343);--jd-muted:#7e6972;--jd-line:#eee7e9;color:#382b31}
html.food-app-layout .jd-home>.food-operation-entry{display:none}
html.food-app-layout .jd-home .jd-hero{display:block;padding:12px 0 22px;margin:0;border-bottom:1px solid var(--jd-line)}
html.food-app-layout .jd-home .ff-greeting>p{font-size:13px;color:var(--jd-muted);font-weight:500;letter-spacing:0;margin:0 0 10px;text-transform:none}
html.food-app-layout .jd-home .ff-greeting h2{font-size:32px!important;line-height:1.16!important;font-weight:720;letter-spacing:-.045em!important;margin:0}
html.food-app-layout .jd-home .ff-greeting-brand{color:var(--jd-accent)}
html.food-app-layout .jd-home [data-ff-new-order]{display:none}
html.food-app-layout .jd-home .ff-summary-toolbar{margin:15px 0 18px;flex-wrap:wrap;gap:10px;font-size:10px}
html.food-app-layout .jd-home .ff-summary-toolbar>div{gap:7px}
html.food-app-layout .jd-home .jd-service{display:inline-flex;align-items:center;gap:7px;color:#8b693d;background:#fff7ea;border:1px solid #f2e5cf;font-size:10px;font-weight:650;border-radius:50px;padding:7px 10px;line-height:1.4}
html.food-app-layout .jd-home .jd-service::before{content:'';width:6px;height:6px;background:#b98945;border-radius:50%;flex:none}
html.food-app-layout .jd-home .jd-service[data-state=open]{color:#27744d;background:#eef8f1;border-color:#d9ebdf}
html.food-app-layout .jd-home .jd-service[data-state=open]::before{background:#27744d}
html.food-app-layout .jd-home .jd-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px}
html.food-app-layout .jd-home .jd-quick-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:10px 8px;border:1px solid var(--jd-line);border-radius:14px;background:#fff;color:#65515a;font-size:11px;font-weight:600;text-align:center;line-height:1.4}
html.food-app-layout .jd-home .jd-quick-button:first-child{background:var(--jd-accent);color:#fff;border-color:var(--jd-accent)}
html.food-app-layout .jd-home .jd-quick-button svg{width:16px;height:16px;flex:none}
html.food-app-layout .jd-home .ff-metrics{gap:10px;margin-bottom:28px}
html.food-app-layout .jd-home .ff-metric{border-radius:18px;padding:17px 15px;background:#fff;border-color:var(--jd-line);box-shadow:none;min-height:132px}
html.food-app-layout .jd-home .ff-metric>strong{font-size:27px;letter-spacing:-.04em}
html.food-app-layout .jd-home .ff-metric>div{margin-bottom:10px;min-height:25px}
html.food-app-layout .jd-home .ff-metric-primary{background:linear-gradient(125deg,var(--food-ui-action,#b7203e),var(--food-ui-action,#d63e55));border-color:transparent;color:#fff;box-shadow:0 8px 22px color-mix(in srgb, var(--food-ui-action,rgb(189 41 66)) 8.627%, transparent)}
html.food-app-layout .jd-home .ff-metric-primary :is(h3,strong,p,svg){color:#fff!important}
html.food-app-layout .jd-home .ff-metric-primary>p{opacity:.8}
html.food-app-layout .jd-home .ff-stage{background:#fff;border-radius:15px;min-height:108px;border-color:var(--jd-line)}
html.food-app-layout .jd-home .ff-stage.has-orders{background:#f4f8f5;border-color:#dce9e0}
html.food-app-layout .jd-home .ff-stage[data-stage=novo].has-orders{background:#fff7e8;border-color:#eadfbd}
html.food-app-layout .jd-home .ff-panel{border-color:var(--jd-line);border-radius:21px;box-shadow:none;padding:20px}
html.food-app-layout .jd-home .ff-section-heading h3{font-size:19px!important;letter-spacing:-.025em}
html.food-app-layout .jd-home .ff-eyebrow{font-size:9px!important;letter-spacing:.09em;color:#927980}
html.food-app-layout .jd-home .ff-dashboard-grid{margin-bottom:16px;gap:16px}
html.food-app-layout .jd-home .ff-dashboard-side{gap:16px}
html.food-app-layout .jd-home .jd-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:4px 0 12px}
html.food-app-layout .jd-home .jd-pair>div{display:grid;gap:8px}
html.food-app-layout .jd-home .jd-pair>div+div{border-left:1px solid var(--jd-line);padding-left:16px}
html.food-app-layout .jd-home .jd-pair strong{font-size:32px;letter-spacing:-.04em;line-height:1;font-weight:650}
html.food-app-layout .jd-home .jd-pair span{font-size:11px;line-height:1.5;color:var(--jd-muted)}
html.food-app-layout .jd-home .jd-caption{font-size:11px;line-height:1.65;color:var(--jd-muted);margin:9px 0 13px}
html.food-app-layout .jd-home .jd-cash-value{font-size:28px;letter-spacing:-.04em;display:block;margin-top:6px}
html.food-app-layout .jd-home .jd-badge{display:inline-block;background:#f7f4f1;border:1px solid #eee6e1;color:#8a6b57;border-radius:8px;padding:5px 8px;font-size:10px;white-space:nowrap}
html.food-app-layout .jd-home .jd-badge[data-state=open]{color:#27744d;background:#eef8f1;border-color:#d9ebdf}
html.food-app-layout .jd-home .jd-cash-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--jd-line);font-size:11px;line-height:1.5}
html.food-app-layout .jd-home .jd-cash-row span{color:var(--jd-muted)}
html.food-app-layout .jd-home :is(.jd-cash-row,.jd-custody,.jd-receipt-notes) b{white-space:nowrap;font-weight:650}
html.food-app-layout .jd-home .jd-custody{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff7ed;border:1px solid #f4e6d5;border-radius:14px;padding:13px;margin:16px 0;font-size:12px}
html.food-app-layout .jd-home .jd-custody>div{display:flex;align-items:center;gap:9px;min-width:0}
html.food-app-layout .jd-home .jd-custody svg{width:19px;height:19px;color:#99734b;flex:none}
html.food-app-layout .jd-home .jd-custody small{display:block;font-size:10px;color:#96785d;line-height:1.5;margin-top:4px}
html.food-app-layout .jd-home .jd-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 0;background:transparent;color:var(--jd-accent);font-size:11px;font-weight:650;text-align:left;border:0;line-height:1.4}
html.food-app-layout .jd-home .jd-link svg{width:16px;height:16px;flex:none}
html.food-app-layout .jd-home .jd-actions{display:flex;flex-wrap:wrap;column-gap:18px;border-top:1px solid var(--jd-line);margin-top:4px;padding-top:4px}
html.food-app-layout .jd-home .jd-receipts{margin-bottom:28px}
html.food-app-layout .jd-home .jd-methods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
html.food-app-layout .jd-home .jd-method{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid var(--jd-line);border-radius:14px;min-width:0}
html.food-app-layout .jd-home .jd-method svg{width:18px;height:18px;color:#aa7d89}
html.food-app-layout .jd-home .jd-method span{font-size:11px;color:var(--jd-muted)}
html.food-app-layout .jd-home .jd-method strong{font-size:18px;font-weight:650;letter-spacing:-.03em;overflow-wrap:anywhere}
html.food-app-layout .jd-home .jd-method:last-child{background:#f9f5f3}
html.food-app-layout .jd-home .jd-receipt-notes{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid var(--jd-line);margin-top:16px;padding-top:14px}
html.food-app-layout .jd-home .jd-receipt-notes>div{display:flex;flex:1;justify-content:space-between;gap:12px;min-width:240px;font-size:11px;color:var(--jd-muted)}
html.food-app-layout .jd-home .jd-receipt-notes b{color:#58424c}
html.food-app-layout .jd-home .jd-attention{margin-bottom:24px;background:#fffbf5;border:1px solid #f1e5d2;border-radius:18px;padding:16px}
html.food-app-layout .jd-home .jd-attention h3{font-size:14px!important;margin:0 0 8px;color:#7e5d34}
html.food-app-layout .jd-home .jd-alert{display:flex;align-items:center;gap:9px;width:100%;background:transparent;padding:10px 0;color:#795d3f;font-size:12px;text-align:left;border:0;min-height:44px}
html.food-app-layout .jd-home .jd-alert svg{width:17px;height:17px;flex:none}
html.food-app-layout .jd-home .jd-alert span{flex:1}
html.food-app-layout .jd-home .jd-alert b{background:#f5ead7;border-radius:7px;padding:4px 9px}
html.food-app-layout .jd-home .ff-management{margin-bottom:28px}
html.food-app-layout .jd-home .ff-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html.food-app-layout .jd-home .jd-shortcut{display:flex;flex-direction:column;gap:12px;padding:16px!important;min-height:108px;background:#fff;border:1px solid var(--jd-line);border-radius:16px;text-align:left}
html.food-app-layout .jd-home .jd-shortcut svg{width:21px;height:21px;color:var(--jd-accent)}
html.food-app-layout .jd-home .jd-shortcut small{display:block;font-weight:400;font-size:10px;line-height:1.5;color:var(--jd-muted);margin-top:3px}
html.food-app-layout .jd-home .jd-setup{margin-bottom:16px;background:#fcfaf9}
html.food-app-layout .jd-home .jd-setup-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
html.food-app-layout .jd-home .jd-setup-item{display:flex;flex-direction:row-reverse;align-items:center;gap:12px;text-align:left;background:transparent;padding:13px 0;border:0;border-top:1px solid var(--jd-line);min-width:0;min-height:66px}
html.food-app-layout .jd-home .jd-setup-item>span{flex:1;font-size:12px;font-weight:600;color:#54414a}
html.food-app-layout .jd-home .jd-setup-item small{display:block;font-size:10px;font-weight:400;color:var(--jd-muted);line-height:1.55;margin-top:4px}
html.food-app-layout .jd-home .jd-setup-item svg{width:16px;height:16px;flex:none;color:#bca4ad}
html.food-app-layout .jd-home :is(.jd-link,.jd-quick-button,.jd-setup-item,.jd-shortcut,.jd-alert,.ff-stage,.ff-button){cursor:pointer;touch-action:manipulation}
html.food-app-layout .jd-home :is(.jd-link,.jd-quick-button,.jd-setup-item,.jd-shortcut,.jd-alert,.ff-stage,.ff-button):focus-visible{outline:3px solid var(--food-ui-border,#ef99ad);outline-offset:3px}
@media(max-width:700px){html.food-app-layout .jd-home .ff-greeting h2{font-size:30px!important}html.food-app-layout .jd-home .ff-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}html.food-app-layout .jd-home .jd-setup-list{grid-template-columns:1fr}html.food-app-layout .jd-home .jd-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html.food-app-layout .jd-home .jd-method:last-child{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;align-items:center}html.food-app-layout .jd-home .jd-method{padding:13px}html.food-app-layout .jd-home .ff-panel{padding:18px}html.food-app-layout .jd-home .jd-receipt-notes{flex-direction:column}html.food-app-layout .jd-home .jd-receipt-notes>div{min-width:0;flex:none}}
@media(max-width:360px){html.food-app-layout .jd-home .ff-greeting h2{font-size:27px!important}html.food-app-layout .jd-home .jd-quick-button{flex-direction:column;font-size:10px}html.food-app-layout .jd-home .ff-metric>strong{font-size:24px}html.food-app-layout .jd-home .jd-custody{padding:11px;font-size:11px}html.food-app-layout .jd-home .jd-custody svg{display:none}html.food-app-layout .jd-home .ff-panel{padding:15px}}
@media(hover:hover){html.food-app-layout .jd-home :is(.jd-shortcut,.jd-quick-button,.ff-stage):hover{border-color:var(--food-ui-border,#deb7c2)}html.food-app-layout .jd-home .jd-setup-item:hover{color:var(--jd-accent)}}
@media(prefers-reduced-motion:no-preference){html.food-app-layout .jd-home .jd-hero{animation:jd-arrive .35s ease both}html.food-app-layout .jd-home :is(.jd-quick-button,.jd-shortcut,.ff-stage){transition:background .15s ease,border-color .15s ease}@keyframes jd-arrive{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){html.food-app-layout .jd-home *{animation:none!important;transition:none!important}}

html.food-app-layout .jd-home .jd-order-payment{display:block;color:#8b6756;font-size:10px;line-height:1.6;margin-top:5px}

/* Shared dashboard content. Toolbar, greeting, mascot and main action stay unchanged. */
html.food-app-layout .ff-home.ff-home .fh-card{padding:18px;margin-bottom:20px;border-radius:18px;background:#fffcfa;box-shadow:none}
html.food-app-layout .ff-home.ff-home .fh-heading{align-items:flex-start;gap:12px}
html.food-app-layout .ff-home.ff-home .fh-state{gap:12px}
html.food-app-layout .ff-home.ff-home .fh-state>div{min-width:0;overflow-wrap:anywhere}
html.food-app-layout .ff-home.ff-home .fh-heading>[data-hours]{flex:none}
html.food-app-layout .ff-home.ff-home .fh-bottom{padding-top:14px;margin-top:14px;border-top:1px solid #eee5e0;gap:12px}
html.food-app-layout .ff-home.ff-home .fh-channels{flex:1;gap:6px}
html.food-app-layout .ff-home.ff-home .fh-channels span{font-weight:550;font-size:11px}
html.food-app-layout .ff-home.ff-home .fh-actions button{font-size:12px;min-height:44px;white-space:normal}
html.food-app-layout .ff-home.ff-home .ff-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}
html.food-app-layout .ff-home.ff-home .ff-metric{display:flex;flex-direction:column;gap:0;min-height:154px;padding:18px 16px;border:1px solid #eee5e8;border-radius:18px;background:#fff;box-shadow:none}
html.food-app-layout .ff-home.ff-home .ff-metric>div{min-height:32px;align-items:flex-start;gap:8px;margin:0 0 12px}
html.food-app-layout .ff-home.ff-home .ff-metric h3{font-size:12px!important;line-height:1.4!important;color:#75636b!important;font-weight:550}
html.food-app-layout .ff-home.ff-home .ff-metric svg{width:17px;height:17px;margin-top:1px;color:#967982!important}
html.food-app-layout .ff-home.ff-home .ff-metric>strong{font-size:clamp(23px,2.4vw,30px);font-weight:700;line-height:1.2;letter-spacing:-.045em;color:var(--ff-ink)!important;font-variant-numeric:tabular-nums}
html.food-app-layout .ff-home.ff-home .ff-metric>p{font-size:11px;line-height:1.5;color:#7b6871!important;margin:7px 0 0;opacity:1}
html.food-app-layout .ff-home.ff-home .ff-metric-primary{background:var(--food-ui-surface,#fff4f1);border-color:var(--food-ui-soft,#f6ddd5)}
html.food-app-layout .ff-home.ff-home .ff-metric-primary>strong{color:var(--food-ui-action,#a42b24)!important}
html.food-app-layout .ff-home.ff-home .ff-metric-updated{font-size:10px;padding-top:10px;line-height:1.5;color:#7b6871}
html.food-app-layout .ff-home.ff-home :is(.ff-operation,.ff-panel){border:1px solid #eee5e8;border-radius:20px;padding:20px;background:#fff;box-shadow:none;min-width:0}
html.food-app-layout .ff-home.ff-home .ff-operation{margin-bottom:20px}
html.food-app-layout .ff-home.ff-home .ff-section-heading{gap:12px;align-items:center;margin-bottom:16px;flex-wrap:wrap}
html.food-app-layout .ff-home.ff-home .ff-section-heading>div:first-child{min-width:0}
html.food-app-layout .ff-home.ff-home .ff-section-heading h3{font-size:18px!important;line-height:1.3!important;font-weight:650;letter-spacing:-.025em;margin:3px 0 0;overflow-wrap:anywhere}
html.food-app-layout .ff-home.ff-home .ff-eyebrow{font-size:10px!important;line-height:1.5;letter-spacing:.04em;color:#8a737d;margin:0}
html.food-app-layout .ff-home.ff-home .ff-section-note{font-size:12px;line-height:1.6;margin-bottom:14px}
html.food-app-layout .ff-home.ff-home .ff-stages{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html.food-app-layout .ff-home.ff-home .ff-stage{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:10px 8px;padding:14px;min-height:90px;border-radius:14px;background:#faf8f9;border-color:#eee5e8}
html.food-app-layout .ff-home.ff-home .ff-stage svg{width:18px;height:18px}
html.food-app-layout .ff-home.ff-home .ff-stage strong{font-size:25px;font-weight:650;font-variant-numeric:tabular-nums}
html.food-app-layout .ff-home.ff-home .ff-stage span{grid-column:1/-1;font-size:12px;line-height:1.4;color:#78646e}
html.food-app-layout .ff-home.ff-home .ff-stage.has-orders{background:#f0f8f3;border-color:#dceade}
html.food-app-layout .ff-home.ff-home .ff-stage[data-stage=novo].has-orders{background:#fff8eb;border-color:#f1e4c9}
html.food-app-layout .ff-home.ff-home .ff-dashboard-grid{grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:24px}
html.food-app-layout .ff-home.ff-home .ff-dashboard-side{gap:16px}
html.food-app-layout .ff-home.ff-home .ff-dashboard-side:has(>:not([hidden])){display:grid}
html.food-app-layout .ff-home.ff-home .ff-dashboard-side:not(:has(>:not([hidden]))){display:none}
html.food-app-layout .ff-home.ff-home .ff-order-row{padding:16px 0;gap:12px}
html.food-app-layout .ff-home.ff-home .ff-order-row>div:first-child>strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html.food-app-layout .ff-home.ff-home .ff-order-row p{font-size:12px;line-height:1.55;margin:5px 0}
html.food-app-layout .ff-home.ff-home .ff-order-row>div:last-child{max-width:44%;min-width:0;gap:8px}
html.food-app-layout .ff-home.ff-home .ff-order-row>div:last-child>strong{font-size:13px;overflow-wrap:anywhere;text-align:right}
html.food-app-layout .ff-home.ff-home .ff-order-row .ff-order-status{font-size:10px;border-radius:8px;padding:5px 8px;white-space:normal;text-align:center}
html.food-app-layout .ff-home.ff-home .ff-orders-footer{margin-top:8px;padding-top:6px}
html.food-app-layout .ff-home.ff-home :is(.ff-text-button,.jd-link){min-height:44px;font-size:12px;line-height:1.5}
html.food-app-layout .ff-home.ff-home .ff-empty{padding:24px 16px;border-radius:14px;background:#faf8f9}
html.food-app-layout .ff-home.ff-home .ff-empty p{font-size:12px;line-height:1.6}
html.food-app-layout .ff-home.ff-home .ff-stock-row{font-size:12px;padding:12px 0;line-height:1.5}
html.food-app-layout .ff-home.ff-home [data-ff-tables]{gap:12px;margin:18px 0 12px}
html.food-app-layout .ff-home.ff-home [data-ff-tables] span{font-size:11px}
html.food-app-layout .ff-home.ff-home .ff-ifood-dashboard{margin:0 0 24px}
html.food-app-layout .ff-home.ff-home .ff-ifood-cards{gap:10px}
html.food-app-layout .ff-home.ff-home .ff-ifood-cards button{min-height:76px;padding:16px;border:1px solid #eee5e8;border-radius:16px;background:#fff;gap:12px}
html.food-app-layout .ff-home.ff-home .ff-ifood-cards button>svg:first-child{box-sizing:content-box;width:20px;height:20px;padding:10px;border-radius:12px;background:var(--food-ui-surface,#fff2f3)}
html.food-app-layout .ff-home.ff-home .ff-ifood-cards strong{font-size:13px}
html.food-app-layout .ff-home.ff-home .ff-ifood-cards small{font-size:11px;line-height:1.5}
html.food-app-layout .ff-home.ff-home .ff-management{margin:0 0 24px}
html.food-app-layout .ff-home.ff-home .ff-shortcuts{gap:10px;margin:0}
html.food-app-layout .ff-home.ff-home .ff-shortcuts button{display:flex;flex-direction:row;align-items:flex-start;gap:10px;min-height:84px;padding:16px!important;border-radius:16px;border:1px solid #eee5e8;background:#faf8f9}
html.food-app-layout .ff-home.ff-home .ff-shortcuts button>span{min-width:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
html.food-app-layout .ff-home.ff-home .ff-shortcuts small{font-size:11px;line-height:1.5;margin-top:4px}
html.food-app-layout .ff-home.ff-home .jd-receipts{margin-bottom:24px}
html.food-app-layout .ff-home.ff-home .jd-setup{margin-bottom:0}
html.food-app-layout .ff-home.ff-home :is(.ff-stage,.ff-text-button,.ff-shortcuts button,.ff-ifood-cards button):focus-visible{outline:3px solid var(--food-ui-border,#dc8694);outline-offset:3px}
@media(max-width:439px){
 html.food-app-layout .ff-home.ff-home .ff-stages{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.food-app-layout .ff-home.ff-home :is(.ff-operation,.ff-panel){padding:16px}
 html.food-app-layout .ff-home.ff-home .ff-metric{padding:15px 12px;min-height:152px}
 html.food-app-layout .ff-home.ff-home .ff-metric>div{gap:6px}
 html.food-app-layout .ff-home.ff-home .ff-metric h3{font-size:11px!important}
 html.food-app-layout .ff-home.ff-home .ff-shortcuts button{flex-direction:column;padding:14px!important}
 html.food-app-layout .ff-home.ff-home .fh-actions{width:100%}
 html.food-app-layout .ff-home.ff-home .fh-actions button{width:100%}
}
@media(min-width:600px) and (max-width:999px){
 html.food-app-layout .ff-home.ff-home .ff-dashboard-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 html.food-app-layout .ff-home.ff-home .ff-dashboard-side:has(.jd-cash){grid-template-columns:1fr}
}
@media(min-width:900px){html.food-app-layout .ff-home.ff-home .ff-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
@media(min-width:1000px){
 html.food-app-layout .ff-home.ff-home .ff-dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start}
 html.food-app-layout .ff-home.ff-home .ff-dashboard-grid:not(:has(.ff-dashboard-side>:not([hidden]))){grid-template-columns:1fr}
}
@media(hover:hover){html.food-app-layout .ff-home.ff-home :is(.ff-ifood-cards button,.ff-shortcuts button):hover{background:var(--food-ui-surface,#fff3f4);border-color:var(--food-ui-soft,#e9cbd2)}}
