/* Nexo identity: a top navigation, a shelf of spaces and a conversation canvas. */
:root.nexo-identity{--nav:#0b0e13;--paper:#11151c;--panel:#191f29;--sidebar:#141a23;--ink:#f1f3f7;--text:#f1f3f7;--muted:#a0aec1;--line:#2d3848;--accent:#efbc65;--nexo-highlight:#efbc65;--surface-card:#222c3a;--surface-input:#0e131b;--surface-hover:#9ab4d30c}
:root.nexo-identity[data-theme=light]{--nav:#e9edf3;--paper:#fff;--panel:#f6f8fb;--sidebar:#eef2f7;--ink:#202c3c;--text:#202c3c;--muted:#63748c;--line:#d4dce8;--accent:#936410;--nexo-highlight:#936410;--surface-card:#e6edf6;--surface-input:#fff;--surface-hover:#7b97ba12}
.nexo-identity body{background:var(--nav);color:var(--ink)}
.nexo-identity .workspace,.nexo-identity .workspace.discovering{width:calc(100% - 32px);height:calc(100dvh - 32px);margin:16px;padding:0;display:grid;gap:16px;grid-template-columns:240px minmax(0,1fr) 222px;grid-template-rows:108px minmax(0,1fr);grid-template-areas:'navigation navigation navigation' 'sidebar canvas people';background:transparent;border:0;box-shadow:none;border-radius:0;overflow:visible}
.nexo-identity .server-rail{grid-area:navigation;min-width:0;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px 10px;background:var(--panel);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-sizing:border-box}
.nexo-identity #nexo-home{display:flex;align-items:center;gap:9px;width:auto;height:38px;min-height:38px;margin:0;padding:0 8px 0 0;flex:none;border:0;border-radius:0}
.nexo-identity #nexo-home img{width:36px;height:36px;object-fit:contain}
.nexo-wordmark{font-size:25px;letter-spacing:-1.5px;font-weight:850;color:var(--ink)}
.nexo-primary-navigation,.nexo-utility-navigation{display:flex;align-items:center;gap:5px;min-width:0}
.nexo-utility-navigation{margin-left:auto}
.nexo-identity .server-rail .nexo-nav-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;min-height:36px;width:auto!important;padding:8px 11px!important;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:12px;font-weight:650;white-space:nowrap;box-shadow:none}
.nexo-identity .server-rail .nexo-nav-button svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
.nexo-identity .nexo-nav-button:hover,.nexo-identity .nexo-nav-button[aria-current=page]{background:var(--surface-card);color:var(--accent)}
.nexo-identity .server-rail #add-server{border:1px solid var(--line);color:var(--accent)}
.nexo-identity .server-rail .rail-divider,.nexo-identity .server-rail .rail-bottom{display:none!important}
.nexo-identity .nexo-utility-navigation>.icon-button{margin:0;width:34px;height:34px;padding:8px;flex:none;border-radius:10px;background:transparent;color:var(--muted);border:0}
.nexo-identity .nexo-utility-navigation>.icon-button svg{width:18px;height:18px}
.nexo-spaces-strip{order:5;display:flex;align-items:center;gap:16px;width:100%;min-width:0;height:36px}
.nexo-spaces-label{font-size:9px;letter-spacing:.12em;color:var(--muted);white-space:nowrap;flex:none}
.nexo-identity #server-list{min-width:0;display:flex;flex-direction:row;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;flex:1;margin:0;padding:0 1px}
.nexo-identity #server-list .rail-button{display:flex;align-items:center;gap:8px;flex:none;width:auto;min-width:90px;max-width:200px;height:32px;min-height:32px;border:1px solid transparent;border-radius:9px;background:transparent;padding:3px 10px 3px 4px;color:var(--muted);font-size:12px;box-shadow:none;transform:none}
.nexo-identity #server-list .rail-button.active{border-color:var(--line);background:var(--surface-card);color:var(--ink)}
.nexo-identity #server-list .rail-button::before{display:none!important}
.nexo-space-thumbnail{display:grid;place-items:center;position:relative;width:25px;height:25px;flex:none;border-radius:7px;background:var(--surface-card);color:var(--accent);font-size:10px;font-weight:750}
.nexo-identity .nexo-space-thumbnail img{width:25px;height:25px;border-radius:7px;object-fit:cover}
.nexo-space-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
.nexo-identity .nexo-space-thumbnail .server-verified-mark{position:absolute;right:-4px;bottom:-2px;width:12px!important;height:12px!important;min-width:12px!important;margin:0!important}
.nexo-identity .sidebar{grid-area:sidebar;display:flex;position:static;width:auto;min-width:0;background:var(--sidebar);border:1px solid var(--line);border-radius:22px;box-shadow:none;overflow:hidden}
.nexo-identity .chat{grid-area:canvas;min-width:0;border:1px solid var(--line);border-radius:26px;background:var(--paper);box-shadow:none}
.nexo-identity .members-panel{grid-area:people;display:block;background:transparent;border:0;border-radius:0;padding:4px 0;min-width:0}
.nexo-identity .sidebar-header .desk-wordmark{display:none}
.nexo-identity .server-heading{min-height:75px;padding:20px 16px;border-bottom:1px solid var(--line);gap:8px}
.nexo-identity #server-title{font-size:18px;font-weight:750;letter-spacing:-.5px}
.nexo-identity .server-title-button{min-width:0}
.nexo-identity .channel-heading{padding:20px 16px 12px!important;letter-spacing:.14em;font-size:9px}
.nexo-identity #channel-list{padding:0 10px 14px;min-height:0}
.nexo-identity .channel-button,.nexo-identity .dm-channel{padding:11px 13px!important;min-height:42px!important;border-radius:12px;font-size:13px;gap:10px;margin-bottom:4px}
.nexo-identity .channel-button.active{background:var(--surface-card)!important;color:var(--accent)!important;box-shadow:inset 3px 0 var(--accent)}
.nexo-identity .category-heading{margin:20px 7px 8px!important;font-size:10px;letter-spacing:.09em}
.nexo-identity .sidebar>.profile{border-radius:16px;border-color:var(--line);background:var(--surface-card);box-shadow:none;padding:14px 12px}
.nexo-identity .chat-header{min-height:76px;height:76px;padding:0 24px;background:transparent;border-color:var(--line);gap:12px}
.nexo-identity #channel-title{font-size:18px;letter-spacing:-.5px;min-width:0}
.nexo-identity .chat-header .hash{width:34px;height:34px;background:var(--surface-card);color:var(--accent);border-radius:11px}
.nexo-identity .chat-header .header-divider{display:none}
.nexo-identity #channel-description{margin-left:0;color:var(--muted)}
.nexo-identity .chat-header .icon-button{color:var(--muted);background:transparent}
.nexo-identity #message-scroll{padding:24px 28px}
.nexo-identity .channel-welcome{border:0!important;padding:0 0 24px!important;background:none!important}
.nexo-identity #welcome-title{font-size:24px!important;font-weight:750;letter-spacing:-.7px}
.nexo-identity #welcome-description{font-size:13px!important;line-height:1.7;max-width:520px}
.nexo-identity .date-divider{font-size:8px;letter-spacing:.18em;color:var(--muted);opacity:.55;margin:8px 0 20px}
.nexo-identity #messages .message{display:flex;margin:6px 0!important;padding:7px 0!important;align-items:flex-end;gap:12px;background:transparent!important}
.nexo-identity #messages .message[data-own=true]{flex-direction:row-reverse}
.nexo-identity #messages .message-content,.nexo-identity #messages .message-continuation .message-content{max-width:min(76%,680px);width:fit-content;padding:13px 16px!important;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:20px 20px 20px 5px!important;min-width:100px}
.nexo-identity #messages .message[data-own=true] .message-content{background:var(--surface-card)!important;border:1px solid var(--line)!important;border-radius:20px 20px 5px 20px!important}
.nexo-identity #messages .message-meta{display:flex;align-items:center;gap:8px;margin:0 0 6px;position:static;width:auto;min-height:18px;font-size:11px}
.nexo-identity #messages .message-body{font-size:14px;line-height:1.65;color:var(--ink);margin:0}
.nexo-identity #messages .message-continuation{margin-top:-6px!important}
.nexo-identity #messages .message-continuation .message-meta{display:none}
.nexo-identity #messages .message-continuation:has(.edited-label) .message-meta{display:flex}
.nexo-identity #messages .message-avatar-button{align-self:flex-end}
.nexo-identity #messages .message-actions{top:4px;right:4px}
.nexo-identity #messages .embed-message .message-content{max-width:calc(100% - 50px);padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
.nexo-identity #messages .message-bot .message-content{background:var(--panel)!important}
.nexo-identity .message-reply{background:var(--surface-hover);border-color:var(--accent);border-radius:9px;margin-bottom:9px}
.nexo-identity .composer-area{border-top:0;padding:16px 24px 20px;background:var(--paper)}
.nexo-identity .composer{border-radius:20px;border:1px solid var(--line);background:var(--surface-input);min-height:60px;padding:10px 12px;gap:12px;align-items:center}
.nexo-identity .composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--surface-hover)}
.nexo-identity #message-input{font-size:14px;line-height:1.5;color:var(--ink)}
.nexo-identity #send-message{border-radius:13px;background:var(--accent)!important;color:var(--nav)!important;width:36px;height:36px}
.nexo-identity .composer-meta,.nexo-identity .composer-hint{font-size:10px;color:var(--muted)}
.nexo-identity .members-card{padding:14px 10px;background:transparent;border:0}
.nexo-identity .members-header{font-size:11px;letter-spacing:.1em;color:var(--muted);padding:12px 4px}
.nexo-identity .member-row{background:var(--panel);border:1px solid var(--line);border-radius:16px;min-height:62px;padding:13px;gap:10px;margin:7px 0}
.nexo-identity .member-name{gap:6px;align-items:center;flex-wrap:wrap}
.nexo-identity .voice-room{padding:32px;background:radial-gradient(ellipse at top right,var(--surface-card),transparent 70%)}
.nexo-identity .voice-room .welcome-mark{border-radius:24px;background:var(--surface-card);color:var(--accent);width:70px;height:70px}
.nexo-identity .voice-room h1{font-size:34px;letter-spacing:-1px}
.nexo-identity .voice-room .eyebrow{margin-top:18px;color:var(--muted)}
.nexo-identity .voice-person{min-width:125px;border:1px solid var(--line);background:var(--panel);border-radius:24px;padding:24px;box-shadow:none}
.nexo-identity #sidebar>#voice-dock{background:var(--panel);border-color:var(--line)}
.nexo-identity .screen-sharing-panel{background:var(--panel);border-color:var(--line);border-radius:22px}
.nexo-identity .screen-sharing-card{border-color:var(--line)}
/* Discovery and commerce become an editorial card gallery. */
.nexo-identity .nexo-discover-home{padding:32px;overflow-y:auto}
.nexo-identity .discovery-heading{padding:0 0 24px;border:0;background:transparent}
.nexo-identity .discovery-heading h1{font-size:38px;letter-spacing:-1.4px;font-weight:750;line-height:1.15;margin:12px 0}
.nexo-identity .discovery-heading p{font-size:14px;color:var(--muted)}
.nexo-identity .discovery-tabs{display:flex!important;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.nexo-identity .discovery-tabs button{border-radius:12px;background:var(--panel);border:1px solid var(--line);padding:10px 14px}
.nexo-identity .discovery-tabs .selected{color:var(--accent);border-color:var(--accent)}
.nexo-identity .discovery-search{padding:0;margin-bottom:22px;gap:10px}
.nexo-identity .discovery-search input{border-radius:14px;padding:13px 16px;background:var(--surface-input);border:1px solid var(--line);font-size:14px}
.nexo-identity .discovery-grid{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:18px}
.nexo-identity .discovery-card{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:none;min-width:0}
.nexo-identity .discovery-card h2{font-size:20px;letter-spacing:-.5px;line-height:1.35;display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}
.nexo-identity .discovery-card-top{gap:14px;margin-bottom:22px}
.nexo-identity .rank-number{font-size:11px;background:var(--surface-card);border-radius:8px;padding:5px 8px;color:var(--accent)}
.nexo-identity .discovery-server-logo{border-radius:15px;background:var(--surface-card)}
.nexo-identity .discovery-description{font-size:13px;line-height:1.7;color:var(--muted)}
.nexo-identity .discovery-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.nexo-identity .discovery-card-actions button{border-radius:11px;background:var(--surface-card);border:1px solid var(--line);color:var(--ink)}
.nexo-identity .discovery-empty{border:1px dashed var(--line);padding:35px;border-radius:22px;text-align:center;color:var(--muted);line-height:1.7}
.nexo-identity .dm-home{padding:32px}
.nexo-identity .dm-home-hero{padding:30px;border-radius:25px;border:1px solid var(--line);background:linear-gradient(130deg,var(--surface-card),var(--panel));text-align:left}
.nexo-identity .dm-home-hero h1{font-size:36px;letter-spacing:-1px;line-height:1.15;white-space:pre-line}
.nexo-identity .dm-home-mark{display:none}
.nexo-identity .dm-home-grid{gap:14px}
.nexo-identity .dm-home-conversation{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:18px;text-align:left}
.nexo-identity .shop-product,.nexo-identity .product-card,.nexo-identity .workspace-card{border-radius:22px;border-color:var(--line);background:var(--panel);padding:20px;box-shadow:none}
/* Shared profile, settings and management language. */
.nexo-identity dialog{background:var(--panel);border:1px solid var(--line);border-radius:26px;color:var(--ink);box-shadow:0 35px 100px #0007;padding:28px}
.nexo-identity dialog::backdrop{background:#08181899;backdrop-filter:blur(5px)}
.nexo-identity dialog h2{font-size:26px;letter-spacing:-.8px}
.nexo-identity dialog h3{font-size:16px;line-height:1.5}
.nexo-identity dialog .eyebrow{color:var(--accent);font-size:9px;letter-spacing:.15em}
.nexo-identity dialog .dialog-description{color:var(--muted);font-size:13px;line-height:1.7}
.nexo-identity dialog input,.nexo-identity dialog select,.nexo-identity dialog textarea{background:var(--surface-input);border:1px solid var(--line);border-radius:12px;color:var(--ink);padding:11px 13px}
.nexo-identity label{color:var(--muted);font-size:12px;gap:8px}
.nexo-identity .primary{background:var(--accent);color:var(--nav);border-color:var(--accent);border-radius:12px;font-weight:700}
.nexo-identity .secondary{background:var(--surface-card);border-color:var(--line);color:var(--ink);border-radius:12px}
.nexo-identity #account-dialog.organized-settings,.nexo-identity .organized-server-settings{border-radius:26px;padding:30px;background:var(--panel)}
.nexo-identity .account-sidebar,.nexo-identity .settings-nav{border-color:var(--line);gap:5px}
.nexo-identity #account-dialog .settings-nav-item,.nexo-identity .settings-nav button{padding:11px 13px;border-radius:12px;min-height:42px;line-height:1.4;color:var(--muted);background:transparent}
.nexo-identity #account-dialog .settings-nav-item.selected,.nexo-identity .settings-nav .selected{background:var(--surface-card);color:var(--accent)}
.nexo-identity .settings-page-title{font-size:26px;letter-spacing:-.8px}
.nexo-identity .settings-page section,.nexo-identity .settings-body>section{border-radius:18px;border-color:var(--line);padding:20px;background:var(--surface-card)}
.nexo-identity .profile-dialog{border-radius:26px;overflow:hidden;padding:0!important}
.nexo-identity .profile-card-details{background:var(--surface-card);border-radius:18px;border:1px solid var(--line)}
.nexo-identity .profile-card-content #card-name{font-size:28px;letter-spacing:-.8px;line-height:1.3}
.nexo-identity .full-profile-details{background:var(--panel);padding:30px}
.nexo-identity .profile-wide .full-profile-identity{background:var(--sidebar)}
.nexo-identity .management-tools{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.nexo-identity .management-tools>button{border-radius:16px;padding:18px;min-height:68px;display:flex;gap:12px;align-items:center;text-align:left;background:var(--surface-card);border:1px solid var(--line);color:var(--ink)}
.nexo-identity .home-popover{left:20px;top:82px;bottom:auto;border-radius:22px;background:var(--panel);border-color:var(--line)}
/* The public welcome page uses the same identity. */
.nexo-identity .auth-screen{background:var(--nav);grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:28px;padding:28px;min-height:100dvh;box-sizing:border-box}
.nexo-identity .auth-story{background:var(--sidebar);border:1px solid var(--line);border-radius:30px;padding:35px;min-width:0}
.nexo-identity .auth-panel{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:35px;min-width:0}
.nexo-identity .auth-story .brand{color:var(--ink)}
.nexo-identity .story-content h1{font-size:clamp(38px,5vw,64px);letter-spacing:-2.5px;line-height:1.06;color:var(--ink)}
.nexo-identity .story-content h1 em{color:var(--accent);font-style:normal}
.nexo-identity .story-content>p{color:var(--muted);line-height:1.8;max-width:400px;font-size:14px}
.nexo-identity .story-art{height:auto;max-width:420px;padding:18px;border-radius:22px;background:var(--surface-input);border:1px solid var(--line);margin:26px 0}
.nexo-auth-art-heading{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:.08em;padding:0 2px 14px}
.nexo-live-dot{color:var(--accent)}
.nexo-auth-art-card{display:flex;align-items:center;gap:14px;margin:9px 0;padding:14px;border:1px solid var(--line);background:var(--panel);border-radius:14px}
.nexo-auth-art-card svg{width:24px;height:24px;flex:none;fill:none;stroke:var(--accent);stroke-width:1.5}
.nexo-auth-art-card b,.nexo-auth-art-card small{display:block}.nexo-auth-art-card b{color:var(--ink);font-size:12px}.nexo-auth-art-card small{margin-top:5px;color:var(--muted);font-size:10px}
.nexo-identity .auth-card{max-width:390px}.nexo-identity .auth-card h2{font-size:34px;letter-spacing:-1px;color:var(--ink)}
.nexo-identity .auth-card input{background:var(--surface-input);border:1px solid var(--line);color:var(--ink);border-radius:13px;padding:13px 15px;font-size:14px}
.nexo-identity .auth-discovery-nav{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.nexo-identity .auth-discovery-nav button{background:var(--panel);border:1px solid var(--line);border-radius:10px;color:var(--muted)}
.nexo-identity .auth-story footer{border-color:var(--line);color:var(--muted);font-size:9px}
.nexo-identity .auth-server-rankings{background:transparent;border-color:var(--line)}
.nexo-identity button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1350px){.nexo-identity .workspace,.nexo-identity .workspace.discovering{grid-template-columns:228px minmax(0,1fr);grid-template-areas:'navigation navigation' 'sidebar canvas'}.nexo-identity .members-panel{display:none}.nexo-identity .chat-header #channel-description{display:none}}
@media(max-width:1000px){.nexo-identity .nexo-nav-label{display:none}.nexo-identity .nexo-primary-navigation .nexo-nav-button{padding:8px 10px!important}.nexo-identity .server-rail{gap:8px}.nexo-identity .nexo-wordmark{font-size:23px}.nexo-identity .nexo-utility-navigation #add-server{width:34px!important}.nexo-identity .auth-screen{padding:16px;gap:16px}.nexo-identity .auth-story,.nexo-identity .auth-panel{padding:25px}}
@media(max-width:760px){.nexo-identity .workspace,.nexo-identity .workspace.discovering{width:100%;height:100dvh;margin:0;padding:8px;gap:8px;grid-template-columns:minmax(0,1fr);grid-template-rows:98px minmax(0,1fr);grid-template-areas:'navigation' 'canvas';border-radius:0;box-sizing:border-box}.nexo-identity .server-rail{padding:8px 10px;gap:6px;border-radius:17px}.nexo-identity #nexo-home{padding:0}.nexo-identity #nexo-home img{width:30px;height:30px}.nexo-identity .nexo-wordmark{display:none}.nexo-identity .nexo-spaces-label{display:none}.nexo-identity .nexo-spaces-strip{height:32px;gap:0}.nexo-identity .nexo-primary-navigation{gap:1px}.nexo-identity .nexo-primary-navigation .nexo-nav-button{padding:7px!important}.nexo-identity .nexo-utility-navigation{gap:2px}.nexo-identity .nexo-utility-navigation>.icon-button{width:30px;height:30px;padding:6px}.nexo-identity .nexo-utility-navigation .desk-tool{display:none}.nexo-identity .sidebar{display:none}.nexo-identity .workspace.mobile-sidebar .sidebar{display:flex;position:absolute;left:8px;top:114px;bottom:8px;width:min(275px,calc(100vw - 32px));z-index:50;border-radius:20px;box-shadow:20px 0 60px #0006}.nexo-identity .chat{border-radius:20px}.nexo-identity .chat-header{min-height:62px;height:62px;padding:0 12px;gap:9px}.nexo-identity #channel-title{font-size:16px}.nexo-identity #message-scroll{padding:18px 14px}.nexo-identity #messages .message-content{max-width:calc(100% - 48px);padding:11px 13px!important}.nexo-identity .composer-area{padding:10px 12px 16px}.nexo-identity .nexo-discover-home,.nexo-identity .dm-home{padding:22px 16px}.nexo-identity .discovery-heading h1,.nexo-identity .dm-home-hero h1{font-size:30px}.nexo-identity .dm-home-hero{padding:22px}.nexo-identity .voice-room{padding:24px}.nexo-identity .auth-screen{display:flex;flex-direction:column;padding:10px;gap:12px}.nexo-identity .auth-story{padding:22px;border-radius:22px}.nexo-identity .auth-panel{padding:28px 22px;border-radius:22px}.nexo-identity .story-content{display:block!important}.nexo-identity .story-content h1{font-size:38px}.nexo-identity .story-art{display:none}.nexo-identity .management-tools{grid-template-columns:1fr}.nexo-identity .home-popover{top:64px;left:12px}}
@media(prefers-reduced-motion:reduce){.nexo-identity *{scroll-behavior:auto;transition:none!important}}

.nexo-identity #messages .message-content{flex:0 1 auto}
.nexo-identity .auth-screen{overflow-y:auto}
.nexo-identity .auth-card .auth-toggle{display:block;width:100%;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;text-align:left;padding:7px 0;line-height:1.6;min-height:30px;cursor:pointer}
.nexo-identity .auth-card .auth-toggle:hover{color:var(--accent)}
.nexo-identity .story-art{display:block}
@media(max-width:760px){.nexo-identity .story-art{display:none}}

.nexo-identity .server-rail{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:38px 32px;gap:10px 14px}
.nexo-identity .nexo-spaces-strip{grid-column:1/-1;grid-row:2}
.nexo-identity .nexo-primary-navigation{justify-self:start}
.nexo-identity .nexo-utility-navigation{justify-self:end;margin-left:0}
@media(max-width:760px){.nexo-identity .server-rail{grid-template-rows:34px 30px;gap:8px 6px}.nexo-identity #nexo-home{width:32px!important;min-width:32px!important}.nexo-identity .nexo-primary-navigation .nexo-nav-button{width:30px!important;min-width:30px!important;height:32px!important;padding:6px!important}.nexo-identity .nexo-utility-navigation>button{width:30px!important;min-width:30px!important;height:30px!important;padding:6px!important}.nexo-identity .nexo-utility-navigation>button[aria-label^="Quick switcher"]{display:none!important}.nexo-identity .auth-panel{order:0}.nexo-identity .auth-story{order:1}}

@media(min-width:761px){.nexo-identity .workspace.discovering,.nexo-identity .workspace.nexo-inbox{grid-template-columns:240px minmax(0,1fr);grid-template-areas:'navigation navigation' 'sidebar canvas'}.nexo-identity .workspace.discovering .members-panel,.nexo-identity .workspace.nexo-inbox .members-panel{display:none}}
@media(min-width:1351px){.nexo-identity .workspace.hide-members{grid-template-columns:240px minmax(0,1fr);grid-template-areas:'navigation navigation' 'sidebar canvas'}.nexo-identity .workspace.hide-members .members-panel{display:none}}
@media(max-width:1350px){.nexo-identity .workspace.show-members .members-panel{display:block;position:absolute;right:16px;top:140px;bottom:16px;width:250px;z-index:60;background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow-y:auto;box-shadow:-15px 0 55px #0005}.nexo-identity .workspace.discovering .members-panel,.nexo-identity .workspace.nexo-inbox .members-panel{display:none}}
@media(max-width:760px){.nexo-identity .workspace.show-members .members-panel{right:8px;top:114px;bottom:8px;width:min(250px,calc(100vw - 28px))}}

/* Member visibility is explicit; the overlay never covers its toggle. */
.nexo-identity .workspace.members-list-closed .members-panel{display:none!important}
.nexo-identity .member-heading{display:flex;align-items:center;gap:9px;min-width:0}
.nexo-identity .nexo-members-close{margin-left:auto;width:26px;min-width:26px;height:26px;padding:0;border-radius:8px;background:var(--surface-card);color:var(--muted);font-size:20px;line-height:1;flex:none}
.nexo-identity .nexo-members-close:hover{color:var(--ink)}
.nexo-identity #members-toggle[aria-expanded=true]{background:var(--surface-card);color:var(--accent)}
@media(min-width:1351px){.nexo-identity .workspace.members-list-closed{grid-template-columns:240px minmax(0,1fr);grid-template-areas:'navigation navigation' 'sidebar canvas'}}
@media(min-width:761px) and (max-width:1350px){.nexo-identity .workspace.show-members .members-panel{top:200px;max-height:calc(100% - 216px)}}
@media(max-width:760px){.nexo-identity .workspace.show-members .members-panel{top:176px;max-height:calc(100% - 184px)}}

/* Stable member sidebar: dock on desktop and scroll only the people list. */
.nexo-identity .workspace .members-panel{display:flex;flex-direction:column;min-height:0;padding:0!important;border:1px solid var(--line);border-radius:22px;background:var(--panel);overflow:hidden}
.nexo-identity .members-panel .member-heading{flex:none;height:76px;min-height:76px!important;padding:0 16px!important;gap:8px;border-bottom:1px solid var(--line);font-size:11px}
.nexo-identity #member-panel-title{min-width:0;flex:1;font-size:11px;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nexo-identity #member-count{flex:none;font-size:10px;font-variant-numeric:tabular-nums}
.nexo-identity .members-panel #member-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 10px!important;overscroll-behavior:contain}
.nexo-identity .members-panel .member-row{display:flex;width:100%;margin:4px 0;padding:10px;min-height:56px;border-radius:12px;border:1px solid transparent;background:var(--surface-card);text-align:left;gap:10px;box-sizing:border-box}
.nexo-identity .members-panel .member-row:hover{border-color:var(--line)}
.nexo-identity .members-panel .member-row>.avatar{width:32px;height:32px;flex:0 0 32px}
.nexo-identity .members-panel .member-row>div{min-width:0;flex:1}
.nexo-identity .members-panel .member-name{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;min-width:0}
.nexo-identity .members-panel .member-name>b{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.nexo-identity .members-panel .member-name>.verified-mark,.nexo-identity .members-panel .member-name>.nexo-verified,.nexo-identity .members-panel .member-name>.bot-chip,.nexo-identity .members-panel .member-name>.worn-server-tag{flex:none;margin:0!important}
.nexo-identity .members-panel .member-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:var(--muted)}
.nexo-identity .members-panel .member-role-heading,.nexo-identity .members-panel .member-group-title{margin:16px 4px 8px;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.nexo-identity .members-panel .members-card,.nexo-identity .members-panel .members-footer{display:none!important}
@media(min-width:1000px){
 .nexo-identity .workspace:not(.members-list-closed):not(.discovering):not(.nexo-inbox){grid-template-columns:240px minmax(0,1fr) 230px;grid-template-areas:'navigation navigation navigation' 'sidebar canvas people'}
 .nexo-identity .workspace .members-panel{position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;z-index:auto;box-shadow:none!important}
 .nexo-identity .workspace.members-list-closed{grid-template-columns:240px minmax(0,1fr);grid-template-areas:'navigation navigation' 'sidebar canvas'}
}
@media(max-width:999px){.nexo-identity .workspace.show-members .members-panel{display:flex;position:absolute;right:16px;top:200px;bottom:16px;width:250px;max-height:calc(100% - 216px);z-index:60;box-shadow:-12px 0 40px #0005}}
@media(max-width:760px){.nexo-identity .workspace.show-members .members-panel{top:176px;right:8px;bottom:8px;width:min(250px,calc(100vw - 28px));max-height:calc(100% - 184px)}.nexo-identity .members-panel .member-heading{height:60px;min-height:60px!important}}
/* Focused welcome page: public navigation above a compact sign-in card. */
.nexo-identity .auth-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);grid-template-rows:auto auto auto;align-content:start;align-items:start;gap:32px 60px;padding:28px max(28px,calc((100vw - 1180px)/2));height:100dvh;overflow-y:auto;background:radial-gradient(ellipse at 10% 25%,#24324788,transparent 50%),var(--nav)}
.nexo-welcome-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 22px;border-bottom:1px solid var(--line)}
.nexo-identity .nexo-welcome-header .brand{display:flex;align-items:center;gap:11px;font-size:32px;color:var(--ink)}
.nexo-identity .nexo-welcome-header .brand img{width:42px;height:42px;object-fit:contain}
.nexo-identity .nexo-welcome-header .auth-discovery-nav{margin:0;gap:8px}
.nexo-identity .auth-story{border:0;background:transparent;box-shadow:none;padding:45px 0 0;overflow:visible;min-height:0;border-radius:0}
.nexo-identity .story-content{display:block!important;padding:0;margin:0;max-width:none}
.nexo-identity .story-content h1{font-size:clamp(44px,5.5vw,72px);line-height:1.02;letter-spacing:-2.8px;margin:22px 0}
.nexo-identity .story-content>p{font-size:15px;line-height:1.8;max-width:420px}
.nexo-identity .story-art{margin-top:30px;max-width:400px;background:transparent;border:0;padding:0}
.nexo-identity .nexo-auth-art-heading{padding:0 0 8px}
.nexo-identity .nexo-auth-art-card{background:var(--panel);padding:16px;border-radius:16px}
.nexo-identity .auth-panel{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:24px;padding:25px 30px 28px;margin:18px 0 0;background:var(--panel);height:auto;min-height:0;justify-content:flex-start}
.nexo-identity .auth-card{width:100%;max-width:none;padding:0;margin:0}
.nexo-identity .auth-card>.pill{display:none}
.nexo-identity .auth-card h2{font-size:30px;letter-spacing:-.8px;margin:16px 0 6px}
.nexo-identity .auth-card #auth-subtitle{font-size:13px;color:var(--muted);margin:0 0 22px}
.nexo-signin-note{margin:0;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:15px;line-height:1.7}
.nexo-identity .auth-card label{font-size:12px;gap:8px;margin-bottom:14px}
.nexo-identity .auth-card input{min-height:44px;padding:12px 14px;background:var(--surface-input);border-radius:11px}
.nexo-identity .auth-card input[type=checkbox]{min-height:0;width:15px;height:15px;padding:0;accent-color:var(--accent)}
.nexo-identity .auth-card .checkbox-label{align-items:center;gap:9px;font-size:10px;line-height:1.6}
.nexo-identity #auth-submit{min-height:45px;padding:12px 16px;border-radius:12px;margin-top:12px}
.nexo-identity .auth-card .auth-switch{padding-top:16px;margin:14px 0;border-top:1px solid var(--line);font-size:12px;text-align:left}
.nexo-identity .auth-card .application-links{margin:14px 0;padding:0;text-align:left}
.nexo-identity .auth-card .application-links button{padding:9px 12px;border:1px solid var(--line);border-radius:10px;font-size:11px;background:var(--surface-input)}
.nexo-identity .auth-card .policy-links{justify-content:flex-start;font-size:9px;gap:6px 12px;line-height:1.7;margin:18px 0 0}
.nexo-identity .auth-card .auth-note{text-align:left;padding-top:12px;margin-top:14px;font-size:10px;border-color:var(--line)}
.nexo-welcome-community{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:28px;border-top:1px solid var(--line);min-width:0}
.nexo-identity .nexo-welcome-community>section{margin:0;padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:22px;min-width:0}
.nexo-identity .nexo-welcome-community h2{font-size:16px;margin:0 0 14px;letter-spacing:-.3px}
@media(max-width:850px){.nexo-identity .auth-screen{grid-template-columns:1fr;gap:24px;padding:20px}.nexo-welcome-header{flex-wrap:wrap;gap:16px}.nexo-identity .nexo-welcome-header .auth-discovery-nav{width:100%}.nexo-identity .auth-panel{order:0;max-width:460px;width:100%;justify-self:center;margin:0;padding:24px}.nexo-identity .auth-story{order:1;padding:18px 4px;max-width:460px;justify-self:center}.nexo-identity .story-content h1{font-size:46px;letter-spacing:-1.8px}.nexo-identity .story-art{display:none}.nexo-welcome-community{order:2;grid-template-columns:1fr;gap:16px;padding-top:20px}.nexo-welcome-header .auth-discovery-nav button{font-size:10px;padding:8px 10px}}
.nexo-identity .auth-screen{grid-template-rows:max-content max-content max-content}
.nexo-identity .story-art{position:static;transform:none!important;box-shadow:none;height:auto!important}
.nexo-identity .application-links a{display:inline-flex;padding:9px 12px;border:1px solid var(--line);border-radius:10px;font-size:11px;background:var(--surface-input);color:var(--ink);text-decoration:none}
.nexo-identity .settings-page>a.nexo-application-link{display:flex;align-items:center;gap:9px;margin:0 0 15px;min-height:42px;padding:11px 15px;border:1px solid var(--line);border-radius:12px;font-size:13px;text-decoration:none}
.nexo-application-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.nexo-identity .auth-screen{grid-auto-rows:max-content}

/* One visible credential pair for phone password managers; keep the reveal control easy to tap. */
.nexo-identity .auth-password-field{position:relative;display:flex;align-items:center;margin-bottom:10px;min-width:0}
.nexo-identity .auth-card .auth-password-field input{width:100%;min-width:0;margin:0;padding-right:66px;font-size:16px;box-sizing:border-box}
.nexo-identity .auth-password-field button{position:absolute;right:5px;top:50%;transform:translateY(-50%);min-width:52px;min-height:44px;padding:6px;border:0;border-radius:8px;background:transparent;color:var(--accent);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.nexo-identity .auth-password-field button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.nexo-identity .auth-card .signin-help{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.5}
.nexo-identity .auth-card #email{font-size:16px}
