/* Enterprise hot page (customer, green). Intro, price staircase, meal card comparison, A/B menu.
   Spacing scale 4/8/12/16/24/32/48/64. Customer pages keep the brand green; supplier palettes never apply. */
body[data-fyy-surface="customer"] .fyy-hot-intro,
.fyy-hot-catalog{
 --hot-green:#154e40;--hot-action:#174f3d;--hot-soft:#e8eee3;--hot-line:#d7e2d5;--hot-ink:#183e33;--hot-muted:#52675c;
 --hot-wide:1120px;
 width:min(var(--hot-wide),100%);margin-inline:auto;box-sizing:border-box;
}
.fyy-hot-intro ::selection,.fyy-hot-catalog ::selection{background:#cfe0cf;color:#103a2f}
.fyy-hot-catalog :focus-visible,.fyy-hot-intro :focus-visible{outline:3px solid #5b885e;outline-offset:3px;border-radius:6px}

/* Intro: offer, live status, one primary action; key facts sit beside it. */
body[data-fyy-surface="customer"] .fyy-hot-intro{
 max-width:none;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:32px 48px;align-items:center;
 padding:48px;margin-block:8px 32px;background:#fff;border-radius:16px;box-shadow:0 18px 40px -24px #154e4052;color:var(--hot-ink)
}
.fyy-hot-intro-copy{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
body[data-fyy-surface="customer"] .fyy-hot-intro h1{margin:0;font-size:clamp(30px,4vw,46px);line-height:1.15;letter-spacing:-.02em;color:var(--hot-green);text-wrap:balance}
.fyy-hot-intro .fyy-hot-lead{margin:0;font-size:18px;line-height:1.75;color:var(--hot-ink);max-width:34em}
.fyy-hot-status{margin:0;display:inline-flex;align-items:flex-start;gap:10px;padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.6;max-width:40em}
.fyy-hot-status::before{content:'';flex:0 0 auto;width:8px;height:8px;margin-top:8px;border-radius:50%}
.fyy-hot-status[data-state="open"]{background:#e3f1e6;color:#14432f}
.fyy-hot-status[data-state="open"]::before{background:#2a7350}
.fyy-hot-status[data-state="soon"]{background:#fbf1dc;color:#5a3f07}
.fyy-hot-status[data-state="soon"]::before{background:#b7841c}
.fyy-hot-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding-top:4px}
.fyy-hot-intro .fyy-hot-actions a{display:inline-flex;align-items:center;min-height:44px;color:var(--hot-action);font-weight:600;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
body[data-fyy-surface] .fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta{padding:0 26px;border-radius:999px;background:var(--hot-action);color:#fff;-webkit-text-fill-color:#fff;text-decoration:none;transition:background-color .2s ease,transform .2s ease}
.fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta:hover{background:#0c3c2e;transform:translateY(-1px)}
.fyy-hot-keyfacts{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--hot-line);border-radius:14px;overflow:hidden}
.fyy-hot-keyfacts[hidden]{display:none}
.fyy-hot-keyfacts div{background:var(--hot-soft);padding:18px 20px;display:flex;flex-direction:column;gap:4px;min-width:0}
.fyy-hot-keyfacts dt{font-size:13px;color:var(--hot-muted)}
.fyy-hot-keyfacts dd{margin:0;font-size:18px;font-weight:700;color:var(--hot-green);line-height:1.35}
.fyy-hot-keyfacts dd small{display:block;font-size:12px;font-weight:400;color:var(--hot-muted)}

/* Shared section rhythm: generous space above headings, tight below. */
.fyy-hot-catalog{color:var(--hot-ink)}
.fyy-hot-catalog[data-fyy-hot-catalog]{margin-block:0 32px;padding:0;background:none;border:0}
.fyy-hot-catalog[data-fyy-hot-catalog]>section,.fyy-hot-catalog.fyy-hot-order,.fyy-hot-catalog.fyy-hot-section{background:#fff;border:0;border-radius:16px;padding:40px 48px;margin-block:0 24px;box-shadow:0 18px 40px -28px #154e403d}
.fyy-hot-catalog.fyy-hot-order>h2,.fyy-hot-catalog.fyy-hot-section>h2{margin-bottom:12px}
.fyy-hot-section-head{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}
.fyy-hot-catalog h2{margin:0;font-size:clamp(24px,2.6vw,30px);line-height:1.25;color:var(--hot-green);letter-spacing:-.01em}
.fyy-hot-catalog h3{margin:0;font-size:22px;line-height:1.3;color:var(--hot-green)}
.fyy-hot-section-head>p{margin:0;color:var(--hot-muted);line-height:1.7;max-width:60ch}
.fyy-hot-fine{margin:16px 0 0;font-size:13px;line-height:1.7;color:var(--hot-muted)}
.fyy-hot-notice{margin:8px 0 12px;padding:10px 12px;border-radius:8px;background:#fbf1dc;color:#5a3f07}
.fyy-hot-pending{color:var(--hot-muted)}

/* Price tiers: equal cards, one colour per tier from light sage to deep brand green. */
.fyy-hot-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}
.fyy-hot-step{--tier-bg:#e4ecdf;--tier-ink:var(--hot-green);--tier-accent:#2a7350;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:22px 20px;border-radius:14px;background:var(--tier-bg);color:var(--tier-ink);border-top:4px solid var(--tier-accent)}
.fyy-hot-step:nth-child(2){--tier-bg:#cfe8d5;--tier-accent:#3f8a5f}
.fyy-hot-step:nth-child(3){--tier-bg:#eef2c9;--tier-accent:#a8b93c}
.fyy-hot-step[data-last="true"]{--tier-bg:var(--hot-green);--tier-ink:#fff;--tier-accent:#e9b44c}
.fyy-hot-step p{margin:0}
.fyy-hot-step-range{font-size:15px;font-weight:600}
.fyy-hot-step-price{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:4px;margin-top:auto!important}
.fyy-hot-step-price span{white-space:nowrap}
.fyy-hot-step-price strong{font-size:clamp(30px,3.2vw,40px);line-height:1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.fyy-hot-step-price span{font-size:14px;opacity:.85}
.fyy-hot-step-save{font-size:13px;opacity:.9;font-variant-numeric:tabular-nums}
.fyy-hot-step[data-last="true"] .fyy-hot-step-save{color:#d7e58c;opacity:1;font-weight:600}

/* Meal card comparison: one table, plans as columns, the prepaid total as the closing row. */
.fyy-hot-terms{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.fyy-hot-terms li{background:var(--hot-soft);border-radius:999px;padding:6px 14px;font-size:14px;color:var(--hot-ink)}
.fyy-hot-plan-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:14px;border:1px solid var(--hot-line)}
.fyy-hot-plan-table{width:100%;min-width:620px;border-collapse:collapse;font-variant-numeric:tabular-nums}
.fyy-hot-plan-table th,.fyy-hot-plan-table td{padding:14px 18px;text-align:right;border-bottom:1px solid var(--hot-line);white-space:nowrap}
.fyy-hot-plan-table thead th{background:var(--hot-soft);color:var(--hot-green);font-size:15px}
.fyy-hot-plan-table th[scope=row],.fyy-hot-plan-table thead th:first-child{text-align:left;font-weight:500;color:var(--hot-muted);font-size:14px;position:sticky;left:0;background:#fff}
.fyy-hot-plan-table thead th:first-child{background:var(--hot-soft)}
.fyy-hot-plan-table td{font-size:16px;color:var(--hot-ink)}
.fyy-hot-plan-total td,.fyy-hot-plan-total th[scope=row]{border-bottom:0;background:#f6f9f4}
.fyy-hot-plan-total td{font-size:22px;font-weight:800;color:var(--hot-green)}
.fyy-hot-plan-stack{display:none;list-style:none;margin:0;padding:0;gap:1px;background:var(--hot-line);border-radius:14px;overflow:hidden}
.fyy-hot-plan-stack li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;background:#fff}
.fyy-hot-plan-stack li div{display:flex;flex-direction:column;gap:4px;min-width:0}
.fyy-hot-plan-stack li div:last-child{align-items:flex-end;text-align:right}
.fyy-hot-plan-stack strong{font-size:16px;color:var(--hot-green)}
.fyy-hot-plan-stack li div:last-child strong{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
.fyy-hot-plan-stack span{font-size:13px;color:var(--hot-muted);font-variant-numeric:tabular-nums}

/* Weekly menu: day tabs, then sets A and B side by side. */
.fyy-hot-daytabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:20px}
.fyy-hot-daytab{flex:1 0 96px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid var(--hot-line);border-radius:12px;background:#fff;color:var(--hot-ink);font:inherit;font-weight:600;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}
.fyy-hot-daytab small{font-size:12px;font-weight:400;color:var(--hot-muted);font-variant-numeric:tabular-nums}
.fyy-hot-daytab[aria-selected="true"]{background:var(--hot-green);border-color:var(--hot-green);color:#fff}
.fyy-hot-daytab[aria-selected="true"] small{color:#cfe8d5}
.fyy-hot-day[hidden]{display:none}
.fyy-hot-cutoff{margin:0 0 16px;color:var(--hot-muted);font-size:14px}
.fyy-hot-sets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fyy-hot-set{border-radius:14px;padding:20px 22px;background:var(--hot-soft)}
.fyy-hot-set[data-set="B"]{background:#f1f4e4}
.fyy-hot-set h4{margin:0 0 12px;font-size:18px;color:var(--hot-green)}
.fyy-hot-set ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.fyy-hot-set li{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:2px;align-items:baseline}
.fyy-hot-set li strong{font-size:16px;color:var(--hot-ink)}
.fyy-hot-set li small{grid-column:2;color:var(--hot-muted);font-size:13px;line-height:1.6}
.fyy-hot-tag{font-size:12px;padding:2px 8px;border-radius:999px;background:#fff;color:var(--hot-green);align-self:start;white-space:nowrap}
.fyy-hot-rice .fyy-hot-tag{background:transparent;border:1px dashed #9cc3a6}

html[lang=en] .fyy-hot-zh,html:not([lang=en]) .fyy-hot-en{display:none}

@media(max-width:900px){
 body[data-fyy-surface="customer"] .fyy-hot-intro{grid-template-columns:1fr;padding:32px 24px}
 .fyy-hot-catalog[data-fyy-hot-catalog]>section,.fyy-hot-catalog.fyy-hot-order,.fyy-hot-catalog.fyy-hot-section{padding:28px 20px}
}
@media(max-width:640px){
 body[data-fyy-surface="customer"] .fyy-hot-intro{padding:24px 18px;border-radius:14px}
 .fyy-hot-keyfacts div{padding:14px 16px}
 .fyy-hot-keyfacts dd{font-size:16px}
 /* Tiers stack as full-width rows on phones, same colours. */
 .fyy-hot-steps{grid-template-columns:1fr;gap:8px}
 .fyy-hot-step{display:grid;column-gap:12px;row-gap:4px;border-top:0;border-left:4px solid var(--tier-accent);grid-template-columns:1fr auto;grid-template-areas:"range price" "save price";align-items:center;padding:14px 16px;border-radius:12px}
 .fyy-hot-step-range{grid-area:range}
 .fyy-hot-step .fyy-hot-step-price{grid-area:price;margin-top:0!important}
 .fyy-hot-step-save{grid-area:save}
 .fyy-hot-step-price strong{font-size:28px}
 .fyy-hot-sets{grid-template-columns:1fr}
 .fyy-hot-plan-scroll{display:none}
 .fyy-hot-plan-stack{display:grid}
 .fyy-hot-terms li{border-radius:12px}
 .fyy-hot-daytab{flex:1 1 0;min-width:56px;padding-inline:4px}
}
@media(prefers-reduced-motion:reduce){.fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta,.fyy-hot-daytab{transition:none}.fyy-hot-intro .fyy-hot-actions a.fyy-hot-cta:hover{transform:none}}

/* The shared fanyouyue-glass.css forces every main>section to 20px padding and a white card and
   every h1 to 28px, all with !important and an id in the selector. Override only on this page's
   own sections (ids below) so the catalog is not a card nested inside a card. */
html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section#hot-intro.fyy-hot-intro{padding:48px!important;background:#fff!important;border:0!important;box-shadow:0 18px 40px -24px #154e4052!important}
html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section#hot-catalog.fyy-hot-catalog{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section:is(#hot-order,#hot-plans,#hot-cards,#hot-my-orders).fyy-hot-catalog{padding:40px 48px!important;border:0!important}
html body[data-fyy-surface][data-ui-brand][data-ww-theme] .fyy-hot-intro .fyy-hot-intro-copy h1,html body[data-fyy-surface][data-ui-brand] .fyy-hot-intro .fyy-hot-intro-copy h1{font-size:clamp(30px,4vw,46px)!important;margin:0!important}
@media(max-width:900px){
 html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section#hot-intro.fyy-hot-intro{padding:32px 24px!important}
 html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section:is(#hot-order,#hot-plans,#hot-cards,#hot-my-orders).fyy-hot-catalog{padding:28px 20px!important}
}
@media(max-width:640px){html body[data-fyy-surface][data-ui-brand][data-ml-theme] main>section#hot-intro.fyy-hot-intro{padding:24px 18px!important}}
/* The shared glass button style paints every button with a cream gradient and fixed padding
   (!important). Day tabs are tabs, not buttons: restate their look inside this page's catalog. */
html body[data-fyy-surface][data-ui-brand] #hot-catalog .fyy-hot-daytab{background:#fff!important;background-image:none!important;color:var(--hot-ink)!important;-webkit-text-fill-color:currentColor!important;padding:6px 4px!important;border:1px solid var(--hot-line)!important;box-shadow:none!important;white-space:nowrap}
html body[data-fyy-surface][data-ui-brand] #hot-catalog .fyy-hot-daytab[aria-selected="true"]{background:var(--hot-green)!important;border-color:var(--hot-green)!important;color:#fff!important}
html body[data-fyy-surface][data-ui-brand] #hot-catalog .fyy-hot-daytab[aria-selected="true"] small{color:#cfe8d5;-webkit-text-fill-color:#cfe8d5}
.fyy-hot-plan-stack li div:last-child strong,.fyy-hot-plan-stack span,.fyy-hot-step-price strong{white-space:nowrap}
.fyy-hot-plan-stack li div:first-child{flex:1 1 auto}
@media(max-width:640px){.fyy-hot-plan-stack li div:last-child strong{font-size:18px}.fyy-hot-daytab small{font-size:11px}}
/* Holiday tabs and panels (no delivery, no deduction). */
html body[data-fyy-surface][data-ui-brand] #hot-catalog .fyy-hot-daytab[data-skipped="true"]{color:var(--hot-muted,#5b6b63)!important;border-style:dashed!important}
html body[data-fyy-surface][data-ui-brand] #hot-catalog .fyy-hot-daytab[data-skipped="true"][aria-selected="true"]{background:#eef2c9!important;border-color:#a8b93c!important;color:var(--hot-green)!important}
html body[data-fyy-surface][data-ui-brand] #hot-catalog .fyy-hot-daytab[data-skipped="true"] small{color:#5d6b1f;-webkit-text-fill-color:#5d6b1f}
html body[data-fyy-surface][data-ui-brand] #hot-catalog .fyy-hot-daytab small.fyy-hot-daytab-skip{font-size:11px;font-weight:700}
.fyy-hot-skip{margin:8px 0 4px;font-size:20px;font-weight:800;color:var(--hot-green)}
/* Week switch on the menu (owner request 2026-11-05): this week first, previous/next week. */
.fyy-hot-weekhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.fyy-hot-weeknav{display:flex;flex-wrap:wrap;gap:8px}
html body .fyy-hot-weeknav button.fyy-hot-weekbtn{min-height:38px;padding:6px 14px!important;border:1px solid #c8d6c4!important;border-radius:999px!important;background:#fffdf6!important;color:#154e40!important;font-weight:650;box-shadow:none!important}
html body .fyy-hot-weeknav button.fyy-hot-weekbtn:disabled{opacity:.45;cursor:not-allowed}
.fyy-hot-pricing{margin-top:0}
