.theme-toggle-btn{--theme-toggle-size: var(--topbar-control-height, 42px);--theme-orbit-radius: 15px;--theme-sun-x: 0px;--theme-sun-y: -13px;--theme-sun-opacity: 1;--theme-sun-scale: 1;--theme-sun-rotation: 0deg;--theme-moon-x: 0px;--theme-moon-y: 19px;--theme-moon-opacity: 0;--theme-moon-scale: .58;--theme-moon-rotation: 0deg;position:relative;width:var(--theme-toggle-size);height:var(--theme-toggle-size);flex:0 0 var(--theme-toggle-size);display:inline-flex;align-items:center;justify-content:center;padding:0;overflow:hidden;isolation:isolate;border-radius:999px;border:1px solid rgba(148,163,184,.45);background:#fff;color:#0f172a;font-family:inherit;cursor:pointer;box-shadow:inset 0 1px #fffc,0 12px 28px #0f172a29;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.theme-toggle-btn:hover{transform:translateY(-1px) scale(1.04);border-color:color-mix(in srgb,var(--brand-primary),white 18%);box-shadow:inset 0 1px #ffffffe6,0 0 0 4px color-mix(in srgb,var(--brand-primary),transparent 80%),0 16px 32px #0f172a2e}.theme-toggle-btn:after{content:"";position:absolute;inset:-2px;z-index:10;pointer-events:none;background:linear-gradient(115deg,transparent 0%,transparent 34%,rgba(255,255,255,.08) 43%,rgba(255,255,255,.34) 50%,rgba(255,255,255,.08) 57%,transparent 68%,transparent 100%);transform:translate(-135%) skew(-10deg);transition:transform .58s ease}.theme-toggle-btn:hover:after{transform:translate(135%) skew(-10deg)}body.brand-light .theme-toggle-btn:after{background:linear-gradient(115deg,transparent 0%,transparent 34%,rgba(37,99,235,0) 39%,rgba(37,99,235,.1) 48%,rgba(255,255,255,.55) 52%,rgba(37,99,235,.08) 59%,transparent 70%,transparent 100%)}.theme-toggle-btn[data-theme=light]{background:radial-gradient(circle at 36% 32%,rgba(253,224,71,.48),transparent 30%),linear-gradient(135deg,#fff,#e0f2fe);border-color:#93c5fdd9}.theme-toggle-btn[data-theme=dark]{background:radial-gradient(circle at 67% 30%,rgba(147,197,253,.34),transparent 31%),linear-gradient(135deg,#0f172a,#1e293b);border-color:#475569f2}body.brand-light .theme-toggle-btn{box-shadow:inset 0 1px #fffc,0 12px 28px #0f172a24!important}.theme-sky{position:absolute;inset:0;display:block}.theme-astro{position:absolute;left:50%;top:50%;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;line-height:1;font-size:20px;transform:translate(-50%,-50%);filter:drop-shadow(0 2px 4px rgba(15,23,42,.18));transition:transform .9s cubic-bezier(.2,.8,.2,1),opacity .9s ease,filter .9s ease}.theme-sun,.theme-moon{opacity:0}.theme-toggle-btn[data-theme=light] .theme-sun,.theme-toggle-btn[data-theme=dark] .theme-moon{opacity:1;animation:themeCurrentBreathe 3.2s ease-in-out infinite}.theme-toggle-btn[data-theme=light] .theme-moon,.theme-toggle-btn[data-theme=dark] .theme-sun{opacity:0}.theme-stars,.theme-clouds{position:absolute;inset:0;z-index:8;pointer-events:none}.theme-stars i,.theme-clouds i{position:absolute;display:block;opacity:0}.theme-stars i{width:5px;height:5px;border-radius:999px;background:#fde68a;box-shadow:0 0 7px #fde68a,0 0 14px #60a5fabf}.theme-stars i:nth-child(1){left:7px;top:-7px}.theme-stars i:nth-child(2){left:16px;top:-12px}.theme-stars i:nth-child(3){left:27px;top:-8px}.theme-stars i:nth-child(4){left:34px;top:-14px}.theme-stars i:nth-child(5){left:11px;top:-17px}.theme-stars i:nth-child(6){left:23px;top:-20px}.theme-clouds i{width:19px;height:9px;border-radius:999px;background:#fffffffa;box-shadow:7px -4px 0 -1px #fffffffa,13px 0 0 -2px #fffffff2,0 5px 13px #3b82f642}.theme-clouds i:nth-child(1){left:-30px;top:10px}.theme-clouds i:nth-child(2){left:-36px;top:22px;transform:scale(.78)}.theme-clouds i:nth-child(3){left:-42px;top:16px;transform:scale(.62)}.theme-toggle-btn--night-burst .theme-stars i{animation:themeStarFall 1.45s ease-out forwards}.theme-toggle-btn--night-burst .theme-stars i:nth-child(2){animation-delay:.08s}.theme-toggle-btn--night-burst .theme-stars i:nth-child(3){animation-delay:.16s}.theme-toggle-btn--night-burst .theme-stars i:nth-child(4){animation-delay:.24s}.theme-toggle-btn--night-burst .theme-stars i:nth-child(5){animation-delay:.32s}.theme-toggle-btn--night-burst .theme-stars i:nth-child(6){animation-delay:.4s}.theme-toggle-btn--day-burst .theme-clouds i{animation:themeCloudPass 1.5s ease-in-out forwards}.theme-toggle-btn--day-burst .theme-clouds i:nth-child(2){animation-delay:.12s}.theme-toggle-btn--day-burst .theme-clouds i:nth-child(3){animation-delay:.24s}.theme-toggle-btn--day-burst .theme-sun,.theme-toggle-btn--night-burst .theme-moon{animation:themeAstroPop .78s ease-out,themeCurrentBreathe 3.2s ease-in-out .78s infinite}.theme-toggle-btn[data-theme=auto]{background:radial-gradient(circle at 50% 18%,rgba(254,240,138,.58),transparent 23%),linear-gradient(180deg,#dbeafe,#e0f2fe 48%,#93c5fd);border-color:#3b82f6d1!important;box-shadow:inset 0 1px #ffffff5c,0 12px 28px #0f172a2e!important}.theme-toggle-btn[data-theme=auto][data-auto-phase=dawn]{background:radial-gradient(circle at 28% 65%,rgba(251,191,36,.52),transparent 22%),linear-gradient(145deg,#fde68a,#fbcfe8 38%,#bfdbfe)!important;border-color:#fb923cc7!important}.theme-toggle-btn[data-theme=auto][data-auto-phase=day]{background:radial-gradient(circle at 50% 16%,rgba(254,240,138,.72),transparent 25%),linear-gradient(145deg,#eff6ff,#bae6fd 42%,#60a5fa)!important;border-color:#60a5fadb!important}.theme-toggle-btn[data-theme=auto][data-auto-phase=dusk]{background:radial-gradient(circle at 73% 67%,rgba(251,146,60,.44),transparent 25%),linear-gradient(145deg,#f97316,#7c3aed 43%,#172554)!important;border-color:#fb923cad!important}.theme-toggle-btn[data-theme=auto][data-auto-phase=night]{background:radial-gradient(circle at 50% 16%,rgba(191,219,254,.38),transparent 24%),linear-gradient(145deg,#020617,#0f172a 46%,#1e3a8a)!important;border-color:#60a5fa70!important}.theme-auto-label{position:absolute;left:50%;bottom:3px;z-index:9;padding:1px 4px;border-radius:999px;background:#0f172aa8;color:#fff;font-size:6.5px;font-weight:850;letter-spacing:.08em;line-height:1.15;opacity:0;transform:translate(-50%) translateY(5px) scale(.88);transition:opacity .38s ease,transform .38s ease;box-shadow:0 4px 10px #0f172a2e}.theme-toggle-btn[data-theme=auto] .theme-auto-label{opacity:1;transform:translate(-50%) translateY(0) scale(1);animation:themeAutoLabelPulse 2.6s ease-in-out infinite}.theme-toggle-btn--auto-burst .theme-auto-label{animation:themeAutoLabelPop .8s ease-out,themeAutoLabelPulse 2.6s ease-in-out .8s infinite}.theme-toggle-btn[data-theme=auto] .theme-sun{opacity:var(--theme-sun-opacity);transform:translate(-50%,-50%) translate(var(--theme-sun-x),var(--theme-sun-y)) scale(var(--theme-sun-scale)) rotate(var(--theme-sun-rotation));filter:drop-shadow(0 0 8px rgba(250,204,21,.9)) drop-shadow(0 2px 4px rgba(15,23,42,.14))}.theme-toggle-btn[data-theme=auto] .theme-moon{opacity:var(--theme-moon-opacity);transform:translate(-50%,-50%) translate(var(--theme-moon-x),var(--theme-moon-y)) scale(var(--theme-moon-scale)) rotate(var(--theme-moon-rotation));filter:drop-shadow(0 0 8px rgba(191,219,254,.82)) drop-shadow(0 2px 4px rgba(15,23,42,.26))}.theme-toggle-btn[data-theme=auto] .theme-stars i{animation:themeAutoStarTwinkle 3.8s ease-in-out infinite}.theme-toggle-btn[data-theme=auto][data-auto-phase=dawn] .theme-stars i,.theme-toggle-btn[data-theme=auto][data-auto-phase=day] .theme-stars i{opacity:0;animation:none}.theme-toggle-btn[data-theme=auto][data-auto-phase=dusk] .theme-stars i,.theme-toggle-btn[data-theme=auto][data-auto-phase=night] .theme-stars i{opacity:.82}.theme-toggle-btn[data-theme=auto][data-auto-phase=dawn] .theme-clouds i,.theme-toggle-btn[data-theme=auto][data-auto-phase=day] .theme-clouds i{opacity:.74;animation:themeAutoCloudFloat 7s ease-in-out infinite}.theme-toggle-btn[data-theme=auto][data-auto-phase=dawn] .theme-clouds i:nth-child(2),.theme-toggle-btn[data-theme=auto][data-auto-phase=day] .theme-clouds i:nth-child(2){animation-delay:-2.2s}.theme-toggle-btn[data-theme=auto][data-auto-phase=dawn] .theme-clouds i:nth-child(3),.theme-toggle-btn[data-theme=auto][data-auto-phase=day] .theme-clouds i:nth-child(3){animation-delay:-4.1s}.theme-sky-surprise{position:absolute;left:0;top:var(--theme-surprise-y, 42%);z-index:8;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:13px;line-height:1;pointer-events:none;opacity:0;transform:translate(var(--theme-surprise-from-x, -26px)) translateY(-50%) scale(var(--theme-surprise-scale, 1));filter:drop-shadow(0 1px 2px rgba(15,23,42,.36)) drop-shadow(0 0 8px rgba(255,255,255,.24))}.theme-toggle-btn[data-theme=auto].theme-toggle-btn--surprise-active .theme-sky-surprise{animation:themeSkySurpriseFly var(--theme-surprise-duration, 32s) linear var(--theme-surprise-delay, 0s) 1 both}@keyframes themeCurrentBreathe{0%,to{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.08)}}@keyframes themeAstroPop{0%{transform:translate(-50%,-50%) scale(.6) rotate(-12deg)}58%{transform:translate(-50%,-50%) scale(1.32) rotate(7deg)}to{transform:translate(-50%,-50%) scale(1) rotate(0)}}@keyframes themeStarFall{0%{opacity:0;transform:translateY(0) translate(0) scale(.4)}16%,70%{opacity:1}to{opacity:0;transform:translateY(60px) translate(8px) scale(1.2)}}@keyframes themeCloudPass{0%{opacity:0;transform:translate(0) scale(.82)}14%,72%{opacity:1}to{opacity:0;transform:translate(88px) scale(.96)}}@keyframes themeAutoCloudFloat{0%,to{transform:translate(16px) translateY(0) scale(.72)}50%{transform:translate(38px) translateY(-2px) scale(.78)}}@keyframes themeAutoStarTwinkle{0%,to{transform:scale(.65);opacity:.2}50%{transform:scale(1);opacity:.92}}@keyframes themeAutoLabelPulse{0%,to{opacity:.72}50%{opacity:1}}@keyframes themeAutoLabelPop{0%{opacity:0;transform:translate(-50%) translateY(8px) scale(.72)}45%{opacity:1;transform:translate(-50%) translateY(0) scale(1.12)}to{opacity:1;transform:translate(-50%) translateY(0) scale(1)}}@keyframes themeSkySurpriseFly{0%{opacity:0;transform:translate(var(--theme-surprise-from-x, -26px)) translateY(-50%) scale(calc(var(--theme-surprise-scale, 1) * .72)) rotate(-7deg)}12%{opacity:.92}50%{opacity:1;transform:translate(24px) translateY(calc(-50% - 4px)) scale(var(--theme-surprise-scale, 1)) rotate(4deg)}88%{opacity:.9}to{opacity:0;transform:translate(var(--theme-surprise-to-x, 70px)) translateY(-50%) scale(calc(var(--theme-surprise-scale, 1) * .78)) rotate(9deg)}}@media(max-width:640px){.theme-toggle-btn{--theme-toggle-size: 38px;--theme-orbit-radius: 14px}}.user-topbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;position:relative;z-index:80}.login-topbar{position:fixed;top:20px;right:20px;z-index:100;width:auto;justify-content:flex-end;margin:0;padding:0;pointer-events:none}.login-topbar-spacer{display:none}.login-topbar .theme-toggle-btn{pointer-events:auto}.brand-top-logo{min-width:190px;height:52px;display:inline-flex;align-items:center;justify-content:flex-start;padding:6px 0;color:#f8fafc;text-decoration:none;font-size:28px;font-weight:800;letter-spacing:-.04em;line-height:1}.brand-top-logo img{display:block;width:auto;max-width:300px;max-height:100px;object-fit:contain;object-position:left center}.brand-top-logo span{display:inline-flex;align-items:center;min-height:42px}body.brand-light .brand-top-logo{color:#0f172a}.user-topbar-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}.support-top-button{width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(96,165,250,.55);background:radial-gradient(circle at 32% 24%,rgba(255,255,255,.92),transparent 28%),linear-gradient(145deg,#eff6ff,#dbeafe);color:#2563eb;text-decoration:none;box-shadow:inset 0 1px #ffffffe6,0 10px 26px #2563eb26;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.support-top-button:hover{transform:translateY(-1px) scale(1.04);border-color:#3b82f6;box-shadow:inset 0 1px #fffffff2,0 0 0 4px #3b82f61f,0 14px 30px #2563eb33}.support-top-button svg{width:22px;height:22px;display:block}.tenant-pill{height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border-radius:999px;background:#0f172ab8;border:1px solid rgba(51,65,85,.9);color:#94a3b8;font-size:11px;font-weight:700;box-shadow:inset 0 1px #ffffff08}.profile-menu{position:relative}.profile-trigger{height:42px;max-width:250px;display:inline-flex;align-items:center;gap:9px;padding:3px 11px 3px 4px;border-radius:999px;border:1px solid rgba(51,65,85,.9);background:#0f172ab8;color:#f8fafc;font:inherit;cursor:pointer;box-shadow:inset 0 1px #ffffff0a;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.profile-trigger:hover,.profile-trigger[aria-expanded=true]{transform:translateY(-1px);border-color:#38bdf8b8;box-shadow:0 10px 28px #0f172a2e,0 0 0 3px #38bdf81a}.profile-trigger-avatar{width:34px;height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#dbeafe,#fff);color:#1d4ed8;font-size:14px;font-weight:800;box-shadow:inset 0 1px #ffffffe6,0 5px 14px #2563eb21}.profile-trigger-avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-trigger-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.profile-trigger-chevron{width:16px;height:16px;flex:0 0 16px;color:#94a3b8;transition:transform .16s ease}.profile-trigger[aria-expanded=true] .profile-trigger-chevron{transform:rotate(180deg)}.profile-popover{position:absolute;top:calc(100% + 12px);right:0;z-index:120;width:min(360px,calc(100vw - 28px));overflow:hidden;padding:18px;border-radius:24px;border:1px solid rgba(255,255,255,.34);background:linear-gradient(145deg,#ffffffe6,#f1f5f9d1);backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);color:#0f172a;box-shadow:0 28px 70px #0f172a38,inset 0 1px #ffffffeb;animation:profilePopoverIn .16s ease-out}.profile-popover-glow{position:absolute;width:180px;height:180px;top:-110px;right:-70px;border-radius:999px;background:#3b82f62e;filter:blur(12px);pointer-events:none}.profile-popover-head{position:relative;display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid rgba(148,163,184,.25)}.profile-large-avatar{position:relative;width:68px;height:68px;flex:0 0 68px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:20px;background:linear-gradient(145deg,#dbeafe,#fff);color:#1d4ed8;font-size:26px;font-weight:850;border:1px solid rgba(147,197,253,.75);box-shadow:0 14px 28px #2563eb24,inset 0 1px #ffffffe6}.profile-large-avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-avatar-remove{position:absolute;top:6px;right:6px;z-index:2;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.92);border-radius:999px;background:#0f172ad1;color:#fffffff5;box-shadow:0 4px 12px #0f172a38;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer;opacity:.82;transition:opacity .15s ease,transform .15s ease,background .15s ease}.profile-avatar-remove svg{width:11px;height:11px}.profile-avatar-remove:hover:not(:disabled),.profile-avatar-remove:focus-visible{opacity:1;transform:scale(1.07);background:#be123ce6;outline:none}.profile-avatar-remove:disabled{opacity:.4;cursor:wait}.profile-identity{min-width:0;display:grid;gap:5px}.profile-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;letter-spacing:-.02em}.profile-identity span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:12px}.profile-loading{padding:17px 0;color:#64748b;font-size:13px}.profile-details{display:grid;gap:10px;padding:15px 0}.profile-detail-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;align-items:start}.profile-detail-row span{min-width:0;color:#64748b;font-size:12px;line-height:1.35;white-space:nowrap}.profile-detail-row strong{min-width:0;overflow-wrap:anywhere;text-align:right;color:#1e293b;font-size:12px}.profile-error{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fff1f2;color:#be123c;font-size:12px;line-height:1.4}.profile-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:14px;border-top:1px solid rgba(148,163,184,.25)}.profile-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.profile-action-button,.profile-logout-button{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border-radius:13px;font:inherit;font-size:12px;font-weight:750;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.profile-action-button{border:1px solid rgba(147,197,253,.9);background:#eff6ff;color:#1d4ed8}.profile-action-button svg{width:18px;height:18px}.profile-action-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #2563eb1f}.profile-action-button:disabled{opacity:.65;cursor:wait}.profile-logout-button{border:1px solid #fda4af;background:#fff1f2;color:#be123c}.profile-logout-button:hover{transform:translateY(-1px);background:#e11d48;color:#fff;box-shadow:0 10px 22px #e11d482e}body.brand-light .tenant-pill,body.brand-light .profile-trigger{background:#ffffffdb;border-color:#cbd5e1f2;color:#0f172a;box-shadow:0 10px 24px #0f172a0f,inset 0 1px #ffffffe6}body.brand-light .tenant-pill{color:#64748b}@keyframes profilePopoverIn{0%{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:720px){.user-topbar{justify-content:space-between}.login-topbar{top:12px;right:12px}.brand-top-logo{min-width:0;max-width:38%;font-size:20px}.brand-top-logo img{max-width:100%;height:34px}.user-topbar-actions{min-width:0;gap:7px}.tenant-pill{display:none}.profile-trigger{max-width:180px}.profile-trigger-name{max-width:110px}.profile-popover{position:fixed;top:72px;right:14px}}@media(max-width:460px){.profile-trigger-name,.profile-trigger-chevron{display:none}.profile-trigger{width:42px;padding:3px}.profile-actions{grid-template-columns:1fr}.profile-logout-button{width:100%}}.admin-session-badge,.profile-admin-status{display:inline-flex;align-items:center;gap:8px;color:#fecdd3;font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.admin-session-badge{height:34px;padding:0 12px;border:1px solid rgba(244,63,94,.5);border-radius:999px;background:#7f1d1d52;box-shadow:0 0 18px #f43f5e33,inset 0 1px #ffffff14}.admin-session-badge span,.profile-admin-status span{width:8px;height:8px;border-radius:50%;background:#fb7185;box-shadow:0 0 0 4px #f43f5e21,0 0 14px #fb7185d9}.profile-admin-status{justify-content:center;margin:2px 0 6px;padding:10px 12px;border:1px solid rgba(244,63,94,.28);border-radius:12px;background:linear-gradient(135deg,#7f1d1d1f,#f43f5e0f);color:#be123c}.profile-admin-status strong{font-size:11px}body.brand-light .admin-session-badge{color:#be123c;background:#fff1f2;border-color:#fda4af}@media(max-width:720px){.admin-session-badge{width:34px;padding:0;justify-content:center;font-size:0}.admin-session-badge span{margin:0}}.profile-success{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#ecfdf5;color:#047857;font-size:12px;line-height:1.4}.profile-navigation{display:grid;gap:8px;margin-bottom:12px}.profile-navigation-link{min-height:44px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:0 13px;border:1px solid rgba(96,165,250,.35);border-radius:14px;background:#eff6ffc7;color:#1d4ed8;text-decoration:none;font-size:12px;font-weight:780;transition:transform .15s ease,border-color .15s ease,background .15s ease}.profile-navigation-link:hover{transform:translateY(-1px);border-color:#3b82f69e;background:#eff6ff}html[data-theme=dark] .profile-navigation-link{background:#1e40af29;border-color:#60a5fa47;color:#bfdbfe}.profile-menu{perspective:1500px;perspective-origin:88% -18%}.profile-popover{transform-origin:88% 0;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity,filter,box-shadow;animation:none}.profile-popover-3d-enter-active{animation:profileSheetDrop .98s cubic-bezier(.16,1,.3,1) both}.profile-popover-3d-leave-active{animation:profileSheetLift .56s cubic-bezier(.55,.06,.68,.19) both;pointer-events:none}.profile-popover-3d-enter-active .profile-popover-head,.profile-popover-3d-enter-active .profile-details,.profile-popover-3d-enter-active .profile-navigation,.profile-popover-3d-enter-active .profile-actions{animation:profileContentSettle .5s cubic-bezier(.16,1,.3,1) both}.profile-popover-3d-enter-active .profile-popover-head{animation-delay:.26s}.profile-popover-3d-enter-active .profile-details{animation-delay:.32s}.profile-popover-3d-enter-active .profile-navigation{animation-delay:.38s}.profile-popover-3d-enter-active .profile-actions{animation-delay:.43s}.profile-popover-3d-enter-active .profile-popover-glow{animation:profileGlowSweep .9s .18s ease both}@keyframes profileSheetDrop{0%{opacity:0;filter:blur(10px) saturate(.78);transform:translate3d(0,-150px,-190px) rotateX(-22deg) rotateY(2.2deg) rotate(-1.4deg) scale(.93);box-shadow:0 8px 18px #0f172a0d}24%{opacity:.72}72%{opacity:1;filter:blur(0) saturate(1.015);transform:translate3d(0,4px,4px) rotateX(1.45deg) rotateY(-.25deg) rotate(.16deg) scale(1.004);box-shadow:0 30px 64px #0f172a45,0 0 30px #38bdf81a}88%{transform:translate3d(0,-1.5px,0) rotateX(-.45deg) rotateY(.08deg) rotate(-.04deg) scale(.9995);box-shadow:0 26px 56px #0f172a40,0 0 26px #38bdf814}to{opacity:1;filter:blur(0) saturate(1);transform:translateZ(0) rotateX(0) rotateY(0) rotate(0) scale(1)}}@keyframes profileSheetLift{0%{opacity:1;filter:blur(0) saturate(1);transform:translateZ(0) rotateX(0) rotateY(0) rotate(0) scale(1)}24%{transform:translate3d(0,7px,10px) rotateX(5deg) rotate(.7deg) scale(1.01)}to{opacity:0;filter:blur(11px) saturate(.72);transform:translate3d(0,-170px,-230px) rotateX(-30deg) rotateY(-4deg) rotate(3deg) scale(.89);box-shadow:0 6px 18px #0f172a0a}}@keyframes profileContentSettle{0%{opacity:0;transform:translate3d(0,-12px,28px) rotateX(-5deg)}78%{opacity:1;transform:translate3d(0,1px,0) rotateX(.25deg)}to{opacity:1;transform:translateZ(0) rotateX(0)}}@keyframes profileGlowSweep{0%{opacity:0;transform:translate3d(45px,-30px,0) scale(.62)}55%{opacity:.95}to{opacity:1;transform:translateZ(0) scale(1)}}@media(max-width:720px){.profile-menu{perspective:1200px}.profile-popover-3d-enter-active{animation-duration:.78s}.profile-popover-3d-leave-active{animation-duration:.48s}}@media(prefers-reduced-motion:reduce){.profile-popover-3d-enter-active{animation:profileReducedIn .26s ease-out both}.profile-popover-3d-leave-active{animation:profileReducedOut .22s ease-in both}.profile-popover-3d-enter-active .profile-popover-head,.profile-popover-3d-enter-active .profile-details,.profile-popover-3d-enter-active .profile-navigation,.profile-popover-3d-enter-active .profile-actions,.profile-popover-3d-enter-active .profile-popover-glow{animation:none}}@keyframes profileReducedIn{0%{opacity:0;transform:translateY(-18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes profileReducedOut{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-14px) scale(.98)}}.profile-menu{isolation:isolate}.profile-menu:after{content:"";position:absolute;top:calc(100% + 1px);right:20px;z-index:119;width:96px;height:32px;pointer-events:none;opacity:0;transform-origin:82% 0;background:linear-gradient(180deg,#dbeafeeb,#ffffffb8 64%,#fff0);filter:blur(.15px);clip-path:polygon(42% 0,100% 0,86% 100%,14% 100%)}.profile-menu.is-profile-open:after{animation:profileMagneticTether .62s cubic-bezier(.16,1,.3,1) both}.profile-trigger{position:relative;z-index:121;transform-origin:84% 50%;will-change:transform,border-radius,box-shadow,background}.profile-menu.is-profile-open .profile-trigger{animation:profileTriggerDock .64s cubic-bezier(.16,1,.3,1) both}.profile-menu.is-profile-open .profile-trigger-avatar{animation:profileAvatarMagnet .62s cubic-bezier(.16,1,.3,1) both}.profile-menu.is-profile-open .profile-trigger-name{animation:profileNameMagnet .56s cubic-bezier(.16,1,.3,1) both}.profile-popover-3d-enter-active{animation:profileMagneticRelease 1.04s cubic-bezier(.16,1,.3,1) both}.profile-popover-3d-leave-active{animation:profileMagneticReturn .68s cubic-bezier(.55,.06,.68,.19) both}@keyframes profileTriggerDock{0%{transform:translateZ(0) scale(1);border-radius:999px}22%{transform:translate3d(0,2px,10px) scale(.965,.93);box-shadow:0 5px 15px #2563eb2e,0 0 0 5px #38bdf817}52%{transform:translate3d(0,7px,18px) scale(1.025,.95);border-radius:18px 18px 13px 13px;box-shadow:0 14px 30px #2563eb38,0 0 0 4px #38bdf81c}to{transform:translate3d(0,1px,0) scale(1);border-radius:999px;box-shadow:0 10px 28px #0f172a2e,0 0 0 3px #38bdf81a}}@keyframes profileAvatarMagnet{0%{transform:translateZ(0) scale(1)}30%{transform:translate3d(2px,1px,20px) scale(.88)}62%{transform:translate3d(0,3px,8px) scale(1.08)}to{transform:translateZ(0) scale(1)}}@keyframes profileNameMagnet{0%,to{opacity:1;transform:translate(0)}34%{opacity:.52;transform:translate(5px)}66%{opacity:.92;transform:translate(1px)}}@keyframes profileMagneticTether{0%{opacity:0;transform:translate3d(0,-10px,-20px) scale(.28,.12);filter:blur(5px)}20%{opacity:.9;transform:translate3d(0,-2px,0) scale(.72,.58);filter:blur(1px)}42%{opacity:.78;transform:translate3d(0,5px,0) scaleY(.92);filter:blur(.15px)}64%{opacity:.25;transform:translate3d(0,16px,-16px) scale(.76,.38);filter:blur(3px)}to{opacity:0;transform:translate3d(0,23px,-30px) scale(.38,.05);filter:blur(7px)}}@keyframes profileMagneticRelease{0%{opacity:.08;filter:blur(9px) saturate(.76);border-radius:999px;transform:translate3d(0,-50px,-170px) rotateX(-24deg) rotateY(2deg) scale(.3,.14);box-shadow:0 4px 10px #0f172a08}18%{opacity:.82;filter:blur(4px) saturate(.9);border-radius:44px;transform:translate3d(0,-27px,-92px) rotateX(-15deg) rotateY(1deg) scale(.62,.45)}39%{opacity:1;filter:blur(.8px) saturate(1.02);border-radius:27px;transform:translate3d(0,-8px,-20px) rotateX(-5deg) rotateY(.3deg) scale(.94,.86);box-shadow:0 21px 48px #0f172a33,0 0 25px #38bdf81f}66%{filter:blur(0) saturate(1.01);border-radius:24px;transform:translate3d(0,3px,3px) rotateX(1.05deg) rotateY(-.18deg) scale(1.003);box-shadow:0 30px 64px #0f172a45,0 0 30px #38bdf81a}86%{transform:translate3d(0,-1px,0) rotateX(-.28deg) rotateY(.04deg) scale(.9997)}to{opacity:1;filter:blur(0) saturate(1);border-radius:24px;transform:translateZ(0) rotateX(0) rotateY(0) scale(1)}}@keyframes profileMagneticReturn{0%{opacity:1;filter:blur(0);border-radius:24px;transform:translateZ(0) rotateX(0) scale(1)}28%{transform:translate3d(0,2px,8px) rotateX(2deg) scale(.985,.96)}58%{opacity:.86;filter:blur(2px);border-radius:38px;transform:translate3d(0,-18px,-70px) rotateX(-12deg) scale(.7,.48)}to{opacity:0;filter:blur(9px) saturate(.72);border-radius:999px;transform:translate3d(0,-52px,-170px) rotateX(-25deg) scale(.28,.12);box-shadow:0 4px 10px #0f172a08}}@media(max-width:720px){.profile-popover-3d-enter-active{animation-duration:.86s}.profile-popover-3d-leave-active{animation-duration:.56s}.profile-menu:after{right:8px;width:72px}}@media(prefers-reduced-motion:reduce){.profile-menu.is-profile-open .profile-trigger,.profile-menu.is-profile-open .profile-trigger-avatar,.profile-menu.is-profile-open .profile-trigger-name,.profile-menu.is-profile-open:after{animation:none}.profile-popover-3d-enter-active{animation:profileReducedIn .26s ease-out both}.profile-popover-3d-leave-active{animation:profileReducedOut .22s ease-in both}}.profile-menu.is-profile-open{z-index:122}.profile-menu.is-profile-open:after{display:none}.profile-menu.is-profile-open .profile-trigger{z-index:123;transform:none;animation:profileTriggerAttach .42s cubic-bezier(.16,1,.3,1) both;border-color:#cbd5e1fa;border-bottom-color:transparent;border-radius:18px 18px 0 0;background:linear-gradient(145deg,#fffffffa,#f1f5f9f5);color:#0f172a;box-shadow:0 -8px 24px #0f172a14,inset 0 1px #fffffffa}.profile-menu.is-profile-open .profile-trigger-chevron{color:#64748b}.profile-menu.is-profile-open .profile-popover{top:calc(100% - 1px);right:0;border-top-right-radius:0;border-color:#cbd5e1fa;box-shadow:0 30px 70px #0f172a38,inset 0 1px #fffffff0}.profile-menu.is-profile-open .profile-popover:before{content:"";position:absolute;top:-1px;right:0;width:min(100%,164px);height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.98) 22%,rgba(255,255,255,.98));pointer-events:none}.profile-menu.is-profile-open .profile-trigger-avatar{animation:profileAvatarAttach .46s cubic-bezier(.16,1,.3,1) both}.profile-menu.is-profile-open .profile-trigger-name{animation:profileNameAttach .42s cubic-bezier(.16,1,.3,1) both}.profile-popover-3d-enter-active{animation:profileContinuousDrop .9s cubic-bezier(.16,1,.3,1) both}.profile-popover-3d-leave-active{animation:profileContinuousReturn .56s cubic-bezier(.55,.06,.68,.19) both}@keyframes profileTriggerAttach{0%{transform:translateY(0) scale(1);border-radius:999px}42%{transform:translateY(2px) scale(.985,.96)}to{transform:translateY(0) scale(1);border-radius:18px 18px 0 0}}@keyframes profileAvatarAttach{0%{transform:scale(1)}44%{transform:translateY(2px) scale(.91)}to{transform:scale(1)}}@keyframes profileNameAttach{0%,to{opacity:1;transform:translateY(0)}45%{opacity:.72;transform:translateY(2px)}}@keyframes profileContinuousDrop{0%{opacity:.12;filter:blur(7px) saturate(.84);transform-origin:88% 0;transform:translate3d(0,-34px,-130px) rotateX(-20deg) scale(.72,.28);border-radius:22px 0 22px 22px}28%{opacity:.86;filter:blur(2px) saturate(.96);transform:translate3d(0,-12px,-48px) rotateX(-8deg) scale(.91,.72)}72%{opacity:1;filter:blur(0) saturate(1.01);transform:translate3d(0,2px,2px) rotateX(.7deg) scale(1.002)}to{opacity:1;filter:blur(0) saturate(1);transform:translateZ(0) rotateX(0) scale(1);border-radius:24px 0 24px 24px}}@keyframes profileContinuousReturn{0%{opacity:1;filter:blur(0);transform:translateZ(0) rotateX(0) scale(1)}36%{transform:translate3d(0,-3px,-10px) rotateX(-3deg) scale(.97,.9)}to{opacity:0;filter:blur(7px);transform:translate3d(0,-36px,-130px) rotateX(-20deg) scale(.72,.24)}}html[data-theme=dark] .profile-menu.is-profile-open .profile-trigger,body:not(.brand-light) .profile-menu.is-profile-open .profile-trigger{border-color:#475569fa;border-bottom-color:transparent;background:linear-gradient(145deg,#0f172afa,#020617f5);color:#f8fafc;box-shadow:0 -8px 24px #0000003d,inset 0 1px #ffffff0d}html[data-theme=dark] .profile-menu.is-profile-open .profile-trigger-chevron,body:not(.brand-light) .profile-menu.is-profile-open .profile-trigger-chevron{color:#94a3b8}html[data-theme=dark] .profile-menu.is-profile-open .profile-popover,body:not(.brand-light) .profile-menu.is-profile-open .profile-popover{border-color:#475569fa}@media(max-width:720px){.profile-menu.is-profile-open .profile-popover{top:72px;right:14px;border-top-right-radius:24px}.profile-menu.is-profile-open .profile-trigger{border-radius:999px;border-bottom-color:inherit}}@media(prefers-reduced-motion:reduce){.profile-menu.is-profile-open .profile-trigger,.profile-menu.is-profile-open .profile-trigger-avatar,.profile-menu.is-profile-open .profile-trigger-name{animation:none}}html[data-theme=dark] .profile-popover,body:not(.brand-light) .profile-popover{background:linear-gradient(155deg,#0f172afa,#020617f7);color:#e2e8f0;border-color:#334155f5;box-shadow:0 30px 70px #0000006b,inset 0 1px #ffffff0d,0 0 0 1px #0ea5e90d}html[data-theme=dark] .profile-popover-glow,body:not(.brand-light) .profile-popover-glow{background:radial-gradient(circle,rgba(56,189,248,.22) 0%,rgba(56,189,248,.08) 46%,transparent 72%);filter:blur(18px)}html[data-theme=dark] .profile-popover-head,body:not(.brand-light) .profile-popover-head,html[data-theme=dark] .profile-actions,body:not(.brand-light) .profile-actions{border-color:#47556970}html[data-theme=dark] .profile-large-avatar,body:not(.brand-light) .profile-large-avatar{background:linear-gradient(145deg,#1e293bfa,#0f172af5);border-color:#60a5fa57;color:#60a5fa;box-shadow:0 14px 30px #0206176b,inset 0 1px #ffffff0f}html[data-theme=dark] .profile-identity strong,body:not(.brand-light) .profile-identity strong,html[data-theme=dark] .profile-detail-row strong,body:not(.brand-light) .profile-detail-row strong{color:#f8fafc}html[data-theme=dark] .profile-identity span,body:not(.brand-light) .profile-identity span,html[data-theme=dark] .profile-loading,body:not(.brand-light) .profile-loading,html[data-theme=dark] .profile-detail-row span,body:not(.brand-light) .profile-detail-row span{color:#94a3b8}html[data-theme=dark] .profile-navigation-link,body:not(.brand-light) .profile-navigation-link{background:linear-gradient(145deg,#1e293bd6,#0f172ad1);border-color:#60a5fa47;color:#bfdbfe;box-shadow:inset 0 1px #ffffff0a}html[data-theme=dark] .profile-navigation-link:hover,body:not(.brand-light) .profile-navigation-link:hover{background:linear-gradient(145deg,#1e40af38,#0f172ae6);border-color:#60a5fa7a}html[data-theme=dark] .profile-action-button,body:not(.brand-light) .profile-action-button{background:linear-gradient(145deg,#0f172ae0,#1e293bdb);border-color:#60a5fa57;color:#93c5fd;box-shadow:inset 0 1px #ffffff0a}html[data-theme=dark] .profile-action-button:hover:not(:disabled),body:not(.brand-light) .profile-action-button:hover:not(:disabled){box-shadow:0 12px 24px #02061752,0 0 0 3px #3b82f61a}html[data-theme=dark] .profile-logout-button,body:not(.brand-light) .profile-logout-button{background:#7f1d1d38;border-color:#f43f5e6b;color:#fda4af}html[data-theme=dark] .profile-logout-button:hover,body:not(.brand-light) .profile-logout-button:hover{background:linear-gradient(145deg,#e11d48d6,#be185de0);color:#fff;box-shadow:0 12px 24px #be185d38}html[data-theme=dark] .profile-admin-status,body:not(.brand-light) .profile-admin-status{color:#fecdd3;border-color:#f43f5e3d;background:linear-gradient(135deg,#7f1d1d38,#e11d4814)}html[data-theme=dark] .profile-error,body:not(.brand-light) .profile-error{background:#7f1d1d47;color:#fecaca}html[data-theme=dark] .profile-success,body:not(.brand-light) .profile-success{background:#065f463d;color:#a7f3d0}html[data-theme=dark] .profile-menu.is-profile-open .profile-popover:before,body:not(.brand-light) .profile-menu.is-profile-open .profile-popover:before{background:linear-gradient(90deg,transparent,rgba(15,23,42,.98) 22%,rgba(2,6,23,.98))}html[data-theme=dark] .profile-menu.is-profile-open .profile-popover,body:not(.brand-light) .profile-menu.is-profile-open .profile-popover{box-shadow:0 34px 82px #00000075,inset 0 1px #ffffff0d,0 0 0 1px #0ea5e90a}
