/* Original dark-green FoodCourt palette; white labels on solid brand surfaces. */
:root,html[data-theme="dark"],body.app-mode,.fc-landing-v2 {
  --brand:#087a3e; --brand-bright:#16834c; --brand-deep:#05612f;
  --brand-soft:#087a3e1a; --brand-border:#087a3e66; --brand-glow:#087a3e38;
  --fc-green:#087a3e; --fc-green-dark:#05612f; --fc-green-deep:#05612f;
  --fc-green-soft:#087a3e1a; --tech-lime:#087a3e; --tech-mint:#dbffd3;
  --g:#087a3e; --gd:#05612f;
}
/* Keep the original logo silhouette and black lettering. */
img.brand-logo-image,img.foodcourt-brand-logo,img.install-app-icon {
  filter:none;
}
body .btn-primary,body .btn-primary:hover,body .chip.active,
body .fcv2-submit,body .fcv2-create,body .signup-nav-cta,
body .landing-create,body .partner-login-submit,
body .partner-sidebar nav a.active,body .admin-sidebar nav a.active {
  background:#087a3e!important; color:#ffffff!important; border-color:#087a3e!important;
  box-shadow:0 5px 22px #087a3e2b;
}
html body.app-mode .header .header-inner :is(#partnerPortalBtn,#avatarBtn,#themeBtn,#notifBtn,#cartBtn) {
  background:var(--surface,#fff)!important;
  color:var(--text,#25332b)!important;
  border:1px solid #b9cfc1!important;
  box-shadow:none!important;
  transition:background-color 180ms,color 180ms,border-color 180ms;
}
html body.app-mode .header .header-inner #partnerPortalBtn::after { display:none; }
html body.app-mode .header .header-inner #partnerPortalBtn>span { color:inherit; background:transparent; }
html body.app-mode .header .header-inner :is(#partnerPortalBtn,#avatarBtn,#themeBtn,#notifBtn,#cartBtn):is(:hover,:focus-visible,:active,[aria-current="page"]),
html body.app-mode:has(#cartDrawer.open) .header .header-inner #cartBtn {
  background:#087a3e!important;
  color:#ffffff!important;
  border-color:#087a3e!important;
}
body.app-mode .header .header-inner .desktop-links a.active,
html[data-theme="dark"] body.app-mode .header .header-inner .desktop-links a.active {
  color:#ffffff!important; background:#087a3e!important;
}
.nav-glider,html[data-theme="dark"] .nav-glider { background:#087a3e; border-color:#087a3e; box-shadow:0 0 20px #087a3e38; }
/* Keep the moving highlight below link text, including hover and keyboard focus. */
body.app-mode .header .header-inner .desktop-links > .nav-glider {
  z-index:-1;
  pointer-events:none;
}
body.app-mode .header .header-inner .desktop-links > a:is(:hover,:focus-visible),
html[data-theme="dark"] body.app-mode .header .header-inner .desktop-links > a:is(:hover,:focus-visible) {
  color:#ffffff!important;
  background:#087a3e!important;
}
body.app-mode .header .header-inner .desktop-links > a:is(:hover,:focus-visible,.active) .header-nav-icon {
  color:inherit!important;
}
body.app-mode .header .header-inner .desktop-links > a:focus-visible {
  outline:2px solid #11230d;
  outline-offset:-3px;
}
body .desktop-links a.active svg,body .bottomnav a.active svg,
body .modern-category.active svg,body .account-subnav a.active svg {
  fill:none; stroke:currentColor;
}
body .modern-category.active i,body .modern-category:hover i,
html[data-theme="dark"] body .modern-category.active i,
body .account-subnav a.active {
  background:#087a3e!important; color:#ffffff!important; border-color:#087a3e!important;
}
body .modern-category.active svg,body .modern-category:hover svg { color:#ffffff!important; }
body.app-mode .profile-page .profile-head {
  background:radial-gradient(ellipse at top right,#16834c,transparent 65%),linear-gradient(120deg,#087a3e,#05612f)!important;
  color:#ffffff;
}
body.app-mode .profile-page .profile-head h2,body.app-mode .profile-page .profile-contact { color:#ffffff; }
body.app-mode .profile-page .profile-badges .badge { background:#ffffff55; color:#183313; border-color:#18331322; }
body.app-mode .profile-page .profile-avatar { color:#05612f; background:#eef7ec; }
body .profile-toggle input:checked+i { background:#087a3e; }
body :is(input[type="checkbox"],input[type="radio"]) { accent-color:#087a3e; }
