/* © StudioFlow Cloud · Canary:SF-GL-2026-8C71 */
.sf-notif-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0}.sf-notif-bell-btn{position:relative;width:38px;height:38px;border-radius:12px;border:1.25px solid #DCE3F0;background:#fff;color:#0f172a;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;box-shadow:0 2px 6px #0f172a0a;transition:transform .18s cubic-bezier(.34,1.56,.64,1),border-color .18s ease,background-color .18s ease,box-shadow .18s ease}html[data-workspace-night="1"] .sf-notif-bell-btn,html[data-guide-theme=darkroom] .sf-notif-bell-btn,body.dark-mode .sf-notif-bell-btn{background:#1e293b;border-color:#334155;color:#f8fafc}.sf-notif-bell-btn:hover,.sf-notif-bell-btn[aria-expanded=true]{transform:translateY(-1px);border-color:#2563eb;color:#1849d6;box-shadow:0 6px 16px #2563eb24}html[data-workspace-night="1"] .sf-notif-bell-btn:hover,html[data-workspace-night="1"] .sf-notif-bell-btn[aria-expanded=true],html[data-guide-theme=darkroom] .sf-notif-bell-btn:hover,html[data-guide-theme=darkroom] .sf-notif-bell-btn[aria-expanded=true]{color:#60a5fa;border-color:#60a5fa}@keyframes sfReleaseBellSwing{0%,to{transform:rotate(0)}8%{transform:rotate(13deg)}16%{transform:rotate(-11deg)}24%{transform:rotate(8deg)}32%{transform:rotate(-5deg)}40%{transform:rotate(0)}}.sf-notif-bell-btn.has-unread .sf-bell-svg{transform-origin:50% 2px;animation:sfReleaseBellSwing 3.6s ease-in-out infinite}.sf-notif-badge{position:absolute;top:-6px;right:-6px;min-width:21px;height:20px;padding:0 5.5px;border-radius:999px;background:linear-gradient(135deg,#fb7185,#e11d48);color:#fff;font-size:11px;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;border:2.2px solid #FFFFFF;box-shadow:0 4px 10px #e11d485c;pointer-events:none}html[data-workspace-night="1"] .sf-notif-badge,html[data-guide-theme=darkroom] .sf-notif-badge{border-color:#0f172a}.sf-notif-badge[hidden]{display:none!important}.sf-notif-scrim{position:fixed;inset:0;background:#0f172a8f;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:9998;animation:sfNotifFadeIn .16s ease-out}.sf-notif-scrim[hidden]{display:none!important}@keyframes sfNotifFadeIn{0%{opacity:0}to{opacity:1}}@keyframes sfNotifPopIn{0%{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.sf-notif-channel-pill{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:800;padding:2.5px 8.5px;border-radius:999px;letter-spacing:.02em}.sf-notif-channel-pill.is-qr{background:#dcfce7;color:#047857}.sf-notif-channel-pill.is-gallery-nas{background:#dbeafe;color:#1849d6}html[data-workspace-night="1"] .sf-notif-channel-pill.is-qr,html[data-guide-theme=darkroom] .sf-notif-channel-pill.is-qr{background:#10b98133;color:#6ee7b7}html[data-workspace-night="1"] .sf-notif-channel-pill.is-gallery-nas,html[data-guide-theme=darkroom] .sf-notif-channel-pill.is-gallery-nas{background:#3b82f638;color:#93c5fd}.sf-notif-popover{position:fixed!important;top:72px!important;right:18px!important;left:auto!important;width:min(416px,calc(100vw - 28px))!important;max-height:calc(100vh - 96px)!important;max-height:calc(100dvh - 96px)!important;display:flex;flex-direction:column;background:#fff!important;border:1.5px solid #CBD5E1!important;border-radius:20px!important;box-shadow:0 28px 70px #0f172a57,0 8px 24px #0f172a24!important;z-index:9999!important;overflow:hidden!important;text-align:left;animation:sfNotifPopIn .18s cubic-bezier(.22,1,.36,1)}html[data-workspace-night="1"] .sf-notif-popover,html[data-guide-theme=darkroom] .sf-notif-popover{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important;box-shadow:0 30px 80px #000000a6,0 0 0 1px #94a3b829!important}.sf-notif-popover[hidden]{display:none!important}.sf-notif-head{padding:13px 14px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border-bottom:1px solid #E2E8F0;flex-shrink:0}html[data-workspace-night="1"] .sf-notif-head,html[data-guide-theme=darkroom] .sf-notif-head{background:#0f172a;border-bottom-color:#1e293b}.sf-notif-head-title{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:800;color:#0f172a;min-width:0;flex-wrap:wrap}html[data-workspace-night="1"] .sf-notif-head-title,html[data-guide-theme=darkroom] .sf-notif-head-title{color:#f8fafc}.sf-notif-head-actions{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}.sf-notif-close-btn{border:0;background:linear-gradient(135deg,#f43f5e,#e11d48);color:#fff;font-family:inherit;font-size:12px;font-weight:800;height:32px;padding:0 11px;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:4px;box-shadow:0 4px 12px #e11d4852;transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;white-space:nowrap}.sf-notif-close-btn:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 6px 16px #e11d486b}.sf-notif-close-btn:active{transform:scale(.97)}.sf-notif-subbar{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 12px;background:#f1f5f9;border-bottom:1px solid #E2E8F0;flex-shrink:0;flex-wrap:wrap}html[data-workspace-night="1"] .sf-notif-subbar,html[data-guide-theme=darkroom] .sf-notif-subbar{background:#1e293b;border-bottom-color:#334155}.sf-notif-tabs{display:inline-flex;gap:4px;flex-wrap:wrap}.sf-notif-tab{border:0;background:transparent;color:#475569;font-family:inherit;font-size:11.5px;font-weight:700;padding:5px 10px;border-radius:999px;cursor:pointer}html[data-workspace-night="1"] .sf-notif-tab,html[data-guide-theme=darkroom] .sf-notif-tab{color:#cbd5e1}.sf-notif-tab.is-active{background:#fff;color:#1849d6;box-shadow:0 2px 6px #0f172a14}html[data-workspace-night="1"] .sf-notif-tab.is-active,html[data-guide-theme=darkroom] .sf-notif-tab.is-active{background:#0f172a;color:#60a5fa}.sf-notif-markall{border:1px solid #CBD5E1;background:#fff;color:#1849d6;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer;padding:4px 9px;border-radius:999px;white-space:nowrap}html[data-workspace-night="1"] .sf-notif-markall,html[data-guide-theme=darkroom] .sf-notif-markall{background:#0f172a;border-color:#334155;color:#60a5fa}.sf-notif-markall:disabled{color:#94a3b8;border-color:transparent;background:transparent;cursor:default}.sf-notif-list{flex:1 1 auto;min-height:0;max-height:min(430px,calc(100vh - 230px));max-height:min(430px,calc(100dvh - 230px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:10px 12px 12px;background:#f8fafc;display:grid;gap:9px}html[data-workspace-night="1"] .sf-notif-list,html[data-guide-theme=darkroom] .sf-notif-list{background:#0b1120}.sf-notif-item{padding:12px 13px;border-radius:14px;border:1px solid #E2E8F0;background:#fff;box-shadow:0 2px 6px #0f172a08;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}html[data-workspace-night="1"] .sf-notif-item,html[data-guide-theme=darkroom] .sf-notif-item{background:#111827;border-color:#1e293b}.sf-notif-item.is-unread{background:#fff;border-color:#93c5fd;box-shadow:0 4px 12px #2563eb12}html[data-workspace-night="1"] .sf-notif-item.is-unread,html[data-guide-theme=darkroom] .sf-notif-item.is-unread{background:#172554;border-color:#60a5fa73}.sf-notif-item:hover{border-color:#2563eb;transform:translateY(-1px)}.sf-notif-item-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.sf-notif-tag{font-size:10.5px;font-weight:800;padding:2.5px 8px;border-radius:999px;letter-spacing:.02em}.sf-notif-tag.tone-emerald{background:#dcfce7;color:#047857}.sf-notif-tag.tone-blue{background:#dbeafe;color:#1849d6}.sf-notif-tag.tone-violet{background:#ede9fe;color:#6d28d9}.sf-notif-tag.tone-amber{background:#fef3c7;color:#b45309}html[data-workspace-night="1"] .sf-notif-tag.tone-emerald,html[data-guide-theme=darkroom] .sf-notif-tag.tone-emerald{background:#10b98133;color:#6ee7b7}html[data-workspace-night="1"] .sf-notif-tag.tone-blue,html[data-guide-theme=darkroom] .sf-notif-tag.tone-blue{background:#3b82f638;color:#93c5fd}html[data-workspace-night="1"] .sf-notif-tag.tone-violet,html[data-guide-theme=darkroom] .sf-notif-tag.tone-violet{background:#8b5cf638;color:#c4b5fd}html[data-workspace-night="1"] .sf-notif-tag.tone-amber,html[data-guide-theme=darkroom] .sf-notif-tag.tone-amber{background:#f59e0b38;color:#fcd34d}.sf-notif-time{font-size:11px;font-weight:600;color:#64748b;display:inline-flex;align-items:center;gap:5px}html[data-workspace-night="1"] .sf-notif-time,html[data-guide-theme=darkroom] .sf-notif-time{color:#94a3b8}.sf-notif-dot{width:7px;height:7px;border-radius:50%;background:#e11d48;display:inline-block}.sf-notif-title{display:block;font-size:13.5px;font-weight:800;color:#0f172a;margin-bottom:4px;line-height:1.38}html[data-workspace-night="1"] .sf-notif-title,html[data-guide-theme=darkroom] .sf-notif-title{color:#f8fafc}.sf-notif-desc{margin:0 0 8px;font-size:12px;color:#334155;line-height:1.5}html[data-workspace-night="1"] .sf-notif-desc,html[data-guide-theme=darkroom] .sf-notif-desc{color:#cbd5e1}.sf-notif-cta{border:0;background:transparent;padding:0;color:#1849d6;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer}html[data-workspace-night="1"] .sf-notif-cta,html[data-guide-theme=darkroom] .sf-notif-cta{color:#60a5fa}.sf-notif-foot{padding:10px 14px;background:#fff;border-top:1px solid #E2E8F0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}html[data-workspace-night="1"] .sf-notif-foot,html[data-guide-theme=darkroom] .sf-notif-foot{background:#0f172a;border-top-color:#1e293b}.sf-notif-foot-hint{font-size:11.5px;color:#64748b}html[data-workspace-night="1"] .sf-notif-foot-hint,html[data-guide-theme=darkroom] .sf-notif-foot-hint{color:#94a3b8}.sf-notif-foot-close-btn{border:0;background:linear-gradient(135deg,#f43f5e,#e11d48);color:#fff;font-family:inherit;font-size:12.5px;font-weight:800;height:34px;padding:0 16px;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px;box-shadow:0 4px 12px #e11d4847}.sf-notif-foot-close-btn:hover{filter:brightness(1.06)}@media(max-width:960px){.sf-notif-popover{position:fixed!important;top:62px!important;left:12px!important;right:12px!important;width:auto!important;max-height:calc(100vh - 88px)!important;max-height:calc(100dvh - 88px)!important;z-index:9999!important}.sf-notif-list{max-height:none!important}.sf-notif-bell-btn{width:34px;height:34px;border-radius:10px}}
