/* Shared WelcomesYou chrome. Tenant guest screens and order-state colors are independent. */
:root{--wy-header-gradient:linear-gradient(110deg,#1a4365,#14747b);--wy-header-glass:linear-gradient(110deg,rgba(26,67,101,.87),rgba(20,116,123,.81));--wy-header-accent:#84dedb}
html .wy-corporate-header{background:var(--wy-header-gradient)!important;color:#fff!important;border-bottom:1px solid #b8ece82b!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:background .24s ease,box-shadow .24s ease,border-color .24s ease}
html .wy-corporate-header.wy-header-glass{background:var(--wy-header-glass)!important;backdrop-filter:blur(22px) saturate(145%)!important;-webkit-backdrop-filter:blur(22px) saturate(145%)!important;border-bottom-color:#d5fffa45!important;box-shadow:0 8px 24px #0a304326!important}
html .wy-corporate-wordmark{display:inline-flex!important;align-items:center!important;gap:0!important;position:relative!important;flex:0 0 auto;color:#fff!important;font:700 24px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:-1px!important;text-decoration:none!important;white-space:nowrap;padding:0!important;margin:0!important;min-height:29px}
html .wy-corporate-wordmark>.wy-wordmark-accent{position:static!important;display:inline!important;color:var(--wy-header-accent)!important;font:inherit!important;letter-spacing:inherit!important;line-height:inherit!important;inset:auto!important;margin:0!important;padding:0!important}
.wy-corporate-wordmark:focus-visible{outline:2px solid #b9ffef;outline-offset:6px;border-radius:3px}
html #wy-app .wy-auth-story,html body[data-corporate=true] #app .auth-story{background:var(--wy-header-gradient)!important}
html body.wy-site:has(.wy-site-header){padding-top:80px}
html body.wy-site header.nav.wy-site-header{height:80px;min-height:0}
html body.wy-site header.nav.wy-site-header.is-scrolled{height:64px}
html .wy-site .wy-site-header nav>a,html .wy-site .wy-site-header summary{color:#fff}
html .wy-site .wy-site-header nav>a:hover,html .wy-site .wy-site-header summary:hover{color:#b2f7ed}
html .wy-site .wy-site-header .wy-header-contact{color:#fff}
html .staff-top.wy-corporate-header,html body>header.wy-corporate-header{position:sticky;top:0;z-index:60;min-height:80px}
html .staff-top.wy-corporate-header{padding:18px 28px}
html .staff-top.wy-corporate-header small{color:#e0f3f3!important;font-size:13px}
html .staff-top .staff-actions>button,html .wy-corporate-header .wy-mobile-logout{color:#fff!important;background:#ffffff12!important;border:1px solid #c4f0ed70!important;box-shadow:inset 0 1px 0 #ffffff1a}
html .staff-top .staff-actions>button:hover,html .wy-corporate-header .wy-mobile-logout:hover{background:#ffffff25!important}
html #wy-app .wy-topbar.wy-corporate-header,html body[data-corporate=true] #app .topbar.wy-corporate-header{position:sticky;top:0;z-index:55;min-height:80px;height:auto;gap:20px;padding:18px clamp(18px,2.4vw,36px);border-radius:0;isolation:isolate}
html #wy-app .wy-topbar>.wy-header-brand{margin-right:4px!important}
html #wy-app .wy-topbar>span:first-of-type{min-width:0;flex:1;font-size:14px;line-height:1.4}
html #wy-app .wy-topbar :is(small,.wy-live-status){color:#d7f3f1!important}
html #wy-app .wy-topbar .wy-live-status{font-size:12px;white-space:nowrap}
html .staff-auth>.staff-brand.wy-corporate-wordmark{display:flex!important;justify-content:center!important;text-align:center;align-self:stretch;background:var(--wy-header-gradient);padding:22px 32px!important;margin:-32px -32px 26px!important;border-radius:23px 23px 0 0;min-height:78px}
html .wy-corporate-header .wy-search{isolation:auto}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){html .wy-corporate-header.wy-header-glass{background:var(--wy-header-gradient)!important}}
@media(max-width:1000px){html #wy-app .wy-topbar{gap:14px!important}html #wy-app .wy-topbar .wy-live-status{display:none}}
@media(max-width:700px){
 html body.wy-site:has(.wy-site-header){padding-top:68px}
 html body.wy-site header.nav.wy-site-header{height:68px}
 html body.wy-site header.nav.wy-site-header.is-scrolled{height:60px}
 html .wy-corporate-wordmark{font-size:23px!important}
 html .staff-top.wy-corporate-header,html body>header.wy-corporate-header{min-height:68px;padding:14px 18px}
 html .staff-top.wy-corporate-header{padding-top:calc(14px + env(safe-area-inset-top,0px))}
 html #wy-app .wy-topbar.wy-corporate-header{min-height:68px;padding:14px 16px;gap:12px!important}
 html #wy-app .wy-topbar>.wy-header-brand{font-size:21px!important;margin:0!important}
 html #wy-app .wy-topbar>span:first-of-type{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html #wy-app .wy-topbar .wy-mobile-logout{font-size:12px;min-height:36px;padding:7px 10px}
 html .staff-top.wy-corporate-header small{font-size:12px}
 html .staff-auth>.staff-brand.wy-corporate-wordmark{margin:-26px -26px 24px!important;padding:20px 26px!important}
}
@media(max-width:420px){html #wy-app .wy-topbar>span:first-of-type{display:none}html #wy-app .wy-topbar>.wy-header-brand{margin-right:auto!important;font-size:20px!important}html #wy-app .wy-topbar.wy-corporate-header{padding-inline:12px;gap:8px!important}html .wy-site .wy-site-header .wy-corporate-wordmark{font-size:21px!important}html .wy-site .wy-header-inner{gap:8px}}
@media(prefers-reduced-motion:reduce){html .wy-corporate-header{transition:none!important}}
@media print{html .wy-corporate-header{position:static!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Corporate action controls: flat glass, without bevels or drop shadows.
   A dedicated layer makes this consistent across the legacy portal styles. */
@layer wy-button-glass {
 :is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn,.wy-header-contact,.wy-glass-float,.menu-toggle){
  --wy-control-bg:linear-gradient(145deg,rgba(255,255,255,.38),rgba(112,189,194,.18));
  --wy-control-hover:linear-gradient(145deg,rgba(255,255,255,.20),rgba(112,189,194,.08));
  --wy-control-ink:#174f5c;--wy-control-edge:rgba(48,125,136,.38);
  background:var(--wy-control-bg)!important;color:var(--wy-control-ink)!important;
  border-color:var(--wy-control-edge)!important;
  box-shadow:none!important;text-shadow:none!important;filter:none!important;transform:none!important;
  backdrop-filter:blur(16px) saturate(135%)!important;-webkit-backdrop-filter:blur(16px) saturate(135%)!important;
  transition:background .22s ease,color .22s ease,border-color .22s ease!important;
 }
 :is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn,.wy-header-contact,.wy-glass-float,.menu-toggle):is(:hover,:active,:focus-visible),
 :is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn,.wy-header-contact,.wy-glass-float,.menu-toggle)::before,
 :is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn,.wy-header-contact,.wy-glass-float,.menu-toggle)::after,
 button :is(.staff-workspace-orb,.wy-content-icon){box-shadow:none!important;text-shadow:none!important;filter:none!important;transform:none!important}
 :is(button.primary,.button.primary,a.primary,.wy-button,.buttonlink,.wy-site .button:not(.light),.wy-site a.btn){
  --wy-control-bg:linear-gradient(145deg,rgba(33,163,167,.42),rgba(38,123,147,.24));
  --wy-control-hover:linear-gradient(145deg,rgba(33,163,167,.22),rgba(38,123,147,.10));
  --wy-control-ink:#123f50;--wy-control-edge:rgba(21,118,133,.55);
 }
 :is(.wy-sidebar,.sidebar,.staff-top,.staff-bottom,.wy-corporate-header,.wy-site-header) :is(button,.button,.staff-link,.wy-header-contact,.menu-toggle){
  --wy-control-bg:rgba(255,255,255,.12);--wy-control-hover:rgba(255,255,255,.045);
  --wy-control-ink:#f0fbfc;--wy-control-edge:rgba(202,243,242,.42);
 }
 :is(.wy-sidebar,.sidebar,.staff-bottom) :is(button.active,button[aria-current=page]){
  --wy-control-bg:rgba(134,224,223,.22);--wy-control-edge:rgba(174,238,236,.58);
 }
 :is(.staff-tabs button[aria-selected=true],.categories button.active,button[aria-pressed=true]){
  --wy-control-bg:rgba(36,147,159,.29);--wy-control-edge:rgba(21,118,133,.65);
 }
 :is(button.danger,.button.danger,button[data-action=cancel]){--wy-control-ink:#852f2a;--wy-control-edge:rgba(157,62,50,.4)}
 @media(hover:hover){
  :is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn,.wy-header-contact,.wy-glass-float,.menu-toggle):not(:disabled):not([aria-disabled=true]):hover{background:var(--wy-control-hover)!important}
 }
 :is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn,.wy-header-contact,.wy-glass-float,.menu-toggle):not(:disabled):active{background:var(--wy-control-hover)!important}
 /* A theme swatch remains a faithful colour sample, rather than an action CTA. */
 button.wy-theme,button[data-color]{background:var(--swatch,var(--color,transparent))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 @media(prefers-reduced-transparency:reduce){
  :is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn){--wy-control-bg:#dceced;--wy-control-hover:#e9f3f3}
  :is(.wy-sidebar,.sidebar,.staff-top,.staff-bottom,.wy-corporate-header,.wy-site-header) :is(button,.button,.staff-link,.wy-header-contact,.menu-toggle){--wy-control-bg:#28576b;--wy-control-hover:#214c60}
 }
 @media(prefers-reduced-motion:reduce){:is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn,.wy-header-contact,.wy-glass-float,.menu-toggle){transition:none!important}}
 @media(forced-colors:active){:is(button,.button,.wy-button,.buttonlink,.staff-link,a.primary,a.btn){background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;backdrop-filter:none!important}}
}

@layer wy-button-glass {
 html body.wy-site .wy-site-header :is(button,.button,.primary,.wy-button){
  --wy-control-bg:rgba(255,255,255,.12);--wy-control-hover:rgba(255,255,255,.045);
  --wy-control-ink:#f0fbfc;--wy-control-edge:rgba(202,243,242,.42);
 }
 .wy-search-form .wy-search-toggle{--wy-control-ink:#174f5c}
}

/* Mobile public header: keep contact shortcuts beside the menu control. */
@media(max-width:1100px){
 html .wy-site .wy-site-header .wy-header-inner{justify-content:flex-start;gap:8px}
 html .wy-site .wy-site-header .wy-header-contacts{margin-left:auto;gap:8px}
 html .wy-site .wy-site-header .wy-header-contact,
 html .wy-site .wy-site-header .menu-toggle,
 html .wy-site .wy-site-header.is-scrolled .wy-header-contact,
 html .wy-site .wy-site-header.is-scrolled .menu-toggle{
  box-sizing:border-box;width:44px;height:44px;min-width:44px;max-width:44px;
  min-height:44px;max-height:44px;flex:0 0 44px;padding:0!important;
  margin:0;border-radius:50%;align-items:center;justify-content:center;
  line-height:1;
 }
 html .wy-site .wy-site-header .menu-toggle{display:grid;place-items:center}
 html .wy-site .wy-site-header .menu-toggle svg,
 html .wy-site .wy-site-header .wy-header-contact svg{
  display:block;width:22px;height:22px;margin:0;padding:0;position:static;
  flex:none;transform:none;
 }
}
/* Important declarations stay in the existing important control layer. */
@layer wy-button-glass {
 @media(max-width:1100px){
  html body.wy-site .wy-site-header button.menu-toggle{
   width:44px!important;height:44px!important;min-width:44px!important;
   min-height:44px!important;max-width:44px!important;max-height:44px!important;
   padding:0!important;
  }
 }
}
