/* NEXO V3 only. No rule applies without the product-scoped bootstrap marker. */
html#nexo-v3 {
 --n3-primary:#7038f5;--n3-deep:#4f22cc;--n3-soft:#f0ebff;--n3-bg:#f8f7fd;--n3-surface:#fff;
 --n3-ink:#191529;--n3-muted:#686174;--n3-border:#e9e4f3;--n3-success:#16764f;--n3-error:#ad2546;
 --n3-gradient:linear-gradient(135deg,#9256ff,#6431f4);--n3-radius:20px;--n3-gap:12px;
 --n3-body:calc(15px * var(--lg-text-scale,1));--n3-caption:calc(12px * var(--lg-text-scale,1));
 --n3-section:calc(18px * var(--lg-text-scale,1));--n3-title:calc(25px * var(--lg-text-scale,1));
 --n3-fast:140ms;--n3-motion:220ms;--n3-shadow:0 5px 24px #2b155208;
 color-scheme:light; background:var(--n3-bg);scroll-padding-bottom:var(--eco-nav-reserve,90px);
}
html#nexo-v3 body:is(.nexo-member,.service-project-page,.ai-page) {
 --textPrimary:var(--n3-ink);--textSecondary:var(--n3-muted);--primary:var(--n3-primary);--surface:var(--n3-surface);--background:var(--n3-bg);--border:var(--n3-border);
 --v2-purple:var(--n3-primary);--v2-deep:var(--n3-deep);--v2-ink:var(--n3-ink);--v2-muted:var(--n3-muted);--v2-bg:var(--n3-bg);--v2-line:var(--n3-border);
 --ps-primary:var(--n3-primary);--ps-text:var(--n3-ink);--ps-muted:var(--n3-muted);--ps-surface:#fff;--ps-bg:var(--n3-bg);--ps-border:var(--n3-border);--ps-soft:var(--n3-soft);
 --ai-primary:var(--n3-primary);--ai-background:var(--n3-bg);--ai-surface:#fff;--ai-text:var(--n3-ink);--ai-muted:var(--n3-muted);--ai-border:var(--n3-border);--ai-tint:var(--n3-soft);
 --eco-info:var(--n3-deep);--lg-ink:var(--n3-ink);--lg-muted:var(--n3-muted);--nx-text:var(--n3-ink);--nx-muted:var(--n3-muted);
 margin:0;min-height:100dvh;background:var(--n3-bg)!important;color:var(--n3-ink)!important;
 font-family:ui-sans-serif,system-ui,-apple-system,"Noto Sans Thai",Tahoma,sans-serif;font-size:var(--n3-body);line-height:1.6;
}
html#nexo-v3 body [hidden]{display:none!important}
html#nexo-v3 :is(input,textarea,select){font:inherit;font-size:var(--n3-body)!important;line-height:1.5;color:var(--n3-ink);max-width:100%;box-sizing:border-box;height:auto;min-height:max(44px,calc(28px * var(--lg-text-scale,1)))}
html#nexo-v3 :is(button,a,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background var(--n3-fast),box-shadow var(--n3-fast),opacity var(--n3-fast)}
html#nexo-v3 :is(button,a,summary):focus-visible{outline:3px solid #9b78ef;outline-offset:3px}
html#nexo-v3 :is(button,.primary,.project-button,.nexo-icon-button){min-height:44px}
html#nexo-v3 :is(button:disabled,[aria-disabled=true]){opacity:.55;cursor:default}
html#nexo-v3 main{animation:v3-page-in var(--n3-motion) ease-out}
html#nexo-v3 button:not(:disabled):active{opacity:.85}
@keyframes v3-page-in{from{opacity:.4}to{opacity:1}}
@media(hover:hover)and(pointer:fine){html#nexo-v3 :is(.v3-room-card,.v3-latest-card,.v3-services>a):hover{box-shadow:0 8px 24px #7038f51a}}
html#nexo-v3 :is(.card,.person,.profile-showcase,.profile-section,.profile-shortcut,.settings-group,.v2-center-item,.notification-item,.notification-empty){background:#fff!important;color:var(--n3-ink)!important;border:1px solid var(--n3-border)!important;border-radius:var(--n3-radius)!important;box-shadow:var(--n3-shadow)}
html#nexo-v3 :is(.primary,button.primary,.project-button.primary){background:var(--n3-gradient)!important;color:#fff!important;border:0!important;border-radius:14px!important}
html#nexo-v3 :is(.card,.person,.profile-section,.settings-group) :is(h1,h2,h3,strong){color:var(--n3-ink)!important}
html#nexo-v3 :is(.muted,.person>p,.profile-section p,.settings-group small,.v2-center-item small,.notification-copy time){color:var(--n3-muted)!important}
html#nexo-v3 body.nexo-member .member-header{background:#fff!important;color:var(--n3-ink)!important;border-bottom:1px solid var(--n3-border);box-shadow:none!important;min-height:56px!important;padding:8px 16px!important}
html#nexo-v3 body.nexo-member .member-header :is(.brand span,.app-header-actions a){color:var(--n3-ink)!important}
html#nexo-v3 body.nexo-member .member-header .brand{font-size:var(--n3-section)}
html#nexo-v3 body.nexo-member .chat-directory{--textPrimary:#fff;--textSecondary:#d0c9e2;--surface:#17112e;--background:#0d0a24;--lg-ink:#fff;--lg-muted:#d0c9e2;--nx-text:#fff;--nx-muted:#d0c9e2;background:radial-gradient(ellipse at 95% 0,#32105c66,transparent 52%),linear-gradient(155deg,#14102f,#08071b)!important;color:white!important;border:0!important}
html#nexo-v3 .directory-heading{align-items:center!important;margin:0 0 18px!important;gap:12px}
html#nexo-v3 .directory-heading h1{font-size:calc(29px * var(--lg-text-scale,1))!important;letter-spacing:-1px;margin:0!important;color:white!important}
html#nexo-v3 .v2-project-label{color:#d0c9e2!important;font-size:var(--n3-caption)!important;max-width:100%;display:block;overflow-wrap:anywhere}
html#nexo-v3 .v2-header-tools{gap:4px!important;display:flex!important;align-items:center}
html#nexo-v3 .v2-header-tools a{color:#e7dfff!important;min-width:44px;min-height:44px}
html#nexo-v3 .v2-profile-photo{width:36px;height:36px;object-fit:cover;border-radius:50%}
html#nexo-v3 .chat-directory .directory-search{border:1px solid #ffffff24!important;background:#ffffff0d!important;border-radius:16px!important;box-shadow:none!important;padding:8px 12px!important;min-height:48px}
html#nexo-v3 .chat-directory .directory-search input{font-size:var(--n3-body)!important;color:white!important}
html#nexo-v3 .v2-chips{gap:8px!important;padding:12px 0!important;margin:0!important;scrollbar-width:none}
html#nexo-v3 .v2-chips button{font-size:var(--n3-caption)!important;border:1px solid #ffffff0e!important;border-radius:13px!important;background:#ffffff08!important;padding:8px 13px!important;min-height:44px!important;color:#eee9fc!important}
html#nexo-v3 .v2-chips button[aria-pressed=true]{background:var(--n3-gradient)!important}
html#nexo-v3 .v3-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 20px}
html#nexo-v3 .v3-quick-actions a{display:flex;flex-direction:column;align-items:center;gap:6px;color:white!important;text-decoration:none;min-width:0;text-align:center}
html#nexo-v3 .v3-quick-actions a>span{display:grid;place-items:center;background:#ffffff09;border:1px solid #ffffff0d;border-radius:18px;width:52px;height:52px;color:#b399ff}
html#nexo-v3 .v3-quick-actions svg{width:24px;height:24px;fill:none;stroke:currentColor}
html#nexo-v3 .v3-quick-actions b{font-size:var(--n3-caption);font-weight:500;overflow-wrap:anywhere}
html#nexo-v3 .v3-home-label,html#nexo-v3 .v3-latest h2{color:white!important;font-size:var(--n3-section)!important;margin:14px 0 10px;font-weight:650}
html#nexo-v3 .v3-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 18px}
html#nexo-v3 .v3-services>a{background:#ffffff0a;border:1px solid #ffffff10;border-radius:16px;display:flex;gap:9px;align-items:center;min-width:0;padding:12px 9px;color:white;text-decoration:none}
html#nexo-v3 .v3-service-icon{flex:0 0 36px;width:36px;height:36px;background:var(--n3-gradient);border-radius:13px;display:grid;place-items:center;font-weight:650;font-size:16px;color:white}
html#nexo-v3 .v3-services svg{width:20px;height:20px;fill:none;stroke:currentColor}
html#nexo-v3 .v3-services b{font-size:var(--n3-caption);display:block;line-height:1.5;overflow-wrap:anywhere}
html#nexo-v3 .v3-services small{font-size:var(--n3-caption);color:#d0c9e2;display:block;overflow-wrap:anywhere}
html#nexo-v3 .v3-latest>header{display:flex;justify-content:space-between;align-items:center;gap:8px}
html#nexo-v3 .v3-latest header a{color:#c8b1ff;font-size:var(--n3-caption);min-height:44px;display:flex;align-items:center}
html#nexo-v3 [data-v3-latest]{display:grid;gap:8px}
html#nexo-v3 .v3-latest-card{background:#fff;border-radius:16px;color:var(--n3-ink);display:flex;align-items:center;gap:10px;padding:12px;text-decoration:none;border:1px solid var(--n3-border)}
html#nexo-v3 .v3-latest-card>span{min-width:0;flex:1}
html#nexo-v3 .v3-latest-card b{font-size:var(--n3-body);display:block}
html#nexo-v3 .v3-latest-card small{color:var(--n3-muted);font-size:var(--n3-caption);display:block;overflow-wrap:anywhere}
html#nexo-v3 .v3-latest-card time{font-size:var(--n3-caption);white-space:nowrap;color:var(--n3-muted)}
html#nexo-v3 .v3-latest p{color:#d0c9e2;font-size:var(--n3-caption)}
html#nexo-v3 .chat-directory>.contact-row,html#nexo-v3 .chat-directory>.conversation-shortcuts{display:none!important}
html#nexo-v3 .chat-directory .conversation-row{border:0!important;border-bottom:1px solid #ffffff0c!important;border-radius:0!important;background:transparent!important;padding:4px 0!important}
html#nexo-v3 .chat-directory .contact-row{gap:10px;padding:10px 4px!important;min-height:72px}
html#nexo-v3 .chat-directory .contact-copy b{color:white!important;font-size:var(--n3-body)!important}
html#nexo-v3 .chat-directory .contact-copy small{color:#c7bed9!important;font-size:var(--n3-caption)!important}
html#nexo-v3 .chat-directory .nexo-avatar{width:44px;height:44px;flex:0 0 44px}
html#nexo-v3 .unread-count{background:var(--n3-primary)!important;color:white!important;font-size:var(--n3-caption)!important}
html#nexo-v3 body #nexo-app-tabs{border:1px solid var(--n3-border)!important;background:#ffffffef!important;box-shadow:0 -4px 28px #40217610!important;border-radius:24px!important;gap:4px;padding:8px 6px max(8px,env(safe-area-inset-bottom))!important;backdrop-filter:blur(18px)}
html#nexo-v3 body #nexo-app-tabs a{color:#74698c!important;font-size:var(--n3-caption)!important;border-radius:17px!important;min-height:48px}
html#nexo-v3 body #nexo-app-tabs a[aria-current=page]{background:var(--n3-soft)!important;color:var(--n3-primary)!important}
html#nexo-v3 body #nexo-app-tabs .nexo-tab-badge{color:white!important;background:var(--n3-primary)!important}
html#nexo-v3 body:has(.v3-services) #nexo-app-tabs{background:#19102fee!important;border-color:#ffffff12!important}
html#nexo-v3 body:has(.v3-services) #nexo-app-tabs a{color:#c3b9df!important}
html#nexo-v3 body:has(.v3-services) #nexo-app-tabs a[aria-current=page]{background:var(--n3-gradient)!important;color:white!important}
/* Private chat: keep existing composer, call and message-action controllers. */
html#nexo-v3 .conversation-pane{background:var(--n3-bg)!important;border:0!important}
html#nexo-v3 .conversation-heading{background:white!important;color:var(--n3-ink)!important;border-bottom:1px solid var(--n3-border)!important;min-height:64px!important;padding:10px 14px!important;gap:10px}
html#nexo-v3 .conversation-heading b{font-size:var(--n3-section)!important;color:var(--n3-ink)!important}
html#nexo-v3 .conversation-heading small{font-size:var(--n3-caption)!important;color:var(--n3-muted)!important}
html#nexo-v3 .conversation-heading button{width:44px;min-height:44px;border:0;background:transparent;color:var(--n3-ink)}
html#nexo-v3 .conversation-pane #messages{padding:18px 14px!important;background:var(--n3-bg)!important;scroll-padding-bottom:12px}
html#nexo-v3 .conversation-pane .bubble{background:#fff!important;color:var(--n3-ink)!important;border:1px solid var(--n3-border)!important;border-radius:18px 18px 18px 5px!important;box-shadow:0 2px 8px #33124504!important;font-size:var(--n3-body)!important;padding:10px 13px!important;line-height:1.6;max-width:min(82%,540px)}
html#nexo-v3 .conversation-pane .bubble.mine{background:var(--n3-gradient)!important;color:white!important;border:0!important;border-radius:18px 18px 5px 18px!important}
html#nexo-v3 .bubble :is(time,small,.message-delivery-state){font-size:var(--n3-caption)!important;color:var(--n3-muted)!important}
html#nexo-v3 .bubble.mine :is(time,small,.message-delivery-state){color:#f2eaff!important}
html#nexo-v3 .v3-date-separator{text-align:center;align-self:center;margin:12px auto;color:var(--n3-muted);font-size:var(--n3-caption);padding:4px 12px;background:#ede9f7;border-radius:20px}
html#nexo-v3 .message-composer{background:white!important;box-shadow:none!important;border-top:1px solid var(--n3-border)!important;gap:6px!important;padding:10px 12px max(10px,env(safe-area-inset-bottom))!important}
html#nexo-v3 .message-composer textarea{background:#f5f2fc!important;color:var(--n3-ink)!important;border:1px solid var(--n3-border)!important;font-size:var(--n3-body)!important;min-height:44px!important;border-radius:22px!important}
html#nexo-v3 .message-composer .send-message{background:var(--n3-gradient)!important;width:44px!important;height:44px!important;border-radius:18px!important;border:0!important}
html#nexo-v3 .v3-tabs{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:12px 0;scrollbar-width:none}
html#nexo-v3 .v3-tabs button{flex:0 0 auto;border:0;border-radius:13px;padding:8px 14px;background:var(--n3-soft);color:var(--n3-deep);font:inherit;font-size:var(--n3-caption);min-height:44px}
html#nexo-v3 .v3-tabs button[aria-pressed=true]{background:var(--n3-gradient);color:white}
html#nexo-v3 .heading h1{font-size:var(--n3-title)!important;color:var(--n3-ink)!important;margin:8px 0}
html#nexo-v3 .friend-search-form{background:white;border:1px solid var(--n3-border);border-radius:17px;display:flex;gap:4px;padding:4px 8px;box-shadow:none!important}
html#nexo-v3 .friend-search-form input{background:transparent!important;border:0!important;min-width:0;font-size:var(--n3-body)!important}
html#nexo-v3 .friend-search-form button{background:transparent!important;color:var(--n3-primary)!important;min-width:44px}
html#nexo-v3 .people-grid{gap:10px!important}
html#nexo-v3 .people-grid .person{padding:12px!important;grid-template-columns:48px minmax(0,1fr) 44px!important;gap:4px 10px!important}
html#nexo-v3 .people-grid .person h2{font-size:var(--n3-body)!important;margin:0!important}
html#nexo-v3 .people-grid .person>p{font-size:var(--n3-caption)!important}
html#nexo-v3 .friend-actions{padding-top:6px!important;gap:6px!important;grid-column:2/-1!important}
html#nexo-v3 .friend-actions :is(a,button){font-size:var(--n3-caption)!important;min-height:44px!important;border-radius:13px!important;padding:8px 12px!important}
html#nexo-v3 .friend-actions .v3-friend-call{background:var(--n3-soft);color:var(--n3-deep);text-decoration:none}
html#nexo-v3 .v3-friend-call svg{width:18px;height:18px;margin-right:4px;stroke:currentColor;fill:none}
html#nexo-v3 .v3-group-row{display:block;background:white;border:1px solid var(--n3-border);padding:14px;border-radius:16px;color:var(--n3-ink);margin:8px 0;text-decoration:none}
html#nexo-v3 .profile-layout{gap:12px!important}
html#nexo-v3 .v3-profile-card{padding:16px!important}
html#nexo-v3 .profile-showcase-top{margin:0 0 12px!important}
html#nexo-v3 .v3-profile-person{display:flex;gap:14px;align-items:center;padding:4px 0 18px}
html#nexo-v3 .v3-profile-person>.nexo-avatar,html#nexo-v3 .v3-profile-person>a .nexo-avatar{width:76px!important;height:76px!important;min-width:76px!important;flex:none!important;border:3px solid var(--n3-soft);outline:2px solid #9267ec}
html#nexo-v3 .v3-profile-person h1{font-size:var(--n3-title)!important;line-height:1.4;margin:0!important;overflow-wrap:anywhere}
html#nexo-v3 .v3-profile-person p{color:var(--n3-muted)!important;font-size:var(--n3-caption)!important;margin:4px 0;overflow-wrap:anywhere}
html#nexo-v3 .profile-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0!important;padding:8px 0!important}
html#nexo-v3 .profile-stats a{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;color:var(--n3-muted)!important;font-size:var(--n3-caption)!important;min-height:44px;text-decoration:none}
html#nexo-v3 .profile-stats b{color:var(--n3-ink)!important;font-size:var(--n3-section)!important}
html#nexo-v3 .v3-profile-menu{border:1px solid var(--n3-border);border-radius:20px;background:white;overflow:hidden}
html#nexo-v3 .v3-profile-menu>a{display:flex;align-items:center;gap:12px;padding:13px 16px;color:var(--n3-ink);border-bottom:1px solid var(--n3-border);text-decoration:none;font-size:var(--n3-body);min-height:48px;box-sizing:border-box}
html#nexo-v3 .v3-profile-menu>a:last-child{border:0}
html#nexo-v3 .v3-profile-menu svg{width:22px;height:22px;flex:0 0 22px;stroke:var(--n3-primary);fill:none}
html#nexo-v3 .v3-profile-menu a>span{flex:1}
html#nexo-v3 .v3-about h2{font-size:var(--n3-section)!important}
html#nexo-v3 .v3-profile-logout button{width:100%;border:1px solid #f2d6df;background:white;color:var(--n3-error);border-radius:16px;padding:12px;font:inherit;min-height:44px}
html#nexo-v3 .service-project-header{background:white!important;color:var(--n3-ink)!important;min-height:56px;padding:10px 14px!important;border-color:var(--n3-border)!important;gap:8px}
html#nexo-v3 .service-project-header a{color:var(--n3-primary)!important;min-height:44px;display:flex;align-items:center;font-size:var(--n3-caption)}
html#nexo-v3 .project-manager{gap:12px!important}
html#nexo-v3 .v3-project-hero{background:var(--n3-gradient);color:white!important;padding:22px 18px;border-radius:20px;display:flex;gap:14px;align-items:center}
html#nexo-v3 .v3-project-hero>span{font-size:36px}
html#nexo-v3 .v3-project-hero h1{font-size:var(--n3-title);line-height:1.4;margin:0;color:white!important}
html#nexo-v3 .v3-project-hero p{font-size:var(--n3-caption);margin:5px 0;color:#f3eaff}
html#nexo-v3 .living-account-actions{padding:16px!important}
html#nexo-v3 .living-account-actions>h2{font-size:var(--n3-section)!important}
html#nexo-v3 .living-account-actions .project-row{background:#fcfbff;border:1px solid var(--n3-border);padding:14px!important;margin:12px 0!important;border-radius:17px;min-height:0}
html#nexo-v3 .project-row h3{font-size:var(--n3-section)!important;margin:0 0 6px!important}
html#nexo-v3 .project-row p{font-size:var(--n3-caption)!important;color:var(--n3-muted)!important}
html#nexo-v3 .project-row :is(summary,a){min-height:44px;font-size:var(--n3-caption)!important;color:var(--n3-deep)}
html#nexo-v3 .room-invites-panel{border:1px dashed #cfbfff!important;background:#faf8ff!important}
html#nexo-v3 .notification-heading h1{font-size:var(--n3-title)!important}
html#nexo-v3 .notification-filters{display:flex;gap:8px;overflow:auto;padding:10px 0;margin-bottom:12px}
html#nexo-v3 .notification-filters a{background:var(--n3-soft);color:var(--n3-deep);padding:9px 14px;white-space:nowrap;border-radius:13px;font-size:var(--n3-caption);min-height:44px;box-sizing:border-box}
html#nexo-v3 .notification-filters a[aria-current=page]{background:var(--n3-gradient);color:white}
html#nexo-v3 .notification-list{display:grid;gap:10px}
html#nexo-v3 .v2-center-item{padding:14px!important;gap:10px!important}
html#nexo-v3 .v2-center-item strong{font-size:var(--n3-body)!important}
html#nexo-v3 .v2-center-item :is(button,small){font-size:var(--n3-caption)!important}
html#nexo-v3 .v2-center-item.is-unread{border-left:3px solid var(--n3-primary)!important}
/* Visitor ID thumbnails are server-masked derivatives. Originals remain guarded. */
html#nexo-v3 .origin-project-main{padding:0!important;background:var(--n3-bg)!important}
html#nexo-v3 .origin-project-chat-heading{background:white!important;padding:12px 14px!important;border-bottom:1px solid var(--n3-border)!important;gap:8px}
html#nexo-v3 .origin-project-chat-heading h1{font-size:var(--n3-section)!important;line-height:1.5;color:var(--n3-ink)!important}
html#nexo-v3 .origin-project-chat-heading p,html#nexo-v3 .origin-project-hint{font-size:var(--n3-caption)!important;color:var(--n3-muted)!important}
html#nexo-v3 .origin-project-hint{padding:10px 14px!important;margin:0!important;background:var(--n3-bg)!important}
html#nexo-v3 .v3-visitor-filters{padding:10px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:white;border-bottom:1px solid var(--n3-border)}
html#nexo-v3 .v3-visitor-filters input{width:100%;min-height:44px;border:1px solid var(--n3-border);border-radius:14px;background:var(--n3-bg);padding:8px 10px;font-size:var(--n3-caption)}
html#nexo-v3 .v3-visitor-filters :is(.v3-tabs,small){grid-column:1/-1;margin:0;padding:0}
html#nexo-v3 .v3-visitor-filters small{font-size:var(--n3-caption);color:var(--n3-muted)}
html#nexo-v3 .origin-project-message{max-width:680px;margin:0 auto 12px!important;padding:0!important}
html#nexo-v3 .origin-project-message>small{display:none}
html#nexo-v3 #group-messages[data-visitor-cards="1"] .origin-project-message>small{display:flex!important;align-items:center;gap:8px;color:var(--n3-muted);font-size:var(--n3-caption);margin:0 0 6px;padding:0 4px}
html#nexo-v3 #group-messages[data-visitor-cards="1"] .origin-project-message>small::before{content:'N';display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;background:var(--n3-gradient);border-radius:10px;color:white;font-weight:700}
html#nexo-v3 .origin-project-message>div{padding:14px!important;background:white!important;border:1px solid var(--n3-border);border-radius:20px!important;box-shadow:var(--n3-shadow);color:var(--n3-ink)!important}
html#nexo-v3 .origin-project-message>div>p{font-size:var(--n3-body)!important;margin:0 0 12px!important;white-space:pre-line;line-height:1.6}
html#nexo-v3 .origin-traffic-chat-photos{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:8px}
html#nexo-v3 .origin-traffic-chat-photos figure{margin:0!important;min-height:0!important;border:1px solid var(--n3-border);border-radius:14px!important;overflow:hidden;background:var(--n3-bg)!important}
html#nexo-v3 .origin-traffic-chat-photos img{width:100%!important;max-height:260px!important;height:auto!important;aspect-ratio:1.6!important;object-fit:contain!important;filter:none!important}
html#nexo-v3 .origin-traffic-chat-photos figcaption{padding:10px;font-size:var(--n3-caption)!important;color:var(--n3-muted)!important}
html#nexo-v3 .v3-card-detail{display:inline-flex;min-height:44px;margin:8px 0;padding:9px 14px;border:0;border-radius:14px;background:var(--n3-gradient);color:white;font-size:var(--n3-caption)}
html#nexo-v3 .origin-project-footer{background:white!important;border-top:1px solid var(--n3-border)!important;padding:12px!important;font-size:var(--n3-caption)!important}
html#nexo-v3 [data-v3-card-filter-status]{font-size:var(--n3-caption);line-height:1.5;padding:4px 14px;margin:0;flex:0 0 auto}
html#nexo-v3 #group-status:empty{display:none}
html#nexo-v3[data-v3-large-text] .origin-project-hint{display:none!important}
html#nexo-v3[data-v3-large-text] .v3-visitor-filters{max-height:24dvh}
html#nexo-v3[data-v3-large-text] .origin-project-chat-heading{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;align-items:start;gap:8px;padding:10px!important}
html#nexo-v3[data-v3-large-text] .origin-project-avatar{display:none!important}
html#nexo-v3[data-v3-large-text] .origin-project-chat-heading>div{min-width:0}
html#nexo-v3[data-v3-large-text] .origin-project-chat-heading h1{font-size:var(--n3-body)!important;line-height:1.4!important;margin:0!important;overflow-wrap:anywhere}
html#nexo-v3[data-v3-large-text] .origin-project-chat-heading>div>p{display:none}
html#nexo-v3[data-v3-large-text] .origin-project-footer{display:block!important;line-height:1.3;padding:8px!important;text-align:center}
html#nexo-v3 .ai-chat{background:var(--n3-bg)!important;color:var(--n3-ink)!important;max-width:860px;margin:auto;padding:0;min-height:100dvh;display:flex;flex-direction:column}
html#nexo-v3 .ai-header{background:white;border-bottom:1px solid var(--n3-border);padding:14px;gap:10px}
html#nexo-v3 .ai-header h1{font-size:var(--n3-title);color:var(--n3-ink)}
html#nexo-v3 .ai-avatar{background:var(--n3-gradient);color:white;border-radius:18px;width:44px;height:44px;display:grid;place-items:center;font-size:var(--n3-body)}
html#nexo-v3 .ai-intro{padding:24px 16px 12px!important;background:transparent!important}
html#nexo-v3 .ai-intro h2{font-size:var(--n3-title)!important;line-height:1.5}
html#nexo-v3 .ai-intro p,html#nexo-v3 .ai-privacy{font-size:var(--n3-caption);color:var(--n3-muted)}
html#nexo-v3 .ai-examples{display:flex;flex-wrap:wrap;gap:8px}
html#nexo-v3 .ai-examples button{background:var(--n3-soft)!important;color:var(--n3-deep)!important;border:0;border-radius:18px;padding:10px 14px;font-size:var(--n3-caption);min-height:44px}
html#nexo-v3 .ai-messages{flex:1;padding:16px!important;min-height:120px}
html#nexo-v3 .ai-bubble{border-radius:18px!important;background:white!important;color:var(--n3-ink)!important;border-color:var(--n3-border)!important;font-size:var(--n3-body)}
html#nexo-v3 .ai-bubble.mine{background:var(--n3-gradient)!important;color:white!important}
html#nexo-v3 .ai-composer{background:white!important;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid var(--n3-border);position:sticky;bottom:var(--v3-keyboard,0px);display:flex;flex-wrap:wrap;gap:8px}
html#nexo-v3 .ai-composer textarea{flex:1;min-width:120px;border:1px solid var(--n3-border);background:var(--n3-bg);border-radius:20px;font-size:var(--n3-body);min-height:44px}
html#nexo-v3 .ai-composer button{background:var(--n3-gradient);color:white;border:0;border-radius:17px;min-width:44px}
html#nexo-v3 .ai-composer small{flex-basis:100%;font-size:var(--n3-caption);color:var(--n3-muted)}
html#nexo-v3 :is(.v2-dialog,.nx-sheet,.traffic-dialog,#friend-scanner){background:white!important;color:var(--n3-ink)!important;border:1px solid var(--n3-border)!important;border-radius:24px!important;max-height:calc(100dvh - 24px);box-shadow:0 20px 80px #25113d30}
html#nexo-v3 .v3-skeleton{height:68px;border-radius:16px;background:linear-gradient(100deg,#ffffff12,#ffffff28,#ffffff12);background-size:200%;animation:v3-shimmer 1.6s ease-in-out infinite}
@keyframes v3-shimmer{to{background-position:-200%}}
html#nexo-v3 .v3-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--eco-nav-reserve,0px) + 20px);max-width:calc(100vw - 40px);padding:12px 18px;border-radius:18px;background:#24143d;color:white;z-index:1500;font-size:var(--n3-caption);box-shadow:0 8px 28px #25113d30}
html#nexo-v3 .v3-card-viewer{box-sizing:border-box;inset:0;width:100%;height:100dvh;max-width:none;max-height:100dvh;margin:0;border:0;border-radius:0;background:#171026;color:white;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:hidden}
html#nexo-v3 .v3-card-viewer[open]{display:flex;flex-direction:column;gap:10px}
html#nexo-v3 .v3-card-viewer :is(header,nav){display:flex;gap:8px;align-items:center;justify-content:space-between;flex:0 0 auto}
html#nexo-v3 .v3-card-viewer button{background:#ffffff18;color:white;border:1px solid #ffffff28;min-width:44px;min-height:44px;border-radius:13px;padding:8px 14px;font:inherit;font-size:var(--n3-caption)}
html#nexo-v3 .v3-card-viewer nav{flex-wrap:wrap;justify-content:center}
html#nexo-v3 .v3-card-viewer p{font-size:var(--n3-caption);margin:0;color:#e1d8f3;flex:0 0 auto}
html#nexo-v3 .v3-card-viewer-stage{flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;touch-action:none}
html#nexo-v3 .v3-card-viewer-stage img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;transform-origin:center;user-select:none}
html#nexo-v3 body.v3-sensitive-open{overflow:hidden!important}
@media(max-width:900px){
 html#nexo-v3 .chat-workspace:not(.has-peer) .chat-directory{padding:22px 16px calc(18px + var(--eco-nav-reserve,90px))!important;min-height:100dvh}
 html#nexo-v3 body.nexo-member .shell>main{padding:16px 14px calc(20px + var(--eco-nav-reserve,0px))!important}
 html#nexo-v3 body.nexo-member.chat-page .shell>main{padding:0!important}
 html#nexo-v3 body.nexo-member.chat-page .member-header,html#nexo-v3 body.profile-page:has(.v3-profile-card) .member-header{display:none!important}
 html#nexo-v3 .chat-workspace.has-peer .conversation-pane{height:calc(100dvh - var(--v2-keyboard,0px))!important;min-height:0!important}
 html#nexo-v3 body.service-project-page .service-project-main{padding:14px max(14px,env(safe-area-inset-right)) calc(24px + var(--eco-nav-reserve,90px)) max(14px,env(safe-area-inset-left))!important}
 html#nexo-v3 .origin-project-page .chat-workspace.has-peer .conversation-pane{height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 html#nexo-v3 .origin-project-chat-heading,html#nexo-v3 .origin-project-footer,html#nexo-v3 .v3-visitor-filters{flex:0 0 auto}
 html#nexo-v3 .v3-visitor-filters{max-height:35dvh;overflow:auto}
 html#nexo-v3 .origin-project-hint{max-height:20dvh;overflow:auto;flex:0 0 auto}
 html#nexo-v3 #group-messages[data-visitor-cards="1"]{max-height:none!important;overflow-y:auto!important;padding:14px!important;min-height:0!important;flex:1 1 auto}
 html#nexo-v3 .ai-page .ai-chat{min-height:100dvh}
}
@media(max-width:350px){html#nexo-v3 .v3-services{grid-template-columns:minmax(0,1fr)}html#nexo-v3 .v3-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}html#nexo-v3 .v3-visitor-filters{grid-template-columns:minmax(0,1fr)}html#nexo-v3 .v3-profile-person{align-items:flex-start}html#nexo-v3 .friend-actions{grid-column:1/-1!important}}
@media(prefers-reduced-motion:reduce){html#nexo-v3 *,html#nexo-v3 *::before,html#nexo-v3 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html#nexo-v3[data-nexo-reduce-motion] *,html#nexo-v3[data-nexo-reduce-motion] *::before,html#nexo-v3[data-nexo-reduce-motion] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

html#nexo-v3 .v3-latest>header{position:static!important;background:transparent!important;color:white!important;box-shadow:none!important;border:0!important;padding:0!important;min-height:44px!important;height:auto!important;max-width:none!important}
html#nexo-v3[data-v3-page="friends"] .member-header{display:none!important}
html#nexo-v3 .v3-page-header{display:flex!important;align-items:center;justify-content:space-between;gap:8px;background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;position:static!important;min-height:56px!important}
html#nexo-v3 .v3-page-header h1{font-size:var(--n3-title)!important;color:var(--n3-ink)!important;margin:0!important}
html#nexo-v3 .v3-page-header nav{display:flex;gap:2px;align-items:center}
html#nexo-v3 .v3-page-header :is(button,a){display:grid;place-items:center;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--n3-ink)}
html#nexo-v3 .v3-page-header svg{width:22px;height:22px;fill:none;stroke:currentColor}
html#nexo-v3 .v3-room-list{display:grid;gap:12px}
html#nexo-v3 .v3-room-card{background:white;border:1px solid var(--n3-border);border-radius:20px;padding:16px;box-shadow:var(--n3-shadow)}
html#nexo-v3 .v3-room-card header{position:static;display:flex;gap:8px;align-items:center;justify-content:space-between;padding:0;background:transparent;border:0;box-shadow:none;min-height:0}
html#nexo-v3 .v3-room-card h2{font-size:var(--n3-section);margin:0;color:var(--n3-ink)}
html#nexo-v3 .v3-room-card p{font-size:var(--n3-caption);color:var(--n3-muted);margin:6px 0}
html#nexo-v3 .v3-room-status{background:#edf9f2;color:var(--n3-success);padding:4px 8px;border-radius:9px;font-size:var(--n3-caption);white-space:normal;text-align:center}
html#nexo-v3 .v3-room-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html#nexo-v3 .v3-room-actions :is(a,summary,button){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-size:var(--n3-caption);border:0;border-radius:13px;background:var(--n3-soft);color:var(--n3-deep);padding:8px 10px;box-sizing:border-box;text-decoration:none}
html#nexo-v3 .v3-room-actions svg{width:18px;height:18px;fill:none;stroke:currentColor}
html#nexo-v3 .v3-room-actions details{flex:1;min-width:0}
html#nexo-v3 .v3-room-actions summary{width:100%}
html#nexo-v3 .guest-panel{background:#fff;border:1px dashed #cfbfff;border-radius:20px;padding:16px}
html#nexo-v3 :is(.v3-invite-disclosure,.v3-project-disclosure){border:1px dashed #cdbdf5;background:#fcfaff;border-radius:20px;padding:16px}
html#nexo-v3 :is(.v3-invite-disclosure,.v3-project-disclosure)>summary{list-style:none;min-height:60px;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;text-align:center;color:var(--n3-deep);cursor:pointer}
html#nexo-v3 .v3-invite-disclosure>summary>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--n3-soft);font-size:24px}
html#nexo-v3 :is(.v3-invite-disclosure,.v3-project-disclosure)>summary small{color:var(--n3-muted);font-size:var(--n3-caption)}
html#nexo-v3 :is(.v3-invite-disclosure,.v3-project-disclosure)[open]>summary{margin-bottom:12px}

/* One fluid home; split panes only while a conversation is selected. */
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member,
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member * {box-sizing:border-box}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .shell {
 width:100%!important;max-width:1440px!important;margin-inline:auto!important;gap:0!important;padding:0!important;
}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .shell {display:block!important}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .shell>main {min-width:0!important;width:100%!important}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member>.member-header {width:100%!important;max-width:1440px!important;margin-inline:auto!important;box-sizing:border-box;min-height:64px!important}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member.chat-page .shell>main,
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .origin-project-main {display:block!important;flex:none!important;height:auto!important;max-height:none!important;overflow:visible!important;width:100%!important;max-width:1440px!important;padding:0!important;margin-inline:auto!important}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.chat-page:has(.chat-workspace:not(.has-peer))>.member-header {display:none!important}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace:not(.has-peer) {
 display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important;height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;
}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace:not(.has-peer)>.conversation-pane {display:none!important}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace:not(.has-peer)>.chat-directory {
 display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:100dvh!important;
 overflow:visible!important;padding:clamp(16px,3vw,36px) clamp(12px,3vw,40px) calc(24px + var(--eco-nav-reserve,90px))!important;
}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .directory-heading {display:flex!important;flex-wrap:wrap!important;gap:12px!important;min-width:0}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .directory-heading>div:first-child {flex:1 1 120px;min-width:0}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .directory-heading .v2-header-tools {flex:0 0 auto}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .directory-search {min-width:0;width:100%;max-width:100%}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .directory-search input {min-width:0!important;width:0;flex:1 1 0}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .chat-directory :is(.v2-chips,.v3-services,.v3-latest,[data-v3-latest],#chat-contacts,.conversation-row,.contact-copy,.v3-latest-card) {min-width:0;max-width:100%}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .v2-chips {display:flex;overflow-x:auto;overscroll-behavior-x:contain}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .v2-chips>button {flex:0 0 auto}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .v3-services>a>span:last-child {min-width:0}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .v3-latest-card b {overflow-wrap:anywhere}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace.has-peer {
 display:grid!important;flex:none!important;grid-template-columns:minmax(280px,360px) minmax(0,1fr)!important;width:100%!important;max-width:none!important;
 height:calc(100dvh - 64px - var(--eco-nav-reserve,90px))!important;min-height:0!important;overflow:hidden!important;
}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace.has-peer>.chat-directory {
 display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;overflow-y:auto!important;
}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace.has-peer>.conversation-pane {
 display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member :is(.conversation-heading,.origin-project-chat-heading) {min-width:0;flex-wrap:wrap}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member :is(.conversation-heading,.origin-project-chat-heading)>div {min-width:0}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member :is(.bubble,.origin-project-message,.profile-layout,.project-grid,.v3-room-list) {min-width:0;max-width:100%;overflow-wrap:anywhere}
html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member #nexo-app-tabs {width:calc(100% - 24px)!important;max-width:520px!important;left:0!important;right:0!important;margin-inline:auto!important}
@media(min-width:1100px) {
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .chat-workspace:not(.has-peer) .v3-services {grid-template-columns:repeat(4,minmax(0,1fr))}
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .chat-workspace:not(.has-peer) [data-v3-latest] {grid-template-columns:repeat(3,minmax(0,1fr))}
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .chat-workspace:not(.has-peer) #chat-contacts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] .chat-workspace:not(.has-peer) .v2-chips {flex-wrap:wrap}
}
@media(max-width:900px) {
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member.chat-page>.member-header {display:none!important}
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace.has-peer {display:block!important;height:calc(100dvh - var(--v2-keyboard,0px) - var(--eco-nav-reserve,0px))!important}
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace.has-peer>.chat-directory {display:none!important}
 html#nexo-v3[data-nexo-v2][data-nexo-ui="repair"] body.nexo-member .chat-workspace.has-peer>.conversation-pane {height:100%!important}
}
