.nx-mobile-bar,.nx-mobile-shade{display:none}
@media(max-width:900px){
 .nx-mobile-bar{position:fixed;inset:0 0 auto;z-index:30000;height:54px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;background:#111811;border-bottom:1px solid #49503c;color:#f5efde;font:14px system-ui}
 .nx-mobile-bar button{min-width:70px;min-height:40px;padding:8px 12px;border:1px solid #96855d;border-radius:8px;background:#292d21;color:#f8e2aa;font:inherit}
 .nx-mobile-bar .nx-demo-return{position:static;display:inline-flex;align-items:center;min-height:40px;padding:6px;color:#e2c280;background:none;border:0;box-shadow:none;font:12px system-ui}
 #root{padding-top:54px}
 #root .nx-shell{width:100%;height:calc(100vh - 54px);height:calc(100dvh - 54px);padding-bottom:66px}
 .nx-shell>main{width:100%;padding:6px!important}
 .nx-shell>.nx-sidebar{position:fixed!important;top:54px;bottom:66px;left:0;z-index:25000;width:min(290px,88vw)!important;height:auto!important;transform:translateX(-105%)!important;opacity:1!important;background:#141a13;box-shadow:12px 0 32px #0008}
 body.nx-mobile-menu-open .nx-shell>.nx-sidebar{transform:translateX(0)!important}
 body.nx-mobile-menu-open .nx-mobile-shade{position:fixed;display:block;inset:54px 0 66px;z-index:24000;border:0;background:#0009}
 .nx-sidebar nav button{min-height:44px}
 .nx-sidebar .nx-reveal{opacity:1!important;transform:none!important}
 .nx-topbar{gap:12px;padding:10px!important;flex-wrap:wrap}
 .nx-topbar>div:first-child{flex:1;min-width:0}
 .nx-topbar>div:first-child>span{display:block;margin-left:0;overflow-wrap:anywhere}
 .nx-command-trigger{width:40px;min-width:40px;height:40px;justify-content:center;padding:0}
 .nx-command-trigger>span,.nx-command-trigger>kbd{display:none}
 .nx-workspace section>.px-6{padding:16px!important}
 .nx-workspace h1,.nx-workspace h2,.nx-workspace p{overflow-wrap:anywhere}
 .nx-workspace input,.nx-workspace textarea,.nx-workspace select{font-size:16px}
 .nx-workspace button{flex-shrink:0;min-width:28px;min-height:28px}
 #nexus-demo-banner{left:12px!important;right:12px!important;bottom:8px!important;transform:none!important;white-space:normal!important;text-align:center;letter-spacing:0!important;border-radius:10px!important;font-size:11px!important;line-height:1.4!important}
}
@media(max-width:900px){body>.nx-demo-return{display:none}}
@media(max-width:600px){.nx-workspace header:has(.lucide-sunrise){flex-wrap:wrap;gap:14px}.nx-workspace header:has(.lucide-sunrise)>div:first-child{display:none}.nx-workspace header:has(.lucide-sunrise)>div:nth-child(2){flex:1 1 100%;min-width:0}.nx-workspace h1{font-size:28px}}
@media(max-width:900px){
 .nx-mobile-bar [hidden]{display:none!important}
 .nx-email-list{width:100%!important;min-width:0;flex:1;border-right:0!important}
 .nx-email-detail{display:none!important}
 .nx-email-layout{min-width:0;overflow:hidden}
 .nx-email-page[data-mobile-mail-open="true"]>header{display:none}
 .nx-email-page[data-mobile-mail-open="true"] .nx-email-list{display:none!important}
 .nx-email-page[data-mobile-mail-open="true"] .nx-email-detail{display:flex!important;width:100%;max-width:100%}
 .nx-email-page>header{padding:12px!important;min-width:0}
 .nx-email-page>header .flex{flex-wrap:wrap}
 .nx-email-page>header>div:first-child>div{flex:1 1 100%;min-width:0;max-width:100%}
 .nx-email-page>header input{max-width:100%}
 .nx-email-page>header h1{flex:none}
}
@media(max-height:500px) and (max-width:900px){.nx-email-page>header{max-height:100px;overflow-y:auto;flex-shrink:0}}
@media(max-width:900px){.nx-email-page>header .overflow-x-auto{flex-wrap:nowrap;scrollbar-width:thin}.nx-email-page>header .overflow-x-auto button{flex-shrink:0}}
@media(max-width:900px){.nx-email-detail>div>div:first-child>.flex{flex-wrap:wrap}.nx-email-detail>div>div:first-child>.flex>button{flex:1 1 170px}}
@media(max-width:600px){.nx-workspace .grid-cols-2,.nx-workspace .grid-cols-3{grid-template-columns:minmax(0,1fr)}.nx-workspace .grid-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
