#nd-message-bell{position:fixed;right:16px;bottom:86px;z-index:11900;background:#783f73;color:#fff;border:1px solid #c596bd;border-radius:24px;padding:11px 17px;font:700 12px system-ui;box-shadow:0 4px 20px #0004;cursor:pointer}#nd-message-bell.nd-unread{box-shadow:0 0 0 4px #c67ab933,0 4px 20px #0004}
#nd-inbox{position:fixed;inset:0;z-index:12500;background:#080710bb;display:flex;justify-content:center;align-items:center;padding:16px;box-sizing:border-box;font-family:system-ui;color:#f5eff8}#nd-inbox *{box-sizing:border-box}#nd-inbox .nd-dialog{background:#211b2c;border:1px solid #785c86;border-radius:16px;width:min(560px,100%);max-height:90dvh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 18px 80px #0008}#nd-inbox header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #51405d}#nd-inbox header small{font-size:9px;letter-spacing:2px;color:#c999e1}#nd-inbox h2{font-size:20px;margin:5px 0;color:#f5eff8!important}#nd-inbox button{background:#794374;color:#fff;border:1px solid #aa7ca7;border-radius:8px;padding:9px 12px;cursor:pointer;font:600 12px system-ui}#nd-inbox button:disabled{opacity:.5}#nd-inbox header button{font-size:22px}#nd-inbox .nd-content{overflow:auto;padding:18px 22px;overscroll-behavior:contain}#nd-inbox article{border:1px solid #51405d;border-radius:12px;padding:14px;margin-bottom:14px;background:#2d2537}#nd-inbox .nd-msg-title{display:flex;justify-content:space-between;gap:8px;font-size:12px}#nd-inbox small{color:#c1afce;font-size:10px}#nd-inbox p{white-space:pre-wrap;font-size:13px;line-height:1.6;color:#f5eff8}#nd-inbox label{display:grid;gap:5px;font-size:11px;margin-top:10px}#nd-inbox :is(textarea,select){width:100%;background:#171320;color:#f5eff8;border:1px solid #735c82;border-radius:8px;padding:9px;font:inherit}#nd-inbox form button{margin-top:7px}#nd-inbox .nd-receipt{display:block;margin:10px 0;color:#a7dbcb}#nd-inbox .nd-my-reply{padding:10px;background:#211b2c;border-radius:8px}#nd-inbox footer{padding:12px 22px;border-top:1px solid #51405d;font-size:10px;line-height:1.5;color:#c1afce}#nd-inbox .nd-error{padding:0 22px 10px;font-size:12px;color:#ffb7c8}
#nd-new-message{position:fixed;right:16px;bottom:140px;z-index:11900;max-width:calc(100vw - 32px);background:#342340;border:1px solid #c596bd;color:#fff;padding:14px 18px;border-radius:12px;font:600 12px system-ui;cursor:pointer;box-shadow:0 5px 24px #0005}
/* Messages belongs to the app header, never over the workspace. */
#nd-message-bell{position:static;right:auto;bottom:auto;z-index:auto;flex:0 0 auto;min-height:34px;padding:7px 11px;border-radius:9px;box-shadow:none;font-size:11px;white-space:nowrap;margin:0}
#nd-message-bell.nd-unread{box-shadow:inset 0 0 0 1px #e5b7dd}
.driver-header-actions{flex-wrap:wrap;align-items:center}
.app-header #nd-message-bell{margin-left:auto}
.nc-heading #nd-message-bell{margin-left:12px}
#nd-new-message{display:none!important}
@media(max-width:600px){.app-header{flex-wrap:wrap}.app-header #nd-message-bell{margin-left:auto}#nd-message-bell{min-height:32px;padding:6px 9px;font-size:10px}.driver-header-actions{gap:6px}.nc-heading #nd-message-bell{margin-left:0}}
/* One aligned row for portal header controls. */
.topright{display:flex;align-items:center;gap:8px!important}
.topright .nx-notification-bell{order:1;width:38px!important;height:38px!important;min-height:38px!important;border-radius:10px}
.topright #nd-message-bell{order:2;position:relative;width:38px;height:38px;min-height:38px;padding:0!important;font-size:0!important;border-radius:10px;background:transparent;color:inherit}
.topright #nd-message-bell:before{content:'✉';font-size:19px;line-height:1}
.topright #nd-message-bell:not([data-unread="0"]):after{content:attr(data-unread);position:absolute;right:-5px;top:-5px;background:#ad629c;color:#fff;font:700 9px system-ui;min-width:15px;height:15px;border-radius:10px;display:grid;place-items:center;padding:0 2px;border:2px solid var(--bg,#241c2a)}
.topright #nx-layout-menu{order:3;margin:0}.topright #nx-layout-menu summary{box-sizing:border-box;min-height:38px;height:38px;padding:0 11px;display:flex;align-items:center;gap:7px;border-radius:10px;font-size:11px}
.topright #nx-theme-toggle{order:4;width:38px!important;height:38px!important;min-height:38px!important;margin:0;border-radius:10px}
.topright #nexus-auth-logout{order:5;box-sizing:border-box;height:38px;min-height:38px;padding:0 14px;margin-left:5px;border-radius:10px;font-size:11px}
.nx-demo-footer{display:flex;align-items:center;gap:7px;margin-bottom:9px;font-size:10px;font-weight:600}.nx-demo-footer i{display:block;width:6px;height:6px;border-radius:50%;background:#23bd8c;box-shadow:0 0 8px #23bd8c33;flex-shrink:0}
@media(max-width:600px){.topright{gap:5px!important}.topright #nexus-auth-logout{margin-left:0;padding:0 9px}.topright #nx-layout-menu summary{padding:0 8px}}
.topright #nx-layout-menu summary{width:38px!important;min-width:38px!important;height:38px;padding:0!important;justify-content:center;gap:0}.topright #nx-layout-menu summary::marker{content:''}.topright #nx-layout-menu summary::-webkit-details-marker{display:none}.topright #nx-layout-menu summary svg{display:block;flex-shrink:0}
