/* Lunar purple glass. Backdrop effects are confined to each panel's border box. */
.header-menu{isolation:isolate;background:linear-gradient(140deg,#542578c9,#200d3ce3)!important;border:1px solid #e1b6ff91!important;border-radius:23px!important;padding:14px!important;box-shadow:inset 0 2px 2px #ffffff52,inset 0 -3px 5px #13082388,0 20px 45px #20053666!important;backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35);overflow:hidden}
.header-menu:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,#ffffff21,transparent 40%,#cb8aff0a 70%,#ffffff16);z-index:-1;border-radius:inherit}
.header-menu a:not(.header-signin){border:1px solid #e7b9ff1f;border-radius:13px;background:linear-gradient(150deg,#bc80eb17,#6a38840c);text-shadow:0 2px 3px #170927;box-shadow:inset 0 1px 1px #ffffff12}
.header-menu a:not(.header-signin):hover{background:linear-gradient(135deg,#b77ee548,#75429930)}
.site-header .menu{border:1px solid #d4a8ff70;border-radius:13px;background:linear-gradient(140deg,#a475d841,#3d175c77);box-shadow:inset 0 1px 2px #ffffff40,0 5px 12px #1d06343b;color:white}
/* Workspace drawer: the rest of the page stays sharp. */
.portal-sidebar{background:linear-gradient(145deg,#452064c9,#1c0b35e0)!important;backdrop-filter:blur(24px) saturate(1.3);-webkit-backdrop-filter:blur(24px) saturate(1.3);border-right:1px solid #d6aaff66!important;box-shadow:inset 1px 1px 2px #ffffff42,inset -2px 0 3px #e0b0ff16,18px 0 50px #12032242;isolation:isolate;scrollbar-width:thin;scrollbar-color:#9a69c4 transparent}
.portal-sidebar:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,#ffffff13,transparent 35%,#ad76dd08 65%,#ffffff10);z-index:-1}
.portal-sidebar nav button,.portal-sidebar nav a{color:#f0e2ff!important;padding:9px 10px!important;gap:12px!important;min-height:49px;font-weight:600;border-color:transparent;transition:background .18s,transform .18s,box-shadow .18s}
.portal-sidebar nav button:hover,.portal-sidebar nav a:hover,.portal-sidebar nav .active{background:linear-gradient(135deg,#be86ed2b,#a463d51a)!important;border-color:#e3baff40!important;box-shadow:inset 0 1px 1px #ffffff24,0 4px 12px #10051c20;color:white!important}
.workspace-nav-icon{display:inline-grid;place-items:center;flex:0 0 32px;height:32px;border-radius:11px;background:radial-gradient(ellipse at 30% 0,#e5c5ff6b,transparent 65%),linear-gradient(145deg,#9660cd99,#492668bb);box-shadow:inset 0 1px 2px #ffffff52,inset 0 -2px 3px #210b3980,0 3px 5px #10051d33;font-size:20px;line-height:1;text-shadow:0 2px 3px #160626;filter:drop-shadow(0 2px 2px #17072355)}
.portal-sidebar .nav-label{margin-top:24px;margin-bottom:9px;color:#cbb0e3}.portal-sidebar footer{padding-top:19px!important}.portal-sidebar footer small{color:#cbb2df!important}
[data-account-security]{background:linear-gradient(180deg,#98edbe 0%,#40b87f 12%,#138653 48%,#075c39 92%)!important;border:1px solid #78eab5!important;color:#fff!important;border-radius:13px!important;box-shadow:inset 0 2px 2px #ffffff70,inset 0 -3px 4px #00321faa,0 4px 0 #033d29,0 7px 15px #05382255!important;text-shadow:0 2px 2px #063b28;font-weight:750!important;text-decoration:none}
.portal-sidebar nav [data-account-security]{background:linear-gradient(180deg,#69cda4bb,#18784cb3 42%,#064a32cf)!important;margin-block:3px}
#portal-logout{width:100%;min-height:43px;font-weight:800!important;font-size:14px!important;letter-spacing:.2px;color:#fff!important;background:linear-gradient(180deg,#ffb4be 0%,#eb5c70 12%,#bc2647 46%,#7c1230 100%)!important;border:1px solid #ff9dad!important;border-radius:13px!important;box-shadow:inset 0 2px 2px #ffffff66,inset 0 -3px 4px #510f22aa,0 4px 0 #510c22,0 9px 18px #32091644!important;text-shadow:0 2px 2px #650d25}
#portal-menu{background:linear-gradient(145deg,#9a68c577,#45216299);border:1px solid #cda3ef7a;box-shadow:inset 0 1px 2px #ffffff44,0 4px 9px #16072344;border-radius:13px}
#workspace-control{border:0;background:transparent;padding:0;text-align:left;color:#dfbaff;cursor:pointer;letter-spacing:2px;font-size:10px;font-weight:800;box-shadow:none}#workspace-control:hover{color:white}#workspace-control:focus-visible{outline:2px solid #e1b5ff;outline-offset:5px}
.portal-topbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:18px!important;position:relative}.workspace-control-label{grid-column:1}.portal-topbar>#portal-menu{position:absolute;left:16px;top:24px}.workspace-shortcuts{grid-column:2;display:flex;align-items:center;justify-content:center;gap:8px}.workspace-shortcuts a,.workspace-shortcuts button{font:750 12px system-ui;color:#f5eaff;text-decoration:none;border:1px solid #cdabed60;background:linear-gradient(145deg,#8950bca6,#4c266dba);box-shadow:inset 0 1px 2px #ffffff45,0 3px 7px #17052640;border-radius:11px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;white-space:nowrap;cursor:pointer}.portal-topbar .top-actions{grid-column:3;gap:10px!important;display:flex!important;flex-wrap:nowrap}.top-actions [data-account-security]{padding:10px 13px;white-space:nowrap}
.lunar-native-staff .workspace-shortcuts{display:none}.lunar-native-staff .portal-topbar{grid-template-columns:minmax(0,1fr) auto!important}
/* Golden bell, with a large hit area; the numeric badge opens the same inbox. */
.ln-controls{display:inline-flex!important;align-items:center!important}.ln-controls .ln-button{width:43px!important;height:43px!important;min-width:43px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px!important;border-color:#e8bd6999!important;background:linear-gradient(145deg,#815c3a88,#44243caa)!important;border-radius:13px!important;box-shadow:inset 0 1px 2px #fff6,0 4px 10px #19082344!important}.ln-controls .ln-button svg{width:24px!important;height:24px!important;fill:#ffd45a!important;stroke:#a76312!important;filter:drop-shadow(0 2px 1px #34150099) drop-shadow(0 0 5px #ffca4b44)}.ln-panel{border-color:#ddb5ff8c!important;background:linear-gradient(140deg,#643b87df,#24113de8)!important;box-shadow:inset 0 2px 2px #fff4,0 18px 50px #16062180!important;backdrop-filter:blur(22px) saturate(1.25)!important;-webkit-backdrop-filter:blur(22px) saturate(1.25)}.ln-panel .ln-head{display:flex!important;padding:15px 18px!important;min-height:0!important;background:transparent!important}.ln-panel .ln-item{border:1px solid #dab5ff19;margin-bottom:5px;background:#d0a1ff09}.ln-panel .ln-item:hover{background:#d4a1ff22!important}.ln-panel .ln-item small{color:#ead5fa!important}
@media(max-width:1050px){.portal-topbar{column-gap:10px!important}.workspace-shortcuts{gap:5px}.workspace-shortcuts a,.workspace-shortcuts button{padding:8px 10px;font-size:11px}}
@media(max-width:750px){.portal-sidebar{width:min(310px,86vw)!important;z-index:10020!important;padding:25px 16px 28px!important}.portal-topbar{padding:18px 16px 18px 76px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px 8px!important;align-items:center}.portal-topbar>#portal-menu{top:22px}.workspace-control-label{grid-column:1;min-width:0}.portal-topbar .top-actions{grid-column:2;grid-row:1;gap:8px!important}.portal-topbar #workspace-date{font-size:10px;max-width:160px}.top-actions [data-account-security]{font-size:11px!important;padding:9px 10px!important;max-width:110px;white-space:normal;text-align:center;line-height:1.3}.workspace-shortcuts{grid-column:1/-1;grid-row:2;padding-right:60px;justify-content:center}.workspace-shortcuts a,.workspace-shortcuts button{min-height:36px}.lunar-native-staff .portal-topbar{padding-left:76px!important}.workspace-control-label .eyebrow{font-size:8px!important;letter-spacing:1.4px!important}.ln-controls .ln-button{width:39px!important;height:40px!important;min-width:39px!important}.ln-panel{right:12px!important;max-height:60dvh!important}}
@media(max-width:380px){.portal-topbar{padding-left:61px!important;column-gap:5px!important}.portal-topbar>#portal-menu{left:10px}.top-actions [data-account-security]{font-size:10px!important;padding:8px!important;max-width:84px}.portal-topbar .top-actions{gap:5px!important}.portal-topbar #workspace-date{font-size:9px}.portal-sidebar{width:88vw!important}}
@media(prefers-reduced-motion:reduce){.portal-sidebar nav button,.portal-sidebar nav a{transition:none}}

.lunar-native-staff .portal-topbar .top-actions{grid-column:2}
