.warehouse-notifications { --notice-bg:#fff;--notice-soft:#f5f5f7;--notice-text:#202126;--notice-muted:#595c65;--notice-border:#c5c7ce;--notice-brand:#7b1e22;--notice-accent:#f4d35e;position:fixed;right:24px;bottom:24px;z-index:900;font:inherit;color:var(--notice-text); }
[data-gym-theme=dark] .warehouse-notifications { --notice-bg:#1c1d22;--notice-soft:#292b32;--notice-text:#f9fafb;--notice-muted:#c0c4ce;--notice-border:#626774;--notice-brand:#f4d35e; }
.warehouse-notifications [hidden] { display:none!important; }
.warehouse-notifications { font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.warehouse-notifications * { box-sizing:border-box; }
.warehouse-notifications button { font:inherit;cursor:pointer; }
.warehouse-notifications button:disabled { opacity:.5;cursor:default; }
.warehouse-notifications button:focus-visible { outline:3px solid var(--notice-brand);outline-offset:3px; }
.warehouse-notifications svg { width:20px;height:20px;flex-shrink:0; }
.warehouse-bell { position:relative;display:grid;place-items:center;width:52px;height:52px;background:var(--notice-bg);color:var(--notice-brand);border:1px solid var(--notice-border);border-radius:8px;box-shadow:0 4px 16px #0002; }
.warehouse-notice-count { position:absolute;right:-7px;top:-8px;min-width:24px;height:24px;display:grid;place-items:center;border:2px solid var(--notice-bg);border-radius:12px;padding:0 5px;background:var(--notice-accent);color:#191408;font-size:11px;font-weight:800; }
.warehouse-notice-panel { position:absolute;right:0;bottom:64px;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 112px);display:flex;flex-direction:column;background:var(--notice-bg);border:1px solid var(--notice-border);border-radius:8px;box-shadow:0 10px 40px #0003;overflow:hidden; }
.warehouse-notice-panel header { display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--notice-border); }
.warehouse-notice-panel h2 { margin:0;font-size:18px;font-weight:800;letter-spacing:0; }
.warehouse-notice-panel header p { margin:4px 0 0;font-size:12px;color:var(--notice-muted); }
.warehouse-icon-button { display:inline-flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--notice-text);border:1px solid var(--notice-border);border-radius:6px;background:var(--notice-bg);flex-shrink:0; }
.warehouse-icon-button:hover,.warehouse-notice-action:hover { background:var(--notice-soft); }
.warehouse-notice-items { overflow-y:auto;min-height:64px; }
.warehouse-notice-item { padding:16px 18px;border-bottom:1px solid var(--notice-border); }
.warehouse-notice-item[data-unread=true] { box-shadow:inset 3px 0 var(--notice-brand);background:var(--notice-soft); }
.warehouse-notice-item strong { display:block;font-size:14px;line-height:1.4; }
.warehouse-notice-item p { font-size:13px;line-height:1.5;margin:6px 0;color:var(--notice-text);overflow-wrap:anywhere; }
.warehouse-notice-item time { color:var(--notice-muted);font-size:11px; }
.warehouse-notice-item-actions { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px; }
.warehouse-notice-action { display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;min-height:36px;font-size:12px!important;font-weight:700!important;color:var(--notice-text);border:1px solid var(--notice-border);border-radius:6px;background:var(--notice-bg); }
.warehouse-notice-panel footer { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;font-size:12px; }
.warehouse-notice-error { margin:12px;padding:10px;border:1px solid var(--notice-border);border-radius:6px;font-size:13px;line-height:1.4; }
.warehouse-notice-empty { padding:24px 18px;color:var(--notice-muted);font-size:13px; }
.warehouse-live-notice { position:fixed;right:24px;top:24px;width:min(460px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow-y:auto;display:flex;align-items:flex-start;gap:12px;border:1px solid var(--notice-border);border-left:4px solid var(--notice-brand);border-radius:8px;padding:16px;background:var(--notice-bg);box-shadow:0 8px 30px #0003;animation:warehouse-notice-in .2s ease-out; }
.warehouse-live-notice>svg { margin-top:2px;color:var(--notice-brand); }
.warehouse-live-notice>div { flex:1;min-width:0; }
.warehouse-live-notice strong { display:block;font-size:14px;line-height:1.4; }
.warehouse-live-notice p { margin:6px 0 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden; }
.warehouse-live-notice .warehouse-icon-button { width:44px;height:44px; }
.warehouse-live-open { margin-top:12px;min-height:44px;border-color:var(--notice-brand); }
.warehouse-visually-hidden { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
@keyframes warehouse-notice-in { from { opacity:0;transform:translateY(8px); } to { opacity:1;transform:translateY(0); } }
@media(max-width:540px) { .warehouse-notifications { right:16px;bottom:16px; }.warehouse-notice-panel { max-height:calc(100dvh - 96px); }.warehouse-live-notice { top:16px;right:16px;width:calc(100vw - 32px);max-height:calc(100dvh - 32px);gap:10px;padding:14px; } }
@media(prefers-reduced-motion:reduce) { .warehouse-live-notice { animation:none; } }
