.order-alert-button{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #8294ad44;border-radius:12px;background:transparent;color:inherit;font:inherit;cursor:pointer;max-width:100%}.order-alert-button[hidden]{display:none}.order-alert-button b{display:inline-grid;place-items:center;min-width:22px;min-height:22px;padding:2px 5px;border-radius:20px;background:#b83f50;color:#fff;font-size:11px}.order-alert-button b[hidden]{display:none}.order-alert-dialog{box-sizing:border-box;width:min(570px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #81958940;border-radius:22px;background:var(--theme-background,#f8fafb);color:var(--theme-font,#2b4055);overflow:auto}.order-alert-dialog::backdrop{background:#18314765;backdrop-filter:blur(3px)}.order-alert-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-alert-dialog h2{font-size:21px;margin:0}.order-alert-dialog header button{font-size:24px}.order-alert-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.order-alert-dialog button{cursor:pointer;color:inherit;font:inherit}.order-alert-tools button,.order-alert-dialog header button{padding:8px 12px;border:1px solid #81958944;border-radius:10px;background:transparent}.order-alert-dialog [role=status]{font-size:12px;color:#78879b}.order-alert-row{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;box-sizing:border-box;text-align:left;padding:16px;margin-top:10px;border:1px solid #81958935;border-radius:12px;background:transparent;overflow-wrap:anywhere}.order-alert-row.unread{border-left:4px solid #3873b3;background:#4681ad0b}.order-alert-row span,.order-alert-row time,.order-alert-row p{font-size:12px;margin:0}.order-alert-row time{color:#78879b}.payment-status-rejected{border-color:#db7184!important;background:#fff0f2!important;color:#a52c42!important}.payment-status-accepted{border-color:#68af8a!important;background:#eaf7ef!important;color:#206d48!important}.payment-status-pending{border-color:#d5b977!important;background:#fff9e9!important;color:#82631f!important}.order-alert-row small{display:inline-block;padding:5px 9px;border:1px solid;border-radius:20px;font-size:11px}@media(max-width:600px){.order-alert-dialog{padding:16px}.header-actions>.order-alert-button{font-size:11px;padding:8px}.header-actions>.order-alert-button>span:nth-child(2){max-width:78px}} 

.order-alert-bell{position:relative;flex:0 0 42px;width:42px;height:42px;min-height:42px;justify-content:center;padding:10px;border-radius:13px;margin:0 8px 0 0;transition:background .2s,border-color .2s}.order-alert-bell:hover{background:#5087aa15;border-color:#4c819c88}.order-alert-bell svg{width:21px;height:21px;flex:0 0 21px}.order-alert-bell b{position:absolute;right:-5px;top:-6px;min-width:19px;min-height:19px;border:2px solid var(--theme-background,#fff);font-size:10px}.navbar-member>.order-alert-bell{margin:0 8px;border-color:transparent}.top-header .user-chip{display:flex;align-items:center;gap:12px}.top-header .order-alert-bell{color:var(--theme-font,#294f48)}@media(max-width:600px){.order-alert-bell{flex-basis:36px;width:36px;height:36px;min-height:36px;padding:7px;margin-right:4px}.top-header .user-chip{gap:6px}.navbar-member>.order-alert-bell{margin:0 4px}}

.order-alert-bell.is-ringing svg{transform-origin:50% 15%;animation:order-bell-ring .45s ease-in-out 4}.order-alert-bell.is-ringing b{animation:order-badge-pulse .6s ease-out 3}
@keyframes order-bell-ring{0%,100%{transform:rotate(0)}25%{transform:rotate(18deg)}75%{transform:rotate(-18deg)}}@keyframes order-badge-pulse{50%{box-shadow:0 0 0 7px #b83f5020}}
.order-alert-toast{position:fixed;z-index:10020;right:24px;top:90px;width:min(360px,calc(100vw - 32px));box-sizing:border-box;display:flex;gap:16px;justify-content:space-between;padding:18px 20px;border:1px solid #719b953d;border-left:4px solid var(--theme-primary,#337b68);border-radius:16px;background:var(--theme-background,#fafdfb);color:var(--theme-font,#294338);box-shadow:0 12px 40px #17362d22;animation:order-toast-enter .25s ease-out}.order-alert-toast[hidden]{display:none}.order-alert-toast strong{font-size:14px}.order-alert-toast p{font-size:13px;margin:7px 0 12px;overflow-wrap:anywhere}.order-alert-toast button{font:inherit;cursor:pointer;background:transparent;color:inherit;border:0}.order-alert-toast [data-open]{padding:0;font-size:13px;font-weight:600;color:var(--theme-primary,#337b68)}.order-alert-toast [data-dismiss]{align-self:flex-start;padding:0 4px;font-size:22px;line-height:1}@keyframes order-toast-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@media(max-width:600px){.order-alert-toast{right:12px;top:76px}}@media(prefers-reduced-motion:reduce){.order-alert-bell.is-ringing svg,.order-alert-bell.is-ringing b,.order-alert-toast{animation:none}}
@media screen and (max-width:700px){
 .order-alert-dialog{padding:16px!important;border-radius:20px!important;background:var(--theme-background,#f5f7fb)!important;color:var(--theme-font,#24364c)!important}
 .order-alert-dialog header h2{font:600 20px/1.4 var(--theme-font-family,'Segoe UI',sans-serif)!important}.order-alert-dialog header button{width:38px;height:38px;padding:4px;border-radius:12px;flex-shrink:0}
 .order-alert-dialog .order-alert-tools{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:7px;margin-top:16px}.order-alert-dialog .order-alert-tools button{min-width:0;min-height:39px;padding:7px;font:400 11px/1.4 var(--theme-font-family,'Segoe UI',sans-serif);border-radius:11px;background:color-mix(in srgb,var(--theme-button) 5%,var(--theme-background));border-color:color-mix(in srgb,var(--theme-font) 13%,transparent)}
 .order-alert-dialog .order-alert-row,.order-alert-dialog .order-alert-row.unread{border:1px solid color-mix(in srgb,var(--theme-font) 13%,transparent)!important;border-left-width:1px!important;border-radius:15px!important;background:color-mix(in srgb,var(--theme-button) 4%,var(--theme-background))!important;padding:14px!important;gap:7px;box-shadow:none}
 .order-alert-dialog .order-alert-row strong{font:600 13px/1.5 var(--theme-font-family,'Segoe UI',sans-serif)}.order-alert-dialog .order-alert-row.unread strong:after{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--theme-button);margin-left:8px;vertical-align:middle}
 .order-alert-dialog .order-alert-row span{font:11px/1.6 var(--theme-font-family,'Segoe UI',sans-serif);color:color-mix(in srgb,var(--theme-font) 78%,var(--theme-background))}.order-alert-dialog .order-alert-row time{font:10px/1.5 var(--theme-font-family,'Segoe UI',sans-serif);color:color-mix(in srgb,var(--theme-font) 62%,var(--theme-background))}.order-alert-dialog .order-alert-row small{font:400 10px/1.4 var(--theme-font-family,'Segoe UI',sans-serif);padding:4px 8px;border-radius:999px}
 .order-alert-toast{border-left-width:1px!important}
}
/* One scroll region and a stable header, using the store's configured palette. */
html body dialog.order-alert-dialog{width:min(640px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0!important;overflow:hidden!important;background:var(--theme-background,#f8fafb)!important;color:var(--theme-font,#2b4055)!important}
html body dialog.order-alert-dialog[open]{display:flex;flex-direction:column}
html body dialog.order-alert-dialog>header{flex:0 0 auto;margin:0;padding:18px 20px;border-bottom:1px solid color-mix(in srgb,var(--theme-font,#2b4055) 12%,transparent);background:var(--theme-background,#f8fafb)}
html body dialog.order-alert-dialog>header h2{font:600 19px/1.4 var(--theme-font-family,system-ui)!important}
html body dialog.order-alert-dialog>header [data-close]{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;box-sizing:border-box;padding:0;border-radius:12px;font:26px/1 system-ui;color:inherit}
.order-alert-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px 20px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--theme-font,#2b4055) 18%,transparent) transparent}
html body dialog.order-alert-dialog .order-alert-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
html body dialog.order-alert-dialog .order-alert-tools>button{display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:100%;min-width:0;height:44px;min-height:44px;padding:6px 8px;border-radius:12px;border:1px solid color-mix(in srgb,var(--theme-font,#2b4055) 14%,transparent);background:color-mix(in srgb,var(--theme-button,#315f9f) 5%,var(--theme-background,#f8fafb));font:500 12px/16px var(--theme-font-family,system-ui);color:inherit}
.order-alert-tools svg{width:18px;height:18px;flex:0 0 18px}.order-alert-tools span{min-width:0;overflow-wrap:normal}
.order-alert-content>[role=status]{font:400 11px/1.6 var(--theme-font-family,system-ui);margin:12px 0 16px;color:inherit;opacity:.75}
.order-alert-content>[data-alert-list]{display:grid;gap:10px}
html body dialog.order-alert-dialog .order-alert-row,html body dialog.order-alert-dialog .order-alert-row.unread{margin:0!important;gap:8px;padding:15px!important;border:1px solid color-mix(in srgb,var(--theme-font,#2b4055) 12%,transparent)!important;border-radius:15px!important;background:color-mix(in srgb,var(--theme-button,#315f9f) 4%,var(--theme-background,#f8fafb))!important;color:inherit;min-width:0;transition:background .18s,border-color .18s}
html body dialog.order-alert-dialog .order-alert-row:hover{border-color:color-mix(in srgb,var(--theme-button,#315f9f) 45%,transparent)!important}
html body dialog.order-alert-dialog .order-alert-row strong{font:600 13px/1.5 var(--theme-font-family,system-ui)}
html body dialog.order-alert-dialog .order-alert-row time{font:400 10px/1.5 var(--theme-font-family,system-ui);color:inherit;opacity:.7}
html body dialog.order-alert-dialog :is(button,a):focus-visible{outline:2px solid var(--theme-button,#315f9f);outline-offset:2px}
@media(max-width:400px){.order-alert-content{padding:14px}.order-alert-dialog>header{padding:14px!important}html body dialog.order-alert-dialog .order-alert-tools>button{flex-direction:column;gap:3px;height:60px;font-size:11px;line-height:14px;padding:6px 4px}.order-alert-tools svg{width:17px;height:17px;flex-basis:17px}}
/* Match the avatar's footprint and center the bell independently of its badge. */
html body #adminView:has(#dashboardPanel:not([hidden])) .top-header .order-alert-bell:not([hidden]),
html body .top-header .order-alert-bell:not([hidden]),html body .navbar-member>.order-alert-bell:not([hidden]){display:grid!important;place-items:center;position:relative;box-sizing:border-box;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border-radius:14px!important;color:var(--theme-font,#2b4055);overflow:visible}
html body #adminView:has(#dashboardPanel:not([hidden])) .top-header .order-alert-bell>svg,
html body .order-alert-bell>svg{display:block;width:22px!important;height:22px!important;flex:0 0 22px}
html body #adminView:has(#dashboardPanel:not([hidden])) .top-header .order-alert-bell>b,
html body .order-alert-bell>b{position:absolute;top:-3px!important;right:-3px!important;box-sizing:border-box;min-width:18px!important;width:auto;height:18px!important;min-height:18px!important;padding:0 3px!important;border:2px solid var(--theme-background,#f8fafb)!important;border-radius:999px!important;font:600 9px/14px var(--theme-font-family,system-ui)!important}
html body .order-alert-bell>b:not([hidden]){display:grid!important;place-items:center}
@keyframes order-panel-enter{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@keyframes order-content-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
html body dialog.order-alert-dialog[open]{animation:order-panel-enter .22s ease-out}
.order-alert-opening .order-alert-row{animation:order-content-enter .24s ease-out both;animation-delay:var(--alert-delay,0ms)}
.order-alert-tools>button{transition:background .18s,border-color .18s,transform .15s}.order-alert-tools>button:active{transform:scale(.97)}
@media(prefers-reduced-motion:reduce){html body dialog.order-alert-dialog[open],.order-alert-opening .order-alert-row{animation:none!important}.order-alert-tools>button{transition:none}}
