/* Specular buttons: a soft top gloss at rest and a glint that follows the pointer on hover.
   The overlay is a ::before, so it never changes the button's own background or layout. */
:is(.btn,.topbar-btn,.vos-ui-button-inverse,.vos-hero-btn-primary,.vos-hero-btn-secondary,.vos-btn-new-event,.vg-primary,.ops-btn-primary,.ops-btn-secondary,.menu-add-btn,.reorder-add-btn,.vd-period,.timeclock-presets button,.bma-booking-action){position:relative;overflow:hidden;isolation:isolate}
:is(.btn,.topbar-btn,.vos-ui-button-inverse,.vos-hero-btn-primary,.vos-hero-btn-secondary,.vos-btn-new-event,.vg-primary,.ops-btn-primary,.ops-btn-secondary,.menu-add-btn,.reorder-add-btn,.vd-period,.timeclock-presets button,.bma-booking-action)::before{
  content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:
    radial-gradient(circle 70px at var(--sx,50%) var(--sy,0%),rgba(255,255,255,.42),rgba(255,255,255,0) 70%),
    linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 46%);
  background-repeat:no-repeat;
  -webkit-mask:none;mask:none;
}
:is(.btn,.topbar-btn,.vos-ui-button-inverse,.vos-hero-btn-primary,.vos-hero-btn-secondary,.vos-btn-new-event,.vg-primary,.ops-btn-primary,.ops-btn-secondary,.menu-add-btn,.reorder-add-btn,.vd-period,.timeclock-presets button,.bma-booking-action):not(:hover)::before{
  background:linear-gradient(180deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 46%);
}
:is(.btn,.topbar-btn,.vos-ui-button-inverse,.vos-hero-btn-primary,.vos-hero-btn-secondary,.vos-btn-new-event,.vg-primary,.ops-btn-primary,.ops-btn-secondary,.menu-add-btn,.reorder-add-btn,.vd-period,.timeclock-presets button,.bma-booking-action):disabled::before{opacity:.4}
@media (hover:none){:is(.btn,.topbar-btn,.vos-ui-button-inverse,.vos-hero-btn-primary,.vos-hero-btn-secondary,.vos-btn-new-event,.vg-primary,.ops-btn-primary,.ops-btn-secondary,.menu-add-btn,.reorder-add-btn,.vd-period,.timeclock-presets button,.bma-booking-action):hover::before{background:linear-gradient(180deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 46%)}}
/* Light (white) primary buttons: a cool-tinted glint, since white on white would not show */
html.dark :is(.topbar-btn.primary,.vos-hero-btn-primary,.btn-primary,.ops-btn-primary,.vos-btn-new-event):hover::before{
  background:radial-gradient(circle 80px at var(--sx,50%) var(--sy,0%),rgba(95,111,196,.38),rgba(95,111,196,0) 72%),linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 50%);
}
/* Section buttons (sidebar and bottom nav): ::before is already the active-indicator bar, so the
   specular layer uses ::after, a translucent overlay above the label (no clipping needed). */
.vos-nav-item,.bnav-btn{position:relative}
.vos-nav-item::after,.bnav-btn::after{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s;
  background:
    radial-gradient(circle 70px at var(--sx,50%) var(--sy,0%),rgba(255,255,255,.2),rgba(255,255,255,0) 70%),
    linear-gradient(180deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,0) 50%);
}
.vos-nav-item:hover::after,.bnav-btn:hover::after{opacity:1}
.vos-nav-item.active::after,.bnav-btn.active::after{opacity:1;background:
    radial-gradient(circle 70px at var(--sx,50%) var(--sy,0%),rgba(255,255,255,.28),rgba(255,255,255,0) 70%),
    linear-gradient(180deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 52%)}
html.dark .manager-polished .vos-nav-item.active::after{background:
    radial-gradient(circle 70px at var(--sx,50%) var(--sy,0%),color-mix(in srgb,var(--nav,#fff) 55%,white 20%),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.2) 0%,rgba(255,255,255,0) 52%);background-blend-mode:screen;opacity:.55}
