/* Nexora Mobile Update — controls remain in the page flow. */
.nexora-install-slot{display:flex;justify-content:flex-end;gap:8px;padding:10px 0;flex-shrink:0;grid-column:1/-1}
#nexoraInstallButton{position:static!important;inset:auto!important;display:inline-flex;align-items:center;justify-content:center;width:auto!important;max-width:100%;min-height:44px;padding:10px 16px!important;margin:0!important;border:1px solid #a78bfa;border-radius:14px;background:#6d4aff;color:#fff;font:700 14px system-ui;cursor:pointer;white-space:normal;touch-action:manipulation}
#nexoraInstallButton[hidden]{display:none!important}
#nexoraInstallDialog{box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #8b5cf6;border-radius:22px;background:#111322;color:#f8fafc;font:16px/1.8 system-ui;box-shadow:0 24px 80px #0008}
#nexoraInstallDialog::backdrop{background:#03040cbb;backdrop-filter:blur(5px)}
#nexoraInstallDialog h2{margin:0 0 12px;font-size:23px}#nexoraInstallDialog p{margin:0 0 18px}
#nexoraInstallDialog button{min-height:44px;padding:10px 22px;border:0;border-radius:12px;background:#6d4aff;color:#fff;font:700 16px system-ui;cursor:pointer}
#nexoraOfflineNotice{position:fixed;inset-inline:12px;top:max(12px,env(safe-area-inset-top));z-index:10020;display:flex;align-items:center;gap:12px;max-width:680px;margin:auto;padding:12px 16px;box-sizing:border-box;border:1px solid #eab308;border-radius:14px;background:#29220c;color:#fff;font:14px/1.6 system-ui}
#nexoraOfflineNotice[hidden]{display:none}#nexoraOfflineNotice button{flex-shrink:0;min-width:44px;min-height:44px;border:0;border-radius:10px;background:#ffffff18;color:#fff;font-size:24px}
#nexoraInstallButton:focus-visible,#nexoraInstallDialog button:focus-visible{outline:3px solid #c4b5fd;outline-offset:3px}
@media(max-width:768px){
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}
 button,a,input,select,textarea{touch-action:manipulation}
 .nexa-page .nexa-chat{top:var(--nexa-viewport-top,0px)!important;bottom:auto!important}
 .nexa-page .nexa-topbar{flex-wrap:wrap!important}
 .nexa-page .nexa-topbar>a[href="nexa-builder.html"]{font-size:13px;max-width:100%;overflow-wrap:anywhere;padding:6px 8px!important}
 .nexa-page .nexa-navigation,.nexa-page .nexa-header-tools{flex-wrap:wrap}
 .nexa-page .chat-input{padding-inline:max(10px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right))!important}
 .nexa-page .chat-input>#userInput{max-height:min(120px,25dvh)!important}
 .nexa-page .chat-input>#sendButton{min-width:80px!important;padding-inline:12px!important}
 .nexa-page .message a[download],.nexa-page .saved-generated-file-download{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
 .nexa-page .selected-file-preview{max-height:88px!important}
 .nexa-page .nexa-sidebar{padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
 .login-card,.signup-card{box-sizing:border-box;max-width:calc(100vw - 24px)}
}
