/* Supplier palettes only. Customer ordering, website, staff and driver retain green. */
body[data-fyy-surface="supplier"][data-fyy-meal-mode]{--fyy-main:#245f85;--fyy-dark:#174463;--fyy-bg:#f2f8fc;--fyy-soft:#e3f0f8;--fyy-line:#bfd6e5;--fyy-ink:#193e54;--fyy-muted:#496779;--green:var(--fyy-main);--forest:var(--fyy-main);--brand:var(--fyy-main);--paper:var(--fyy-bg);--cream:var(--fyy-bg);--ink:var(--fyy-ink);--muted:var(--fyy-muted);--line:var(--fyy-line);--sage:var(--fyy-soft);background:var(--fyy-bg);color:var(--fyy-ink);caret-color:var(--fyy-main);scrollbar-color:var(--fyy-line) var(--fyy-bg)}
body[data-fyy-surface="supplier"][data-fyy-meal-mode="hot"]{--fyy-main:#9a4b23;--fyy-dark:#68351e;--fyy-bg:#fff7ef;--fyy-soft:#f7e3d1;--fyy-line:#dfbda4;--fyy-ink:#543322;--fyy-muted:#79573e}
body[data-fyy-surface="supplier"] ::selection{background:var(--fyy-line);color:var(--fyy-dark)}
body[data-fyy-surface="supplier"] :focus-visible{outline:3px solid var(--fyy-main);outline-offset:3px}
body[data-fyy-surface="supplier"] .portal-header,body[data-fyy-surface="supplier"] .navigation{background:var(--fyy-main);color:#fff}
body[data-fyy-surface="supplier"] .navigation a,body[data-fyy-surface="supplier"] .navigation summary{display:block;min-height:44px;padding:10px 16px;color:#fff;line-height:1.5}
body[data-fyy-surface="supplier"] .navigation a:hover,body[data-fyy-surface="supplier"] .navigation summary:hover,body[data-fyy-surface="supplier"] .navigation button:hover,body[data-fyy-surface="supplier"] .navigation button[aria-current="page"]{background:var(--fyy-dark);color:#fff}
body[data-fyy-surface="supplier"] .navigation :focus-visible{outline-color:#fff}
body[data-fyy-surface="supplier"] .navigation details[open]{padding-bottom:8px}
/* Keep the original workspace geometry and logo stylesheets; recolor only its surfaces. */
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout]{background:var(--fyy-bg)!important;color:var(--fyy-ink)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout]::before,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout]::after{background:none!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main>header{background:#fff!important;color:var(--fyy-ink)!important;border-color:var(--fyy-line)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main h1,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main h2,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main h3{color:var(--fyy-ink)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main .card{background:#fff!important;border-color:var(--fyy-line)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar{background:var(--fyy-dark)!important;border-color:var(--fyy-line)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar .ml-sidebar-brand{border-color:var(--fyy-line)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar a,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar button,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar .ml-nav-heading,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar .ml-sidebar-caption{color:#fff!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar button.active,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar a:hover,html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar button:hover{background:var(--fyy-main)!important;color:#fff!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] .fyy-wordmark{display:block;width:218px;max-width:100%;height:54px;object-fit:contain;object-position:left center}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar .fyy-wordmark{width:190px;max-width:100%;height:48px}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar .ml-sidebar-brand:has(.fyy-wordmark)>.role-brand-logo{display:none!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main>header:has(.fyy-wordmark) .role-brand-logo{display:none!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] button.primary{background:var(--fyy-main)!important;border-color:var(--fyy-main)!important;color:#fff!important}
.fyy-supplier-mode-nav{display:flex;gap:8px;flex-wrap:wrap;max-width:1180px;margin:16px auto;padding:0 24px}
body[data-fyy-supplier-layout="workspace"] .fyy-supplier-mode-nav{margin:16px 0;padding:0}
.fyy-supplier-mode-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid var(--fyy-line);border-radius:8px;background:#fff;color:var(--fyy-ink);text-decoration:none;font-weight:600}
.fyy-supplier-mode-nav a[aria-current="page"]{background:var(--fyy-main);border-color:var(--fyy-main);color:#fff}
body[data-fyy-surface="supplier"][data-fyy-supplier-layout="portal"] .portal-header{background:#fff;color:var(--fyy-ink);border-bottom-color:var(--fyy-line)}
/* Existing customer/operations helpers retain green; no supplier palette is applied. */
.fyy-hot-header{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding:24px 0;border-bottom:1px solid #d7e2d5}
.fyy-hot-header img{display:block;width:184px;max-width:100%;height:48px;object-fit:contain}
.fyy-hot-header nav{display:flex;gap:12px;flex-wrap:wrap}
.fyy-hot-header a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;color:#174f3d;text-decoration:none}
.fyy-hot-header a[aria-current="page"]{background:#e8eee3}
.fyy-hot-intro{padding:32px 0;max-width:75ch}.fyy-hot-intro h1{font-size:clamp(28px,4vw,42px)}.fyy-hot-intro p{line-height:1.8}.fyy-hot-intro a{color:#174f3d;text-underline-offset:4px}
.fyy-inline-login{display:inline-flex;min-height:44px;align-items:center;padding:8px 14px;color:#174f3d}
.fyy-operations-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.fyy-operations-nav a{padding:10px 14px;color:#174f3d;min-height:44px;border:1px solid #d7e2d5;border-radius:8px;text-decoration:none;background:#fff}.fyy-operations-nav a[aria-current="page"]{background:#e8eee3}
/* Preserve the accepted compact pricing layout without replacing its green theme. */
body[data-fyy-surface="customer"] .fyy-pro .fyy-pro-choice{position:relative;display:grid;grid-template-columns:1fr;padding:12px 6px;gap:4px;min-height:88px}
body[data-fyy-surface="customer"] .fyy-pro-choice input{position:absolute;left:8px;top:15px;margin:0}
body[data-fyy-surface="customer"] .fyy-pro-choice>span{display:grid;gap:5px;justify-items:center}
body[data-fyy-surface="customer"] .fyy-pro-choice strong{padding-left:20px;font-size:14px}
body[data-fyy-surface="customer"] .fyy-pro .fyy-pro-price{display:block;white-space:nowrap;font-size:14px}
body[data-fyy-surface="customer"] .fyy-pro-price small{font-size:11px}
@media(max-width:600px){.fyy-hot-header{gap:12px}.fyy-hot-header nav{gap:4px}.fyy-hot-header a{font-size:14px;padding:6px 8px}.fyy-supplier-mode-nav{padding:0 16px}.fyy-supplier-mode-nav a{padding:8px 12px}.fyy-operations-nav{gap:6px}}

/* Override incumbent green paint without removing its layout/branding rules. */
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar{background-image:none!important;background-color:var(--fyy-dark)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main>header,
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main .card{background-image:none!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] main a{color:var(--fyy-main)!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] .fyy-supplier-mode-nav a[aria-current="page"]{background:var(--fyy-main)!important;border-color:var(--fyy-main)!important;color:#fff!important}
body[data-fyy-surface="customer"]:has(.fyy-hot-intro) .fyy-entry-hero{display:none!important}

html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode][data-ui-brand="fanyouyue"][data-fyy-supplier-layout] #ml-sidebar .ml-sidebar-brand strong{display:block!important;font-size:0;line-height:0}
/* Hot + chilled supplier accounts: one link to the other workspace (2026-11-08). */
html:root body[data-fyy-surface="supplier"] a.fyy-meal-switch{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1.5px solid currentColor;border-radius:999px;font-weight:700;text-decoration:none;white-space:nowrap}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode="hot"] a.fyy-meal-switch{color:#245f85!important}
html:root body[data-fyy-surface="supplier"][data-fyy-meal-mode="cold"] a.fyy-meal-switch{color:#9a4b23!important}
