/* 饭有约 visual refresh, 2026-11-06 (owner request: food first, clear entries, one look for menu cards,
   prices, status, dates, portion counters and buttons; phones first). Presentation only: loaded after the
   page's own styles on the customer home and /enterprise-hot. No data, wording of rules, or behaviour here.
   Tokens: outputs/fyy-beautify-20261106/DESIGN_DIRECTION.md */
:root{
 --fb-forest:#154e40;--fb-forest-d:#103e33;--fb-ink:#183e33;--fb-muted:#52675c;--fb-cream:#f7f7f0;--fb-paper:#fff;
 --fb-sage:#e2eae1;--fb-sage-2:#eef3ea;--fb-line:#d5dfd2;
 --fb-table1:#0f1c17;--fb-table2:#1c2d26;--fb-on-table:#f4f1e6;--fb-on-table-2:#c9d5c8;
 --fb-warm:#a8521a;--fb-warm-bg:#fde3bd;--fb-warm-line:#e0a64a;
 --fb-open:#e4f2e6;--fb-open-ink:#1f6b45;--fb-soon:#fff1d6;--fb-soon-ink:#8a5200;--fb-off:#eeeeea;--fb-off-ink:#6b6f6a;
 --fb-shadow:0 10px 30px rgba(21,78,64,.08);--fb-shadow-lg:0 24px 50px -28px rgba(15,28,23,.55);
}

/* ---------- Enterprise hot page ---------- */
/* Intro: a dark "table" band, the set photo beside the offer, key facts as one row of chips. */
html body[data-fyy-surface=customer] .fyy-hot-intro{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px clamp(28px,4vw,56px);align-items:center;position:relative;overflow:hidden;margin-block:8px 18px;color:var(--fb-on-table)}
html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section#hot-intro.fyy-hot-intro{padding:clamp(28px,4vw,52px)!important;border-radius:28px!important;background:radial-gradient(90% 120% at 88% 0%,rgba(80,120,96,.35) 0%,rgba(80,120,96,0) 60%),linear-gradient(135deg,var(--fb-table1) 0%,var(--fb-table2) 100%)!important;box-shadow:var(--fb-shadow-lg)!important}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-eyebrow{margin:0;font-size:13px;font-weight:700;letter-spacing:.12em;color:#e3c27d}
html body[data-fyy-surface=customer] .fyy-hot-intro h1,html body[data-ww-glass][data-ui-brand][data-ww-theme] main>section#hot-intro.fyy-hot-intro h1{color:var(--fb-on-table)!important;-webkit-text-fill-color:var(--fb-on-table);font-size:clamp(32px,4.4vw,52px)}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-lead{color:var(--fb-on-table-2);font-size:17px}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-status{background:rgba(255,255,255,.07);color:var(--fb-on-table);border:1px solid rgba(255,255,255,.12)}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-status[data-state=open]::before{background:#7fd19a;box-shadow:0 0 0 4px rgba(127,209,154,.18)}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-actions{gap:12px 14px}
html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a{min-height:48px;padding:0 20px;border-radius:12px;border:1.5px solid rgba(244,241,230,.55);color:var(--fb-on-table);-webkit-text-fill-color:var(--fb-on-table);text-decoration:none;font-weight:650;transition:background-color .2s ease,transform .2s ease}
html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a:hover{background:rgba(255,255,255,.08);transform:translateY(-1px)}
html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta{padding:0 24px;border-color:transparent;border-radius:12px;background:#f4ead2;color:var(--fb-forest-d);-webkit-text-fill-color:var(--fb-forest-d)}
html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta::after{content:'→';margin-left:10px}
html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta:hover{background:#fff6e0}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;margin-top:6px;background:none;border:1px solid rgba(255,255,255,.12);border-radius:16px}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts div{background:rgba(255,255,255,.04);padding:12px 14px;border-left:1px solid rgba(255,255,255,.1)}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts div:first-child{border-left:0}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts dt{color:var(--fb-on-table-2);font-size:12px}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts dd{color:var(--fb-on-table);font-size:15px}
html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts dd small{color:var(--fb-on-table-2)}
.fyy-hot-intro-photo{position:relative;margin:0;min-width:0}
.fyy-hot-intro-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:22px;box-shadow:0 28px 50px -24px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.08)}
.fyy-hot-intro-photo figcaption{margin-top:10px;font-size:13px;color:var(--fb-on-table-2);text-align:center}

/* Page guide: the three blocks of this page. */
.fyy-hot-guide{width:min(1120px,100%);margin:0 auto 22px;box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fyy-hot-guide a{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:var(--fb-paper);border:1px solid var(--fb-line);box-shadow:var(--fb-shadow);color:var(--fb-ink);text-decoration:none;transition:transform .2s ease,border-color .2s ease}
.fyy-hot-guide a:hover{transform:translateY(-2px);border-color:var(--fb-forest)}
.fyy-hot-guide b{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--fb-forest);color:#fff;font-size:15px;font-variant-numeric:tabular-nums}
.fyy-hot-guide a:nth-child(3) b{background:var(--fb-warm)}
.fyy-hot-guide span{display:grid;gap:2px;min-width:0}.fyy-hot-guide strong{font-size:16px;color:var(--fb-forest)}.fyy-hot-guide small{font-size:13px;color:var(--fb-muted);line-height:1.45}

/* Blocks: one card style; 01 = menu + 每周/每月选餐 (joined), 02 = prices, 03 = meal cards. */
html body[data-fyy-surface=customer] main>section.fyy-hot-catalog:not(#hot-catalog):not(#hot-prices-section),html body[data-fyy-surface=customer] main>section#hot-catalog>#hot-menu,html body[data-fyy-surface=customer] main>section#hot-prices-section{border:1px solid var(--fb-line);border-radius:24px;box-shadow:var(--fb-shadow)}
html body[data-fyy-surface=customer] main>section.fyy-hot-catalog{margin-bottom:22px}
html body[data-fyy-surface=customer] main>section#hot-catalog:has(+#hot-order:not([hidden])){margin-bottom:0}
html body[data-fyy-surface=customer] main>section#hot-catalog:has(+#hot-order:not([hidden]))>#hot-menu{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0;box-shadow:none}
html body[data-fyy-surface=customer] main>section#hot-catalog+section#hot-order:not([hidden]){border-top-left-radius:0!important;border-top-right-radius:0!important;margin-top:0;border-top:1px dashed var(--fb-line)}
html body[data-fyy-surface=customer] main>section#hot-catalog>#hot-menu::before,html body[data-fyy-surface=customer] main>section#hot-prices-section::before,html body[data-fyy-surface=customer] main>section#hot-buy-card::before{
 display:inline-grid;place-items:center;width:40px;height:40px;margin:0 0 10px;border-radius:12px;background:var(--fb-forest);color:#fff;font-weight:800;font-size:15px;font-variant-numeric:tabular-nums}
html body[data-fyy-surface=customer] main>section#hot-catalog>#hot-menu::before{content:'01'}
html body[data-fyy-surface=customer] main>section#hot-prices-section::before{content:'02'}
html body[data-fyy-surface=customer] main>section#hot-buy-card::before{content:'03';background:var(--fb-warm)}
html body[data-fyy-surface=customer] main>section.fyy-hot-catalog h2{color:var(--fb-forest)}

/* Weekly menu: day pills, A/B cards with dish photos. */
html body[data-fyy-surface=customer] .fyy-hot-daytabs{display:flex;flex-wrap:wrap;gap:8px}
html body[data-fyy-surface=customer] .fyy-hot-daytab,html body[data-fyy-surface=customer] button.fyy-hot-daytab{display:inline-flex;flex-direction:column;align-items:center;gap:0;min-width:64px;min-height:52px;padding:6px 12px!important;border:1px solid var(--fb-line)!important;border-radius:14px!important;background:var(--fb-paper)!important;color:var(--fb-ink)!important;box-shadow:none!important;font-weight:650;cursor:pointer}
html body[data-fyy-surface=customer] .fyy-hot-daytab small{font-size:12px;font-weight:500;color:var(--fb-muted)}
html body[data-fyy-surface=customer] .fyy-hot-daytab[aria-selected=true],html body[data-ww-glass][data-ui-brand][data-ww-theme] button.fyy-hot-daytab[aria-selected=true]{background:var(--fb-forest)!important;border-color:var(--fb-forest)!important;color:#fff!important;-webkit-text-fill-color:#fff}
html body[data-fyy-surface=customer] .fyy-hot-daytab[aria-selected=true] small{color:#d7e6d9}
html body[data-fyy-surface=customer] .fyy-hot-set{border-radius:18px;border:1px solid var(--fb-line);background:var(--fb-sage-2);padding:14px 16px}
html body[data-fyy-surface=customer] .fyy-hot-set[data-set=A]{background:#fbf3e7;border-color:#efd9b8}
html body[data-fyy-surface=customer] .fyy-hot-set-title{display:inline-block;margin:0 0 8px;padding:3px 12px;border-radius:999px;background:var(--fb-forest);color:#fff;font-size:13px}
html body[data-fyy-surface=customer] .fyy-hot-set[data-set=A] .fyy-hot-set-title{background:var(--fb-warm)}
html body[data-fyy-surface=customer] .fyy-hot-set li{align-items:center}
html body[data-fyy-surface=customer] .fyy-hot-set li.fyy-hot-hasthumb{grid-template-columns:56px auto minmax(0,1fr);align-items:center}
html body[data-fyy-surface=customer] .fyy-hot-set li.fyy-hot-hasthumb .fyy-hot-thumb{grid-row:1/3}
html body[data-fyy-surface=customer] .fyy-hot-set li.fyy-hot-hasthumb small{grid-column:2/4}
.fyy-hot-thumb{flex:none;width:56px;height:56px;border-radius:12px;object-fit:cover;background:#ece6d6;box-shadow:0 4px 10px -6px rgba(0,0,0,.4)}
.fyy-hot-cutoff{font-size:13px}
html body[data-ww-glass][data-ui-brand][data-ww-theme] button.fyy-hot-nextweek,html body button.fyy-hot-nextweek{display:inline-flex;align-items:center;gap:8px;min-height:46px!important;margin-top:8px;padding:0 20px!important;border:0!important;border-radius:12px!important;background:var(--fb-forest)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:inherit;font-weight:700;cursor:pointer;box-shadow:none!important}
html body[data-ww-glass][data-ui-brand][data-ww-theme] button.fyy-hot-nextweek,html body button.fyy-hot-nextweek:hover{background:var(--fb-forest-d)!important}
html body[data-fyy-surface=customer] #hot-menu .fyy-hot-pending{padding:16px 18px;border:1.5px dashed var(--fb-line);border-radius:16px;background:var(--fb-cream)}

/* 每周/每月选餐: toolbar, day cards with a status pill, bigger counters, a dark selection bar. */
html body[data-fyy-surface=customer] .fyy-hot-pickbar{padding:10px 12px;border-radius:16px;background:var(--fb-sage-2);border:1px solid var(--fb-line)}
html body[data-fyy-surface=customer] .fyy-hot-daycard{border-radius:18px;border-color:var(--fb-line);padding:12px;box-shadow:0 4px 14px -10px rgba(21,78,64,.35)}
html body[data-fyy-surface=customer] .fyy-hot-daycard:not([data-closed]):hover{border-color:#9bb8a6}
html body[data-fyy-surface=customer] .fyy-hot-daycard-head{align-items:center}
html body[data-fyy-surface=customer] .fyy-hot-daycard-head .fyy-hot-tile-status{padding:2px 9px;border-radius:999px;background:var(--fb-off);color:var(--fb-off-ink);font-size:12px;font-weight:600;white-space:nowrap}
html body[data-fyy-surface=customer] .fyy-hot-daycard-head .fyy-hot-tile-status[data-state=open]{background:var(--fb-open);color:var(--fb-open-ink)}
html body[data-fyy-surface=customer] .fyy-hot-daycard-head .fyy-hot-tile-status[data-state=skipped]{background:var(--fb-soon);color:var(--fb-soon-ink)}
html body[data-fyy-surface=customer] .fyy-hot-daycard-head .fyy-hot-tile-status[data-state=unpublished]{background:transparent;border:1px dashed var(--fb-line);color:var(--fb-muted)}
html body[data-fyy-surface=customer] .fyy-hot-daycard[data-selected]{border-color:var(--fb-forest);box-shadow:inset 0 0 0 1px var(--fb-forest),0 10px 22px -16px rgba(21,78,64,.6)}
html body[data-fyy-surface=customer] .fyy-hot-dishpics img{border-radius:12px}
html body[data-fyy-surface=customer] .fyy-hot-stepper{grid-template-columns:32px 40px 32px;border-color:#b9cbb6}
html body[data-fyy-surface=customer] .fyy-hot-section .fyy-hot-stepper input{height:32px!important;width:40px!important;font-weight:700!important;font-size:15px!important}
html body[data-fyy-surface=customer] .fyy-hot-section button.fyy-hot-step-btn{width:32px!important;height:32px!important;font-size:18px!important;color:var(--fb-forest)!important}
html body[data-fyy-surface=customer] .fyy-hot-cart{background:var(--fb-forest-d);border-color:var(--fb-forest-d);color:var(--fb-on-table);box-shadow:0 -10px 30px -16px rgba(15,28,23,.6)}
html body[data-fyy-surface=customer] .fyy-hot-cart .fyy-hot-cart-sum,html body[data-fyy-surface=customer] .fyy-hot-cart .fyy-hot-cart-sum strong{color:var(--fb-on-table)}
html body[data-fyy-surface=customer] .fyy-hot-cart .fyy-hot-chips li{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:var(--fb-on-table)}
html body[data-fyy-surface=customer] .fyy-hot-cart .fyy-hot-chips li small{color:#e4ece2!important;opacity:1!important}
html body[data-fyy-surface=customer] .fyy-hot-cart .fyy-hot-chips li[data-short]{border-color:#ffd28a!important;background:rgba(255,210,138,.16)!important}
html body[data-fyy-surface=customer] .fyy-hot-cart .fyy-hot-chip-x{color:var(--fb-on-table)!important}
html body[data-fyy-surface=customer] .fyy-hot-cart .fyy-hot-tile-warn{color:#ffd28a}
html body[data-fyy-surface=customer] .fyy-hot-section .fyy-hot-cart .fyy-hot-cart-actions button:not(:disabled),html body[data-fyy-surface=customer] .fyy-hot-section .fyy-hot-cart .fyy-hot-cart-actions a{background:#f4ead2!important;color:var(--fb-forest-d)!important;-webkit-text-fill-color:var(--fb-forest-d)!important;border-color:#f4ead2!important}

/* Prices: one card per tier, the best price in forest. */
html body[data-fyy-surface=customer] .fyy-hot-step{border-radius:18px;padding:20px 20px 18px;box-shadow:0 6px 18px -14px rgba(21,78,64,.5)}
html body[data-fyy-surface=customer] .fyy-hot-step-range{display:inline-block;align-self:flex-start;padding:2px 10px;border-radius:999px;background:rgba(255,255,255,.55);font-size:14px}
html body[data-fyy-surface=customer] .fyy-hot-step[data-last=true] .fyy-hot-step-range{background:rgba(255,255,255,.14)}

/* Meal cards: trial first and warm, the rest white; radio + name + price read in one line on phones. */
html body[data-fyy-surface=customer] .fyy-hot-section label.fyy-hot-plancard{border-radius:18px!important;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
html body[data-fyy-surface=customer] .fyy-hot-section label.fyy-hot-plancard:hover{transform:translateY(-2px)}
html body[data-fyy-surface=customer] .fyy-hot-section label.fyy-hot-plancard:has(input:checked){border-color:var(--fb-forest)!important;box-shadow:inset 0 0 0 1px var(--fb-forest),var(--fb-shadow)!important}
html body[data-fyy-surface=customer] .fyy-hot-section label.fyy-hot-plancard-trial:has(input:checked){border-color:var(--fb-warm)!important;box-shadow:inset 0 0 0 1px var(--fb-warm),0 12px 26px -16px rgba(168,82,26,.6)!important}

/* Phones */
@media(max-width:900px){
 html body[data-fyy-surface=customer] .fyy-hot-intro{grid-template-columns:minmax(0,1fr);gap:18px}
 html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section#hot-intro.fyy-hot-intro{padding:20px 18px 24px!important;border-radius:22px!important}
 .fyy-hot-intro-photo{order:-1}
 .fyy-hot-intro-photo img{border-radius:16px}
 html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts div:nth-child(3){border-left:0}
 html body[data-fyy-surface=customer] .fyy-hot-intro .fyy-hot-keyfacts div:nth-child(n+3){border-top:1px solid rgba(255,255,255,.1)}
 .fyy-hot-guide{grid-template-columns:minmax(0,1fr);gap:8px}
 .fyy-hot-guide a{padding:12px 14px}
}
@media(max-width:600px){
 html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions{width:100%}
 html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a{flex:1 1 40%;justify-content:center}
 html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta{flex-basis:100%}
 html body[data-fyy-surface=customer] .fyy-hot-stepper{grid-template-columns:40px 44px 40px}
 html body[data-fyy-surface=customer] .fyy-hot-section .fyy-hot-stepper input{height:40px!important;width:44px!important}
 html body[data-fyy-surface=customer] .fyy-hot-section button.fyy-hot-step-btn{width:40px!important;height:40px!important}
 html body[data-fyy-surface=customer] .fyy-hot-cart{position:sticky;bottom:0;margin:4px -2px 0;border-radius:16px 16px 0 0;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
 html body[data-fyy-surface=customer] .fyy-hot-daytab{min-width:56px;flex:1 1 0}
 .fyy-hot-thumb{width:48px;height:48px}
 html body[data-fyy-surface=customer] .fyy-hot-plancards{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 html body[data-fyy-surface=customer] .fyy-hot-section label.fyy-hot-plancard{padding:14px 44px 14px 16px!important}
 html body[data-fyy-surface=customer] .fyy-hot-plancard-body{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:12px}
 html body[data-fyy-surface=customer] .fyy-hot-plancard-body>.fyy-hot-plancard-ribbon{grid-column:1/-1;justify-self:start}
 html body[data-fyy-surface=customer] .fyy-hot-plancard-body>ul{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin-top:4px!important;padding-top:10px!important;border-top:1px dashed var(--fb-line)}
 html body[data-fyy-surface=customer] .fyy-hot-plancard-body>ul>li{display:grid!important;gap:0!important;justify-content:start!important;align-content:start}
 html body[data-fyy-surface=customer] .fyy-hot-plancard-body>ul>li>span:first-child{font-size:12px;color:var(--fb-muted)}
 html body[data-fyy-surface=customer] .fyy-hot-plancard-body>ul>li>span:last-child{font-weight:700;color:var(--fb-ink)}
 html body[data-fyy-surface=customer] .fyy-hot-set li.fyy-hot-hasthumb{grid-template-columns:48px auto minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.fyy-hot-guide a,html body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a,html body[data-fyy-surface=customer] .fyy-hot-section label.fyy-hot-plancard{transition:none}.fyy-hot-guide a:hover,html body[data-fyy-surface=customer] .fyy-hot-section label.fyy-hot-plancard:hover{transform:none}}
