/* AiBoss Neural Experience 2.0.0 — final surface and responsive safety contract.
   Strictly scoped to AiBoss pages. No transaction/form event handling. */
body.aixdv-neural-v2{--aix2-line:rgba(92,205,236,.16);--aix2-accent:#64e8f4;--aix2-white:#f2faff;--aix2-muted:#b7cfdf;--aix2-shadow:0 15px 36px rgba(1,8,27,.29),0 0 21px rgba(44,181,233,.08)}
body.aixdv-neural-v2.aixdv-skin-scifi{--aix2-surface:linear-gradient(145deg,rgba(12,37,65,.97),rgba(12,23,52,.97) 70%,rgba(31,30,70,.94));--aix2-field:#102948;--aix2-ink:#f2faff;--aix2-secondary:#b7cfdf}
body.aixdv-neural-v2.aixdv-skin-classic{--aix2-surface:linear-gradient(145deg,#fff,#f3f8fd 75%,#f0f2fb);--aix2-field:#fff;--aix2-line:rgba(37,93,140,.15);--aix2-shadow:0 9px 26px rgba(29,75,124,.09);--aix2-ink:#162e4a;--aix2-secondary:#526a81;--aix2-accent:#006fac}
body.aixdv-neural-v2 .aixdv-content,body.aixdv-neural-v2 .aixdv-main{min-width:0;max-width:100%;box-sizing:border-box}
body.aixdv-neural-v2 .aixdv-content :where(.cb-team-hub,.cb-team-chat,.cb-wallet-shell,.cb-pkg-wrap,.cb-vvip426-shell,.cbv438-panel,.aixdv98-experience){min-width:0;max-width:100%;box-sizing:border-box}
/* Unify card surfaces without styling every descendant or altering finance field values. */
body.aixdv-neural-v2.aixdv-skin-scifi .aixdv-content :where(.cb-chat-contact,.cb-team-member,.cb-wallet-asset,.cb-income-card,.cb-vvip426-panel,.cbv438-panel){background:var(--aix2-surface)!important;color:var(--aix2-ink)!important;border-color:var(--aix2-line)!important;border-radius:var(--ab93-radius-md,20px)!important;box-shadow:var(--aix2-shadow)!important}
body.aixdv-neural-v2.aixdv-skin-classic .aixdv-content :where(.cb-chat-contact,.cb-team-member,.cb-wallet-asset,.cb-income-card,.cb-vvip426-panel,.cbv438-panel){background:var(--aix2-surface)!important;color:var(--aix2-ink)!important;border-color:var(--aix2-line)!important;border-radius:var(--ab93-radius-md,20px)!important;box-shadow:var(--aix2-shadow)!important}
/* An older CSS release forces VVIP wrapper white even in Sci-Fi. Keep dark on both wrappers. */
body.aixdv-neural-v2.aixdv-vvip-page.aixdv-skin-scifi :where(.aixdv-main,.aixdv-vvip-content){background:#071429!important;color:var(--aix2-ink)!important}
body.aixdv-neural-v2.aixdv-vvip-page.aixdv-skin-classic :where(.aixdv-main,.aixdv-vvip-content){background:#f5f9ff!important;color:var(--aix2-ink)!important}
/* Remove sharp intermediate referral borders; preserve real input and button outlines. */
body.aixdv-neural-v2 .aixdv-content :where(.cb-referral-input-wrap,.cb-referral-link-row,.cb-referral-actions){outline:0!important;box-shadow:none!important;border-radius:18px}
/* Contact avatars always square + cover, regardless of WordPress/Gravatar media dimensions. */
body.aixdv-neural-v2 .aixdv-content :where(.cb-chat-contact,.cb-team-member) :where(.cb-chat-avatar,.cb-team-avatar,.cb-member-avatar){flex-shrink:0;overflow:hidden}
body.aixdv-neural-v2 .aixdv-content :where(.cb-chat-avatar,.cb-team-avatar,.cb-member-avatar) img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
/* Reliable contrast on card text; do not override status badges or disabled options. */
body.aixdv-neural-v2.aixdv-skin-scifi .aixdv-content :where(.cb-chat-contact,.cb-team-member,.cb-wallet-asset) :is(strong,b,h3){color:var(--aix2-ink)!important;-webkit-text-fill-color:var(--aix2-ink)!important}
body.aixdv-neural-v2.aixdv-skin-classic .aixdv-content :where(.cb-chat-contact,.cb-team-member,.cb-wallet-asset) :is(strong,b,h3){color:var(--aix2-ink)!important;-webkit-text-fill-color:var(--aix2-ink)!important}
/* Better interaction cues: touch target minimum only for interactive controls, not labels. */
body.aixdv-neural-v2 .aixdv-content :where(.cb-team-open,.cb-team-refresh,.aixdv98-controls button){min-height:42px!important;touch-action:manipulation}
body.aixdv-neural-v2 .aixdv-content :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--aix2-accent)!important;outline-offset:3px!important}
body.aixdv-neural-v2 .aixdv-content :where(input,textarea,select){max-width:100%;box-sizing:border-box}
body.aixdv-neural-v2 :where(.aixdv-bottom-nav,.aixdv98-track){overscroll-behavior-inline:contain}
/* Motion is decorative; spinners, confirmations and the transaction layer remain untouched. */
body.aixdv-neural-v2.aixdv2-low-motion :where(.aixdv94-robot,.aixdv98-orbital,.aixdv98-core-ring,.aixdv98-core-inner,.aixdv96-changed,.aixdv99-enter-visible),
body.aixdv-neural-v2 .aixdv2-offscreen :where(.aixdv94-robot,.aixdv98-orbital,.aixdv98-core-ring,.aixdv98-core-inner){animation-play-state:paused!important;transition-duration:0s!important}
body.aixdv-neural-v2.aixdv2-low-motion .cb-wallet-pocket::before{animation-play-state:paused!important}
@media (max-width:620px){
 body.aixdv-neural-v2 .aixdv-content{padding-inline:clamp(7px,2vw,12px)}
 body.aixdv-neural-v2 :where(.cb-chat-contact,.cb-team-member,.cb-wallet-asset){min-width:0}
 body.aixdv-neural-v2 .aixdv-content :where(.cb-team-member-name,.cb-chat-contact-info,.cb-wallet-asset-value){min-width:0;overflow-wrap:anywhere}
 body.aixdv-neural-v2 .aixdv-bottom-nav{max-width:calc(100vw - 16px)!important}
}
@media (max-width:359px){body.aixdv-neural-v2 .aixdv-content .aixdv98-top{gap:8px}}
@media (prefers-reduced-motion:reduce){body.aixdv-neural-v2 :where(.aixdv98-experience,.aixdv94-robot,.aixdv99-enter-visible){scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media (prefers-reduced-transparency:reduce){body.aixdv-neural-v2 :where(.aixdv-bottom-nav,.aixdv98-experience){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media (forced-colors:active){body.aixdv-neural-v2 .aixdv-content :where(.cb-chat-contact,.cb-team-member,.cb-wallet-asset){border:1px solid CanvasText!important;box-shadow:none!important}}
